diff --git a/Makefile b/Makefile index b1c82e6..0aa74e1 100644 --- a/Makefile +++ b/Makefile @@ -24,20 +24,20 @@ $(PROTO_OUT): TOOL_INSTALL := env GOBIN=$(PWD)/$(BIN) go install -$(BIN)/protoc-gen-go: Makefile | $(BIN) - $(TOOL_INSTALL) google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0 +$(BIN)/protoc-gen-go: go.mod | $(BIN) + $(TOOL_INSTALL) google.golang.org/protobuf/cmd/protoc-gen-go $(BIN)/protoc-gen-go-vtproto: Makefile | $(BIN) $(TOOL_INSTALL) github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@v0.5.0 -$(BIN)/protoc-gen-connect-go: Makefile | $(BIN) - $(TOOL_INSTALL) connectrpc.com/connect/cmd/protoc-gen-connect-go@v1.11.0 +$(BIN)/protoc-gen-connect-go: go.mod | $(BIN) + $(TOOL_INSTALL) connectrpc.com/connect/cmd/protoc-gen-connect-go $(BIN)/gofumpt: Makefile | $(BIN) $(TOOL_INSTALL) mvdan.cc/gofumpt@v0.4.0 $(BIN)/buf: Makefile | $(BIN) - $(TOOL_INSTALL) github.com/bufbuild/buf/cmd/buf@v1.28.1 + $(TOOL_INSTALL) github.com/bufbuild/buf/cmd/buf@v1.48.0 $(BIN)/yq: Makefile | $(BIN) $(TOOL_INSTALL) github.com/mikefarah/yq/v4@v4.30.8 diff --git a/buf.gen.yaml b/buf.gen.yaml index 2c6cdec..008d8a3 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -23,6 +23,9 @@ plugins: - pool=github.com/planetscale/vitess-types/gen/vitess/query/v18.Row - pool=github.com/planetscale/vitess-types/gen/vitess/query/v18.BoundQuery - pool=github.com/planetscale/vitess-types/gen/vitess/binlogdata/v18.VStreamRowsResponse + - pool=github.com/planetscale/vitess-types/gen/vitess/query/v19.Row + - pool=github.com/planetscale/vitess-types/gen/vitess/query/v19.BoundQuery + - pool=github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19.VStreamRowsResponse - name: connect-go path: bin/protoc-gen-connect-go out: gen diff --git a/gen/vitess/automation/v16/automation.pb.go b/gen/vitess/automation/v16/automation.pb.go index 569143d..af56c4d 100644 --- a/gen/vitess/automation/v16/automation.pb.go +++ b/gen/vitess/automation/v16/automation.pb.go @@ -20,7 +20,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/automation/v16/automation.proto @@ -776,7 +776,7 @@ func file_vitess_automation_v16_automation_proto_rawDescGZIP() []byte { var file_vitess_automation_v16_automation_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_vitess_automation_v16_automation_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_vitess_automation_v16_automation_proto_goTypes = []interface{}{ +var file_vitess_automation_v16_automation_proto_goTypes = []any{ (ClusterOperationState)(0), // 0: vitess.automation.v16.ClusterOperationState (TaskState)(0), // 1: vitess.automation.v16.TaskState (*ClusterOperation)(nil), // 2: vitess.automation.v16.ClusterOperation @@ -813,7 +813,7 @@ func file_vitess_automation_v16_automation_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_automation_v16_automation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ClusterOperation); i { case 0: return &v.state @@ -825,7 +825,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*TaskContainer); i { case 0: return &v.state @@ -837,7 +837,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Task); i { case 0: return &v.state @@ -849,7 +849,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*EnqueueClusterOperationRequest); i { case 0: return &v.state @@ -861,7 +861,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*EnqueueClusterOperationResponse); i { case 0: return &v.state @@ -873,7 +873,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetClusterOperationStateRequest); i { case 0: return &v.state @@ -885,7 +885,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetClusterOperationStateResponse); i { case 0: return &v.state @@ -897,7 +897,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*GetClusterOperationDetailsRequest); i { case 0: return &v.state @@ -909,7 +909,7 @@ func file_vitess_automation_v16_automation_proto_init() { return nil } } - file_vitess_automation_v16_automation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_automation_v16_automation_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*GetClusterOperationDetailsResponse); i { case 0: return &v.state diff --git a/gen/vitess/automationservice/v16/automationservice.pb.go b/gen/vitess/automationservice/v16/automationservice.pb.go index 0393e51..4c5c863 100644 --- a/gen/vitess/automationservice/v16/automationservice.pb.go +++ b/gen/vitess/automationservice/v16/automationservice.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/automationservice/v16/automationservice.proto @@ -76,7 +76,7 @@ var file_vitess_automationservice_v16_automationservice_proto_rawDesc = []byte{ 0x74, 0x6f, 0x33, } -var file_vitess_automationservice_v16_automationservice_proto_goTypes = []interface{}{ +var file_vitess_automationservice_v16_automationservice_proto_goTypes = []any{ (*v16.EnqueueClusterOperationRequest)(nil), // 0: vitess.automation.v16.EnqueueClusterOperationRequest (*v16.GetClusterOperationDetailsRequest)(nil), // 1: vitess.automation.v16.GetClusterOperationDetailsRequest (*v16.EnqueueClusterOperationResponse)(nil), // 2: vitess.automation.v16.EnqueueClusterOperationResponse diff --git a/gen/vitess/automationservice/v16/automationservicev16connect/automationservice.connect.go b/gen/vitess/automationservice/v16/automationservicev16connect/automationservice.connect.go index 04acffa..15a667a 100644 --- a/gen/vitess/automationservice/v16/automationservicev16connect/automationservice.connect.go +++ b/gen/vitess/automationservice/v16/automationservicev16connect/automationservice.connect.go @@ -24,8 +24,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v16 "github.com/planetscale/vitess-types/gen/vitess/automation/v16" - _ "github.com/planetscale/vitess-types/gen/vitess/automationservice/v16" + v161 "github.com/planetscale/vitess-types/gen/vitess/automation/v16" + v16 "github.com/planetscale/vitess-types/gen/vitess/automationservice/v16" http "net/http" strings "strings" ) @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // AutomationName is the fully-qualified name of the Automation service. @@ -58,13 +58,20 @@ const ( AutomationGetClusterOperationDetailsProcedure = "/automationservice.Automation/GetClusterOperationDetails" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + automationServiceDescriptor = v16.File_vitess_automationservice_v16_automationservice_proto.Services().ByName("Automation") + automationEnqueueClusterOperationMethodDescriptor = automationServiceDescriptor.Methods().ByName("EnqueueClusterOperation") + automationGetClusterOperationDetailsMethodDescriptor = automationServiceDescriptor.Methods().ByName("GetClusterOperationDetails") +) + // AutomationClient is a client for the automationservice.Automation service. type AutomationClient interface { // Start a cluster operation. - EnqueueClusterOperation(context.Context, *connect.Request[v16.EnqueueClusterOperationRequest]) (*connect.Response[v16.EnqueueClusterOperationResponse], error) + EnqueueClusterOperation(context.Context, *connect.Request[v161.EnqueueClusterOperationRequest]) (*connect.Response[v161.EnqueueClusterOperationResponse], error) // TODO(mberlin): Polling this is bad. Implement a subscribe mechanism to wait for changes? // Get all details of an active cluster operation. - GetClusterOperationDetails(context.Context, *connect.Request[v16.GetClusterOperationDetailsRequest]) (*connect.Response[v16.GetClusterOperationDetailsResponse], error) + GetClusterOperationDetails(context.Context, *connect.Request[v161.GetClusterOperationDetailsRequest]) (*connect.Response[v161.GetClusterOperationDetailsResponse], error) } // NewAutomationClient constructs a client for the automationservice.Automation service. @@ -77,43 +84,45 @@ type AutomationClient interface { func NewAutomationClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AutomationClient { baseURL = strings.TrimRight(baseURL, "/") return &automationClient{ - enqueueClusterOperation: connect.NewClient[v16.EnqueueClusterOperationRequest, v16.EnqueueClusterOperationResponse]( + enqueueClusterOperation: connect.NewClient[v161.EnqueueClusterOperationRequest, v161.EnqueueClusterOperationResponse]( httpClient, baseURL+AutomationEnqueueClusterOperationProcedure, - opts..., + connect.WithSchema(automationEnqueueClusterOperationMethodDescriptor), + connect.WithClientOptions(opts...), ), - getClusterOperationDetails: connect.NewClient[v16.GetClusterOperationDetailsRequest, v16.GetClusterOperationDetailsResponse]( + getClusterOperationDetails: connect.NewClient[v161.GetClusterOperationDetailsRequest, v161.GetClusterOperationDetailsResponse]( httpClient, baseURL+AutomationGetClusterOperationDetailsProcedure, - opts..., + connect.WithSchema(automationGetClusterOperationDetailsMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // automationClient implements AutomationClient. type automationClient struct { - enqueueClusterOperation *connect.Client[v16.EnqueueClusterOperationRequest, v16.EnqueueClusterOperationResponse] - getClusterOperationDetails *connect.Client[v16.GetClusterOperationDetailsRequest, v16.GetClusterOperationDetailsResponse] + enqueueClusterOperation *connect.Client[v161.EnqueueClusterOperationRequest, v161.EnqueueClusterOperationResponse] + getClusterOperationDetails *connect.Client[v161.GetClusterOperationDetailsRequest, v161.GetClusterOperationDetailsResponse] } // EnqueueClusterOperation calls automationservice.Automation.EnqueueClusterOperation. -func (c *automationClient) EnqueueClusterOperation(ctx context.Context, req *connect.Request[v16.EnqueueClusterOperationRequest]) (*connect.Response[v16.EnqueueClusterOperationResponse], error) { +func (c *automationClient) EnqueueClusterOperation(ctx context.Context, req *connect.Request[v161.EnqueueClusterOperationRequest]) (*connect.Response[v161.EnqueueClusterOperationResponse], error) { return c.enqueueClusterOperation.CallUnary(ctx, req) } // GetClusterOperationDetails calls // automationservice.Automation.GetClusterOperationDetails. -func (c *automationClient) GetClusterOperationDetails(ctx context.Context, req *connect.Request[v16.GetClusterOperationDetailsRequest]) (*connect.Response[v16.GetClusterOperationDetailsResponse], error) { +func (c *automationClient) GetClusterOperationDetails(ctx context.Context, req *connect.Request[v161.GetClusterOperationDetailsRequest]) (*connect.Response[v161.GetClusterOperationDetailsResponse], error) { return c.getClusterOperationDetails.CallUnary(ctx, req) } // AutomationHandler is an implementation of the automationservice.Automation service. type AutomationHandler interface { // Start a cluster operation. - EnqueueClusterOperation(context.Context, *connect.Request[v16.EnqueueClusterOperationRequest]) (*connect.Response[v16.EnqueueClusterOperationResponse], error) + EnqueueClusterOperation(context.Context, *connect.Request[v161.EnqueueClusterOperationRequest]) (*connect.Response[v161.EnqueueClusterOperationResponse], error) // TODO(mberlin): Polling this is bad. Implement a subscribe mechanism to wait for changes? // Get all details of an active cluster operation. - GetClusterOperationDetails(context.Context, *connect.Request[v16.GetClusterOperationDetailsRequest]) (*connect.Response[v16.GetClusterOperationDetailsResponse], error) + GetClusterOperationDetails(context.Context, *connect.Request[v161.GetClusterOperationDetailsRequest]) (*connect.Response[v161.GetClusterOperationDetailsResponse], error) } // NewAutomationHandler builds an HTTP handler from the service implementation. It returns the path @@ -125,12 +134,14 @@ func NewAutomationHandler(svc AutomationHandler, opts ...connect.HandlerOption) automationEnqueueClusterOperationHandler := connect.NewUnaryHandler( AutomationEnqueueClusterOperationProcedure, svc.EnqueueClusterOperation, - opts..., + connect.WithSchema(automationEnqueueClusterOperationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) automationGetClusterOperationDetailsHandler := connect.NewUnaryHandler( AutomationGetClusterOperationDetailsProcedure, svc.GetClusterOperationDetails, - opts..., + connect.WithSchema(automationGetClusterOperationDetailsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/automationservice.Automation/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -147,10 +158,10 @@ func NewAutomationHandler(svc AutomationHandler, opts ...connect.HandlerOption) // UnimplementedAutomationHandler returns CodeUnimplemented from all methods. type UnimplementedAutomationHandler struct{} -func (UnimplementedAutomationHandler) EnqueueClusterOperation(context.Context, *connect.Request[v16.EnqueueClusterOperationRequest]) (*connect.Response[v16.EnqueueClusterOperationResponse], error) { +func (UnimplementedAutomationHandler) EnqueueClusterOperation(context.Context, *connect.Request[v161.EnqueueClusterOperationRequest]) (*connect.Response[v161.EnqueueClusterOperationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("automationservice.Automation.EnqueueClusterOperation is not implemented")) } -func (UnimplementedAutomationHandler) GetClusterOperationDetails(context.Context, *connect.Request[v16.GetClusterOperationDetailsRequest]) (*connect.Response[v16.GetClusterOperationDetailsResponse], error) { +func (UnimplementedAutomationHandler) GetClusterOperationDetails(context.Context, *connect.Request[v161.GetClusterOperationDetailsRequest]) (*connect.Response[v161.GetClusterOperationDetailsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("automationservice.Automation.GetClusterOperationDetails is not implemented")) } diff --git a/gen/vitess/binlogdata/dev/binlogdata.pb.go b/gen/vitess/binlogdata/dev/binlogdata.pb.go index d442c4f..d9e0203 100644 --- a/gen/vitess/binlogdata/dev/binlogdata.pb.go +++ b/gen/vitess/binlogdata/dev/binlogdata.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogdata/dev/binlogdata.proto @@ -1007,6 +1007,8 @@ type Rule struct { // such columns need to have special transofrmation of the data, from an integral format into a // string format. e.g. the value 0 needs to be converted to '0'. ConvertIntToEnum map[string]bool `protobuf:"bytes,8,rep,name=convert_int_to_enum,json=convertIntToEnum,proto3" json:"convert_int_to_enum,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // ForceUniqueKey gives vtreamer a hint for `FORCE INDEX (...)` usage. + ForceUniqueKey string `protobuf:"bytes,9,opt,name=force_unique_key,json=forceUniqueKey,proto3" json:"force_unique_key,omitempty"` } func (x *Rule) Reset() { @@ -1097,6 +1099,13 @@ func (x *Rule) GetConvertIntToEnum() map[string]bool { return nil } +func (x *Rule) GetForceUniqueKey() string { + if x != nil { + return x.ForceUniqueKey + } + return "" +} + // Filter represents a list of ordered rules. The first // match wins. type Filter struct { @@ -1344,8 +1353,17 @@ type RowChange struct { Before *dev.Row `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *dev.Row `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` - // DataColumns is a bitmap of all columns: bit is set if column is present in the after image + // DataColumns is a bitmap of all columns: bit is set if column is + // present in the after image. DataColumns *RowChange_Bitmap `protobuf:"bytes,3,opt,name=data_columns,json=dataColumns,proto3" json:"data_columns,omitempty"` + // JsonPartialValues is a bitmap of any JSON columns, where the bit + // is set if the value in the AFTER image is a partial JSON value + // that is represented as an expression of + // JSON_[INSERT|REPLACE|REMOVE](%s, '$.path', value) which then is + // used to add/update/remove a path in the JSON document. When the + // value is used the fmt directive must be replaced by the actual + // column name of the JSON field. + JsonPartialValues *RowChange_Bitmap `protobuf:"bytes,4,opt,name=json_partial_values,json=jsonPartialValues,proto3" json:"json_partial_values,omitempty"` } func (x *RowChange) Reset() { @@ -1401,17 +1419,25 @@ func (x *RowChange) GetDataColumns() *RowChange_Bitmap { return nil } +func (x *RowChange) GetJsonPartialValues() *RowChange_Bitmap { + if x != nil { + return x.JsonPartialValues + } + return nil +} + // RowEvent represent row events for one table. type RowEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - RowChanges []*RowChange `protobuf:"bytes,2,rep,name=row_changes,json=rowChanges,proto3" json:"row_changes,omitempty"` - Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` - Flags uint32 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"` // https://dev.mysql.com/doc/dev/mysql-server/latest/classbinary__log_1_1Rows__event.html + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + RowChanges []*RowChange `protobuf:"bytes,2,rep,name=row_changes,json=rowChanges,proto3" json:"row_changes,omitempty"` + Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` + Flags uint32 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"` // https://dev.mysql.com/doc/dev/mysql-server/latest/classbinary__log_1_1Rows__event.html + IsInternalTable bool `protobuf:"varint,6,opt,name=is_internal_table,json=isInternalTable,proto3" json:"is_internal_table,omitempty"` // set for sidecardb tables } func (x *RowEvent) Reset() { @@ -1481,6 +1507,13 @@ func (x *RowEvent) GetFlags() uint32 { return 0 } +func (x *RowEvent) GetIsInternalTable() bool { + if x != nil { + return x.IsInternalTable + } + return false +} + // FieldEvent represents the field info for a table. type FieldEvent struct { state protoimpl.MessageState @@ -1491,6 +1524,15 @@ type FieldEvent struct { Fields []*dev.Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` + // Are ENUM and SET field values already mapped to strings in the ROW + // events? This allows us to transition VTGate VStream consumers from + // the pre v20 behavior of having to do this mapping themselves to the + // v20+ behavior of not having to do this anymore and to expect string + // values directly. + // NOTE: because this is the use case, this is ONLY ever set today in + // vstreams managed by the vstreamManager. + EnumSetStringValues bool `protobuf:"varint,25,opt,name=enum_set_string_values,json=enumSetStringValues,proto3" json:"enum_set_string_values,omitempty"` + IsInternalTable bool `protobuf:"varint,26,opt,name=is_internal_table,json=isInternalTable,proto3" json:"is_internal_table,omitempty"` // set for sidecardb tables } func (x *FieldEvent) Reset() { @@ -1553,6 +1595,20 @@ func (x *FieldEvent) GetShard() string { return "" } +func (x *FieldEvent) GetEnumSetStringValues() bool { + if x != nil { + return x.EnumSetStringValues + } + return false +} + +func (x *FieldEvent) GetIsInternalTable() bool { + if x != nil { + return x.IsInternalTable + } + return false +} + // ShardGtid contains the GTID position for one shard. // It's used in a request for requesting a starting position. // It's used in a response to transmit the current position @@ -1889,6 +1945,8 @@ type VEvent struct { Shard string `protobuf:"bytes,23,opt,name=shard,proto3" json:"shard,omitempty"` // indicate that we are being throttled right now Throttled bool `protobuf:"varint,24,opt,name=throttled,proto3" json:"throttled,omitempty"` + // ThrottledReason is a human readable string that explains why the stream is throttled + ThrottledReason string `protobuf:"bytes,25,opt,name=throttled_reason,json=throttledReason,proto3" json:"throttled_reason,omitempty"` } func (x *VEvent) Reset() { @@ -2021,6 +2079,13 @@ func (x *VEvent) GetThrottled() bool { return false } +func (x *VEvent) GetThrottledReason() string { + if x != nil { + return x.ThrottledReason + } + return "" +} + type MinimalTable struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2142,6 +2207,61 @@ func (x *MinimalSchema) GetTables() []*MinimalTable { return nil } +type VStreamOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InternalTables []string `protobuf:"bytes,1,rep,name=internal_tables,json=internalTables,proto3" json:"internal_tables,omitempty"` + ConfigOverrides map[string]string `protobuf:"bytes,2,rep,name=config_overrides,json=configOverrides,proto3" json:"config_overrides,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *VStreamOptions) Reset() { + *x = VStreamOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamOptions) ProtoMessage() {} + +func (x *VStreamOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamOptions.ProtoReflect.Descriptor instead. +func (*VStreamOptions) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{20} +} + +func (x *VStreamOptions) GetInternalTables() []string { + if x != nil { + return x.InternalTables + } + return nil +} + +func (x *VStreamOptions) GetConfigOverrides() map[string]string { + if x != nil { + return x.ConfigOverrides + } + return nil +} + // VStreamRequest is the payload for VStreamer type VStreamRequest struct { state protoimpl.MessageState @@ -2154,12 +2274,13 @@ type VStreamRequest struct { Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` TableLastPKs []*TableLastPK `protobuf:"bytes,6,rep,name=table_last_p_ks,json=tableLastPKs,proto3" json:"table_last_p_ks,omitempty"` + Options *VStreamOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"` } func (x *VStreamRequest) Reset() { *x = VStreamRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[20] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2172,7 +2293,7 @@ func (x *VStreamRequest) String() string { func (*VStreamRequest) ProtoMessage() {} func (x *VStreamRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[20] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2185,7 +2306,7 @@ func (x *VStreamRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamRequest.ProtoReflect.Descriptor instead. func (*VStreamRequest) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{20} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{21} } func (x *VStreamRequest) GetEffectiveCallerId() *dev2.CallerID { @@ -2230,6 +2351,13 @@ func (x *VStreamRequest) GetTableLastPKs() []*TableLastPK { return nil } +func (x *VStreamRequest) GetOptions() *VStreamOptions { + if x != nil { + return x.Options + } + return nil +} + // VStreamResponse is the response from VStreamer type VStreamResponse struct { state protoimpl.MessageState @@ -2242,7 +2370,7 @@ type VStreamResponse struct { func (x *VStreamResponse) Reset() { *x = VStreamResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[21] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2255,7 +2383,7 @@ func (x *VStreamResponse) String() string { func (*VStreamResponse) ProtoMessage() {} func (x *VStreamResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[21] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2268,7 +2396,7 @@ func (x *VStreamResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamResponse.ProtoReflect.Descriptor instead. func (*VStreamResponse) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{21} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{22} } func (x *VStreamResponse) GetEvents() []*VEvent { @@ -2289,12 +2417,13 @@ type VStreamRowsRequest struct { Target *dev.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Lastpk *dev.QueryResult `protobuf:"bytes,5,opt,name=lastpk,proto3" json:"lastpk,omitempty"` + Options *VStreamOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` } func (x *VStreamRowsRequest) Reset() { *x = VStreamRowsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[22] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2307,7 +2436,7 @@ func (x *VStreamRowsRequest) String() string { func (*VStreamRowsRequest) ProtoMessage() {} func (x *VStreamRowsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[22] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2320,7 +2449,7 @@ func (x *VStreamRowsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamRowsRequest.ProtoReflect.Descriptor instead. func (*VStreamRowsRequest) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{22} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{23} } func (x *VStreamRowsRequest) GetEffectiveCallerId() *dev2.CallerID { @@ -2358,6 +2487,13 @@ func (x *VStreamRowsRequest) GetLastpk() *dev.QueryResult { return nil } +func (x *VStreamRowsRequest) GetOptions() *VStreamOptions { + if x != nil { + return x.Options + } + return nil +} + // VStreamRowsResponse is the response from VStreamRows type VStreamRowsResponse struct { state protoimpl.MessageState @@ -2373,12 +2509,14 @@ type VStreamRowsResponse struct { Throttled bool `protobuf:"varint,6,opt,name=throttled,proto3" json:"throttled,omitempty"` // Heartbeat indicates that this is a heartbeat message Heartbeat bool `protobuf:"varint,7,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"` + // ThrottledReason is a human readable string that explains why the stream is throttled + ThrottledReason string `protobuf:"bytes,8,opt,name=throttled_reason,json=throttledReason,proto3" json:"throttled_reason,omitempty"` } func (x *VStreamRowsResponse) Reset() { *x = VStreamRowsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[23] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2391,7 +2529,7 @@ func (x *VStreamRowsResponse) String() string { func (*VStreamRowsResponse) ProtoMessage() {} func (x *VStreamRowsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[23] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2404,7 +2542,7 @@ func (x *VStreamRowsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamRowsResponse.ProtoReflect.Descriptor instead. func (*VStreamRowsResponse) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{23} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{24} } func (x *VStreamRowsResponse) GetFields() []*dev.Field { @@ -2456,6 +2594,13 @@ func (x *VStreamRowsResponse) GetHeartbeat() bool { return false } +func (x *VStreamRowsResponse) GetThrottledReason() string { + if x != nil { + return x.ThrottledReason + } + return "" +} + // VStreamTablesRequest is the payload for VStreamTables type VStreamTablesRequest struct { state protoimpl.MessageState @@ -2465,12 +2610,13 @@ type VStreamTablesRequest struct { EffectiveCallerId *dev2.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *dev.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *dev.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Options *VStreamOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` } func (x *VStreamTablesRequest) Reset() { *x = VStreamTablesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[24] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2483,7 +2629,7 @@ func (x *VStreamTablesRequest) String() string { func (*VStreamTablesRequest) ProtoMessage() {} func (x *VStreamTablesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[24] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2496,7 +2642,7 @@ func (x *VStreamTablesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamTablesRequest.ProtoReflect.Descriptor instead. func (*VStreamTablesRequest) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{24} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{25} } func (x *VStreamTablesRequest) GetEffectiveCallerId() *dev2.CallerID { @@ -2520,6 +2666,13 @@ func (x *VStreamTablesRequest) GetTarget() *dev.Target { return nil } +func (x *VStreamTablesRequest) GetOptions() *VStreamOptions { + if x != nil { + return x.Options + } + return nil +} + // VStreamTablesResponse is the response from VStreamTables type VStreamTablesResponse struct { state protoimpl.MessageState @@ -2537,7 +2690,7 @@ type VStreamTablesResponse struct { func (x *VStreamTablesResponse) Reset() { *x = VStreamTablesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[25] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2550,7 +2703,7 @@ func (x *VStreamTablesResponse) String() string { func (*VStreamTablesResponse) ProtoMessage() {} func (x *VStreamTablesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[25] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2563,7 +2716,7 @@ func (x *VStreamTablesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamTablesResponse.ProtoReflect.Descriptor instead. func (*VStreamTablesResponse) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{25} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{26} } func (x *VStreamTablesResponse) GetTableName() string { @@ -2620,7 +2773,7 @@ type LastPKEvent struct { func (x *LastPKEvent) Reset() { *x = LastPKEvent{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[26] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2633,7 +2786,7 @@ func (x *LastPKEvent) String() string { func (*LastPKEvent) ProtoMessage() {} func (x *LastPKEvent) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[26] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2646,7 +2799,7 @@ func (x *LastPKEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use LastPKEvent.ProtoReflect.Descriptor instead. func (*LastPKEvent) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{26} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{27} } func (x *LastPKEvent) GetTableLastPK() *TableLastPK { @@ -2675,7 +2828,7 @@ type TableLastPK struct { func (x *TableLastPK) Reset() { *x = TableLastPK{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[27] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2688,7 +2841,7 @@ func (x *TableLastPK) String() string { func (*TableLastPK) ProtoMessage() {} func (x *TableLastPK) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[27] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2701,7 +2854,7 @@ func (x *TableLastPK) ProtoReflect() protoreflect.Message { // Deprecated: Use TableLastPK.ProtoReflect.Descriptor instead. func (*TableLastPK) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{27} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{28} } func (x *TableLastPK) GetTableName() string { @@ -2735,7 +2888,7 @@ type VStreamResultsRequest struct { func (x *VStreamResultsRequest) Reset() { *x = VStreamResultsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[28] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2748,7 +2901,7 @@ func (x *VStreamResultsRequest) String() string { func (*VStreamResultsRequest) ProtoMessage() {} func (x *VStreamResultsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[28] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2761,7 +2914,7 @@ func (x *VStreamResultsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamResultsRequest.ProtoReflect.Descriptor instead. func (*VStreamResultsRequest) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{28} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{29} } func (x *VStreamResultsRequest) GetEffectiveCallerId() *dev2.CallerID { @@ -2807,7 +2960,7 @@ type VStreamResultsResponse struct { func (x *VStreamResultsResponse) Reset() { *x = VStreamResultsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[29] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2820,7 +2973,7 @@ func (x *VStreamResultsResponse) String() string { func (*VStreamResultsResponse) ProtoMessage() {} func (x *VStreamResultsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[29] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2833,7 +2986,7 @@ func (x *VStreamResultsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VStreamResultsResponse.ProtoReflect.Descriptor instead. func (*VStreamResultsResponse) Descriptor() ([]byte, []int) { - return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{29} + return file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP(), []int{30} } func (x *VStreamResultsResponse) GetFields() []*dev.Field { @@ -2873,7 +3026,7 @@ type BinlogTransaction_Statement struct { func (x *BinlogTransaction_Statement) Reset() { *x = BinlogTransaction_Statement{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[30] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2886,7 +3039,7 @@ func (x *BinlogTransaction_Statement) String() string { func (*BinlogTransaction_Statement) ProtoMessage() {} func (x *BinlogTransaction_Statement) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[30] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2935,7 +3088,7 @@ type RowChange_Bitmap struct { func (x *RowChange_Bitmap) Reset() { *x = RowChange_Bitmap{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[34] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2948,7 +3101,7 @@ func (x *RowChange_Bitmap) String() string { func (*RowChange_Bitmap) ProtoMessage() {} func (x *RowChange_Bitmap) ProtoReflect() protoreflect.Message { - mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[34] + mi := &file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3068,7 +3221,7 @@ var file_vitess_binlogdata_dev_binlogdata_proto_rawDesc = []byte{ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x22, - 0x8b, 0x06, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x74, 0x63, + 0xb5, 0x06, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x63, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, @@ -3101,108 +3254,125 @@ var file_vitess_binlogdata_dev_binlogdata_proto_rawDesc = []byte{ 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x49, 0x6e, 0x74, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x49, 0x6e, 0x74, 0x54, - 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x1a, 0x44, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, - 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x6f, 0x54, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6b, 0x0a, 0x13, 0x43, - 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, - 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x72, - 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x74, 0x49, 0x6e, 0x74, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x95, 0x02, - 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x10, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, - 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, - 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, - 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, - 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, - 0x13, 0x0a, 0x0f, 0x45, 0x52, 0x52, 0x5f, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, - 0x43, 0x48, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, - 0x4f, 0x52, 0x54, 0x10, 0x01, 0x22, 0x96, 0x04, 0x0a, 0x0c, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, - 0x53, 0x6f, 0x75, 0x72, 0x63, 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, 0x0b, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, - 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 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, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x35, - 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, - 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4f, 0x6e, - 0x44, 0x44, 0x4c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, - 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x79, 0x73, - 0x71, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, - 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, - 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0xe7, - 0x01, 0x0a, 0x09, 0x52, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x06, - 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, + 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, + 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x1a, + 0x44, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x6f, + 0x54, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6b, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, + 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x49, 0x6e, 0x74, + 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x95, 0x02, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, + 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x10, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, + 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x52, 0x52, + 0x5f, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x00, 0x12, 0x0f, + 0x0a, 0x0b, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x10, 0x01, 0x22, + 0x96, 0x04, 0x0a, 0x0c, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 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, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, + 0x39, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4f, 0x6e, 0x44, 0x44, 0x4c, 0x41, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4d, 0x79, 0x73, 0x71, + 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, + 0x63, 0x6f, 0x70, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, + 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x28, + 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, + 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0xc0, 0x02, 0x0a, 0x09, 0x52, 0x6f, 0x77, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x06, 0x62, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x05, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x52, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x42, 0x69, 0x74, 0x6d, 0x61, + 0x70, 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x57, + 0x0a, 0x13, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x42, 0x69, + 0x74, 0x6d, 0x61, 0x70, 0x52, 0x11, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, + 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x32, 0x0a, 0x06, 0x42, 0x69, 0x74, 0x6d, 0x61, + 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6c, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x6c, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x08, + 0x52, 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, + 0x72, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, + 0x67, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, + 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xef, + 0x01, 0x0a, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x52, 0x6f, 0x77, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x61, - 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, - 0x77, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, - 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x2e, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x73, 0x1a, 0x32, 0x0a, 0x06, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x6c, 0x73, 0x22, 0xb4, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x77, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x72, 0x6f, 0x77, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, - 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, - 0x8e, 0x01, 0x0a, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, - 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1a, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1a, 0x0a, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, + 0x33, 0x0a, 0x16, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x13, 0x65, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0f, 0x69, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x74, 0x69, 0x64, 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, @@ -3243,7 +3413,7 @@ var file_vitess_binlogdata_dev_binlogdata_proto_rawDesc = []byte{ 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x22, 0xcd, 0x04, 0x0a, 0x06, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x22, 0xf8, 0x04, 0x0a, 0x06, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, @@ -3280,102 +3450,134 @@ var file_vitess_binlogdata_dev_binlogdata_proto_rawDesc = []byte{ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x74, 0x68, 0x72, 0x6f, - 0x74, 0x74, 0x6c, 0x65, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x61, - 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x70, - 0x5f, 0x6b, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, - 0x52, 0x09, 0x70, 0x4b, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0e, 0x70, - 0x5f, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x4b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x4c, 0x0a, 0x0d, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x12, 0x3b, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, - 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x61, - 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0xfe, - 0x02, 0x0a, 0x0e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, - 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, - 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, - 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, - 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, - 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x61, - 0x73, 0x74, 0x5f, 0x70, 0x5f, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, - 0x4b, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x73, 0x22, - 0x48, 0x0a, 0x0f, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, - 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xb1, 0x02, 0x0a, 0x12, 0x56, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, - 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, - 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, - 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, - 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, 0x22, 0xa5, 0x02, - 0x0a, 0x13, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x6b, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x52, 0x08, 0x70, 0x6b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x67, - 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x74, 0x69, 0x64, 0x12, - 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x6c, 0x61, - 0x73, 0x74, 0x70, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, - 0x77, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, - 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x74, 0x68, - 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, - 0x62, 0x65, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, - 0x74, 0x62, 0x65, 0x61, 0x74, 0x22, 0xe6, 0x01, 0x0a, 0x14, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, - 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, - 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, - 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, - 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, - 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x70, 0x5f, 0x6b, 0x5f, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x70, 0x4b, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0e, 0x70, 0x5f, 0x6b, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x70, 0x4b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x0d, 0x4d, + 0x69, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x3b, 0x0a, 0x06, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x56, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, + 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, + 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x1a, 0x42, 0x0a, 0x14, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0xbf, 0x03, 0x0a, 0x0e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x35, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, + 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x5f, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, + 0x74, 0x50, 0x4b, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, + 0x73, 0x12, 0x3f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x48, 0x0a, 0x0f, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xf2, 0x02, 0x0a, + 0x12, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x06, 0x6c, 0x61, 0x73, + 0x74, 0x70, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, + 0x12, 0x3f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0xd0, 0x02, 0x0a, 0x13, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x6b, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x8a, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x08, 0x70, 0x6b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, + 0x74, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x2d, + 0x0a, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, 0x12, 0x1c, 0x0a, + 0x09, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x68, + 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xa7, 0x02, 0x0a, 0x14, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, + 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, + 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3f, 0x0a, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x15, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, @@ -3495,8 +3697,8 @@ func file_vitess_binlogdata_dev_binlogdata_proto_rawDescGZIP() []byte { } var file_vitess_binlogdata_dev_binlogdata_proto_enumTypes = make([]protoimpl.EnumInfo, 8) -var file_vitess_binlogdata_dev_binlogdata_proto_msgTypes = make([]protoimpl.MessageInfo, 35) -var file_vitess_binlogdata_dev_binlogdata_proto_goTypes = []interface{}{ +var file_vitess_binlogdata_dev_binlogdata_proto_msgTypes = make([]protoimpl.MessageInfo, 37) +var file_vitess_binlogdata_dev_binlogdata_proto_goTypes = []any{ (OnDDLAction)(0), // 0: vitess.binlogdata.dev.OnDDLAction (VReplicationWorkflowType)(0), // 1: vitess.binlogdata.dev.VReplicationWorkflowType (VReplicationWorkflowSubType)(0), // 2: vitess.binlogdata.dev.VReplicationWorkflowSubType @@ -3525,102 +3727,109 @@ var file_vitess_binlogdata_dev_binlogdata_proto_goTypes = []interface{}{ (*VEvent)(nil), // 25: vitess.binlogdata.dev.VEvent (*MinimalTable)(nil), // 26: vitess.binlogdata.dev.MinimalTable (*MinimalSchema)(nil), // 27: vitess.binlogdata.dev.MinimalSchema - (*VStreamRequest)(nil), // 28: vitess.binlogdata.dev.VStreamRequest - (*VStreamResponse)(nil), // 29: vitess.binlogdata.dev.VStreamResponse - (*VStreamRowsRequest)(nil), // 30: vitess.binlogdata.dev.VStreamRowsRequest - (*VStreamRowsResponse)(nil), // 31: vitess.binlogdata.dev.VStreamRowsResponse - (*VStreamTablesRequest)(nil), // 32: vitess.binlogdata.dev.VStreamTablesRequest - (*VStreamTablesResponse)(nil), // 33: vitess.binlogdata.dev.VStreamTablesResponse - (*LastPKEvent)(nil), // 34: vitess.binlogdata.dev.LastPKEvent - (*TableLastPK)(nil), // 35: vitess.binlogdata.dev.TableLastPK - (*VStreamResultsRequest)(nil), // 36: vitess.binlogdata.dev.VStreamResultsRequest - (*VStreamResultsResponse)(nil), // 37: vitess.binlogdata.dev.VStreamResultsResponse - (*BinlogTransaction_Statement)(nil), // 38: vitess.binlogdata.dev.BinlogTransaction.Statement - nil, // 39: vitess.binlogdata.dev.Rule.ConvertEnumToTextEntry - nil, // 40: vitess.binlogdata.dev.Rule.ConvertCharsetEntry - nil, // 41: vitess.binlogdata.dev.Rule.ConvertIntToEnumEntry - (*RowChange_Bitmap)(nil), // 42: vitess.binlogdata.dev.RowChange.Bitmap - (*dev.EventToken)(nil), // 43: vitess.query.dev.EventToken - (*dev1.KeyRange)(nil), // 44: vitess.topodata.dev.KeyRange - (dev1.TabletType)(0), // 45: vitess.topodata.dev.TabletType - (*dev.Row)(nil), // 46: vitess.query.dev.Row - (*dev.Field)(nil), // 47: vitess.query.dev.Field - (*dev2.CallerID)(nil), // 48: vitess.vtrpc.dev.CallerID - (*dev.VTGateCallerID)(nil), // 49: vitess.query.dev.VTGateCallerID - (*dev.Target)(nil), // 50: vitess.query.dev.Target - (*dev.QueryResult)(nil), // 51: vitess.query.dev.QueryResult + (*VStreamOptions)(nil), // 28: vitess.binlogdata.dev.VStreamOptions + (*VStreamRequest)(nil), // 29: vitess.binlogdata.dev.VStreamRequest + (*VStreamResponse)(nil), // 30: vitess.binlogdata.dev.VStreamResponse + (*VStreamRowsRequest)(nil), // 31: vitess.binlogdata.dev.VStreamRowsRequest + (*VStreamRowsResponse)(nil), // 32: vitess.binlogdata.dev.VStreamRowsResponse + (*VStreamTablesRequest)(nil), // 33: vitess.binlogdata.dev.VStreamTablesRequest + (*VStreamTablesResponse)(nil), // 34: vitess.binlogdata.dev.VStreamTablesResponse + (*LastPKEvent)(nil), // 35: vitess.binlogdata.dev.LastPKEvent + (*TableLastPK)(nil), // 36: vitess.binlogdata.dev.TableLastPK + (*VStreamResultsRequest)(nil), // 37: vitess.binlogdata.dev.VStreamResultsRequest + (*VStreamResultsResponse)(nil), // 38: vitess.binlogdata.dev.VStreamResultsResponse + (*BinlogTransaction_Statement)(nil), // 39: vitess.binlogdata.dev.BinlogTransaction.Statement + nil, // 40: vitess.binlogdata.dev.Rule.ConvertEnumToTextEntry + nil, // 41: vitess.binlogdata.dev.Rule.ConvertCharsetEntry + nil, // 42: vitess.binlogdata.dev.Rule.ConvertIntToEnumEntry + (*RowChange_Bitmap)(nil), // 43: vitess.binlogdata.dev.RowChange.Bitmap + nil, // 44: vitess.binlogdata.dev.VStreamOptions.ConfigOverridesEntry + (*dev.EventToken)(nil), // 45: vitess.query.dev.EventToken + (*dev1.KeyRange)(nil), // 46: vitess.topodata.dev.KeyRange + (dev1.TabletType)(0), // 47: vitess.topodata.dev.TabletType + (*dev.Row)(nil), // 48: vitess.query.dev.Row + (*dev.Field)(nil), // 49: vitess.query.dev.Field + (*dev2.CallerID)(nil), // 50: vitess.vtrpc.dev.CallerID + (*dev.VTGateCallerID)(nil), // 51: vitess.query.dev.VTGateCallerID + (*dev.Target)(nil), // 52: vitess.query.dev.Target + (*dev.QueryResult)(nil), // 53: vitess.query.dev.QueryResult } var file_vitess_binlogdata_dev_binlogdata_proto_depIdxs = []int32{ - 38, // 0: vitess.binlogdata.dev.BinlogTransaction.statements:type_name -> vitess.binlogdata.dev.BinlogTransaction.Statement - 43, // 1: vitess.binlogdata.dev.BinlogTransaction.event_token:type_name -> vitess.query.dev.EventToken - 44, // 2: vitess.binlogdata.dev.StreamKeyRangeRequest.key_range:type_name -> vitess.topodata.dev.KeyRange + 39, // 0: vitess.binlogdata.dev.BinlogTransaction.statements:type_name -> vitess.binlogdata.dev.BinlogTransaction.Statement + 45, // 1: vitess.binlogdata.dev.BinlogTransaction.event_token:type_name -> vitess.query.dev.EventToken + 46, // 2: vitess.binlogdata.dev.StreamKeyRangeRequest.key_range:type_name -> vitess.topodata.dev.KeyRange 8, // 3: vitess.binlogdata.dev.StreamKeyRangeRequest.charset:type_name -> vitess.binlogdata.dev.Charset 9, // 4: vitess.binlogdata.dev.StreamKeyRangeResponse.binlog_transaction:type_name -> vitess.binlogdata.dev.BinlogTransaction 8, // 5: vitess.binlogdata.dev.StreamTablesRequest.charset:type_name -> vitess.binlogdata.dev.Charset 9, // 6: vitess.binlogdata.dev.StreamTablesResponse.binlog_transaction:type_name -> vitess.binlogdata.dev.BinlogTransaction - 39, // 7: vitess.binlogdata.dev.Rule.convert_enum_to_text:type_name -> vitess.binlogdata.dev.Rule.ConvertEnumToTextEntry - 40, // 8: vitess.binlogdata.dev.Rule.convert_charset:type_name -> vitess.binlogdata.dev.Rule.ConvertCharsetEntry - 41, // 9: vitess.binlogdata.dev.Rule.convert_int_to_enum:type_name -> vitess.binlogdata.dev.Rule.ConvertIntToEnumEntry + 40, // 7: vitess.binlogdata.dev.Rule.convert_enum_to_text:type_name -> vitess.binlogdata.dev.Rule.ConvertEnumToTextEntry + 41, // 8: vitess.binlogdata.dev.Rule.convert_charset:type_name -> vitess.binlogdata.dev.Rule.ConvertCharsetEntry + 42, // 9: vitess.binlogdata.dev.Rule.convert_int_to_enum:type_name -> vitess.binlogdata.dev.Rule.ConvertIntToEnumEntry 15, // 10: vitess.binlogdata.dev.Filter.rules:type_name -> vitess.binlogdata.dev.Rule 7, // 11: vitess.binlogdata.dev.Filter.field_event_mode:type_name -> vitess.binlogdata.dev.Filter.FieldEventMode - 45, // 12: vitess.binlogdata.dev.BinlogSource.tablet_type:type_name -> vitess.topodata.dev.TabletType - 44, // 13: vitess.binlogdata.dev.BinlogSource.key_range:type_name -> vitess.topodata.dev.KeyRange + 47, // 12: vitess.binlogdata.dev.BinlogSource.tablet_type:type_name -> vitess.topodata.dev.TabletType + 46, // 13: vitess.binlogdata.dev.BinlogSource.key_range:type_name -> vitess.topodata.dev.KeyRange 16, // 14: vitess.binlogdata.dev.BinlogSource.filter:type_name -> vitess.binlogdata.dev.Filter 0, // 15: vitess.binlogdata.dev.BinlogSource.on_ddl:type_name -> vitess.binlogdata.dev.OnDDLAction - 46, // 16: vitess.binlogdata.dev.RowChange.before:type_name -> vitess.query.dev.Row - 46, // 17: vitess.binlogdata.dev.RowChange.after:type_name -> vitess.query.dev.Row - 42, // 18: vitess.binlogdata.dev.RowChange.data_columns:type_name -> vitess.binlogdata.dev.RowChange.Bitmap - 18, // 19: vitess.binlogdata.dev.RowEvent.row_changes:type_name -> vitess.binlogdata.dev.RowChange - 47, // 20: vitess.binlogdata.dev.FieldEvent.fields:type_name -> vitess.query.dev.Field - 35, // 21: vitess.binlogdata.dev.ShardGtid.table_p_ks:type_name -> vitess.binlogdata.dev.TableLastPK - 21, // 22: vitess.binlogdata.dev.VGtid.shard_gtids:type_name -> vitess.binlogdata.dev.ShardGtid - 5, // 23: vitess.binlogdata.dev.Journal.migration_type:type_name -> vitess.binlogdata.dev.MigrationType - 21, // 24: vitess.binlogdata.dev.Journal.shard_gtids:type_name -> vitess.binlogdata.dev.ShardGtid - 23, // 25: vitess.binlogdata.dev.Journal.participants:type_name -> vitess.binlogdata.dev.KeyspaceShard - 4, // 26: vitess.binlogdata.dev.VEvent.type:type_name -> vitess.binlogdata.dev.VEventType - 19, // 27: vitess.binlogdata.dev.VEvent.row_event:type_name -> vitess.binlogdata.dev.RowEvent - 20, // 28: vitess.binlogdata.dev.VEvent.field_event:type_name -> vitess.binlogdata.dev.FieldEvent - 22, // 29: vitess.binlogdata.dev.VEvent.vgtid:type_name -> vitess.binlogdata.dev.VGtid - 24, // 30: vitess.binlogdata.dev.VEvent.journal:type_name -> vitess.binlogdata.dev.Journal - 34, // 31: vitess.binlogdata.dev.VEvent.last_p_k_event:type_name -> vitess.binlogdata.dev.LastPKEvent - 47, // 32: vitess.binlogdata.dev.MinimalTable.fields:type_name -> vitess.query.dev.Field - 26, // 33: vitess.binlogdata.dev.MinimalSchema.tables:type_name -> vitess.binlogdata.dev.MinimalTable - 48, // 34: vitess.binlogdata.dev.VStreamRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 49, // 35: vitess.binlogdata.dev.VStreamRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 50, // 36: vitess.binlogdata.dev.VStreamRequest.target:type_name -> vitess.query.dev.Target - 16, // 37: vitess.binlogdata.dev.VStreamRequest.filter:type_name -> vitess.binlogdata.dev.Filter - 35, // 38: vitess.binlogdata.dev.VStreamRequest.table_last_p_ks:type_name -> vitess.binlogdata.dev.TableLastPK - 25, // 39: vitess.binlogdata.dev.VStreamResponse.events:type_name -> vitess.binlogdata.dev.VEvent - 48, // 40: vitess.binlogdata.dev.VStreamRowsRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 49, // 41: vitess.binlogdata.dev.VStreamRowsRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 50, // 42: vitess.binlogdata.dev.VStreamRowsRequest.target:type_name -> vitess.query.dev.Target - 51, // 43: vitess.binlogdata.dev.VStreamRowsRequest.lastpk:type_name -> vitess.query.dev.QueryResult - 47, // 44: vitess.binlogdata.dev.VStreamRowsResponse.fields:type_name -> vitess.query.dev.Field - 47, // 45: vitess.binlogdata.dev.VStreamRowsResponse.pkfields:type_name -> vitess.query.dev.Field - 46, // 46: vitess.binlogdata.dev.VStreamRowsResponse.rows:type_name -> vitess.query.dev.Row - 46, // 47: vitess.binlogdata.dev.VStreamRowsResponse.lastpk:type_name -> vitess.query.dev.Row - 48, // 48: vitess.binlogdata.dev.VStreamTablesRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 49, // 49: vitess.binlogdata.dev.VStreamTablesRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 50, // 50: vitess.binlogdata.dev.VStreamTablesRequest.target:type_name -> vitess.query.dev.Target - 47, // 51: vitess.binlogdata.dev.VStreamTablesResponse.fields:type_name -> vitess.query.dev.Field - 47, // 52: vitess.binlogdata.dev.VStreamTablesResponse.pkfields:type_name -> vitess.query.dev.Field - 46, // 53: vitess.binlogdata.dev.VStreamTablesResponse.rows:type_name -> vitess.query.dev.Row - 46, // 54: vitess.binlogdata.dev.VStreamTablesResponse.lastpk:type_name -> vitess.query.dev.Row - 35, // 55: vitess.binlogdata.dev.LastPKEvent.table_last_p_k:type_name -> vitess.binlogdata.dev.TableLastPK - 51, // 56: vitess.binlogdata.dev.TableLastPK.lastpk:type_name -> vitess.query.dev.QueryResult - 48, // 57: vitess.binlogdata.dev.VStreamResultsRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 49, // 58: vitess.binlogdata.dev.VStreamResultsRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 50, // 59: vitess.binlogdata.dev.VStreamResultsRequest.target:type_name -> vitess.query.dev.Target - 47, // 60: vitess.binlogdata.dev.VStreamResultsResponse.fields:type_name -> vitess.query.dev.Field - 46, // 61: vitess.binlogdata.dev.VStreamResultsResponse.rows:type_name -> vitess.query.dev.Row - 6, // 62: vitess.binlogdata.dev.BinlogTransaction.Statement.category:type_name -> vitess.binlogdata.dev.BinlogTransaction.Statement.Category - 8, // 63: vitess.binlogdata.dev.BinlogTransaction.Statement.charset:type_name -> vitess.binlogdata.dev.Charset - 14, // 64: vitess.binlogdata.dev.Rule.ConvertCharsetEntry.value:type_name -> vitess.binlogdata.dev.CharsetConversion - 65, // [65:65] is the sub-list for method output_type - 65, // [65:65] is the sub-list for method input_type - 65, // [65:65] is the sub-list for extension type_name - 65, // [65:65] is the sub-list for extension extendee - 0, // [0:65] is the sub-list for field type_name + 48, // 16: vitess.binlogdata.dev.RowChange.before:type_name -> vitess.query.dev.Row + 48, // 17: vitess.binlogdata.dev.RowChange.after:type_name -> vitess.query.dev.Row + 43, // 18: vitess.binlogdata.dev.RowChange.data_columns:type_name -> vitess.binlogdata.dev.RowChange.Bitmap + 43, // 19: vitess.binlogdata.dev.RowChange.json_partial_values:type_name -> vitess.binlogdata.dev.RowChange.Bitmap + 18, // 20: vitess.binlogdata.dev.RowEvent.row_changes:type_name -> vitess.binlogdata.dev.RowChange + 49, // 21: vitess.binlogdata.dev.FieldEvent.fields:type_name -> vitess.query.dev.Field + 36, // 22: vitess.binlogdata.dev.ShardGtid.table_p_ks:type_name -> vitess.binlogdata.dev.TableLastPK + 21, // 23: vitess.binlogdata.dev.VGtid.shard_gtids:type_name -> vitess.binlogdata.dev.ShardGtid + 5, // 24: vitess.binlogdata.dev.Journal.migration_type:type_name -> vitess.binlogdata.dev.MigrationType + 21, // 25: vitess.binlogdata.dev.Journal.shard_gtids:type_name -> vitess.binlogdata.dev.ShardGtid + 23, // 26: vitess.binlogdata.dev.Journal.participants:type_name -> vitess.binlogdata.dev.KeyspaceShard + 4, // 27: vitess.binlogdata.dev.VEvent.type:type_name -> vitess.binlogdata.dev.VEventType + 19, // 28: vitess.binlogdata.dev.VEvent.row_event:type_name -> vitess.binlogdata.dev.RowEvent + 20, // 29: vitess.binlogdata.dev.VEvent.field_event:type_name -> vitess.binlogdata.dev.FieldEvent + 22, // 30: vitess.binlogdata.dev.VEvent.vgtid:type_name -> vitess.binlogdata.dev.VGtid + 24, // 31: vitess.binlogdata.dev.VEvent.journal:type_name -> vitess.binlogdata.dev.Journal + 35, // 32: vitess.binlogdata.dev.VEvent.last_p_k_event:type_name -> vitess.binlogdata.dev.LastPKEvent + 49, // 33: vitess.binlogdata.dev.MinimalTable.fields:type_name -> vitess.query.dev.Field + 26, // 34: vitess.binlogdata.dev.MinimalSchema.tables:type_name -> vitess.binlogdata.dev.MinimalTable + 44, // 35: vitess.binlogdata.dev.VStreamOptions.config_overrides:type_name -> vitess.binlogdata.dev.VStreamOptions.ConfigOverridesEntry + 50, // 36: vitess.binlogdata.dev.VStreamRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 51, // 37: vitess.binlogdata.dev.VStreamRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 52, // 38: vitess.binlogdata.dev.VStreamRequest.target:type_name -> vitess.query.dev.Target + 16, // 39: vitess.binlogdata.dev.VStreamRequest.filter:type_name -> vitess.binlogdata.dev.Filter + 36, // 40: vitess.binlogdata.dev.VStreamRequest.table_last_p_ks:type_name -> vitess.binlogdata.dev.TableLastPK + 28, // 41: vitess.binlogdata.dev.VStreamRequest.options:type_name -> vitess.binlogdata.dev.VStreamOptions + 25, // 42: vitess.binlogdata.dev.VStreamResponse.events:type_name -> vitess.binlogdata.dev.VEvent + 50, // 43: vitess.binlogdata.dev.VStreamRowsRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 51, // 44: vitess.binlogdata.dev.VStreamRowsRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 52, // 45: vitess.binlogdata.dev.VStreamRowsRequest.target:type_name -> vitess.query.dev.Target + 53, // 46: vitess.binlogdata.dev.VStreamRowsRequest.lastpk:type_name -> vitess.query.dev.QueryResult + 28, // 47: vitess.binlogdata.dev.VStreamRowsRequest.options:type_name -> vitess.binlogdata.dev.VStreamOptions + 49, // 48: vitess.binlogdata.dev.VStreamRowsResponse.fields:type_name -> vitess.query.dev.Field + 49, // 49: vitess.binlogdata.dev.VStreamRowsResponse.pkfields:type_name -> vitess.query.dev.Field + 48, // 50: vitess.binlogdata.dev.VStreamRowsResponse.rows:type_name -> vitess.query.dev.Row + 48, // 51: vitess.binlogdata.dev.VStreamRowsResponse.lastpk:type_name -> vitess.query.dev.Row + 50, // 52: vitess.binlogdata.dev.VStreamTablesRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 51, // 53: vitess.binlogdata.dev.VStreamTablesRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 52, // 54: vitess.binlogdata.dev.VStreamTablesRequest.target:type_name -> vitess.query.dev.Target + 28, // 55: vitess.binlogdata.dev.VStreamTablesRequest.options:type_name -> vitess.binlogdata.dev.VStreamOptions + 49, // 56: vitess.binlogdata.dev.VStreamTablesResponse.fields:type_name -> vitess.query.dev.Field + 49, // 57: vitess.binlogdata.dev.VStreamTablesResponse.pkfields:type_name -> vitess.query.dev.Field + 48, // 58: vitess.binlogdata.dev.VStreamTablesResponse.rows:type_name -> vitess.query.dev.Row + 48, // 59: vitess.binlogdata.dev.VStreamTablesResponse.lastpk:type_name -> vitess.query.dev.Row + 36, // 60: vitess.binlogdata.dev.LastPKEvent.table_last_p_k:type_name -> vitess.binlogdata.dev.TableLastPK + 53, // 61: vitess.binlogdata.dev.TableLastPK.lastpk:type_name -> vitess.query.dev.QueryResult + 50, // 62: vitess.binlogdata.dev.VStreamResultsRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 51, // 63: vitess.binlogdata.dev.VStreamResultsRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 52, // 64: vitess.binlogdata.dev.VStreamResultsRequest.target:type_name -> vitess.query.dev.Target + 49, // 65: vitess.binlogdata.dev.VStreamResultsResponse.fields:type_name -> vitess.query.dev.Field + 48, // 66: vitess.binlogdata.dev.VStreamResultsResponse.rows:type_name -> vitess.query.dev.Row + 6, // 67: vitess.binlogdata.dev.BinlogTransaction.Statement.category:type_name -> vitess.binlogdata.dev.BinlogTransaction.Statement.Category + 8, // 68: vitess.binlogdata.dev.BinlogTransaction.Statement.charset:type_name -> vitess.binlogdata.dev.Charset + 14, // 69: vitess.binlogdata.dev.Rule.ConvertCharsetEntry.value:type_name -> vitess.binlogdata.dev.CharsetConversion + 70, // [70:70] is the sub-list for method output_type + 70, // [70:70] is the sub-list for method input_type + 70, // [70:70] is the sub-list for extension type_name + 70, // [70:70] is the sub-list for extension extendee + 0, // [0:70] is the sub-list for field type_name } func init() { file_vitess_binlogdata_dev_binlogdata_proto_init() } @@ -3629,7 +3838,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Charset); i { case 0: return &v.state @@ -3641,7 +3850,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction); i { case 0: return &v.state @@ -3653,7 +3862,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeRequest); i { case 0: return &v.state @@ -3665,7 +3874,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeResponse); i { case 0: return &v.state @@ -3677,7 +3886,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesRequest); i { case 0: return &v.state @@ -3689,7 +3898,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesResponse); i { case 0: return &v.state @@ -3701,7 +3910,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*CharsetConversion); i { case 0: return &v.state @@ -3713,7 +3922,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Rule); i { case 0: return &v.state @@ -3725,7 +3934,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Filter); i { case 0: return &v.state @@ -3737,7 +3946,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*BinlogSource); i { case 0: return &v.state @@ -3749,7 +3958,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*RowChange); i { case 0: return &v.state @@ -3761,7 +3970,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*RowEvent); i { case 0: return &v.state @@ -3773,7 +3982,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*FieldEvent); i { case 0: return &v.state @@ -3785,7 +3994,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ShardGtid); i { case 0: return &v.state @@ -3797,7 +4006,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*VGtid); i { case 0: return &v.state @@ -3809,7 +4018,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*KeyspaceShard); i { case 0: return &v.state @@ -3821,7 +4030,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*Journal); i { case 0: return &v.state @@ -3833,7 +4042,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*VEvent); i { case 0: return &v.state @@ -3845,7 +4054,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*MinimalTable); i { case 0: return &v.state @@ -3857,7 +4066,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*MinimalSchema); i { case 0: return &v.state @@ -3869,7 +4078,19 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*VStreamOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -3881,7 +4102,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -3893,7 +4114,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsRequest); i { case 0: return &v.state @@ -3905,7 +4126,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsResponse); i { case 0: return &v.state @@ -3917,7 +4138,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*VStreamTablesRequest); i { case 0: return &v.state @@ -3929,7 +4150,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*VStreamTablesResponse); i { case 0: return &v.state @@ -3941,7 +4162,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*LastPKEvent); i { case 0: return &v.state @@ -3953,7 +4174,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*TableLastPK); i { case 0: return &v.state @@ -3965,7 +4186,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsRequest); i { case 0: return &v.state @@ -3977,7 +4198,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsResponse); i { case 0: return &v.state @@ -3989,7 +4210,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction_Statement); i { case 0: return &v.state @@ -4001,7 +4222,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_dev_binlogdata_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*RowChange_Bitmap); i { case 0: return &v.state @@ -4020,7 +4241,7 @@ func file_vitess_binlogdata_dev_binlogdata_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_binlogdata_dev_binlogdata_proto_rawDesc, NumEnums: 8, - NumMessages: 35, + NumMessages: 37, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/vitess/binlogdata/dev/binlogdata_vtproto.pb.go b/gen/vitess/binlogdata/dev/binlogdata_vtproto.pb.go index a4bed8c..773a1ac 100644 --- a/gen/vitess/binlogdata/dev/binlogdata_vtproto.pb.go +++ b/gen/vitess/binlogdata/dev/binlogdata_vtproto.pb.go @@ -487,6 +487,13 @@ func (m *Rule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.ForceUniqueKey) > 0 { + i -= len(m.ForceUniqueKey) + copy(dAtA[i:], m.ForceUniqueKey) + i = encodeVarint(dAtA, i, uint64(len(m.ForceUniqueKey))) + i-- + dAtA[i] = 0x4a + } if len(m.ConvertIntToEnum) > 0 { for k := range m.ConvertIntToEnum { v := m.ConvertIntToEnum[k] @@ -861,6 +868,16 @@ func (m *RowChange) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.JsonPartialValues != nil { + size, err := m.JsonPartialValues.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } if m.DataColumns != nil { size, err := m.DataColumns.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { @@ -948,6 +965,16 @@ func (m *RowEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.IsInternalTable { + i-- + if m.IsInternalTable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } if m.Flags != 0 { i = encodeVarint(dAtA, i, uint64(m.Flags)) i-- @@ -1019,6 +1046,30 @@ func (m *FieldEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.IsInternalTable { + i-- + if m.IsInternalTable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd0 + } + if m.EnumSetStringValues { + i-- + if m.EnumSetStringValues { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 + } if len(m.Shard) > 0 { i -= len(m.Shard) copy(dAtA[i:], m.Shard) @@ -1347,6 +1398,15 @@ func (m *VEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.ThrottledReason) > 0 { + i -= len(m.ThrottledReason) + copy(dAtA[i:], m.ThrottledReason) + i = encodeVarint(dAtA, i, uint64(len(m.ThrottledReason))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } if m.Throttled { i-- if m.Throttled { @@ -1607,6 +1667,67 @@ func (m *MinimalSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *VStreamOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ConfigOverrides) > 0 { + for k := range m.ConfigOverrides { + v := m.ConfigOverrides[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.InternalTables) > 0 { + for iNdEx := len(m.InternalTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.InternalTables[iNdEx]) + copy(dAtA[i:], m.InternalTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.InternalTables[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *VStreamRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1637,6 +1758,16 @@ func (m *VStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3a + } if len(m.TableLastPKs) > 0 { for iNdEx := len(m.TableLastPKs) - 1; iNdEx >= 0; iNdEx-- { size, err := m.TableLastPKs[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) @@ -1810,6 +1941,16 @@ func (m *VStreamRowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } if m.Lastpk != nil { if vtmsg, ok := interface{}(m.Lastpk).(interface { MarshalToSizedBufferVT([]byte) (int, error) @@ -1938,6 +2079,13 @@ func (m *VStreamRowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.ThrottledReason) > 0 { + i -= len(m.ThrottledReason) + copy(dAtA[i:], m.ThrottledReason) + i = encodeVarint(dAtA, i, uint64(len(m.ThrottledReason))) + i-- + dAtA[i] = 0x42 + } if m.Heartbeat { i-- if m.Heartbeat { @@ -2092,6 +2240,16 @@ func (m *VStreamTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } if m.Target != nil { if vtmsg, ok := interface{}(m.Target).(interface { MarshalToSizedBufferVT([]byte) (int, error) @@ -2876,6 +3034,10 @@ func (m *Rule) SizeVT() (n int) { n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) } } + l = len(m.ForceUniqueKey) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -3016,6 +3178,10 @@ func (m *RowChange) SizeVT() (n int) { l = m.DataColumns.SizeVT() n += 1 + l + sov(uint64(l)) } + if m.JsonPartialValues != nil { + l = m.JsonPartialValues.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -3047,6 +3213,9 @@ func (m *RowEvent) SizeVT() (n int) { if m.Flags != 0 { n += 1 + sov(uint64(m.Flags)) } + if m.IsInternalTable { + n += 2 + } n += len(m.unknownFields) return n } @@ -3081,6 +3250,12 @@ func (m *FieldEvent) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.EnumSetStringValues { + n += 3 + } + if m.IsInternalTable { + n += 3 + } n += len(m.unknownFields) return n } @@ -3249,6 +3424,10 @@ func (m *VEvent) SizeVT() (n int) { if m.Throttled { n += 3 } + l = len(m.ThrottledReason) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -3306,6 +3485,30 @@ func (m *MinimalSchema) SizeVT() (n int) { return n } +func (m *VStreamOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.InternalTables) > 0 { + for _, s := range m.InternalTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ConfigOverrides) > 0 { + for k, v := range m.ConfigOverrides { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + func (m *VStreamRequest) SizeVT() (n int) { if m == nil { return 0 @@ -3356,6 +3559,10 @@ func (m *VStreamRequest) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -3426,6 +3633,10 @@ func (m *VStreamRowsRequest) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -3492,6 +3703,10 @@ func (m *VStreamRowsResponse) SizeVT() (n int) { if m.Heartbeat { n += 2 } + l = len(m.ThrottledReason) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -3532,6 +3747,10 @@ func (m *VStreamTablesRequest) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -5269,6 +5488,38 @@ func (m *Rule) UnmarshalVT(dAtA []byte) error { } m.ConvertIntToEnum[mapkey] = mapvalue iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ForceUniqueKey", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ForceUniqueKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -6116,6 +6367,42 @@ func (m *RowChange) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field JsonPartialValues", 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.JsonPartialValues == nil { + m.JsonPartialValues = &RowChange_Bitmap{} + } + if err := m.JsonPartialValues.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -6316,6 +6603,26 @@ func (m *RowEvent) UnmarshalVT(dAtA []byte) error { break } } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsInternalTable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsInternalTable = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -6505,22 +6812,62 @@ func (m *FieldEvent) UnmarshalVT(dAtA []byte) error { } m.Shard = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + case 25: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnumSetStringValues", wireType) } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnumSetStringValues = bool(v != 0) + case 26: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsInternalTable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsInternalTable = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } if iNdEx > l { return io.ErrUnexpectedEOF @@ -7607,6 +7954,38 @@ func (m *VEvent) UnmarshalVT(dAtA []byte) error { } } m.Throttled = bool(v != 0) + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottledReason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ThrottledReason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -7947,6 +8326,216 @@ func (m *MinimalSchema) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *VStreamOptions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InternalTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InternalTables = append(m.InternalTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConfigOverrides", 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.ConfigOverrides == nil { + m.ConfigOverrides = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ConfigOverrides[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *VStreamRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -8210,6 +8799,42 @@ func (m *VStreamRequest) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &VStreamOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -8554,6 +9179,42 @@ func (m *VStreamRowsRequest) UnmarshalVT(dAtA []byte) error { } } iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &VStreamOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -8868,6 +9529,38 @@ func (m *VStreamRowsResponse) UnmarshalVT(dAtA []byte) error { } } m.Heartbeat = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottledReason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ThrottledReason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9051,6 +9744,42 @@ func (m *VStreamTablesRequest) UnmarshalVT(dAtA []byte) error { } } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &VStreamOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) diff --git a/gen/vitess/binlogdata/v16/binlogdata.pb.go b/gen/vitess/binlogdata/v16/binlogdata.pb.go index eafd46c..f028c4d 100644 --- a/gen/vitess/binlogdata/v16/binlogdata.pb.go +++ b/gen/vitess/binlogdata/v16/binlogdata.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogdata/v16/binlogdata.proto @@ -3145,7 +3145,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_rawDescGZIP() []byte { var file_vitess_binlogdata_v16_binlogdata_proto_enumTypes = make([]protoimpl.EnumInfo, 7) var file_vitess_binlogdata_v16_binlogdata_proto_msgTypes = make([]protoimpl.MessageInfo, 32) -var file_vitess_binlogdata_v16_binlogdata_proto_goTypes = []interface{}{ +var file_vitess_binlogdata_v16_binlogdata_proto_goTypes = []any{ (OnDDLAction)(0), // 0: vitess.binlogdata.v16.OnDDLAction (VReplicationWorkflowType)(0), // 1: vitess.binlogdata.v16.VReplicationWorkflowType (VReplicationWorkflowSubType)(0), // 2: vitess.binlogdata.v16.VReplicationWorkflowSubType @@ -3266,7 +3266,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Charset); i { case 0: return &v.state @@ -3278,7 +3278,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction); i { case 0: return &v.state @@ -3290,7 +3290,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeRequest); i { case 0: return &v.state @@ -3302,7 +3302,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeResponse); i { case 0: return &v.state @@ -3314,7 +3314,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesRequest); i { case 0: return &v.state @@ -3326,7 +3326,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesResponse); i { case 0: return &v.state @@ -3338,7 +3338,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*CharsetConversion); i { case 0: return &v.state @@ -3350,7 +3350,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Rule); i { case 0: return &v.state @@ -3362,7 +3362,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Filter); i { case 0: return &v.state @@ -3374,7 +3374,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*BinlogSource); i { case 0: return &v.state @@ -3386,7 +3386,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*RowChange); i { case 0: return &v.state @@ -3398,7 +3398,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*RowEvent); i { case 0: return &v.state @@ -3410,7 +3410,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*FieldEvent); i { case 0: return &v.state @@ -3422,7 +3422,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ShardGtid); i { case 0: return &v.state @@ -3434,7 +3434,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*VGtid); i { case 0: return &v.state @@ -3446,7 +3446,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*KeyspaceShard); i { case 0: return &v.state @@ -3458,7 +3458,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*Journal); i { case 0: return &v.state @@ -3470,7 +3470,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*VEvent); i { case 0: return &v.state @@ -3482,7 +3482,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*MinimalTable); i { case 0: return &v.state @@ -3494,7 +3494,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*MinimalSchema); i { case 0: return &v.state @@ -3506,7 +3506,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -3518,7 +3518,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -3530,7 +3530,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsRequest); i { case 0: return &v.state @@ -3542,7 +3542,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsResponse); i { case 0: return &v.state @@ -3554,7 +3554,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*LastPKEvent); i { case 0: return &v.state @@ -3566,7 +3566,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*TableLastPK); i { case 0: return &v.state @@ -3578,7 +3578,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsRequest); i { case 0: return &v.state @@ -3590,7 +3590,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsResponse); i { case 0: return &v.state @@ -3602,7 +3602,7 @@ func file_vitess_binlogdata_v16_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v16_binlogdata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction_Statement); i { case 0: return &v.state diff --git a/gen/vitess/binlogdata/v17/binlogdata.pb.go b/gen/vitess/binlogdata/v17/binlogdata.pb.go index 3137fa6..85e3a0a 100644 --- a/gen/vitess/binlogdata/v17/binlogdata.pb.go +++ b/gen/vitess/binlogdata/v17/binlogdata.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogdata/v17/binlogdata.proto @@ -3217,7 +3217,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_rawDescGZIP() []byte { var file_vitess_binlogdata_v17_binlogdata_proto_enumTypes = make([]protoimpl.EnumInfo, 7) var file_vitess_binlogdata_v17_binlogdata_proto_msgTypes = make([]protoimpl.MessageInfo, 33) -var file_vitess_binlogdata_v17_binlogdata_proto_goTypes = []interface{}{ +var file_vitess_binlogdata_v17_binlogdata_proto_goTypes = []any{ (OnDDLAction)(0), // 0: vitess.binlogdata.v17.OnDDLAction (VReplicationWorkflowType)(0), // 1: vitess.binlogdata.v17.VReplicationWorkflowType (VReplicationWorkflowSubType)(0), // 2: vitess.binlogdata.v17.VReplicationWorkflowSubType @@ -3340,7 +3340,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Charset); i { case 0: return &v.state @@ -3352,7 +3352,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction); i { case 0: return &v.state @@ -3364,7 +3364,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeRequest); i { case 0: return &v.state @@ -3376,7 +3376,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeResponse); i { case 0: return &v.state @@ -3388,7 +3388,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesRequest); i { case 0: return &v.state @@ -3400,7 +3400,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesResponse); i { case 0: return &v.state @@ -3412,7 +3412,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*CharsetConversion); i { case 0: return &v.state @@ -3424,7 +3424,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Rule); i { case 0: return &v.state @@ -3436,7 +3436,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Filter); i { case 0: return &v.state @@ -3448,7 +3448,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*BinlogSource); i { case 0: return &v.state @@ -3460,7 +3460,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*RowChange); i { case 0: return &v.state @@ -3472,7 +3472,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*RowEvent); i { case 0: return &v.state @@ -3484,7 +3484,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*FieldEvent); i { case 0: return &v.state @@ -3496,7 +3496,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ShardGtid); i { case 0: return &v.state @@ -3508,7 +3508,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*VGtid); i { case 0: return &v.state @@ -3520,7 +3520,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*KeyspaceShard); i { case 0: return &v.state @@ -3532,7 +3532,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*Journal); i { case 0: return &v.state @@ -3544,7 +3544,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*VEvent); i { case 0: return &v.state @@ -3556,7 +3556,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*MinimalTable); i { case 0: return &v.state @@ -3568,7 +3568,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*MinimalSchema); i { case 0: return &v.state @@ -3580,7 +3580,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -3592,7 +3592,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -3604,7 +3604,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsRequest); i { case 0: return &v.state @@ -3616,7 +3616,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsResponse); i { case 0: return &v.state @@ -3628,7 +3628,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*LastPKEvent); i { case 0: return &v.state @@ -3640,7 +3640,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*TableLastPK); i { case 0: return &v.state @@ -3652,7 +3652,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsRequest); i { case 0: return &v.state @@ -3664,7 +3664,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsResponse); i { case 0: return &v.state @@ -3676,7 +3676,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction_Statement); i { case 0: return &v.state @@ -3688,7 +3688,7 @@ func file_vitess_binlogdata_v17_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v17_binlogdata_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*RowChange_Bitmap); i { case 0: return &v.state diff --git a/gen/vitess/binlogdata/v18/binlogdata.pb.go b/gen/vitess/binlogdata/v18/binlogdata.pb.go index 0f05fad..7fb3dc3 100644 --- a/gen/vitess/binlogdata/v18/binlogdata.pb.go +++ b/gen/vitess/binlogdata/v18/binlogdata.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogdata/v18/binlogdata.proto @@ -3483,7 +3483,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_rawDescGZIP() []byte { var file_vitess_binlogdata_v18_binlogdata_proto_enumTypes = make([]protoimpl.EnumInfo, 8) var file_vitess_binlogdata_v18_binlogdata_proto_msgTypes = make([]protoimpl.MessageInfo, 35) -var file_vitess_binlogdata_v18_binlogdata_proto_goTypes = []interface{}{ +var file_vitess_binlogdata_v18_binlogdata_proto_goTypes = []any{ (OnDDLAction)(0), // 0: vitess.binlogdata.v18.OnDDLAction (VReplicationWorkflowType)(0), // 1: vitess.binlogdata.v18.VReplicationWorkflowType (VReplicationWorkflowSubType)(0), // 2: vitess.binlogdata.v18.VReplicationWorkflowSubType @@ -3616,7 +3616,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Charset); i { case 0: return &v.state @@ -3628,7 +3628,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction); i { case 0: return &v.state @@ -3640,7 +3640,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeRequest); i { case 0: return &v.state @@ -3652,7 +3652,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*StreamKeyRangeResponse); i { case 0: return &v.state @@ -3664,7 +3664,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesRequest); i { case 0: return &v.state @@ -3676,7 +3676,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*StreamTablesResponse); i { case 0: return &v.state @@ -3688,7 +3688,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*CharsetConversion); i { case 0: return &v.state @@ -3700,7 +3700,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Rule); i { case 0: return &v.state @@ -3712,7 +3712,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Filter); i { case 0: return &v.state @@ -3724,7 +3724,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*BinlogSource); i { case 0: return &v.state @@ -3736,7 +3736,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*RowChange); i { case 0: return &v.state @@ -3748,7 +3748,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*RowEvent); i { case 0: return &v.state @@ -3760,7 +3760,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*FieldEvent); i { case 0: return &v.state @@ -3772,7 +3772,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ShardGtid); i { case 0: return &v.state @@ -3784,7 +3784,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*VGtid); i { case 0: return &v.state @@ -3796,7 +3796,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*KeyspaceShard); i { case 0: return &v.state @@ -3808,7 +3808,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*Journal); i { case 0: return &v.state @@ -3820,7 +3820,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*VEvent); i { case 0: return &v.state @@ -3832,7 +3832,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*MinimalTable); i { case 0: return &v.state @@ -3844,7 +3844,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*MinimalSchema); i { case 0: return &v.state @@ -3856,7 +3856,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -3868,7 +3868,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -3880,7 +3880,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsRequest); i { case 0: return &v.state @@ -3892,7 +3892,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*VStreamRowsResponse); i { case 0: return &v.state @@ -3904,7 +3904,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*VStreamTablesRequest); i { case 0: return &v.state @@ -3916,7 +3916,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*VStreamTablesResponse); i { case 0: return &v.state @@ -3928,7 +3928,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*LastPKEvent); i { case 0: return &v.state @@ -3940,7 +3940,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*TableLastPK); i { case 0: return &v.state @@ -3952,7 +3952,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsRequest); i { case 0: return &v.state @@ -3964,7 +3964,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*VStreamResultsResponse); i { case 0: return &v.state @@ -3976,7 +3976,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*BinlogTransaction_Statement); i { case 0: return &v.state @@ -3988,7 +3988,7 @@ func file_vitess_binlogdata_v18_binlogdata_proto_init() { return nil } } - file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_binlogdata_v18_binlogdata_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*RowChange_Bitmap); i { case 0: return &v.state diff --git a/gen/vitess/binlogdata/v19/binlogdata.pb.go b/gen/vitess/binlogdata/v19/binlogdata.pb.go new file mode 100644 index 0000000..e8cb908 --- /dev/null +++ b/gen/vitess/binlogdata/v19/binlogdata.pb.go @@ -0,0 +1,4048 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains all the types and servers necessary to make +// RPC calls to VtTablet for the binlog protocol, used by filtered +// replication only. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/binlogdata/v19/binlogdata.proto + +package binlogdatav19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// OnDDLAction lists the possible actions for DDLs. +type OnDDLAction int32 + +const ( + OnDDLAction_IGNORE OnDDLAction = 0 + OnDDLAction_STOP OnDDLAction = 1 + OnDDLAction_EXEC OnDDLAction = 2 + OnDDLAction_EXEC_IGNORE OnDDLAction = 3 +) + +// Enum value maps for OnDDLAction. +var ( + OnDDLAction_name = map[int32]string{ + 0: "IGNORE", + 1: "STOP", + 2: "EXEC", + 3: "EXEC_IGNORE", + } + OnDDLAction_value = map[string]int32{ + "IGNORE": 0, + "STOP": 1, + "EXEC": 2, + "EXEC_IGNORE": 3, + } +) + +func (x OnDDLAction) Enum() *OnDDLAction { + p := new(OnDDLAction) + *p = x + return p +} + +func (x OnDDLAction) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OnDDLAction) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[0].Descriptor() +} + +func (OnDDLAction) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[0] +} + +func (x OnDDLAction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use OnDDLAction.Descriptor instead. +func (OnDDLAction) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{0} +} + +// VReplicationWorkflowType define types of vreplication workflows. +type VReplicationWorkflowType int32 + +const ( + VReplicationWorkflowType_Materialize VReplicationWorkflowType = 0 + VReplicationWorkflowType_MoveTables VReplicationWorkflowType = 1 + VReplicationWorkflowType_CreateLookupIndex VReplicationWorkflowType = 2 + VReplicationWorkflowType_Migrate VReplicationWorkflowType = 3 + VReplicationWorkflowType_Reshard VReplicationWorkflowType = 4 + VReplicationWorkflowType_OnlineDDL VReplicationWorkflowType = 5 +) + +// Enum value maps for VReplicationWorkflowType. +var ( + VReplicationWorkflowType_name = map[int32]string{ + 0: "Materialize", + 1: "MoveTables", + 2: "CreateLookupIndex", + 3: "Migrate", + 4: "Reshard", + 5: "OnlineDDL", + } + VReplicationWorkflowType_value = map[string]int32{ + "Materialize": 0, + "MoveTables": 1, + "CreateLookupIndex": 2, + "Migrate": 3, + "Reshard": 4, + "OnlineDDL": 5, + } +) + +func (x VReplicationWorkflowType) Enum() *VReplicationWorkflowType { + p := new(VReplicationWorkflowType) + *p = x + return p +} + +func (x VReplicationWorkflowType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VReplicationWorkflowType) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[1].Descriptor() +} + +func (VReplicationWorkflowType) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[1] +} + +func (x VReplicationWorkflowType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VReplicationWorkflowType.Descriptor instead. +func (VReplicationWorkflowType) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{1} +} + +// VReplicationWorkflowSubType define types of vreplication workflows. +type VReplicationWorkflowSubType int32 + +const ( + VReplicationWorkflowSubType_None VReplicationWorkflowSubType = 0 + VReplicationWorkflowSubType_Partial VReplicationWorkflowSubType = 1 + VReplicationWorkflowSubType_AtomicCopy VReplicationWorkflowSubType = 2 +) + +// Enum value maps for VReplicationWorkflowSubType. +var ( + VReplicationWorkflowSubType_name = map[int32]string{ + 0: "None", + 1: "Partial", + 2: "AtomicCopy", + } + VReplicationWorkflowSubType_value = map[string]int32{ + "None": 0, + "Partial": 1, + "AtomicCopy": 2, + } +) + +func (x VReplicationWorkflowSubType) Enum() *VReplicationWorkflowSubType { + p := new(VReplicationWorkflowSubType) + *p = x + return p +} + +func (x VReplicationWorkflowSubType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VReplicationWorkflowSubType) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[2].Descriptor() +} + +func (VReplicationWorkflowSubType) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[2] +} + +func (x VReplicationWorkflowSubType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VReplicationWorkflowSubType.Descriptor instead. +func (VReplicationWorkflowSubType) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{2} +} + +// VReplicationWorklfowState defines the valid states that a workflow can be in. +type VReplicationWorkflowState int32 + +const ( + VReplicationWorkflowState_Unknown VReplicationWorkflowState = 0 + VReplicationWorkflowState_Init VReplicationWorkflowState = 1 + VReplicationWorkflowState_Stopped VReplicationWorkflowState = 2 + VReplicationWorkflowState_Copying VReplicationWorkflowState = 3 + VReplicationWorkflowState_Running VReplicationWorkflowState = 4 + VReplicationWorkflowState_Error VReplicationWorkflowState = 5 + VReplicationWorkflowState_Lagging VReplicationWorkflowState = 6 +) + +// Enum value maps for VReplicationWorkflowState. +var ( + VReplicationWorkflowState_name = map[int32]string{ + 0: "Unknown", + 1: "Init", + 2: "Stopped", + 3: "Copying", + 4: "Running", + 5: "Error", + 6: "Lagging", + } + VReplicationWorkflowState_value = map[string]int32{ + "Unknown": 0, + "Init": 1, + "Stopped": 2, + "Copying": 3, + "Running": 4, + "Error": 5, + "Lagging": 6, + } +) + +func (x VReplicationWorkflowState) Enum() *VReplicationWorkflowState { + p := new(VReplicationWorkflowState) + *p = x + return p +} + +func (x VReplicationWorkflowState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VReplicationWorkflowState) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[3].Descriptor() +} + +func (VReplicationWorkflowState) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[3] +} + +func (x VReplicationWorkflowState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VReplicationWorkflowState.Descriptor instead. +func (VReplicationWorkflowState) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{3} +} + +// VEventType enumerates the event types. Many of these types +// will not be encountered in RBR mode. +type VEventType int32 + +const ( + VEventType_UNKNOWN VEventType = 0 + VEventType_GTID VEventType = 1 + VEventType_BEGIN VEventType = 2 + VEventType_COMMIT VEventType = 3 + VEventType_ROLLBACK VEventType = 4 + VEventType_DDL VEventType = 5 + // INSERT, REPLACE, UPDATE, DELETE and SET will not be seen in RBR mode. + VEventType_INSERT VEventType = 6 + VEventType_REPLACE VEventType = 7 + VEventType_UPDATE VEventType = 8 + VEventType_DELETE VEventType = 9 + VEventType_SET VEventType = 10 + // OTHER is a dummy event. If encountered, the current GTID must be + // recorded by the client to be able to resume. + VEventType_OTHER VEventType = 11 + VEventType_ROW VEventType = 12 + VEventType_FIELD VEventType = 13 + // HEARTBEAT is sent if there is inactivity. If a client does not + // receive events beyond the hearbeat interval, it can assume that it's + // lost connection to the vstreamer. + VEventType_HEARTBEAT VEventType = 14 + // VGTID is generated by VTGate's VStream that combines multiple + // GTIDs. + VEventType_VGTID VEventType = 15 + VEventType_JOURNAL VEventType = 16 + VEventType_VERSION VEventType = 17 + VEventType_LASTPK VEventType = 18 + VEventType_SAVEPOINT VEventType = 19 + // COPY_COMPLETED is sent when VTGate's VStream copy operation is done. + // If a client experiences some disruptions before receiving the event, + // the client should restart the copy operation. + VEventType_COPY_COMPLETED VEventType = 20 +) + +// Enum value maps for VEventType. +var ( + VEventType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "GTID", + 2: "BEGIN", + 3: "COMMIT", + 4: "ROLLBACK", + 5: "DDL", + 6: "INSERT", + 7: "REPLACE", + 8: "UPDATE", + 9: "DELETE", + 10: "SET", + 11: "OTHER", + 12: "ROW", + 13: "FIELD", + 14: "HEARTBEAT", + 15: "VGTID", + 16: "JOURNAL", + 17: "VERSION", + 18: "LASTPK", + 19: "SAVEPOINT", + 20: "COPY_COMPLETED", + } + VEventType_value = map[string]int32{ + "UNKNOWN": 0, + "GTID": 1, + "BEGIN": 2, + "COMMIT": 3, + "ROLLBACK": 4, + "DDL": 5, + "INSERT": 6, + "REPLACE": 7, + "UPDATE": 8, + "DELETE": 9, + "SET": 10, + "OTHER": 11, + "ROW": 12, + "FIELD": 13, + "HEARTBEAT": 14, + "VGTID": 15, + "JOURNAL": 16, + "VERSION": 17, + "LASTPK": 18, + "SAVEPOINT": 19, + "COPY_COMPLETED": 20, + } +) + +func (x VEventType) Enum() *VEventType { + p := new(VEventType) + *p = x + return p +} + +func (x VEventType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VEventType) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[4].Descriptor() +} + +func (VEventType) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[4] +} + +func (x VEventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VEventType.Descriptor instead. +func (VEventType) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{4} +} + +// MigrationType specifies the type of migration for the Journal. +type MigrationType int32 + +const ( + MigrationType_TABLES MigrationType = 0 + MigrationType_SHARDS MigrationType = 1 +) + +// Enum value maps for MigrationType. +var ( + MigrationType_name = map[int32]string{ + 0: "TABLES", + 1: "SHARDS", + } + MigrationType_value = map[string]int32{ + "TABLES": 0, + "SHARDS": 1, + } +) + +func (x MigrationType) Enum() *MigrationType { + p := new(MigrationType) + *p = x + return p +} + +func (x MigrationType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MigrationType) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[5].Descriptor() +} + +func (MigrationType) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[5] +} + +func (x MigrationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MigrationType.Descriptor instead. +func (MigrationType) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{5} +} + +type BinlogTransaction_Statement_Category int32 + +const ( + BinlogTransaction_Statement_BL_UNRECOGNIZED BinlogTransaction_Statement_Category = 0 + BinlogTransaction_Statement_BL_BEGIN BinlogTransaction_Statement_Category = 1 + BinlogTransaction_Statement_BL_COMMIT BinlogTransaction_Statement_Category = 2 + BinlogTransaction_Statement_BL_ROLLBACK BinlogTransaction_Statement_Category = 3 + // BL_DML is deprecated. + BinlogTransaction_Statement_BL_DML_DEPRECATED BinlogTransaction_Statement_Category = 4 + BinlogTransaction_Statement_BL_DDL BinlogTransaction_Statement_Category = 5 + BinlogTransaction_Statement_BL_SET BinlogTransaction_Statement_Category = 6 + BinlogTransaction_Statement_BL_INSERT BinlogTransaction_Statement_Category = 7 + BinlogTransaction_Statement_BL_UPDATE BinlogTransaction_Statement_Category = 8 + BinlogTransaction_Statement_BL_DELETE BinlogTransaction_Statement_Category = 9 +) + +// Enum value maps for BinlogTransaction_Statement_Category. +var ( + BinlogTransaction_Statement_Category_name = map[int32]string{ + 0: "BL_UNRECOGNIZED", + 1: "BL_BEGIN", + 2: "BL_COMMIT", + 3: "BL_ROLLBACK", + 4: "BL_DML_DEPRECATED", + 5: "BL_DDL", + 6: "BL_SET", + 7: "BL_INSERT", + 8: "BL_UPDATE", + 9: "BL_DELETE", + } + BinlogTransaction_Statement_Category_value = map[string]int32{ + "BL_UNRECOGNIZED": 0, + "BL_BEGIN": 1, + "BL_COMMIT": 2, + "BL_ROLLBACK": 3, + "BL_DML_DEPRECATED": 4, + "BL_DDL": 5, + "BL_SET": 6, + "BL_INSERT": 7, + "BL_UPDATE": 8, + "BL_DELETE": 9, + } +) + +func (x BinlogTransaction_Statement_Category) Enum() *BinlogTransaction_Statement_Category { + p := new(BinlogTransaction_Statement_Category) + *p = x + return p +} + +func (x BinlogTransaction_Statement_Category) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BinlogTransaction_Statement_Category) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[6].Descriptor() +} + +func (BinlogTransaction_Statement_Category) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[6] +} + +func (x BinlogTransaction_Statement_Category) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BinlogTransaction_Statement_Category.Descriptor instead. +func (BinlogTransaction_Statement_Category) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{1, 0, 0} +} + +type Filter_FieldEventMode int32 + +const ( + Filter_ERR_ON_MISMATCH Filter_FieldEventMode = 0 + Filter_BEST_EFFORT Filter_FieldEventMode = 1 +) + +// Enum value maps for Filter_FieldEventMode. +var ( + Filter_FieldEventMode_name = map[int32]string{ + 0: "ERR_ON_MISMATCH", + 1: "BEST_EFFORT", + } + Filter_FieldEventMode_value = map[string]int32{ + "ERR_ON_MISMATCH": 0, + "BEST_EFFORT": 1, + } +) + +func (x Filter_FieldEventMode) Enum() *Filter_FieldEventMode { + p := new(Filter_FieldEventMode) + *p = x + return p +} + +func (x Filter_FieldEventMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Filter_FieldEventMode) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[7].Descriptor() +} + +func (Filter_FieldEventMode) Type() protoreflect.EnumType { + return &file_vitess_binlogdata_v19_binlogdata_proto_enumTypes[7] +} + +func (x Filter_FieldEventMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Filter_FieldEventMode.Descriptor instead. +func (Filter_FieldEventMode) EnumDescriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{8, 0} +} + +// Charset is the per-statement charset info from a QUERY_EVENT binlog entry. +type Charset struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // @@session.character_set_client + Client int32 `protobuf:"varint,1,opt,name=client,proto3" json:"client,omitempty"` + // @@session.collation_connection + Conn int32 `protobuf:"varint,2,opt,name=conn,proto3" json:"conn,omitempty"` + // @@session.collation_server + Server int32 `protobuf:"varint,3,opt,name=server,proto3" json:"server,omitempty"` +} + +func (x *Charset) Reset() { + *x = Charset{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Charset) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Charset) ProtoMessage() {} + +func (x *Charset) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Charset.ProtoReflect.Descriptor instead. +func (*Charset) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{0} +} + +func (x *Charset) GetClient() int32 { + if x != nil { + return x.Client + } + return 0 +} + +func (x *Charset) GetConn() int32 { + if x != nil { + return x.Conn + } + return 0 +} + +func (x *Charset) GetServer() int32 { + if x != nil { + return x.Server + } + return 0 +} + +// BinlogTransaction describes a transaction inside the binlogs. +// It is streamed by vttablet for filtered replication, used during resharding. +type BinlogTransaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the statements in this transaction + Statements []*BinlogTransaction_Statement `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"` + // The Event Token for this event. + EventToken *v19.EventToken `protobuf:"bytes,4,opt,name=event_token,json=eventToken,proto3" json:"event_token,omitempty"` +} + +func (x *BinlogTransaction) Reset() { + *x = BinlogTransaction{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BinlogTransaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BinlogTransaction) ProtoMessage() {} + +func (x *BinlogTransaction) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BinlogTransaction.ProtoReflect.Descriptor instead. +func (*BinlogTransaction) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{1} +} + +func (x *BinlogTransaction) GetStatements() []*BinlogTransaction_Statement { + if x != nil { + return x.Statements + } + return nil +} + +func (x *BinlogTransaction) GetEventToken() *v19.EventToken { + if x != nil { + return x.EventToken + } + return nil +} + +// StreamKeyRangeRequest is the payload to StreamKeyRange +type StreamKeyRangeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // where to start + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + // what to get + KeyRange *v191.KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` + // default charset on the player side + Charset *Charset `protobuf:"bytes,3,opt,name=charset,proto3" json:"charset,omitempty"` +} + +func (x *StreamKeyRangeRequest) Reset() { + *x = StreamKeyRangeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamKeyRangeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamKeyRangeRequest) ProtoMessage() {} + +func (x *StreamKeyRangeRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamKeyRangeRequest.ProtoReflect.Descriptor instead. +func (*StreamKeyRangeRequest) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{2} +} + +func (x *StreamKeyRangeRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *StreamKeyRangeRequest) GetKeyRange() *v191.KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +func (x *StreamKeyRangeRequest) GetCharset() *Charset { + if x != nil { + return x.Charset + } + return nil +} + +// StreamKeyRangeResponse is the response from StreamKeyRange +type StreamKeyRangeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BinlogTransaction *BinlogTransaction `protobuf:"bytes,1,opt,name=binlog_transaction,json=binlogTransaction,proto3" json:"binlog_transaction,omitempty"` +} + +func (x *StreamKeyRangeResponse) Reset() { + *x = StreamKeyRangeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamKeyRangeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamKeyRangeResponse) ProtoMessage() {} + +func (x *StreamKeyRangeResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamKeyRangeResponse.ProtoReflect.Descriptor instead. +func (*StreamKeyRangeResponse) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{3} +} + +func (x *StreamKeyRangeResponse) GetBinlogTransaction() *BinlogTransaction { + if x != nil { + return x.BinlogTransaction + } + return nil +} + +// StreamTablesRequest is the payload to StreamTables +type StreamTablesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // where to start + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + // what to get + Tables []string `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"` + // default charset on the player side + Charset *Charset `protobuf:"bytes,3,opt,name=charset,proto3" json:"charset,omitempty"` +} + +func (x *StreamTablesRequest) Reset() { + *x = StreamTablesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamTablesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamTablesRequest) ProtoMessage() {} + +func (x *StreamTablesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamTablesRequest.ProtoReflect.Descriptor instead. +func (*StreamTablesRequest) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{4} +} + +func (x *StreamTablesRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *StreamTablesRequest) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +func (x *StreamTablesRequest) GetCharset() *Charset { + if x != nil { + return x.Charset + } + return nil +} + +// StreamTablesResponse is the response from StreamTables +type StreamTablesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BinlogTransaction *BinlogTransaction `protobuf:"bytes,1,opt,name=binlog_transaction,json=binlogTransaction,proto3" json:"binlog_transaction,omitempty"` +} + +func (x *StreamTablesResponse) Reset() { + *x = StreamTablesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamTablesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamTablesResponse) ProtoMessage() {} + +func (x *StreamTablesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamTablesResponse.ProtoReflect.Descriptor instead. +func (*StreamTablesResponse) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{5} +} + +func (x *StreamTablesResponse) GetBinlogTransaction() *BinlogTransaction { + if x != nil { + return x.BinlogTransaction + } + return nil +} + +// CharsetConversion represent a conversion of text from one charset to another +type CharsetConversion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // FromCharset is the charset name from which we convert the text (e.g. latin1) + FromCharset string `protobuf:"bytes,1,opt,name=from_charset,json=fromCharset,proto3" json:"from_charset,omitempty"` + // ToCharset is the charset name to which we convert the text (e.g. utf8mb4) + ToCharset string `protobuf:"bytes,2,opt,name=to_charset,json=toCharset,proto3" json:"to_charset,omitempty"` +} + +func (x *CharsetConversion) Reset() { + *x = CharsetConversion{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CharsetConversion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CharsetConversion) ProtoMessage() {} + +func (x *CharsetConversion) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CharsetConversion.ProtoReflect.Descriptor instead. +func (*CharsetConversion) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{6} +} + +func (x *CharsetConversion) GetFromCharset() string { + if x != nil { + return x.FromCharset + } + return "" +} + +func (x *CharsetConversion) GetToCharset() string { + if x != nil { + return x.ToCharset + } + return "" +} + +// Rule represents one rule in a Filter. +type Rule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Match can be a table name or a regular expression. + // If it starts with a '/', it's a regular expression. + // For example, "t" matches a table named "t", whereas + // "/t.*" matches all tables that begin with 't'. + Match string `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` + // Filter: If empty, all columns and rows of the matching tables + // are sent. If it's a keyrange like "-80", only rows that + // match the keyrange are sent. + // If Match is a table name instead of a regular expression, + // the Filter can also be a select expression like this: + // "select * from t", same as an empty Filter, or + // "select * from t where in_keyrange('-80')", same as "-80", or + // "select col1, col2 from t where in_keyrange(col1, 'hash', '-80'), or + // What is allowed in a select expression depends on whether + // it's a vstreamer or vreplication request. For more details, + // please refer to the specific package documentation. + // On the vreplication side, Filter can also accept a special + // "exclude" value, which will cause the matched tables + // to be excluded. + // TODO(sougou): support this on vstreamer side also. + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + // Example: key="color", value="'red','green','blue'" + ConvertEnumToText map[string]string `protobuf:"bytes,3,rep,name=convert_enum_to_text,json=convertEnumToText,proto3" json:"convert_enum_to_text,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // ConvertCharset: optional mapping, between column name and a CharsetConversion. + // This hints to vreplication that columns are encoded from/to non-trivial charsets + // The map is only populated when either "from" or "to" charset of a column are non-trivial + // trivial charsets are utf8 and ascii variants. + ConvertCharset map[string]*CharsetConversion `protobuf:"bytes,4,rep,name=convert_charset,json=convertCharset,proto3" json:"convert_charset,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // SourceUniqueKeyColumns represents the ordered columns in the index used by rowstreamer to iterate the table + // It is comma delimited, as in col1,col2,col3 (tokens are escaped via net/url) + SourceUniqueKeyColumns string `protobuf:"bytes,5,opt,name=source_unique_key_columns,json=sourceUniqueKeyColumns,proto3" json:"source_unique_key_columns,omitempty"` + // TargetUniqueKeyColumns represents the ordered columns in that index used by vcopier and vplayer to apply rows + // It is comma delimited, as in col1,col2,col3 (tokens are escaped via net/url) + TargetUniqueKeyColumns string `protobuf:"bytes,6,opt,name=target_unique_key_columns,json=targetUniqueKeyColumns,proto3" json:"target_unique_key_columns,omitempty"` + // SourceUniqueKeyTargetColumns represents the names of columns in target table, mapped from the chosen unique + // key on source tables (some columns may be renamed from source to target) + SourceUniqueKeyTargetColumns string `protobuf:"bytes,7,opt,name=source_unique_key_target_columns,json=sourceUniqueKeyTargetColumns,proto3" json:"source_unique_key_target_columns,omitempty"` + // ConvertIntToEnum lists any columns that are converted from an integral value into an enum. + // such columns need to have special transofrmation of the data, from an integral format into a + // string format. e.g. the value 0 needs to be converted to '0'. + ConvertIntToEnum map[string]bool `protobuf:"bytes,8,rep,name=convert_int_to_enum,json=convertIntToEnum,proto3" json:"convert_int_to_enum,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // ForceUniqueKey gives vtreamer a hint for `FORCE INDEX (...)` usage. + ForceUniqueKey string `protobuf:"bytes,9,opt,name=force_unique_key,json=forceUniqueKey,proto3" json:"force_unique_key,omitempty"` +} + +func (x *Rule) Reset() { + *x = Rule{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Rule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Rule) ProtoMessage() {} + +func (x *Rule) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Rule.ProtoReflect.Descriptor instead. +func (*Rule) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{7} +} + +func (x *Rule) GetMatch() string { + if x != nil { + return x.Match + } + return "" +} + +func (x *Rule) GetFilter() string { + if x != nil { + return x.Filter + } + return "" +} + +func (x *Rule) GetConvertEnumToText() map[string]string { + if x != nil { + return x.ConvertEnumToText + } + return nil +} + +func (x *Rule) GetConvertCharset() map[string]*CharsetConversion { + if x != nil { + return x.ConvertCharset + } + return nil +} + +func (x *Rule) GetSourceUniqueKeyColumns() string { + if x != nil { + return x.SourceUniqueKeyColumns + } + return "" +} + +func (x *Rule) GetTargetUniqueKeyColumns() string { + if x != nil { + return x.TargetUniqueKeyColumns + } + return "" +} + +func (x *Rule) GetSourceUniqueKeyTargetColumns() string { + if x != nil { + return x.SourceUniqueKeyTargetColumns + } + return "" +} + +func (x *Rule) GetConvertIntToEnum() map[string]bool { + if x != nil { + return x.ConvertIntToEnum + } + return nil +} + +func (x *Rule) GetForceUniqueKey() string { + if x != nil { + return x.ForceUniqueKey + } + return "" +} + +// Filter represents a list of ordered rules. The first +// match wins. +type Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` + // FieldEventMode specifies the behavior if there is a mismatch + // between the current schema and the fields in the binlog. This + // can happen if the binlog position is before a DDL that would + // cause the fields to change. If vstreamer detects such + // an inconsistency, the behavior depends on the FieldEventMode. + // If the value is ERR_ON_MISMATCH (default), then it errors out. + // If it's BEST_EFFORT, it sends a field event with fake column + // names as "@1", "@2", etc. + FieldEventMode Filter_FieldEventMode `protobuf:"varint,2,opt,name=field_event_mode,json=fieldEventMode,proto3,enum=vitess.binlogdata.v19.Filter_FieldEventMode" json:"field_event_mode,omitempty"` + WorkflowType int64 `protobuf:"varint,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + WorkflowName string `protobuf:"bytes,4,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty"` +} + +func (x *Filter) Reset() { + *x = Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Filter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Filter) ProtoMessage() {} + +func (x *Filter) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Filter.ProtoReflect.Descriptor instead. +func (*Filter) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{8} +} + +func (x *Filter) GetRules() []*Rule { + if x != nil { + return x.Rules + } + return nil +} + +func (x *Filter) GetFieldEventMode() Filter_FieldEventMode { + if x != nil { + return x.FieldEventMode + } + return Filter_ERR_ON_MISMATCH +} + +func (x *Filter) GetWorkflowType() int64 { + if x != nil { + return x.WorkflowType + } + return 0 +} + +func (x *Filter) GetWorkflowName() string { + if x != nil { + return x.WorkflowName + } + return "" +} + +// BinlogSource specifies the source and filter parameters for +// Filtered Replication. KeyRange and Tables are legacy. Filter +// is the new way to specify the filtering rules. +type BinlogSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the source keyspace + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // the source shard + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // the source tablet type + TabletType v191.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_type,omitempty"` + // KeyRange is set if the request is for a keyrange + KeyRange *v191.KeyRange `protobuf:"bytes,4,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` + // Tables is set if the request is for a list of tables + Tables []string `protobuf:"bytes,5,rep,name=tables,proto3" json:"tables,omitempty"` + // Filter is set if we're using the generalized representation + // for the filter. + Filter *Filter `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl OnDDLAction `protobuf:"varint,7,opt,name=on_ddl,json=onDdl,proto3,enum=vitess.binlogdata.v19.OnDDLAction" json:"on_ddl,omitempty"` + // Source is an external mysql. This attribute should be set to the username + // to use in the connection + ExternalMysql string `protobuf:"bytes,8,opt,name=external_mysql,json=externalMysql,proto3" json:"external_mysql,omitempty"` + // StopAfterCopy specifies if vreplication should be stopped + // after copying is done. + StopAfterCopy bool `protobuf:"varint,9,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + // ExternalCluster is the name of the mounted cluster which has the source keyspace/db for this workflow + // it is of the type + ExternalCluster string `protobuf:"bytes,10,opt,name=external_cluster,json=externalCluster,proto3" json:"external_cluster,omitempty"` + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + SourceTimeZone string `protobuf:"bytes,11,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` + // TargetTimeZone is not currently specifiable by the user, defaults to UTC for the forward workflows + // and to the SourceTimeZone in reverse workflows + TargetTimeZone string `protobuf:"bytes,12,opt,name=target_time_zone,json=targetTimeZone,proto3" json:"target_time_zone,omitempty"` +} + +func (x *BinlogSource) Reset() { + *x = BinlogSource{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BinlogSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BinlogSource) ProtoMessage() {} + +func (x *BinlogSource) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BinlogSource.ProtoReflect.Descriptor instead. +func (*BinlogSource) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{9} +} + +func (x *BinlogSource) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *BinlogSource) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *BinlogSource) GetTabletType() v191.TabletType { + if x != nil { + return x.TabletType + } + return v191.TabletType(0) +} + +func (x *BinlogSource) GetKeyRange() *v191.KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +func (x *BinlogSource) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +func (x *BinlogSource) GetFilter() *Filter { + if x != nil { + return x.Filter + } + return nil +} + +func (x *BinlogSource) GetOnDdl() OnDDLAction { + if x != nil { + return x.OnDdl + } + return OnDDLAction_IGNORE +} + +func (x *BinlogSource) GetExternalMysql() string { + if x != nil { + return x.ExternalMysql + } + return "" +} + +func (x *BinlogSource) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} + +func (x *BinlogSource) GetExternalCluster() string { + if x != nil { + return x.ExternalCluster + } + return "" +} + +func (x *BinlogSource) GetSourceTimeZone() string { + if x != nil { + return x.SourceTimeZone + } + return "" +} + +func (x *BinlogSource) GetTargetTimeZone() string { + if x != nil { + return x.TargetTimeZone + } + return "" +} + +// RowChange represents one row change. +// If Before is set and not After, it's a delete. +// If After is set and not Before, it's an insert. +// If both are set, it's an update. +type RowChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Before *v19.Row `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` + After *v19.Row `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` + // DataColumns is a bitmap of all columns: bit is set if column is present in the after image + DataColumns *RowChange_Bitmap `protobuf:"bytes,3,opt,name=data_columns,json=dataColumns,proto3" json:"data_columns,omitempty"` +} + +func (x *RowChange) Reset() { + *x = RowChange{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RowChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RowChange) ProtoMessage() {} + +func (x *RowChange) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RowChange.ProtoReflect.Descriptor instead. +func (*RowChange) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{10} +} + +func (x *RowChange) GetBefore() *v19.Row { + if x != nil { + return x.Before + } + return nil +} + +func (x *RowChange) GetAfter() *v19.Row { + if x != nil { + return x.After + } + return nil +} + +func (x *RowChange) GetDataColumns() *RowChange_Bitmap { + if x != nil { + return x.DataColumns + } + return nil +} + +// RowEvent represent row events for one table. +type RowEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + RowChanges []*RowChange `protobuf:"bytes,2,rep,name=row_changes,json=rowChanges,proto3" json:"row_changes,omitempty"` + Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` + Flags uint32 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"` // https://dev.mysql.com/doc/dev/mysql-server/latest/classbinary__log_1_1Rows__event.html +} + +func (x *RowEvent) Reset() { + *x = RowEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RowEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RowEvent) ProtoMessage() {} + +func (x *RowEvent) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RowEvent.ProtoReflect.Descriptor instead. +func (*RowEvent) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{11} +} + +func (x *RowEvent) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *RowEvent) GetRowChanges() []*RowChange { + if x != nil { + return x.RowChanges + } + return nil +} + +func (x *RowEvent) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RowEvent) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *RowEvent) GetFlags() uint32 { + if x != nil { + return x.Flags + } + return 0 +} + +// FieldEvent represents the field info for a table. +type FieldEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + Fields []*v19.Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` + Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *FieldEvent) Reset() { + *x = FieldEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldEvent) ProtoMessage() {} + +func (x *FieldEvent) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldEvent.ProtoReflect.Descriptor instead. +func (*FieldEvent) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{12} +} + +func (x *FieldEvent) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *FieldEvent) GetFields() []*v19.Field { + if x != nil { + return x.Fields + } + return nil +} + +func (x *FieldEvent) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *FieldEvent) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +// ShardGtid contains the GTID position for one shard. +// It's used in a request for requesting a starting position. +// It's used in a response to transmit the current position +// of a shard. It's also used in a Journal to indicate the +// list of targets and shard positions to migrate to. +type ShardGtid struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` + TablePKs []*TableLastPK `protobuf:"bytes,4,rep,name=table_p_ks,json=tablePKs,proto3" json:"table_p_ks,omitempty"` +} + +func (x *ShardGtid) Reset() { + *x = ShardGtid{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardGtid) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardGtid) ProtoMessage() {} + +func (x *ShardGtid) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardGtid.ProtoReflect.Descriptor instead. +func (*ShardGtid) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{13} +} + +func (x *ShardGtid) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ShardGtid) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ShardGtid) GetGtid() string { + if x != nil { + return x.Gtid + } + return "" +} + +func (x *ShardGtid) GetTablePKs() []*TableLastPK { + if x != nil { + return x.TablePKs + } + return nil +} + +// A VGtid is a list of ShardGtids. +type VGtid struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShardGtids []*ShardGtid `protobuf:"bytes,1,rep,name=shard_gtids,json=shardGtids,proto3" json:"shard_gtids,omitempty"` +} + +func (x *VGtid) Reset() { + *x = VGtid{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VGtid) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VGtid) ProtoMessage() {} + +func (x *VGtid) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VGtid.ProtoReflect.Descriptor instead. +func (*VGtid) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{14} +} + +func (x *VGtid) GetShardGtids() []*ShardGtid { + if x != nil { + return x.ShardGtids + } + return nil +} + +// KeyspaceShard represents a keyspace and shard. +type KeyspaceShard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *KeyspaceShard) Reset() { + *x = KeyspaceShard{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyspaceShard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyspaceShard) ProtoMessage() {} + +func (x *KeyspaceShard) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyspaceShard.ProtoReflect.Descriptor instead. +func (*KeyspaceShard) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{15} +} + +func (x *KeyspaceShard) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *KeyspaceShard) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +// Journal contains the metadata for a journal event. +// The commit of a journal event indicates the point of no return +// for a migration. +type Journal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Id represents a unique journal id. + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + MigrationType MigrationType `protobuf:"varint,2,opt,name=migration_type,json=migrationType,proto3,enum=vitess.binlogdata.v19.MigrationType" json:"migration_type,omitempty"` + // Tables is set if the journal represents a TABLES migration. + Tables []string `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty"` + // LocalPosition is the source position at which the migration happened. + LocalPosition string `protobuf:"bytes,4,opt,name=local_position,json=localPosition,proto3" json:"local_position,omitempty"` + // ShardGtids is the list of targets to which the migration took place. + ShardGtids []*ShardGtid `protobuf:"bytes,5,rep,name=shard_gtids,json=shardGtids,proto3" json:"shard_gtids,omitempty"` + // Participants is the list of source participants for a migration. + // Every participant is expected to have an identical journal entry. + // While streaming, the client must wait for the journal entry to + // be received from all pariticipants, and then replace them with new + // streams specified by ShardGtid. + // If a stream does not have all participants, a consistent migration + // is not possible. + Participants []*KeyspaceShard `protobuf:"bytes,6,rep,name=participants,proto3" json:"participants,omitempty"` + // SourceWorkflows is the list of workflows in the source shard that + // were migrated to the target. If a migration fails after a Journal + // is committed, this information is used to start the target streams + // that were created prior to the creation of the journal. + SourceWorkflows []string `protobuf:"bytes,7,rep,name=source_workflows,json=sourceWorkflows,proto3" json:"source_workflows,omitempty"` +} + +func (x *Journal) Reset() { + *x = Journal{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Journal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Journal) ProtoMessage() {} + +func (x *Journal) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Journal.ProtoReflect.Descriptor instead. +func (*Journal) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{16} +} + +func (x *Journal) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Journal) GetMigrationType() MigrationType { + if x != nil { + return x.MigrationType + } + return MigrationType_TABLES +} + +func (x *Journal) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +func (x *Journal) GetLocalPosition() string { + if x != nil { + return x.LocalPosition + } + return "" +} + +func (x *Journal) GetShardGtids() []*ShardGtid { + if x != nil { + return x.ShardGtids + } + return nil +} + +func (x *Journal) GetParticipants() []*KeyspaceShard { + if x != nil { + return x.Participants + } + return nil +} + +func (x *Journal) GetSourceWorkflows() []string { + if x != nil { + return x.SourceWorkflows + } + return nil +} + +// VEvent represents a vstream event. +// A FieldEvent is sent once for every table, just before +// the first event for that table. The client is expected +// to cache this information and match it against the RowEvent +// which contains the table name. +// A GTID event always precedes a commitable event, which can be +// COMMIT, DDL or OTHER. +// OTHER events are non-material events that have no additional metadata. +type VEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type VEventType `protobuf:"varint,1,opt,name=type,proto3,enum=vitess.binlogdata.v19.VEventType" json:"type,omitempty"` + // Timestamp is the binlog timestamp in seconds. + // The value should be ignored if 0. + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // Gtid is set if the event type is GTID. + Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` + // Statement is set if the event type is DDL, DML or SAVEPOINT. + Statement string `protobuf:"bytes,4,opt,name=statement,proto3" json:"statement,omitempty"` + // RowEvent is set if the event type is ROW. + RowEvent *RowEvent `protobuf:"bytes,5,opt,name=row_event,json=rowEvent,proto3" json:"row_event,omitempty"` + // FieldEvent is set if the event type is FIELD. + FieldEvent *FieldEvent `protobuf:"bytes,6,opt,name=field_event,json=fieldEvent,proto3" json:"field_event,omitempty"` + // Vgtid is set if the event type is VGTID. + // This event is only generated by VTGate's VStream function. + Vgtid *VGtid `protobuf:"bytes,7,opt,name=vgtid,proto3" json:"vgtid,omitempty"` + // Journal is set if the event type is JOURNAL. + Journal *Journal `protobuf:"bytes,8,opt,name=journal,proto3" json:"journal,omitempty"` + // Dml is set if the event type is INSERT, REPLACE, UPDATE or DELETE. + Dml string `protobuf:"bytes,9,opt,name=dml,proto3" json:"dml,omitempty"` + // CurrentTime specifies the current time when the message was sent. + // This can be used to compenssate for clock skew. + CurrentTime int64 `protobuf:"varint,20,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` + // LastPK is the last PK for a table + LastPKEvent *LastPKEvent `protobuf:"bytes,21,opt,name=last_p_k_event,json=lastPKEvent,proto3" json:"last_p_k_event,omitempty"` + // the source keyspace + Keyspace string `protobuf:"bytes,22,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // the source shard + Shard string `protobuf:"bytes,23,opt,name=shard,proto3" json:"shard,omitempty"` + // indicate that we are being throttled right now + Throttled bool `protobuf:"varint,24,opt,name=throttled,proto3" json:"throttled,omitempty"` +} + +func (x *VEvent) Reset() { + *x = VEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VEvent) ProtoMessage() {} + +func (x *VEvent) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VEvent.ProtoReflect.Descriptor instead. +func (*VEvent) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{17} +} + +func (x *VEvent) GetType() VEventType { + if x != nil { + return x.Type + } + return VEventType_UNKNOWN +} + +func (x *VEvent) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *VEvent) GetGtid() string { + if x != nil { + return x.Gtid + } + return "" +} + +func (x *VEvent) GetStatement() string { + if x != nil { + return x.Statement + } + return "" +} + +func (x *VEvent) GetRowEvent() *RowEvent { + if x != nil { + return x.RowEvent + } + return nil +} + +func (x *VEvent) GetFieldEvent() *FieldEvent { + if x != nil { + return x.FieldEvent + } + return nil +} + +func (x *VEvent) GetVgtid() *VGtid { + if x != nil { + return x.Vgtid + } + return nil +} + +func (x *VEvent) GetJournal() *Journal { + if x != nil { + return x.Journal + } + return nil +} + +func (x *VEvent) GetDml() string { + if x != nil { + return x.Dml + } + return "" +} + +func (x *VEvent) GetCurrentTime() int64 { + if x != nil { + return x.CurrentTime + } + return 0 +} + +func (x *VEvent) GetLastPKEvent() *LastPKEvent { + if x != nil { + return x.LastPKEvent + } + return nil +} + +func (x *VEvent) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *VEvent) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *VEvent) GetThrottled() bool { + if x != nil { + return x.Throttled + } + return false +} + +type MinimalTable struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Fields []*v19.Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` + PKColumns []int64 `protobuf:"varint,3,rep,packed,name=p_k_columns,json=pKColumns,proto3" json:"p_k_columns,omitempty"` + // This will be PRIMARY when the actual primary key is used and it + // will be the name of the Primary Key equivalent if one is used + // instead. Otherwise it will be empty. + PKIndexName string `protobuf:"bytes,4,opt,name=p_k_index_name,json=pKIndexName,proto3" json:"p_k_index_name,omitempty"` +} + +func (x *MinimalTable) Reset() { + *x = MinimalTable{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MinimalTable) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MinimalTable) ProtoMessage() {} + +func (x *MinimalTable) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MinimalTable.ProtoReflect.Descriptor instead. +func (*MinimalTable) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{18} +} + +func (x *MinimalTable) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *MinimalTable) GetFields() []*v19.Field { + if x != nil { + return x.Fields + } + return nil +} + +func (x *MinimalTable) GetPKColumns() []int64 { + if x != nil { + return x.PKColumns + } + return nil +} + +func (x *MinimalTable) GetPKIndexName() string { + if x != nil { + return x.PKIndexName + } + return "" +} + +type MinimalSchema struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tables []*MinimalTable `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` +} + +func (x *MinimalSchema) Reset() { + *x = MinimalSchema{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MinimalSchema) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MinimalSchema) ProtoMessage() {} + +func (x *MinimalSchema) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MinimalSchema.ProtoReflect.Descriptor instead. +func (*MinimalSchema) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{19} +} + +func (x *MinimalSchema) GetTables() []*MinimalTable { + if x != nil { + return x.Tables + } + return nil +} + +// VStreamRequest is the payload for VStreamer +type VStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v192.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *v19.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *v19.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` + TableLastPKs []*TableLastPK `protobuf:"bytes,6,rep,name=table_last_p_ks,json=tableLastPKs,proto3" json:"table_last_p_ks,omitempty"` +} + +func (x *VStreamRequest) Reset() { + *x = VStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamRequest) ProtoMessage() {} + +func (x *VStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamRequest.ProtoReflect.Descriptor instead. +func (*VStreamRequest) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{20} +} + +func (x *VStreamRequest) GetEffectiveCallerId() *v192.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *VStreamRequest) GetImmediateCallerId() *v19.VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *VStreamRequest) GetTarget() *v19.Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *VStreamRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *VStreamRequest) GetFilter() *Filter { + if x != nil { + return x.Filter + } + return nil +} + +func (x *VStreamRequest) GetTableLastPKs() []*TableLastPK { + if x != nil { + return x.TableLastPKs + } + return nil +} + +// VStreamResponse is the response from VStreamer +type VStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*VEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *VStreamResponse) Reset() { + *x = VStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamResponse) ProtoMessage() {} + +func (x *VStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamResponse.ProtoReflect.Descriptor instead. +func (*VStreamResponse) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{21} +} + +func (x *VStreamResponse) GetEvents() []*VEvent { + if x != nil { + return x.Events + } + return nil +} + +// VStreamRowsRequest is the payload for VStreamRows +type VStreamRowsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v192.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *v19.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *v19.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + Lastpk *v19.QueryResult `protobuf:"bytes,5,opt,name=lastpk,proto3" json:"lastpk,omitempty"` +} + +func (x *VStreamRowsRequest) Reset() { + *x = VStreamRowsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamRowsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamRowsRequest) ProtoMessage() {} + +func (x *VStreamRowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamRowsRequest.ProtoReflect.Descriptor instead. +func (*VStreamRowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{22} +} + +func (x *VStreamRowsRequest) GetEffectiveCallerId() *v192.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *VStreamRowsRequest) GetImmediateCallerId() *v19.VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *VStreamRowsRequest) GetTarget() *v19.Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *VStreamRowsRequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +func (x *VStreamRowsRequest) GetLastpk() *v19.QueryResult { + if x != nil { + return x.Lastpk + } + return nil +} + +// VStreamRowsResponse is the response from VStreamRows +type VStreamRowsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Fields []*v19.Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + Pkfields []*v19.Field `protobuf:"bytes,2,rep,name=pkfields,proto3" json:"pkfields,omitempty"` + Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` + Rows []*v19.Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` + Lastpk *v19.Row `protobuf:"bytes,5,opt,name=lastpk,proto3" json:"lastpk,omitempty"` + // Throttled indicates that rowstreamer is being throttled right now + Throttled bool `protobuf:"varint,6,opt,name=throttled,proto3" json:"throttled,omitempty"` + // Heartbeat indicates that this is a heartbeat message + Heartbeat bool `protobuf:"varint,7,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"` +} + +func (x *VStreamRowsResponse) Reset() { + *x = VStreamRowsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamRowsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamRowsResponse) ProtoMessage() {} + +func (x *VStreamRowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamRowsResponse.ProtoReflect.Descriptor instead. +func (*VStreamRowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{23} +} + +func (x *VStreamRowsResponse) GetFields() []*v19.Field { + if x != nil { + return x.Fields + } + return nil +} + +func (x *VStreamRowsResponse) GetPkfields() []*v19.Field { + if x != nil { + return x.Pkfields + } + return nil +} + +func (x *VStreamRowsResponse) GetGtid() string { + if x != nil { + return x.Gtid + } + return "" +} + +func (x *VStreamRowsResponse) GetRows() []*v19.Row { + if x != nil { + return x.Rows + } + return nil +} + +func (x *VStreamRowsResponse) GetLastpk() *v19.Row { + if x != nil { + return x.Lastpk + } + return nil +} + +func (x *VStreamRowsResponse) GetThrottled() bool { + if x != nil { + return x.Throttled + } + return false +} + +func (x *VStreamRowsResponse) GetHeartbeat() bool { + if x != nil { + return x.Heartbeat + } + return false +} + +// VStreamTablesRequest is the payload for VStreamTables +type VStreamTablesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v192.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *v19.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *v19.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` +} + +func (x *VStreamTablesRequest) Reset() { + *x = VStreamTablesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamTablesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamTablesRequest) ProtoMessage() {} + +func (x *VStreamTablesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamTablesRequest.ProtoReflect.Descriptor instead. +func (*VStreamTablesRequest) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{24} +} + +func (x *VStreamTablesRequest) GetEffectiveCallerId() *v192.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *VStreamTablesRequest) GetImmediateCallerId() *v19.VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *VStreamTablesRequest) GetTarget() *v19.Target { + if x != nil { + return x.Target + } + return nil +} + +// VStreamTablesResponse is the response from VStreamTables +type VStreamTablesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + Fields []*v19.Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` + Pkfields []*v19.Field `protobuf:"bytes,3,rep,name=pkfields,proto3" json:"pkfields,omitempty"` + Gtid string `protobuf:"bytes,4,opt,name=gtid,proto3" json:"gtid,omitempty"` + Rows []*v19.Row `protobuf:"bytes,5,rep,name=rows,proto3" json:"rows,omitempty"` + Lastpk *v19.Row `protobuf:"bytes,6,opt,name=lastpk,proto3" json:"lastpk,omitempty"` +} + +func (x *VStreamTablesResponse) Reset() { + *x = VStreamTablesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamTablesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamTablesResponse) ProtoMessage() {} + +func (x *VStreamTablesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamTablesResponse.ProtoReflect.Descriptor instead. +func (*VStreamTablesResponse) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{25} +} + +func (x *VStreamTablesResponse) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *VStreamTablesResponse) GetFields() []*v19.Field { + if x != nil { + return x.Fields + } + return nil +} + +func (x *VStreamTablesResponse) GetPkfields() []*v19.Field { + if x != nil { + return x.Pkfields + } + return nil +} + +func (x *VStreamTablesResponse) GetGtid() string { + if x != nil { + return x.Gtid + } + return "" +} + +func (x *VStreamTablesResponse) GetRows() []*v19.Row { + if x != nil { + return x.Rows + } + return nil +} + +func (x *VStreamTablesResponse) GetLastpk() *v19.Row { + if x != nil { + return x.Lastpk + } + return nil +} + +type LastPKEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TableLastPK *TableLastPK `protobuf:"bytes,1,opt,name=table_last_p_k,json=tableLastPK,proto3" json:"table_last_p_k,omitempty"` + Completed bool `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty"` +} + +func (x *LastPKEvent) Reset() { + *x = LastPKEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LastPKEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LastPKEvent) ProtoMessage() {} + +func (x *LastPKEvent) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LastPKEvent.ProtoReflect.Descriptor instead. +func (*LastPKEvent) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{26} +} + +func (x *LastPKEvent) GetTableLastPK() *TableLastPK { + if x != nil { + return x.TableLastPK + } + return nil +} + +func (x *LastPKEvent) GetCompleted() bool { + if x != nil { + return x.Completed + } + return false +} + +type TableLastPK struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + Lastpk *v19.QueryResult `protobuf:"bytes,3,opt,name=lastpk,proto3" json:"lastpk,omitempty"` +} + +func (x *TableLastPK) Reset() { + *x = TableLastPK{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableLastPK) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableLastPK) ProtoMessage() {} + +func (x *TableLastPK) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TableLastPK.ProtoReflect.Descriptor instead. +func (*TableLastPK) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{27} +} + +func (x *TableLastPK) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *TableLastPK) GetLastpk() *v19.QueryResult { + if x != nil { + return x.Lastpk + } + return nil +} + +// VStreamResultsRequest is the payload for VStreamResults +// The ids match VStreamRows, in case we decide to merge the two. +// The ids match VStreamRows, in case we decide to merge the two. +type VStreamResultsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v192.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *v19.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *v19.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` +} + +func (x *VStreamResultsRequest) Reset() { + *x = VStreamResultsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamResultsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamResultsRequest) ProtoMessage() {} + +func (x *VStreamResultsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamResultsRequest.ProtoReflect.Descriptor instead. +func (*VStreamResultsRequest) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{28} +} + +func (x *VStreamResultsRequest) GetEffectiveCallerId() *v192.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *VStreamResultsRequest) GetImmediateCallerId() *v19.VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *VStreamResultsRequest) GetTarget() *v19.Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *VStreamResultsRequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +// VStreamResultsResponse is the response from VStreamResults +// The ids match VStreamRows, in case we decide to merge the two. +type VStreamResultsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Fields []*v19.Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` + Rows []*v19.Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` +} + +func (x *VStreamResultsResponse) Reset() { + *x = VStreamResultsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamResultsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamResultsResponse) ProtoMessage() {} + +func (x *VStreamResultsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamResultsResponse.ProtoReflect.Descriptor instead. +func (*VStreamResultsResponse) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{29} +} + +func (x *VStreamResultsResponse) GetFields() []*v19.Field { + if x != nil { + return x.Fields + } + return nil +} + +func (x *VStreamResultsResponse) GetGtid() string { + if x != nil { + return x.Gtid + } + return "" +} + +func (x *VStreamResultsResponse) GetRows() []*v19.Row { + if x != nil { + return x.Rows + } + return nil +} + +type BinlogTransaction_Statement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // what type of statement is this? + Category BinlogTransaction_Statement_Category `protobuf:"varint,1,opt,name=category,proto3,enum=vitess.binlogdata.v19.BinlogTransaction_Statement_Category" json:"category,omitempty"` + // charset of this statement, if different from pre-negotiated default. + Charset *Charset `protobuf:"bytes,2,opt,name=charset,proto3" json:"charset,omitempty"` + // the sql + Sql []byte `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` +} + +func (x *BinlogTransaction_Statement) Reset() { + *x = BinlogTransaction_Statement{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BinlogTransaction_Statement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BinlogTransaction_Statement) ProtoMessage() {} + +func (x *BinlogTransaction_Statement) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BinlogTransaction_Statement.ProtoReflect.Descriptor instead. +func (*BinlogTransaction_Statement) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *BinlogTransaction_Statement) GetCategory() BinlogTransaction_Statement_Category { + if x != nil { + return x.Category + } + return BinlogTransaction_Statement_BL_UNRECOGNIZED +} + +func (x *BinlogTransaction_Statement) GetCharset() *Charset { + if x != nil { + return x.Charset + } + return nil +} + +func (x *BinlogTransaction_Statement) GetSql() []byte { + if x != nil { + return x.Sql + } + return nil +} + +type RowChange_Bitmap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + Cols []byte `protobuf:"bytes,2,opt,name=cols,proto3" json:"cols,omitempty"` +} + +func (x *RowChange_Bitmap) Reset() { + *x = RowChange_Bitmap{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RowChange_Bitmap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RowChange_Bitmap) ProtoMessage() {} + +func (x *RowChange_Bitmap) ProtoReflect() protoreflect.Message { + mi := &file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RowChange_Bitmap.ProtoReflect.Descriptor instead. +func (*RowChange_Bitmap) Descriptor() ([]byte, []int) { + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP(), []int{10, 0} +} + +func (x *RowChange_Bitmap) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *RowChange_Bitmap) GetCols() []byte { + if x != nil { + return x.Cols + } + return nil +} + +var File_vitess_binlogdata_v19_binlogdata_proto protoreflect.FileDescriptor + +var file_vitess_binlogdata_v19_binlogdata_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x1a, + 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, + 0x39, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x39, 0x2f, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, + 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x4d, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6e, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x63, 0x6f, 0x6e, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0x91, + 0x04, 0x0a, 0x11, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0a, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0xdc, 0x02, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x57, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x38, + 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x52, + 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x22, 0xa9, 0x01, 0x0a, 0x08, 0x43, + 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x4c, 0x5f, 0x55, 0x4e, + 0x52, 0x45, 0x43, 0x4f, 0x47, 0x4e, 0x49, 0x5a, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, + 0x42, 0x4c, 0x5f, 0x42, 0x45, 0x47, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, + 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c, 0x5f, + 0x52, 0x4f, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x42, 0x4c, + 0x5f, 0x44, 0x4d, 0x4c, 0x5f, 0x44, 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, + 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x4c, 0x5f, 0x44, 0x44, 0x4c, 0x10, 0x05, 0x12, 0x0a, 0x0a, + 0x06, 0x42, 0x4c, 0x5f, 0x53, 0x45, 0x54, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, 0x5f, + 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, 0x5f, 0x55, + 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, 0x5f, 0x44, 0x45, + 0x4c, 0x45, 0x54, 0x45, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, + 0x10, 0x04, 0x22, 0xa9, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x79, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, + 0x61, 0x6e, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, + 0x61, 0x72, 0x73, 0x65, 0x74, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x22, 0x71, + 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 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, 0x38, 0x0a, + 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x52, 0x07, + 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x22, 0x6f, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x57, 0x0a, 0x12, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x55, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x72, + 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, + 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x22, + 0xb5, 0x06, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x16, + 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x63, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, + 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6c, + 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x6f, 0x54, + 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, + 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x6f, 0x54, 0x65, 0x78, 0x74, 0x12, 0x58, 0x0a, 0x0f, 0x63, + 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6c, + 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x43, 0x68, + 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x12, 0x39, 0x0a, 0x19, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, + 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x16, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, + 0x65, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x20, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, + 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x6e, 0x69, + 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x12, 0x60, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x5f, 0x69, + 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x43, 0x6f, + 0x6e, 0x76, 0x65, 0x72, 0x74, 0x49, 0x6e, 0x74, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x49, 0x6e, 0x74, 0x54, + 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, + 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x1a, + 0x44, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x6f, + 0x54, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6b, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, + 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x49, 0x6e, 0x74, + 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x95, 0x02, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, + 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x10, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, + 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x52, 0x52, + 0x5f, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x00, 0x12, 0x0f, + 0x0a, 0x0b, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x10, 0x01, 0x22, + 0x96, 0x04, 0x0a, 0x0c, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 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, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, + 0x39, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4f, 0x6e, 0x44, 0x44, 0x4c, 0x41, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4d, 0x79, 0x73, 0x71, + 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, + 0x63, 0x6f, 0x70, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, + 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x28, + 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, + 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0xe7, 0x01, 0x0a, 0x09, 0x52, 0x6f, 0x77, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x06, 0x62, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x05, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x52, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x42, 0x69, 0x74, 0x6d, 0x61, + 0x70, 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x1a, 0x32, + 0x0a, 0x06, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, + 0x6c, 0x73, 0x22, 0xb4, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x41, + 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x0a, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x09, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x47, 0x74, 0x69, 0x64, 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, 0x67, 0x74, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x74, 0x69, 0x64, 0x12, 0x40, + 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x5f, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x4b, 0x73, + 0x22, 0x4a, 0x0a, 0x05, 0x56, 0x47, 0x74, 0x69, 0x64, 0x12, 0x41, 0x0a, 0x0b, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x5f, 0x67, 0x74, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x74, 0x69, 0x64, + 0x52, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x47, 0x74, 0x69, 0x64, 0x73, 0x22, 0x41, 0x0a, 0x0d, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 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, + 0xdd, 0x02, 0x0a, 0x07, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4b, 0x0a, 0x0e, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x5f, 0x67, 0x74, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x74, 0x69, 0x64, 0x52, 0x0a, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x47, 0x74, 0x69, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x0c, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x22, + 0xcd, 0x04, 0x0a, 0x06, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, + 0x12, 0x0a, 0x04, 0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, + 0x74, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x3c, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x42, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x47, 0x74, 0x69, 0x64, + 0x52, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x07, 0x6a, 0x6f, 0x75, 0x72, 0x6e, + 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x07, 0x6a, 0x6f, 0x75, 0x72, 0x6e, 0x61, + 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6d, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x64, 0x6d, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, + 0x5f, 0x6b, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x18, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x22, + 0x98, 0x01, 0x0a, 0x0c, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x70, 0x5f, 0x6b, 0x5f, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x70, 0x4b, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0e, 0x70, 0x5f, 0x6b, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, + 0x4b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x0d, 0x4d, 0x69, + 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x3b, 0x0a, 0x06, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0xfe, 0x02, 0x0a, 0x0e, 0x56, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, + 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, + 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x49, + 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x5f, 0x6b, + 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x52, 0x0c, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x73, 0x22, 0x48, 0x0a, 0x0f, 0x56, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x22, 0xb1, 0x02, 0x0a, 0x12, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x12, 0x35, 0x0a, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, 0x22, 0xa5, 0x02, 0x0a, 0x13, 0x56, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, + 0x12, 0x33, 0x0a, 0x08, 0x70, 0x6b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x08, 0x70, 0x6b, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x74, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x77, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, + 0x72, 0x6f, 0x77, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x06, 0x6c, 0x61, 0x73, + 0x74, 0x70, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x22, + 0xe6, 0x01, 0x0a, 0x14, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, + 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x8a, 0x02, 0x0a, 0x15, 0x56, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x6b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x08, 0x70, + 0x6b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x74, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x74, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x72, + 0x6f, 0x77, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, + 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x06, 0x6c, + 0x61, 0x73, 0x74, 0x70, 0x6b, 0x22, 0x74, 0x0a, 0x0b, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x70, 0x5f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, + 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x63, 0x0a, 0x0b, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x50, 0x4b, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x6c, 0x61, 0x73, + 0x74, 0x70, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x70, 0x6b, + 0x22, 0xfd, 0x01, 0x0a, 0x15, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x22, 0x88, 0x01, 0x0a, 0x16, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x74, 0x69, 0x64, + 0x12, 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x2a, 0x3e, 0x0a, 0x0b, 0x4f, + 0x6e, 0x44, 0x44, 0x4c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x47, + 0x4e, 0x4f, 0x52, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x01, + 0x12, 0x08, 0x0a, 0x04, 0x45, 0x58, 0x45, 0x43, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x58, + 0x45, 0x43, 0x5f, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x10, 0x03, 0x2a, 0x7b, 0x0a, 0x18, 0x56, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x6f, 0x76, 0x65, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x10, 0x02, 0x12, + 0x0b, 0x0a, 0x07, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, + 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x6e, 0x6c, + 0x69, 0x6e, 0x65, 0x44, 0x44, 0x4c, 0x10, 0x05, 0x2a, 0x44, 0x0a, 0x1b, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, + 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x10, 0x01, 0x12, 0x0e, + 0x0a, 0x0a, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x70, 0x79, 0x10, 0x02, 0x2a, 0x71, + 0x0a, 0x19, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, + 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x6e, 0x69, 0x74, + 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x10, 0x02, 0x12, + 0x0b, 0x0a, 0x07, 0x43, 0x6f, 0x70, 0x79, 0x69, 0x6e, 0x67, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, + 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x10, + 0x06, 0x2a, 0x8d, 0x02, 0x0a, 0x0a, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, + 0x04, 0x47, 0x54, 0x49, 0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x45, 0x47, 0x49, 0x4e, + 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x12, 0x0c, + 0x0a, 0x08, 0x52, 0x4f, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, + 0x44, 0x44, 0x4c, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x10, + 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x07, 0x12, 0x0a, + 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, + 0x4c, 0x45, 0x54, 0x45, 0x10, 0x09, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x0a, 0x12, + 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x4f, + 0x57, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x0d, 0x12, 0x0d, + 0x0a, 0x09, 0x48, 0x45, 0x41, 0x52, 0x54, 0x42, 0x45, 0x41, 0x54, 0x10, 0x0e, 0x12, 0x09, 0x0a, + 0x05, 0x56, 0x47, 0x54, 0x49, 0x44, 0x10, 0x0f, 0x12, 0x0b, 0x0a, 0x07, 0x4a, 0x4f, 0x55, 0x52, + 0x4e, 0x41, 0x4c, 0x10, 0x10, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, + 0x10, 0x11, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x41, 0x53, 0x54, 0x50, 0x4b, 0x10, 0x12, 0x12, 0x0d, + 0x0a, 0x09, 0x53, 0x41, 0x56, 0x45, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x13, 0x12, 0x12, 0x0a, + 0x0e, 0x43, 0x4f, 0x50, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, + 0x14, 0x2a, 0x27, 0x0a, 0x0d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x53, 0x10, 0x00, 0x12, 0x0a, + 0x0a, 0x06, 0x53, 0x48, 0x41, 0x52, 0x44, 0x53, 0x10, 0x01, 0x42, 0x4d, 0x5a, 0x4b, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, + 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_vitess_binlogdata_v19_binlogdata_proto_rawDescOnce sync.Once + file_vitess_binlogdata_v19_binlogdata_proto_rawDescData = file_vitess_binlogdata_v19_binlogdata_proto_rawDesc +) + +func file_vitess_binlogdata_v19_binlogdata_proto_rawDescGZIP() []byte { + file_vitess_binlogdata_v19_binlogdata_proto_rawDescOnce.Do(func() { + file_vitess_binlogdata_v19_binlogdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_binlogdata_v19_binlogdata_proto_rawDescData) + }) + return file_vitess_binlogdata_v19_binlogdata_proto_rawDescData +} + +var file_vitess_binlogdata_v19_binlogdata_proto_enumTypes = make([]protoimpl.EnumInfo, 8) +var file_vitess_binlogdata_v19_binlogdata_proto_msgTypes = make([]protoimpl.MessageInfo, 35) +var file_vitess_binlogdata_v19_binlogdata_proto_goTypes = []any{ + (OnDDLAction)(0), // 0: vitess.binlogdata.v19.OnDDLAction + (VReplicationWorkflowType)(0), // 1: vitess.binlogdata.v19.VReplicationWorkflowType + (VReplicationWorkflowSubType)(0), // 2: vitess.binlogdata.v19.VReplicationWorkflowSubType + (VReplicationWorkflowState)(0), // 3: vitess.binlogdata.v19.VReplicationWorkflowState + (VEventType)(0), // 4: vitess.binlogdata.v19.VEventType + (MigrationType)(0), // 5: vitess.binlogdata.v19.MigrationType + (BinlogTransaction_Statement_Category)(0), // 6: vitess.binlogdata.v19.BinlogTransaction.Statement.Category + (Filter_FieldEventMode)(0), // 7: vitess.binlogdata.v19.Filter.FieldEventMode + (*Charset)(nil), // 8: vitess.binlogdata.v19.Charset + (*BinlogTransaction)(nil), // 9: vitess.binlogdata.v19.BinlogTransaction + (*StreamKeyRangeRequest)(nil), // 10: vitess.binlogdata.v19.StreamKeyRangeRequest + (*StreamKeyRangeResponse)(nil), // 11: vitess.binlogdata.v19.StreamKeyRangeResponse + (*StreamTablesRequest)(nil), // 12: vitess.binlogdata.v19.StreamTablesRequest + (*StreamTablesResponse)(nil), // 13: vitess.binlogdata.v19.StreamTablesResponse + (*CharsetConversion)(nil), // 14: vitess.binlogdata.v19.CharsetConversion + (*Rule)(nil), // 15: vitess.binlogdata.v19.Rule + (*Filter)(nil), // 16: vitess.binlogdata.v19.Filter + (*BinlogSource)(nil), // 17: vitess.binlogdata.v19.BinlogSource + (*RowChange)(nil), // 18: vitess.binlogdata.v19.RowChange + (*RowEvent)(nil), // 19: vitess.binlogdata.v19.RowEvent + (*FieldEvent)(nil), // 20: vitess.binlogdata.v19.FieldEvent + (*ShardGtid)(nil), // 21: vitess.binlogdata.v19.ShardGtid + (*VGtid)(nil), // 22: vitess.binlogdata.v19.VGtid + (*KeyspaceShard)(nil), // 23: vitess.binlogdata.v19.KeyspaceShard + (*Journal)(nil), // 24: vitess.binlogdata.v19.Journal + (*VEvent)(nil), // 25: vitess.binlogdata.v19.VEvent + (*MinimalTable)(nil), // 26: vitess.binlogdata.v19.MinimalTable + (*MinimalSchema)(nil), // 27: vitess.binlogdata.v19.MinimalSchema + (*VStreamRequest)(nil), // 28: vitess.binlogdata.v19.VStreamRequest + (*VStreamResponse)(nil), // 29: vitess.binlogdata.v19.VStreamResponse + (*VStreamRowsRequest)(nil), // 30: vitess.binlogdata.v19.VStreamRowsRequest + (*VStreamRowsResponse)(nil), // 31: vitess.binlogdata.v19.VStreamRowsResponse + (*VStreamTablesRequest)(nil), // 32: vitess.binlogdata.v19.VStreamTablesRequest + (*VStreamTablesResponse)(nil), // 33: vitess.binlogdata.v19.VStreamTablesResponse + (*LastPKEvent)(nil), // 34: vitess.binlogdata.v19.LastPKEvent + (*TableLastPK)(nil), // 35: vitess.binlogdata.v19.TableLastPK + (*VStreamResultsRequest)(nil), // 36: vitess.binlogdata.v19.VStreamResultsRequest + (*VStreamResultsResponse)(nil), // 37: vitess.binlogdata.v19.VStreamResultsResponse + (*BinlogTransaction_Statement)(nil), // 38: vitess.binlogdata.v19.BinlogTransaction.Statement + nil, // 39: vitess.binlogdata.v19.Rule.ConvertEnumToTextEntry + nil, // 40: vitess.binlogdata.v19.Rule.ConvertCharsetEntry + nil, // 41: vitess.binlogdata.v19.Rule.ConvertIntToEnumEntry + (*RowChange_Bitmap)(nil), // 42: vitess.binlogdata.v19.RowChange.Bitmap + (*v19.EventToken)(nil), // 43: vitess.query.v19.EventToken + (*v191.KeyRange)(nil), // 44: vitess.topodata.v19.KeyRange + (v191.TabletType)(0), // 45: vitess.topodata.v19.TabletType + (*v19.Row)(nil), // 46: vitess.query.v19.Row + (*v19.Field)(nil), // 47: vitess.query.v19.Field + (*v192.CallerID)(nil), // 48: vitess.vtrpc.v19.CallerID + (*v19.VTGateCallerID)(nil), // 49: vitess.query.v19.VTGateCallerID + (*v19.Target)(nil), // 50: vitess.query.v19.Target + (*v19.QueryResult)(nil), // 51: vitess.query.v19.QueryResult +} +var file_vitess_binlogdata_v19_binlogdata_proto_depIdxs = []int32{ + 38, // 0: vitess.binlogdata.v19.BinlogTransaction.statements:type_name -> vitess.binlogdata.v19.BinlogTransaction.Statement + 43, // 1: vitess.binlogdata.v19.BinlogTransaction.event_token:type_name -> vitess.query.v19.EventToken + 44, // 2: vitess.binlogdata.v19.StreamKeyRangeRequest.key_range:type_name -> vitess.topodata.v19.KeyRange + 8, // 3: vitess.binlogdata.v19.StreamKeyRangeRequest.charset:type_name -> vitess.binlogdata.v19.Charset + 9, // 4: vitess.binlogdata.v19.StreamKeyRangeResponse.binlog_transaction:type_name -> vitess.binlogdata.v19.BinlogTransaction + 8, // 5: vitess.binlogdata.v19.StreamTablesRequest.charset:type_name -> vitess.binlogdata.v19.Charset + 9, // 6: vitess.binlogdata.v19.StreamTablesResponse.binlog_transaction:type_name -> vitess.binlogdata.v19.BinlogTransaction + 39, // 7: vitess.binlogdata.v19.Rule.convert_enum_to_text:type_name -> vitess.binlogdata.v19.Rule.ConvertEnumToTextEntry + 40, // 8: vitess.binlogdata.v19.Rule.convert_charset:type_name -> vitess.binlogdata.v19.Rule.ConvertCharsetEntry + 41, // 9: vitess.binlogdata.v19.Rule.convert_int_to_enum:type_name -> vitess.binlogdata.v19.Rule.ConvertIntToEnumEntry + 15, // 10: vitess.binlogdata.v19.Filter.rules:type_name -> vitess.binlogdata.v19.Rule + 7, // 11: vitess.binlogdata.v19.Filter.field_event_mode:type_name -> vitess.binlogdata.v19.Filter.FieldEventMode + 45, // 12: vitess.binlogdata.v19.BinlogSource.tablet_type:type_name -> vitess.topodata.v19.TabletType + 44, // 13: vitess.binlogdata.v19.BinlogSource.key_range:type_name -> vitess.topodata.v19.KeyRange + 16, // 14: vitess.binlogdata.v19.BinlogSource.filter:type_name -> vitess.binlogdata.v19.Filter + 0, // 15: vitess.binlogdata.v19.BinlogSource.on_ddl:type_name -> vitess.binlogdata.v19.OnDDLAction + 46, // 16: vitess.binlogdata.v19.RowChange.before:type_name -> vitess.query.v19.Row + 46, // 17: vitess.binlogdata.v19.RowChange.after:type_name -> vitess.query.v19.Row + 42, // 18: vitess.binlogdata.v19.RowChange.data_columns:type_name -> vitess.binlogdata.v19.RowChange.Bitmap + 18, // 19: vitess.binlogdata.v19.RowEvent.row_changes:type_name -> vitess.binlogdata.v19.RowChange + 47, // 20: vitess.binlogdata.v19.FieldEvent.fields:type_name -> vitess.query.v19.Field + 35, // 21: vitess.binlogdata.v19.ShardGtid.table_p_ks:type_name -> vitess.binlogdata.v19.TableLastPK + 21, // 22: vitess.binlogdata.v19.VGtid.shard_gtids:type_name -> vitess.binlogdata.v19.ShardGtid + 5, // 23: vitess.binlogdata.v19.Journal.migration_type:type_name -> vitess.binlogdata.v19.MigrationType + 21, // 24: vitess.binlogdata.v19.Journal.shard_gtids:type_name -> vitess.binlogdata.v19.ShardGtid + 23, // 25: vitess.binlogdata.v19.Journal.participants:type_name -> vitess.binlogdata.v19.KeyspaceShard + 4, // 26: vitess.binlogdata.v19.VEvent.type:type_name -> vitess.binlogdata.v19.VEventType + 19, // 27: vitess.binlogdata.v19.VEvent.row_event:type_name -> vitess.binlogdata.v19.RowEvent + 20, // 28: vitess.binlogdata.v19.VEvent.field_event:type_name -> vitess.binlogdata.v19.FieldEvent + 22, // 29: vitess.binlogdata.v19.VEvent.vgtid:type_name -> vitess.binlogdata.v19.VGtid + 24, // 30: vitess.binlogdata.v19.VEvent.journal:type_name -> vitess.binlogdata.v19.Journal + 34, // 31: vitess.binlogdata.v19.VEvent.last_p_k_event:type_name -> vitess.binlogdata.v19.LastPKEvent + 47, // 32: vitess.binlogdata.v19.MinimalTable.fields:type_name -> vitess.query.v19.Field + 26, // 33: vitess.binlogdata.v19.MinimalSchema.tables:type_name -> vitess.binlogdata.v19.MinimalTable + 48, // 34: vitess.binlogdata.v19.VStreamRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 49, // 35: vitess.binlogdata.v19.VStreamRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 50, // 36: vitess.binlogdata.v19.VStreamRequest.target:type_name -> vitess.query.v19.Target + 16, // 37: vitess.binlogdata.v19.VStreamRequest.filter:type_name -> vitess.binlogdata.v19.Filter + 35, // 38: vitess.binlogdata.v19.VStreamRequest.table_last_p_ks:type_name -> vitess.binlogdata.v19.TableLastPK + 25, // 39: vitess.binlogdata.v19.VStreamResponse.events:type_name -> vitess.binlogdata.v19.VEvent + 48, // 40: vitess.binlogdata.v19.VStreamRowsRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 49, // 41: vitess.binlogdata.v19.VStreamRowsRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 50, // 42: vitess.binlogdata.v19.VStreamRowsRequest.target:type_name -> vitess.query.v19.Target + 51, // 43: vitess.binlogdata.v19.VStreamRowsRequest.lastpk:type_name -> vitess.query.v19.QueryResult + 47, // 44: vitess.binlogdata.v19.VStreamRowsResponse.fields:type_name -> vitess.query.v19.Field + 47, // 45: vitess.binlogdata.v19.VStreamRowsResponse.pkfields:type_name -> vitess.query.v19.Field + 46, // 46: vitess.binlogdata.v19.VStreamRowsResponse.rows:type_name -> vitess.query.v19.Row + 46, // 47: vitess.binlogdata.v19.VStreamRowsResponse.lastpk:type_name -> vitess.query.v19.Row + 48, // 48: vitess.binlogdata.v19.VStreamTablesRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 49, // 49: vitess.binlogdata.v19.VStreamTablesRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 50, // 50: vitess.binlogdata.v19.VStreamTablesRequest.target:type_name -> vitess.query.v19.Target + 47, // 51: vitess.binlogdata.v19.VStreamTablesResponse.fields:type_name -> vitess.query.v19.Field + 47, // 52: vitess.binlogdata.v19.VStreamTablesResponse.pkfields:type_name -> vitess.query.v19.Field + 46, // 53: vitess.binlogdata.v19.VStreamTablesResponse.rows:type_name -> vitess.query.v19.Row + 46, // 54: vitess.binlogdata.v19.VStreamTablesResponse.lastpk:type_name -> vitess.query.v19.Row + 35, // 55: vitess.binlogdata.v19.LastPKEvent.table_last_p_k:type_name -> vitess.binlogdata.v19.TableLastPK + 51, // 56: vitess.binlogdata.v19.TableLastPK.lastpk:type_name -> vitess.query.v19.QueryResult + 48, // 57: vitess.binlogdata.v19.VStreamResultsRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 49, // 58: vitess.binlogdata.v19.VStreamResultsRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 50, // 59: vitess.binlogdata.v19.VStreamResultsRequest.target:type_name -> vitess.query.v19.Target + 47, // 60: vitess.binlogdata.v19.VStreamResultsResponse.fields:type_name -> vitess.query.v19.Field + 46, // 61: vitess.binlogdata.v19.VStreamResultsResponse.rows:type_name -> vitess.query.v19.Row + 6, // 62: vitess.binlogdata.v19.BinlogTransaction.Statement.category:type_name -> vitess.binlogdata.v19.BinlogTransaction.Statement.Category + 8, // 63: vitess.binlogdata.v19.BinlogTransaction.Statement.charset:type_name -> vitess.binlogdata.v19.Charset + 14, // 64: vitess.binlogdata.v19.Rule.ConvertCharsetEntry.value:type_name -> vitess.binlogdata.v19.CharsetConversion + 65, // [65:65] is the sub-list for method output_type + 65, // [65:65] is the sub-list for method input_type + 65, // [65:65] is the sub-list for extension type_name + 65, // [65:65] is the sub-list for extension extendee + 0, // [0:65] is the sub-list for field type_name +} + +func init() { file_vitess_binlogdata_v19_binlogdata_proto_init() } +func file_vitess_binlogdata_v19_binlogdata_proto_init() { + if File_vitess_binlogdata_v19_binlogdata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Charset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*BinlogTransaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*StreamKeyRangeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*StreamKeyRangeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*StreamTablesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*StreamTablesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*CharsetConversion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*Rule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*BinlogSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*RowChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*RowEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*FieldEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*ShardGtid); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*VGtid); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*KeyspaceShard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*Journal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*VEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*MinimalTable); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*MinimalSchema); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*VStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*VStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*VStreamRowsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*VStreamRowsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*VStreamTablesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*VStreamTablesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*LastPKEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*TableLastPK); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*VStreamResultsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*VStreamResultsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*BinlogTransaction_Statement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_binlogdata_v19_binlogdata_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*RowChange_Bitmap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_binlogdata_v19_binlogdata_proto_rawDesc, + NumEnums: 8, + NumMessages: 35, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_binlogdata_v19_binlogdata_proto_goTypes, + DependencyIndexes: file_vitess_binlogdata_v19_binlogdata_proto_depIdxs, + EnumInfos: file_vitess_binlogdata_v19_binlogdata_proto_enumTypes, + MessageInfos: file_vitess_binlogdata_v19_binlogdata_proto_msgTypes, + }.Build() + File_vitess_binlogdata_v19_binlogdata_proto = out.File + file_vitess_binlogdata_v19_binlogdata_proto_rawDesc = nil + file_vitess_binlogdata_v19_binlogdata_proto_goTypes = nil + file_vitess_binlogdata_v19_binlogdata_proto_depIdxs = nil +} diff --git a/gen/vitess/binlogdata/v19/binlogdata_vtproto.pb.go b/gen/vitess/binlogdata/v19/binlogdata_vtproto.pb.go new file mode 100644 index 0000000..05af755 --- /dev/null +++ b/gen/vitess/binlogdata/v19/binlogdata_vtproto.pb.go @@ -0,0 +1,10104 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/binlogdata/v19/binlogdata.proto + +package binlogdatav19 + +import ( + fmt "fmt" + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Charset) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Charset) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Charset) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Server != 0 { + i = encodeVarint(dAtA, i, uint64(m.Server)) + i-- + dAtA[i] = 0x18 + } + if m.Conn != 0 { + i = encodeVarint(dAtA, i, uint64(m.Conn)) + i-- + dAtA[i] = 0x10 + } + if m.Client != 0 { + i = encodeVarint(dAtA, i, uint64(m.Client)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *BinlogTransaction_Statement) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BinlogTransaction_Statement) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BinlogTransaction_Statement) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0x1a + } + if m.Charset != nil { + size, err := m.Charset.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Category != 0 { + i = encodeVarint(dAtA, i, uint64(m.Category)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *BinlogTransaction) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BinlogTransaction) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BinlogTransaction) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.EventToken != nil { + if vtmsg, ok := interface{}(m.EventToken).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EventToken) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Statements) > 0 { + for iNdEx := len(m.Statements) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Statements[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *StreamKeyRangeRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamKeyRangeRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamKeyRangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Charset != nil { + size, err := m.Charset.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.KeyRange != nil { + if vtmsg, ok := interface{}(m.KeyRange).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.KeyRange) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StreamKeyRangeResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamKeyRangeResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamKeyRangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.BinlogTransaction != nil { + size, err := m.BinlogTransaction.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StreamTablesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamTablesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Charset != nil { + size, err := m.Charset.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StreamTablesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamTablesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.BinlogTransaction != nil { + size, err := m.BinlogTransaction.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CharsetConversion) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CharsetConversion) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CharsetConversion) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ToCharset) > 0 { + i -= len(m.ToCharset) + copy(dAtA[i:], m.ToCharset) + i = encodeVarint(dAtA, i, uint64(len(m.ToCharset))) + i-- + dAtA[i] = 0x12 + } + if len(m.FromCharset) > 0 { + i -= len(m.FromCharset) + copy(dAtA[i:], m.FromCharset) + i = encodeVarint(dAtA, i, uint64(len(m.FromCharset))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Rule) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Rule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Rule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ForceUniqueKey) > 0 { + i -= len(m.ForceUniqueKey) + copy(dAtA[i:], m.ForceUniqueKey) + i = encodeVarint(dAtA, i, uint64(len(m.ForceUniqueKey))) + i-- + dAtA[i] = 0x4a + } + if len(m.ConvertIntToEnum) > 0 { + for k := range m.ConvertIntToEnum { + v := m.ConvertIntToEnum[k] + baseI := i + i-- + if v { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x42 + } + } + if len(m.SourceUniqueKeyTargetColumns) > 0 { + i -= len(m.SourceUniqueKeyTargetColumns) + copy(dAtA[i:], m.SourceUniqueKeyTargetColumns) + i = encodeVarint(dAtA, i, uint64(len(m.SourceUniqueKeyTargetColumns))) + i-- + dAtA[i] = 0x3a + } + if len(m.TargetUniqueKeyColumns) > 0 { + i -= len(m.TargetUniqueKeyColumns) + copy(dAtA[i:], m.TargetUniqueKeyColumns) + i = encodeVarint(dAtA, i, uint64(len(m.TargetUniqueKeyColumns))) + i-- + dAtA[i] = 0x32 + } + if len(m.SourceUniqueKeyColumns) > 0 { + i -= len(m.SourceUniqueKeyColumns) + copy(dAtA[i:], m.SourceUniqueKeyColumns) + i = encodeVarint(dAtA, i, uint64(len(m.SourceUniqueKeyColumns))) + i-- + dAtA[i] = 0x2a + } + if len(m.ConvertCharset) > 0 { + for k := range m.ConvertCharset { + v := m.ConvertCharset[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.ConvertEnumToText) > 0 { + for k := range m.ConvertEnumToText { + v := m.ConvertEnumToText[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Filter) > 0 { + i -= len(m.Filter) + copy(dAtA[i:], m.Filter) + i = encodeVarint(dAtA, i, uint64(len(m.Filter))) + i-- + dAtA[i] = 0x12 + } + if len(m.Match) > 0 { + i -= len(m.Match) + copy(dAtA[i:], m.Match) + i = encodeVarint(dAtA, i, uint64(len(m.Match))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Filter) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Filter) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Filter) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.WorkflowName) > 0 { + i -= len(m.WorkflowName) + copy(dAtA[i:], m.WorkflowName) + i = encodeVarint(dAtA, i, uint64(len(m.WorkflowName))) + i-- + dAtA[i] = 0x22 + } + if m.WorkflowType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowType)) + i-- + dAtA[i] = 0x18 + } + if m.FieldEventMode != 0 { + i = encodeVarint(dAtA, i, uint64(m.FieldEventMode)) + i-- + dAtA[i] = 0x10 + } + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Rules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *BinlogSource) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BinlogSource) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BinlogSource) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TargetTimeZone) > 0 { + i -= len(m.TargetTimeZone) + copy(dAtA[i:], m.TargetTimeZone) + i = encodeVarint(dAtA, i, uint64(len(m.TargetTimeZone))) + i-- + dAtA[i] = 0x62 + } + if len(m.SourceTimeZone) > 0 { + i -= len(m.SourceTimeZone) + copy(dAtA[i:], m.SourceTimeZone) + i = encodeVarint(dAtA, i, uint64(len(m.SourceTimeZone))) + i-- + dAtA[i] = 0x5a + } + if len(m.ExternalCluster) > 0 { + i -= len(m.ExternalCluster) + copy(dAtA[i:], m.ExternalCluster) + i = encodeVarint(dAtA, i, uint64(len(m.ExternalCluster))) + i-- + dAtA[i] = 0x52 + } + if m.StopAfterCopy { + i-- + if m.StopAfterCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if len(m.ExternalMysql) > 0 { + i -= len(m.ExternalMysql) + copy(dAtA[i:], m.ExternalMysql) + i = encodeVarint(dAtA, i, uint64(len(m.ExternalMysql))) + i-- + dAtA[i] = 0x42 + } + if m.OnDdl != 0 { + i = encodeVarint(dAtA, i, uint64(m.OnDdl)) + i-- + dAtA[i] = 0x38 + } + if m.Filter != nil { + size, err := m.Filter.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.KeyRange != nil { + if vtmsg, ok := interface{}(m.KeyRange).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.KeyRange) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.TabletType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletType)) + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RowChange_Bitmap) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RowChange_Bitmap) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RowChange_Bitmap) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cols) > 0 { + i -= len(m.Cols) + copy(dAtA[i:], m.Cols) + i = encodeVarint(dAtA, i, uint64(len(m.Cols))) + i-- + dAtA[i] = 0x12 + } + if m.Count != 0 { + i = encodeVarint(dAtA, i, uint64(m.Count)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *RowChange) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RowChange) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RowChange) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DataColumns != nil { + size, err := m.DataColumns.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.After != nil { + if vtmsg, ok := interface{}(m.After).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.After) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Before != nil { + if vtmsg, ok := interface{}(m.Before).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Before) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RowEvent) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RowEvent) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RowEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Flags != 0 { + i = encodeVarint(dAtA, i, uint64(m.Flags)) + i-- + dAtA[i] = 0x28 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x22 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.RowChanges) > 0 { + for iNdEx := len(m.RowChanges) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.RowChanges[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarint(dAtA, i, uint64(len(m.TableName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FieldEvent) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FieldEvent) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FieldEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x22 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Fields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Fields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarint(dAtA, i, uint64(len(m.TableName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardGtid) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardGtid) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardGtid) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TablePKs) > 0 { + for iNdEx := len(m.TablePKs) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TablePKs[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Gtid) > 0 { + i -= len(m.Gtid) + copy(dAtA[i:], m.Gtid) + i = encodeVarint(dAtA, i, uint64(len(m.Gtid))) + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VGtid) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VGtid) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VGtid) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ShardGtids) > 0 { + for iNdEx := len(m.ShardGtids) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardGtids[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *KeyspaceShard) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *KeyspaceShard) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *KeyspaceShard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Journal) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Journal) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Journal) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SourceWorkflows) > 0 { + for iNdEx := len(m.SourceWorkflows) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SourceWorkflows[iNdEx]) + copy(dAtA[i:], m.SourceWorkflows[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.SourceWorkflows[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if len(m.Participants) > 0 { + for iNdEx := len(m.Participants) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Participants[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + } + if len(m.ShardGtids) > 0 { + for iNdEx := len(m.ShardGtids) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardGtids[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + } + if len(m.LocalPosition) > 0 { + i -= len(m.LocalPosition) + copy(dAtA[i:], m.LocalPosition) + i = encodeVarint(dAtA, i, uint64(len(m.LocalPosition))) + i-- + dAtA[i] = 0x22 + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.MigrationType != 0 { + i = encodeVarint(dAtA, i, uint64(m.MigrationType)) + i-- + dAtA[i] = 0x10 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *VEvent) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VEvent) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Throttled { + i-- + if m.Throttled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if m.LastPKEvent != nil { + size, err := m.LastPKEvent.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + if m.CurrentTime != 0 { + i = encodeVarint(dAtA, i, uint64(m.CurrentTime)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if len(m.Dml) > 0 { + i -= len(m.Dml) + copy(dAtA[i:], m.Dml) + i = encodeVarint(dAtA, i, uint64(len(m.Dml))) + i-- + dAtA[i] = 0x4a + } + if m.Journal != nil { + size, err := m.Journal.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x42 + } + if m.Vgtid != nil { + size, err := m.Vgtid.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3a + } + if m.FieldEvent != nil { + size, err := m.FieldEvent.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if m.RowEvent != nil { + size, err := m.RowEvent.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if len(m.Statement) > 0 { + i -= len(m.Statement) + copy(dAtA[i:], m.Statement) + i = encodeVarint(dAtA, i, uint64(len(m.Statement))) + i-- + dAtA[i] = 0x22 + } + if len(m.Gtid) > 0 { + i -= len(m.Gtid) + copy(dAtA[i:], m.Gtid) + i = encodeVarint(dAtA, i, uint64(len(m.Gtid))) + i-- + dAtA[i] = 0x1a + } + if m.Timestamp != 0 { + i = encodeVarint(dAtA, i, uint64(m.Timestamp)) + i-- + dAtA[i] = 0x10 + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MinimalTable) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MinimalTable) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MinimalTable) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.PKIndexName) > 0 { + i -= len(m.PKIndexName) + copy(dAtA[i:], m.PKIndexName) + i = encodeVarint(dAtA, i, uint64(len(m.PKIndexName))) + i-- + dAtA[i] = 0x22 + } + if len(m.PKColumns) > 0 { + var pksize2 int + for _, num := range m.PKColumns { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.PKColumns { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1a + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Fields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Fields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MinimalSchema) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MinimalSchema) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MinimalSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Tables[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *VStreamRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TableLastPKs) > 0 { + for iNdEx := len(m.TableLastPKs) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TableLastPKs[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + } + if m.Filter != nil { + size, err := m.Filter.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + if vtmsg, ok := interface{}(m.Target).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Target) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + if vtmsg, ok := interface{}(m.ImmediateCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ImmediateCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VStreamResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Events[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *VStreamRowsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamRowsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamRowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Lastpk != nil { + if vtmsg, ok := interface{}(m.Lastpk).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Lastpk) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + if vtmsg, ok := interface{}(m.Target).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Target) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + if vtmsg, ok := interface{}(m.ImmediateCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ImmediateCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VStreamRowsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamRowsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamRowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Heartbeat { + i-- + if m.Heartbeat { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.Throttled { + i-- + if m.Throttled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.Lastpk != nil { + if vtmsg, ok := interface{}(m.Lastpk).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Lastpk) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if len(m.Rows) > 0 { + for iNdEx := len(m.Rows) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Rows[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Rows[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.Gtid) > 0 { + i -= len(m.Gtid) + copy(dAtA[i:], m.Gtid) + i = encodeVarint(dAtA, i, uint64(len(m.Gtid))) + i-- + dAtA[i] = 0x1a + } + if len(m.Pkfields) > 0 { + for iNdEx := len(m.Pkfields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Pkfields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Pkfields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Fields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Fields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *VStreamTablesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamTablesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Target != nil { + if vtmsg, ok := interface{}(m.Target).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Target) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + if vtmsg, ok := interface{}(m.ImmediateCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ImmediateCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VStreamTablesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamTablesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Lastpk != nil { + if vtmsg, ok := interface{}(m.Lastpk).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Lastpk) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x32 + } + if len(m.Rows) > 0 { + for iNdEx := len(m.Rows) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Rows[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Rows[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + } + if len(m.Gtid) > 0 { + i -= len(m.Gtid) + copy(dAtA[i:], m.Gtid) + i = encodeVarint(dAtA, i, uint64(len(m.Gtid))) + i-- + dAtA[i] = 0x22 + } + if len(m.Pkfields) > 0 { + for iNdEx := len(m.Pkfields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Pkfields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Pkfields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Fields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Fields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarint(dAtA, i, uint64(len(m.TableName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *LastPKEvent) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LastPKEvent) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LastPKEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Completed { + i-- + if m.Completed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.TableLastPK != nil { + size, err := m.TableLastPK.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TableLastPK) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TableLastPK) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TableLastPK) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Lastpk != nil { + if vtmsg, ok := interface{}(m.Lastpk).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Lastpk) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarint(dAtA, i, uint64(len(m.TableName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VStreamResultsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamResultsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamResultsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + if vtmsg, ok := interface{}(m.Target).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Target) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + if vtmsg, ok := interface{}(m.ImmediateCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ImmediateCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VStreamResultsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamResultsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamResultsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Rows) > 0 { + for iNdEx := len(m.Rows) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Rows[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Rows[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.Gtid) > 0 { + i -= len(m.Gtid) + copy(dAtA[i:], m.Gtid) + i = encodeVarint(dAtA, i, uint64(len(m.Gtid))) + i-- + dAtA[i] = 0x1a + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Fields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Fields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} + +var vtprotoPool_VStreamRowsResponse = sync.Pool{ + New: func() interface{} { + return &VStreamRowsResponse{} + }, +} + +func (m *VStreamRowsResponse) ResetVT() { + for _, mm := range m.Fields { + mm.Reset() + } + f0 := m.Fields[:0] + for _, mm := range m.Pkfields { + mm.Reset() + } + f1 := m.Pkfields[:0] + for _, mm := range m.Rows { + mm.ResetVT() + } + f2 := m.Rows[:0] + m.Lastpk.ReturnToVTPool() + m.Reset() + m.Fields = f0 + m.Pkfields = f1 + m.Rows = f2 +} +func (m *VStreamRowsResponse) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_VStreamRowsResponse.Put(m) + } +} +func VStreamRowsResponseFromVTPool() *VStreamRowsResponse { + return vtprotoPool_VStreamRowsResponse.Get().(*VStreamRowsResponse) +} +func (m *Charset) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Client != 0 { + n += 1 + sov(uint64(m.Client)) + } + if m.Conn != 0 { + n += 1 + sov(uint64(m.Conn)) + } + if m.Server != 0 { + n += 1 + sov(uint64(m.Server)) + } + n += len(m.unknownFields) + return n +} + +func (m *BinlogTransaction_Statement) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Category != 0 { + n += 1 + sov(uint64(m.Category)) + } + if m.Charset != nil { + l = m.Charset.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BinlogTransaction) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Statements) > 0 { + for _, e := range m.Statements { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.EventToken != nil { + if size, ok := interface{}(m.EventToken).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EventToken) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamKeyRangeRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeyRange != nil { + if size, ok := interface{}(m.KeyRange).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.KeyRange) + } + n += 1 + l + sov(uint64(l)) + } + if m.Charset != nil { + l = m.Charset.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamKeyRangeResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BinlogTransaction != nil { + l = m.BinlogTransaction.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamTablesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Charset != nil { + l = m.Charset.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamTablesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BinlogTransaction != nil { + l = m.BinlogTransaction.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CharsetConversion) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FromCharset) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ToCharset) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Rule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Match) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Filter) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ConvertEnumToText) > 0 { + for k, v := range m.ConvertEnumToText { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.ConvertCharset) > 0 { + for k, v := range m.ConvertCharset { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.SourceUniqueKeyColumns) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetUniqueKeyColumns) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceUniqueKeyTargetColumns) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ConvertIntToEnum) > 0 { + for k, v := range m.ConvertIntToEnum { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + 1 + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.ForceUniqueKey) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Filter) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.FieldEventMode != 0 { + n += 1 + sov(uint64(m.FieldEventMode)) + } + if m.WorkflowType != 0 { + n += 1 + sov(uint64(m.WorkflowType)) + } + l = len(m.WorkflowName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BinlogSource) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + if m.KeyRange != nil { + if size, ok := interface{}(m.KeyRange).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.KeyRange) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Filter != nil { + l = m.Filter.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.OnDdl != 0 { + n += 1 + sov(uint64(m.OnDdl)) + } + l = len(m.ExternalMysql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.StopAfterCopy { + n += 2 + } + l = len(m.ExternalCluster) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceTimeZone) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetTimeZone) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RowChange_Bitmap) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Count != 0 { + n += 1 + sov(uint64(m.Count)) + } + l = len(m.Cols) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RowChange) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Before != nil { + if size, ok := interface{}(m.Before).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Before) + } + n += 1 + l + sov(uint64(l)) + } + if m.After != nil { + if size, ok := interface{}(m.After).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.After) + } + n += 1 + l + sov(uint64(l)) + } + if m.DataColumns != nil { + l = m.DataColumns.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RowEvent) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TableName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.RowChanges) > 0 { + for _, e := range m.RowChanges { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Flags != 0 { + n += 1 + sov(uint64(m.Flags)) + } + n += len(m.unknownFields) + return n +} + +func (m *FieldEvent) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TableName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardGtid) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Gtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TablePKs) > 0 { + for _, e := range m.TablePKs { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VGtid) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ShardGtids) > 0 { + for _, e := range m.ShardGtids { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *KeyspaceShard) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Journal) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + if m.MigrationType != 0 { + n += 1 + sov(uint64(m.MigrationType)) + } + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.LocalPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ShardGtids) > 0 { + for _, e := range m.ShardGtids { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Participants) > 0 { + for _, e := range m.Participants { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.SourceWorkflows) > 0 { + for _, s := range m.SourceWorkflows { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VEvent) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + if m.Timestamp != 0 { + n += 1 + sov(uint64(m.Timestamp)) + } + l = len(m.Gtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Statement) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.RowEvent != nil { + l = m.RowEvent.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.FieldEvent != nil { + l = m.FieldEvent.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Vgtid != nil { + l = m.Vgtid.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Journal != nil { + l = m.Journal.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Dml) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CurrentTime != 0 { + n += 2 + sov(uint64(m.CurrentTime)) + } + if m.LastPKEvent != nil { + l = m.LastPKEvent.SizeVT() + n += 2 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.Throttled { + n += 3 + } + n += len(m.unknownFields) + return n +} + +func (m *MinimalTable) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.PKColumns) > 0 { + l = 0 + for _, e := range m.PKColumns { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + l = len(m.PKIndexName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MinimalSchema) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tables) > 0 { + for _, e := range m.Tables { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + if size, ok := interface{}(m.ImmediateCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ImmediateCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + if size, ok := interface{}(m.Target).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Target) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Filter != nil { + l = m.Filter.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.TableLastPKs) > 0 { + for _, e := range m.TableLastPKs { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamRowsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + if size, ok := interface{}(m.ImmediateCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ImmediateCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + if size, ok := interface{}(m.Target).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Target) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Lastpk != nil { + if size, ok := interface{}(m.Lastpk).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Lastpk) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamRowsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Pkfields) > 0 { + for _, e := range m.Pkfields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Gtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Rows) > 0 { + for _, e := range m.Rows { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if m.Lastpk != nil { + if size, ok := interface{}(m.Lastpk).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Lastpk) + } + n += 1 + l + sov(uint64(l)) + } + if m.Throttled { + n += 2 + } + if m.Heartbeat { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamTablesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + if size, ok := interface{}(m.ImmediateCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ImmediateCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + if size, ok := interface{}(m.Target).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Target) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamTablesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TableName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Pkfields) > 0 { + for _, e := range m.Pkfields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Gtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Rows) > 0 { + for _, e := range m.Rows { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if m.Lastpk != nil { + if size, ok := interface{}(m.Lastpk).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Lastpk) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *LastPKEvent) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TableLastPK != nil { + l = m.TableLastPK.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Completed { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *TableLastPK) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TableName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Lastpk != nil { + if size, ok := interface{}(m.Lastpk).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Lastpk) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamResultsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + if size, ok := interface{}(m.ImmediateCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ImmediateCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + if size, ok := interface{}(m.Target).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Target) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamResultsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Gtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Rows) > 0 { + for _, e := range m.Rows { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Charset) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Charset: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Charset: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Client", wireType) + } + m.Client = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Client |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Conn", wireType) + } + m.Conn = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Conn |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType) + } + m.Server = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Server |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BinlogTransaction_Statement) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BinlogTransaction_Statement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BinlogTransaction_Statement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Category", wireType) + } + m.Category = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Category |= BinlogTransaction_Statement_Category(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Charset", 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.Charset == nil { + m.Charset = &Charset{} + } + if err := m.Charset.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = append(m.Sql[:0], dAtA[iNdEx:postIndex]...) + if m.Sql == nil { + m.Sql = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BinlogTransaction) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BinlogTransaction: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BinlogTransaction: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Statements", 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 + } + m.Statements = append(m.Statements, &BinlogTransaction_Statement{}) + if err := m.Statements[len(m.Statements)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EventToken", 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.EventToken == nil { + m.EventToken = &v19.EventToken{} + } + if unmarshal, ok := interface{}(m.EventToken).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EventToken); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamKeyRangeRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamKeyRangeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamKeyRangeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &v191.KeyRange{} + } + if unmarshal, ok := interface{}(m.KeyRange).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.KeyRange); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Charset", 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.Charset == nil { + m.Charset = &Charset{} + } + if err := m.Charset.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamKeyRangeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamKeyRangeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamKeyRangeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogTransaction", 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.BinlogTransaction == nil { + m.BinlogTransaction = &BinlogTransaction{} + } + if err := m.BinlogTransaction.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamTablesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamTablesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Charset", 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.Charset == nil { + m.Charset = &Charset{} + } + if err := m.Charset.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamTablesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamTablesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogTransaction", 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.BinlogTransaction == nil { + m.BinlogTransaction = &BinlogTransaction{} + } + if err := m.BinlogTransaction.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CharsetConversion) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CharsetConversion: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CharsetConversion: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FromCharset", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FromCharset = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ToCharset", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ToCharset = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Rule) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Rule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Match = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Filter = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConvertEnumToText", 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.ConvertEnumToText == nil { + m.ConvertEnumToText = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ConvertEnumToText[mapkey] = mapvalue + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConvertCharset", 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.ConvertCharset == nil { + m.ConvertCharset = make(map[string]*CharsetConversion) + } + var mapkey string + var mapvalue *CharsetConversion + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &CharsetConversion{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ConvertCharset[mapkey] = mapvalue + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceUniqueKeyColumns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceUniqueKeyColumns = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetUniqueKeyColumns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetUniqueKeyColumns = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceUniqueKeyTargetColumns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceUniqueKeyTargetColumns = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConvertIntToEnum", 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.ConvertIntToEnum == nil { + m.ConvertIntToEnum = make(map[string]bool) + } + var mapkey string + var mapvalue bool + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapvaluetemp int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvaluetemp |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + mapvalue = bool(mapvaluetemp != 0) + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ConvertIntToEnum[mapkey] = mapvalue + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ForceUniqueKey", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ForceUniqueKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Filter) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Filter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Filter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rules", 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 + } + m.Rules = append(m.Rules, &Rule{}) + if err := m.Rules[len(m.Rules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FieldEventMode", wireType) + } + m.FieldEventMode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FieldEventMode |= Filter_FieldEventMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + m.WorkflowType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowType |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BinlogSource) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BinlogSource: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BinlogSource: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &v191.KeyRange{} + } + if unmarshal, ok := interface{}(m.KeyRange).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.KeyRange); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Filter", 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.Filter == nil { + m.Filter = &Filter{} + } + if err := m.Filter.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) + } + m.OnDdl = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.OnDdl |= OnDDLAction(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalMysql", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExternalMysql = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StopAfterCopy = bool(v != 0) + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalCluster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExternalCluster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceTimeZone", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceTimeZone = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetTimeZone", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetTimeZone = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RowChange_Bitmap) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RowChange_Bitmap: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RowChange_Bitmap: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) + } + m.Count = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Count |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cols = append(m.Cols[:0], dAtA[iNdEx:postIndex]...) + if m.Cols == nil { + m.Cols = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RowChange) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RowChange: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RowChange: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Before", 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.Before == nil { + m.Before = &v19.Row{} + } + if unmarshal, ok := interface{}(m.Before).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Before); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field After", 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.After == nil { + m.After = &v19.Row{} + } + if unmarshal, ok := interface{}(m.After).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.After); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataColumns", 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.DataColumns == nil { + m.DataColumns = &RowChange_Bitmap{} + } + if err := m.DataColumns.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RowEvent) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RowEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RowEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowChanges", 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 + } + m.RowChanges = append(m.RowChanges, &RowChange{}) + if err := m.RowChanges[len(m.RowChanges)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Flags", wireType) + } + m.Flags = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Flags |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FieldEvent) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FieldEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FieldEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &v19.Field{}) + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardGtid) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardGtid: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardGtid: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Gtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Gtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TablePKs", 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 + } + m.TablePKs = append(m.TablePKs, &TableLastPK{}) + if err := m.TablePKs[len(m.TablePKs)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VGtid) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VGtid: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VGtid: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardGtids", 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 + } + m.ShardGtids = append(m.ShardGtids, &ShardGtid{}) + if err := m.ShardGtids[len(m.ShardGtids)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyspaceShard) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyspaceShard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyspaceShard: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Journal) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Journal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Journal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationType", wireType) + } + m.MigrationType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MigrationType |= MigrationType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LocalPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LocalPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardGtids", 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 + } + m.ShardGtids = append(m.ShardGtids, &ShardGtid{}) + if err := m.ShardGtids[len(m.ShardGtids)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Participants", 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 + } + m.Participants = append(m.Participants, &KeyspaceShard{}) + if err := m.Participants[len(m.Participants)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceWorkflows", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceWorkflows = append(m.SourceWorkflows, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VEvent) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= VEventType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) + } + m.Timestamp = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Timestamp |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Gtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Gtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Statement", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Statement = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowEvent", 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.RowEvent == nil { + m.RowEvent = &RowEvent{} + } + if err := m.RowEvent.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FieldEvent", 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.FieldEvent == nil { + m.FieldEvent = &FieldEvent{} + } + if err := m.FieldEvent.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vgtid", 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.Vgtid == nil { + m.Vgtid = &VGtid{} + } + if err := m.Vgtid.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Journal", 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.Journal == nil { + m.Journal = &Journal{} + } + if err := m.Journal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dml", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dml = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 20: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentTime", wireType) + } + m.CurrentTime = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CurrentTime |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastPKEvent", 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.LastPKEvent == nil { + m.LastPKEvent = &LastPKEvent{} + } + if err := m.LastPKEvent.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 23: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 24: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Throttled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Throttled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MinimalTable) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MinimalTable: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MinimalTable: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &v19.Field{}) + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType == 0 { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PKColumns = append(m.PKColumns, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.PKColumns) == 0 { + m.PKColumns = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PKColumns = append(m.PKColumns, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PKColumns", wireType) + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PKIndexName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PKIndexName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MinimalSchema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MinimalSchema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MinimalSchema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", 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 + } + m.Tables = append(m.Tables, &MinimalTable{}) + if err := m.Tables[len(m.Tables)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &v19.VTGateCallerID{} + } + if unmarshal, ok := interface{}(m.ImmediateCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ImmediateCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &v19.Target{} + } + if unmarshal, ok := interface{}(m.Target).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Target); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Filter", 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.Filter == nil { + m.Filter = &Filter{} + } + if err := m.Filter.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableLastPKs", 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 + } + m.TableLastPKs = append(m.TableLastPKs, &TableLastPK{}) + if err := m.TableLastPKs[len(m.TableLastPKs)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &VEvent{}) + if err := m.Events[len(m.Events)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamRowsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamRowsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamRowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &v19.VTGateCallerID{} + } + if unmarshal, ok := interface{}(m.ImmediateCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ImmediateCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &v19.Target{} + } + if unmarshal, ok := interface{}(m.Target).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Target); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Lastpk", 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.Lastpk == nil { + m.Lastpk = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Lastpk).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Lastpk); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamRowsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamRowsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamRowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 len(m.Fields) == cap(m.Fields) { + m.Fields = append(m.Fields, &v19.Field{}) + } else { + m.Fields = m.Fields[:len(m.Fields)+1] + if m.Fields[len(m.Fields)-1] == nil { + m.Fields[len(m.Fields)-1] = &v19.Field{} + } + } + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pkfields", 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 len(m.Pkfields) == cap(m.Pkfields) { + m.Pkfields = append(m.Pkfields, &v19.Field{}) + } else { + m.Pkfields = m.Pkfields[:len(m.Pkfields)+1] + if m.Pkfields[len(m.Pkfields)-1] == nil { + m.Pkfields[len(m.Pkfields)-1] = &v19.Field{} + } + } + if unmarshal, ok := interface{}(m.Pkfields[len(m.Pkfields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Pkfields[len(m.Pkfields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Gtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Gtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rows", 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 len(m.Rows) == cap(m.Rows) { + m.Rows = append(m.Rows, &v19.Row{}) + } else { + m.Rows = m.Rows[:len(m.Rows)+1] + if m.Rows[len(m.Rows)-1] == nil { + m.Rows[len(m.Rows)-1] = &v19.Row{} + } + } + if unmarshal, ok := interface{}(m.Rows[len(m.Rows)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Rows[len(m.Rows)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Lastpk", 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.Lastpk == nil { + m.Lastpk = v19.RowFromVTPool() + } + if unmarshal, ok := interface{}(m.Lastpk).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Lastpk); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Throttled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Throttled = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Heartbeat", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Heartbeat = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamTablesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamTablesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &v19.VTGateCallerID{} + } + if unmarshal, ok := interface{}(m.ImmediateCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ImmediateCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &v19.Target{} + } + if unmarshal, ok := interface{}(m.Target).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Target); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamTablesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamTablesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &v19.Field{}) + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pkfields", 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 + } + m.Pkfields = append(m.Pkfields, &v19.Field{}) + if unmarshal, ok := interface{}(m.Pkfields[len(m.Pkfields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Pkfields[len(m.Pkfields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Gtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Gtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rows", 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 + } + m.Rows = append(m.Rows, &v19.Row{}) + if unmarshal, ok := interface{}(m.Rows[len(m.Rows)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Rows[len(m.Rows)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Lastpk", 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.Lastpk == nil { + m.Lastpk = &v19.Row{} + } + if unmarshal, ok := interface{}(m.Lastpk).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Lastpk); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LastPKEvent) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LastPKEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LastPKEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableLastPK", 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.TableLastPK == nil { + m.TableLastPK = &TableLastPK{} + } + if err := m.TableLastPK.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Completed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Completed = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TableLastPK) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TableLastPK: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TableLastPK: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Lastpk", 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.Lastpk == nil { + m.Lastpk = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Lastpk).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Lastpk); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamResultsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamResultsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamResultsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &v19.VTGateCallerID{} + } + if unmarshal, ok := interface{}(m.ImmediateCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ImmediateCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &v19.Target{} + } + if unmarshal, ok := interface{}(m.Target).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Target); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamResultsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamResultsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamResultsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &v19.Field{}) + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Gtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Gtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rows", 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 + } + m.Rows = append(m.Rows, &v19.Row{}) + if unmarshal, ok := interface{}(m.Rows[len(m.Rows)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Rows[len(m.Rows)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/binlogservice/dev/binlogservice.pb.go b/gen/vitess/binlogservice/dev/binlogservice.pb.go index 0ae5527..ec6b2b1 100644 --- a/gen/vitess/binlogservice/dev/binlogservice.pb.go +++ b/gen/vitess/binlogservice/dev/binlogservice.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogservice/dev/binlogservice.proto @@ -72,7 +72,7 @@ var file_vitess_binlogservice_dev_binlogservice_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_binlogservice_dev_binlogservice_proto_goTypes = []interface{}{ +var file_vitess_binlogservice_dev_binlogservice_proto_goTypes = []any{ (*dev.StreamKeyRangeRequest)(nil), // 0: vitess.binlogdata.dev.StreamKeyRangeRequest (*dev.StreamTablesRequest)(nil), // 1: vitess.binlogdata.dev.StreamTablesRequest (*dev.StreamKeyRangeResponse)(nil), // 2: vitess.binlogdata.dev.StreamKeyRangeResponse diff --git a/gen/vitess/binlogservice/dev/binlogservicedevconnect/binlogservice.connect.go b/gen/vitess/binlogservice/dev/binlogservicedevconnect/binlogservice.connect.go index 0c6d6d4..aa90868 100644 --- a/gen/vitess/binlogservice/dev/binlogservicedevconnect/binlogservice.connect.go +++ b/gen/vitess/binlogservice/dev/binlogservicedevconnect/binlogservice.connect.go @@ -26,8 +26,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - dev "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" - _ "github.com/planetscale/vitess-types/gen/vitess/binlogservice/dev" + dev1 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" + dev "github.com/planetscale/vitess-types/gen/vitess/binlogservice/dev" http "net/http" strings "strings" ) @@ -37,7 +37,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // UpdateStreamName is the fully-qualified name of the UpdateStream service. @@ -60,14 +60,21 @@ const ( UpdateStreamStreamTablesProcedure = "/binlogservice.UpdateStream/StreamTables" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + updateStreamServiceDescriptor = dev.File_vitess_binlogservice_dev_binlogservice_proto.Services().ByName("UpdateStream") + updateStreamStreamKeyRangeMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamKeyRange") + updateStreamStreamTablesMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamTables") +) + // UpdateStreamClient is a client for the binlogservice.UpdateStream service. type UpdateStreamClient interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[dev.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[dev.StreamKeyRangeResponse], error) + StreamKeyRange(context.Context, *connect.Request[dev1.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[dev1.StreamKeyRangeResponse], error) // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[dev.StreamTablesRequest]) (*connect.ServerStreamForClient[dev.StreamTablesResponse], error) + StreamTables(context.Context, *connect.Request[dev1.StreamTablesRequest]) (*connect.ServerStreamForClient[dev1.StreamTablesResponse], error) } // NewUpdateStreamClient constructs a client for the binlogservice.UpdateStream service. @@ -80,32 +87,34 @@ type UpdateStreamClient interface { func NewUpdateStreamClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UpdateStreamClient { baseURL = strings.TrimRight(baseURL, "/") return &updateStreamClient{ - streamKeyRange: connect.NewClient[dev.StreamKeyRangeRequest, dev.StreamKeyRangeResponse]( + streamKeyRange: connect.NewClient[dev1.StreamKeyRangeRequest, dev1.StreamKeyRangeResponse]( httpClient, baseURL+UpdateStreamStreamKeyRangeProcedure, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamTables: connect.NewClient[dev.StreamTablesRequest, dev.StreamTablesResponse]( + streamTables: connect.NewClient[dev1.StreamTablesRequest, dev1.StreamTablesResponse]( httpClient, baseURL+UpdateStreamStreamTablesProcedure, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // updateStreamClient implements UpdateStreamClient. type updateStreamClient struct { - streamKeyRange *connect.Client[dev.StreamKeyRangeRequest, dev.StreamKeyRangeResponse] - streamTables *connect.Client[dev.StreamTablesRequest, dev.StreamTablesResponse] + streamKeyRange *connect.Client[dev1.StreamKeyRangeRequest, dev1.StreamKeyRangeResponse] + streamTables *connect.Client[dev1.StreamTablesRequest, dev1.StreamTablesResponse] } // StreamKeyRange calls binlogservice.UpdateStream.StreamKeyRange. -func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[dev.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[dev.StreamKeyRangeResponse], error) { +func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[dev1.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[dev1.StreamKeyRangeResponse], error) { return c.streamKeyRange.CallServerStream(ctx, req) } // StreamTables calls binlogservice.UpdateStream.StreamTables. -func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[dev.StreamTablesRequest]) (*connect.ServerStreamForClient[dev.StreamTablesResponse], error) { +func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[dev1.StreamTablesRequest]) (*connect.ServerStreamForClient[dev1.StreamTablesResponse], error) { return c.streamTables.CallServerStream(ctx, req) } @@ -113,10 +122,10 @@ func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Requ type UpdateStreamHandler interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[dev.StreamKeyRangeRequest], *connect.ServerStream[dev.StreamKeyRangeResponse]) error + StreamKeyRange(context.Context, *connect.Request[dev1.StreamKeyRangeRequest], *connect.ServerStream[dev1.StreamKeyRangeResponse]) error // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[dev.StreamTablesRequest], *connect.ServerStream[dev.StreamTablesResponse]) error + StreamTables(context.Context, *connect.Request[dev1.StreamTablesRequest], *connect.ServerStream[dev1.StreamTablesResponse]) error } // NewUpdateStreamHandler builds an HTTP handler from the service implementation. It returns the @@ -128,12 +137,14 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti updateStreamStreamKeyRangeHandler := connect.NewServerStreamHandler( UpdateStreamStreamKeyRangeProcedure, svc.StreamKeyRange, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) updateStreamStreamTablesHandler := connect.NewServerStreamHandler( UpdateStreamStreamTablesProcedure, svc.StreamTables, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/binlogservice.UpdateStream/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -150,10 +161,10 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti // UnimplementedUpdateStreamHandler returns CodeUnimplemented from all methods. type UnimplementedUpdateStreamHandler struct{} -func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[dev.StreamKeyRangeRequest], *connect.ServerStream[dev.StreamKeyRangeResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[dev1.StreamKeyRangeRequest], *connect.ServerStream[dev1.StreamKeyRangeResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamKeyRange is not implemented")) } -func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[dev.StreamTablesRequest], *connect.ServerStream[dev.StreamTablesResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[dev1.StreamTablesRequest], *connect.ServerStream[dev1.StreamTablesResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamTables is not implemented")) } diff --git a/gen/vitess/binlogservice/v16/binlogservice.pb.go b/gen/vitess/binlogservice/v16/binlogservice.pb.go index 6b9365e..16f884e 100644 --- a/gen/vitess/binlogservice/v16/binlogservice.pb.go +++ b/gen/vitess/binlogservice/v16/binlogservice.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogservice/v16/binlogservice.proto @@ -72,7 +72,7 @@ var file_vitess_binlogservice_v16_binlogservice_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x76, 0x31, 0x36, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_binlogservice_v16_binlogservice_proto_goTypes = []interface{}{ +var file_vitess_binlogservice_v16_binlogservice_proto_goTypes = []any{ (*v16.StreamKeyRangeRequest)(nil), // 0: vitess.binlogdata.v16.StreamKeyRangeRequest (*v16.StreamTablesRequest)(nil), // 1: vitess.binlogdata.v16.StreamTablesRequest (*v16.StreamKeyRangeResponse)(nil), // 2: vitess.binlogdata.v16.StreamKeyRangeResponse diff --git a/gen/vitess/binlogservice/v16/binlogservicev16connect/binlogservice.connect.go b/gen/vitess/binlogservice/v16/binlogservicev16connect/binlogservice.connect.go index 1ce7118..198e25c 100644 --- a/gen/vitess/binlogservice/v16/binlogservicev16connect/binlogservice.connect.go +++ b/gen/vitess/binlogservice/v16/binlogservicev16connect/binlogservice.connect.go @@ -26,8 +26,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v16 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v16" - _ "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v16" + v161 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v16" + v16 "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v16" http "net/http" strings "strings" ) @@ -37,7 +37,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // UpdateStreamName is the fully-qualified name of the UpdateStream service. @@ -60,14 +60,21 @@ const ( UpdateStreamStreamTablesProcedure = "/binlogservice.UpdateStream/StreamTables" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + updateStreamServiceDescriptor = v16.File_vitess_binlogservice_v16_binlogservice_proto.Services().ByName("UpdateStream") + updateStreamStreamKeyRangeMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamKeyRange") + updateStreamStreamTablesMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamTables") +) + // UpdateStreamClient is a client for the binlogservice.UpdateStream service. type UpdateStreamClient interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[v16.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v16.StreamKeyRangeResponse], error) + StreamKeyRange(context.Context, *connect.Request[v161.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v161.StreamKeyRangeResponse], error) // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[v16.StreamTablesRequest]) (*connect.ServerStreamForClient[v16.StreamTablesResponse], error) + StreamTables(context.Context, *connect.Request[v161.StreamTablesRequest]) (*connect.ServerStreamForClient[v161.StreamTablesResponse], error) } // NewUpdateStreamClient constructs a client for the binlogservice.UpdateStream service. @@ -80,32 +87,34 @@ type UpdateStreamClient interface { func NewUpdateStreamClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UpdateStreamClient { baseURL = strings.TrimRight(baseURL, "/") return &updateStreamClient{ - streamKeyRange: connect.NewClient[v16.StreamKeyRangeRequest, v16.StreamKeyRangeResponse]( + streamKeyRange: connect.NewClient[v161.StreamKeyRangeRequest, v161.StreamKeyRangeResponse]( httpClient, baseURL+UpdateStreamStreamKeyRangeProcedure, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamTables: connect.NewClient[v16.StreamTablesRequest, v16.StreamTablesResponse]( + streamTables: connect.NewClient[v161.StreamTablesRequest, v161.StreamTablesResponse]( httpClient, baseURL+UpdateStreamStreamTablesProcedure, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // updateStreamClient implements UpdateStreamClient. type updateStreamClient struct { - streamKeyRange *connect.Client[v16.StreamKeyRangeRequest, v16.StreamKeyRangeResponse] - streamTables *connect.Client[v16.StreamTablesRequest, v16.StreamTablesResponse] + streamKeyRange *connect.Client[v161.StreamKeyRangeRequest, v161.StreamKeyRangeResponse] + streamTables *connect.Client[v161.StreamTablesRequest, v161.StreamTablesResponse] } // StreamKeyRange calls binlogservice.UpdateStream.StreamKeyRange. -func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[v16.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v16.StreamKeyRangeResponse], error) { +func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[v161.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v161.StreamKeyRangeResponse], error) { return c.streamKeyRange.CallServerStream(ctx, req) } // StreamTables calls binlogservice.UpdateStream.StreamTables. -func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[v16.StreamTablesRequest]) (*connect.ServerStreamForClient[v16.StreamTablesResponse], error) { +func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[v161.StreamTablesRequest]) (*connect.ServerStreamForClient[v161.StreamTablesResponse], error) { return c.streamTables.CallServerStream(ctx, req) } @@ -113,10 +122,10 @@ func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Requ type UpdateStreamHandler interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[v16.StreamKeyRangeRequest], *connect.ServerStream[v16.StreamKeyRangeResponse]) error + StreamKeyRange(context.Context, *connect.Request[v161.StreamKeyRangeRequest], *connect.ServerStream[v161.StreamKeyRangeResponse]) error // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[v16.StreamTablesRequest], *connect.ServerStream[v16.StreamTablesResponse]) error + StreamTables(context.Context, *connect.Request[v161.StreamTablesRequest], *connect.ServerStream[v161.StreamTablesResponse]) error } // NewUpdateStreamHandler builds an HTTP handler from the service implementation. It returns the @@ -128,12 +137,14 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti updateStreamStreamKeyRangeHandler := connect.NewServerStreamHandler( UpdateStreamStreamKeyRangeProcedure, svc.StreamKeyRange, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) updateStreamStreamTablesHandler := connect.NewServerStreamHandler( UpdateStreamStreamTablesProcedure, svc.StreamTables, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/binlogservice.UpdateStream/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -150,10 +161,10 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti // UnimplementedUpdateStreamHandler returns CodeUnimplemented from all methods. type UnimplementedUpdateStreamHandler struct{} -func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[v16.StreamKeyRangeRequest], *connect.ServerStream[v16.StreamKeyRangeResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[v161.StreamKeyRangeRequest], *connect.ServerStream[v161.StreamKeyRangeResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamKeyRange is not implemented")) } -func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[v16.StreamTablesRequest], *connect.ServerStream[v16.StreamTablesResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[v161.StreamTablesRequest], *connect.ServerStream[v161.StreamTablesResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamTables is not implemented")) } diff --git a/gen/vitess/binlogservice/v17/binlogservice.pb.go b/gen/vitess/binlogservice/v17/binlogservice.pb.go index 2324632..75c6661 100644 --- a/gen/vitess/binlogservice/v17/binlogservice.pb.go +++ b/gen/vitess/binlogservice/v17/binlogservice.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogservice/v17/binlogservice.proto @@ -72,7 +72,7 @@ var file_vitess_binlogservice_v17_binlogservice_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x76, 0x31, 0x37, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_binlogservice_v17_binlogservice_proto_goTypes = []interface{}{ +var file_vitess_binlogservice_v17_binlogservice_proto_goTypes = []any{ (*v17.StreamKeyRangeRequest)(nil), // 0: vitess.binlogdata.v17.StreamKeyRangeRequest (*v17.StreamTablesRequest)(nil), // 1: vitess.binlogdata.v17.StreamTablesRequest (*v17.StreamKeyRangeResponse)(nil), // 2: vitess.binlogdata.v17.StreamKeyRangeResponse diff --git a/gen/vitess/binlogservice/v17/binlogservicev17connect/binlogservice.connect.go b/gen/vitess/binlogservice/v17/binlogservicev17connect/binlogservice.connect.go index e17e542..a3fa301 100644 --- a/gen/vitess/binlogservice/v17/binlogservicev17connect/binlogservice.connect.go +++ b/gen/vitess/binlogservice/v17/binlogservicev17connect/binlogservice.connect.go @@ -26,8 +26,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v17 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v17" - _ "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v17" + v171 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v17" + v17 "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v17" http "net/http" strings "strings" ) @@ -37,7 +37,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // UpdateStreamName is the fully-qualified name of the UpdateStream service. @@ -60,14 +60,21 @@ const ( UpdateStreamStreamTablesProcedure = "/binlogservice.UpdateStream/StreamTables" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + updateStreamServiceDescriptor = v17.File_vitess_binlogservice_v17_binlogservice_proto.Services().ByName("UpdateStream") + updateStreamStreamKeyRangeMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamKeyRange") + updateStreamStreamTablesMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamTables") +) + // UpdateStreamClient is a client for the binlogservice.UpdateStream service. type UpdateStreamClient interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[v17.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v17.StreamKeyRangeResponse], error) + StreamKeyRange(context.Context, *connect.Request[v171.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v171.StreamKeyRangeResponse], error) // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[v17.StreamTablesRequest]) (*connect.ServerStreamForClient[v17.StreamTablesResponse], error) + StreamTables(context.Context, *connect.Request[v171.StreamTablesRequest]) (*connect.ServerStreamForClient[v171.StreamTablesResponse], error) } // NewUpdateStreamClient constructs a client for the binlogservice.UpdateStream service. @@ -80,32 +87,34 @@ type UpdateStreamClient interface { func NewUpdateStreamClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UpdateStreamClient { baseURL = strings.TrimRight(baseURL, "/") return &updateStreamClient{ - streamKeyRange: connect.NewClient[v17.StreamKeyRangeRequest, v17.StreamKeyRangeResponse]( + streamKeyRange: connect.NewClient[v171.StreamKeyRangeRequest, v171.StreamKeyRangeResponse]( httpClient, baseURL+UpdateStreamStreamKeyRangeProcedure, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamTables: connect.NewClient[v17.StreamTablesRequest, v17.StreamTablesResponse]( + streamTables: connect.NewClient[v171.StreamTablesRequest, v171.StreamTablesResponse]( httpClient, baseURL+UpdateStreamStreamTablesProcedure, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // updateStreamClient implements UpdateStreamClient. type updateStreamClient struct { - streamKeyRange *connect.Client[v17.StreamKeyRangeRequest, v17.StreamKeyRangeResponse] - streamTables *connect.Client[v17.StreamTablesRequest, v17.StreamTablesResponse] + streamKeyRange *connect.Client[v171.StreamKeyRangeRequest, v171.StreamKeyRangeResponse] + streamTables *connect.Client[v171.StreamTablesRequest, v171.StreamTablesResponse] } // StreamKeyRange calls binlogservice.UpdateStream.StreamKeyRange. -func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[v17.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v17.StreamKeyRangeResponse], error) { +func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[v171.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v171.StreamKeyRangeResponse], error) { return c.streamKeyRange.CallServerStream(ctx, req) } // StreamTables calls binlogservice.UpdateStream.StreamTables. -func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[v17.StreamTablesRequest]) (*connect.ServerStreamForClient[v17.StreamTablesResponse], error) { +func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[v171.StreamTablesRequest]) (*connect.ServerStreamForClient[v171.StreamTablesResponse], error) { return c.streamTables.CallServerStream(ctx, req) } @@ -113,10 +122,10 @@ func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Requ type UpdateStreamHandler interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[v17.StreamKeyRangeRequest], *connect.ServerStream[v17.StreamKeyRangeResponse]) error + StreamKeyRange(context.Context, *connect.Request[v171.StreamKeyRangeRequest], *connect.ServerStream[v171.StreamKeyRangeResponse]) error // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[v17.StreamTablesRequest], *connect.ServerStream[v17.StreamTablesResponse]) error + StreamTables(context.Context, *connect.Request[v171.StreamTablesRequest], *connect.ServerStream[v171.StreamTablesResponse]) error } // NewUpdateStreamHandler builds an HTTP handler from the service implementation. It returns the @@ -128,12 +137,14 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti updateStreamStreamKeyRangeHandler := connect.NewServerStreamHandler( UpdateStreamStreamKeyRangeProcedure, svc.StreamKeyRange, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) updateStreamStreamTablesHandler := connect.NewServerStreamHandler( UpdateStreamStreamTablesProcedure, svc.StreamTables, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/binlogservice.UpdateStream/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -150,10 +161,10 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti // UnimplementedUpdateStreamHandler returns CodeUnimplemented from all methods. type UnimplementedUpdateStreamHandler struct{} -func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[v17.StreamKeyRangeRequest], *connect.ServerStream[v17.StreamKeyRangeResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[v171.StreamKeyRangeRequest], *connect.ServerStream[v171.StreamKeyRangeResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamKeyRange is not implemented")) } -func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[v17.StreamTablesRequest], *connect.ServerStream[v17.StreamTablesResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[v171.StreamTablesRequest], *connect.ServerStream[v171.StreamTablesResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamTables is not implemented")) } diff --git a/gen/vitess/binlogservice/v18/binlogservice.pb.go b/gen/vitess/binlogservice/v18/binlogservice.pb.go index b37a44f..5075fb9 100644 --- a/gen/vitess/binlogservice/v18/binlogservice.pb.go +++ b/gen/vitess/binlogservice/v18/binlogservice.pb.go @@ -19,7 +19,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/binlogservice/v18/binlogservice.proto @@ -72,7 +72,7 @@ var file_vitess_binlogservice_v18_binlogservice_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x76, 0x31, 0x38, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_binlogservice_v18_binlogservice_proto_goTypes = []interface{}{ +var file_vitess_binlogservice_v18_binlogservice_proto_goTypes = []any{ (*v18.StreamKeyRangeRequest)(nil), // 0: vitess.binlogdata.v18.StreamKeyRangeRequest (*v18.StreamTablesRequest)(nil), // 1: vitess.binlogdata.v18.StreamTablesRequest (*v18.StreamKeyRangeResponse)(nil), // 2: vitess.binlogdata.v18.StreamKeyRangeResponse diff --git a/gen/vitess/binlogservice/v18/binlogservicev18connect/binlogservice.connect.go b/gen/vitess/binlogservice/v18/binlogservicev18connect/binlogservice.connect.go index 7c2f453..f8cea15 100644 --- a/gen/vitess/binlogservice/v18/binlogservicev18connect/binlogservice.connect.go +++ b/gen/vitess/binlogservice/v18/binlogservicev18connect/binlogservice.connect.go @@ -26,8 +26,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v18 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v18" - _ "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v18" + v181 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v18" + v18 "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v18" http "net/http" strings "strings" ) @@ -37,7 +37,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // UpdateStreamName is the fully-qualified name of the UpdateStream service. @@ -60,14 +60,21 @@ const ( UpdateStreamStreamTablesProcedure = "/binlogservice.UpdateStream/StreamTables" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + updateStreamServiceDescriptor = v18.File_vitess_binlogservice_v18_binlogservice_proto.Services().ByName("UpdateStream") + updateStreamStreamKeyRangeMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamKeyRange") + updateStreamStreamTablesMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamTables") +) + // UpdateStreamClient is a client for the binlogservice.UpdateStream service. type UpdateStreamClient interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[v18.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v18.StreamKeyRangeResponse], error) + StreamKeyRange(context.Context, *connect.Request[v181.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v181.StreamKeyRangeResponse], error) // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[v18.StreamTablesRequest]) (*connect.ServerStreamForClient[v18.StreamTablesResponse], error) + StreamTables(context.Context, *connect.Request[v181.StreamTablesRequest]) (*connect.ServerStreamForClient[v181.StreamTablesResponse], error) } // NewUpdateStreamClient constructs a client for the binlogservice.UpdateStream service. @@ -80,32 +87,34 @@ type UpdateStreamClient interface { func NewUpdateStreamClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UpdateStreamClient { baseURL = strings.TrimRight(baseURL, "/") return &updateStreamClient{ - streamKeyRange: connect.NewClient[v18.StreamKeyRangeRequest, v18.StreamKeyRangeResponse]( + streamKeyRange: connect.NewClient[v181.StreamKeyRangeRequest, v181.StreamKeyRangeResponse]( httpClient, baseURL+UpdateStreamStreamKeyRangeProcedure, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamTables: connect.NewClient[v18.StreamTablesRequest, v18.StreamTablesResponse]( + streamTables: connect.NewClient[v181.StreamTablesRequest, v181.StreamTablesResponse]( httpClient, baseURL+UpdateStreamStreamTablesProcedure, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // updateStreamClient implements UpdateStreamClient. type updateStreamClient struct { - streamKeyRange *connect.Client[v18.StreamKeyRangeRequest, v18.StreamKeyRangeResponse] - streamTables *connect.Client[v18.StreamTablesRequest, v18.StreamTablesResponse] + streamKeyRange *connect.Client[v181.StreamKeyRangeRequest, v181.StreamKeyRangeResponse] + streamTables *connect.Client[v181.StreamTablesRequest, v181.StreamTablesResponse] } // StreamKeyRange calls binlogservice.UpdateStream.StreamKeyRange. -func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[v18.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v18.StreamKeyRangeResponse], error) { +func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[v181.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v181.StreamKeyRangeResponse], error) { return c.streamKeyRange.CallServerStream(ctx, req) } // StreamTables calls binlogservice.UpdateStream.StreamTables. -func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[v18.StreamTablesRequest]) (*connect.ServerStreamForClient[v18.StreamTablesResponse], error) { +func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[v181.StreamTablesRequest]) (*connect.ServerStreamForClient[v181.StreamTablesResponse], error) { return c.streamTables.CallServerStream(ctx, req) } @@ -113,10 +122,10 @@ func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Requ type UpdateStreamHandler interface { // StreamKeyRange returns the binlog transactions related to // the specified Keyrange. - StreamKeyRange(context.Context, *connect.Request[v18.StreamKeyRangeRequest], *connect.ServerStream[v18.StreamKeyRangeResponse]) error + StreamKeyRange(context.Context, *connect.Request[v181.StreamKeyRangeRequest], *connect.ServerStream[v181.StreamKeyRangeResponse]) error // StreamTables returns the binlog transactions related to // the specified Tables. - StreamTables(context.Context, *connect.Request[v18.StreamTablesRequest], *connect.ServerStream[v18.StreamTablesResponse]) error + StreamTables(context.Context, *connect.Request[v181.StreamTablesRequest], *connect.ServerStream[v181.StreamTablesResponse]) error } // NewUpdateStreamHandler builds an HTTP handler from the service implementation. It returns the @@ -128,12 +137,14 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti updateStreamStreamKeyRangeHandler := connect.NewServerStreamHandler( UpdateStreamStreamKeyRangeProcedure, svc.StreamKeyRange, - opts..., + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) updateStreamStreamTablesHandler := connect.NewServerStreamHandler( UpdateStreamStreamTablesProcedure, svc.StreamTables, - opts..., + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/binlogservice.UpdateStream/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -150,10 +161,10 @@ func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOpti // UnimplementedUpdateStreamHandler returns CodeUnimplemented from all methods. type UnimplementedUpdateStreamHandler struct{} -func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[v18.StreamKeyRangeRequest], *connect.ServerStream[v18.StreamKeyRangeResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[v181.StreamKeyRangeRequest], *connect.ServerStream[v181.StreamKeyRangeResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamKeyRange is not implemented")) } -func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[v18.StreamTablesRequest], *connect.ServerStream[v18.StreamTablesResponse]) error { +func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[v181.StreamTablesRequest], *connect.ServerStream[v181.StreamTablesResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamTables is not implemented")) } diff --git a/gen/vitess/binlogservice/v19/binlogservice.pb.go b/gen/vitess/binlogservice/v19/binlogservice.pb.go new file mode 100644 index 0000000..3af1c33 --- /dev/null +++ b/gen/vitess/binlogservice/v19/binlogservice.pb.go @@ -0,0 +1,115 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains the UpdateStream service definition, necessary +// to make RPC calls to VtTablet for the binlog protocol, used by +// filtered replication only. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/binlogservice/v19/binlogservice.proto + +package binlogservicev19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_vitess_binlogservice_v19_binlogservice_proto protoreflect.FileDescriptor + +var file_vitess_binlogservice_v19_binlogservice_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x32, 0xee, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x12, 0x71, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x79, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x42, 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_vitess_binlogservice_v19_binlogservice_proto_goTypes = []any{ + (*v19.StreamKeyRangeRequest)(nil), // 0: vitess.binlogdata.v19.StreamKeyRangeRequest + (*v19.StreamTablesRequest)(nil), // 1: vitess.binlogdata.v19.StreamTablesRequest + (*v19.StreamKeyRangeResponse)(nil), // 2: vitess.binlogdata.v19.StreamKeyRangeResponse + (*v19.StreamTablesResponse)(nil), // 3: vitess.binlogdata.v19.StreamTablesResponse +} +var file_vitess_binlogservice_v19_binlogservice_proto_depIdxs = []int32{ + 0, // 0: vitess.binlogservice.v19.UpdateStream.StreamKeyRange:input_type -> vitess.binlogdata.v19.StreamKeyRangeRequest + 1, // 1: vitess.binlogservice.v19.UpdateStream.StreamTables:input_type -> vitess.binlogdata.v19.StreamTablesRequest + 2, // 2: vitess.binlogservice.v19.UpdateStream.StreamKeyRange:output_type -> vitess.binlogdata.v19.StreamKeyRangeResponse + 3, // 3: vitess.binlogservice.v19.UpdateStream.StreamTables:output_type -> vitess.binlogdata.v19.StreamTablesResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_vitess_binlogservice_v19_binlogservice_proto_init() } +func file_vitess_binlogservice_v19_binlogservice_proto_init() { + if File_vitess_binlogservice_v19_binlogservice_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_binlogservice_v19_binlogservice_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_vitess_binlogservice_v19_binlogservice_proto_goTypes, + DependencyIndexes: file_vitess_binlogservice_v19_binlogservice_proto_depIdxs, + }.Build() + File_vitess_binlogservice_v19_binlogservice_proto = out.File + file_vitess_binlogservice_v19_binlogservice_proto_rawDesc = nil + file_vitess_binlogservice_v19_binlogservice_proto_goTypes = nil + file_vitess_binlogservice_v19_binlogservice_proto_depIdxs = nil +} diff --git a/gen/vitess/binlogservice/v19/binlogservicev19connect/binlogservice.connect.go b/gen/vitess/binlogservice/v19/binlogservicev19connect/binlogservice.connect.go new file mode 100644 index 0000000..44749cd --- /dev/null +++ b/gen/vitess/binlogservice/v19/binlogservicev19connect/binlogservice.connect.go @@ -0,0 +1,170 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// This file contains the UpdateStream service definition, necessary +// to make RPC calls to VtTablet for the binlog protocol, used by +// filtered replication only. + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/binlogservice/v19/binlogservice.proto + +package binlogservicev19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v191 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // UpdateStreamName is the fully-qualified name of the UpdateStream service. + UpdateStreamName = "binlogservice.UpdateStream" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // UpdateStreamStreamKeyRangeProcedure is the fully-qualified name of the UpdateStream's + // StreamKeyRange RPC. + UpdateStreamStreamKeyRangeProcedure = "/binlogservice.UpdateStream/StreamKeyRange" + // UpdateStreamStreamTablesProcedure is the fully-qualified name of the UpdateStream's StreamTables + // RPC. + UpdateStreamStreamTablesProcedure = "/binlogservice.UpdateStream/StreamTables" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + updateStreamServiceDescriptor = v19.File_vitess_binlogservice_v19_binlogservice_proto.Services().ByName("UpdateStream") + updateStreamStreamKeyRangeMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamKeyRange") + updateStreamStreamTablesMethodDescriptor = updateStreamServiceDescriptor.Methods().ByName("StreamTables") +) + +// UpdateStreamClient is a client for the binlogservice.UpdateStream service. +type UpdateStreamClient interface { + // StreamKeyRange returns the binlog transactions related to + // the specified Keyrange. + StreamKeyRange(context.Context, *connect.Request[v191.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v191.StreamKeyRangeResponse], error) + // StreamTables returns the binlog transactions related to + // the specified Tables. + StreamTables(context.Context, *connect.Request[v191.StreamTablesRequest]) (*connect.ServerStreamForClient[v191.StreamTablesResponse], error) +} + +// NewUpdateStreamClient constructs a client for the binlogservice.UpdateStream service. +// By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped +// responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the +// connect.WithGRPC() or connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewUpdateStreamClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UpdateStreamClient { + baseURL = strings.TrimRight(baseURL, "/") + return &updateStreamClient{ + streamKeyRange: connect.NewClient[v191.StreamKeyRangeRequest, v191.StreamKeyRangeResponse]( + httpClient, + baseURL+UpdateStreamStreamKeyRangeProcedure, + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithClientOptions(opts...), + ), + streamTables: connect.NewClient[v191.StreamTablesRequest, v191.StreamTablesResponse]( + httpClient, + baseURL+UpdateStreamStreamTablesProcedure, + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// updateStreamClient implements UpdateStreamClient. +type updateStreamClient struct { + streamKeyRange *connect.Client[v191.StreamKeyRangeRequest, v191.StreamKeyRangeResponse] + streamTables *connect.Client[v191.StreamTablesRequest, v191.StreamTablesResponse] +} + +// StreamKeyRange calls binlogservice.UpdateStream.StreamKeyRange. +func (c *updateStreamClient) StreamKeyRange(ctx context.Context, req *connect.Request[v191.StreamKeyRangeRequest]) (*connect.ServerStreamForClient[v191.StreamKeyRangeResponse], error) { + return c.streamKeyRange.CallServerStream(ctx, req) +} + +// StreamTables calls binlogservice.UpdateStream.StreamTables. +func (c *updateStreamClient) StreamTables(ctx context.Context, req *connect.Request[v191.StreamTablesRequest]) (*connect.ServerStreamForClient[v191.StreamTablesResponse], error) { + return c.streamTables.CallServerStream(ctx, req) +} + +// UpdateStreamHandler is an implementation of the binlogservice.UpdateStream service. +type UpdateStreamHandler interface { + // StreamKeyRange returns the binlog transactions related to + // the specified Keyrange. + StreamKeyRange(context.Context, *connect.Request[v191.StreamKeyRangeRequest], *connect.ServerStream[v191.StreamKeyRangeResponse]) error + // StreamTables returns the binlog transactions related to + // the specified Tables. + StreamTables(context.Context, *connect.Request[v191.StreamTablesRequest], *connect.ServerStream[v191.StreamTablesResponse]) error +} + +// NewUpdateStreamHandler builds an HTTP handler from the service implementation. It returns the +// path on which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewUpdateStreamHandler(svc UpdateStreamHandler, opts ...connect.HandlerOption) (string, http.Handler) { + updateStreamStreamKeyRangeHandler := connect.NewServerStreamHandler( + UpdateStreamStreamKeyRangeProcedure, + svc.StreamKeyRange, + connect.WithSchema(updateStreamStreamKeyRangeMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + updateStreamStreamTablesHandler := connect.NewServerStreamHandler( + UpdateStreamStreamTablesProcedure, + svc.StreamTables, + connect.WithSchema(updateStreamStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/binlogservice.UpdateStream/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case UpdateStreamStreamKeyRangeProcedure: + updateStreamStreamKeyRangeHandler.ServeHTTP(w, r) + case UpdateStreamStreamTablesProcedure: + updateStreamStreamTablesHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedUpdateStreamHandler returns CodeUnimplemented from all methods. +type UnimplementedUpdateStreamHandler struct{} + +func (UnimplementedUpdateStreamHandler) StreamKeyRange(context.Context, *connect.Request[v191.StreamKeyRangeRequest], *connect.ServerStream[v191.StreamKeyRangeResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamKeyRange is not implemented")) +} + +func (UnimplementedUpdateStreamHandler) StreamTables(context.Context, *connect.Request[v191.StreamTablesRequest], *connect.ServerStream[v191.StreamTablesResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("binlogservice.UpdateStream.StreamTables is not implemented")) +} diff --git a/gen/vitess/logutil/dev/logutil.pb.go b/gen/vitess/logutil/dev/logutil.pb.go index 761e338..24a51a0 100644 --- a/gen/vitess/logutil/dev/logutil.pb.go +++ b/gen/vitess/logutil/dev/logutil.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/logutil/dev/logutil.proto @@ -219,7 +219,7 @@ func file_vitess_logutil_dev_logutil_proto_rawDescGZIP() []byte { var file_vitess_logutil_dev_logutil_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_logutil_dev_logutil_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_vitess_logutil_dev_logutil_proto_goTypes = []interface{}{ +var file_vitess_logutil_dev_logutil_proto_goTypes = []any{ (Level)(0), // 0: vitess.logutil.dev.Level (*Event)(nil), // 1: vitess.logutil.dev.Event (*dev.Time)(nil), // 2: vitess.vttime.dev.Time @@ -240,7 +240,7 @@ func file_vitess_logutil_dev_logutil_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_logutil_dev_logutil_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_logutil_dev_logutil_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Event); i { case 0: return &v.state diff --git a/gen/vitess/logutil/v16/logutil.pb.go b/gen/vitess/logutil/v16/logutil.pb.go index 6f2dce8..6ebff81 100644 --- a/gen/vitess/logutil/v16/logutil.pb.go +++ b/gen/vitess/logutil/v16/logutil.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/logutil/v16/logutil.proto @@ -219,7 +219,7 @@ func file_vitess_logutil_v16_logutil_proto_rawDescGZIP() []byte { var file_vitess_logutil_v16_logutil_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_logutil_v16_logutil_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_vitess_logutil_v16_logutil_proto_goTypes = []interface{}{ +var file_vitess_logutil_v16_logutil_proto_goTypes = []any{ (Level)(0), // 0: vitess.logutil.v16.Level (*Event)(nil), // 1: vitess.logutil.v16.Event (*v16.Time)(nil), // 2: vitess.vttime.v16.Time @@ -240,7 +240,7 @@ func file_vitess_logutil_v16_logutil_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_logutil_v16_logutil_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_logutil_v16_logutil_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Event); i { case 0: return &v.state diff --git a/gen/vitess/logutil/v17/logutil.pb.go b/gen/vitess/logutil/v17/logutil.pb.go index cba0066..5c481b5 100644 --- a/gen/vitess/logutil/v17/logutil.pb.go +++ b/gen/vitess/logutil/v17/logutil.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/logutil/v17/logutil.proto @@ -219,7 +219,7 @@ func file_vitess_logutil_v17_logutil_proto_rawDescGZIP() []byte { var file_vitess_logutil_v17_logutil_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_logutil_v17_logutil_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_vitess_logutil_v17_logutil_proto_goTypes = []interface{}{ +var file_vitess_logutil_v17_logutil_proto_goTypes = []any{ (Level)(0), // 0: vitess.logutil.v17.Level (*Event)(nil), // 1: vitess.logutil.v17.Event (*v17.Time)(nil), // 2: vitess.vttime.v17.Time @@ -240,7 +240,7 @@ func file_vitess_logutil_v17_logutil_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_logutil_v17_logutil_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_logutil_v17_logutil_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Event); i { case 0: return &v.state diff --git a/gen/vitess/logutil/v18/logutil.pb.go b/gen/vitess/logutil/v18/logutil.pb.go index d892614..f5e4a3d 100644 --- a/gen/vitess/logutil/v18/logutil.pb.go +++ b/gen/vitess/logutil/v18/logutil.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/logutil/v18/logutil.proto @@ -219,7 +219,7 @@ func file_vitess_logutil_v18_logutil_proto_rawDescGZIP() []byte { var file_vitess_logutil_v18_logutil_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_logutil_v18_logutil_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_vitess_logutil_v18_logutil_proto_goTypes = []interface{}{ +var file_vitess_logutil_v18_logutil_proto_goTypes = []any{ (Level)(0), // 0: vitess.logutil.v18.Level (*Event)(nil), // 1: vitess.logutil.v18.Event (*v18.Time)(nil), // 2: vitess.vttime.v18.Time @@ -240,7 +240,7 @@ func file_vitess_logutil_v18_logutil_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_logutil_v18_logutil_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_logutil_v18_logutil_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Event); i { case 0: return &v.state diff --git a/gen/vitess/logutil/v19/logutil.pb.go b/gen/vitess/logutil/v19/logutil.pb.go new file mode 100644 index 0000000..0f324c0 --- /dev/null +++ b/gen/vitess/logutil/v19/logutil.pb.go @@ -0,0 +1,275 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This package contains the data structures for the logging service. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/logutil/v19/logutil.proto + +package logutilv19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Level is the level of the log messages. +type Level int32 + +const ( + // The usual logging levels. + // Should be logged using logging facility. + Level_INFO Level = 0 + Level_WARNING Level = 1 + Level_ERROR Level = 2 + // For messages that may contains non-logging events. + // Should be logged to console directly. + Level_CONSOLE Level = 3 +) + +// Enum value maps for Level. +var ( + Level_name = map[int32]string{ + 0: "INFO", + 1: "WARNING", + 2: "ERROR", + 3: "CONSOLE", + } + Level_value = map[string]int32{ + "INFO": 0, + "WARNING": 1, + "ERROR": 2, + "CONSOLE": 3, + } +) + +func (x Level) Enum() *Level { + p := new(Level) + *p = x + return p +} + +func (x Level) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Level) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_logutil_v19_logutil_proto_enumTypes[0].Descriptor() +} + +func (Level) Type() protoreflect.EnumType { + return &file_vitess_logutil_v19_logutil_proto_enumTypes[0] +} + +func (x Level) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Level.Descriptor instead. +func (Level) EnumDescriptor() ([]byte, []int) { + return file_vitess_logutil_v19_logutil_proto_rawDescGZIP(), []int{0} +} + +// Event is a single logging event +type Event struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Time *v19.Time `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` + Level Level `protobuf:"varint,2,opt,name=level,proto3,enum=vitess.logutil.v19.Level" json:"level,omitempty"` + File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` + Line int64 `protobuf:"varint,4,opt,name=line,proto3" json:"line,omitempty"` + Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *Event) Reset() { + *x = Event{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_logutil_v19_logutil_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Event) ProtoMessage() {} + +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_vitess_logutil_v19_logutil_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Event.ProtoReflect.Descriptor instead. +func (*Event) Descriptor() ([]byte, []int) { + return file_vitess_logutil_v19_logutil_proto_rawDescGZIP(), []int{0} +} + +func (x *Event) GetTime() *v19.Time { + if x != nil { + return x.Time + } + return nil +} + +func (x *Event) GetLevel() Level { + if x != nil { + return x.Level + } + return Level_INFO +} + +func (x *Event) GetFile() string { + if x != nil { + return x.File + } + return "" +} + +func (x *Event) GetLine() int64 { + if x != nil { + return x.Line + } + return 0 +} + +func (x *Event) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +var File_vitess_logutil_v19_logutil_proto protoreflect.FileDescriptor + +var file_vitess_logutil_v19_logutil_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, + 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x12, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, + 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a, + 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, + 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, + 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x36, 0x0a, 0x05, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00, 0x12, + 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x4e, 0x53, 0x4f, + 0x4c, 0x45, 0x10, 0x03, 0x42, 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x76, + 0x31, 0x39, 0x3b, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_logutil_v19_logutil_proto_rawDescOnce sync.Once + file_vitess_logutil_v19_logutil_proto_rawDescData = file_vitess_logutil_v19_logutil_proto_rawDesc +) + +func file_vitess_logutil_v19_logutil_proto_rawDescGZIP() []byte { + file_vitess_logutil_v19_logutil_proto_rawDescOnce.Do(func() { + file_vitess_logutil_v19_logutil_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_logutil_v19_logutil_proto_rawDescData) + }) + return file_vitess_logutil_v19_logutil_proto_rawDescData +} + +var file_vitess_logutil_v19_logutil_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_vitess_logutil_v19_logutil_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_vitess_logutil_v19_logutil_proto_goTypes = []any{ + (Level)(0), // 0: vitess.logutil.v19.Level + (*Event)(nil), // 1: vitess.logutil.v19.Event + (*v19.Time)(nil), // 2: vitess.vttime.v19.Time +} +var file_vitess_logutil_v19_logutil_proto_depIdxs = []int32{ + 2, // 0: vitess.logutil.v19.Event.time:type_name -> vitess.vttime.v19.Time + 0, // 1: vitess.logutil.v19.Event.level:type_name -> vitess.logutil.v19.Level + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_vitess_logutil_v19_logutil_proto_init() } +func file_vitess_logutil_v19_logutil_proto_init() { + if File_vitess_logutil_v19_logutil_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_logutil_v19_logutil_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Event); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_logutil_v19_logutil_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_logutil_v19_logutil_proto_goTypes, + DependencyIndexes: file_vitess_logutil_v19_logutil_proto_depIdxs, + EnumInfos: file_vitess_logutil_v19_logutil_proto_enumTypes, + MessageInfos: file_vitess_logutil_v19_logutil_proto_msgTypes, + }.Build() + File_vitess_logutil_v19_logutil_proto = out.File + file_vitess_logutil_v19_logutil_proto_rawDesc = nil + file_vitess_logutil_v19_logutil_proto_goTypes = nil + file_vitess_logutil_v19_logutil_proto_depIdxs = nil +} diff --git a/gen/vitess/logutil/v19/logutil_vtproto.pb.go b/gen/vitess/logutil/v19/logutil_vtproto.pb.go new file mode 100644 index 0000000..599b1c4 --- /dev/null +++ b/gen/vitess/logutil/v19/logutil_vtproto.pb.go @@ -0,0 +1,434 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/logutil/v19/logutil.proto + +package logutilv19 + +import ( + fmt "fmt" + v19 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Event) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Event) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Event) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarint(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x2a + } + if m.Line != 0 { + i = encodeVarint(dAtA, i, uint64(m.Line)) + i-- + dAtA[i] = 0x20 + } + if len(m.File) > 0 { + i -= len(m.File) + copy(dAtA[i:], m.File) + i = encodeVarint(dAtA, i, uint64(len(m.File))) + i-- + dAtA[i] = 0x1a + } + if m.Level != 0 { + i = encodeVarint(dAtA, i, uint64(m.Level)) + i-- + dAtA[i] = 0x10 + } + if m.Time != nil { + if vtmsg, ok := interface{}(m.Time).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Time) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Event) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Time != nil { + if size, ok := interface{}(m.Time).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Time) + } + n += 1 + l + sov(uint64(l)) + } + if m.Level != 0 { + n += 1 + sov(uint64(m.Level)) + } + l = len(m.File) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Line != 0 { + n += 1 + sov(uint64(m.Line)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Event) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Event: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Time", 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.Time == nil { + m.Time = &v19.Time{} + } + if unmarshal, ok := interface{}(m.Time).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Time); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType) + } + m.Level = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Level |= Level(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field File", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.File = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Line", wireType) + } + m.Line = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Line |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/mysqlctl/dev/mysqlctl.pb.go b/gen/vitess/mysqlctl/dev/mysqlctl.pb.go index 321d48b..e2cc39d 100644 --- a/gen/vitess/mysqlctl/dev/mysqlctl.pb.go +++ b/gen/vitess/mysqlctl/dev/mysqlctl.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/mysqlctl/dev/mysqlctl.proto @@ -26,6 +26,7 @@ package mysqlctldev import ( dev1 "github.com/planetscale/vitess-types/gen/vitess/topodata/dev" + dev2 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/dev" dev "github.com/planetscale/vitess-types/gen/vitess/vttime/dev" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -97,7 +98,7 @@ func (x BackupInfo_Status) Number() protoreflect.EnumNumber { // Deprecated: Use BackupInfo_Status.Descriptor instead. func (BackupInfo_Status) EnumDescriptor() ([]byte, []int) { - return file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP(), []int{16, 0} + return file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP(), []int{18, 0} } type StartRequest struct { @@ -814,6 +815,93 @@ func (x *VersionStringResponse) GetVersion() string { return "" } +type HostMetricsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *HostMetricsRequest) Reset() { + *x = HostMetricsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HostMetricsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HostMetricsRequest) ProtoMessage() {} + +func (x *HostMetricsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HostMetricsRequest.ProtoReflect.Descriptor instead. +func (*HostMetricsRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP(), []int{16} +} + +type HostMetricsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Metrics is a map (metric name -> metric value/error) so that the client has as much + // information as possible about all the checked metrics. + Metrics map[string]*HostMetricsResponse_Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *HostMetricsResponse) Reset() { + *x = HostMetricsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HostMetricsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HostMetricsResponse) ProtoMessage() {} + +func (x *HostMetricsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HostMetricsResponse.ProtoReflect.Descriptor instead. +func (*HostMetricsResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP(), []int{17} +} + +func (x *HostMetricsResponse) GetMetrics() map[string]*HostMetricsResponse_Metric { + if x != nil { + return x.Metrics + } + return nil +} + // BackupInfo is the read-only attributes of a mysqlctl/backupstorage.BackupHandle. type BackupInfo struct { state protoimpl.MessageState @@ -835,7 +923,7 @@ type BackupInfo struct { func (x *BackupInfo) Reset() { *x = BackupInfo{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[16] + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -848,7 +936,7 @@ func (x *BackupInfo) String() string { func (*BackupInfo) ProtoMessage() {} func (x *BackupInfo) ProtoReflect() protoreflect.Message { - mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[16] + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -861,7 +949,7 @@ func (x *BackupInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use BackupInfo.ProtoReflect.Descriptor instead. func (*BackupInfo) Descriptor() ([]byte, []int) { - return file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP(), []int{16} + return file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP(), []int{18} } func (x *BackupInfo) GetName() string { @@ -920,6 +1008,72 @@ func (x *BackupInfo) GetStatus() BackupInfo_Status { return BackupInfo_UNKNOWN } +type HostMetricsResponse_Metric struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the metric + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Value is the metric value + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` + // Error indicates an error retrieving the value + Error *dev2.RPCError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *HostMetricsResponse_Metric) Reset() { + *x = HostMetricsResponse_Metric{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HostMetricsResponse_Metric) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HostMetricsResponse_Metric) ProtoMessage() {} + +func (x *HostMetricsResponse_Metric) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HostMetricsResponse_Metric.ProtoReflect.Descriptor instead. +func (*HostMetricsResponse_Metric) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP(), []int{17, 0} +} + +func (x *HostMetricsResponse_Metric) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *HostMetricsResponse_Metric) GetValue() float64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *HostMetricsResponse_Metric) GetError() *dev2.RPCError { + if x != nil { + return x.Error + } + return nil +} + var File_vitess_mysqlctl_dev_mysqlctl_proto protoreflect.FileDescriptor var file_vitess_mysqlctl_dev_mysqlctl_proto_rawDesc = []byte{ @@ -930,72 +1084,95 @@ var file_vitess_mysqlctl_dev_mysqlctl_proto_rawDesc = []byte{ 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x64, 0x65, 0x76, - 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, - 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x41, 0x72, 0x67, 0x73, 0x22, 0x0f, - 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x8c, 0x01, 0x0a, 0x0f, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x77, 0x61, - 0x69, 0x74, 0x46, 0x6f, 0x72, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x12, 0x51, 0x0a, 0x16, 0x6d, - 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x53, - 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x12, - 0x0a, 0x10, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, - 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x19, 0x0a, 0x17, - 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x69, 0x6c, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x69, - 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x17, - 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x62, - 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x17, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, - 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x15, - 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x44, 0x61, 0x74, - 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x69, - 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x4e, 0x0a, 0x20, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x66, - 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x22, 0x8f, 0x02, 0x0a, 0x21, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x62, 0x69, 0x6e, 0x6c, - 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x12, 0x3e, - 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, - 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x32, - 0x0a, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x5f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c, - 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x69, 0x6e, 0x6c, - 0x6f, 0x67, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x69, - 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x66, - 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x31, 0x0a, 0x15, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 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, 0x87, 0x03, + 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x64, 0x65, 0x76, 0x2f, + 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0c, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, + 0x79, 0x73, 0x71, 0x6c, 0x64, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0a, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x41, 0x72, 0x67, 0x73, 0x22, 0x0f, 0x0a, 0x0d, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, + 0x0a, 0x0f, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x6d, 0x79, + 0x73, 0x71, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x77, 0x61, 0x69, 0x74, + 0x46, 0x6f, 0x72, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x12, 0x51, 0x0a, 0x16, 0x6d, 0x79, 0x73, + 0x71, 0x6c, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x53, 0x68, 0x75, + 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x12, 0x0a, 0x10, + 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x18, 0x0a, 0x16, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x75, + 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x28, 0x0a, 0x10, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x17, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x73, + 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x15, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, + 0x0a, 0x20, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, + 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x69, 0x6c, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x62, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x8f, + 0x02, 0x0a, 0x21, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, + 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x12, 0x3e, 0x0a, 0x0e, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x6c, + 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x32, 0x0a, 0x15, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x62, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c, 0x61, 0x73, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x69, 0x6e, 0x69, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x16, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x16, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x31, 0x0a, 0x15, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 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, 0x14, 0x0a, 0x12, 0x48, + 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0xb9, 0x02, 0x0a, 0x13, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x07, 0x6d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x1a, 0x64, 0x0a, 0x06, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x30, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x1a, 0x6b, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, + 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x87, 0x03, 0x0a, 0x0a, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, @@ -1020,7 +1197,7 @@ var file_vitess_mysqlctl_dev_mysqlctl_proto_rawDesc = []byte{ 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, - 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x04, 0x32, 0xe1, 0x06, 0x0a, 0x08, 0x4d, 0x79, 0x73, 0x71, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x04, 0x32, 0xc5, 0x07, 0x0a, 0x08, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x43, 0x74, 0x6c, 0x12, 0x50, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, @@ -1074,12 +1251,19 @@ var file_vitess_mysqlctl_dev_mysqlctl_proto_rawDesc = []byte{ 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x49, 0x5a, 0x47, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6d, 0x79, - 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x6d, 0x79, 0x73, 0x71, 0x6c, - 0x63, 0x74, 0x6c, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x48, + 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, + 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x6d, + 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -1095,8 +1279,8 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_rawDescGZIP() []byte { } var file_vitess_mysqlctl_dev_mysqlctl_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_vitess_mysqlctl_dev_mysqlctl_proto_goTypes = []interface{}{ +var file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_vitess_mysqlctl_dev_mysqlctl_proto_goTypes = []any{ (BackupInfo_Status)(0), // 0: vitess.mysqlctl.dev.BackupInfo.Status (*StartRequest)(nil), // 1: vitess.mysqlctl.dev.StartRequest (*StartResponse)(nil), // 2: vitess.mysqlctl.dev.StartResponse @@ -1114,40 +1298,50 @@ var file_vitess_mysqlctl_dev_mysqlctl_proto_goTypes = []interface{}{ (*RefreshConfigResponse)(nil), // 14: vitess.mysqlctl.dev.RefreshConfigResponse (*VersionStringRequest)(nil), // 15: vitess.mysqlctl.dev.VersionStringRequest (*VersionStringResponse)(nil), // 16: vitess.mysqlctl.dev.VersionStringResponse - (*BackupInfo)(nil), // 17: vitess.mysqlctl.dev.BackupInfo - (*dev.Duration)(nil), // 18: vitess.vttime.dev.Duration - (*dev.Time)(nil), // 19: vitess.vttime.dev.Time - (*dev1.TabletAlias)(nil), // 20: vitess.topodata.dev.TabletAlias + (*HostMetricsRequest)(nil), // 17: vitess.mysqlctl.dev.HostMetricsRequest + (*HostMetricsResponse)(nil), // 18: vitess.mysqlctl.dev.HostMetricsResponse + (*BackupInfo)(nil), // 19: vitess.mysqlctl.dev.BackupInfo + (*HostMetricsResponse_Metric)(nil), // 20: vitess.mysqlctl.dev.HostMetricsResponse.Metric + nil, // 21: vitess.mysqlctl.dev.HostMetricsResponse.MetricsEntry + (*dev.Duration)(nil), // 22: vitess.vttime.dev.Duration + (*dev.Time)(nil), // 23: vitess.vttime.dev.Time + (*dev1.TabletAlias)(nil), // 24: vitess.topodata.dev.TabletAlias + (*dev2.RPCError)(nil), // 25: vitess.vtrpc.dev.RPCError } var file_vitess_mysqlctl_dev_mysqlctl_proto_depIdxs = []int32{ - 18, // 0: vitess.mysqlctl.dev.ShutdownRequest.mysql_shutdown_timeout:type_name -> vitess.vttime.dev.Duration - 19, // 1: vitess.mysqlctl.dev.ApplyBinlogFileRequest.binlog_restore_datetime:type_name -> vitess.vttime.dev.Time - 19, // 2: vitess.mysqlctl.dev.ReadBinlogFilesTimestampsResponse.first_timestamp:type_name -> vitess.vttime.dev.Time - 19, // 3: vitess.mysqlctl.dev.ReadBinlogFilesTimestampsResponse.last_timestamp:type_name -> vitess.vttime.dev.Time - 20, // 4: vitess.mysqlctl.dev.BackupInfo.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 19, // 5: vitess.mysqlctl.dev.BackupInfo.time:type_name -> vitess.vttime.dev.Time - 0, // 6: vitess.mysqlctl.dev.BackupInfo.status:type_name -> vitess.mysqlctl.dev.BackupInfo.Status - 1, // 7: vitess.mysqlctl.dev.MysqlCtl.Start:input_type -> vitess.mysqlctl.dev.StartRequest - 3, // 8: vitess.mysqlctl.dev.MysqlCtl.Shutdown:input_type -> vitess.mysqlctl.dev.ShutdownRequest - 5, // 9: vitess.mysqlctl.dev.MysqlCtl.RunMysqlUpgrade:input_type -> vitess.mysqlctl.dev.RunMysqlUpgradeRequest - 7, // 10: vitess.mysqlctl.dev.MysqlCtl.ApplyBinlogFile:input_type -> vitess.mysqlctl.dev.ApplyBinlogFileRequest - 9, // 11: vitess.mysqlctl.dev.MysqlCtl.ReadBinlogFilesTimestamps:input_type -> vitess.mysqlctl.dev.ReadBinlogFilesTimestampsRequest - 11, // 12: vitess.mysqlctl.dev.MysqlCtl.ReinitConfig:input_type -> vitess.mysqlctl.dev.ReinitConfigRequest - 13, // 13: vitess.mysqlctl.dev.MysqlCtl.RefreshConfig:input_type -> vitess.mysqlctl.dev.RefreshConfigRequest - 15, // 14: vitess.mysqlctl.dev.MysqlCtl.VersionString:input_type -> vitess.mysqlctl.dev.VersionStringRequest - 2, // 15: vitess.mysqlctl.dev.MysqlCtl.Start:output_type -> vitess.mysqlctl.dev.StartResponse - 4, // 16: vitess.mysqlctl.dev.MysqlCtl.Shutdown:output_type -> vitess.mysqlctl.dev.ShutdownResponse - 6, // 17: vitess.mysqlctl.dev.MysqlCtl.RunMysqlUpgrade:output_type -> vitess.mysqlctl.dev.RunMysqlUpgradeResponse - 8, // 18: vitess.mysqlctl.dev.MysqlCtl.ApplyBinlogFile:output_type -> vitess.mysqlctl.dev.ApplyBinlogFileResponse - 10, // 19: vitess.mysqlctl.dev.MysqlCtl.ReadBinlogFilesTimestamps:output_type -> vitess.mysqlctl.dev.ReadBinlogFilesTimestampsResponse - 12, // 20: vitess.mysqlctl.dev.MysqlCtl.ReinitConfig:output_type -> vitess.mysqlctl.dev.ReinitConfigResponse - 14, // 21: vitess.mysqlctl.dev.MysqlCtl.RefreshConfig:output_type -> vitess.mysqlctl.dev.RefreshConfigResponse - 16, // 22: vitess.mysqlctl.dev.MysqlCtl.VersionString:output_type -> vitess.mysqlctl.dev.VersionStringResponse - 15, // [15:23] is the sub-list for method output_type - 7, // [7:15] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name + 22, // 0: vitess.mysqlctl.dev.ShutdownRequest.mysql_shutdown_timeout:type_name -> vitess.vttime.dev.Duration + 23, // 1: vitess.mysqlctl.dev.ApplyBinlogFileRequest.binlog_restore_datetime:type_name -> vitess.vttime.dev.Time + 23, // 2: vitess.mysqlctl.dev.ReadBinlogFilesTimestampsResponse.first_timestamp:type_name -> vitess.vttime.dev.Time + 23, // 3: vitess.mysqlctl.dev.ReadBinlogFilesTimestampsResponse.last_timestamp:type_name -> vitess.vttime.dev.Time + 21, // 4: vitess.mysqlctl.dev.HostMetricsResponse.metrics:type_name -> vitess.mysqlctl.dev.HostMetricsResponse.MetricsEntry + 24, // 5: vitess.mysqlctl.dev.BackupInfo.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 23, // 6: vitess.mysqlctl.dev.BackupInfo.time:type_name -> vitess.vttime.dev.Time + 0, // 7: vitess.mysqlctl.dev.BackupInfo.status:type_name -> vitess.mysqlctl.dev.BackupInfo.Status + 25, // 8: vitess.mysqlctl.dev.HostMetricsResponse.Metric.error:type_name -> vitess.vtrpc.dev.RPCError + 20, // 9: vitess.mysqlctl.dev.HostMetricsResponse.MetricsEntry.value:type_name -> vitess.mysqlctl.dev.HostMetricsResponse.Metric + 1, // 10: vitess.mysqlctl.dev.MysqlCtl.Start:input_type -> vitess.mysqlctl.dev.StartRequest + 3, // 11: vitess.mysqlctl.dev.MysqlCtl.Shutdown:input_type -> vitess.mysqlctl.dev.ShutdownRequest + 5, // 12: vitess.mysqlctl.dev.MysqlCtl.RunMysqlUpgrade:input_type -> vitess.mysqlctl.dev.RunMysqlUpgradeRequest + 7, // 13: vitess.mysqlctl.dev.MysqlCtl.ApplyBinlogFile:input_type -> vitess.mysqlctl.dev.ApplyBinlogFileRequest + 9, // 14: vitess.mysqlctl.dev.MysqlCtl.ReadBinlogFilesTimestamps:input_type -> vitess.mysqlctl.dev.ReadBinlogFilesTimestampsRequest + 11, // 15: vitess.mysqlctl.dev.MysqlCtl.ReinitConfig:input_type -> vitess.mysqlctl.dev.ReinitConfigRequest + 13, // 16: vitess.mysqlctl.dev.MysqlCtl.RefreshConfig:input_type -> vitess.mysqlctl.dev.RefreshConfigRequest + 15, // 17: vitess.mysqlctl.dev.MysqlCtl.VersionString:input_type -> vitess.mysqlctl.dev.VersionStringRequest + 17, // 18: vitess.mysqlctl.dev.MysqlCtl.HostMetrics:input_type -> vitess.mysqlctl.dev.HostMetricsRequest + 2, // 19: vitess.mysqlctl.dev.MysqlCtl.Start:output_type -> vitess.mysqlctl.dev.StartResponse + 4, // 20: vitess.mysqlctl.dev.MysqlCtl.Shutdown:output_type -> vitess.mysqlctl.dev.ShutdownResponse + 6, // 21: vitess.mysqlctl.dev.MysqlCtl.RunMysqlUpgrade:output_type -> vitess.mysqlctl.dev.RunMysqlUpgradeResponse + 8, // 22: vitess.mysqlctl.dev.MysqlCtl.ApplyBinlogFile:output_type -> vitess.mysqlctl.dev.ApplyBinlogFileResponse + 10, // 23: vitess.mysqlctl.dev.MysqlCtl.ReadBinlogFilesTimestamps:output_type -> vitess.mysqlctl.dev.ReadBinlogFilesTimestampsResponse + 12, // 24: vitess.mysqlctl.dev.MysqlCtl.ReinitConfig:output_type -> vitess.mysqlctl.dev.ReinitConfigResponse + 14, // 25: vitess.mysqlctl.dev.MysqlCtl.RefreshConfig:output_type -> vitess.mysqlctl.dev.RefreshConfigResponse + 16, // 26: vitess.mysqlctl.dev.MysqlCtl.VersionString:output_type -> vitess.mysqlctl.dev.VersionStringResponse + 18, // 27: vitess.mysqlctl.dev.MysqlCtl.HostMetrics:output_type -> vitess.mysqlctl.dev.HostMetricsResponse + 19, // [19:28] is the sub-list for method output_type + 10, // [10:19] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name } func init() { file_vitess_mysqlctl_dev_mysqlctl_proto_init() } @@ -1156,7 +1350,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*StartRequest); i { case 0: return &v.state @@ -1168,7 +1362,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StartResponse); i { case 0: return &v.state @@ -1180,7 +1374,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ShutdownRequest); i { case 0: return &v.state @@ -1192,7 +1386,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ShutdownResponse); i { case 0: return &v.state @@ -1204,7 +1398,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeRequest); i { case 0: return &v.state @@ -1216,7 +1410,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeResponse); i { case 0: return &v.state @@ -1228,7 +1422,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ApplyBinlogFileRequest); i { case 0: return &v.state @@ -1240,7 +1434,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ApplyBinlogFileResponse); i { case 0: return &v.state @@ -1252,7 +1446,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ReadBinlogFilesTimestampsRequest); i { case 0: return &v.state @@ -1264,7 +1458,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ReadBinlogFilesTimestampsResponse); i { case 0: return &v.state @@ -1276,7 +1470,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigRequest); i { case 0: return &v.state @@ -1288,7 +1482,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigResponse); i { case 0: return &v.state @@ -1300,7 +1494,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigRequest); i { case 0: return &v.state @@ -1312,7 +1506,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigResponse); i { case 0: return &v.state @@ -1324,7 +1518,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*VersionStringRequest); i { case 0: return &v.state @@ -1336,7 +1530,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*VersionStringResponse); i { case 0: return &v.state @@ -1348,7 +1542,31 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*HostMetricsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*HostMetricsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*BackupInfo); i { case 0: return &v.state @@ -1360,6 +1578,18 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { return nil } } + file_vitess_mysqlctl_dev_mysqlctl_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*HostMetricsResponse_Metric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1367,7 +1597,7 @@ func file_vitess_mysqlctl_dev_mysqlctl_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_mysqlctl_dev_mysqlctl_proto_rawDesc, NumEnums: 1, - NumMessages: 17, + NumMessages: 21, NumExtensions: 0, NumServices: 1, }, diff --git a/gen/vitess/mysqlctl/dev/mysqlctl_vtproto.pb.go b/gen/vitess/mysqlctl/dev/mysqlctl_vtproto.pb.go index f99da8d..ad65ee2 100644 --- a/gen/vitess/mysqlctl/dev/mysqlctl_vtproto.pb.go +++ b/gen/vitess/mysqlctl/dev/mysqlctl_vtproto.pb.go @@ -5,12 +5,15 @@ package mysqlctldev import ( + binary "encoding/binary" fmt "fmt" - dev1 "github.com/planetscale/vitess-types/gen/vitess/topodata/dev" + dev2 "github.com/planetscale/vitess-types/gen/vitess/topodata/dev" + dev1 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/dev" dev "github.com/planetscale/vitess-types/gen/vitess/vttime/dev" proto "google.golang.org/protobuf/proto" protoimpl "google.golang.org/protobuf/runtime/protoimpl" io "io" + math "math" bits "math/bits" ) @@ -700,6 +703,162 @@ func (m *VersionStringResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } +func (m *HostMetricsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *HostMetricsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *HostMetricsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *HostMetricsResponse_Metric) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *HostMetricsResponse_Metric) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *HostMetricsResponse_Metric) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.Value != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *HostMetricsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *HostMetricsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *HostMetricsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Metrics) > 0 { + for k := range m.Metrics { + v := m.Metrics[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *BackupInfo) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1063,6 +1222,66 @@ func (m *VersionStringResponse) SizeVT() (n int) { return n } +func (m *HostMetricsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *HostMetricsResponse_Metric) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Value != 0 { + n += 9 + } + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *HostMetricsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Metrics) > 0 { + for k, v := range m.Metrics { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + func (m *BackupInfo) SizeVT() (n int) { if m == nil { return 0 @@ -2358,6 +2577,375 @@ func (m *VersionStringResponse) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *HostMetricsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: HostMetricsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: HostMetricsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *HostMetricsResponse_Metric) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: HostMetricsResponse_Metric: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: HostMetricsResponse_Metric: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &dev1.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *HostMetricsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: HostMetricsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: HostMetricsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metrics", 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.Metrics == nil { + m.Metrics = make(map[string]*HostMetricsResponse_Metric) + } + var mapkey string + var mapvalue *HostMetricsResponse_Metric + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &HostMetricsResponse_Metric{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Metrics[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *BackupInfo) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2545,7 +3133,7 @@ func (m *BackupInfo) UnmarshalVT(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TabletAlias == nil { - m.TabletAlias = &dev1.TabletAlias{} + m.TabletAlias = &dev2.TabletAlias{} } if unmarshal, ok := interface{}(m.TabletAlias).(interface { UnmarshalVT([]byte) error diff --git a/gen/vitess/mysqlctl/dev/mysqlctldevconnect/mysqlctl.connect.go b/gen/vitess/mysqlctl/dev/mysqlctldevconnect/mysqlctl.connect.go index fa674ed..8b7eae5 100644 --- a/gen/vitess/mysqlctl/dev/mysqlctldevconnect/mysqlctl.connect.go +++ b/gen/vitess/mysqlctl/dev/mysqlctldevconnect/mysqlctl.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // MysqlCtlName is the fully-qualified name of the MysqlCtl service. @@ -69,6 +69,22 @@ const ( MysqlCtlRefreshConfigProcedure = "/mysqlctl.MysqlCtl/RefreshConfig" // MysqlCtlVersionStringProcedure is the fully-qualified name of the MysqlCtl's VersionString RPC. MysqlCtlVersionStringProcedure = "/mysqlctl.MysqlCtl/VersionString" + // MysqlCtlHostMetricsProcedure is the fully-qualified name of the MysqlCtl's HostMetrics RPC. + MysqlCtlHostMetricsProcedure = "/mysqlctl.MysqlCtl/HostMetrics" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + mysqlCtlServiceDescriptor = dev.File_vitess_mysqlctl_dev_mysqlctl_proto.Services().ByName("MysqlCtl") + mysqlCtlStartMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Start") + mysqlCtlShutdownMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Shutdown") + mysqlCtlRunMysqlUpgradeMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RunMysqlUpgrade") + mysqlCtlApplyBinlogFileMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ApplyBinlogFile") + mysqlCtlReadBinlogFilesTimestampsMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReadBinlogFilesTimestamps") + mysqlCtlReinitConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReinitConfig") + mysqlCtlRefreshConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RefreshConfig") + mysqlCtlVersionStringMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("VersionString") + mysqlCtlHostMetricsMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("HostMetrics") ) // MysqlCtlClient is a client for the mysqlctl.MysqlCtl service. @@ -81,6 +97,7 @@ type MysqlCtlClient interface { ReinitConfig(context.Context, *connect.Request[dev.ReinitConfigRequest]) (*connect.Response[dev.ReinitConfigResponse], error) RefreshConfig(context.Context, *connect.Request[dev.RefreshConfigRequest]) (*connect.Response[dev.RefreshConfigResponse], error) VersionString(context.Context, *connect.Request[dev.VersionStringRequest]) (*connect.Response[dev.VersionStringResponse], error) + HostMetrics(context.Context, *connect.Request[dev.HostMetricsRequest]) (*connect.Response[dev.HostMetricsResponse], error) } // NewMysqlCtlClient constructs a client for the mysqlctl.MysqlCtl service. By default, @@ -96,42 +113,56 @@ func NewMysqlCtlClient(httpClient connect.HTTPClient, baseURL string, opts ...co start: connect.NewClient[dev.StartRequest, dev.StartResponse]( httpClient, baseURL+MysqlCtlStartProcedure, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithClientOptions(opts...), ), shutdown: connect.NewClient[dev.ShutdownRequest, dev.ShutdownResponse]( httpClient, baseURL+MysqlCtlShutdownProcedure, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithClientOptions(opts...), ), runMysqlUpgrade: connect.NewClient[dev.RunMysqlUpgradeRequest, dev.RunMysqlUpgradeResponse]( httpClient, baseURL+MysqlCtlRunMysqlUpgradeProcedure, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithClientOptions(opts...), ), applyBinlogFile: connect.NewClient[dev.ApplyBinlogFileRequest, dev.ApplyBinlogFileResponse]( httpClient, baseURL+MysqlCtlApplyBinlogFileProcedure, - opts..., + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithClientOptions(opts...), ), readBinlogFilesTimestamps: connect.NewClient[dev.ReadBinlogFilesTimestampsRequest, dev.ReadBinlogFilesTimestampsResponse]( httpClient, baseURL+MysqlCtlReadBinlogFilesTimestampsProcedure, - opts..., + connect.WithSchema(mysqlCtlReadBinlogFilesTimestampsMethodDescriptor), + connect.WithClientOptions(opts...), ), reinitConfig: connect.NewClient[dev.ReinitConfigRequest, dev.ReinitConfigResponse]( httpClient, baseURL+MysqlCtlReinitConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshConfig: connect.NewClient[dev.RefreshConfigRequest, dev.RefreshConfigResponse]( httpClient, baseURL+MysqlCtlRefreshConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), versionString: connect.NewClient[dev.VersionStringRequest, dev.VersionStringResponse]( httpClient, baseURL+MysqlCtlVersionStringProcedure, - opts..., + connect.WithSchema(mysqlCtlVersionStringMethodDescriptor), + connect.WithClientOptions(opts...), + ), + hostMetrics: connect.NewClient[dev.HostMetricsRequest, dev.HostMetricsResponse]( + httpClient, + baseURL+MysqlCtlHostMetricsProcedure, + connect.WithSchema(mysqlCtlHostMetricsMethodDescriptor), + connect.WithClientOptions(opts...), ), } } @@ -146,6 +177,7 @@ type mysqlCtlClient struct { reinitConfig *connect.Client[dev.ReinitConfigRequest, dev.ReinitConfigResponse] refreshConfig *connect.Client[dev.RefreshConfigRequest, dev.RefreshConfigResponse] versionString *connect.Client[dev.VersionStringRequest, dev.VersionStringResponse] + hostMetrics *connect.Client[dev.HostMetricsRequest, dev.HostMetricsResponse] } // Start calls mysqlctl.MysqlCtl.Start. @@ -188,6 +220,11 @@ func (c *mysqlCtlClient) VersionString(ctx context.Context, req *connect.Request return c.versionString.CallUnary(ctx, req) } +// HostMetrics calls mysqlctl.MysqlCtl.HostMetrics. +func (c *mysqlCtlClient) HostMetrics(ctx context.Context, req *connect.Request[dev.HostMetricsRequest]) (*connect.Response[dev.HostMetricsResponse], error) { + return c.hostMetrics.CallUnary(ctx, req) +} + // MysqlCtlHandler is an implementation of the mysqlctl.MysqlCtl service. type MysqlCtlHandler interface { Start(context.Context, *connect.Request[dev.StartRequest]) (*connect.Response[dev.StartResponse], error) @@ -198,6 +235,7 @@ type MysqlCtlHandler interface { ReinitConfig(context.Context, *connect.Request[dev.ReinitConfigRequest]) (*connect.Response[dev.ReinitConfigResponse], error) RefreshConfig(context.Context, *connect.Request[dev.RefreshConfigRequest]) (*connect.Response[dev.RefreshConfigResponse], error) VersionString(context.Context, *connect.Request[dev.VersionStringRequest]) (*connect.Response[dev.VersionStringResponse], error) + HostMetrics(context.Context, *connect.Request[dev.HostMetricsRequest]) (*connect.Response[dev.HostMetricsResponse], error) } // NewMysqlCtlHandler builds an HTTP handler from the service implementation. It returns the path on @@ -209,42 +247,56 @@ func NewMysqlCtlHandler(svc MysqlCtlHandler, opts ...connect.HandlerOption) (str mysqlCtlStartHandler := connect.NewUnaryHandler( MysqlCtlStartProcedure, svc.Start, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlShutdownHandler := connect.NewUnaryHandler( MysqlCtlShutdownProcedure, svc.Shutdown, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRunMysqlUpgradeHandler := connect.NewUnaryHandler( MysqlCtlRunMysqlUpgradeProcedure, svc.RunMysqlUpgrade, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlApplyBinlogFileHandler := connect.NewUnaryHandler( MysqlCtlApplyBinlogFileProcedure, svc.ApplyBinlogFile, - opts..., + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlReadBinlogFilesTimestampsHandler := connect.NewUnaryHandler( MysqlCtlReadBinlogFilesTimestampsProcedure, svc.ReadBinlogFilesTimestamps, - opts..., + connect.WithSchema(mysqlCtlReadBinlogFilesTimestampsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlReinitConfigHandler := connect.NewUnaryHandler( MysqlCtlReinitConfigProcedure, svc.ReinitConfig, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRefreshConfigHandler := connect.NewUnaryHandler( MysqlCtlRefreshConfigProcedure, svc.RefreshConfig, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlVersionStringHandler := connect.NewUnaryHandler( MysqlCtlVersionStringProcedure, svc.VersionString, - opts..., + connect.WithSchema(mysqlCtlVersionStringMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlHostMetricsHandler := connect.NewUnaryHandler( + MysqlCtlHostMetricsProcedure, + svc.HostMetrics, + connect.WithSchema(mysqlCtlHostMetricsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/mysqlctl.MysqlCtl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -264,6 +316,8 @@ func NewMysqlCtlHandler(svc MysqlCtlHandler, opts ...connect.HandlerOption) (str mysqlCtlRefreshConfigHandler.ServeHTTP(w, r) case MysqlCtlVersionStringProcedure: mysqlCtlVersionStringHandler.ServeHTTP(w, r) + case MysqlCtlHostMetricsProcedure: + mysqlCtlHostMetricsHandler.ServeHTTP(w, r) default: http.NotFound(w, r) } @@ -304,3 +358,7 @@ func (UnimplementedMysqlCtlHandler) RefreshConfig(context.Context, *connect.Requ func (UnimplementedMysqlCtlHandler) VersionString(context.Context, *connect.Request[dev.VersionStringRequest]) (*connect.Response[dev.VersionStringResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.VersionString is not implemented")) } + +func (UnimplementedMysqlCtlHandler) HostMetrics(context.Context, *connect.Request[dev.HostMetricsRequest]) (*connect.Response[dev.HostMetricsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.HostMetrics is not implemented")) +} diff --git a/gen/vitess/mysqlctl/v16/mysqlctl.pb.go b/gen/vitess/mysqlctl/v16/mysqlctl.pb.go index 17c36b5..cad5210 100644 --- a/gen/vitess/mysqlctl/v16/mysqlctl.pb.go +++ b/gen/vitess/mysqlctl/v16/mysqlctl.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/mysqlctl/v16/mysqlctl.proto @@ -711,7 +711,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_rawDescGZIP() []byte { var file_vitess_mysqlctl_v16_mysqlctl_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_vitess_mysqlctl_v16_mysqlctl_proto_goTypes = []interface{}{ +var file_vitess_mysqlctl_v16_mysqlctl_proto_goTypes = []any{ (BackupInfo_Status)(0), // 0: vitess.mysqlctl.v16.BackupInfo.Status (*StartRequest)(nil), // 1: vitess.mysqlctl.v16.StartRequest (*StartResponse)(nil), // 2: vitess.mysqlctl.v16.StartResponse @@ -754,7 +754,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*StartRequest); i { case 0: return &v.state @@ -766,7 +766,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StartResponse); i { case 0: return &v.state @@ -778,7 +778,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ShutdownRequest); i { case 0: return &v.state @@ -790,7 +790,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ShutdownResponse); i { case 0: return &v.state @@ -802,7 +802,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeRequest); i { case 0: return &v.state @@ -814,7 +814,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeResponse); i { case 0: return &v.state @@ -826,7 +826,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigRequest); i { case 0: return &v.state @@ -838,7 +838,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigResponse); i { case 0: return &v.state @@ -850,7 +850,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigRequest); i { case 0: return &v.state @@ -862,7 +862,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigResponse); i { case 0: return &v.state @@ -874,7 +874,7 @@ func file_vitess_mysqlctl_v16_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v16_mysqlctl_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*BackupInfo); i { case 0: return &v.state diff --git a/gen/vitess/mysqlctl/v16/mysqlctlv16connect/mysqlctl.connect.go b/gen/vitess/mysqlctl/v16/mysqlctlv16connect/mysqlctl.connect.go index 1ffa089..1c430cf 100644 --- a/gen/vitess/mysqlctl/v16/mysqlctlv16connect/mysqlctl.connect.go +++ b/gen/vitess/mysqlctl/v16/mysqlctlv16connect/mysqlctl.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // MysqlCtlName is the fully-qualified name of the MysqlCtl service. @@ -63,6 +63,16 @@ const ( MysqlCtlRefreshConfigProcedure = "/mysqlctl.MysqlCtl/RefreshConfig" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + mysqlCtlServiceDescriptor = v16.File_vitess_mysqlctl_v16_mysqlctl_proto.Services().ByName("MysqlCtl") + mysqlCtlStartMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Start") + mysqlCtlShutdownMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Shutdown") + mysqlCtlRunMysqlUpgradeMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RunMysqlUpgrade") + mysqlCtlReinitConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReinitConfig") + mysqlCtlRefreshConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RefreshConfig") +) + // MysqlCtlClient is a client for the mysqlctl.MysqlCtl service. type MysqlCtlClient interface { Start(context.Context, *connect.Request[v16.StartRequest]) (*connect.Response[v16.StartResponse], error) @@ -85,27 +95,32 @@ func NewMysqlCtlClient(httpClient connect.HTTPClient, baseURL string, opts ...co start: connect.NewClient[v16.StartRequest, v16.StartResponse]( httpClient, baseURL+MysqlCtlStartProcedure, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithClientOptions(opts...), ), shutdown: connect.NewClient[v16.ShutdownRequest, v16.ShutdownResponse]( httpClient, baseURL+MysqlCtlShutdownProcedure, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithClientOptions(opts...), ), runMysqlUpgrade: connect.NewClient[v16.RunMysqlUpgradeRequest, v16.RunMysqlUpgradeResponse]( httpClient, baseURL+MysqlCtlRunMysqlUpgradeProcedure, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithClientOptions(opts...), ), reinitConfig: connect.NewClient[v16.ReinitConfigRequest, v16.ReinitConfigResponse]( httpClient, baseURL+MysqlCtlReinitConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshConfig: connect.NewClient[v16.RefreshConfigRequest, v16.RefreshConfigResponse]( httpClient, baseURL+MysqlCtlRefreshConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), } } @@ -162,27 +177,32 @@ func NewMysqlCtlHandler(svc MysqlCtlHandler, opts ...connect.HandlerOption) (str mysqlCtlStartHandler := connect.NewUnaryHandler( MysqlCtlStartProcedure, svc.Start, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlShutdownHandler := connect.NewUnaryHandler( MysqlCtlShutdownProcedure, svc.Shutdown, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRunMysqlUpgradeHandler := connect.NewUnaryHandler( MysqlCtlRunMysqlUpgradeProcedure, svc.RunMysqlUpgrade, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlReinitConfigHandler := connect.NewUnaryHandler( MysqlCtlReinitConfigProcedure, svc.ReinitConfig, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRefreshConfigHandler := connect.NewUnaryHandler( MysqlCtlRefreshConfigProcedure, svc.RefreshConfig, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/mysqlctl.MysqlCtl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { diff --git a/gen/vitess/mysqlctl/v17/mysqlctl.pb.go b/gen/vitess/mysqlctl/v17/mysqlctl.pb.go index e9248b0..4a3b268 100644 --- a/gen/vitess/mysqlctl/v17/mysqlctl.pb.go +++ b/gen/vitess/mysqlctl/v17/mysqlctl.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/mysqlctl/v17/mysqlctl.proto @@ -821,7 +821,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_rawDescGZIP() []byte { var file_vitess_mysqlctl_v17_mysqlctl_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_vitess_mysqlctl_v17_mysqlctl_proto_goTypes = []interface{}{ +var file_vitess_mysqlctl_v17_mysqlctl_proto_goTypes = []any{ (BackupInfo_Status)(0), // 0: vitess.mysqlctl.v17.BackupInfo.Status (*StartRequest)(nil), // 1: vitess.mysqlctl.v17.StartRequest (*StartResponse)(nil), // 2: vitess.mysqlctl.v17.StartResponse @@ -868,7 +868,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*StartRequest); i { case 0: return &v.state @@ -880,7 +880,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StartResponse); i { case 0: return &v.state @@ -892,7 +892,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ShutdownRequest); i { case 0: return &v.state @@ -904,7 +904,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ShutdownResponse); i { case 0: return &v.state @@ -916,7 +916,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeRequest); i { case 0: return &v.state @@ -928,7 +928,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeResponse); i { case 0: return &v.state @@ -940,7 +940,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ApplyBinlogFileRequest); i { case 0: return &v.state @@ -952,7 +952,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ApplyBinlogFileResponse); i { case 0: return &v.state @@ -964,7 +964,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigRequest); i { case 0: return &v.state @@ -976,7 +976,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigResponse); i { case 0: return &v.state @@ -988,7 +988,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigRequest); i { case 0: return &v.state @@ -1000,7 +1000,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigResponse); i { case 0: return &v.state @@ -1012,7 +1012,7 @@ func file_vitess_mysqlctl_v17_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v17_mysqlctl_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*BackupInfo); i { case 0: return &v.state diff --git a/gen/vitess/mysqlctl/v17/mysqlctlv17connect/mysqlctl.connect.go b/gen/vitess/mysqlctl/v17/mysqlctlv17connect/mysqlctl.connect.go index 6ee3b91..cedff27 100644 --- a/gen/vitess/mysqlctl/v17/mysqlctlv17connect/mysqlctl.connect.go +++ b/gen/vitess/mysqlctl/v17/mysqlctlv17connect/mysqlctl.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // MysqlCtlName is the fully-qualified name of the MysqlCtl service. @@ -66,6 +66,17 @@ const ( MysqlCtlRefreshConfigProcedure = "/mysqlctl.MysqlCtl/RefreshConfig" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + mysqlCtlServiceDescriptor = v17.File_vitess_mysqlctl_v17_mysqlctl_proto.Services().ByName("MysqlCtl") + mysqlCtlStartMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Start") + mysqlCtlShutdownMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Shutdown") + mysqlCtlRunMysqlUpgradeMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RunMysqlUpgrade") + mysqlCtlApplyBinlogFileMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ApplyBinlogFile") + mysqlCtlReinitConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReinitConfig") + mysqlCtlRefreshConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RefreshConfig") +) + // MysqlCtlClient is a client for the mysqlctl.MysqlCtl service. type MysqlCtlClient interface { Start(context.Context, *connect.Request[v17.StartRequest]) (*connect.Response[v17.StartResponse], error) @@ -89,32 +100,38 @@ func NewMysqlCtlClient(httpClient connect.HTTPClient, baseURL string, opts ...co start: connect.NewClient[v17.StartRequest, v17.StartResponse]( httpClient, baseURL+MysqlCtlStartProcedure, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithClientOptions(opts...), ), shutdown: connect.NewClient[v17.ShutdownRequest, v17.ShutdownResponse]( httpClient, baseURL+MysqlCtlShutdownProcedure, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithClientOptions(opts...), ), runMysqlUpgrade: connect.NewClient[v17.RunMysqlUpgradeRequest, v17.RunMysqlUpgradeResponse]( httpClient, baseURL+MysqlCtlRunMysqlUpgradeProcedure, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithClientOptions(opts...), ), applyBinlogFile: connect.NewClient[v17.ApplyBinlogFileRequest, v17.ApplyBinlogFileResponse]( httpClient, baseURL+MysqlCtlApplyBinlogFileProcedure, - opts..., + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithClientOptions(opts...), ), reinitConfig: connect.NewClient[v17.ReinitConfigRequest, v17.ReinitConfigResponse]( httpClient, baseURL+MysqlCtlReinitConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshConfig: connect.NewClient[v17.RefreshConfigRequest, v17.RefreshConfigResponse]( httpClient, baseURL+MysqlCtlRefreshConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), } } @@ -178,32 +195,38 @@ func NewMysqlCtlHandler(svc MysqlCtlHandler, opts ...connect.HandlerOption) (str mysqlCtlStartHandler := connect.NewUnaryHandler( MysqlCtlStartProcedure, svc.Start, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlShutdownHandler := connect.NewUnaryHandler( MysqlCtlShutdownProcedure, svc.Shutdown, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRunMysqlUpgradeHandler := connect.NewUnaryHandler( MysqlCtlRunMysqlUpgradeProcedure, svc.RunMysqlUpgrade, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlApplyBinlogFileHandler := connect.NewUnaryHandler( MysqlCtlApplyBinlogFileProcedure, svc.ApplyBinlogFile, - opts..., + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlReinitConfigHandler := connect.NewUnaryHandler( MysqlCtlReinitConfigProcedure, svc.ReinitConfig, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRefreshConfigHandler := connect.NewUnaryHandler( MysqlCtlRefreshConfigProcedure, svc.RefreshConfig, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/mysqlctl.MysqlCtl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { diff --git a/gen/vitess/mysqlctl/v18/mysqlctl.pb.go b/gen/vitess/mysqlctl/v18/mysqlctl.pb.go index 01edf20..e541d97 100644 --- a/gen/vitess/mysqlctl/v18/mysqlctl.pb.go +++ b/gen/vitess/mysqlctl/v18/mysqlctl.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/mysqlctl/v18/mysqlctl.proto @@ -1083,7 +1083,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_rawDescGZIP() []byte { var file_vitess_mysqlctl_v18_mysqlctl_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_vitess_mysqlctl_v18_mysqlctl_proto_goTypes = []interface{}{ +var file_vitess_mysqlctl_v18_mysqlctl_proto_goTypes = []any{ (BackupInfo_Status)(0), // 0: vitess.mysqlctl.v18.BackupInfo.Status (*StartRequest)(nil), // 1: vitess.mysqlctl.v18.StartRequest (*StartResponse)(nil), // 2: vitess.mysqlctl.v18.StartResponse @@ -1141,7 +1141,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*StartRequest); i { case 0: return &v.state @@ -1153,7 +1153,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StartResponse); i { case 0: return &v.state @@ -1165,7 +1165,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ShutdownRequest); i { case 0: return &v.state @@ -1177,7 +1177,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ShutdownResponse); i { case 0: return &v.state @@ -1189,7 +1189,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeRequest); i { case 0: return &v.state @@ -1201,7 +1201,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*RunMysqlUpgradeResponse); i { case 0: return &v.state @@ -1213,7 +1213,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ApplyBinlogFileRequest); i { case 0: return &v.state @@ -1225,7 +1225,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ApplyBinlogFileResponse); i { case 0: return &v.state @@ -1237,7 +1237,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ReadBinlogFilesTimestampsRequest); i { case 0: return &v.state @@ -1249,7 +1249,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ReadBinlogFilesTimestampsResponse); i { case 0: return &v.state @@ -1261,7 +1261,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigRequest); i { case 0: return &v.state @@ -1273,7 +1273,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ReinitConfigResponse); i { case 0: return &v.state @@ -1285,7 +1285,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigRequest); i { case 0: return &v.state @@ -1297,7 +1297,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*RefreshConfigResponse); i { case 0: return &v.state @@ -1309,7 +1309,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*VersionStringRequest); i { case 0: return &v.state @@ -1321,7 +1321,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*VersionStringResponse); i { case 0: return &v.state @@ -1333,7 +1333,7 @@ func file_vitess_mysqlctl_v18_mysqlctl_proto_init() { return nil } } - file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_mysqlctl_v18_mysqlctl_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*BackupInfo); i { case 0: return &v.state diff --git a/gen/vitess/mysqlctl/v18/mysqlctlv18connect/mysqlctl.connect.go b/gen/vitess/mysqlctl/v18/mysqlctlv18connect/mysqlctl.connect.go index 837601f..61fc4be 100644 --- a/gen/vitess/mysqlctl/v18/mysqlctlv18connect/mysqlctl.connect.go +++ b/gen/vitess/mysqlctl/v18/mysqlctlv18connect/mysqlctl.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // MysqlCtlName is the fully-qualified name of the MysqlCtl service. @@ -71,6 +71,19 @@ const ( MysqlCtlVersionStringProcedure = "/mysqlctl.MysqlCtl/VersionString" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + mysqlCtlServiceDescriptor = v18.File_vitess_mysqlctl_v18_mysqlctl_proto.Services().ByName("MysqlCtl") + mysqlCtlStartMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Start") + mysqlCtlShutdownMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Shutdown") + mysqlCtlRunMysqlUpgradeMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RunMysqlUpgrade") + mysqlCtlApplyBinlogFileMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ApplyBinlogFile") + mysqlCtlReadBinlogFilesTimestampsMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReadBinlogFilesTimestamps") + mysqlCtlReinitConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReinitConfig") + mysqlCtlRefreshConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RefreshConfig") + mysqlCtlVersionStringMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("VersionString") +) + // MysqlCtlClient is a client for the mysqlctl.MysqlCtl service. type MysqlCtlClient interface { Start(context.Context, *connect.Request[v18.StartRequest]) (*connect.Response[v18.StartResponse], error) @@ -96,42 +109,50 @@ func NewMysqlCtlClient(httpClient connect.HTTPClient, baseURL string, opts ...co start: connect.NewClient[v18.StartRequest, v18.StartResponse]( httpClient, baseURL+MysqlCtlStartProcedure, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithClientOptions(opts...), ), shutdown: connect.NewClient[v18.ShutdownRequest, v18.ShutdownResponse]( httpClient, baseURL+MysqlCtlShutdownProcedure, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithClientOptions(opts...), ), runMysqlUpgrade: connect.NewClient[v18.RunMysqlUpgradeRequest, v18.RunMysqlUpgradeResponse]( httpClient, baseURL+MysqlCtlRunMysqlUpgradeProcedure, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithClientOptions(opts...), ), applyBinlogFile: connect.NewClient[v18.ApplyBinlogFileRequest, v18.ApplyBinlogFileResponse]( httpClient, baseURL+MysqlCtlApplyBinlogFileProcedure, - opts..., + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithClientOptions(opts...), ), readBinlogFilesTimestamps: connect.NewClient[v18.ReadBinlogFilesTimestampsRequest, v18.ReadBinlogFilesTimestampsResponse]( httpClient, baseURL+MysqlCtlReadBinlogFilesTimestampsProcedure, - opts..., + connect.WithSchema(mysqlCtlReadBinlogFilesTimestampsMethodDescriptor), + connect.WithClientOptions(opts...), ), reinitConfig: connect.NewClient[v18.ReinitConfigRequest, v18.ReinitConfigResponse]( httpClient, baseURL+MysqlCtlReinitConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshConfig: connect.NewClient[v18.RefreshConfigRequest, v18.RefreshConfigResponse]( httpClient, baseURL+MysqlCtlRefreshConfigProcedure, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), versionString: connect.NewClient[v18.VersionStringRequest, v18.VersionStringResponse]( httpClient, baseURL+MysqlCtlVersionStringProcedure, - opts..., + connect.WithSchema(mysqlCtlVersionStringMethodDescriptor), + connect.WithClientOptions(opts...), ), } } @@ -209,42 +230,50 @@ func NewMysqlCtlHandler(svc MysqlCtlHandler, opts ...connect.HandlerOption) (str mysqlCtlStartHandler := connect.NewUnaryHandler( MysqlCtlStartProcedure, svc.Start, - opts..., + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlShutdownHandler := connect.NewUnaryHandler( MysqlCtlShutdownProcedure, svc.Shutdown, - opts..., + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRunMysqlUpgradeHandler := connect.NewUnaryHandler( MysqlCtlRunMysqlUpgradeProcedure, svc.RunMysqlUpgrade, - opts..., + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlApplyBinlogFileHandler := connect.NewUnaryHandler( MysqlCtlApplyBinlogFileProcedure, svc.ApplyBinlogFile, - opts..., + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlReadBinlogFilesTimestampsHandler := connect.NewUnaryHandler( MysqlCtlReadBinlogFilesTimestampsProcedure, svc.ReadBinlogFilesTimestamps, - opts..., + connect.WithSchema(mysqlCtlReadBinlogFilesTimestampsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlReinitConfigHandler := connect.NewUnaryHandler( MysqlCtlReinitConfigProcedure, svc.ReinitConfig, - opts..., + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlRefreshConfigHandler := connect.NewUnaryHandler( MysqlCtlRefreshConfigProcedure, svc.RefreshConfig, - opts..., + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) mysqlCtlVersionStringHandler := connect.NewUnaryHandler( MysqlCtlVersionStringProcedure, svc.VersionString, - opts..., + connect.WithSchema(mysqlCtlVersionStringMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/mysqlctl.MysqlCtl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { diff --git a/gen/vitess/mysqlctl/v19/mysqlctl.pb.go b/gen/vitess/mysqlctl/v19/mysqlctl.pb.go new file mode 100644 index 0000000..878a8f1 --- /dev/null +++ b/gen/vitess/mysqlctl/v19/mysqlctl.pb.go @@ -0,0 +1,1383 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains the service definition for making management API +// calls to mysqlctld. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/mysqlctl/v19/mysqlctl.proto + +package mysqlctlv19 + +import ( + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Status is an enum representing the possible status of a backup. +type BackupInfo_Status int32 + +const ( + BackupInfo_UNKNOWN BackupInfo_Status = 0 + BackupInfo_INCOMPLETE BackupInfo_Status = 1 + BackupInfo_COMPLETE BackupInfo_Status = 2 + // A backup status of INVALID should be set if the backup is complete + // but unusable in some way (partial upload, corrupt file, etc). + BackupInfo_INVALID BackupInfo_Status = 3 + // A backup status of VALID should be set if the backup is both + // complete and usuable. + BackupInfo_VALID BackupInfo_Status = 4 +) + +// Enum value maps for BackupInfo_Status. +var ( + BackupInfo_Status_name = map[int32]string{ + 0: "UNKNOWN", + 1: "INCOMPLETE", + 2: "COMPLETE", + 3: "INVALID", + 4: "VALID", + } + BackupInfo_Status_value = map[string]int32{ + "UNKNOWN": 0, + "INCOMPLETE": 1, + "COMPLETE": 2, + "INVALID": 3, + "VALID": 4, + } +) + +func (x BackupInfo_Status) Enum() *BackupInfo_Status { + p := new(BackupInfo_Status) + *p = x + return p +} + +func (x BackupInfo_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BackupInfo_Status) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_mysqlctl_v19_mysqlctl_proto_enumTypes[0].Descriptor() +} + +func (BackupInfo_Status) Type() protoreflect.EnumType { + return &file_vitess_mysqlctl_v19_mysqlctl_proto_enumTypes[0] +} + +func (x BackupInfo_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BackupInfo_Status.Descriptor instead. +func (BackupInfo_Status) EnumDescriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{16, 0} +} + +type StartRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MysqldArgs []string `protobuf:"bytes,1,rep,name=mysqld_args,json=mysqldArgs,proto3" json:"mysqld_args,omitempty"` +} + +func (x *StartRequest) Reset() { + *x = StartRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartRequest) ProtoMessage() {} + +func (x *StartRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartRequest.ProtoReflect.Descriptor instead. +func (*StartRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{0} +} + +func (x *StartRequest) GetMysqldArgs() []string { + if x != nil { + return x.MysqldArgs + } + return nil +} + +type StartResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StartResponse) Reset() { + *x = StartResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartResponse) ProtoMessage() {} + +func (x *StartResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartResponse.ProtoReflect.Descriptor instead. +func (*StartResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{1} +} + +type ShutdownRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WaitForMysqld bool `protobuf:"varint,1,opt,name=wait_for_mysqld,json=waitForMysqld,proto3" json:"wait_for_mysqld,omitempty"` + MysqlShutdownTimeout *v19.Duration `protobuf:"bytes,2,opt,name=mysql_shutdown_timeout,json=mysqlShutdownTimeout,proto3" json:"mysql_shutdown_timeout,omitempty"` +} + +func (x *ShutdownRequest) Reset() { + *x = ShutdownRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShutdownRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShutdownRequest) ProtoMessage() {} + +func (x *ShutdownRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead. +func (*ShutdownRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{2} +} + +func (x *ShutdownRequest) GetWaitForMysqld() bool { + if x != nil { + return x.WaitForMysqld + } + return false +} + +func (x *ShutdownRequest) GetMysqlShutdownTimeout() *v19.Duration { + if x != nil { + return x.MysqlShutdownTimeout + } + return nil +} + +type ShutdownResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ShutdownResponse) Reset() { + *x = ShutdownResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShutdownResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShutdownResponse) ProtoMessage() {} + +func (x *ShutdownResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead. +func (*ShutdownResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{3} +} + +type RunMysqlUpgradeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RunMysqlUpgradeRequest) Reset() { + *x = RunMysqlUpgradeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunMysqlUpgradeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunMysqlUpgradeRequest) ProtoMessage() {} + +func (x *RunMysqlUpgradeRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunMysqlUpgradeRequest.ProtoReflect.Descriptor instead. +func (*RunMysqlUpgradeRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{4} +} + +type RunMysqlUpgradeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RunMysqlUpgradeResponse) Reset() { + *x = RunMysqlUpgradeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunMysqlUpgradeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunMysqlUpgradeResponse) ProtoMessage() {} + +func (x *RunMysqlUpgradeResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunMysqlUpgradeResponse.ProtoReflect.Descriptor instead. +func (*RunMysqlUpgradeResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{5} +} + +type ApplyBinlogFileRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BinlogFileName string `protobuf:"bytes,1,opt,name=binlog_file_name,json=binlogFileName,proto3" json:"binlog_file_name,omitempty"` + BinlogRestorePosition string `protobuf:"bytes,2,opt,name=binlog_restore_position,json=binlogRestorePosition,proto3" json:"binlog_restore_position,omitempty"` + BinlogRestoreDatetime *v19.Time `protobuf:"bytes,3,opt,name=binlog_restore_datetime,json=binlogRestoreDatetime,proto3" json:"binlog_restore_datetime,omitempty"` +} + +func (x *ApplyBinlogFileRequest) Reset() { + *x = ApplyBinlogFileRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyBinlogFileRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyBinlogFileRequest) ProtoMessage() {} + +func (x *ApplyBinlogFileRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyBinlogFileRequest.ProtoReflect.Descriptor instead. +func (*ApplyBinlogFileRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{6} +} + +func (x *ApplyBinlogFileRequest) GetBinlogFileName() string { + if x != nil { + return x.BinlogFileName + } + return "" +} + +func (x *ApplyBinlogFileRequest) GetBinlogRestorePosition() string { + if x != nil { + return x.BinlogRestorePosition + } + return "" +} + +func (x *ApplyBinlogFileRequest) GetBinlogRestoreDatetime() *v19.Time { + if x != nil { + return x.BinlogRestoreDatetime + } + return nil +} + +type ApplyBinlogFileResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ApplyBinlogFileResponse) Reset() { + *x = ApplyBinlogFileResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyBinlogFileResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyBinlogFileResponse) ProtoMessage() {} + +func (x *ApplyBinlogFileResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyBinlogFileResponse.ProtoReflect.Descriptor instead. +func (*ApplyBinlogFileResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{7} +} + +type ReadBinlogFilesTimestampsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BinlogFileNames []string `protobuf:"bytes,1,rep,name=binlog_file_names,json=binlogFileNames,proto3" json:"binlog_file_names,omitempty"` +} + +func (x *ReadBinlogFilesTimestampsRequest) Reset() { + *x = ReadBinlogFilesTimestampsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadBinlogFilesTimestampsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadBinlogFilesTimestampsRequest) ProtoMessage() {} + +func (x *ReadBinlogFilesTimestampsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadBinlogFilesTimestampsRequest.ProtoReflect.Descriptor instead. +func (*ReadBinlogFilesTimestampsRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{8} +} + +func (x *ReadBinlogFilesTimestampsRequest) GetBinlogFileNames() []string { + if x != nil { + return x.BinlogFileNames + } + return nil +} + +type ReadBinlogFilesTimestampsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // FirstTimestamp is the timestamp of the first found transaction searching in order of given binlog files + FirstTimestamp *v19.Time `protobuf:"bytes,1,opt,name=first_timestamp,json=firstTimestamp,proto3" json:"first_timestamp,omitempty"` + // FirstTimestampBinlog is the name of the binary log in which the first timestamp is found + FirstTimestampBinlog string `protobuf:"bytes,2,opt,name=first_timestamp_binlog,json=firstTimestampBinlog,proto3" json:"first_timestamp_binlog,omitempty"` + // LastTimestamp is the timestamp of the last found transaction in given binlog files + LastTimestamp *v19.Time `protobuf:"bytes,3,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` + // LastTimestampBinlog is the name of the binary log in which the last timestamp is found + LastTimestampBinlog string `protobuf:"bytes,4,opt,name=last_timestamp_binlog,json=lastTimestampBinlog,proto3" json:"last_timestamp_binlog,omitempty"` +} + +func (x *ReadBinlogFilesTimestampsResponse) Reset() { + *x = ReadBinlogFilesTimestampsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadBinlogFilesTimestampsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadBinlogFilesTimestampsResponse) ProtoMessage() {} + +func (x *ReadBinlogFilesTimestampsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadBinlogFilesTimestampsResponse.ProtoReflect.Descriptor instead. +func (*ReadBinlogFilesTimestampsResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{9} +} + +func (x *ReadBinlogFilesTimestampsResponse) GetFirstTimestamp() *v19.Time { + if x != nil { + return x.FirstTimestamp + } + return nil +} + +func (x *ReadBinlogFilesTimestampsResponse) GetFirstTimestampBinlog() string { + if x != nil { + return x.FirstTimestampBinlog + } + return "" +} + +func (x *ReadBinlogFilesTimestampsResponse) GetLastTimestamp() *v19.Time { + if x != nil { + return x.LastTimestamp + } + return nil +} + +func (x *ReadBinlogFilesTimestampsResponse) GetLastTimestampBinlog() string { + if x != nil { + return x.LastTimestampBinlog + } + return "" +} + +type ReinitConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReinitConfigRequest) Reset() { + *x = ReinitConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReinitConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReinitConfigRequest) ProtoMessage() {} + +func (x *ReinitConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReinitConfigRequest.ProtoReflect.Descriptor instead. +func (*ReinitConfigRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{10} +} + +type ReinitConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReinitConfigResponse) Reset() { + *x = ReinitConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReinitConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReinitConfigResponse) ProtoMessage() {} + +func (x *ReinitConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReinitConfigResponse.ProtoReflect.Descriptor instead. +func (*ReinitConfigResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{11} +} + +type RefreshConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RefreshConfigRequest) Reset() { + *x = RefreshConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshConfigRequest) ProtoMessage() {} + +func (x *RefreshConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshConfigRequest.ProtoReflect.Descriptor instead. +func (*RefreshConfigRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{12} +} + +type RefreshConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RefreshConfigResponse) Reset() { + *x = RefreshConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshConfigResponse) ProtoMessage() {} + +func (x *RefreshConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshConfigResponse.ProtoReflect.Descriptor instead. +func (*RefreshConfigResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{13} +} + +type VersionStringRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *VersionStringRequest) Reset() { + *x = VersionStringRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VersionStringRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VersionStringRequest) ProtoMessage() {} + +func (x *VersionStringRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VersionStringRequest.ProtoReflect.Descriptor instead. +func (*VersionStringRequest) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{14} +} + +type VersionStringResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *VersionStringResponse) Reset() { + *x = VersionStringResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VersionStringResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VersionStringResponse) ProtoMessage() {} + +func (x *VersionStringResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VersionStringResponse.ProtoReflect.Descriptor instead. +func (*VersionStringResponse) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{15} +} + +func (x *VersionStringResponse) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +// BackupInfo is the read-only attributes of a mysqlctl/backupstorage.BackupHandle. +type BackupInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Directory string `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"` + Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` + TabletAlias *v191.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Time *v19.Time `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` + // Engine is the name of the backupengine implementation used to create + // this backup. + Engine string `protobuf:"bytes,7,opt,name=engine,proto3" json:"engine,omitempty"` + Status BackupInfo_Status `protobuf:"varint,8,opt,name=status,proto3,enum=vitess.mysqlctl.v19.BackupInfo_Status" json:"status,omitempty"` +} + +func (x *BackupInfo) Reset() { + *x = BackupInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupInfo) ProtoMessage() {} + +func (x *BackupInfo) ProtoReflect() protoreflect.Message { + mi := &file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupInfo.ProtoReflect.Descriptor instead. +func (*BackupInfo) Descriptor() ([]byte, []int) { + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP(), []int{16} +} + +func (x *BackupInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *BackupInfo) GetDirectory() string { + if x != nil { + return x.Directory + } + return "" +} + +func (x *BackupInfo) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *BackupInfo) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *BackupInfo) GetTabletAlias() *v191.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *BackupInfo) GetTime() *v19.Time { + if x != nil { + return x.Time + } + return nil +} + +func (x *BackupInfo) GetEngine() string { + if x != nil { + return x.Engine + } + return "" +} + +func (x *BackupInfo) GetStatus() BackupInfo_Status { + if x != nil { + return x.Status + } + return BackupInfo_UNKNOWN +} + +var File_vitess_mysqlctl_v19_mysqlctl_proto protoreflect.FileDescriptor + +var file_vitess_mysqlctl_v19_mysqlctl_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, + 0x6c, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, + 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x39, + 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, + 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x41, 0x72, 0x67, 0x73, 0x22, 0x0f, + 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x8c, 0x01, 0x0a, 0x0f, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, + 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x77, 0x61, + 0x69, 0x74, 0x46, 0x6f, 0x72, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x12, 0x51, 0x0a, 0x16, 0x6d, + 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x53, + 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x12, + 0x0a, 0x10, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, + 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x19, 0x0a, 0x17, + 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x69, 0x6c, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x17, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x62, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x17, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, + 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x15, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x44, 0x61, 0x74, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x4e, 0x0a, 0x20, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x22, 0x8f, 0x02, 0x0a, 0x21, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x12, 0x3e, + 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, + 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x32, + 0x0a, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x5f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c, + 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x69, + 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x31, 0x0a, 0x15, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 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, 0x87, 0x03, + 0x0a, 0x0a, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, + 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x2b, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4b, 0x0a, 0x06, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, + 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, + 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12, + 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x04, 0x32, 0xe1, 0x06, 0x0a, 0x08, 0x4d, 0x79, 0x73, 0x71, + 0x6c, 0x43, 0x74, 0x6c, 0x12, 0x50, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x21, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, + 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, + 0x77, 0x6e, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, + 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6e, 0x0a, 0x0f, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, + 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6e, 0x4d, 0x79, + 0x73, 0x71, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, + 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6e, 0x4d, 0x79, 0x73, 0x71, 0x6c, + 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6e, 0x0a, 0x0f, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x46, 0x69, 0x6c, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, + 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, + 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x8c, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x12, + 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, + 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, + 0x64, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x65, 0x0a, 0x0c, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, + 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x52, 0x65, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0d, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, + 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, + 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x68, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, + 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x49, 0x5a, 0x47, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6d, 0x79, + 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x6d, 0x79, 0x73, 0x71, 0x6c, + 0x63, 0x74, 0x6c, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescOnce sync.Once + file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescData = file_vitess_mysqlctl_v19_mysqlctl_proto_rawDesc +) + +func file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescGZIP() []byte { + file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescOnce.Do(func() { + file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescData) + }) + return file_vitess_mysqlctl_v19_mysqlctl_proto_rawDescData +} + +var file_vitess_mysqlctl_v19_mysqlctl_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_vitess_mysqlctl_v19_mysqlctl_proto_goTypes = []any{ + (BackupInfo_Status)(0), // 0: vitess.mysqlctl.v19.BackupInfo.Status + (*StartRequest)(nil), // 1: vitess.mysqlctl.v19.StartRequest + (*StartResponse)(nil), // 2: vitess.mysqlctl.v19.StartResponse + (*ShutdownRequest)(nil), // 3: vitess.mysqlctl.v19.ShutdownRequest + (*ShutdownResponse)(nil), // 4: vitess.mysqlctl.v19.ShutdownResponse + (*RunMysqlUpgradeRequest)(nil), // 5: vitess.mysqlctl.v19.RunMysqlUpgradeRequest + (*RunMysqlUpgradeResponse)(nil), // 6: vitess.mysqlctl.v19.RunMysqlUpgradeResponse + (*ApplyBinlogFileRequest)(nil), // 7: vitess.mysqlctl.v19.ApplyBinlogFileRequest + (*ApplyBinlogFileResponse)(nil), // 8: vitess.mysqlctl.v19.ApplyBinlogFileResponse + (*ReadBinlogFilesTimestampsRequest)(nil), // 9: vitess.mysqlctl.v19.ReadBinlogFilesTimestampsRequest + (*ReadBinlogFilesTimestampsResponse)(nil), // 10: vitess.mysqlctl.v19.ReadBinlogFilesTimestampsResponse + (*ReinitConfigRequest)(nil), // 11: vitess.mysqlctl.v19.ReinitConfigRequest + (*ReinitConfigResponse)(nil), // 12: vitess.mysqlctl.v19.ReinitConfigResponse + (*RefreshConfigRequest)(nil), // 13: vitess.mysqlctl.v19.RefreshConfigRequest + (*RefreshConfigResponse)(nil), // 14: vitess.mysqlctl.v19.RefreshConfigResponse + (*VersionStringRequest)(nil), // 15: vitess.mysqlctl.v19.VersionStringRequest + (*VersionStringResponse)(nil), // 16: vitess.mysqlctl.v19.VersionStringResponse + (*BackupInfo)(nil), // 17: vitess.mysqlctl.v19.BackupInfo + (*v19.Duration)(nil), // 18: vitess.vttime.v19.Duration + (*v19.Time)(nil), // 19: vitess.vttime.v19.Time + (*v191.TabletAlias)(nil), // 20: vitess.topodata.v19.TabletAlias +} +var file_vitess_mysqlctl_v19_mysqlctl_proto_depIdxs = []int32{ + 18, // 0: vitess.mysqlctl.v19.ShutdownRequest.mysql_shutdown_timeout:type_name -> vitess.vttime.v19.Duration + 19, // 1: vitess.mysqlctl.v19.ApplyBinlogFileRequest.binlog_restore_datetime:type_name -> vitess.vttime.v19.Time + 19, // 2: vitess.mysqlctl.v19.ReadBinlogFilesTimestampsResponse.first_timestamp:type_name -> vitess.vttime.v19.Time + 19, // 3: vitess.mysqlctl.v19.ReadBinlogFilesTimestampsResponse.last_timestamp:type_name -> vitess.vttime.v19.Time + 20, // 4: vitess.mysqlctl.v19.BackupInfo.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 19, // 5: vitess.mysqlctl.v19.BackupInfo.time:type_name -> vitess.vttime.v19.Time + 0, // 6: vitess.mysqlctl.v19.BackupInfo.status:type_name -> vitess.mysqlctl.v19.BackupInfo.Status + 1, // 7: vitess.mysqlctl.v19.MysqlCtl.Start:input_type -> vitess.mysqlctl.v19.StartRequest + 3, // 8: vitess.mysqlctl.v19.MysqlCtl.Shutdown:input_type -> vitess.mysqlctl.v19.ShutdownRequest + 5, // 9: vitess.mysqlctl.v19.MysqlCtl.RunMysqlUpgrade:input_type -> vitess.mysqlctl.v19.RunMysqlUpgradeRequest + 7, // 10: vitess.mysqlctl.v19.MysqlCtl.ApplyBinlogFile:input_type -> vitess.mysqlctl.v19.ApplyBinlogFileRequest + 9, // 11: vitess.mysqlctl.v19.MysqlCtl.ReadBinlogFilesTimestamps:input_type -> vitess.mysqlctl.v19.ReadBinlogFilesTimestampsRequest + 11, // 12: vitess.mysqlctl.v19.MysqlCtl.ReinitConfig:input_type -> vitess.mysqlctl.v19.ReinitConfigRequest + 13, // 13: vitess.mysqlctl.v19.MysqlCtl.RefreshConfig:input_type -> vitess.mysqlctl.v19.RefreshConfigRequest + 15, // 14: vitess.mysqlctl.v19.MysqlCtl.VersionString:input_type -> vitess.mysqlctl.v19.VersionStringRequest + 2, // 15: vitess.mysqlctl.v19.MysqlCtl.Start:output_type -> vitess.mysqlctl.v19.StartResponse + 4, // 16: vitess.mysqlctl.v19.MysqlCtl.Shutdown:output_type -> vitess.mysqlctl.v19.ShutdownResponse + 6, // 17: vitess.mysqlctl.v19.MysqlCtl.RunMysqlUpgrade:output_type -> vitess.mysqlctl.v19.RunMysqlUpgradeResponse + 8, // 18: vitess.mysqlctl.v19.MysqlCtl.ApplyBinlogFile:output_type -> vitess.mysqlctl.v19.ApplyBinlogFileResponse + 10, // 19: vitess.mysqlctl.v19.MysqlCtl.ReadBinlogFilesTimestamps:output_type -> vitess.mysqlctl.v19.ReadBinlogFilesTimestampsResponse + 12, // 20: vitess.mysqlctl.v19.MysqlCtl.ReinitConfig:output_type -> vitess.mysqlctl.v19.ReinitConfigResponse + 14, // 21: vitess.mysqlctl.v19.MysqlCtl.RefreshConfig:output_type -> vitess.mysqlctl.v19.RefreshConfigResponse + 16, // 22: vitess.mysqlctl.v19.MysqlCtl.VersionString:output_type -> vitess.mysqlctl.v19.VersionStringResponse + 15, // [15:23] is the sub-list for method output_type + 7, // [7:15] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_vitess_mysqlctl_v19_mysqlctl_proto_init() } +func file_vitess_mysqlctl_v19_mysqlctl_proto_init() { + if File_vitess_mysqlctl_v19_mysqlctl_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*StartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*StartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*ShutdownRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ShutdownResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*RunMysqlUpgradeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*RunMysqlUpgradeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*ApplyBinlogFileRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*ApplyBinlogFileResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*ReadBinlogFilesTimestampsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*ReadBinlogFilesTimestampsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ReinitConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*ReinitConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*RefreshConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*RefreshConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*VersionStringRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*VersionStringResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*BackupInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_mysqlctl_v19_mysqlctl_proto_rawDesc, + NumEnums: 1, + NumMessages: 17, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_vitess_mysqlctl_v19_mysqlctl_proto_goTypes, + DependencyIndexes: file_vitess_mysqlctl_v19_mysqlctl_proto_depIdxs, + EnumInfos: file_vitess_mysqlctl_v19_mysqlctl_proto_enumTypes, + MessageInfos: file_vitess_mysqlctl_v19_mysqlctl_proto_msgTypes, + }.Build() + File_vitess_mysqlctl_v19_mysqlctl_proto = out.File + file_vitess_mysqlctl_v19_mysqlctl_proto_rawDesc = nil + file_vitess_mysqlctl_v19_mysqlctl_proto_goTypes = nil + file_vitess_mysqlctl_v19_mysqlctl_proto_depIdxs = nil +} diff --git a/gen/vitess/mysqlctl/v19/mysqlctl_vtproto.pb.go b/gen/vitess/mysqlctl/v19/mysqlctl_vtproto.pb.go new file mode 100644 index 0000000..90abb2b --- /dev/null +++ b/gen/vitess/mysqlctl/v19/mysqlctl_vtproto.pb.go @@ -0,0 +1,2763 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/mysqlctl/v19/mysqlctl.proto + +package mysqlctlv19 + +import ( + fmt "fmt" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *StartRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.MysqldArgs) > 0 { + for iNdEx := len(m.MysqldArgs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.MysqldArgs[iNdEx]) + copy(dAtA[i:], m.MysqldArgs[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.MysqldArgs[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *StartResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ShutdownRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShutdownRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShutdownRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MysqlShutdownTimeout != nil { + if vtmsg, ok := interface{}(m.MysqlShutdownTimeout).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.MysqlShutdownTimeout) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.WaitForMysqld { + i-- + if m.WaitForMysqld { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ShutdownResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShutdownResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShutdownResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RunMysqlUpgradeRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunMysqlUpgradeRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunMysqlUpgradeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RunMysqlUpgradeResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunMysqlUpgradeResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunMysqlUpgradeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ApplyBinlogFileRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyBinlogFileRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyBinlogFileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.BinlogRestoreDatetime != nil { + if vtmsg, ok := interface{}(m.BinlogRestoreDatetime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BinlogRestoreDatetime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.BinlogRestorePosition) > 0 { + i -= len(m.BinlogRestorePosition) + copy(dAtA[i:], m.BinlogRestorePosition) + i = encodeVarint(dAtA, i, uint64(len(m.BinlogRestorePosition))) + i-- + dAtA[i] = 0x12 + } + if len(m.BinlogFileName) > 0 { + i -= len(m.BinlogFileName) + copy(dAtA[i:], m.BinlogFileName) + i = encodeVarint(dAtA, i, uint64(len(m.BinlogFileName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplyBinlogFileResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyBinlogFileResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyBinlogFileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReadBinlogFilesTimestampsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadBinlogFilesTimestampsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadBinlogFilesTimestampsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.BinlogFileNames) > 0 { + for iNdEx := len(m.BinlogFileNames) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.BinlogFileNames[iNdEx]) + copy(dAtA[i:], m.BinlogFileNames[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.BinlogFileNames[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ReadBinlogFilesTimestampsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadBinlogFilesTimestampsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadBinlogFilesTimestampsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.LastTimestampBinlog) > 0 { + i -= len(m.LastTimestampBinlog) + copy(dAtA[i:], m.LastTimestampBinlog) + i = encodeVarint(dAtA, i, uint64(len(m.LastTimestampBinlog))) + i-- + dAtA[i] = 0x22 + } + if m.LastTimestamp != nil { + if vtmsg, ok := interface{}(m.LastTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.LastTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.FirstTimestampBinlog) > 0 { + i -= len(m.FirstTimestampBinlog) + copy(dAtA[i:], m.FirstTimestampBinlog) + i = encodeVarint(dAtA, i, uint64(len(m.FirstTimestampBinlog))) + i-- + dAtA[i] = 0x12 + } + if m.FirstTimestamp != nil { + if vtmsg, ok := interface{}(m.FirstTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.FirstTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReinitConfigRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReinitConfigRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReinitConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReinitConfigResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReinitConfigResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReinitConfigResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RefreshConfigRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshConfigRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RefreshConfigResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshConfigResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshConfigResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *VersionStringRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VersionStringRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VersionStringRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *VersionStringResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VersionStringResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VersionStringResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarint(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BackupInfo) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BackupInfo) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BackupInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != 0 { + i = encodeVarint(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x40 + } + if len(m.Engine) > 0 { + i -= len(m.Engine) + copy(dAtA[i:], m.Engine) + i = encodeVarint(dAtA, i, uint64(len(m.Engine))) + i-- + dAtA[i] = 0x3a + } + if m.Time != nil { + if vtmsg, ok := interface{}(m.Time).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Time) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x32 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x22 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.Directory) > 0 { + i -= len(m.Directory) + copy(dAtA[i:], m.Directory) + i = encodeVarint(dAtA, i, uint64(len(m.Directory))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *StartRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.MysqldArgs) > 0 { + for _, s := range m.MysqldArgs { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *StartResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ShutdownRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WaitForMysqld { + n += 2 + } + if m.MysqlShutdownTimeout != nil { + if size, ok := interface{}(m.MysqlShutdownTimeout).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.MysqlShutdownTimeout) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShutdownResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RunMysqlUpgradeRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RunMysqlUpgradeResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ApplyBinlogFileRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.BinlogFileName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.BinlogRestorePosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.BinlogRestoreDatetime != nil { + if size, ok := interface{}(m.BinlogRestoreDatetime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.BinlogRestoreDatetime) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyBinlogFileResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReadBinlogFilesTimestampsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.BinlogFileNames) > 0 { + for _, s := range m.BinlogFileNames { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReadBinlogFilesTimestampsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FirstTimestamp != nil { + if size, ok := interface{}(m.FirstTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.FirstTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.FirstTimestampBinlog) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.LastTimestamp != nil { + if size, ok := interface{}(m.LastTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.LastTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.LastTimestampBinlog) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReinitConfigRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReinitConfigResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshConfigRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshConfigResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *VersionStringRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *VersionStringResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Version) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BackupInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Directory) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.Time != nil { + if size, ok := interface{}(m.Time).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Time) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Engine) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Status != 0 { + n += 1 + sov(uint64(m.Status)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *StartRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MysqldArgs", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MysqldArgs = append(m.MysqldArgs, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShutdownRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShutdownRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShutdownRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitForMysqld", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.WaitForMysqld = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MysqlShutdownTimeout", 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.MysqlShutdownTimeout == nil { + m.MysqlShutdownTimeout = &v19.Duration{} + } + if unmarshal, ok := interface{}(m.MysqlShutdownTimeout).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.MysqlShutdownTimeout); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShutdownResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShutdownResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShutdownResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunMysqlUpgradeRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunMysqlUpgradeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunMysqlUpgradeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunMysqlUpgradeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunMysqlUpgradeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunMysqlUpgradeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyBinlogFileRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyBinlogFileRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyBinlogFileRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogFileName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinlogFileName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogRestorePosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinlogRestorePosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogRestoreDatetime", 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.BinlogRestoreDatetime == nil { + m.BinlogRestoreDatetime = &v19.Time{} + } + if unmarshal, ok := interface{}(m.BinlogRestoreDatetime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BinlogRestoreDatetime); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyBinlogFileResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyBinlogFileResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyBinlogFileResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadBinlogFilesTimestampsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadBinlogFilesTimestampsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadBinlogFilesTimestampsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogFileNames", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinlogFileNames = append(m.BinlogFileNames, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadBinlogFilesTimestampsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadBinlogFilesTimestampsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadBinlogFilesTimestampsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FirstTimestamp", 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.FirstTimestamp == nil { + m.FirstTimestamp = &v19.Time{} + } + if unmarshal, ok := interface{}(m.FirstTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.FirstTimestamp); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FirstTimestampBinlog", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FirstTimestampBinlog = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastTimestamp", 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.LastTimestamp == nil { + m.LastTimestamp = &v19.Time{} + } + if unmarshal, ok := interface{}(m.LastTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.LastTimestamp); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastTimestampBinlog", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LastTimestampBinlog = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReinitConfigRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReinitConfigRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReinitConfigRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReinitConfigResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReinitConfigResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReinitConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshConfigRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshConfigRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshConfigRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshConfigResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshConfigResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VersionStringRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VersionStringRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VersionStringRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VersionStringResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VersionStringResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VersionStringResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BackupInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BackupInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BackupInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Directory = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Time", 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.Time == nil { + m.Time = &v19.Time{} + } + if unmarshal, ok := interface{}(m.Time).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Time); err != nil { + return err + } + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Engine", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Engine = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + m.Status = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Status |= BackupInfo_Status(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/mysqlctl/v19/mysqlctlv19connect/mysqlctl.connect.go b/gen/vitess/mysqlctl/v19/mysqlctlv19connect/mysqlctl.connect.go new file mode 100644 index 0000000..8a12ae1 --- /dev/null +++ b/gen/vitess/mysqlctl/v19/mysqlctlv19connect/mysqlctl.connect.go @@ -0,0 +1,335 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// This file contains the service definition for making management API +// calls to mysqlctld. + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/mysqlctl/v19/mysqlctl.proto + +package mysqlctlv19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v19 "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // MysqlCtlName is the fully-qualified name of the MysqlCtl service. + MysqlCtlName = "mysqlctl.MysqlCtl" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // MysqlCtlStartProcedure is the fully-qualified name of the MysqlCtl's Start RPC. + MysqlCtlStartProcedure = "/mysqlctl.MysqlCtl/Start" + // MysqlCtlShutdownProcedure is the fully-qualified name of the MysqlCtl's Shutdown RPC. + MysqlCtlShutdownProcedure = "/mysqlctl.MysqlCtl/Shutdown" + // MysqlCtlRunMysqlUpgradeProcedure is the fully-qualified name of the MysqlCtl's RunMysqlUpgrade + // RPC. + MysqlCtlRunMysqlUpgradeProcedure = "/mysqlctl.MysqlCtl/RunMysqlUpgrade" + // MysqlCtlApplyBinlogFileProcedure is the fully-qualified name of the MysqlCtl's ApplyBinlogFile + // RPC. + MysqlCtlApplyBinlogFileProcedure = "/mysqlctl.MysqlCtl/ApplyBinlogFile" + // MysqlCtlReadBinlogFilesTimestampsProcedure is the fully-qualified name of the MysqlCtl's + // ReadBinlogFilesTimestamps RPC. + MysqlCtlReadBinlogFilesTimestampsProcedure = "/mysqlctl.MysqlCtl/ReadBinlogFilesTimestamps" + // MysqlCtlReinitConfigProcedure is the fully-qualified name of the MysqlCtl's ReinitConfig RPC. + MysqlCtlReinitConfigProcedure = "/mysqlctl.MysqlCtl/ReinitConfig" + // MysqlCtlRefreshConfigProcedure is the fully-qualified name of the MysqlCtl's RefreshConfig RPC. + MysqlCtlRefreshConfigProcedure = "/mysqlctl.MysqlCtl/RefreshConfig" + // MysqlCtlVersionStringProcedure is the fully-qualified name of the MysqlCtl's VersionString RPC. + MysqlCtlVersionStringProcedure = "/mysqlctl.MysqlCtl/VersionString" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + mysqlCtlServiceDescriptor = v19.File_vitess_mysqlctl_v19_mysqlctl_proto.Services().ByName("MysqlCtl") + mysqlCtlStartMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Start") + mysqlCtlShutdownMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("Shutdown") + mysqlCtlRunMysqlUpgradeMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RunMysqlUpgrade") + mysqlCtlApplyBinlogFileMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ApplyBinlogFile") + mysqlCtlReadBinlogFilesTimestampsMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReadBinlogFilesTimestamps") + mysqlCtlReinitConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("ReinitConfig") + mysqlCtlRefreshConfigMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("RefreshConfig") + mysqlCtlVersionStringMethodDescriptor = mysqlCtlServiceDescriptor.Methods().ByName("VersionString") +) + +// MysqlCtlClient is a client for the mysqlctl.MysqlCtl service. +type MysqlCtlClient interface { + Start(context.Context, *connect.Request[v19.StartRequest]) (*connect.Response[v19.StartResponse], error) + Shutdown(context.Context, *connect.Request[v19.ShutdownRequest]) (*connect.Response[v19.ShutdownResponse], error) + RunMysqlUpgrade(context.Context, *connect.Request[v19.RunMysqlUpgradeRequest]) (*connect.Response[v19.RunMysqlUpgradeResponse], error) + ApplyBinlogFile(context.Context, *connect.Request[v19.ApplyBinlogFileRequest]) (*connect.Response[v19.ApplyBinlogFileResponse], error) + ReadBinlogFilesTimestamps(context.Context, *connect.Request[v19.ReadBinlogFilesTimestampsRequest]) (*connect.Response[v19.ReadBinlogFilesTimestampsResponse], error) + ReinitConfig(context.Context, *connect.Request[v19.ReinitConfigRequest]) (*connect.Response[v19.ReinitConfigResponse], error) + RefreshConfig(context.Context, *connect.Request[v19.RefreshConfigRequest]) (*connect.Response[v19.RefreshConfigResponse], error) + VersionString(context.Context, *connect.Request[v19.VersionStringRequest]) (*connect.Response[v19.VersionStringResponse], error) +} + +// NewMysqlCtlClient constructs a client for the mysqlctl.MysqlCtl service. By default, +// it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and +// sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() +// or connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewMysqlCtlClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MysqlCtlClient { + baseURL = strings.TrimRight(baseURL, "/") + return &mysqlCtlClient{ + start: connect.NewClient[v19.StartRequest, v19.StartResponse]( + httpClient, + baseURL+MysqlCtlStartProcedure, + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithClientOptions(opts...), + ), + shutdown: connect.NewClient[v19.ShutdownRequest, v19.ShutdownResponse]( + httpClient, + baseURL+MysqlCtlShutdownProcedure, + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithClientOptions(opts...), + ), + runMysqlUpgrade: connect.NewClient[v19.RunMysqlUpgradeRequest, v19.RunMysqlUpgradeResponse]( + httpClient, + baseURL+MysqlCtlRunMysqlUpgradeProcedure, + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithClientOptions(opts...), + ), + applyBinlogFile: connect.NewClient[v19.ApplyBinlogFileRequest, v19.ApplyBinlogFileResponse]( + httpClient, + baseURL+MysqlCtlApplyBinlogFileProcedure, + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithClientOptions(opts...), + ), + readBinlogFilesTimestamps: connect.NewClient[v19.ReadBinlogFilesTimestampsRequest, v19.ReadBinlogFilesTimestampsResponse]( + httpClient, + baseURL+MysqlCtlReadBinlogFilesTimestampsProcedure, + connect.WithSchema(mysqlCtlReadBinlogFilesTimestampsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reinitConfig: connect.NewClient[v19.ReinitConfigRequest, v19.ReinitConfigResponse]( + httpClient, + baseURL+MysqlCtlReinitConfigProcedure, + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithClientOptions(opts...), + ), + refreshConfig: connect.NewClient[v19.RefreshConfigRequest, v19.RefreshConfigResponse]( + httpClient, + baseURL+MysqlCtlRefreshConfigProcedure, + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithClientOptions(opts...), + ), + versionString: connect.NewClient[v19.VersionStringRequest, v19.VersionStringResponse]( + httpClient, + baseURL+MysqlCtlVersionStringProcedure, + connect.WithSchema(mysqlCtlVersionStringMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// mysqlCtlClient implements MysqlCtlClient. +type mysqlCtlClient struct { + start *connect.Client[v19.StartRequest, v19.StartResponse] + shutdown *connect.Client[v19.ShutdownRequest, v19.ShutdownResponse] + runMysqlUpgrade *connect.Client[v19.RunMysqlUpgradeRequest, v19.RunMysqlUpgradeResponse] + applyBinlogFile *connect.Client[v19.ApplyBinlogFileRequest, v19.ApplyBinlogFileResponse] + readBinlogFilesTimestamps *connect.Client[v19.ReadBinlogFilesTimestampsRequest, v19.ReadBinlogFilesTimestampsResponse] + reinitConfig *connect.Client[v19.ReinitConfigRequest, v19.ReinitConfigResponse] + refreshConfig *connect.Client[v19.RefreshConfigRequest, v19.RefreshConfigResponse] + versionString *connect.Client[v19.VersionStringRequest, v19.VersionStringResponse] +} + +// Start calls mysqlctl.MysqlCtl.Start. +func (c *mysqlCtlClient) Start(ctx context.Context, req *connect.Request[v19.StartRequest]) (*connect.Response[v19.StartResponse], error) { + return c.start.CallUnary(ctx, req) +} + +// Shutdown calls mysqlctl.MysqlCtl.Shutdown. +func (c *mysqlCtlClient) Shutdown(ctx context.Context, req *connect.Request[v19.ShutdownRequest]) (*connect.Response[v19.ShutdownResponse], error) { + return c.shutdown.CallUnary(ctx, req) +} + +// RunMysqlUpgrade calls mysqlctl.MysqlCtl.RunMysqlUpgrade. +func (c *mysqlCtlClient) RunMysqlUpgrade(ctx context.Context, req *connect.Request[v19.RunMysqlUpgradeRequest]) (*connect.Response[v19.RunMysqlUpgradeResponse], error) { + return c.runMysqlUpgrade.CallUnary(ctx, req) +} + +// ApplyBinlogFile calls mysqlctl.MysqlCtl.ApplyBinlogFile. +func (c *mysqlCtlClient) ApplyBinlogFile(ctx context.Context, req *connect.Request[v19.ApplyBinlogFileRequest]) (*connect.Response[v19.ApplyBinlogFileResponse], error) { + return c.applyBinlogFile.CallUnary(ctx, req) +} + +// ReadBinlogFilesTimestamps calls mysqlctl.MysqlCtl.ReadBinlogFilesTimestamps. +func (c *mysqlCtlClient) ReadBinlogFilesTimestamps(ctx context.Context, req *connect.Request[v19.ReadBinlogFilesTimestampsRequest]) (*connect.Response[v19.ReadBinlogFilesTimestampsResponse], error) { + return c.readBinlogFilesTimestamps.CallUnary(ctx, req) +} + +// ReinitConfig calls mysqlctl.MysqlCtl.ReinitConfig. +func (c *mysqlCtlClient) ReinitConfig(ctx context.Context, req *connect.Request[v19.ReinitConfigRequest]) (*connect.Response[v19.ReinitConfigResponse], error) { + return c.reinitConfig.CallUnary(ctx, req) +} + +// RefreshConfig calls mysqlctl.MysqlCtl.RefreshConfig. +func (c *mysqlCtlClient) RefreshConfig(ctx context.Context, req *connect.Request[v19.RefreshConfigRequest]) (*connect.Response[v19.RefreshConfigResponse], error) { + return c.refreshConfig.CallUnary(ctx, req) +} + +// VersionString calls mysqlctl.MysqlCtl.VersionString. +func (c *mysqlCtlClient) VersionString(ctx context.Context, req *connect.Request[v19.VersionStringRequest]) (*connect.Response[v19.VersionStringResponse], error) { + return c.versionString.CallUnary(ctx, req) +} + +// MysqlCtlHandler is an implementation of the mysqlctl.MysqlCtl service. +type MysqlCtlHandler interface { + Start(context.Context, *connect.Request[v19.StartRequest]) (*connect.Response[v19.StartResponse], error) + Shutdown(context.Context, *connect.Request[v19.ShutdownRequest]) (*connect.Response[v19.ShutdownResponse], error) + RunMysqlUpgrade(context.Context, *connect.Request[v19.RunMysqlUpgradeRequest]) (*connect.Response[v19.RunMysqlUpgradeResponse], error) + ApplyBinlogFile(context.Context, *connect.Request[v19.ApplyBinlogFileRequest]) (*connect.Response[v19.ApplyBinlogFileResponse], error) + ReadBinlogFilesTimestamps(context.Context, *connect.Request[v19.ReadBinlogFilesTimestampsRequest]) (*connect.Response[v19.ReadBinlogFilesTimestampsResponse], error) + ReinitConfig(context.Context, *connect.Request[v19.ReinitConfigRequest]) (*connect.Response[v19.ReinitConfigResponse], error) + RefreshConfig(context.Context, *connect.Request[v19.RefreshConfigRequest]) (*connect.Response[v19.RefreshConfigResponse], error) + VersionString(context.Context, *connect.Request[v19.VersionStringRequest]) (*connect.Response[v19.VersionStringResponse], error) +} + +// NewMysqlCtlHandler builds an HTTP handler from the service implementation. It returns the path on +// which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewMysqlCtlHandler(svc MysqlCtlHandler, opts ...connect.HandlerOption) (string, http.Handler) { + mysqlCtlStartHandler := connect.NewUnaryHandler( + MysqlCtlStartProcedure, + svc.Start, + connect.WithSchema(mysqlCtlStartMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlShutdownHandler := connect.NewUnaryHandler( + MysqlCtlShutdownProcedure, + svc.Shutdown, + connect.WithSchema(mysqlCtlShutdownMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlRunMysqlUpgradeHandler := connect.NewUnaryHandler( + MysqlCtlRunMysqlUpgradeProcedure, + svc.RunMysqlUpgrade, + connect.WithSchema(mysqlCtlRunMysqlUpgradeMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlApplyBinlogFileHandler := connect.NewUnaryHandler( + MysqlCtlApplyBinlogFileProcedure, + svc.ApplyBinlogFile, + connect.WithSchema(mysqlCtlApplyBinlogFileMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlReadBinlogFilesTimestampsHandler := connect.NewUnaryHandler( + MysqlCtlReadBinlogFilesTimestampsProcedure, + svc.ReadBinlogFilesTimestamps, + connect.WithSchema(mysqlCtlReadBinlogFilesTimestampsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlReinitConfigHandler := connect.NewUnaryHandler( + MysqlCtlReinitConfigProcedure, + svc.ReinitConfig, + connect.WithSchema(mysqlCtlReinitConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlRefreshConfigHandler := connect.NewUnaryHandler( + MysqlCtlRefreshConfigProcedure, + svc.RefreshConfig, + connect.WithSchema(mysqlCtlRefreshConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + mysqlCtlVersionStringHandler := connect.NewUnaryHandler( + MysqlCtlVersionStringProcedure, + svc.VersionString, + connect.WithSchema(mysqlCtlVersionStringMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/mysqlctl.MysqlCtl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case MysqlCtlStartProcedure: + mysqlCtlStartHandler.ServeHTTP(w, r) + case MysqlCtlShutdownProcedure: + mysqlCtlShutdownHandler.ServeHTTP(w, r) + case MysqlCtlRunMysqlUpgradeProcedure: + mysqlCtlRunMysqlUpgradeHandler.ServeHTTP(w, r) + case MysqlCtlApplyBinlogFileProcedure: + mysqlCtlApplyBinlogFileHandler.ServeHTTP(w, r) + case MysqlCtlReadBinlogFilesTimestampsProcedure: + mysqlCtlReadBinlogFilesTimestampsHandler.ServeHTTP(w, r) + case MysqlCtlReinitConfigProcedure: + mysqlCtlReinitConfigHandler.ServeHTTP(w, r) + case MysqlCtlRefreshConfigProcedure: + mysqlCtlRefreshConfigHandler.ServeHTTP(w, r) + case MysqlCtlVersionStringProcedure: + mysqlCtlVersionStringHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedMysqlCtlHandler returns CodeUnimplemented from all methods. +type UnimplementedMysqlCtlHandler struct{} + +func (UnimplementedMysqlCtlHandler) Start(context.Context, *connect.Request[v19.StartRequest]) (*connect.Response[v19.StartResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.Start is not implemented")) +} + +func (UnimplementedMysqlCtlHandler) Shutdown(context.Context, *connect.Request[v19.ShutdownRequest]) (*connect.Response[v19.ShutdownResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.Shutdown is not implemented")) +} + +func (UnimplementedMysqlCtlHandler) RunMysqlUpgrade(context.Context, *connect.Request[v19.RunMysqlUpgradeRequest]) (*connect.Response[v19.RunMysqlUpgradeResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.RunMysqlUpgrade is not implemented")) +} + +func (UnimplementedMysqlCtlHandler) ApplyBinlogFile(context.Context, *connect.Request[v19.ApplyBinlogFileRequest]) (*connect.Response[v19.ApplyBinlogFileResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.ApplyBinlogFile is not implemented")) +} + +func (UnimplementedMysqlCtlHandler) ReadBinlogFilesTimestamps(context.Context, *connect.Request[v19.ReadBinlogFilesTimestampsRequest]) (*connect.Response[v19.ReadBinlogFilesTimestampsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.ReadBinlogFilesTimestamps is not implemented")) +} + +func (UnimplementedMysqlCtlHandler) ReinitConfig(context.Context, *connect.Request[v19.ReinitConfigRequest]) (*connect.Response[v19.ReinitConfigResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.ReinitConfig is not implemented")) +} + +func (UnimplementedMysqlCtlHandler) RefreshConfig(context.Context, *connect.Request[v19.RefreshConfigRequest]) (*connect.Response[v19.RefreshConfigResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.RefreshConfig is not implemented")) +} + +func (UnimplementedMysqlCtlHandler) VersionString(context.Context, *connect.Request[v19.VersionStringRequest]) (*connect.Response[v19.VersionStringResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mysqlctl.MysqlCtl.VersionString is not implemented")) +} diff --git a/gen/vitess/query/dev/query.pb.go b/gen/vitess/query/dev/query.pb.go index 885c331..0bb2d6d 100644 --- a/gen/vitess/query/dev/query.pb.go +++ b/gen/vitess/query/dev/query.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/query/dev/query.proto @@ -315,6 +315,11 @@ const ( // BITNUM specifies a base 2 binary type (unquoted varbinary). // Properties: 34, IsText. Type_BITNUM Type = 4130 + // VECTOR specifies a VECTOR type + // Properties: 35, IsQuoted. + Type_VECTOR Type = 2083 + // RAW specifies a type which won't be quoted but the value used as-is while encoding. + Type_RAW Type = 2084 ) // Enum value maps for Type. @@ -355,6 +360,8 @@ var ( 4128: "HEXNUM", 4129: "HEXVAL", 4130: "BITNUM", + 2083: "VECTOR", + 2084: "RAW", } Type_value = map[string]int32{ "NULL_TYPE": 0, @@ -392,6 +399,8 @@ var ( "HEXNUM": 4128, "HEXVAL": 4129, "BITNUM": 4130, + "VECTOR": 2083, + "RAW": 2084, } ) @@ -422,14 +431,63 @@ func (Type) EnumDescriptor() ([]byte, []int) { return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{2} } +type StartCommitState int32 + +const ( + StartCommitState_Unknown StartCommitState = 0 + StartCommitState_Fail StartCommitState = 1 + StartCommitState_Success StartCommitState = 2 +) + +// Enum value maps for StartCommitState. +var ( + StartCommitState_name = map[int32]string{ + 0: "Unknown", + 1: "Fail", + 2: "Success", + } + StartCommitState_value = map[string]int32{ + "Unknown": 0, + "Fail": 1, + "Success": 2, + } +) + +func (x StartCommitState) Enum() *StartCommitState { + p := new(StartCommitState) + *p = x + return p +} + +func (x StartCommitState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StartCommitState) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_dev_query_proto_enumTypes[3].Descriptor() +} + +func (StartCommitState) Type() protoreflect.EnumType { + return &file_vitess_query_dev_query_proto_enumTypes[3] +} + +func (x StartCommitState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use StartCommitState.Descriptor instead. +func (StartCommitState) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{3} +} + // TransactionState represents the state of a distributed transaction. type TransactionState int32 const ( TransactionState_UNKNOWN TransactionState = 0 TransactionState_PREPARE TransactionState = 1 - TransactionState_COMMIT TransactionState = 2 - TransactionState_ROLLBACK TransactionState = 3 + TransactionState_ROLLBACK TransactionState = 2 + TransactionState_COMMIT TransactionState = 3 ) // Enum value maps for TransactionState. @@ -437,14 +495,14 @@ var ( TransactionState_name = map[int32]string{ 0: "UNKNOWN", 1: "PREPARE", - 2: "COMMIT", - 3: "ROLLBACK", + 2: "ROLLBACK", + 3: "COMMIT", } TransactionState_value = map[string]int32{ "UNKNOWN": 0, "PREPARE": 1, - "COMMIT": 2, - "ROLLBACK": 3, + "ROLLBACK": 2, + "COMMIT": 3, } ) @@ -459,11 +517,11 @@ func (x TransactionState) String() string { } func (TransactionState) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[3].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[4].Descriptor() } func (TransactionState) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[3] + return &file_vitess_query_dev_query_proto_enumTypes[4] } func (x TransactionState) Number() protoreflect.EnumNumber { @@ -472,7 +530,7 @@ func (x TransactionState) Number() protoreflect.EnumNumber { // Deprecated: Use TransactionState.Descriptor instead. func (TransactionState) EnumDescriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{3} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{4} } // SchemaTableType represents the type of table requested. @@ -482,6 +540,7 @@ const ( SchemaTableType_VIEWS SchemaTableType = 0 SchemaTableType_TABLES SchemaTableType = 1 SchemaTableType_ALL SchemaTableType = 2 + SchemaTableType_UDFS SchemaTableType = 3 ) // Enum value maps for SchemaTableType. @@ -490,11 +549,13 @@ var ( 0: "VIEWS", 1: "TABLES", 2: "ALL", + 3: "UDFS", } SchemaTableType_value = map[string]int32{ "VIEWS": 0, "TABLES": 1, "ALL": 2, + "UDFS": 3, } ) @@ -509,11 +570,11 @@ func (x SchemaTableType) String() string { } func (SchemaTableType) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[4].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[5].Descriptor() } func (SchemaTableType) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[4] + return &file_vitess_query_dev_query_proto_enumTypes[5] } func (x SchemaTableType) Number() protoreflect.EnumNumber { @@ -522,7 +583,7 @@ func (x SchemaTableType) Number() protoreflect.EnumNumber { // Deprecated: Use SchemaTableType.Descriptor instead. func (SchemaTableType) EnumDescriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{4} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{5} } type ExecuteOptions_IncludedFields int32 @@ -558,11 +619,11 @@ func (x ExecuteOptions_IncludedFields) String() string { } func (ExecuteOptions_IncludedFields) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[5].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[6].Descriptor() } func (ExecuteOptions_IncludedFields) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[5] + return &file_vitess_query_dev_query_proto_enumTypes[6] } func (x ExecuteOptions_IncludedFields) Number() protoreflect.EnumNumber { @@ -610,11 +671,11 @@ func (x ExecuteOptions_Workload) String() string { } func (ExecuteOptions_Workload) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[6].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[7].Descriptor() } func (ExecuteOptions_Workload) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[6] + return &file_vitess_query_dev_query_proto_enumTypes[7] } func (x ExecuteOptions_Workload) Number() protoreflect.EnumNumber { @@ -675,11 +736,11 @@ func (x ExecuteOptions_TransactionIsolation) String() string { } func (ExecuteOptions_TransactionIsolation) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[7].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[8].Descriptor() } func (ExecuteOptions_TransactionIsolation) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[7] + return &file_vitess_query_dev_query_proto_enumTypes[8] } func (x ExecuteOptions_TransactionIsolation) Number() protoreflect.EnumNumber { @@ -739,11 +800,11 @@ func (x ExecuteOptions_PlannerVersion) String() string { } func (ExecuteOptions_PlannerVersion) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[8].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[9].Descriptor() } func (ExecuteOptions_PlannerVersion) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[8] + return &file_vitess_query_dev_query_proto_enumTypes[9] } func (x ExecuteOptions_PlannerVersion) Number() protoreflect.EnumNumber { @@ -791,11 +852,11 @@ func (x ExecuteOptions_Consolidator) String() string { } func (ExecuteOptions_Consolidator) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[9].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[10].Descriptor() } func (ExecuteOptions_Consolidator) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[9] + return &file_vitess_query_dev_query_proto_enumTypes[10] } func (x ExecuteOptions_Consolidator) Number() protoreflect.EnumNumber { @@ -840,11 +901,11 @@ func (x ExecuteOptions_TransactionAccessMode) String() string { } func (ExecuteOptions_TransactionAccessMode) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[10].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[11].Descriptor() } func (ExecuteOptions_TransactionAccessMode) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[10] + return &file_vitess_query_dev_query_proto_enumTypes[11] } func (x ExecuteOptions_TransactionAccessMode) Number() protoreflect.EnumNumber { @@ -890,11 +951,11 @@ func (x StreamEvent_Statement_Category) String() string { } func (StreamEvent_Statement_Category) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_query_dev_query_proto_enumTypes[11].Descriptor() + return file_vitess_query_dev_query_proto_enumTypes[12].Descriptor() } func (StreamEvent_Statement_Category) Type() protoreflect.EnumType { - return &file_vitess_query_dev_query_proto_enumTypes[11] + return &file_vitess_query_dev_query_proto_enumTypes[12] } func (x StreamEvent_Statement_Category) Number() protoreflect.EnumNumber { @@ -1342,6 +1403,17 @@ type ExecuteOptions struct { // priority specifies the priority of the query, between 0 and 100. This is leveraged by the transaction // throttler to determine whether, under resource contention, a query should or should not be throttled. Priority string `protobuf:"bytes,16,opt,name=priority,proto3" json:"priority,omitempty"` + // timeout specifies the query timeout in milliseconds. If not set, the default timeout is used. + // + // Types that are assignable to Timeout: + // + // *ExecuteOptions_AuthoritativeTimeout + Timeout isExecuteOptions_Timeout `protobuf_oneof:"timeout"` + // fetch_last_insert_id indicates that after executing a DML involving last_insert_id(x), + // a subsequent "SELECT last_insert_id()" should be performed to retrieve the updated value. + // This is to circumvent a bug where setting last_insert_id(x) to zero is not signaled by mysql + // https://bugs.mysql.com/bug.php?id=116939 + FetchLastInsertId bool `protobuf:"varint,18,opt,name=fetch_last_insert_id,json=fetchLastInsertId,proto3" json:"fetch_last_insert_id,omitempty"` } func (x *ExecuteOptions) Reset() { @@ -1460,6 +1532,37 @@ func (x *ExecuteOptions) GetPriority() string { return "" } +func (m *ExecuteOptions) GetTimeout() isExecuteOptions_Timeout { + if m != nil { + return m.Timeout + } + return nil +} + +func (x *ExecuteOptions) GetAuthoritativeTimeout() int64 { + if x, ok := x.GetTimeout().(*ExecuteOptions_AuthoritativeTimeout); ok { + return x.AuthoritativeTimeout + } + return 0 +} + +func (x *ExecuteOptions) GetFetchLastInsertId() bool { + if x != nil { + return x.FetchLastInsertId + } + return false +} + +type isExecuteOptions_Timeout interface { + isExecuteOptions_Timeout() +} + +type ExecuteOptions_AuthoritativeTimeout struct { + AuthoritativeTimeout int64 `protobuf:"varint,17,opt,name=authoritative_timeout,json=authoritativeTimeout,proto3,oneof"` +} + +func (*ExecuteOptions_AuthoritativeTimeout) isExecuteOptions_Timeout() {} + // Field describes a single column returned by a query type Field struct { state protoimpl.MessageState @@ -1679,6 +1782,7 @@ type QueryResult struct { Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` Info string `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"` SessionStateChanges string `protobuf:"bytes,7,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` + InsertIdChanged bool `protobuf:"varint,8,opt,name=insert_id_changed,json=insertIdChanged,proto3" json:"insert_id_changed,omitempty"` } func (x *QueryResult) Reset() { @@ -1755,6 +1859,13 @@ func (x *QueryResult) GetSessionStateChanges() string { return "" } +func (x *QueryResult) GetInsertIdChanged() bool { + if x != nil { + return x.InsertIdChanged + } + return false +} + // QueryWarning is used to convey out of band query execution warnings // by storing in the vtgate.Session type QueryWarning struct { @@ -3151,6 +3262,8 @@ type StartCommitResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + State StartCommitState `protobuf:"varint,1,opt,name=state,proto3,enum=vitess.query.dev.StartCommitState" json:"state,omitempty"` } func (x *StartCommitResponse) Reset() { @@ -3185,6 +3298,13 @@ func (*StartCommitResponse) Descriptor() ([]byte, []int) { return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{32} } +func (x *StartCommitResponse) GetState() StartCommitState { + if x != nil { + return x.State + } + return StartCommitState_Unknown +} + // SetRollbackRequest is the payload to SetRollback type SetRollbackRequest struct { state protoimpl.MessageState @@ -3535,6 +3655,126 @@ func (x *ReadTransactionResponse) GetMetadata() *TransactionMetadata { return nil } +// UnresolvedTransactionsRequest is the payload to UnresolvedTransactions +type UnresolvedTransactionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *dev1.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + AbandonAge int64 `protobuf:"varint,4,opt,name=abandon_age,json=abandonAge,proto3" json:"abandon_age,omitempty"` // Unresolved Transactions older than this (in seconds). +} + +func (x *UnresolvedTransactionsRequest) Reset() { + *x = UnresolvedTransactionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_dev_query_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnresolvedTransactionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnresolvedTransactionsRequest) ProtoMessage() {} + +func (x *UnresolvedTransactionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_dev_query_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnresolvedTransactionsRequest.ProtoReflect.Descriptor instead. +func (*UnresolvedTransactionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{39} +} + +func (x *UnresolvedTransactionsRequest) GetEffectiveCallerId() *dev1.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *UnresolvedTransactionsRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *UnresolvedTransactionsRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *UnresolvedTransactionsRequest) GetAbandonAge() int64 { + if x != nil { + return x.AbandonAge + } + return 0 +} + +// UnresolvedTransactionsResponse is the returned value from UnresolvedTransactions +type UnresolvedTransactionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transactions []*TransactionMetadata `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` +} + +func (x *UnresolvedTransactionsResponse) Reset() { + *x = UnresolvedTransactionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_dev_query_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnresolvedTransactionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnresolvedTransactionsResponse) ProtoMessage() {} + +func (x *UnresolvedTransactionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_dev_query_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnresolvedTransactionsResponse.ProtoReflect.Descriptor instead. +func (*UnresolvedTransactionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{40} +} + +func (x *UnresolvedTransactionsResponse) GetTransactions() []*TransactionMetadata { + if x != nil { + return x.Transactions + } + return nil +} + // BeginExecuteRequest is the payload to BeginExecute type BeginExecuteRequest struct { state protoimpl.MessageState @@ -3553,7 +3793,7 @@ type BeginExecuteRequest struct { func (x *BeginExecuteRequest) Reset() { *x = BeginExecuteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[39] + mi := &file_vitess_query_dev_query_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3566,7 +3806,7 @@ func (x *BeginExecuteRequest) String() string { func (*BeginExecuteRequest) ProtoMessage() {} func (x *BeginExecuteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[39] + mi := &file_vitess_query_dev_query_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3579,7 +3819,7 @@ func (x *BeginExecuteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginExecuteRequest.ProtoReflect.Descriptor instead. func (*BeginExecuteRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{39} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{41} } func (x *BeginExecuteRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -3653,7 +3893,7 @@ type BeginExecuteResponse struct { func (x *BeginExecuteResponse) Reset() { *x = BeginExecuteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[40] + mi := &file_vitess_query_dev_query_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3666,7 +3906,7 @@ func (x *BeginExecuteResponse) String() string { func (*BeginExecuteResponse) ProtoMessage() {} func (x *BeginExecuteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[40] + mi := &file_vitess_query_dev_query_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3679,7 +3919,7 @@ func (x *BeginExecuteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginExecuteResponse.ProtoReflect.Descriptor instead. func (*BeginExecuteResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{40} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{42} } func (x *BeginExecuteResponse) GetError() *dev1.RPCError { @@ -3735,7 +3975,7 @@ type BeginStreamExecuteRequest struct { func (x *BeginStreamExecuteRequest) Reset() { *x = BeginStreamExecuteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[41] + mi := &file_vitess_query_dev_query_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3748,7 +3988,7 @@ func (x *BeginStreamExecuteRequest) String() string { func (*BeginStreamExecuteRequest) ProtoMessage() {} func (x *BeginStreamExecuteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[41] + mi := &file_vitess_query_dev_query_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3761,7 +4001,7 @@ func (x *BeginStreamExecuteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginStreamExecuteRequest.ProtoReflect.Descriptor instead. func (*BeginStreamExecuteRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{41} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{43} } func (x *BeginStreamExecuteRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -3835,7 +4075,7 @@ type BeginStreamExecuteResponse struct { func (x *BeginStreamExecuteResponse) Reset() { *x = BeginStreamExecuteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[42] + mi := &file_vitess_query_dev_query_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3848,7 +4088,7 @@ func (x *BeginStreamExecuteResponse) String() string { func (*BeginStreamExecuteResponse) ProtoMessage() {} func (x *BeginStreamExecuteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[42] + mi := &file_vitess_query_dev_query_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3861,7 +4101,7 @@ func (x *BeginStreamExecuteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BeginStreamExecuteResponse.ProtoReflect.Descriptor instead. func (*BeginStreamExecuteResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{42} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{44} } func (x *BeginStreamExecuteResponse) GetError() *dev1.RPCError { @@ -3915,7 +4155,7 @@ type MessageStreamRequest struct { func (x *MessageStreamRequest) Reset() { *x = MessageStreamRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[43] + mi := &file_vitess_query_dev_query_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3928,7 +4168,7 @@ func (x *MessageStreamRequest) String() string { func (*MessageStreamRequest) ProtoMessage() {} func (x *MessageStreamRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[43] + mi := &file_vitess_query_dev_query_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3941,7 +4181,7 @@ func (x *MessageStreamRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageStreamRequest.ProtoReflect.Descriptor instead. func (*MessageStreamRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{43} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{45} } func (x *MessageStreamRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -3984,7 +4224,7 @@ type MessageStreamResponse struct { func (x *MessageStreamResponse) Reset() { *x = MessageStreamResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[44] + mi := &file_vitess_query_dev_query_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3997,7 +4237,7 @@ func (x *MessageStreamResponse) String() string { func (*MessageStreamResponse) ProtoMessage() {} func (x *MessageStreamResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[44] + mi := &file_vitess_query_dev_query_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4010,7 +4250,7 @@ func (x *MessageStreamResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageStreamResponse.ProtoReflect.Descriptor instead. func (*MessageStreamResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{44} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{46} } func (x *MessageStreamResponse) GetResult() *QueryResult { @@ -4037,7 +4277,7 @@ type MessageAckRequest struct { func (x *MessageAckRequest) Reset() { *x = MessageAckRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[45] + mi := &file_vitess_query_dev_query_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4050,7 +4290,7 @@ func (x *MessageAckRequest) String() string { func (*MessageAckRequest) ProtoMessage() {} func (x *MessageAckRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[45] + mi := &file_vitess_query_dev_query_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4063,7 +4303,7 @@ func (x *MessageAckRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageAckRequest.ProtoReflect.Descriptor instead. func (*MessageAckRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{45} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{47} } func (x *MessageAckRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -4116,7 +4356,7 @@ type MessageAckResponse struct { func (x *MessageAckResponse) Reset() { *x = MessageAckResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[46] + mi := &file_vitess_query_dev_query_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4129,7 +4369,7 @@ func (x *MessageAckResponse) String() string { func (*MessageAckResponse) ProtoMessage() {} func (x *MessageAckResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[46] + mi := &file_vitess_query_dev_query_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4142,7 +4382,7 @@ func (x *MessageAckResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageAckResponse.ProtoReflect.Descriptor instead. func (*MessageAckResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{46} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{48} } func (x *MessageAckResponse) GetResult() *QueryResult { @@ -4170,7 +4410,7 @@ type ReserveExecuteRequest struct { func (x *ReserveExecuteRequest) Reset() { *x = ReserveExecuteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[47] + mi := &file_vitess_query_dev_query_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4183,7 +4423,7 @@ func (x *ReserveExecuteRequest) String() string { func (*ReserveExecuteRequest) ProtoMessage() {} func (x *ReserveExecuteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[47] + mi := &file_vitess_query_dev_query_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4196,7 +4436,7 @@ func (x *ReserveExecuteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReserveExecuteRequest.ProtoReflect.Descriptor instead. func (*ReserveExecuteRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{47} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{49} } func (x *ReserveExecuteRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -4264,7 +4504,7 @@ type ReserveExecuteResponse struct { func (x *ReserveExecuteResponse) Reset() { *x = ReserveExecuteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[48] + mi := &file_vitess_query_dev_query_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4277,7 +4517,7 @@ func (x *ReserveExecuteResponse) String() string { func (*ReserveExecuteResponse) ProtoMessage() {} func (x *ReserveExecuteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[48] + mi := &file_vitess_query_dev_query_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4290,7 +4530,7 @@ func (x *ReserveExecuteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReserveExecuteResponse.ProtoReflect.Descriptor instead. func (*ReserveExecuteResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{48} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{50} } func (x *ReserveExecuteResponse) GetError() *dev1.RPCError { @@ -4339,7 +4579,7 @@ type ReserveStreamExecuteRequest struct { func (x *ReserveStreamExecuteRequest) Reset() { *x = ReserveStreamExecuteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[49] + mi := &file_vitess_query_dev_query_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4352,7 +4592,7 @@ func (x *ReserveStreamExecuteRequest) String() string { func (*ReserveStreamExecuteRequest) ProtoMessage() {} func (x *ReserveStreamExecuteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[49] + mi := &file_vitess_query_dev_query_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4365,7 +4605,7 @@ func (x *ReserveStreamExecuteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReserveStreamExecuteRequest.ProtoReflect.Descriptor instead. func (*ReserveStreamExecuteRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{49} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{51} } func (x *ReserveStreamExecuteRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -4433,7 +4673,7 @@ type ReserveStreamExecuteResponse struct { func (x *ReserveStreamExecuteResponse) Reset() { *x = ReserveStreamExecuteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[50] + mi := &file_vitess_query_dev_query_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4446,7 +4686,7 @@ func (x *ReserveStreamExecuteResponse) String() string { func (*ReserveStreamExecuteResponse) ProtoMessage() {} func (x *ReserveStreamExecuteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[50] + mi := &file_vitess_query_dev_query_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4459,7 +4699,7 @@ func (x *ReserveStreamExecuteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReserveStreamExecuteResponse.ProtoReflect.Descriptor instead. func (*ReserveStreamExecuteResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{50} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{52} } func (x *ReserveStreamExecuteResponse) GetError() *dev1.RPCError { @@ -4508,7 +4748,7 @@ type ReserveBeginExecuteRequest struct { func (x *ReserveBeginExecuteRequest) Reset() { *x = ReserveBeginExecuteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[51] + mi := &file_vitess_query_dev_query_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4521,7 +4761,7 @@ func (x *ReserveBeginExecuteRequest) String() string { func (*ReserveBeginExecuteRequest) ProtoMessage() {} func (x *ReserveBeginExecuteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[51] + mi := &file_vitess_query_dev_query_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4534,7 +4774,7 @@ func (x *ReserveBeginExecuteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReserveBeginExecuteRequest.ProtoReflect.Descriptor instead. func (*ReserveBeginExecuteRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{51} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{53} } func (x *ReserveBeginExecuteRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -4609,7 +4849,7 @@ type ReserveBeginExecuteResponse struct { func (x *ReserveBeginExecuteResponse) Reset() { *x = ReserveBeginExecuteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[52] + mi := &file_vitess_query_dev_query_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4622,7 +4862,7 @@ func (x *ReserveBeginExecuteResponse) String() string { func (*ReserveBeginExecuteResponse) ProtoMessage() {} func (x *ReserveBeginExecuteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[52] + mi := &file_vitess_query_dev_query_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4635,7 +4875,7 @@ func (x *ReserveBeginExecuteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReserveBeginExecuteResponse.ProtoReflect.Descriptor instead. func (*ReserveBeginExecuteResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{52} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{54} } func (x *ReserveBeginExecuteResponse) GetError() *dev1.RPCError { @@ -4698,7 +4938,7 @@ type ReserveBeginStreamExecuteRequest struct { func (x *ReserveBeginStreamExecuteRequest) Reset() { *x = ReserveBeginStreamExecuteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[53] + mi := &file_vitess_query_dev_query_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4711,7 +4951,7 @@ func (x *ReserveBeginStreamExecuteRequest) String() string { func (*ReserveBeginStreamExecuteRequest) ProtoMessage() {} func (x *ReserveBeginStreamExecuteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[53] + mi := &file_vitess_query_dev_query_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4724,7 +4964,7 @@ func (x *ReserveBeginStreamExecuteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReserveBeginStreamExecuteRequest.ProtoReflect.Descriptor instead. func (*ReserveBeginStreamExecuteRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{53} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{55} } func (x *ReserveBeginStreamExecuteRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -4799,7 +5039,7 @@ type ReserveBeginStreamExecuteResponse struct { func (x *ReserveBeginStreamExecuteResponse) Reset() { *x = ReserveBeginStreamExecuteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[54] + mi := &file_vitess_query_dev_query_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4812,7 +5052,7 @@ func (x *ReserveBeginStreamExecuteResponse) String() string { func (*ReserveBeginStreamExecuteResponse) ProtoMessage() {} func (x *ReserveBeginStreamExecuteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[54] + mi := &file_vitess_query_dev_query_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4825,7 +5065,7 @@ func (x *ReserveBeginStreamExecuteResponse) ProtoReflect() protoreflect.Message // Deprecated: Use ReserveBeginStreamExecuteResponse.ProtoReflect.Descriptor instead. func (*ReserveBeginStreamExecuteResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{54} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{56} } func (x *ReserveBeginStreamExecuteResponse) GetError() *dev1.RPCError { @@ -4886,7 +5126,7 @@ type ReleaseRequest struct { func (x *ReleaseRequest) Reset() { *x = ReleaseRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[55] + mi := &file_vitess_query_dev_query_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4899,7 +5139,7 @@ func (x *ReleaseRequest) String() string { func (*ReleaseRequest) ProtoMessage() {} func (x *ReleaseRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[55] + mi := &file_vitess_query_dev_query_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4912,7 +5152,7 @@ func (x *ReleaseRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReleaseRequest.ProtoReflect.Descriptor instead. func (*ReleaseRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{55} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{57} } func (x *ReleaseRequest) GetEffectiveCallerId() *dev1.CallerID { @@ -4960,7 +5200,7 @@ type ReleaseResponse struct { func (x *ReleaseResponse) Reset() { *x = ReleaseResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[56] + mi := &file_vitess_query_dev_query_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4973,7 +5213,7 @@ func (x *ReleaseResponse) String() string { func (*ReleaseResponse) ProtoMessage() {} func (x *ReleaseResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[56] + mi := &file_vitess_query_dev_query_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4986,7 +5226,7 @@ func (x *ReleaseResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReleaseResponse.ProtoReflect.Descriptor instead. func (*ReleaseResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{56} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{58} } // StreamHealthRequest is the payload for StreamHealth @@ -4999,7 +5239,7 @@ type StreamHealthRequest struct { func (x *StreamHealthRequest) Reset() { *x = StreamHealthRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[57] + mi := &file_vitess_query_dev_query_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5012,7 +5252,7 @@ func (x *StreamHealthRequest) String() string { func (*StreamHealthRequest) ProtoMessage() {} func (x *StreamHealthRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[57] + mi := &file_vitess_query_dev_query_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5025,7 +5265,7 @@ func (x *StreamHealthRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamHealthRequest.ProtoReflect.Descriptor instead. func (*StreamHealthRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{57} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{59} } // RealtimeStats contains information about the tablet status. @@ -5066,12 +5306,15 @@ type RealtimeStats struct { TableSchemaChanged []string `protobuf:"bytes,7,rep,name=table_schema_changed,json=tableSchemaChanged,proto3" json:"table_schema_changed,omitempty"` // view_schema_changed is to provide list of views that have schema changes detected by the tablet. ViewSchemaChanged []string `protobuf:"bytes,8,rep,name=view_schema_changed,json=viewSchemaChanged,proto3" json:"view_schema_changed,omitempty"` + // udfs_changed is used to signal that the UDFs have changed on the tablet. + UdfsChanged bool `protobuf:"varint,9,opt,name=udfs_changed,json=udfsChanged,proto3" json:"udfs_changed,omitempty"` + TxUnresolved bool `protobuf:"varint,10,opt,name=tx_unresolved,json=txUnresolved,proto3" json:"tx_unresolved,omitempty"` } func (x *RealtimeStats) Reset() { *x = RealtimeStats{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[58] + mi := &file_vitess_query_dev_query_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5084,7 +5327,7 @@ func (x *RealtimeStats) String() string { func (*RealtimeStats) ProtoMessage() {} func (x *RealtimeStats) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[58] + mi := &file_vitess_query_dev_query_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5097,7 +5340,7 @@ func (x *RealtimeStats) ProtoReflect() protoreflect.Message { // Deprecated: Use RealtimeStats.ProtoReflect.Descriptor instead. func (*RealtimeStats) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{58} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{60} } func (x *RealtimeStats) GetHealthError() string { @@ -5156,6 +5399,20 @@ func (x *RealtimeStats) GetViewSchemaChanged() []string { return nil } +func (x *RealtimeStats) GetUdfsChanged() bool { + if x != nil { + return x.UdfsChanged + } + return false +} + +func (x *RealtimeStats) GetTxUnresolved() bool { + if x != nil { + return x.TxUnresolved + } + return false +} + // AggregateStats contains information about the health of a group of // tablets for a Target. It is used to propagate stats from a vtgate // to another, or from the Gateway layer of a vtgate to the routing @@ -5182,7 +5439,7 @@ type AggregateStats struct { func (x *AggregateStats) Reset() { *x = AggregateStats{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[59] + mi := &file_vitess_query_dev_query_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5195,7 +5452,7 @@ func (x *AggregateStats) String() string { func (*AggregateStats) ProtoMessage() {} func (x *AggregateStats) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[59] + mi := &file_vitess_query_dev_query_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5208,7 +5465,7 @@ func (x *AggregateStats) ProtoReflect() protoreflect.Message { // Deprecated: Use AggregateStats.ProtoReflect.Descriptor instead. func (*AggregateStats) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{59} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{61} } func (x *AggregateStats) GetHealthyTabletCount() int32 { @@ -5302,7 +5559,7 @@ type StreamHealthResponse struct { func (x *StreamHealthResponse) Reset() { *x = StreamHealthResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[60] + mi := &file_vitess_query_dev_query_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5315,7 +5572,7 @@ func (x *StreamHealthResponse) String() string { func (*StreamHealthResponse) ProtoMessage() {} func (x *StreamHealthResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[60] + mi := &file_vitess_query_dev_query_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5328,7 +5585,7 @@ func (x *StreamHealthResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamHealthResponse.ProtoReflect.Descriptor instead. func (*StreamHealthResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{60} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{62} } func (x *StreamHealthResponse) GetTarget() *Target { @@ -5381,7 +5638,7 @@ type TransactionMetadata struct { func (x *TransactionMetadata) Reset() { *x = TransactionMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[61] + mi := &file_vitess_query_dev_query_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5394,7 +5651,7 @@ func (x *TransactionMetadata) String() string { func (*TransactionMetadata) ProtoMessage() {} func (x *TransactionMetadata) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[61] + mi := &file_vitess_query_dev_query_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5407,7 +5664,7 @@ func (x *TransactionMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionMetadata.ProtoReflect.Descriptor instead. func (*TransactionMetadata) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{61} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{63} } func (x *TransactionMetadata) GetDtid() string { @@ -5452,7 +5709,7 @@ type GetSchemaRequest struct { func (x *GetSchemaRequest) Reset() { *x = GetSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[62] + mi := &file_vitess_query_dev_query_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5465,7 +5722,7 @@ func (x *GetSchemaRequest) String() string { func (*GetSchemaRequest) ProtoMessage() {} func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[62] + mi := &file_vitess_query_dev_query_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5478,7 +5735,7 @@ func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. func (*GetSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{62} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{64} } func (x *GetSchemaRequest) GetTarget() *Target { @@ -5502,20 +5759,85 @@ func (x *GetSchemaRequest) GetTableNames() []string { return nil } +// UDFInfo represents the information about a UDF. +type UDFInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Aggregating bool `protobuf:"varint,2,opt,name=aggregating,proto3" json:"aggregating,omitempty"` + ReturnType Type `protobuf:"varint,3,opt,name=return_type,json=returnType,proto3,enum=vitess.query.dev.Type" json:"return_type,omitempty"` +} + +func (x *UDFInfo) Reset() { + *x = UDFInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_dev_query_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UDFInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UDFInfo) ProtoMessage() {} + +func (x *UDFInfo) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_dev_query_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UDFInfo.ProtoReflect.Descriptor instead. +func (*UDFInfo) Descriptor() ([]byte, []int) { + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{65} +} + +func (x *UDFInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *UDFInfo) GetAggregating() bool { + if x != nil { + return x.Aggregating + } + return false +} + +func (x *UDFInfo) GetReturnType() Type { + if x != nil { + return x.ReturnType + } + return Type_NULL_TYPE +} + // GetSchemaResponse is the returned value from GetSchema type GetSchemaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // this is for the schema definition for the requested tables. + Udfs []*UDFInfo `protobuf:"bytes,1,rep,name=udfs,proto3" json:"udfs,omitempty"` + // this is for the schema definition for the requested tables and views. TableDefinition map[string]string `protobuf:"bytes,2,rep,name=table_definition,json=tableDefinition,proto3" json:"table_definition,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *GetSchemaResponse) Reset() { *x = GetSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[63] + mi := &file_vitess_query_dev_query_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5528,7 +5850,7 @@ func (x *GetSchemaResponse) String() string { func (*GetSchemaResponse) ProtoMessage() {} func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[63] + mi := &file_vitess_query_dev_query_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5541,7 +5863,14 @@ func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead. func (*GetSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{63} + return file_vitess_query_dev_query_proto_rawDescGZIP(), []int{66} +} + +func (x *GetSchemaResponse) GetUdfs() []*UDFInfo { + if x != nil { + return x.Udfs + } + return nil } func (x *GetSchemaResponse) GetTableDefinition() map[string]string { @@ -5570,7 +5899,7 @@ type StreamEvent_Statement struct { func (x *StreamEvent_Statement) Reset() { *x = StreamEvent_Statement{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_query_dev_query_proto_msgTypes[65] + mi := &file_vitess_query_dev_query_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5583,7 +5912,7 @@ func (x *StreamEvent_Statement) String() string { func (*StreamEvent_Statement) ProtoMessage() {} func (x *StreamEvent_Statement) ProtoReflect() protoreflect.Message { - mi := &file_vitess_query_dev_query_proto_msgTypes[65] + mi := &file_vitess_query_dev_query_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5690,7 +6019,7 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0xda, 0x0b, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, + 0x02, 0x38, 0x01, 0x22, 0xcd, 0x0c, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, @@ -5742,297 +6071,201 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x22, 0x3b, 0x0a, 0x0e, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x4e, - 0x41, 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, - 0x4c, 0x59, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x22, 0x38, 0x0a, - 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x4c, - 0x54, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x4c, 0x41, 0x50, 0x10, 0x02, 0x12, 0x07, - 0x0a, 0x03, 0x44, 0x42, 0x41, 0x10, 0x03, 0x22, 0xa7, 0x01, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x13, 0x0a, - 0x0f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, - 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, - 0x54, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x55, - 0x4e, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, - 0x53, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x21, - 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x4e, 0x41, - 0x50, 0x53, 0x48, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, - 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x4f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, - 0x06, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, - 0x50, 0x4c, 0x41, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x56, 0x33, 0x10, - 0x01, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x65, 0x6e, 0x34, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x47, - 0x65, 0x6e, 0x34, 0x47, 0x72, 0x65, 0x65, 0x64, 0x79, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x47, - 0x65, 0x6e, 0x34, 0x4c, 0x65, 0x66, 0x74, 0x32, 0x52, 0x69, 0x67, 0x68, 0x74, 0x10, 0x04, 0x12, - 0x14, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x34, 0x57, 0x69, 0x74, 0x68, 0x46, 0x61, 0x6c, 0x6c, 0x62, - 0x61, 0x63, 0x6b, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x65, 0x6e, 0x34, 0x43, 0x6f, 0x6d, - 0x70, 0x61, 0x72, 0x65, 0x56, 0x33, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x33, 0x49, 0x6e, - 0x73, 0x65, 0x72, 0x74, 0x10, 0x07, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x73, 0x6f, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4e, 0x53, 0x4f, - 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x49, - 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, - 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, - 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, - 0x4e, 0x53, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, - 0x45, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x53, 0x10, 0x03, 0x22, 0x4f, 0x0a, - 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, - 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x00, 0x12, - 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, - 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x4a, 0x04, - 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, - 0x22, 0xc3, 0x02, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x72, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x72, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x67, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6c, - 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, - 0x72, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, - 0x73, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, - 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, - 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x37, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x18, 0x0a, - 0x07, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x12, 0x52, 0x07, - 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, - 0xf9, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, - 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, - 0x49, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x3c, 0x0a, 0x0c, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xd7, 0x03, 0x0a, 0x0b, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x1a, 0xbf, 0x02, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x4c, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, - 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, - 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x12, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, - 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, - 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x22, 0x27, 0x0a, 0x08, 0x43, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, - 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4d, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x44, - 0x4c, 0x10, 0x02, 0x22, 0x98, 0x03, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, - 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, - 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, - 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, - 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0x48, - 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x7a, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x57, 0x69, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, - 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9e, 0x03, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, - 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, - 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, - 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, - 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, - 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, + 0x12, 0x35, 0x0a, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x48, + 0x00, 0x52, 0x14, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x65, 0x74, 0x63, 0x68, + 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x66, 0x65, 0x74, 0x63, 0x68, 0x4c, 0x61, 0x73, 0x74, + 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x0e, 0x49, 0x6e, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, + 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, + 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x22, 0x38, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x4c, 0x54, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, + 0x4f, 0x4c, 0x41, 0x50, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x42, 0x41, 0x10, 0x03, 0x22, + 0xa7, 0x01, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, + 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x41, + 0x42, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, + 0x41, 0x44, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x14, + 0x0a, 0x10, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x55, 0x4e, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, + 0x45, 0x44, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49, 0x5a, + 0x41, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, + 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x5f, 0x52, 0x45, + 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, + 0x4f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x06, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x50, 0x6c, + 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, + 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x4e, 0x45, 0x52, 0x10, + 0x00, 0x12, 0x06, 0x0a, 0x02, 0x56, 0x33, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x65, 0x6e, + 0x34, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x65, 0x6e, 0x34, 0x47, 0x72, 0x65, 0x65, 0x64, + 0x79, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x34, 0x4c, 0x65, 0x66, 0x74, 0x32, + 0x52, 0x69, 0x67, 0x68, 0x74, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x34, 0x57, + 0x69, 0x74, 0x68, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x10, 0x05, 0x12, 0x11, 0x0a, + 0x0d, 0x47, 0x65, 0x6e, 0x34, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x56, 0x33, 0x10, 0x06, + 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x33, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x10, 0x07, 0x22, 0x84, + 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, + 0x15, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x44, 0x49, + 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4e, 0x53, + 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, + 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, + 0x4f, 0x52, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, + 0x43, 0x41, 0x53, 0x10, 0x03, 0x22, 0x4f, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x17, + 0x0a, 0x13, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x4e, 0x41, + 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x41, 0x44, 0x5f, + 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, 0x5f, + 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, + 0x03, 0x10, 0x04, 0x22, 0xc3, 0x02, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x72, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x72, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, + 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, + 0x6c, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, + 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x37, 0x0a, 0x03, 0x52, 0x6f, 0x77, + 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x12, 0x52, 0x07, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x22, 0xa5, 0x02, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73, + 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x65, + 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x6e, 0x73, + 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x73, 0x65, + 0x72, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x49, 0x64, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x3c, 0x0a, 0x0c, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xd7, 0x03, 0x0a, 0x0b, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, - 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x1a, 0xbf, 0x02, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4c, + 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, + 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x12, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x52, 0x10, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, + 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9a, 0x02, 0x0a, 0x0c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, - 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, - 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, - 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x0d, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x73, 0x22, 0x86, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, - 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, - 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, - 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x31, 0x0a, - 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, - 0x22, 0x88, 0x02, 0x0a, 0x0f, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, - 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x10, 0x52, - 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, - 0x22, 0x9b, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, - 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x76, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, + 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x22, 0x27, 0x0a, 0x08, 0x43, 0x61, 0x74, + 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, + 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4d, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x44, 0x4c, + 0x10, 0x02, 0x22, 0x98, 0x03, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, + 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0x48, 0x0a, + 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x7a, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x57, 0x69, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, - 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x11, - 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0xfb, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, - 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, - 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, - 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, - 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x74, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, - 0x18, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa4, 0x02, 0x0a, 0x17, 0x52, 0x6f, - 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x22, 0x9e, 0x03, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, + 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, + 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x64, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9a, 0x02, 0x0a, 0x0c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, @@ -6046,55 +6279,120 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x64, 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, - 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, - 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbc, 0x02, 0x0a, - 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, - 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, - 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, - 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x3c, 0x0a, - 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0c, 0x70, - 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9f, 0x02, 0x0a, 0x12, 0x53, 0x74, 0x61, - 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, - 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, - 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, - 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x0d, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x22, 0x86, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, + 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x0e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, + 0x88, 0x02, 0x0a, 0x0f, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x10, 0x52, 0x6f, + 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, + 0x9b, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, + 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, + 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x11, 0x0a, + 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xfb, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, + 0x72, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x18, + 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa4, 0x02, 0x0a, 0x17, 0x52, 0x6f, 0x6c, + 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, - 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, - 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x9f, 0x02, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, + 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, + 0x1a, 0x0a, 0x18, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, 0x61, + 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbc, 0x02, 0x0a, 0x18, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, @@ -6107,14 +6405,231 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, - 0x74, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, - 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x1a, 0x43, - 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x3c, 0x0a, 0x0c, + 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0c, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9f, 0x02, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, + 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, + 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, + 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, + 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, + 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x4f, 0x0a, 0x13, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x9f, 0x02, 0x0a, 0x12, 0x53, + 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, + 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, + 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, + 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, + 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, + 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, + 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xfc, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, + 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, + 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, + 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x64, 0x74, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x17, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x22, 0x90, 0x02, 0x0a, 0x1d, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, + 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x5f, + 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x62, 0x61, 0x6e, 0x64, + 0x6f, 0x6e, 0x41, 0x67, 0x65, 0x22, 0x6b, 0x0a, 0x1e, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, + 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x97, 0x03, 0x0a, 0x13, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, + 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, + 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0x9f, 0x02, 0x0a, + 0x14, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, + 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x9d, + 0x03, 0x0a, 0x19, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, + 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0xa5, + 0x02, 0x0a, 0x1a, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xfa, 0x01, 0x0a, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x22, 0xa2, 0x02, 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, @@ -6127,33 +6642,58 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x1d, 0x0a, - 0x1b, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xfc, 0x01, 0x0a, - 0x16, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, - 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, - 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x17, 0x52, - 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x97, 0x03, 0x0a, 0x13, 0x42, 0x65, - 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, + 0x03, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x4b, 0x0a, 0x12, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, + 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9f, 0x03, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, + 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xa5, 0x03, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, @@ -6174,118 +6714,75 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, - 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, - 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, - 0x69, 0x65, 0x73, 0x22, 0x9f, 0x02, 0x0a, 0x14, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, - 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x9d, 0x03, 0x0a, 0x19, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, - 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, + 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, + 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x1c, 0x52, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, - 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, - 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, - 0x72, 0x69, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0xa5, 0x02, 0x0a, 0x1a, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, - 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, - 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xfa, 0x01, - 0x0a, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, - 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, - 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, - 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x15, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa2, 0x02, 0x0a, 0x11, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, - 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, - 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, - 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, - 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, - 0x4b, 0x0a, 0x12, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9f, 0x03, 0x0a, - 0x15, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0xab, 0x03, 0x0a, 0x1a, 0x52, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, + 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, + 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, + 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, + 0x74, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, + 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc7, 0x02, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, + 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x22, 0xb1, 0x03, 0x0a, 0x20, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, + 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, @@ -6302,31 +6799,37 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xe7, - 0x01, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, - 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xa5, 0x03, 0x0a, 0x1b, 0x52, 0x65, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, + 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x5f, + 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x51, 0x75, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xcd, 0x02, 0x0a, 0x21, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, + 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xa8, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, @@ -6340,317 +6843,201 @@ var file_vitess_query_dev_query_proto_rawDesc = []byte{ 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, - 0x22, 0xed, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xab, 0x03, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, - 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, - 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, - 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, - 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, - 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, - 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x71, - 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6f, - 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc7, - 0x02, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, - 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, - 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xb1, 0x03, 0x0a, 0x20, 0x52, 0x65, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, - 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, - 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, - 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, - 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, - 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, - 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x71, 0x75, 0x65, - 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x74, - 0x42, 0x65, 0x67, 0x69, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xcd, 0x02, 0x0a, - 0x21, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, - 0x69, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xa8, 0x02, 0x0a, - 0x0e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, - 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, - 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, - 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, - 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0xf6, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, + 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xbe, 0x03, 0x0a, 0x0d, 0x52, + 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, + 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, + 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, + 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x20, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x1d, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x63, 0x70, 0x75, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x10, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x71, 0x70, + 0x73, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x11, 0x76, 0x69, 0x65, 0x77, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x64, 0x66, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x64, 0x66, 0x73, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x78, 0x5f, 0x75, 0x6e, 0x72, + 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x74, + 0x78, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x0e, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x30, + 0x0a, 0x14, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x68, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x34, 0x0a, 0x16, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x14, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x30, - 0x0a, 0x14, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, - 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x62, 0x69, - 0x6e, 0x6c, 0x6f, 0x67, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x47, 0x0a, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, - 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, - 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x63, 0x70, - 0x75, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x01, 0x52, 0x03, 0x71, 0x70, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x76, 0x69, - 0x65, 0x77, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x64, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x76, 0x69, 0x65, 0x77, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x0e, 0x41, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x30, 0x0a, - 0x14, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x68, 0x65, 0x61, - 0x6c, 0x74, 0x68, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x34, 0x0a, 0x16, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x14, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x4d, 0x69, 0x6e, 0x12, 0x3d, 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, - 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x72, 0x65, 0x70, 0x6c, + 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 0x4d, 0x69, 0x6e, 0x12, 0x3d, 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x5f, - 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, - 0x4d, 0x61, 0x78, 0x22, 0xb6, 0x02, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, - 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x72, 0x65, 0x61, - 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0xc4, 0x01, 0x0a, - 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, - 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, - 0x6e, 0x74, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xbc, 0x01, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x66, - 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, + 0x73, 0x4d, 0x61, 0x78, 0x22, 0xb6, 0x02, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, - 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x42, 0x0a, 0x14, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x92, 0x03, 0x0a, - 0x09, 0x4d, 0x79, 0x53, 0x71, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, - 0x50, 0x54, 0x59, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x4f, 0x54, 0x5f, 0x4e, 0x55, 0x4c, - 0x4c, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x49, 0x5f, - 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e, - 0x49, 0x51, 0x55, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x04, 0x12, - 0x15, 0x0a, 0x11, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x5f, - 0x46, 0x4c, 0x41, 0x47, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, 0x4f, 0x42, 0x5f, 0x46, - 0x4c, 0x41, 0x47, 0x10, 0x10, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x53, 0x49, 0x47, 0x4e, 0x45, - 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x20, 0x12, 0x11, 0x0a, 0x0d, 0x5a, 0x45, 0x52, 0x4f, - 0x46, 0x49, 0x4c, 0x4c, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x40, 0x12, 0x10, 0x0a, 0x0b, 0x42, - 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x01, 0x12, 0x0e, 0x0a, - 0x09, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x02, 0x12, 0x18, 0x0a, - 0x13, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x49, 0x4e, 0x43, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, - 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x04, 0x12, 0x13, 0x0a, 0x0e, 0x54, 0x49, 0x4d, 0x45, 0x53, - 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x08, 0x12, 0x0d, 0x0a, 0x08, - 0x53, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x10, 0x12, 0x1a, 0x0a, 0x15, 0x4e, - 0x4f, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, - 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x20, 0x12, 0x17, 0x0a, 0x12, 0x4f, 0x4e, 0x5f, 0x55, 0x50, - 0x44, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x57, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x40, - 0x12, 0x0e, 0x0a, 0x08, 0x4e, 0x55, 0x4d, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x02, - 0x12, 0x13, 0x0a, 0x0d, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, - 0x47, 0x10, 0x80, 0x80, 0x01, 0x12, 0x10, 0x0a, 0x0a, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x46, - 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x02, 0x12, 0x11, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x51, 0x55, - 0x45, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x04, 0x12, 0x11, 0x0a, 0x0b, 0x42, 0x49, - 0x4e, 0x43, 0x4d, 0x50, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x08, 0x1a, 0x02, 0x10, - 0x01, 0x2a, 0x6b, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, - 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0a, 0x49, 0x53, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x52, 0x41, - 0x4c, 0x10, 0x80, 0x02, 0x12, 0x0f, 0x0a, 0x0a, 0x49, 0x53, 0x55, 0x4e, 0x53, 0x49, 0x47, 0x4e, - 0x45, 0x44, 0x10, 0x80, 0x04, 0x12, 0x0c, 0x0a, 0x07, 0x49, 0x53, 0x46, 0x4c, 0x4f, 0x41, 0x54, - 0x10, 0x80, 0x08, 0x12, 0x0d, 0x0a, 0x08, 0x49, 0x53, 0x51, 0x55, 0x4f, 0x54, 0x45, 0x44, 0x10, - 0x80, 0x10, 0x12, 0x0b, 0x0a, 0x06, 0x49, 0x53, 0x54, 0x45, 0x58, 0x54, 0x10, 0x80, 0x20, 0x12, - 0x0d, 0x0a, 0x08, 0x49, 0x53, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x80, 0x40, 0x2a, 0xc0, - 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x81, - 0x02, 0x12, 0x0a, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x82, 0x06, 0x12, 0x0a, 0x0a, - 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x83, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, - 0x54, 0x31, 0x36, 0x10, 0x84, 0x06, 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x32, 0x34, 0x10, - 0x85, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x32, 0x34, 0x10, 0x86, 0x06, 0x12, - 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x87, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, - 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x88, 0x06, 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, - 0x34, 0x10, 0x89, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x8a, - 0x06, 0x12, 0x0c, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x8b, 0x08, 0x12, - 0x0c, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x8c, 0x08, 0x12, 0x0e, 0x0a, - 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x8d, 0x10, 0x12, 0x09, 0x0a, - 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x8e, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, - 0x10, 0x8f, 0x10, 0x12, 0x0d, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, - 0x90, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x59, 0x45, 0x41, 0x52, 0x10, 0x91, 0x06, 0x12, 0x0b, 0x0a, - 0x07, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x10, 0x12, 0x12, 0x09, 0x0a, 0x04, 0x54, 0x45, - 0x58, 0x54, 0x10, 0x93, 0x30, 0x12, 0x09, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x94, 0x50, - 0x12, 0x0c, 0x0a, 0x07, 0x56, 0x41, 0x52, 0x43, 0x48, 0x41, 0x52, 0x10, 0x95, 0x30, 0x12, 0x0e, - 0x0a, 0x09, 0x56, 0x41, 0x52, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x96, 0x50, 0x12, 0x09, - 0x0a, 0x04, 0x43, 0x48, 0x41, 0x52, 0x10, 0x97, 0x30, 0x12, 0x0b, 0x0a, 0x06, 0x42, 0x49, 0x4e, - 0x41, 0x52, 0x59, 0x10, 0x98, 0x50, 0x12, 0x08, 0x0a, 0x03, 0x42, 0x49, 0x54, 0x10, 0x99, 0x10, - 0x12, 0x09, 0x0a, 0x04, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x9a, 0x10, 0x12, 0x08, 0x0a, 0x03, 0x53, - 0x45, 0x54, 0x10, 0x9b, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x55, 0x50, 0x4c, 0x45, 0x10, 0x1c, - 0x12, 0x0d, 0x0a, 0x08, 0x47, 0x45, 0x4f, 0x4d, 0x45, 0x54, 0x52, 0x59, 0x10, 0x9d, 0x10, 0x12, - 0x09, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x9e, 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x58, - 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0b, 0x0a, 0x06, 0x48, 0x45, - 0x58, 0x4e, 0x55, 0x4d, 0x10, 0xa0, 0x20, 0x12, 0x0b, 0x0a, 0x06, 0x48, 0x45, 0x58, 0x56, 0x41, - 0x4c, 0x10, 0xa1, 0x20, 0x12, 0x0b, 0x0a, 0x06, 0x42, 0x49, 0x54, 0x4e, 0x55, 0x4d, 0x10, 0xa2, - 0x20, 0x2a, 0x46, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, - 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, - 0x4f, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03, 0x2a, 0x31, 0x0a, 0x0f, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, - 0x56, 0x49, 0x45, 0x57, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x41, 0x42, 0x4c, 0x45, - 0x53, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x42, 0x43, 0x5a, 0x41, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, - 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x64, 0x65, - 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x19, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x72, 0x65, + 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0xc4, 0x01, + 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x78, + 0x0a, 0x07, 0x55, 0x44, 0x46, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, + 0x37, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0xeb, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, + 0x0a, 0x04, 0x75, 0x64, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x55, 0x44, 0x46, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, 0x64, 0x66, 0x73, 0x12, 0x63, 0x0a, + 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x1a, 0x42, 0x0a, 0x14, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x92, 0x03, 0x0a, 0x09, 0x4d, 0x79, 0x53, 0x71, 0x6c, + 0x46, 0x6c, 0x61, 0x67, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x00, 0x12, + 0x11, 0x0a, 0x0d, 0x4e, 0x4f, 0x54, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x46, 0x4c, 0x41, 0x47, + 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, + 0x41, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x5f, 0x4b, + 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x55, 0x4c, + 0x54, 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x08, + 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, 0x4f, 0x42, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x10, 0x12, + 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, + 0x10, 0x20, 0x12, 0x11, 0x0a, 0x0d, 0x5a, 0x45, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x4c, 0x5f, 0x46, + 0x4c, 0x41, 0x47, 0x10, 0x40, 0x12, 0x10, 0x0a, 0x0b, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, + 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x01, 0x12, 0x0e, 0x0a, 0x09, 0x45, 0x4e, 0x55, 0x4d, 0x5f, + 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x02, 0x12, 0x18, 0x0a, 0x13, 0x41, 0x55, 0x54, 0x4f, 0x5f, + 0x49, 0x4e, 0x43, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, + 0x04, 0x12, 0x13, 0x0a, 0x0e, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x46, + 0x4c, 0x41, 0x47, 0x10, 0x80, 0x08, 0x12, 0x0d, 0x0a, 0x08, 0x53, 0x45, 0x54, 0x5f, 0x46, 0x4c, + 0x41, 0x47, 0x10, 0x80, 0x10, 0x12, 0x1a, 0x0a, 0x15, 0x4e, 0x4f, 0x5f, 0x44, 0x45, 0x46, 0x41, + 0x55, 0x4c, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, + 0x20, 0x12, 0x17, 0x0a, 0x12, 0x4f, 0x4e, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x4e, + 0x4f, 0x57, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x40, 0x12, 0x0e, 0x0a, 0x08, 0x4e, 0x55, + 0x4d, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x02, 0x12, 0x13, 0x0a, 0x0d, 0x50, 0x41, + 0x52, 0x54, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x01, 0x12, + 0x10, 0x0a, 0x0a, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, + 0x02, 0x12, 0x11, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x5f, 0x46, 0x4c, 0x41, 0x47, + 0x10, 0x80, 0x80, 0x04, 0x12, 0x11, 0x0a, 0x0b, 0x42, 0x49, 0x4e, 0x43, 0x4d, 0x50, 0x5f, 0x46, + 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x08, 0x1a, 0x02, 0x10, 0x01, 0x2a, 0x6b, 0x0a, 0x04, 0x46, + 0x6c, 0x61, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, + 0x0a, 0x49, 0x53, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x52, 0x41, 0x4c, 0x10, 0x80, 0x02, 0x12, 0x0f, + 0x0a, 0x0a, 0x49, 0x53, 0x55, 0x4e, 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x80, 0x04, 0x12, + 0x0c, 0x0a, 0x07, 0x49, 0x53, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x80, 0x08, 0x12, 0x0d, 0x0a, + 0x08, 0x49, 0x53, 0x51, 0x55, 0x4f, 0x54, 0x45, 0x44, 0x10, 0x80, 0x10, 0x12, 0x0b, 0x0a, 0x06, + 0x49, 0x53, 0x54, 0x45, 0x58, 0x54, 0x10, 0x80, 0x20, 0x12, 0x0d, 0x0a, 0x08, 0x49, 0x53, 0x42, + 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x80, 0x40, 0x2a, 0xd7, 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, + 0x12, 0x09, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x81, 0x02, 0x12, 0x0a, 0x0a, 0x05, 0x55, + 0x49, 0x4e, 0x54, 0x38, 0x10, 0x82, 0x06, 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, + 0x10, 0x83, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x84, 0x06, + 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x32, 0x34, 0x10, 0x85, 0x02, 0x12, 0x0b, 0x0a, 0x06, + 0x55, 0x49, 0x4e, 0x54, 0x32, 0x34, 0x10, 0x86, 0x06, 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, + 0x33, 0x32, 0x10, 0x87, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, + 0x88, 0x06, 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x89, 0x02, 0x12, 0x0b, + 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x8a, 0x06, 0x12, 0x0c, 0x0a, 0x07, 0x46, + 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x8b, 0x08, 0x12, 0x0c, 0x0a, 0x07, 0x46, 0x4c, 0x4f, + 0x41, 0x54, 0x36, 0x34, 0x10, 0x8c, 0x08, 0x12, 0x0e, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, + 0x54, 0x41, 0x4d, 0x50, 0x10, 0x8d, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, + 0x8e, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x8f, 0x10, 0x12, 0x0d, 0x0a, + 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x90, 0x10, 0x12, 0x09, 0x0a, 0x04, + 0x59, 0x45, 0x41, 0x52, 0x10, 0x91, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x43, 0x49, 0x4d, + 0x41, 0x4c, 0x10, 0x12, 0x12, 0x09, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x93, 0x30, 0x12, + 0x09, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x94, 0x50, 0x12, 0x0c, 0x0a, 0x07, 0x56, 0x41, + 0x52, 0x43, 0x48, 0x41, 0x52, 0x10, 0x95, 0x30, 0x12, 0x0e, 0x0a, 0x09, 0x56, 0x41, 0x52, 0x42, + 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x96, 0x50, 0x12, 0x09, 0x0a, 0x04, 0x43, 0x48, 0x41, 0x52, + 0x10, 0x97, 0x30, 0x12, 0x0b, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x98, 0x50, + 0x12, 0x08, 0x0a, 0x03, 0x42, 0x49, 0x54, 0x10, 0x99, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x45, 0x4e, + 0x55, 0x4d, 0x10, 0x9a, 0x10, 0x12, 0x08, 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x9b, 0x10, 0x12, + 0x09, 0x0a, 0x05, 0x54, 0x55, 0x50, 0x4c, 0x45, 0x10, 0x1c, 0x12, 0x0d, 0x0a, 0x08, 0x47, 0x45, + 0x4f, 0x4d, 0x45, 0x54, 0x52, 0x59, 0x10, 0x9d, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x4a, 0x53, 0x4f, + 0x4e, 0x10, 0x9e, 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x58, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, + 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0b, 0x0a, 0x06, 0x48, 0x45, 0x58, 0x4e, 0x55, 0x4d, 0x10, 0xa0, + 0x20, 0x12, 0x0b, 0x0a, 0x06, 0x48, 0x45, 0x58, 0x56, 0x41, 0x4c, 0x10, 0xa1, 0x20, 0x12, 0x0b, + 0x0a, 0x06, 0x42, 0x49, 0x54, 0x4e, 0x55, 0x4d, 0x10, 0xa2, 0x20, 0x12, 0x0b, 0x0a, 0x06, 0x56, + 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0xa3, 0x10, 0x12, 0x08, 0x0a, 0x03, 0x52, 0x41, 0x57, 0x10, + 0xa4, 0x10, 0x2a, 0x36, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x61, 0x69, 0x6c, 0x10, 0x01, 0x12, 0x0b, 0x0a, + 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x02, 0x2a, 0x46, 0x0a, 0x10, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, + 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, + 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4f, 0x4c, 0x4c, + 0x42, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, + 0x10, 0x03, 0x2a, 0x3b, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, 0x45, 0x57, 0x53, 0x10, 0x00, + 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x53, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, + 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x44, 0x46, 0x53, 0x10, 0x03, 0x42, + 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -6665,238 +7052,249 @@ func file_vitess_query_dev_query_proto_rawDescGZIP() []byte { return file_vitess_query_dev_query_proto_rawDescData } -var file_vitess_query_dev_query_proto_enumTypes = make([]protoimpl.EnumInfo, 12) -var file_vitess_query_dev_query_proto_msgTypes = make([]protoimpl.MessageInfo, 67) -var file_vitess_query_dev_query_proto_goTypes = []interface{}{ +var file_vitess_query_dev_query_proto_enumTypes = make([]protoimpl.EnumInfo, 13) +var file_vitess_query_dev_query_proto_msgTypes = make([]protoimpl.MessageInfo, 70) +var file_vitess_query_dev_query_proto_goTypes = []any{ (MySqlFlag)(0), // 0: vitess.query.dev.MySqlFlag (Flag)(0), // 1: vitess.query.dev.Flag (Type)(0), // 2: vitess.query.dev.Type - (TransactionState)(0), // 3: vitess.query.dev.TransactionState - (SchemaTableType)(0), // 4: vitess.query.dev.SchemaTableType - (ExecuteOptions_IncludedFields)(0), // 5: vitess.query.dev.ExecuteOptions.IncludedFields - (ExecuteOptions_Workload)(0), // 6: vitess.query.dev.ExecuteOptions.Workload - (ExecuteOptions_TransactionIsolation)(0), // 7: vitess.query.dev.ExecuteOptions.TransactionIsolation - (ExecuteOptions_PlannerVersion)(0), // 8: vitess.query.dev.ExecuteOptions.PlannerVersion - (ExecuteOptions_Consolidator)(0), // 9: vitess.query.dev.ExecuteOptions.Consolidator - (ExecuteOptions_TransactionAccessMode)(0), // 10: vitess.query.dev.ExecuteOptions.TransactionAccessMode - (StreamEvent_Statement_Category)(0), // 11: vitess.query.dev.StreamEvent.Statement.Category - (*Target)(nil), // 12: vitess.query.dev.Target - (*VTGateCallerID)(nil), // 13: vitess.query.dev.VTGateCallerID - (*EventToken)(nil), // 14: vitess.query.dev.EventToken - (*Value)(nil), // 15: vitess.query.dev.Value - (*BindVariable)(nil), // 16: vitess.query.dev.BindVariable - (*BoundQuery)(nil), // 17: vitess.query.dev.BoundQuery - (*ExecuteOptions)(nil), // 18: vitess.query.dev.ExecuteOptions - (*Field)(nil), // 19: vitess.query.dev.Field - (*Row)(nil), // 20: vitess.query.dev.Row - (*QueryResult)(nil), // 21: vitess.query.dev.QueryResult - (*QueryWarning)(nil), // 22: vitess.query.dev.QueryWarning - (*StreamEvent)(nil), // 23: vitess.query.dev.StreamEvent - (*ExecuteRequest)(nil), // 24: vitess.query.dev.ExecuteRequest - (*ExecuteResponse)(nil), // 25: vitess.query.dev.ExecuteResponse - (*ResultWithError)(nil), // 26: vitess.query.dev.ResultWithError - (*StreamExecuteRequest)(nil), // 27: vitess.query.dev.StreamExecuteRequest - (*StreamExecuteResponse)(nil), // 28: vitess.query.dev.StreamExecuteResponse - (*BeginRequest)(nil), // 29: vitess.query.dev.BeginRequest - (*BeginResponse)(nil), // 30: vitess.query.dev.BeginResponse - (*CommitRequest)(nil), // 31: vitess.query.dev.CommitRequest - (*CommitResponse)(nil), // 32: vitess.query.dev.CommitResponse - (*RollbackRequest)(nil), // 33: vitess.query.dev.RollbackRequest - (*RollbackResponse)(nil), // 34: vitess.query.dev.RollbackResponse - (*PrepareRequest)(nil), // 35: vitess.query.dev.PrepareRequest - (*PrepareResponse)(nil), // 36: vitess.query.dev.PrepareResponse - (*CommitPreparedRequest)(nil), // 37: vitess.query.dev.CommitPreparedRequest - (*CommitPreparedResponse)(nil), // 38: vitess.query.dev.CommitPreparedResponse - (*RollbackPreparedRequest)(nil), // 39: vitess.query.dev.RollbackPreparedRequest - (*RollbackPreparedResponse)(nil), // 40: vitess.query.dev.RollbackPreparedResponse - (*CreateTransactionRequest)(nil), // 41: vitess.query.dev.CreateTransactionRequest - (*CreateTransactionResponse)(nil), // 42: vitess.query.dev.CreateTransactionResponse - (*StartCommitRequest)(nil), // 43: vitess.query.dev.StartCommitRequest - (*StartCommitResponse)(nil), // 44: vitess.query.dev.StartCommitResponse - (*SetRollbackRequest)(nil), // 45: vitess.query.dev.SetRollbackRequest - (*SetRollbackResponse)(nil), // 46: vitess.query.dev.SetRollbackResponse - (*ConcludeTransactionRequest)(nil), // 47: vitess.query.dev.ConcludeTransactionRequest - (*ConcludeTransactionResponse)(nil), // 48: vitess.query.dev.ConcludeTransactionResponse - (*ReadTransactionRequest)(nil), // 49: vitess.query.dev.ReadTransactionRequest - (*ReadTransactionResponse)(nil), // 50: vitess.query.dev.ReadTransactionResponse - (*BeginExecuteRequest)(nil), // 51: vitess.query.dev.BeginExecuteRequest - (*BeginExecuteResponse)(nil), // 52: vitess.query.dev.BeginExecuteResponse - (*BeginStreamExecuteRequest)(nil), // 53: vitess.query.dev.BeginStreamExecuteRequest - (*BeginStreamExecuteResponse)(nil), // 54: vitess.query.dev.BeginStreamExecuteResponse - (*MessageStreamRequest)(nil), // 55: vitess.query.dev.MessageStreamRequest - (*MessageStreamResponse)(nil), // 56: vitess.query.dev.MessageStreamResponse - (*MessageAckRequest)(nil), // 57: vitess.query.dev.MessageAckRequest - (*MessageAckResponse)(nil), // 58: vitess.query.dev.MessageAckResponse - (*ReserveExecuteRequest)(nil), // 59: vitess.query.dev.ReserveExecuteRequest - (*ReserveExecuteResponse)(nil), // 60: vitess.query.dev.ReserveExecuteResponse - (*ReserveStreamExecuteRequest)(nil), // 61: vitess.query.dev.ReserveStreamExecuteRequest - (*ReserveStreamExecuteResponse)(nil), // 62: vitess.query.dev.ReserveStreamExecuteResponse - (*ReserveBeginExecuteRequest)(nil), // 63: vitess.query.dev.ReserveBeginExecuteRequest - (*ReserveBeginExecuteResponse)(nil), // 64: vitess.query.dev.ReserveBeginExecuteResponse - (*ReserveBeginStreamExecuteRequest)(nil), // 65: vitess.query.dev.ReserveBeginStreamExecuteRequest - (*ReserveBeginStreamExecuteResponse)(nil), // 66: vitess.query.dev.ReserveBeginStreamExecuteResponse - (*ReleaseRequest)(nil), // 67: vitess.query.dev.ReleaseRequest - (*ReleaseResponse)(nil), // 68: vitess.query.dev.ReleaseResponse - (*StreamHealthRequest)(nil), // 69: vitess.query.dev.StreamHealthRequest - (*RealtimeStats)(nil), // 70: vitess.query.dev.RealtimeStats - (*AggregateStats)(nil), // 71: vitess.query.dev.AggregateStats - (*StreamHealthResponse)(nil), // 72: vitess.query.dev.StreamHealthResponse - (*TransactionMetadata)(nil), // 73: vitess.query.dev.TransactionMetadata - (*GetSchemaRequest)(nil), // 74: vitess.query.dev.GetSchemaRequest - (*GetSchemaResponse)(nil), // 75: vitess.query.dev.GetSchemaResponse - nil, // 76: vitess.query.dev.BoundQuery.BindVariablesEntry - (*StreamEvent_Statement)(nil), // 77: vitess.query.dev.StreamEvent.Statement - nil, // 78: vitess.query.dev.GetSchemaResponse.TableDefinitionEntry - (dev.TabletType)(0), // 79: vitess.topodata.dev.TabletType - (*dev1.CallerID)(nil), // 80: vitess.vtrpc.dev.CallerID - (*dev1.RPCError)(nil), // 81: vitess.vtrpc.dev.RPCError - (*dev.TabletAlias)(nil), // 82: vitess.topodata.dev.TabletAlias + (StartCommitState)(0), // 3: vitess.query.dev.StartCommitState + (TransactionState)(0), // 4: vitess.query.dev.TransactionState + (SchemaTableType)(0), // 5: vitess.query.dev.SchemaTableType + (ExecuteOptions_IncludedFields)(0), // 6: vitess.query.dev.ExecuteOptions.IncludedFields + (ExecuteOptions_Workload)(0), // 7: vitess.query.dev.ExecuteOptions.Workload + (ExecuteOptions_TransactionIsolation)(0), // 8: vitess.query.dev.ExecuteOptions.TransactionIsolation + (ExecuteOptions_PlannerVersion)(0), // 9: vitess.query.dev.ExecuteOptions.PlannerVersion + (ExecuteOptions_Consolidator)(0), // 10: vitess.query.dev.ExecuteOptions.Consolidator + (ExecuteOptions_TransactionAccessMode)(0), // 11: vitess.query.dev.ExecuteOptions.TransactionAccessMode + (StreamEvent_Statement_Category)(0), // 12: vitess.query.dev.StreamEvent.Statement.Category + (*Target)(nil), // 13: vitess.query.dev.Target + (*VTGateCallerID)(nil), // 14: vitess.query.dev.VTGateCallerID + (*EventToken)(nil), // 15: vitess.query.dev.EventToken + (*Value)(nil), // 16: vitess.query.dev.Value + (*BindVariable)(nil), // 17: vitess.query.dev.BindVariable + (*BoundQuery)(nil), // 18: vitess.query.dev.BoundQuery + (*ExecuteOptions)(nil), // 19: vitess.query.dev.ExecuteOptions + (*Field)(nil), // 20: vitess.query.dev.Field + (*Row)(nil), // 21: vitess.query.dev.Row + (*QueryResult)(nil), // 22: vitess.query.dev.QueryResult + (*QueryWarning)(nil), // 23: vitess.query.dev.QueryWarning + (*StreamEvent)(nil), // 24: vitess.query.dev.StreamEvent + (*ExecuteRequest)(nil), // 25: vitess.query.dev.ExecuteRequest + (*ExecuteResponse)(nil), // 26: vitess.query.dev.ExecuteResponse + (*ResultWithError)(nil), // 27: vitess.query.dev.ResultWithError + (*StreamExecuteRequest)(nil), // 28: vitess.query.dev.StreamExecuteRequest + (*StreamExecuteResponse)(nil), // 29: vitess.query.dev.StreamExecuteResponse + (*BeginRequest)(nil), // 30: vitess.query.dev.BeginRequest + (*BeginResponse)(nil), // 31: vitess.query.dev.BeginResponse + (*CommitRequest)(nil), // 32: vitess.query.dev.CommitRequest + (*CommitResponse)(nil), // 33: vitess.query.dev.CommitResponse + (*RollbackRequest)(nil), // 34: vitess.query.dev.RollbackRequest + (*RollbackResponse)(nil), // 35: vitess.query.dev.RollbackResponse + (*PrepareRequest)(nil), // 36: vitess.query.dev.PrepareRequest + (*PrepareResponse)(nil), // 37: vitess.query.dev.PrepareResponse + (*CommitPreparedRequest)(nil), // 38: vitess.query.dev.CommitPreparedRequest + (*CommitPreparedResponse)(nil), // 39: vitess.query.dev.CommitPreparedResponse + (*RollbackPreparedRequest)(nil), // 40: vitess.query.dev.RollbackPreparedRequest + (*RollbackPreparedResponse)(nil), // 41: vitess.query.dev.RollbackPreparedResponse + (*CreateTransactionRequest)(nil), // 42: vitess.query.dev.CreateTransactionRequest + (*CreateTransactionResponse)(nil), // 43: vitess.query.dev.CreateTransactionResponse + (*StartCommitRequest)(nil), // 44: vitess.query.dev.StartCommitRequest + (*StartCommitResponse)(nil), // 45: vitess.query.dev.StartCommitResponse + (*SetRollbackRequest)(nil), // 46: vitess.query.dev.SetRollbackRequest + (*SetRollbackResponse)(nil), // 47: vitess.query.dev.SetRollbackResponse + (*ConcludeTransactionRequest)(nil), // 48: vitess.query.dev.ConcludeTransactionRequest + (*ConcludeTransactionResponse)(nil), // 49: vitess.query.dev.ConcludeTransactionResponse + (*ReadTransactionRequest)(nil), // 50: vitess.query.dev.ReadTransactionRequest + (*ReadTransactionResponse)(nil), // 51: vitess.query.dev.ReadTransactionResponse + (*UnresolvedTransactionsRequest)(nil), // 52: vitess.query.dev.UnresolvedTransactionsRequest + (*UnresolvedTransactionsResponse)(nil), // 53: vitess.query.dev.UnresolvedTransactionsResponse + (*BeginExecuteRequest)(nil), // 54: vitess.query.dev.BeginExecuteRequest + (*BeginExecuteResponse)(nil), // 55: vitess.query.dev.BeginExecuteResponse + (*BeginStreamExecuteRequest)(nil), // 56: vitess.query.dev.BeginStreamExecuteRequest + (*BeginStreamExecuteResponse)(nil), // 57: vitess.query.dev.BeginStreamExecuteResponse + (*MessageStreamRequest)(nil), // 58: vitess.query.dev.MessageStreamRequest + (*MessageStreamResponse)(nil), // 59: vitess.query.dev.MessageStreamResponse + (*MessageAckRequest)(nil), // 60: vitess.query.dev.MessageAckRequest + (*MessageAckResponse)(nil), // 61: vitess.query.dev.MessageAckResponse + (*ReserveExecuteRequest)(nil), // 62: vitess.query.dev.ReserveExecuteRequest + (*ReserveExecuteResponse)(nil), // 63: vitess.query.dev.ReserveExecuteResponse + (*ReserveStreamExecuteRequest)(nil), // 64: vitess.query.dev.ReserveStreamExecuteRequest + (*ReserveStreamExecuteResponse)(nil), // 65: vitess.query.dev.ReserveStreamExecuteResponse + (*ReserveBeginExecuteRequest)(nil), // 66: vitess.query.dev.ReserveBeginExecuteRequest + (*ReserveBeginExecuteResponse)(nil), // 67: vitess.query.dev.ReserveBeginExecuteResponse + (*ReserveBeginStreamExecuteRequest)(nil), // 68: vitess.query.dev.ReserveBeginStreamExecuteRequest + (*ReserveBeginStreamExecuteResponse)(nil), // 69: vitess.query.dev.ReserveBeginStreamExecuteResponse + (*ReleaseRequest)(nil), // 70: vitess.query.dev.ReleaseRequest + (*ReleaseResponse)(nil), // 71: vitess.query.dev.ReleaseResponse + (*StreamHealthRequest)(nil), // 72: vitess.query.dev.StreamHealthRequest + (*RealtimeStats)(nil), // 73: vitess.query.dev.RealtimeStats + (*AggregateStats)(nil), // 74: vitess.query.dev.AggregateStats + (*StreamHealthResponse)(nil), // 75: vitess.query.dev.StreamHealthResponse + (*TransactionMetadata)(nil), // 76: vitess.query.dev.TransactionMetadata + (*GetSchemaRequest)(nil), // 77: vitess.query.dev.GetSchemaRequest + (*UDFInfo)(nil), // 78: vitess.query.dev.UDFInfo + (*GetSchemaResponse)(nil), // 79: vitess.query.dev.GetSchemaResponse + nil, // 80: vitess.query.dev.BoundQuery.BindVariablesEntry + (*StreamEvent_Statement)(nil), // 81: vitess.query.dev.StreamEvent.Statement + nil, // 82: vitess.query.dev.GetSchemaResponse.TableDefinitionEntry + (dev.TabletType)(0), // 83: vitess.topodata.dev.TabletType + (*dev1.CallerID)(nil), // 84: vitess.vtrpc.dev.CallerID + (*dev1.RPCError)(nil), // 85: vitess.vtrpc.dev.RPCError + (*dev.TabletAlias)(nil), // 86: vitess.topodata.dev.TabletAlias } var file_vitess_query_dev_query_proto_depIdxs = []int32{ - 79, // 0: vitess.query.dev.Target.tablet_type:type_name -> vitess.topodata.dev.TabletType + 83, // 0: vitess.query.dev.Target.tablet_type:type_name -> vitess.topodata.dev.TabletType 2, // 1: vitess.query.dev.Value.type:type_name -> vitess.query.dev.Type 2, // 2: vitess.query.dev.BindVariable.type:type_name -> vitess.query.dev.Type - 15, // 3: vitess.query.dev.BindVariable.values:type_name -> vitess.query.dev.Value - 76, // 4: vitess.query.dev.BoundQuery.bind_variables:type_name -> vitess.query.dev.BoundQuery.BindVariablesEntry - 5, // 5: vitess.query.dev.ExecuteOptions.included_fields:type_name -> vitess.query.dev.ExecuteOptions.IncludedFields - 6, // 6: vitess.query.dev.ExecuteOptions.workload:type_name -> vitess.query.dev.ExecuteOptions.Workload - 7, // 7: vitess.query.dev.ExecuteOptions.transaction_isolation:type_name -> vitess.query.dev.ExecuteOptions.TransactionIsolation - 8, // 8: vitess.query.dev.ExecuteOptions.planner_version:type_name -> vitess.query.dev.ExecuteOptions.PlannerVersion - 9, // 9: vitess.query.dev.ExecuteOptions.consolidator:type_name -> vitess.query.dev.ExecuteOptions.Consolidator - 10, // 10: vitess.query.dev.ExecuteOptions.transaction_access_mode:type_name -> vitess.query.dev.ExecuteOptions.TransactionAccessMode + 16, // 3: vitess.query.dev.BindVariable.values:type_name -> vitess.query.dev.Value + 80, // 4: vitess.query.dev.BoundQuery.bind_variables:type_name -> vitess.query.dev.BoundQuery.BindVariablesEntry + 6, // 5: vitess.query.dev.ExecuteOptions.included_fields:type_name -> vitess.query.dev.ExecuteOptions.IncludedFields + 7, // 6: vitess.query.dev.ExecuteOptions.workload:type_name -> vitess.query.dev.ExecuteOptions.Workload + 8, // 7: vitess.query.dev.ExecuteOptions.transaction_isolation:type_name -> vitess.query.dev.ExecuteOptions.TransactionIsolation + 9, // 8: vitess.query.dev.ExecuteOptions.planner_version:type_name -> vitess.query.dev.ExecuteOptions.PlannerVersion + 10, // 9: vitess.query.dev.ExecuteOptions.consolidator:type_name -> vitess.query.dev.ExecuteOptions.Consolidator + 11, // 10: vitess.query.dev.ExecuteOptions.transaction_access_mode:type_name -> vitess.query.dev.ExecuteOptions.TransactionAccessMode 2, // 11: vitess.query.dev.Field.type:type_name -> vitess.query.dev.Type - 19, // 12: vitess.query.dev.QueryResult.fields:type_name -> vitess.query.dev.Field - 20, // 13: vitess.query.dev.QueryResult.rows:type_name -> vitess.query.dev.Row - 77, // 14: vitess.query.dev.StreamEvent.statements:type_name -> vitess.query.dev.StreamEvent.Statement - 14, // 15: vitess.query.dev.StreamEvent.event_token:type_name -> vitess.query.dev.EventToken - 80, // 16: vitess.query.dev.ExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 17: vitess.query.dev.ExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 18: vitess.query.dev.ExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 19: vitess.query.dev.ExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 20: vitess.query.dev.ExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 21, // 21: vitess.query.dev.ExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 81, // 22: vitess.query.dev.ResultWithError.error:type_name -> vitess.vtrpc.dev.RPCError - 21, // 23: vitess.query.dev.ResultWithError.result:type_name -> vitess.query.dev.QueryResult - 80, // 24: vitess.query.dev.StreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 25: vitess.query.dev.StreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 26: vitess.query.dev.StreamExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 27: vitess.query.dev.StreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 28: vitess.query.dev.StreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 21, // 29: vitess.query.dev.StreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 80, // 30: vitess.query.dev.BeginRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 31: vitess.query.dev.BeginRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 32: vitess.query.dev.BeginRequest.target:type_name -> vitess.query.dev.Target - 18, // 33: vitess.query.dev.BeginRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 82, // 34: vitess.query.dev.BeginResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 80, // 35: vitess.query.dev.CommitRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 36: vitess.query.dev.CommitRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 37: vitess.query.dev.CommitRequest.target:type_name -> vitess.query.dev.Target - 80, // 38: vitess.query.dev.RollbackRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 39: vitess.query.dev.RollbackRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 40: vitess.query.dev.RollbackRequest.target:type_name -> vitess.query.dev.Target - 80, // 41: vitess.query.dev.PrepareRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 42: vitess.query.dev.PrepareRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 43: vitess.query.dev.PrepareRequest.target:type_name -> vitess.query.dev.Target - 80, // 44: vitess.query.dev.CommitPreparedRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 45: vitess.query.dev.CommitPreparedRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 46: vitess.query.dev.CommitPreparedRequest.target:type_name -> vitess.query.dev.Target - 80, // 47: vitess.query.dev.RollbackPreparedRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 48: vitess.query.dev.RollbackPreparedRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 49: vitess.query.dev.RollbackPreparedRequest.target:type_name -> vitess.query.dev.Target - 80, // 50: vitess.query.dev.CreateTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 51: vitess.query.dev.CreateTransactionRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 52: vitess.query.dev.CreateTransactionRequest.target:type_name -> vitess.query.dev.Target - 12, // 53: vitess.query.dev.CreateTransactionRequest.participants:type_name -> vitess.query.dev.Target - 80, // 54: vitess.query.dev.StartCommitRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 55: vitess.query.dev.StartCommitRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 56: vitess.query.dev.StartCommitRequest.target:type_name -> vitess.query.dev.Target - 80, // 57: vitess.query.dev.SetRollbackRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 58: vitess.query.dev.SetRollbackRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 59: vitess.query.dev.SetRollbackRequest.target:type_name -> vitess.query.dev.Target - 80, // 60: vitess.query.dev.ConcludeTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 61: vitess.query.dev.ConcludeTransactionRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 62: vitess.query.dev.ConcludeTransactionRequest.target:type_name -> vitess.query.dev.Target - 80, // 63: vitess.query.dev.ReadTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 64: vitess.query.dev.ReadTransactionRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 65: vitess.query.dev.ReadTransactionRequest.target:type_name -> vitess.query.dev.Target - 73, // 66: vitess.query.dev.ReadTransactionResponse.metadata:type_name -> vitess.query.dev.TransactionMetadata - 80, // 67: vitess.query.dev.BeginExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 68: vitess.query.dev.BeginExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 69: vitess.query.dev.BeginExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 70: vitess.query.dev.BeginExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 71: vitess.query.dev.BeginExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 81, // 72: vitess.query.dev.BeginExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError - 21, // 73: vitess.query.dev.BeginExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 82, // 74: vitess.query.dev.BeginExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 80, // 75: vitess.query.dev.BeginStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 76: vitess.query.dev.BeginStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 77: vitess.query.dev.BeginStreamExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 78: vitess.query.dev.BeginStreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 79: vitess.query.dev.BeginStreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 81, // 80: vitess.query.dev.BeginStreamExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError - 21, // 81: vitess.query.dev.BeginStreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 82, // 82: vitess.query.dev.BeginStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 80, // 83: vitess.query.dev.MessageStreamRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 84: vitess.query.dev.MessageStreamRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 85: vitess.query.dev.MessageStreamRequest.target:type_name -> vitess.query.dev.Target - 21, // 86: vitess.query.dev.MessageStreamResponse.result:type_name -> vitess.query.dev.QueryResult - 80, // 87: vitess.query.dev.MessageAckRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 88: vitess.query.dev.MessageAckRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 89: vitess.query.dev.MessageAckRequest.target:type_name -> vitess.query.dev.Target - 15, // 90: vitess.query.dev.MessageAckRequest.ids:type_name -> vitess.query.dev.Value - 21, // 91: vitess.query.dev.MessageAckResponse.result:type_name -> vitess.query.dev.QueryResult - 80, // 92: vitess.query.dev.ReserveExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 93: vitess.query.dev.ReserveExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 94: vitess.query.dev.ReserveExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 95: vitess.query.dev.ReserveExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 96: vitess.query.dev.ReserveExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 81, // 97: vitess.query.dev.ReserveExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError - 21, // 98: vitess.query.dev.ReserveExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 82, // 99: vitess.query.dev.ReserveExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 80, // 100: vitess.query.dev.ReserveStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 101: vitess.query.dev.ReserveStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 102: vitess.query.dev.ReserveStreamExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 103: vitess.query.dev.ReserveStreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 104: vitess.query.dev.ReserveStreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 81, // 105: vitess.query.dev.ReserveStreamExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError - 21, // 106: vitess.query.dev.ReserveStreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 82, // 107: vitess.query.dev.ReserveStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 80, // 108: vitess.query.dev.ReserveBeginExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 109: vitess.query.dev.ReserveBeginExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 110: vitess.query.dev.ReserveBeginExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 111: vitess.query.dev.ReserveBeginExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 112: vitess.query.dev.ReserveBeginExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 81, // 113: vitess.query.dev.ReserveBeginExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError - 21, // 114: vitess.query.dev.ReserveBeginExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 82, // 115: vitess.query.dev.ReserveBeginExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 80, // 116: vitess.query.dev.ReserveBeginStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 117: vitess.query.dev.ReserveBeginStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 118: vitess.query.dev.ReserveBeginStreamExecuteRequest.target:type_name -> vitess.query.dev.Target - 17, // 119: vitess.query.dev.ReserveBeginStreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery - 18, // 120: vitess.query.dev.ReserveBeginStreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions - 81, // 121: vitess.query.dev.ReserveBeginStreamExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError - 21, // 122: vitess.query.dev.ReserveBeginStreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult - 82, // 123: vitess.query.dev.ReserveBeginStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 80, // 124: vitess.query.dev.ReleaseRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID - 13, // 125: vitess.query.dev.ReleaseRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID - 12, // 126: vitess.query.dev.ReleaseRequest.target:type_name -> vitess.query.dev.Target - 12, // 127: vitess.query.dev.StreamHealthResponse.target:type_name -> vitess.query.dev.Target - 70, // 128: vitess.query.dev.StreamHealthResponse.realtime_stats:type_name -> vitess.query.dev.RealtimeStats - 82, // 129: vitess.query.dev.StreamHealthResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 3, // 130: vitess.query.dev.TransactionMetadata.state:type_name -> vitess.query.dev.TransactionState - 12, // 131: vitess.query.dev.TransactionMetadata.participants:type_name -> vitess.query.dev.Target - 12, // 132: vitess.query.dev.GetSchemaRequest.target:type_name -> vitess.query.dev.Target - 4, // 133: vitess.query.dev.GetSchemaRequest.table_type:type_name -> vitess.query.dev.SchemaTableType - 78, // 134: vitess.query.dev.GetSchemaResponse.table_definition:type_name -> vitess.query.dev.GetSchemaResponse.TableDefinitionEntry - 16, // 135: vitess.query.dev.BoundQuery.BindVariablesEntry.value:type_name -> vitess.query.dev.BindVariable - 11, // 136: vitess.query.dev.StreamEvent.Statement.category:type_name -> vitess.query.dev.StreamEvent.Statement.Category - 19, // 137: vitess.query.dev.StreamEvent.Statement.primary_key_fields:type_name -> vitess.query.dev.Field - 20, // 138: vitess.query.dev.StreamEvent.Statement.primary_key_values:type_name -> vitess.query.dev.Row - 139, // [139:139] is the sub-list for method output_type - 139, // [139:139] is the sub-list for method input_type - 139, // [139:139] is the sub-list for extension type_name - 139, // [139:139] is the sub-list for extension extendee - 0, // [0:139] is the sub-list for field type_name + 20, // 12: vitess.query.dev.QueryResult.fields:type_name -> vitess.query.dev.Field + 21, // 13: vitess.query.dev.QueryResult.rows:type_name -> vitess.query.dev.Row + 81, // 14: vitess.query.dev.StreamEvent.statements:type_name -> vitess.query.dev.StreamEvent.Statement + 15, // 15: vitess.query.dev.StreamEvent.event_token:type_name -> vitess.query.dev.EventToken + 84, // 16: vitess.query.dev.ExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 17: vitess.query.dev.ExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 18: vitess.query.dev.ExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 19: vitess.query.dev.ExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 20: vitess.query.dev.ExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 22, // 21: vitess.query.dev.ExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 85, // 22: vitess.query.dev.ResultWithError.error:type_name -> vitess.vtrpc.dev.RPCError + 22, // 23: vitess.query.dev.ResultWithError.result:type_name -> vitess.query.dev.QueryResult + 84, // 24: vitess.query.dev.StreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 25: vitess.query.dev.StreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 26: vitess.query.dev.StreamExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 27: vitess.query.dev.StreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 28: vitess.query.dev.StreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 22, // 29: vitess.query.dev.StreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 84, // 30: vitess.query.dev.BeginRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 31: vitess.query.dev.BeginRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 32: vitess.query.dev.BeginRequest.target:type_name -> vitess.query.dev.Target + 19, // 33: vitess.query.dev.BeginRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 86, // 34: vitess.query.dev.BeginResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 84, // 35: vitess.query.dev.CommitRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 36: vitess.query.dev.CommitRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 37: vitess.query.dev.CommitRequest.target:type_name -> vitess.query.dev.Target + 84, // 38: vitess.query.dev.RollbackRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 39: vitess.query.dev.RollbackRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 40: vitess.query.dev.RollbackRequest.target:type_name -> vitess.query.dev.Target + 84, // 41: vitess.query.dev.PrepareRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 42: vitess.query.dev.PrepareRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 43: vitess.query.dev.PrepareRequest.target:type_name -> vitess.query.dev.Target + 84, // 44: vitess.query.dev.CommitPreparedRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 45: vitess.query.dev.CommitPreparedRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 46: vitess.query.dev.CommitPreparedRequest.target:type_name -> vitess.query.dev.Target + 84, // 47: vitess.query.dev.RollbackPreparedRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 48: vitess.query.dev.RollbackPreparedRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 49: vitess.query.dev.RollbackPreparedRequest.target:type_name -> vitess.query.dev.Target + 84, // 50: vitess.query.dev.CreateTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 51: vitess.query.dev.CreateTransactionRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 52: vitess.query.dev.CreateTransactionRequest.target:type_name -> vitess.query.dev.Target + 13, // 53: vitess.query.dev.CreateTransactionRequest.participants:type_name -> vitess.query.dev.Target + 84, // 54: vitess.query.dev.StartCommitRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 55: vitess.query.dev.StartCommitRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 56: vitess.query.dev.StartCommitRequest.target:type_name -> vitess.query.dev.Target + 3, // 57: vitess.query.dev.StartCommitResponse.state:type_name -> vitess.query.dev.StartCommitState + 84, // 58: vitess.query.dev.SetRollbackRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 59: vitess.query.dev.SetRollbackRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 60: vitess.query.dev.SetRollbackRequest.target:type_name -> vitess.query.dev.Target + 84, // 61: vitess.query.dev.ConcludeTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 62: vitess.query.dev.ConcludeTransactionRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 63: vitess.query.dev.ConcludeTransactionRequest.target:type_name -> vitess.query.dev.Target + 84, // 64: vitess.query.dev.ReadTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 65: vitess.query.dev.ReadTransactionRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 66: vitess.query.dev.ReadTransactionRequest.target:type_name -> vitess.query.dev.Target + 76, // 67: vitess.query.dev.ReadTransactionResponse.metadata:type_name -> vitess.query.dev.TransactionMetadata + 84, // 68: vitess.query.dev.UnresolvedTransactionsRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 69: vitess.query.dev.UnresolvedTransactionsRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 70: vitess.query.dev.UnresolvedTransactionsRequest.target:type_name -> vitess.query.dev.Target + 76, // 71: vitess.query.dev.UnresolvedTransactionsResponse.transactions:type_name -> vitess.query.dev.TransactionMetadata + 84, // 72: vitess.query.dev.BeginExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 73: vitess.query.dev.BeginExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 74: vitess.query.dev.BeginExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 75: vitess.query.dev.BeginExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 76: vitess.query.dev.BeginExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 85, // 77: vitess.query.dev.BeginExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError + 22, // 78: vitess.query.dev.BeginExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 86, // 79: vitess.query.dev.BeginExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 84, // 80: vitess.query.dev.BeginStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 81: vitess.query.dev.BeginStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 82: vitess.query.dev.BeginStreamExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 83: vitess.query.dev.BeginStreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 84: vitess.query.dev.BeginStreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 85, // 85: vitess.query.dev.BeginStreamExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError + 22, // 86: vitess.query.dev.BeginStreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 86, // 87: vitess.query.dev.BeginStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 84, // 88: vitess.query.dev.MessageStreamRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 89: vitess.query.dev.MessageStreamRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 90: vitess.query.dev.MessageStreamRequest.target:type_name -> vitess.query.dev.Target + 22, // 91: vitess.query.dev.MessageStreamResponse.result:type_name -> vitess.query.dev.QueryResult + 84, // 92: vitess.query.dev.MessageAckRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 93: vitess.query.dev.MessageAckRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 94: vitess.query.dev.MessageAckRequest.target:type_name -> vitess.query.dev.Target + 16, // 95: vitess.query.dev.MessageAckRequest.ids:type_name -> vitess.query.dev.Value + 22, // 96: vitess.query.dev.MessageAckResponse.result:type_name -> vitess.query.dev.QueryResult + 84, // 97: vitess.query.dev.ReserveExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 98: vitess.query.dev.ReserveExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 99: vitess.query.dev.ReserveExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 100: vitess.query.dev.ReserveExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 101: vitess.query.dev.ReserveExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 85, // 102: vitess.query.dev.ReserveExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError + 22, // 103: vitess.query.dev.ReserveExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 86, // 104: vitess.query.dev.ReserveExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 84, // 105: vitess.query.dev.ReserveStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 106: vitess.query.dev.ReserveStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 107: vitess.query.dev.ReserveStreamExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 108: vitess.query.dev.ReserveStreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 109: vitess.query.dev.ReserveStreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 85, // 110: vitess.query.dev.ReserveStreamExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError + 22, // 111: vitess.query.dev.ReserveStreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 86, // 112: vitess.query.dev.ReserveStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 84, // 113: vitess.query.dev.ReserveBeginExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 114: vitess.query.dev.ReserveBeginExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 115: vitess.query.dev.ReserveBeginExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 116: vitess.query.dev.ReserveBeginExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 117: vitess.query.dev.ReserveBeginExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 85, // 118: vitess.query.dev.ReserveBeginExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError + 22, // 119: vitess.query.dev.ReserveBeginExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 86, // 120: vitess.query.dev.ReserveBeginExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 84, // 121: vitess.query.dev.ReserveBeginStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 122: vitess.query.dev.ReserveBeginStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 123: vitess.query.dev.ReserveBeginStreamExecuteRequest.target:type_name -> vitess.query.dev.Target + 18, // 124: vitess.query.dev.ReserveBeginStreamExecuteRequest.query:type_name -> vitess.query.dev.BoundQuery + 19, // 125: vitess.query.dev.ReserveBeginStreamExecuteRequest.options:type_name -> vitess.query.dev.ExecuteOptions + 85, // 126: vitess.query.dev.ReserveBeginStreamExecuteResponse.error:type_name -> vitess.vtrpc.dev.RPCError + 22, // 127: vitess.query.dev.ReserveBeginStreamExecuteResponse.result:type_name -> vitess.query.dev.QueryResult + 86, // 128: vitess.query.dev.ReserveBeginStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 84, // 129: vitess.query.dev.ReleaseRequest.effective_caller_id:type_name -> vitess.vtrpc.dev.CallerID + 14, // 130: vitess.query.dev.ReleaseRequest.immediate_caller_id:type_name -> vitess.query.dev.VTGateCallerID + 13, // 131: vitess.query.dev.ReleaseRequest.target:type_name -> vitess.query.dev.Target + 13, // 132: vitess.query.dev.StreamHealthResponse.target:type_name -> vitess.query.dev.Target + 73, // 133: vitess.query.dev.StreamHealthResponse.realtime_stats:type_name -> vitess.query.dev.RealtimeStats + 86, // 134: vitess.query.dev.StreamHealthResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 4, // 135: vitess.query.dev.TransactionMetadata.state:type_name -> vitess.query.dev.TransactionState + 13, // 136: vitess.query.dev.TransactionMetadata.participants:type_name -> vitess.query.dev.Target + 13, // 137: vitess.query.dev.GetSchemaRequest.target:type_name -> vitess.query.dev.Target + 5, // 138: vitess.query.dev.GetSchemaRequest.table_type:type_name -> vitess.query.dev.SchemaTableType + 2, // 139: vitess.query.dev.UDFInfo.return_type:type_name -> vitess.query.dev.Type + 78, // 140: vitess.query.dev.GetSchemaResponse.udfs:type_name -> vitess.query.dev.UDFInfo + 82, // 141: vitess.query.dev.GetSchemaResponse.table_definition:type_name -> vitess.query.dev.GetSchemaResponse.TableDefinitionEntry + 17, // 142: vitess.query.dev.BoundQuery.BindVariablesEntry.value:type_name -> vitess.query.dev.BindVariable + 12, // 143: vitess.query.dev.StreamEvent.Statement.category:type_name -> vitess.query.dev.StreamEvent.Statement.Category + 20, // 144: vitess.query.dev.StreamEvent.Statement.primary_key_fields:type_name -> vitess.query.dev.Field + 21, // 145: vitess.query.dev.StreamEvent.Statement.primary_key_values:type_name -> vitess.query.dev.Row + 146, // [146:146] is the sub-list for method output_type + 146, // [146:146] is the sub-list for method input_type + 146, // [146:146] is the sub-list for extension type_name + 146, // [146:146] is the sub-list for extension extendee + 0, // [0:146] is the sub-list for field type_name } func init() { file_vitess_query_dev_query_proto_init() } @@ -6905,7 +7303,7 @@ func file_vitess_query_dev_query_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_query_dev_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Target); i { case 0: return &v.state @@ -6917,7 +7315,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*VTGateCallerID); i { case 0: return &v.state @@ -6929,7 +7327,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*EventToken); i { case 0: return &v.state @@ -6941,7 +7339,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Value); i { case 0: return &v.state @@ -6953,7 +7351,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*BindVariable); i { case 0: return &v.state @@ -6965,7 +7363,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*BoundQuery); i { case 0: return &v.state @@ -6977,7 +7375,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ExecuteOptions); i { case 0: return &v.state @@ -6989,7 +7387,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Field); i { case 0: return &v.state @@ -7001,7 +7399,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Row); i { case 0: return &v.state @@ -7013,7 +7411,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*QueryResult); i { case 0: return &v.state @@ -7025,7 +7423,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*QueryWarning); i { case 0: return &v.state @@ -7037,7 +7435,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent); i { case 0: return &v.state @@ -7049,7 +7447,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -7061,7 +7459,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -7073,7 +7471,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ResultWithError); i { case 0: return &v.state @@ -7085,7 +7483,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -7097,7 +7495,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -7109,7 +7507,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*BeginRequest); i { case 0: return &v.state @@ -7121,7 +7519,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*BeginResponse); i { case 0: return &v.state @@ -7133,7 +7531,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*CommitRequest); i { case 0: return &v.state @@ -7145,7 +7543,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*CommitResponse); i { case 0: return &v.state @@ -7157,7 +7555,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*RollbackRequest); i { case 0: return &v.state @@ -7169,7 +7567,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RollbackResponse); i { case 0: return &v.state @@ -7181,7 +7579,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -7193,7 +7591,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -7205,7 +7603,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedRequest); i { case 0: return &v.state @@ -7217,7 +7615,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedResponse); i { case 0: return &v.state @@ -7229,7 +7627,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedRequest); i { case 0: return &v.state @@ -7241,7 +7639,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedResponse); i { case 0: return &v.state @@ -7253,7 +7651,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionRequest); i { case 0: return &v.state @@ -7265,7 +7663,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionResponse); i { case 0: return &v.state @@ -7277,7 +7675,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*StartCommitRequest); i { case 0: return &v.state @@ -7289,7 +7687,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*StartCommitResponse); i { case 0: return &v.state @@ -7301,7 +7699,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackRequest); i { case 0: return &v.state @@ -7313,7 +7711,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackResponse); i { case 0: return &v.state @@ -7325,7 +7723,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionRequest); i { case 0: return &v.state @@ -7337,7 +7735,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionResponse); i { case 0: return &v.state @@ -7349,7 +7747,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionRequest); i { case 0: return &v.state @@ -7361,7 +7759,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionResponse); i { case 0: return &v.state @@ -7373,7 +7771,31 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*UnresolvedTransactionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_dev_query_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*UnresolvedTransactionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_dev_query_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteRequest); i { case 0: return &v.state @@ -7385,7 +7807,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteResponse); i { case 0: return &v.state @@ -7397,7 +7819,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteRequest); i { case 0: return &v.state @@ -7409,7 +7831,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteResponse); i { case 0: return &v.state @@ -7421,7 +7843,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamRequest); i { case 0: return &v.state @@ -7433,7 +7855,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamResponse); i { case 0: return &v.state @@ -7445,7 +7867,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*MessageAckRequest); i { case 0: return &v.state @@ -7457,7 +7879,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*MessageAckResponse); i { case 0: return &v.state @@ -7469,7 +7891,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteRequest); i { case 0: return &v.state @@ -7481,7 +7903,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteResponse); i { case 0: return &v.state @@ -7493,7 +7915,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteRequest); i { case 0: return &v.state @@ -7505,7 +7927,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteResponse); i { case 0: return &v.state @@ -7517,7 +7939,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteRequest); i { case 0: return &v.state @@ -7529,7 +7951,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteResponse); i { case 0: return &v.state @@ -7541,7 +7963,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteRequest); i { case 0: return &v.state @@ -7553,7 +7975,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteResponse); i { case 0: return &v.state @@ -7565,7 +7987,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*ReleaseRequest); i { case 0: return &v.state @@ -7577,7 +7999,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*ReleaseResponse); i { case 0: return &v.state @@ -7589,7 +8011,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthRequest); i { case 0: return &v.state @@ -7601,7 +8023,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*RealtimeStats); i { case 0: return &v.state @@ -7613,7 +8035,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*AggregateStats); i { case 0: return &v.state @@ -7625,7 +8047,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthResponse); i { case 0: return &v.state @@ -7637,7 +8059,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*TransactionMetadata); i { case 0: return &v.state @@ -7649,7 +8071,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -7661,7 +8083,19 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*UDFInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_dev_query_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -7673,7 +8107,7 @@ func file_vitess_query_dev_query_proto_init() { return nil } } - file_vitess_query_dev_query_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_dev_query_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent_Statement); i { case 0: return &v.state @@ -7686,13 +8120,16 @@ func file_vitess_query_dev_query_proto_init() { } } } + file_vitess_query_dev_query_proto_msgTypes[6].OneofWrappers = []any{ + (*ExecuteOptions_AuthoritativeTimeout)(nil), + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_query_dev_query_proto_rawDesc, - NumEnums: 12, - NumMessages: 67, + NumEnums: 13, + NumMessages: 70, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/vitess/query/dev/query_vtproto.pb.go b/gen/vitess/query/dev/query_vtproto.pb.go index 1b01f2a..098c73a 100644 --- a/gen/vitess/query/dev/query_vtproto.pb.go +++ b/gen/vitess/query/dev/query_vtproto.pb.go @@ -378,6 +378,27 @@ func (m *ExecuteOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if vtmsg, ok := m.Timeout.(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + if m.FetchLastInsertId { + i-- + if m.FetchLastInsertId { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } if len(m.Priority) > 0 { i -= len(m.Priority) copy(dAtA[i:], m.Priority) @@ -478,6 +499,20 @@ func (m *ExecuteOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ExecuteOptions_AuthoritativeTimeout) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteOptions_AuthoritativeTimeout) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + i := len(dAtA) + i = encodeVarint(dAtA, i, uint64(m.AuthoritativeTimeout)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + return len(dAtA) - i, nil +} func (m *Field) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -669,6 +704,16 @@ func (m *QueryResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.InsertIdChanged { + i-- + if m.InsertIdChanged { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } if len(m.SessionStateChanges) > 0 { i -= len(m.SessionStateChanges) copy(dAtA[i:], m.SessionStateChanges) @@ -2244,6 +2289,11 @@ func (m *StartCommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.State != 0 { + i = encodeVarint(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } @@ -2607,6 +2657,131 @@ func (m *ReadTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro return len(dAtA) - i, nil } +func (m *UnresolvedTransactionsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UnresolvedTransactionsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UnresolvedTransactionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AbandonAge != 0 { + i = encodeVarint(dAtA, i, uint64(m.AbandonAge)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UnresolvedTransactionsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UnresolvedTransactionsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UnresolvedTransactionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Transactions) > 0 { + for iNdEx := len(m.Transactions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Transactions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *BeginExecuteRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -4302,6 +4477,26 @@ func (m *RealtimeStats) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.TxUnresolved { + i-- + if m.TxUnresolved { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } + if m.UdfsChanged { + i-- + if m.UdfsChanged { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } if len(m.ViewSchemaChanged) > 0 { for iNdEx := len(m.ViewSchemaChanged) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ViewSchemaChanged[iNdEx]) @@ -4619,6 +4814,61 @@ func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *UDFInfo) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UDFInfo) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UDFInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReturnType != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReturnType)) + i-- + dAtA[i] = 0x18 + } + if m.Aggregating { + i-- + if m.Aggregating { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *GetSchemaResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -4668,6 +4918,18 @@ func (m *GetSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { dAtA[i] = 0x12 } } + if len(m.Udfs) > 0 { + for iNdEx := len(m.Udfs) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Udfs[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } return len(dAtA) - i, nil } @@ -4905,10 +5167,25 @@ func (m *ExecuteOptions) SizeVT() (n int) { if l > 0 { n += 2 + l + sov(uint64(l)) } + if vtmsg, ok := m.Timeout.(interface{ SizeVT() int }); ok { + n += vtmsg.SizeVT() + } + if m.FetchLastInsertId { + n += 3 + } n += len(m.unknownFields) return n } +func (m *ExecuteOptions_AuthoritativeTimeout) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += 2 + sov(uint64(m.AuthoritativeTimeout)) + return n +} func (m *Field) SizeVT() (n int) { if m == nil { return 0 @@ -5011,6 +5288,9 @@ func (m *QueryResult) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.InsertIdChanged { + n += 2 + } n += len(m.unknownFields) return n } @@ -5589,6 +5869,9 @@ func (m *StartCommitResponse) SizeVT() (n int) { } var l int _ = l + if m.State != 0 { + n += 1 + sov(uint64(m.State)) + } n += len(m.unknownFields) return n } @@ -5726,7 +6009,7 @@ func (m *ReadTransactionResponse) SizeVT() (n int) { return n } -func (m *BeginExecuteRequest) SizeVT() (n int) { +func (m *UnresolvedTransactionsRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -5750,36 +6033,83 @@ func (m *BeginExecuteRequest) SizeVT() (n int) { l = m.Target.SizeVT() n += 1 + l + sov(uint64(l)) } - if m.Query != nil { - l = m.Query.SizeVT() - n += 1 + l + sov(uint64(l)) - } - if m.Options != nil { - l = m.Options.SizeVT() - n += 1 + l + sov(uint64(l)) - } - if m.ReservedId != 0 { - n += 1 + sov(uint64(m.ReservedId)) - } - if len(m.PreQueries) > 0 { - for _, s := range m.PreQueries { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.AbandonAge != 0 { + n += 1 + sov(uint64(m.AbandonAge)) } n += len(m.unknownFields) return n } -func (m *BeginExecuteResponse) SizeVT() (n int) { +func (m *UnresolvedTransactionsResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Error != nil { - if size, ok := interface{}(m.Error).(interface { - SizeVT() int + if len(m.Transactions) > 0 { + for _, e := range m.Transactions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *BeginExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + if len(m.PreQueries) > 0 { + for _, s := range m.PreQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *BeginExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int }); ok { l = size.SizeVT() } else { @@ -6435,6 +6765,12 @@ func (m *RealtimeStats) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } + if m.UdfsChanged { + n += 2 + } + if m.TxUnresolved { + n += 2 + } n += len(m.unknownFields) return n } @@ -6544,12 +6880,38 @@ func (m *GetSchemaRequest) SizeVT() (n int) { return n } +func (m *UDFInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Aggregating { + n += 2 + } + if m.ReturnType != 0 { + n += 1 + sov(uint64(m.ReturnType)) + } + n += len(m.unknownFields) + return n +} + func (m *GetSchemaResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l + if len(m.Udfs) > 0 { + for _, e := range m.Udfs { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } if len(m.TableDefinition) > 0 { for k, v := range m.TableDefinition { _ = k @@ -7773,6 +8135,46 @@ func (m *ExecuteOptions) UnmarshalVT(dAtA []byte) error { } m.Priority = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthoritativeTimeout", wireType) + } + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Timeout = &ExecuteOptions_AuthoritativeTimeout{AuthoritativeTimeout: v} + case 18: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FetchLastInsertId", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.FetchLastInsertId = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -8495,6 +8897,26 @@ func (m *QueryResult) UnmarshalVT(dAtA []byte) error { } m.SessionStateChanges = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InsertIdChanged", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.InsertIdChanged = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11983,6 +12405,25 @@ func (m *StartCommitResponse) UnmarshalVT(dAtA []byte) error { return fmt.Errorf("proto: StartCommitResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= StartCommitState(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12297,10 +12738,260 @@ func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ConcludeTransactionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ConcludeTransactionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConcludeTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &dev1.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConcludeTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConcludeTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadTransactionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ConcludeTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12473,7 +13164,7 @@ func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12496,12 +13187,48 @@ func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ConcludeTransactionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReadTransactionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ConcludeTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", 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.Metadata == nil { + m.Metadata = &TransactionMetadata{} + } + if err := m.Metadata.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12524,7 +13251,7 @@ func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { +func (m *UnresolvedTransactionsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12547,10 +13274,10 @@ func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReadTransactionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UnresolvedTransactionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReadTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UnresolvedTransactionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12670,10 +13397,10 @@ func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { } iNdEx = postIndex case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AbandonAge", wireType) } - var stringLen uint64 + m.AbandonAge = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12683,24 +13410,11 @@ func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.AbandonAge |= int64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Dtid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12723,7 +13437,7 @@ func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error { +func (m *UnresolvedTransactionsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12746,15 +13460,15 @@ func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReadTransactionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UnresolvedTransactionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReadTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UnresolvedTransactionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Transactions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12781,10 +13495,8 @@ func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Metadata == nil { - m.Metadata = &TransactionMetadata{} - } - if err := m.Metadata.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.Transactions = append(m.Transactions, &TransactionMetadata{}) + if err := m.Transactions[len(m.Transactions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -17023,6 +17735,46 @@ func (m *RealtimeStats) UnmarshalVT(dAtA []byte) error { } m.ViewSchemaChanged = append(m.ViewSchemaChanged, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UdfsChanged", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UdfsChanged = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TxUnresolved", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TxUnresolved = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -17671,6 +18423,128 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *UDFInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UDFInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UDFInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Aggregating", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Aggregating = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReturnType", wireType) + } + m.ReturnType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReturnType |= Type(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -17700,6 +18574,40 @@ func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Udfs", 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 + } + m.Udfs = append(m.Udfs, &UDFInfo{}) + if err := m.Udfs[len(m.Udfs)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TableDefinition", wireType) diff --git a/gen/vitess/query/v16/query.pb.go b/gen/vitess/query/v16/query.pb.go index 6fc7d31..b5fa8fe 100644 --- a/gen/vitess/query/v16/query.pb.go +++ b/gen/vitess/query/v16/query.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/query/v16/query.proto @@ -6640,7 +6640,7 @@ func file_vitess_query_v16_query_proto_rawDescGZIP() []byte { var file_vitess_query_v16_query_proto_enumTypes = make([]protoimpl.EnumInfo, 12) var file_vitess_query_v16_query_proto_msgTypes = make([]protoimpl.MessageInfo, 67) -var file_vitess_query_v16_query_proto_goTypes = []interface{}{ +var file_vitess_query_v16_query_proto_goTypes = []any{ (MySqlFlag)(0), // 0: vitess.query.v16.MySqlFlag (Flag)(0), // 1: vitess.query.v16.Flag (Type)(0), // 2: vitess.query.v16.Type @@ -6878,7 +6878,7 @@ func file_vitess_query_v16_query_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_query_v16_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Target); i { case 0: return &v.state @@ -6890,7 +6890,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*VTGateCallerID); i { case 0: return &v.state @@ -6902,7 +6902,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*EventToken); i { case 0: return &v.state @@ -6914,7 +6914,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Value); i { case 0: return &v.state @@ -6926,7 +6926,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*BindVariable); i { case 0: return &v.state @@ -6938,7 +6938,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*BoundQuery); i { case 0: return &v.state @@ -6950,7 +6950,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ExecuteOptions); i { case 0: return &v.state @@ -6962,7 +6962,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Field); i { case 0: return &v.state @@ -6974,7 +6974,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Row); i { case 0: return &v.state @@ -6986,7 +6986,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*QueryResult); i { case 0: return &v.state @@ -6998,7 +6998,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*QueryWarning); i { case 0: return &v.state @@ -7010,7 +7010,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent); i { case 0: return &v.state @@ -7022,7 +7022,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -7034,7 +7034,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -7046,7 +7046,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ResultWithError); i { case 0: return &v.state @@ -7058,7 +7058,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -7070,7 +7070,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -7082,7 +7082,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*BeginRequest); i { case 0: return &v.state @@ -7094,7 +7094,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*BeginResponse); i { case 0: return &v.state @@ -7106,7 +7106,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*CommitRequest); i { case 0: return &v.state @@ -7118,7 +7118,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*CommitResponse); i { case 0: return &v.state @@ -7130,7 +7130,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*RollbackRequest); i { case 0: return &v.state @@ -7142,7 +7142,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RollbackResponse); i { case 0: return &v.state @@ -7154,7 +7154,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -7166,7 +7166,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -7178,7 +7178,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedRequest); i { case 0: return &v.state @@ -7190,7 +7190,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedResponse); i { case 0: return &v.state @@ -7202,7 +7202,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedRequest); i { case 0: return &v.state @@ -7214,7 +7214,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedResponse); i { case 0: return &v.state @@ -7226,7 +7226,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionRequest); i { case 0: return &v.state @@ -7238,7 +7238,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionResponse); i { case 0: return &v.state @@ -7250,7 +7250,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*StartCommitRequest); i { case 0: return &v.state @@ -7262,7 +7262,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*StartCommitResponse); i { case 0: return &v.state @@ -7274,7 +7274,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackRequest); i { case 0: return &v.state @@ -7286,7 +7286,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackResponse); i { case 0: return &v.state @@ -7298,7 +7298,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionRequest); i { case 0: return &v.state @@ -7310,7 +7310,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionResponse); i { case 0: return &v.state @@ -7322,7 +7322,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionRequest); i { case 0: return &v.state @@ -7334,7 +7334,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionResponse); i { case 0: return &v.state @@ -7346,7 +7346,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteRequest); i { case 0: return &v.state @@ -7358,7 +7358,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteResponse); i { case 0: return &v.state @@ -7370,7 +7370,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteRequest); i { case 0: return &v.state @@ -7382,7 +7382,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteResponse); i { case 0: return &v.state @@ -7394,7 +7394,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamRequest); i { case 0: return &v.state @@ -7406,7 +7406,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamResponse); i { case 0: return &v.state @@ -7418,7 +7418,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*MessageAckRequest); i { case 0: return &v.state @@ -7430,7 +7430,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*MessageAckResponse); i { case 0: return &v.state @@ -7442,7 +7442,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteRequest); i { case 0: return &v.state @@ -7454,7 +7454,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteResponse); i { case 0: return &v.state @@ -7466,7 +7466,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteRequest); i { case 0: return &v.state @@ -7478,7 +7478,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteResponse); i { case 0: return &v.state @@ -7490,7 +7490,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteRequest); i { case 0: return &v.state @@ -7502,7 +7502,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteResponse); i { case 0: return &v.state @@ -7514,7 +7514,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteRequest); i { case 0: return &v.state @@ -7526,7 +7526,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteResponse); i { case 0: return &v.state @@ -7538,7 +7538,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*ReleaseRequest); i { case 0: return &v.state @@ -7550,7 +7550,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*ReleaseResponse); i { case 0: return &v.state @@ -7562,7 +7562,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthRequest); i { case 0: return &v.state @@ -7574,7 +7574,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*RealtimeStats); i { case 0: return &v.state @@ -7586,7 +7586,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*AggregateStats); i { case 0: return &v.state @@ -7598,7 +7598,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthResponse); i { case 0: return &v.state @@ -7610,7 +7610,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*TransactionMetadata); i { case 0: return &v.state @@ -7622,7 +7622,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -7634,7 +7634,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -7646,7 +7646,7 @@ func file_vitess_query_v16_query_proto_init() { return nil } } - file_vitess_query_v16_query_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v16_query_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent_Statement); i { case 0: return &v.state diff --git a/gen/vitess/query/v17/query.pb.go b/gen/vitess/query/v17/query.pb.go index 044aeb4..6ee5b22 100644 --- a/gen/vitess/query/v17/query.pb.go +++ b/gen/vitess/query/v17/query.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/query/v17/query.proto @@ -6668,7 +6668,7 @@ func file_vitess_query_v17_query_proto_rawDescGZIP() []byte { var file_vitess_query_v17_query_proto_enumTypes = make([]protoimpl.EnumInfo, 12) var file_vitess_query_v17_query_proto_msgTypes = make([]protoimpl.MessageInfo, 67) -var file_vitess_query_v17_query_proto_goTypes = []interface{}{ +var file_vitess_query_v17_query_proto_goTypes = []any{ (MySqlFlag)(0), // 0: vitess.query.v17.MySqlFlag (Flag)(0), // 1: vitess.query.v17.Flag (Type)(0), // 2: vitess.query.v17.Type @@ -6906,7 +6906,7 @@ func file_vitess_query_v17_query_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_query_v17_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Target); i { case 0: return &v.state @@ -6918,7 +6918,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*VTGateCallerID); i { case 0: return &v.state @@ -6930,7 +6930,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*EventToken); i { case 0: return &v.state @@ -6942,7 +6942,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Value); i { case 0: return &v.state @@ -6954,7 +6954,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*BindVariable); i { case 0: return &v.state @@ -6966,7 +6966,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*BoundQuery); i { case 0: return &v.state @@ -6978,7 +6978,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ExecuteOptions); i { case 0: return &v.state @@ -6990,7 +6990,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Field); i { case 0: return &v.state @@ -7002,7 +7002,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Row); i { case 0: return &v.state @@ -7014,7 +7014,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*QueryResult); i { case 0: return &v.state @@ -7026,7 +7026,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*QueryWarning); i { case 0: return &v.state @@ -7038,7 +7038,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent); i { case 0: return &v.state @@ -7050,7 +7050,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -7062,7 +7062,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -7074,7 +7074,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ResultWithError); i { case 0: return &v.state @@ -7086,7 +7086,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -7098,7 +7098,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -7110,7 +7110,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*BeginRequest); i { case 0: return &v.state @@ -7122,7 +7122,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*BeginResponse); i { case 0: return &v.state @@ -7134,7 +7134,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*CommitRequest); i { case 0: return &v.state @@ -7146,7 +7146,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*CommitResponse); i { case 0: return &v.state @@ -7158,7 +7158,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*RollbackRequest); i { case 0: return &v.state @@ -7170,7 +7170,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RollbackResponse); i { case 0: return &v.state @@ -7182,7 +7182,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -7194,7 +7194,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -7206,7 +7206,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedRequest); i { case 0: return &v.state @@ -7218,7 +7218,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedResponse); i { case 0: return &v.state @@ -7230,7 +7230,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedRequest); i { case 0: return &v.state @@ -7242,7 +7242,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedResponse); i { case 0: return &v.state @@ -7254,7 +7254,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionRequest); i { case 0: return &v.state @@ -7266,7 +7266,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionResponse); i { case 0: return &v.state @@ -7278,7 +7278,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*StartCommitRequest); i { case 0: return &v.state @@ -7290,7 +7290,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*StartCommitResponse); i { case 0: return &v.state @@ -7302,7 +7302,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackRequest); i { case 0: return &v.state @@ -7314,7 +7314,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackResponse); i { case 0: return &v.state @@ -7326,7 +7326,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionRequest); i { case 0: return &v.state @@ -7338,7 +7338,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionResponse); i { case 0: return &v.state @@ -7350,7 +7350,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionRequest); i { case 0: return &v.state @@ -7362,7 +7362,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionResponse); i { case 0: return &v.state @@ -7374,7 +7374,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteRequest); i { case 0: return &v.state @@ -7386,7 +7386,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteResponse); i { case 0: return &v.state @@ -7398,7 +7398,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteRequest); i { case 0: return &v.state @@ -7410,7 +7410,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteResponse); i { case 0: return &v.state @@ -7422,7 +7422,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamRequest); i { case 0: return &v.state @@ -7434,7 +7434,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamResponse); i { case 0: return &v.state @@ -7446,7 +7446,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*MessageAckRequest); i { case 0: return &v.state @@ -7458,7 +7458,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*MessageAckResponse); i { case 0: return &v.state @@ -7470,7 +7470,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteRequest); i { case 0: return &v.state @@ -7482,7 +7482,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteResponse); i { case 0: return &v.state @@ -7494,7 +7494,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteRequest); i { case 0: return &v.state @@ -7506,7 +7506,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteResponse); i { case 0: return &v.state @@ -7518,7 +7518,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteRequest); i { case 0: return &v.state @@ -7530,7 +7530,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteResponse); i { case 0: return &v.state @@ -7542,7 +7542,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteRequest); i { case 0: return &v.state @@ -7554,7 +7554,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteResponse); i { case 0: return &v.state @@ -7566,7 +7566,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*ReleaseRequest); i { case 0: return &v.state @@ -7578,7 +7578,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*ReleaseResponse); i { case 0: return &v.state @@ -7590,7 +7590,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthRequest); i { case 0: return &v.state @@ -7602,7 +7602,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*RealtimeStats); i { case 0: return &v.state @@ -7614,7 +7614,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*AggregateStats); i { case 0: return &v.state @@ -7626,7 +7626,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthResponse); i { case 0: return &v.state @@ -7638,7 +7638,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*TransactionMetadata); i { case 0: return &v.state @@ -7650,7 +7650,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -7662,7 +7662,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -7674,7 +7674,7 @@ func file_vitess_query_v17_query_proto_init() { return nil } } - file_vitess_query_v17_query_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v17_query_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent_Statement); i { case 0: return &v.state diff --git a/gen/vitess/query/v18/query.pb.go b/gen/vitess/query/v18/query.pb.go index 98cdbf3..da61926 100644 --- a/gen/vitess/query/v18/query.pb.go +++ b/gen/vitess/query/v18/query.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/query/v18/query.proto @@ -6667,7 +6667,7 @@ func file_vitess_query_v18_query_proto_rawDescGZIP() []byte { var file_vitess_query_v18_query_proto_enumTypes = make([]protoimpl.EnumInfo, 12) var file_vitess_query_v18_query_proto_msgTypes = make([]protoimpl.MessageInfo, 67) -var file_vitess_query_v18_query_proto_goTypes = []interface{}{ +var file_vitess_query_v18_query_proto_goTypes = []any{ (MySqlFlag)(0), // 0: vitess.query.v18.MySqlFlag (Flag)(0), // 1: vitess.query.v18.Flag (Type)(0), // 2: vitess.query.v18.Type @@ -6905,7 +6905,7 @@ func file_vitess_query_v18_query_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_query_v18_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Target); i { case 0: return &v.state @@ -6917,7 +6917,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*VTGateCallerID); i { case 0: return &v.state @@ -6929,7 +6929,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*EventToken); i { case 0: return &v.state @@ -6941,7 +6941,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Value); i { case 0: return &v.state @@ -6953,7 +6953,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*BindVariable); i { case 0: return &v.state @@ -6965,7 +6965,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*BoundQuery); i { case 0: return &v.state @@ -6977,7 +6977,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ExecuteOptions); i { case 0: return &v.state @@ -6989,7 +6989,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Field); i { case 0: return &v.state @@ -7001,7 +7001,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Row); i { case 0: return &v.state @@ -7013,7 +7013,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*QueryResult); i { case 0: return &v.state @@ -7025,7 +7025,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*QueryWarning); i { case 0: return &v.state @@ -7037,7 +7037,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent); i { case 0: return &v.state @@ -7049,7 +7049,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -7061,7 +7061,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -7073,7 +7073,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ResultWithError); i { case 0: return &v.state @@ -7085,7 +7085,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -7097,7 +7097,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -7109,7 +7109,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*BeginRequest); i { case 0: return &v.state @@ -7121,7 +7121,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*BeginResponse); i { case 0: return &v.state @@ -7133,7 +7133,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*CommitRequest); i { case 0: return &v.state @@ -7145,7 +7145,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*CommitResponse); i { case 0: return &v.state @@ -7157,7 +7157,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*RollbackRequest); i { case 0: return &v.state @@ -7169,7 +7169,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RollbackResponse); i { case 0: return &v.state @@ -7181,7 +7181,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -7193,7 +7193,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -7205,7 +7205,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedRequest); i { case 0: return &v.state @@ -7217,7 +7217,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*CommitPreparedResponse); i { case 0: return &v.state @@ -7229,7 +7229,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedRequest); i { case 0: return &v.state @@ -7241,7 +7241,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*RollbackPreparedResponse); i { case 0: return &v.state @@ -7253,7 +7253,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionRequest); i { case 0: return &v.state @@ -7265,7 +7265,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*CreateTransactionResponse); i { case 0: return &v.state @@ -7277,7 +7277,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*StartCommitRequest); i { case 0: return &v.state @@ -7289,7 +7289,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*StartCommitResponse); i { case 0: return &v.state @@ -7301,7 +7301,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackRequest); i { case 0: return &v.state @@ -7313,7 +7313,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*SetRollbackResponse); i { case 0: return &v.state @@ -7325,7 +7325,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionRequest); i { case 0: return &v.state @@ -7337,7 +7337,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*ConcludeTransactionResponse); i { case 0: return &v.state @@ -7349,7 +7349,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionRequest); i { case 0: return &v.state @@ -7361,7 +7361,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*ReadTransactionResponse); i { case 0: return &v.state @@ -7373,7 +7373,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteRequest); i { case 0: return &v.state @@ -7385,7 +7385,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*BeginExecuteResponse); i { case 0: return &v.state @@ -7397,7 +7397,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteRequest); i { case 0: return &v.state @@ -7409,7 +7409,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*BeginStreamExecuteResponse); i { case 0: return &v.state @@ -7421,7 +7421,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamRequest); i { case 0: return &v.state @@ -7433,7 +7433,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*MessageStreamResponse); i { case 0: return &v.state @@ -7445,7 +7445,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*MessageAckRequest); i { case 0: return &v.state @@ -7457,7 +7457,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*MessageAckResponse); i { case 0: return &v.state @@ -7469,7 +7469,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteRequest); i { case 0: return &v.state @@ -7481,7 +7481,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*ReserveExecuteResponse); i { case 0: return &v.state @@ -7493,7 +7493,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteRequest); i { case 0: return &v.state @@ -7505,7 +7505,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*ReserveStreamExecuteResponse); i { case 0: return &v.state @@ -7517,7 +7517,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteRequest); i { case 0: return &v.state @@ -7529,7 +7529,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginExecuteResponse); i { case 0: return &v.state @@ -7541,7 +7541,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteRequest); i { case 0: return &v.state @@ -7553,7 +7553,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*ReserveBeginStreamExecuteResponse); i { case 0: return &v.state @@ -7565,7 +7565,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*ReleaseRequest); i { case 0: return &v.state @@ -7577,7 +7577,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*ReleaseResponse); i { case 0: return &v.state @@ -7589,7 +7589,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthRequest); i { case 0: return &v.state @@ -7601,7 +7601,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*RealtimeStats); i { case 0: return &v.state @@ -7613,7 +7613,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*AggregateStats); i { case 0: return &v.state @@ -7625,7 +7625,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*StreamHealthResponse); i { case 0: return &v.state @@ -7637,7 +7637,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*TransactionMetadata); i { case 0: return &v.state @@ -7649,7 +7649,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -7661,7 +7661,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -7673,7 +7673,7 @@ func file_vitess_query_v18_query_proto_init() { return nil } } - file_vitess_query_v18_query_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_query_v18_query_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*StreamEvent_Statement); i { case 0: return &v.state diff --git a/gen/vitess/query/v19/query.pb.go b/gen/vitess/query/v19/query.pb.go new file mode 100644 index 0000000..bac2635 --- /dev/null +++ b/gen/vitess/query/v19/query.pb.go @@ -0,0 +1,7713 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains all the types necessary to make +// RPC calls to Vttablet. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/query/v19/query.proto + +package queryv19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Flags sent from the MySQL C API +type MySqlFlag int32 + +const ( + MySqlFlag_EMPTY MySqlFlag = 0 + MySqlFlag_NOT_NULL_FLAG MySqlFlag = 1 + MySqlFlag_PRI_KEY_FLAG MySqlFlag = 2 + MySqlFlag_UNIQUE_KEY_FLAG MySqlFlag = 4 + MySqlFlag_MULTIPLE_KEY_FLAG MySqlFlag = 8 + MySqlFlag_BLOB_FLAG MySqlFlag = 16 + MySqlFlag_UNSIGNED_FLAG MySqlFlag = 32 + MySqlFlag_ZEROFILL_FLAG MySqlFlag = 64 + MySqlFlag_BINARY_FLAG MySqlFlag = 128 + MySqlFlag_ENUM_FLAG MySqlFlag = 256 + MySqlFlag_AUTO_INCREMENT_FLAG MySqlFlag = 512 + MySqlFlag_TIMESTAMP_FLAG MySqlFlag = 1024 + MySqlFlag_SET_FLAG MySqlFlag = 2048 + MySqlFlag_NO_DEFAULT_VALUE_FLAG MySqlFlag = 4096 + MySqlFlag_ON_UPDATE_NOW_FLAG MySqlFlag = 8192 + MySqlFlag_NUM_FLAG MySqlFlag = 32768 + MySqlFlag_PART_KEY_FLAG MySqlFlag = 16384 + MySqlFlag_GROUP_FLAG MySqlFlag = 32768 + MySqlFlag_UNIQUE_FLAG MySqlFlag = 65536 + MySqlFlag_BINCMP_FLAG MySqlFlag = 131072 +) + +// Enum value maps for MySqlFlag. +var ( + MySqlFlag_name = map[int32]string{ + 0: "EMPTY", + 1: "NOT_NULL_FLAG", + 2: "PRI_KEY_FLAG", + 4: "UNIQUE_KEY_FLAG", + 8: "MULTIPLE_KEY_FLAG", + 16: "BLOB_FLAG", + 32: "UNSIGNED_FLAG", + 64: "ZEROFILL_FLAG", + 128: "BINARY_FLAG", + 256: "ENUM_FLAG", + 512: "AUTO_INCREMENT_FLAG", + 1024: "TIMESTAMP_FLAG", + 2048: "SET_FLAG", + 4096: "NO_DEFAULT_VALUE_FLAG", + 8192: "ON_UPDATE_NOW_FLAG", + 32768: "NUM_FLAG", + 16384: "PART_KEY_FLAG", + // Duplicate value: 32768: "GROUP_FLAG", + 65536: "UNIQUE_FLAG", + 131072: "BINCMP_FLAG", + } + MySqlFlag_value = map[string]int32{ + "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, + } +) + +func (x MySqlFlag) Enum() *MySqlFlag { + p := new(MySqlFlag) + *p = x + return p +} + +func (x MySqlFlag) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MySqlFlag) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[0].Descriptor() +} + +func (MySqlFlag) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[0] +} + +func (x MySqlFlag) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MySqlFlag.Descriptor instead. +func (MySqlFlag) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{0} +} + +// Flag allows us to qualify types by their common properties. +type Flag int32 + +const ( + Flag_NONE Flag = 0 + Flag_ISINTEGRAL Flag = 256 + Flag_ISUNSIGNED Flag = 512 + Flag_ISFLOAT Flag = 1024 + Flag_ISQUOTED Flag = 2048 + Flag_ISTEXT Flag = 4096 + Flag_ISBINARY Flag = 8192 +) + +// Enum value maps for Flag. +var ( + Flag_name = map[int32]string{ + 0: "NONE", + 256: "ISINTEGRAL", + 512: "ISUNSIGNED", + 1024: "ISFLOAT", + 2048: "ISQUOTED", + 4096: "ISTEXT", + 8192: "ISBINARY", + } + Flag_value = map[string]int32{ + "NONE": 0, + "ISINTEGRAL": 256, + "ISUNSIGNED": 512, + "ISFLOAT": 1024, + "ISQUOTED": 2048, + "ISTEXT": 4096, + "ISBINARY": 8192, + } +) + +func (x Flag) Enum() *Flag { + p := new(Flag) + *p = x + return p +} + +func (x Flag) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Flag) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[1].Descriptor() +} + +func (Flag) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[1] +} + +func (x Flag) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Flag.Descriptor instead. +func (Flag) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{1} +} + +// Type defines the various supported data types in bind vars +// and query results. +type Type int32 + +const ( + // NULL_TYPE specifies a NULL type. + Type_NULL_TYPE Type = 0 + // INT8 specifies a TINYINT type. + // Properties: 1, IsNumber. + Type_INT8 Type = 257 + // UINT8 specifies a TINYINT UNSIGNED type. + // Properties: 2, IsNumber, IsUnsigned. + Type_UINT8 Type = 770 + // INT16 specifies a SMALLINT type. + // Properties: 3, IsNumber. + Type_INT16 Type = 259 + // UINT16 specifies a SMALLINT UNSIGNED type. + // Properties: 4, IsNumber, IsUnsigned. + Type_UINT16 Type = 772 + // INT24 specifies a MEDIUMINT type. + // Properties: 5, IsNumber. + Type_INT24 Type = 261 + // UINT24 specifies a MEDIUMINT UNSIGNED type. + // Properties: 6, IsNumber, IsUnsigned. + Type_UINT24 Type = 774 + // INT32 specifies a INTEGER type. + // Properties: 7, IsNumber. + Type_INT32 Type = 263 + // UINT32 specifies a INTEGER UNSIGNED type. + // Properties: 8, IsNumber, IsUnsigned. + Type_UINT32 Type = 776 + // INT64 specifies a BIGINT type. + // Properties: 9, IsNumber. + Type_INT64 Type = 265 + // UINT64 specifies a BIGINT UNSIGNED type. + // Properties: 10, IsNumber, IsUnsigned. + Type_UINT64 Type = 778 + // FLOAT32 specifies a FLOAT type. + // Properties: 11, IsFloat. + Type_FLOAT32 Type = 1035 + // FLOAT64 specifies a DOUBLE or REAL type. + // Properties: 12, IsFloat. + Type_FLOAT64 Type = 1036 + // TIMESTAMP specifies a TIMESTAMP type. + // Properties: 13, IsQuoted. + Type_TIMESTAMP Type = 2061 + // DATE specifies a DATE type. + // Properties: 14, IsQuoted. + Type_DATE Type = 2062 + // TIME specifies a TIME type. + // Properties: 15, IsQuoted. + Type_TIME Type = 2063 + // DATETIME specifies a DATETIME type. + // Properties: 16, IsQuoted. + Type_DATETIME Type = 2064 + // YEAR specifies a YEAR type. + // Properties: 17, IsNumber, IsUnsigned. + Type_YEAR Type = 785 + // DECIMAL specifies a DECIMAL or NUMERIC type. + // Properties: 18, None. + Type_DECIMAL Type = 18 + // TEXT specifies a TEXT type. + // Properties: 19, IsQuoted, IsText. + Type_TEXT Type = 6163 + // BLOB specifies a BLOB type. + // Properties: 20, IsQuoted, IsBinary. + Type_BLOB Type = 10260 + // VARCHAR specifies a VARCHAR type. + // Properties: 21, IsQuoted, IsText. + Type_VARCHAR Type = 6165 + // VARBINARY specifies a VARBINARY type. + // Properties: 22, IsQuoted, IsBinary. + Type_VARBINARY Type = 10262 + // CHAR specifies a CHAR type. + // Properties: 23, IsQuoted, IsText. + Type_CHAR Type = 6167 + // BINARY specifies a BINARY type. + // Properties: 24, IsQuoted, IsBinary. + Type_BINARY Type = 10264 + // BIT specifies a BIT type. + // Properties: 25, IsQuoted. + Type_BIT Type = 2073 + // ENUM specifies an ENUM type. + // Properties: 26, IsQuoted. + Type_ENUM Type = 2074 + // SET specifies a SET type. + // Properties: 27, IsQuoted. + Type_SET Type = 2075 + // TUPLE specifies a tuple. This cannot + // be returned in a QueryResult, but it can + // be sent as a bind var. + // Properties: 28, None. + Type_TUPLE Type = 28 + // GEOMETRY specifies a GEOMETRY type. + // Properties: 29, IsQuoted. + Type_GEOMETRY Type = 2077 + // JSON specifies a JSON type. + // Properties: 30, IsQuoted. + Type_JSON Type = 2078 + // EXPRESSION specifies a SQL expression. + // This type is for internal use only. + // Properties: 31, None. + Type_EXPRESSION Type = 31 + // HEXNUM specifies a HEXNUM type (unquoted varbinary). + // Properties: 32, IsText. + Type_HEXNUM Type = 4128 + // HEXVAL specifies a HEXVAL type (unquoted varbinary). + // Properties: 33, IsText. + Type_HEXVAL Type = 4129 + // BITNUM specifies a base 2 binary type (unquoted varbinary). + // Properties: 34, IsText. + Type_BITNUM Type = 4130 + // RAW specifies a type which won't be quoted but the value used as-is while encoding. + Type_RAW Type = 2084 +) + +// Enum value maps for Type. +var ( + Type_name = map[int32]string{ + 0: "NULL_TYPE", + 257: "INT8", + 770: "UINT8", + 259: "INT16", + 772: "UINT16", + 261: "INT24", + 774: "UINT24", + 263: "INT32", + 776: "UINT32", + 265: "INT64", + 778: "UINT64", + 1035: "FLOAT32", + 1036: "FLOAT64", + 2061: "TIMESTAMP", + 2062: "DATE", + 2063: "TIME", + 2064: "DATETIME", + 785: "YEAR", + 18: "DECIMAL", + 6163: "TEXT", + 10260: "BLOB", + 6165: "VARCHAR", + 10262: "VARBINARY", + 6167: "CHAR", + 10264: "BINARY", + 2073: "BIT", + 2074: "ENUM", + 2075: "SET", + 28: "TUPLE", + 2077: "GEOMETRY", + 2078: "JSON", + 31: "EXPRESSION", + 4128: "HEXNUM", + 4129: "HEXVAL", + 4130: "BITNUM", + 2084: "RAW", + } + Type_value = map[string]int32{ + "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, + "RAW": 2084, + } +) + +func (x Type) Enum() *Type { + p := new(Type) + *p = x + return p +} + +func (x Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Type) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[2].Descriptor() +} + +func (Type) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[2] +} + +func (x Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Type.Descriptor instead. +func (Type) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{2} +} + +// TransactionState represents the state of a distributed transaction. +type TransactionState int32 + +const ( + TransactionState_UNKNOWN TransactionState = 0 + TransactionState_PREPARE TransactionState = 1 + TransactionState_COMMIT TransactionState = 2 + TransactionState_ROLLBACK TransactionState = 3 +) + +// Enum value maps for TransactionState. +var ( + TransactionState_name = map[int32]string{ + 0: "UNKNOWN", + 1: "PREPARE", + 2: "COMMIT", + 3: "ROLLBACK", + } + TransactionState_value = map[string]int32{ + "UNKNOWN": 0, + "PREPARE": 1, + "COMMIT": 2, + "ROLLBACK": 3, + } +) + +func (x TransactionState) Enum() *TransactionState { + p := new(TransactionState) + *p = x + return p +} + +func (x TransactionState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TransactionState) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[3].Descriptor() +} + +func (TransactionState) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[3] +} + +func (x TransactionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TransactionState.Descriptor instead. +func (TransactionState) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{3} +} + +// SchemaTableType represents the type of table requested. +type SchemaTableType int32 + +const ( + SchemaTableType_VIEWS SchemaTableType = 0 + SchemaTableType_TABLES SchemaTableType = 1 + SchemaTableType_ALL SchemaTableType = 2 +) + +// Enum value maps for SchemaTableType. +var ( + SchemaTableType_name = map[int32]string{ + 0: "VIEWS", + 1: "TABLES", + 2: "ALL", + } + SchemaTableType_value = map[string]int32{ + "VIEWS": 0, + "TABLES": 1, + "ALL": 2, + } +) + +func (x SchemaTableType) Enum() *SchemaTableType { + p := new(SchemaTableType) + *p = x + return p +} + +func (x SchemaTableType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SchemaTableType) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[4].Descriptor() +} + +func (SchemaTableType) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[4] +} + +func (x SchemaTableType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SchemaTableType.Descriptor instead. +func (SchemaTableType) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{4} +} + +type ExecuteOptions_IncludedFields int32 + +const ( + ExecuteOptions_TYPE_AND_NAME ExecuteOptions_IncludedFields = 0 + ExecuteOptions_TYPE_ONLY ExecuteOptions_IncludedFields = 1 + ExecuteOptions_ALL ExecuteOptions_IncludedFields = 2 +) + +// Enum value maps for ExecuteOptions_IncludedFields. +var ( + ExecuteOptions_IncludedFields_name = map[int32]string{ + 0: "TYPE_AND_NAME", + 1: "TYPE_ONLY", + 2: "ALL", + } + ExecuteOptions_IncludedFields_value = map[string]int32{ + "TYPE_AND_NAME": 0, + "TYPE_ONLY": 1, + "ALL": 2, + } +) + +func (x ExecuteOptions_IncludedFields) Enum() *ExecuteOptions_IncludedFields { + p := new(ExecuteOptions_IncludedFields) + *p = x + return p +} + +func (x ExecuteOptions_IncludedFields) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecuteOptions_IncludedFields) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[5].Descriptor() +} + +func (ExecuteOptions_IncludedFields) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[5] +} + +func (x ExecuteOptions_IncludedFields) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecuteOptions_IncludedFields.Descriptor instead. +func (ExecuteOptions_IncludedFields) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{6, 0} +} + +type ExecuteOptions_Workload int32 + +const ( + ExecuteOptions_UNSPECIFIED ExecuteOptions_Workload = 0 + ExecuteOptions_OLTP ExecuteOptions_Workload = 1 + ExecuteOptions_OLAP ExecuteOptions_Workload = 2 + ExecuteOptions_DBA ExecuteOptions_Workload = 3 +) + +// Enum value maps for ExecuteOptions_Workload. +var ( + ExecuteOptions_Workload_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "OLTP", + 2: "OLAP", + 3: "DBA", + } + ExecuteOptions_Workload_value = map[string]int32{ + "UNSPECIFIED": 0, + "OLTP": 1, + "OLAP": 2, + "DBA": 3, + } +) + +func (x ExecuteOptions_Workload) Enum() *ExecuteOptions_Workload { + p := new(ExecuteOptions_Workload) + *p = x + return p +} + +func (x ExecuteOptions_Workload) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecuteOptions_Workload) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[6].Descriptor() +} + +func (ExecuteOptions_Workload) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[6] +} + +func (x ExecuteOptions_Workload) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecuteOptions_Workload.Descriptor instead. +func (ExecuteOptions_Workload) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{6, 1} +} + +type ExecuteOptions_TransactionIsolation int32 + +const ( + ExecuteOptions_DEFAULT ExecuteOptions_TransactionIsolation = 0 + ExecuteOptions_REPEATABLE_READ ExecuteOptions_TransactionIsolation = 1 + ExecuteOptions_READ_COMMITTED ExecuteOptions_TransactionIsolation = 2 + ExecuteOptions_READ_UNCOMMITTED ExecuteOptions_TransactionIsolation = 3 + ExecuteOptions_SERIALIZABLE ExecuteOptions_TransactionIsolation = 4 + // This is not an "official" transaction level but it will do a + // START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY + ExecuteOptions_CONSISTENT_SNAPSHOT_READ_ONLY ExecuteOptions_TransactionIsolation = 5 + // This not an "official" transaction level, it will send queries to mysql + // without wrapping them in a transaction + ExecuteOptions_AUTOCOMMIT ExecuteOptions_TransactionIsolation = 6 +) + +// Enum value maps for ExecuteOptions_TransactionIsolation. +var ( + ExecuteOptions_TransactionIsolation_name = map[int32]string{ + 0: "DEFAULT", + 1: "REPEATABLE_READ", + 2: "READ_COMMITTED", + 3: "READ_UNCOMMITTED", + 4: "SERIALIZABLE", + 5: "CONSISTENT_SNAPSHOT_READ_ONLY", + 6: "AUTOCOMMIT", + } + ExecuteOptions_TransactionIsolation_value = map[string]int32{ + "DEFAULT": 0, + "REPEATABLE_READ": 1, + "READ_COMMITTED": 2, + "READ_UNCOMMITTED": 3, + "SERIALIZABLE": 4, + "CONSISTENT_SNAPSHOT_READ_ONLY": 5, + "AUTOCOMMIT": 6, + } +) + +func (x ExecuteOptions_TransactionIsolation) Enum() *ExecuteOptions_TransactionIsolation { + p := new(ExecuteOptions_TransactionIsolation) + *p = x + return p +} + +func (x ExecuteOptions_TransactionIsolation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecuteOptions_TransactionIsolation) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[7].Descriptor() +} + +func (ExecuteOptions_TransactionIsolation) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[7] +} + +func (x ExecuteOptions_TransactionIsolation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecuteOptions_TransactionIsolation.Descriptor instead. +func (ExecuteOptions_TransactionIsolation) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{6, 2} +} + +type ExecuteOptions_PlannerVersion int32 + +const ( + ExecuteOptions_DEFAULT_PLANNER ExecuteOptions_PlannerVersion = 0 + ExecuteOptions_V3 ExecuteOptions_PlannerVersion = 1 + ExecuteOptions_Gen4 ExecuteOptions_PlannerVersion = 2 + ExecuteOptions_Gen4Greedy ExecuteOptions_PlannerVersion = 3 + ExecuteOptions_Gen4Left2Right ExecuteOptions_PlannerVersion = 4 + ExecuteOptions_Gen4WithFallback ExecuteOptions_PlannerVersion = 5 + ExecuteOptions_Gen4CompareV3 ExecuteOptions_PlannerVersion = 6 + ExecuteOptions_V3Insert ExecuteOptions_PlannerVersion = 7 +) + +// Enum value maps for ExecuteOptions_PlannerVersion. +var ( + ExecuteOptions_PlannerVersion_name = map[int32]string{ + 0: "DEFAULT_PLANNER", + 1: "V3", + 2: "Gen4", + 3: "Gen4Greedy", + 4: "Gen4Left2Right", + 5: "Gen4WithFallback", + 6: "Gen4CompareV3", + 7: "V3Insert", + } + ExecuteOptions_PlannerVersion_value = map[string]int32{ + "DEFAULT_PLANNER": 0, + "V3": 1, + "Gen4": 2, + "Gen4Greedy": 3, + "Gen4Left2Right": 4, + "Gen4WithFallback": 5, + "Gen4CompareV3": 6, + "V3Insert": 7, + } +) + +func (x ExecuteOptions_PlannerVersion) Enum() *ExecuteOptions_PlannerVersion { + p := new(ExecuteOptions_PlannerVersion) + *p = x + return p +} + +func (x ExecuteOptions_PlannerVersion) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecuteOptions_PlannerVersion) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[8].Descriptor() +} + +func (ExecuteOptions_PlannerVersion) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[8] +} + +func (x ExecuteOptions_PlannerVersion) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecuteOptions_PlannerVersion.Descriptor instead. +func (ExecuteOptions_PlannerVersion) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{6, 3} +} + +type ExecuteOptions_Consolidator int32 + +const ( + ExecuteOptions_CONSOLIDATOR_UNSPECIFIED ExecuteOptions_Consolidator = 0 + ExecuteOptions_CONSOLIDATOR_DISABLED ExecuteOptions_Consolidator = 1 + ExecuteOptions_CONSOLIDATOR_ENABLED ExecuteOptions_Consolidator = 2 + ExecuteOptions_CONSOLIDATOR_ENABLED_REPLICAS ExecuteOptions_Consolidator = 3 +) + +// Enum value maps for ExecuteOptions_Consolidator. +var ( + ExecuteOptions_Consolidator_name = map[int32]string{ + 0: "CONSOLIDATOR_UNSPECIFIED", + 1: "CONSOLIDATOR_DISABLED", + 2: "CONSOLIDATOR_ENABLED", + 3: "CONSOLIDATOR_ENABLED_REPLICAS", + } + ExecuteOptions_Consolidator_value = map[string]int32{ + "CONSOLIDATOR_UNSPECIFIED": 0, + "CONSOLIDATOR_DISABLED": 1, + "CONSOLIDATOR_ENABLED": 2, + "CONSOLIDATOR_ENABLED_REPLICAS": 3, + } +) + +func (x ExecuteOptions_Consolidator) Enum() *ExecuteOptions_Consolidator { + p := new(ExecuteOptions_Consolidator) + *p = x + return p +} + +func (x ExecuteOptions_Consolidator) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecuteOptions_Consolidator) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[9].Descriptor() +} + +func (ExecuteOptions_Consolidator) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[9] +} + +func (x ExecuteOptions_Consolidator) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecuteOptions_Consolidator.Descriptor instead. +func (ExecuteOptions_Consolidator) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{6, 4} +} + +type ExecuteOptions_TransactionAccessMode int32 + +const ( + ExecuteOptions_CONSISTENT_SNAPSHOT ExecuteOptions_TransactionAccessMode = 0 + ExecuteOptions_READ_WRITE ExecuteOptions_TransactionAccessMode = 1 + ExecuteOptions_READ_ONLY ExecuteOptions_TransactionAccessMode = 2 +) + +// Enum value maps for ExecuteOptions_TransactionAccessMode. +var ( + ExecuteOptions_TransactionAccessMode_name = map[int32]string{ + 0: "CONSISTENT_SNAPSHOT", + 1: "READ_WRITE", + 2: "READ_ONLY", + } + ExecuteOptions_TransactionAccessMode_value = map[string]int32{ + "CONSISTENT_SNAPSHOT": 0, + "READ_WRITE": 1, + "READ_ONLY": 2, + } +) + +func (x ExecuteOptions_TransactionAccessMode) Enum() *ExecuteOptions_TransactionAccessMode { + p := new(ExecuteOptions_TransactionAccessMode) + *p = x + return p +} + +func (x ExecuteOptions_TransactionAccessMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecuteOptions_TransactionAccessMode) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[10].Descriptor() +} + +func (ExecuteOptions_TransactionAccessMode) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[10] +} + +func (x ExecuteOptions_TransactionAccessMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecuteOptions_TransactionAccessMode.Descriptor instead. +func (ExecuteOptions_TransactionAccessMode) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{6, 5} +} + +// The category of one statement. +type StreamEvent_Statement_Category int32 + +const ( + StreamEvent_Statement_Error StreamEvent_Statement_Category = 0 + StreamEvent_Statement_DML StreamEvent_Statement_Category = 1 + StreamEvent_Statement_DDL StreamEvent_Statement_Category = 2 +) + +// Enum value maps for StreamEvent_Statement_Category. +var ( + StreamEvent_Statement_Category_name = map[int32]string{ + 0: "Error", + 1: "DML", + 2: "DDL", + } + StreamEvent_Statement_Category_value = map[string]int32{ + "Error": 0, + "DML": 1, + "DDL": 2, + } +) + +func (x StreamEvent_Statement_Category) Enum() *StreamEvent_Statement_Category { + p := new(StreamEvent_Statement_Category) + *p = x + return p +} + +func (x StreamEvent_Statement_Category) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StreamEvent_Statement_Category) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_query_v19_query_proto_enumTypes[11].Descriptor() +} + +func (StreamEvent_Statement_Category) Type() protoreflect.EnumType { + return &file_vitess_query_v19_query_proto_enumTypes[11] +} + +func (x StreamEvent_Statement_Category) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use StreamEvent_Statement_Category.Descriptor instead. +func (StreamEvent_Statement_Category) EnumDescriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{11, 0, 0} +} + +// Target describes what the client expects the tablet is. +// If the tablet does not match, an error is returned. +type Target struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + TabletType v19.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_type,omitempty"` + // cell is used for routing queries between vtgate and vttablets. It + // is not used when Target is part of the Session sent by the client. + Cell string `protobuf:"bytes,4,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *Target) Reset() { + *x = Target{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Target) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Target) ProtoMessage() {} + +func (x *Target) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Target.ProtoReflect.Descriptor instead. +func (*Target) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{0} +} + +func (x *Target) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *Target) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *Target) GetTabletType() v19.TabletType { + if x != nil { + return x.TabletType + } + return v19.TabletType(0) +} + +func (x *Target) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +// VTGateCallerID is sent by VTGate to VTTablet to describe the +// caller. If possible, this information is secure. For instance, +// if using unique certificates that guarantee that VTGate->VTTablet +// traffic cannot be spoofed, then VTTablet can trust this information, +// and VTTablet will use it for tablet ACLs, for instance. +// Because of this security guarantee, this is different than the CallerID +// structure, which is not secure at all, because it is provided +// by the Vitess client. +type VTGateCallerID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + Groups []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` +} + +func (x *VTGateCallerID) Reset() { + *x = VTGateCallerID{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VTGateCallerID) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VTGateCallerID) ProtoMessage() {} + +func (x *VTGateCallerID) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VTGateCallerID.ProtoReflect.Descriptor instead. +func (*VTGateCallerID) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{1} +} + +func (x *VTGateCallerID) GetUsername() string { + if x != nil { + return x.Username + } + return "" +} + +func (x *VTGateCallerID) GetGroups() []string { + if x != nil { + return x.Groups + } + return nil +} + +// EventToken is a structure that describes a point in time in a +// replication stream on one shard. The most recent known replication +// position can be retrieved from vttablet when executing a query. It +// is also sent with the replication streams from the binlog service. +type EventToken struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // timestamp is the MySQL timestamp of the statements. Seconds since Epoch. + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // The shard name that applied the statements. Note this is not set when + // streaming from a vttablet. It is only used on the client -> vtgate link. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // The position on the replication stream after this statement was applied. + // It is not the transaction ID / GTID, but the position / GTIDSet. + Position string `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *EventToken) Reset() { + *x = EventToken{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventToken) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventToken) ProtoMessage() {} + +func (x *EventToken) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventToken.ProtoReflect.Descriptor instead. +func (*EventToken) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{2} +} + +func (x *EventToken) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *EventToken) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *EventToken) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +// Value represents a typed value. +type Value struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=vitess.query.v19.Type" json:"type,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *Value) Reset() { + *x = Value{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Value) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Value) ProtoMessage() {} + +func (x *Value) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Value.ProtoReflect.Descriptor instead. +func (*Value) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{3} +} + +func (x *Value) GetType() Type { + if x != nil { + return x.Type + } + return Type_NULL_TYPE +} + +func (x *Value) GetValue() []byte { + if x != nil { + return x.Value + } + return nil +} + +// BindVariable represents a single bind variable in a Query. +type BindVariable struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=vitess.query.v19.Type" json:"type,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // values are set if type is TUPLE. + Values []*Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` +} + +func (x *BindVariable) Reset() { + *x = BindVariable{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BindVariable) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BindVariable) ProtoMessage() {} + +func (x *BindVariable) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BindVariable.ProtoReflect.Descriptor instead. +func (*BindVariable) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{4} +} + +func (x *BindVariable) GetType() Type { + if x != nil { + return x.Type + } + return Type_NULL_TYPE +} + +func (x *BindVariable) GetValue() []byte { + if x != nil { + return x.Value + } + return nil +} + +func (x *BindVariable) GetValues() []*Value { + if x != nil { + return x.Values + } + return nil +} + +// BoundQuery is a query with its bind variables +type BoundQuery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // sql is the SQL query to execute + Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"` + // bind_variables is a map of all bind variables to expand in the query. + // nil values are not allowed. Use NULL_TYPE to express a NULL value. + BindVariables map[string]*BindVariable `protobuf:"bytes,2,rep,name=bind_variables,json=bindVariables,proto3" json:"bind_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *BoundQuery) Reset() { + *x = BoundQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BoundQuery) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BoundQuery) ProtoMessage() {} + +func (x *BoundQuery) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BoundQuery.ProtoReflect.Descriptor instead. +func (*BoundQuery) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{5} +} + +func (x *BoundQuery) GetSql() string { + if x != nil { + return x.Sql + } + return "" +} + +func (x *BoundQuery) GetBindVariables() map[string]*BindVariable { + if x != nil { + return x.BindVariables + } + return nil +} + +// ExecuteOptions is passed around for all Execute calls. +type ExecuteOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Controls what fields are returned in Field message responses from mysql, i.e. + // field name, table name, etc. This is an optimization for high-QPS queries where + // the client knows what it's getting + IncludedFields ExecuteOptions_IncludedFields `protobuf:"varint,4,opt,name=included_fields,json=includedFields,proto3,enum=vitess.query.v19.ExecuteOptions_IncludedFields" json:"included_fields,omitempty"` + // client_rows_found specifies if rows_affected should return + // rows found instead of rows affected. Behavior is defined + // by MySQL's CLIENT_FOUND_ROWS flag. + ClientFoundRows bool `protobuf:"varint,5,opt,name=client_found_rows,json=clientFoundRows,proto3" json:"client_found_rows,omitempty"` + // workload specifies the type of workload: + // OLTP: DMLs allowed, results have row count limit, and + // query timeouts are shorter. + // OLAP: DMLS not allowed, no limit on row count, timeouts + // can be as high as desired. + // DBA: no limit on rowcount or timeout, all queries allowed + // but intended for long DMLs and DDLs. + Workload ExecuteOptions_Workload `protobuf:"varint,6,opt,name=workload,proto3,enum=vitess.query.v19.ExecuteOptions_Workload" json:"workload,omitempty"` + // sql_select_limit sets an implicit limit on all select statements. Since + // vitess also sets a rowcount limit on queries, the smallest value wins. + SqlSelectLimit int64 `protobuf:"varint,8,opt,name=sql_select_limit,json=sqlSelectLimit,proto3" json:"sql_select_limit,omitempty"` + TransactionIsolation ExecuteOptions_TransactionIsolation `protobuf:"varint,9,opt,name=transaction_isolation,json=transactionIsolation,proto3,enum=vitess.query.v19.ExecuteOptions_TransactionIsolation" json:"transaction_isolation,omitempty"` + // skip_query_plan_cache specifies if the query plan should be cached by vitess. + // By default all query plans are cached. + SkipQueryPlanCache bool `protobuf:"varint,10,opt,name=skip_query_plan_cache,json=skipQueryPlanCache,proto3" json:"skip_query_plan_cache,omitempty"` + // PlannerVersion specifies which planner to use. + // If DEFAULT is chosen, whatever vtgate was started with will be used + PlannerVersion ExecuteOptions_PlannerVersion `protobuf:"varint,11,opt,name=planner_version,json=plannerVersion,proto3,enum=vitess.query.v19.ExecuteOptions_PlannerVersion" json:"planner_version,omitempty"` + // has_created_temp_tables signals whether plans created in this session should be cached or not + // if the user has created temp tables, Vitess will not reuse plans created for this session in other sessions. + // The current session can still use other sessions cached plans. + HasCreatedTempTables bool `protobuf:"varint,12,opt,name=has_created_temp_tables,json=hasCreatedTempTables,proto3" json:"has_created_temp_tables,omitempty"` + Consolidator ExecuteOptions_Consolidator `protobuf:"varint,13,opt,name=consolidator,proto3,enum=vitess.query.v19.ExecuteOptions_Consolidator" json:"consolidator,omitempty"` + // TransactionAccessMode specifies the access modes to be used while starting the transaction i.e. READ WRITE/READ ONLY/WITH CONSISTENT SNAPSHOT + // If not specified, the transaction will be started with the default access mode on the connection. + TransactionAccessMode []ExecuteOptions_TransactionAccessMode `protobuf:"varint,14,rep,packed,name=transaction_access_mode,json=transactionAccessMode,proto3,enum=vitess.query.v19.ExecuteOptions_TransactionAccessMode" json:"transaction_access_mode,omitempty"` + // WorkloadName specifies the name of the workload as indicated in query directives. This is used for instrumentation + // in metrics and tracing spans. + WorkloadName string `protobuf:"bytes,15,opt,name=WorkloadName,proto3" json:"WorkloadName,omitempty"` + // priority specifies the priority of the query, between 0 and 100. This is leveraged by the transaction + // throttler to determine whether, under resource contention, a query should or should not be throttled. + Priority string `protobuf:"bytes,16,opt,name=priority,proto3" json:"priority,omitempty"` +} + +func (x *ExecuteOptions) Reset() { + *x = ExecuteOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteOptions) ProtoMessage() {} + +func (x *ExecuteOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteOptions.ProtoReflect.Descriptor instead. +func (*ExecuteOptions) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{6} +} + +func (x *ExecuteOptions) GetIncludedFields() ExecuteOptions_IncludedFields { + if x != nil { + return x.IncludedFields + } + return ExecuteOptions_TYPE_AND_NAME +} + +func (x *ExecuteOptions) GetClientFoundRows() bool { + if x != nil { + return x.ClientFoundRows + } + return false +} + +func (x *ExecuteOptions) GetWorkload() ExecuteOptions_Workload { + if x != nil { + return x.Workload + } + return ExecuteOptions_UNSPECIFIED +} + +func (x *ExecuteOptions) GetSqlSelectLimit() int64 { + if x != nil { + return x.SqlSelectLimit + } + return 0 +} + +func (x *ExecuteOptions) GetTransactionIsolation() ExecuteOptions_TransactionIsolation { + if x != nil { + return x.TransactionIsolation + } + return ExecuteOptions_DEFAULT +} + +func (x *ExecuteOptions) GetSkipQueryPlanCache() bool { + if x != nil { + return x.SkipQueryPlanCache + } + return false +} + +func (x *ExecuteOptions) GetPlannerVersion() ExecuteOptions_PlannerVersion { + if x != nil { + return x.PlannerVersion + } + return ExecuteOptions_DEFAULT_PLANNER +} + +func (x *ExecuteOptions) GetHasCreatedTempTables() bool { + if x != nil { + return x.HasCreatedTempTables + } + return false +} + +func (x *ExecuteOptions) GetConsolidator() ExecuteOptions_Consolidator { + if x != nil { + return x.Consolidator + } + return ExecuteOptions_CONSOLIDATOR_UNSPECIFIED +} + +func (x *ExecuteOptions) GetTransactionAccessMode() []ExecuteOptions_TransactionAccessMode { + if x != nil { + return x.TransactionAccessMode + } + return nil +} + +func (x *ExecuteOptions) GetWorkloadName() string { + if x != nil { + return x.WorkloadName + } + return "" +} + +func (x *ExecuteOptions) GetPriority() string { + if x != nil { + return x.Priority + } + return "" +} + +// Field describes a single column returned by a query +type Field struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the field as returned by mysql C API + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // vitess-defined type. Conversion function is in sqltypes package. + Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=vitess.query.v19.Type" json:"type,omitempty"` + // Remaining fields from mysql C API. + // These fields are only populated when ExecuteOptions.included_fields + // is set to IncludedFields.ALL. + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` + OrgTable string `protobuf:"bytes,4,opt,name=org_table,json=orgTable,proto3" json:"org_table,omitempty"` + Database string `protobuf:"bytes,5,opt,name=database,proto3" json:"database,omitempty"` + OrgName string `protobuf:"bytes,6,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"` + // column_length is really a uint32. All 32 bits can be used. + ColumnLength uint32 `protobuf:"varint,7,opt,name=column_length,json=columnLength,proto3" json:"column_length,omitempty"` + // charset is actually a uint16. Only the lower 16 bits are used. + Charset uint32 `protobuf:"varint,8,opt,name=charset,proto3" json:"charset,omitempty"` + // decimals is actually a uint8. Only the lower 8 bits are used. + Decimals uint32 `protobuf:"varint,9,opt,name=decimals,proto3" json:"decimals,omitempty"` + // flags is actually a uint16. Only the lower 16 bits are used. + Flags uint32 `protobuf:"varint,10,opt,name=flags,proto3" json:"flags,omitempty"` + // column_type is optionally populated from information_schema.columns + ColumnType string `protobuf:"bytes,11,opt,name=column_type,json=columnType,proto3" json:"column_type,omitempty"` +} + +func (x *Field) Reset() { + *x = Field{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Field) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Field) ProtoMessage() {} + +func (x *Field) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Field.ProtoReflect.Descriptor instead. +func (*Field) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{7} +} + +func (x *Field) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Field) GetType() Type { + if x != nil { + return x.Type + } + return Type_NULL_TYPE +} + +func (x *Field) GetTable() string { + if x != nil { + return x.Table + } + return "" +} + +func (x *Field) GetOrgTable() string { + if x != nil { + return x.OrgTable + } + return "" +} + +func (x *Field) GetDatabase() string { + if x != nil { + return x.Database + } + return "" +} + +func (x *Field) GetOrgName() string { + if x != nil { + return x.OrgName + } + return "" +} + +func (x *Field) GetColumnLength() uint32 { + if x != nil { + return x.ColumnLength + } + return 0 +} + +func (x *Field) GetCharset() uint32 { + if x != nil { + return x.Charset + } + return 0 +} + +func (x *Field) GetDecimals() uint32 { + if x != nil { + return x.Decimals + } + return 0 +} + +func (x *Field) GetFlags() uint32 { + if x != nil { + return x.Flags + } + return 0 +} + +func (x *Field) GetColumnType() string { + if x != nil { + return x.ColumnType + } + return "" +} + +// Row is a database row. +type Row struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // lengths contains the length of each value in values. + // A length of -1 means that the field is NULL. While + // reading values, you have to accummulate the length + // to know the offset where the next value begins in values. + Lengths []int64 `protobuf:"zigzag64,1,rep,packed,name=lengths,proto3" json:"lengths,omitempty"` + // values contains a concatenation of all values in the row. + Values []byte `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"` +} + +func (x *Row) Reset() { + *x = Row{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Row) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Row) ProtoMessage() {} + +func (x *Row) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Row.ProtoReflect.Descriptor instead. +func (*Row) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{8} +} + +func (x *Row) GetLengths() []int64 { + if x != nil { + return x.Lengths + } + return nil +} + +func (x *Row) GetValues() []byte { + if x != nil { + return x.Values + } + return nil +} + +// QueryResult is returned by Execute and ExecuteStream. +// +// As returned by Execute, len(fields) is always equal to len(row) +// (for each row in rows). +// +// As returned by StreamExecute, the first QueryResult has the fields +// set, and subsequent QueryResult have rows set. And as Execute, +// len(QueryResult[0].fields) is always equal to len(row) (for each +// row in rows for each QueryResult in QueryResult[1:]). +type QueryResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + RowsAffected uint64 `protobuf:"varint,2,opt,name=rows_affected,json=rowsAffected,proto3" json:"rows_affected,omitempty"` + InsertId uint64 `protobuf:"varint,3,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"` + Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` + Info string `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"` + SessionStateChanges string `protobuf:"bytes,7,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` +} + +func (x *QueryResult) Reset() { + *x = QueryResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryResult) ProtoMessage() {} + +func (x *QueryResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryResult.ProtoReflect.Descriptor instead. +func (*QueryResult) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{9} +} + +func (x *QueryResult) GetFields() []*Field { + if x != nil { + return x.Fields + } + return nil +} + +func (x *QueryResult) GetRowsAffected() uint64 { + if x != nil { + return x.RowsAffected + } + return 0 +} + +func (x *QueryResult) GetInsertId() uint64 { + if x != nil { + return x.InsertId + } + return 0 +} + +func (x *QueryResult) GetRows() []*Row { + if x != nil { + return x.Rows + } + return nil +} + +func (x *QueryResult) GetInfo() string { + if x != nil { + return x.Info + } + return "" +} + +func (x *QueryResult) GetSessionStateChanges() string { + if x != nil { + return x.SessionStateChanges + } + return "" +} + +// QueryWarning is used to convey out of band query execution warnings +// by storing in the vtgate.Session +type QueryWarning struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *QueryWarning) Reset() { + *x = QueryWarning{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryWarning) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryWarning) ProtoMessage() {} + +func (x *QueryWarning) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryWarning.ProtoReflect.Descriptor instead. +func (*QueryWarning) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{10} +} + +func (x *QueryWarning) GetCode() uint32 { + if x != nil { + return x.Code + } + return 0 +} + +func (x *QueryWarning) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +// StreamEvent describes a set of transformations that happened as a +// single transactional unit on a server. It is streamed back by the +// Update Stream calls. +type StreamEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The statements in this transaction. + Statements []*StreamEvent_Statement `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"` + // The Event Token for this event. + EventToken *EventToken `protobuf:"bytes,2,opt,name=event_token,json=eventToken,proto3" json:"event_token,omitempty"` +} + +func (x *StreamEvent) Reset() { + *x = StreamEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamEvent) ProtoMessage() {} + +func (x *StreamEvent) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamEvent.ProtoReflect.Descriptor instead. +func (*StreamEvent) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{11} +} + +func (x *StreamEvent) GetStatements() []*StreamEvent_Statement { + if x != nil { + return x.Statements + } + return nil +} + +func (x *StreamEvent) GetEventToken() *EventToken { + if x != nil { + return x.EventToken + } + return nil +} + +// ExecuteRequest is the payload to Execute +type ExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + TransactionId int64 `protobuf:"varint,5,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` + ReservedId int64 `protobuf:"varint,7,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` +} + +func (x *ExecuteRequest) Reset() { + *x = ExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteRequest) ProtoMessage() {} + +func (x *ExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead. +func (*ExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{12} +} + +func (x *ExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *ExecuteRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *ExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *ExecuteRequest) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +// ExecuteResponse is the returned value from Execute +type ExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteResponse) Reset() { + *x = ExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteResponse) ProtoMessage() {} + +func (x *ExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead. +func (*ExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{13} +} + +func (x *ExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +// ResultWithError represents a query response +// in the form of result or error but not both. +// TODO: To be used in ExecuteBatchResponse and BeginExecuteBatchResponse. +type ResultWithError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an query level error, only set if result is unset. + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + // result contains the query result, only set if error is unset. + Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ResultWithError) Reset() { + *x = ResultWithError{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResultWithError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResultWithError) ProtoMessage() {} + +func (x *ResultWithError) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResultWithError.ProtoReflect.Descriptor instead. +func (*ResultWithError) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{14} +} + +func (x *ResultWithError) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *ResultWithError) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +// StreamExecuteRequest is the payload to StreamExecute +type StreamExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` + TransactionId int64 `protobuf:"varint,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + ReservedId int64 `protobuf:"varint,7,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` +} + +func (x *StreamExecuteRequest) Reset() { + *x = StreamExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamExecuteRequest) ProtoMessage() {} + +func (x *StreamExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamExecuteRequest.ProtoReflect.Descriptor instead. +func (*StreamExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{15} +} + +func (x *StreamExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *StreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *StreamExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *StreamExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *StreamExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *StreamExecuteRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *StreamExecuteRequest) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +// StreamExecuteResponse is the returned value from StreamExecute +type StreamExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *StreamExecuteResponse) Reset() { + *x = StreamExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamExecuteResponse) ProtoMessage() {} + +func (x *StreamExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamExecuteResponse.ProtoReflect.Descriptor instead. +func (*StreamExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{16} +} + +func (x *StreamExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +// BeginRequest is the payload to Begin +type BeginRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *BeginRequest) Reset() { + *x = BeginRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeginRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeginRequest) ProtoMessage() {} + +func (x *BeginRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BeginRequest.ProtoReflect.Descriptor instead. +func (*BeginRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{17} +} + +func (x *BeginRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *BeginRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *BeginRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *BeginRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +// BeginResponse is the returned value from Begin +type BeginResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionId int64 `protobuf:"varint,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TabletAlias *v19.TabletAlias `protobuf:"bytes,2,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + SessionStateChanges string `protobuf:"bytes,3,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` +} + +func (x *BeginResponse) Reset() { + *x = BeginResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeginResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeginResponse) ProtoMessage() {} + +func (x *BeginResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BeginResponse.ProtoReflect.Descriptor instead. +func (*BeginResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{18} +} + +func (x *BeginResponse) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *BeginResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *BeginResponse) GetSessionStateChanges() string { + if x != nil { + return x.SessionStateChanges + } + return "" +} + +// CommitRequest is the payload to Commit +type CommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` +} + +func (x *CommitRequest) Reset() { + *x = CommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitRequest) ProtoMessage() {} + +func (x *CommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead. +func (*CommitRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{19} +} + +func (x *CommitRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *CommitRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *CommitRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *CommitRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +// CommitResponse is the returned value from Commit +type CommitResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReservedId int64 `protobuf:"varint,1,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` +} + +func (x *CommitResponse) Reset() { + *x = CommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitResponse) ProtoMessage() {} + +func (x *CommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead. +func (*CommitResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{20} +} + +func (x *CommitResponse) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +// RollbackRequest is the payload to Rollback +type RollbackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` +} + +func (x *RollbackRequest) Reset() { + *x = RollbackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackRequest) ProtoMessage() {} + +func (x *RollbackRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead. +func (*RollbackRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{21} +} + +func (x *RollbackRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *RollbackRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *RollbackRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *RollbackRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +// RollbackResponse is the returned value from Rollback +type RollbackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReservedId int64 `protobuf:"varint,1,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` +} + +func (x *RollbackResponse) Reset() { + *x = RollbackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackResponse) ProtoMessage() {} + +func (x *RollbackResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead. +func (*RollbackResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{22} +} + +func (x *RollbackResponse) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +// PrepareRequest is the payload to Prepare +type PrepareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *PrepareRequest) Reset() { + *x = PrepareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrepareRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrepareRequest) ProtoMessage() {} + +func (x *PrepareRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead. +func (*PrepareRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{23} +} + +func (x *PrepareRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *PrepareRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *PrepareRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *PrepareRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *PrepareRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// PrepareResponse is the returned value from Prepare +type PrepareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PrepareResponse) Reset() { + *x = PrepareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrepareResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrepareResponse) ProtoMessage() {} + +func (x *PrepareResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead. +func (*PrepareResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{24} +} + +// CommitPreparedRequest is the payload to CommitPrepared +type CommitPreparedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *CommitPreparedRequest) Reset() { + *x = CommitPreparedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitPreparedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitPreparedRequest) ProtoMessage() {} + +func (x *CommitPreparedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitPreparedRequest.ProtoReflect.Descriptor instead. +func (*CommitPreparedRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{25} +} + +func (x *CommitPreparedRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *CommitPreparedRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *CommitPreparedRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *CommitPreparedRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// CommitPreparedResponse is the returned value from CommitPrepared +type CommitPreparedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CommitPreparedResponse) Reset() { + *x = CommitPreparedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitPreparedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitPreparedResponse) ProtoMessage() {} + +func (x *CommitPreparedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitPreparedResponse.ProtoReflect.Descriptor instead. +func (*CommitPreparedResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{26} +} + +// RollbackPreparedRequest is the payload to RollbackPrepared +type RollbackPreparedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *RollbackPreparedRequest) Reset() { + *x = RollbackPreparedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackPreparedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackPreparedRequest) ProtoMessage() {} + +func (x *RollbackPreparedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RollbackPreparedRequest.ProtoReflect.Descriptor instead. +func (*RollbackPreparedRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{27} +} + +func (x *RollbackPreparedRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *RollbackPreparedRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *RollbackPreparedRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *RollbackPreparedRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *RollbackPreparedRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// RollbackPreparedResponse is the returned value from RollbackPrepared +type RollbackPreparedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RollbackPreparedResponse) Reset() { + *x = RollbackPreparedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackPreparedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackPreparedResponse) ProtoMessage() {} + +func (x *RollbackPreparedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RollbackPreparedResponse.ProtoReflect.Descriptor instead. +func (*RollbackPreparedResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{28} +} + +// CreateTransactionRequest is the payload to CreateTransaction +type CreateTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` + Participants []*Target `protobuf:"bytes,5,rep,name=participants,proto3" json:"participants,omitempty"` +} + +func (x *CreateTransactionRequest) Reset() { + *x = CreateTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTransactionRequest) ProtoMessage() {} + +func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateTransactionRequest.ProtoReflect.Descriptor instead. +func (*CreateTransactionRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{29} +} + +func (x *CreateTransactionRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *CreateTransactionRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *CreateTransactionRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *CreateTransactionRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +func (x *CreateTransactionRequest) GetParticipants() []*Target { + if x != nil { + return x.Participants + } + return nil +} + +// CreateTransactionResponse is the returned value from CreateTransaction +type CreateTransactionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateTransactionResponse) Reset() { + *x = CreateTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTransactionResponse) ProtoMessage() {} + +func (x *CreateTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateTransactionResponse.ProtoReflect.Descriptor instead. +func (*CreateTransactionResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{30} +} + +// StartCommitRequest is the payload to StartCommit +type StartCommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *StartCommitRequest) Reset() { + *x = StartCommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartCommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartCommitRequest) ProtoMessage() {} + +func (x *StartCommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartCommitRequest.ProtoReflect.Descriptor instead. +func (*StartCommitRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{31} +} + +func (x *StartCommitRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *StartCommitRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *StartCommitRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *StartCommitRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *StartCommitRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// StartCommitResponse is the returned value from StartCommit +type StartCommitResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StartCommitResponse) Reset() { + *x = StartCommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartCommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartCommitResponse) ProtoMessage() {} + +func (x *StartCommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartCommitResponse.ProtoReflect.Descriptor instead. +func (*StartCommitResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{32} +} + +// SetRollbackRequest is the payload to SetRollback +type SetRollbackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *SetRollbackRequest) Reset() { + *x = SetRollbackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetRollbackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetRollbackRequest) ProtoMessage() {} + +func (x *SetRollbackRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetRollbackRequest.ProtoReflect.Descriptor instead. +func (*SetRollbackRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{33} +} + +func (x *SetRollbackRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *SetRollbackRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *SetRollbackRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *SetRollbackRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *SetRollbackRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// SetRollbackResponse is the returned value from SetRollback +type SetRollbackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetRollbackResponse) Reset() { + *x = SetRollbackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetRollbackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetRollbackResponse) ProtoMessage() {} + +func (x *SetRollbackResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetRollbackResponse.ProtoReflect.Descriptor instead. +func (*SetRollbackResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{34} +} + +// ConcludeTransactionRequest is the payload to ConcludeTransaction +type ConcludeTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *ConcludeTransactionRequest) Reset() { + *x = ConcludeTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConcludeTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConcludeTransactionRequest) ProtoMessage() {} + +func (x *ConcludeTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConcludeTransactionRequest.ProtoReflect.Descriptor instead. +func (*ConcludeTransactionRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{35} +} + +func (x *ConcludeTransactionRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ConcludeTransactionRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ConcludeTransactionRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ConcludeTransactionRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// ConcludeTransactionResponse is the returned value from ConcludeTransaction +type ConcludeTransactionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ConcludeTransactionResponse) Reset() { + *x = ConcludeTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConcludeTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConcludeTransactionResponse) ProtoMessage() {} + +func (x *ConcludeTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConcludeTransactionResponse.ProtoReflect.Descriptor instead. +func (*ConcludeTransactionResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{36} +} + +// ReadTransactionRequest is the payload to ReadTransaction +type ReadTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *ReadTransactionRequest) Reset() { + *x = ReadTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadTransactionRequest) ProtoMessage() {} + +func (x *ReadTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadTransactionRequest.ProtoReflect.Descriptor instead. +func (*ReadTransactionRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{37} +} + +func (x *ReadTransactionRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ReadTransactionRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ReadTransactionRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ReadTransactionRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// ReadTransactionResponse is the returned value from ReadTransaction +type ReadTransactionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *TransactionMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *ReadTransactionResponse) Reset() { + *x = ReadTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadTransactionResponse) ProtoMessage() {} + +func (x *ReadTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadTransactionResponse.ProtoReflect.Descriptor instead. +func (*ReadTransactionResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{38} +} + +func (x *ReadTransactionResponse) GetMetadata() *TransactionMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +// BeginExecuteRequest is the payload to BeginExecute +type BeginExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` + ReservedId int64 `protobuf:"varint,6,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` + PreQueries []string `protobuf:"bytes,7,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` +} + +func (x *BeginExecuteRequest) Reset() { + *x = BeginExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeginExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeginExecuteRequest) ProtoMessage() {} + +func (x *BeginExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BeginExecuteRequest.ProtoReflect.Descriptor instead. +func (*BeginExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{39} +} + +func (x *BeginExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *BeginExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *BeginExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *BeginExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *BeginExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *BeginExecuteRequest) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +func (x *BeginExecuteRequest) GetPreQueries() []string { + if x != nil { + return x.PreQueries + } + return nil +} + +// BeginExecuteResponse is the returned value from BeginExecute +type BeginExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the execute failed. + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + // transaction_id might be non-zero even if an error is present. + TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TabletAlias *v19.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + SessionStateChanges string `protobuf:"bytes,5,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` +} + +func (x *BeginExecuteResponse) Reset() { + *x = BeginExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeginExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeginExecuteResponse) ProtoMessage() {} + +func (x *BeginExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BeginExecuteResponse.ProtoReflect.Descriptor instead. +func (*BeginExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{40} +} + +func (x *BeginExecuteResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *BeginExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +func (x *BeginExecuteResponse) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *BeginExecuteResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *BeginExecuteResponse) GetSessionStateChanges() string { + if x != nil { + return x.SessionStateChanges + } + return "" +} + +// BeginStreamExecuteRequest is the payload to BeginStreamExecute +type BeginStreamExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` + PreQueries []string `protobuf:"bytes,6,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` + ReservedId int64 `protobuf:"varint,7,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` +} + +func (x *BeginStreamExecuteRequest) Reset() { + *x = BeginStreamExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeginStreamExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeginStreamExecuteRequest) ProtoMessage() {} + +func (x *BeginStreamExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BeginStreamExecuteRequest.ProtoReflect.Descriptor instead. +func (*BeginStreamExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{41} +} + +func (x *BeginStreamExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *BeginStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *BeginStreamExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *BeginStreamExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *BeginStreamExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *BeginStreamExecuteRequest) GetPreQueries() []string { + if x != nil { + return x.PreQueries + } + return nil +} + +func (x *BeginStreamExecuteRequest) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +// BeginStreamExecuteResponse is the returned value from BeginStreamExecute +type BeginStreamExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the stream execute failed. + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + // transaction_id might be non-zero even if an error is present. + TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TabletAlias *v19.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + SessionStateChanges string `protobuf:"bytes,5,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` +} + +func (x *BeginStreamExecuteResponse) Reset() { + *x = BeginStreamExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BeginStreamExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BeginStreamExecuteResponse) ProtoMessage() {} + +func (x *BeginStreamExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BeginStreamExecuteResponse.ProtoReflect.Descriptor instead. +func (*BeginStreamExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{42} +} + +func (x *BeginStreamExecuteResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *BeginStreamExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +func (x *BeginStreamExecuteResponse) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *BeginStreamExecuteResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *BeginStreamExecuteResponse) GetSessionStateChanges() string { + if x != nil { + return x.SessionStateChanges + } + return "" +} + +// MessageStreamRequest is the request payload for MessageStream. +type MessageStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + // name is the message table name. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *MessageStreamRequest) Reset() { + *x = MessageStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageStreamRequest) ProtoMessage() {} + +func (x *MessageStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageStreamRequest.ProtoReflect.Descriptor instead. +func (*MessageStreamRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{43} +} + +func (x *MessageStreamRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *MessageStreamRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *MessageStreamRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *MessageStreamRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// MessageStreamResponse is a response for MessageStream. +type MessageStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *MessageStreamResponse) Reset() { + *x = MessageStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageStreamResponse) ProtoMessage() {} + +func (x *MessageStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageStreamResponse.ProtoReflect.Descriptor instead. +func (*MessageStreamResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{44} +} + +func (x *MessageStreamResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +// MessageAckRequest is the request payload for MessageAck. +type MessageAckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + // name is the message table name. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Ids []*Value `protobuf:"bytes,5,rep,name=ids,proto3" json:"ids,omitempty"` +} + +func (x *MessageAckRequest) Reset() { + *x = MessageAckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageAckRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageAckRequest) ProtoMessage() {} + +func (x *MessageAckRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageAckRequest.ProtoReflect.Descriptor instead. +func (*MessageAckRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{45} +} + +func (x *MessageAckRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *MessageAckRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *MessageAckRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *MessageAckRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *MessageAckRequest) GetIds() []*Value { + if x != nil { + return x.Ids + } + return nil +} + +// MessageAckResponse is the response for MessageAck. +type MessageAckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // result contains the result of the ack operation. + // Since this acts like a DML, only + // RowsAffected is returned in the result. + Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *MessageAckResponse) Reset() { + *x = MessageAckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageAckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageAckResponse) ProtoMessage() {} + +func (x *MessageAckResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageAckResponse.ProtoReflect.Descriptor instead. +func (*MessageAckResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{46} +} + +func (x *MessageAckResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +// ReserveExecuteRequest is the payload to ReserveExecute +type ReserveExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + TransactionId int64 `protobuf:"varint,5,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` + PreQueries []string `protobuf:"bytes,7,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` +} + +func (x *ReserveExecuteRequest) Reset() { + *x = ReserveExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveExecuteRequest) ProtoMessage() {} + +func (x *ReserveExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveExecuteRequest.ProtoReflect.Descriptor instead. +func (*ReserveExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{47} +} + +func (x *ReserveExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ReserveExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ReserveExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ReserveExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *ReserveExecuteRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *ReserveExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *ReserveExecuteRequest) GetPreQueries() []string { + if x != nil { + return x.PreQueries + } + return nil +} + +// ReserveExecuteResponse is the returned value from ReserveExecute +type ReserveExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + // The following fields might be non-zero even if an error is present. + ReservedId int64 `protobuf:"varint,3,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` + TabletAlias *v19.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ReserveExecuteResponse) Reset() { + *x = ReserveExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveExecuteResponse) ProtoMessage() {} + +func (x *ReserveExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveExecuteResponse.ProtoReflect.Descriptor instead. +func (*ReserveExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{48} +} + +func (x *ReserveExecuteResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *ReserveExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +func (x *ReserveExecuteResponse) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +func (x *ReserveExecuteResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +// ReserveStreamExecuteRequest is the payload to ReserveStreamExecute +type ReserveStreamExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` + TransactionId int64 `protobuf:"varint,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + PreQueries []string `protobuf:"bytes,7,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` +} + +func (x *ReserveStreamExecuteRequest) Reset() { + *x = ReserveStreamExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveStreamExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveStreamExecuteRequest) ProtoMessage() {} + +func (x *ReserveStreamExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveStreamExecuteRequest.ProtoReflect.Descriptor instead. +func (*ReserveStreamExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{49} +} + +func (x *ReserveStreamExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ReserveStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ReserveStreamExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ReserveStreamExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *ReserveStreamExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *ReserveStreamExecuteRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *ReserveStreamExecuteRequest) GetPreQueries() []string { + if x != nil { + return x.PreQueries + } + return nil +} + +// ReserveStreamExecuteResponse is the returned value from ReserveStreamExecute +type ReserveStreamExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + // The following fields might be non-zero even if an error is present. + ReservedId int64 `protobuf:"varint,3,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` + TabletAlias *v19.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ReserveStreamExecuteResponse) Reset() { + *x = ReserveStreamExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveStreamExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveStreamExecuteResponse) ProtoMessage() {} + +func (x *ReserveStreamExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveStreamExecuteResponse.ProtoReflect.Descriptor instead. +func (*ReserveStreamExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{50} +} + +func (x *ReserveStreamExecuteResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *ReserveStreamExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +func (x *ReserveStreamExecuteResponse) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +func (x *ReserveStreamExecuteResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +// ReserveBeginExecuteRequest is the payload to ReserveBeginExecute +type ReserveBeginExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` + PreQueries []string `protobuf:"bytes,6,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` + PostBeginQueries []string `protobuf:"bytes,7,rep,name=post_begin_queries,json=postBeginQueries,proto3" json:"post_begin_queries,omitempty"` +} + +func (x *ReserveBeginExecuteRequest) Reset() { + *x = ReserveBeginExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveBeginExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveBeginExecuteRequest) ProtoMessage() {} + +func (x *ReserveBeginExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveBeginExecuteRequest.ProtoReflect.Descriptor instead. +func (*ReserveBeginExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{51} +} + +func (x *ReserveBeginExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ReserveBeginExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ReserveBeginExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ReserveBeginExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *ReserveBeginExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *ReserveBeginExecuteRequest) GetPreQueries() []string { + if x != nil { + return x.PreQueries + } + return nil +} + +func (x *ReserveBeginExecuteRequest) GetPostBeginQueries() []string { + if x != nil { + return x.PostBeginQueries + } + return nil +} + +// ReserveBeginExecuteResponse is the returned value from ReserveBeginExecute +type ReserveBeginExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the execute failed. + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + // The following fields might be non-zero even if an error is present. + TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + ReservedId int64 `protobuf:"varint,4,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` + TabletAlias *v19.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + SessionStateChanges string `protobuf:"bytes,6,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` +} + +func (x *ReserveBeginExecuteResponse) Reset() { + *x = ReserveBeginExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveBeginExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveBeginExecuteResponse) ProtoMessage() {} + +func (x *ReserveBeginExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveBeginExecuteResponse.ProtoReflect.Descriptor instead. +func (*ReserveBeginExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{52} +} + +func (x *ReserveBeginExecuteResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *ReserveBeginExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +func (x *ReserveBeginExecuteResponse) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *ReserveBeginExecuteResponse) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +func (x *ReserveBeginExecuteResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ReserveBeginExecuteResponse) GetSessionStateChanges() string { + if x != nil { + return x.SessionStateChanges + } + return "" +} + +// ReserveBeginStreamExecuteRequest is the payload to ReserveBeginStreamExecute +type ReserveBeginStreamExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` + PreQueries []string `protobuf:"bytes,6,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` + PostBeginQueries []string `protobuf:"bytes,7,rep,name=post_begin_queries,json=postBeginQueries,proto3" json:"post_begin_queries,omitempty"` +} + +func (x *ReserveBeginStreamExecuteRequest) Reset() { + *x = ReserveBeginStreamExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveBeginStreamExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveBeginStreamExecuteRequest) ProtoMessage() {} + +func (x *ReserveBeginStreamExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveBeginStreamExecuteRequest.ProtoReflect.Descriptor instead. +func (*ReserveBeginStreamExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{53} +} + +func (x *ReserveBeginStreamExecuteRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ReserveBeginStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ReserveBeginStreamExecuteRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ReserveBeginStreamExecuteRequest) GetQuery() *BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *ReserveBeginStreamExecuteRequest) GetOptions() *ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *ReserveBeginStreamExecuteRequest) GetPreQueries() []string { + if x != nil { + return x.PreQueries + } + return nil +} + +func (x *ReserveBeginStreamExecuteRequest) GetPostBeginQueries() []string { + if x != nil { + return x.PostBeginQueries + } + return nil +} + +// ReserveBeginStreamExecuteResponse is the returned value from ReserveBeginStreamExecute +type ReserveBeginStreamExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the stream execute failed. + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + // The following fields might be non-zero even if an error is present. + TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + ReservedId int64 `protobuf:"varint,4,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` + TabletAlias *v19.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + SessionStateChanges string `protobuf:"bytes,6,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` +} + +func (x *ReserveBeginStreamExecuteResponse) Reset() { + *x = ReserveBeginStreamExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReserveBeginStreamExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReserveBeginStreamExecuteResponse) ProtoMessage() {} + +func (x *ReserveBeginStreamExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReserveBeginStreamExecuteResponse.ProtoReflect.Descriptor instead. +func (*ReserveBeginStreamExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{54} +} + +func (x *ReserveBeginStreamExecuteResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *ReserveBeginStreamExecuteResponse) GetResult() *QueryResult { + if x != nil { + return x.Result + } + return nil +} + +func (x *ReserveBeginStreamExecuteResponse) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *ReserveBeginStreamExecuteResponse) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +func (x *ReserveBeginStreamExecuteResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ReserveBeginStreamExecuteResponse) GetSessionStateChanges() string { + if x != nil { + return x.SessionStateChanges + } + return "" +} + +// ReleaseRequest is the payload to Release +type ReleaseRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EffectiveCallerId *v191.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` + ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` + Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + ReservedId int64 `protobuf:"varint,5,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` +} + +func (x *ReleaseRequest) Reset() { + *x = ReleaseRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReleaseRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReleaseRequest) ProtoMessage() {} + +func (x *ReleaseRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReleaseRequest.ProtoReflect.Descriptor instead. +func (*ReleaseRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{55} +} + +func (x *ReleaseRequest) GetEffectiveCallerId() *v191.CallerID { + if x != nil { + return x.EffectiveCallerId + } + return nil +} + +func (x *ReleaseRequest) GetImmediateCallerId() *VTGateCallerID { + if x != nil { + return x.ImmediateCallerId + } + return nil +} + +func (x *ReleaseRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *ReleaseRequest) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *ReleaseRequest) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +// ReleaseResponse is the returned value from Release +type ReleaseResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReleaseResponse) Reset() { + *x = ReleaseResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReleaseResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReleaseResponse) ProtoMessage() {} + +func (x *ReleaseResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReleaseResponse.ProtoReflect.Descriptor instead. +func (*ReleaseResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{56} +} + +// StreamHealthRequest is the payload for StreamHealth +type StreamHealthRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StreamHealthRequest) Reset() { + *x = StreamHealthRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamHealthRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamHealthRequest) ProtoMessage() {} + +func (x *StreamHealthRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamHealthRequest.ProtoReflect.Descriptor instead. +func (*StreamHealthRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{57} +} + +// RealtimeStats contains information about the tablet status. +// It is only valid for a single tablet. +type RealtimeStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // health_error is the last error we got from health check, + // or empty is the server is healthy. This is used for subset selection, + // we do not send queries to servers that are not healthy. + HealthError string `protobuf:"bytes,1,opt,name=health_error,json=healthError,proto3" json:"health_error,omitempty"` + // replication_lag_seconds is populated for replicas only. It indicates + // how far behind on (MySQL) replication a replica currently is. It is used + // by clients for subset selection (so we don't try to send traffic + // to tablets that are too far behind). + // NOTE: This field must not be evaluated if "health_error" is not empty. + // TODO(mberlin): Let's switch it to int64 instead? + ReplicationLagSeconds uint32 `protobuf:"varint,2,opt,name=replication_lag_seconds,json=replicationLagSeconds,proto3" json:"replication_lag_seconds,omitempty"` + // bin_log_players_count is the number of currently running binlog players. + // if the value is 0, it means that filtered replication is currently not + // running on the tablet. If >0, filtered replication is running. + // NOTE: This field must not be evaluated if "health_error" is not empty. + BinlogPlayersCount int32 `protobuf:"varint,3,opt,name=binlog_players_count,json=binlogPlayersCount,proto3" json:"binlog_players_count,omitempty"` + // filtered_replication_lag_seconds is populated for the receiving + // primary of an ongoing filtered replication only. + // It specifies how far the receiving primary lags behind the sending primary. + // NOTE: This field must not be evaluated if "health_error" is not empty. + // NOTE: This field must not be evaluated if "bin_log_players_count" is 0. + FilteredReplicationLagSeconds int64 `protobuf:"varint,4,opt,name=filtered_replication_lag_seconds,json=filteredReplicationLagSeconds,proto3" json:"filtered_replication_lag_seconds,omitempty"` + // cpu_usage is used for load-based balancing + CpuUsage float64 `protobuf:"fixed64,5,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` + // qps is the average QPS (queries per second) rate in the last XX seconds + // where XX is usually 60 (See query_service_stats.go). + Qps float64 `protobuf:"fixed64,6,opt,name=qps,proto3" json:"qps,omitempty"` + // table_schema_changed is to provide list of tables that have schema changes detected by the tablet. + TableSchemaChanged []string `protobuf:"bytes,7,rep,name=table_schema_changed,json=tableSchemaChanged,proto3" json:"table_schema_changed,omitempty"` + // view_schema_changed is to provide list of views that have schema changes detected by the tablet. + ViewSchemaChanged []string `protobuf:"bytes,8,rep,name=view_schema_changed,json=viewSchemaChanged,proto3" json:"view_schema_changed,omitempty"` +} + +func (x *RealtimeStats) Reset() { + *x = RealtimeStats{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RealtimeStats) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RealtimeStats) ProtoMessage() {} + +func (x *RealtimeStats) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RealtimeStats.ProtoReflect.Descriptor instead. +func (*RealtimeStats) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{58} +} + +func (x *RealtimeStats) GetHealthError() string { + if x != nil { + return x.HealthError + } + return "" +} + +func (x *RealtimeStats) GetReplicationLagSeconds() uint32 { + if x != nil { + return x.ReplicationLagSeconds + } + return 0 +} + +func (x *RealtimeStats) GetBinlogPlayersCount() int32 { + if x != nil { + return x.BinlogPlayersCount + } + return 0 +} + +func (x *RealtimeStats) GetFilteredReplicationLagSeconds() int64 { + if x != nil { + return x.FilteredReplicationLagSeconds + } + return 0 +} + +func (x *RealtimeStats) GetCpuUsage() float64 { + if x != nil { + return x.CpuUsage + } + return 0 +} + +func (x *RealtimeStats) GetQps() float64 { + if x != nil { + return x.Qps + } + return 0 +} + +func (x *RealtimeStats) GetTableSchemaChanged() []string { + if x != nil { + return x.TableSchemaChanged + } + return nil +} + +func (x *RealtimeStats) GetViewSchemaChanged() []string { + if x != nil { + return x.ViewSchemaChanged + } + return nil +} + +// AggregateStats contains information about the health of a group of +// tablets for a Target. It is used to propagate stats from a vtgate +// to another, or from the Gateway layer of a vtgate to the routing +// layer. +type AggregateStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // healthy_tablet_count is the number of healthy tablets in the group. + HealthyTabletCount int32 `protobuf:"varint,1,opt,name=healthy_tablet_count,json=healthyTabletCount,proto3" json:"healthy_tablet_count,omitempty"` + // unhealthy_tablet_count is the number of unhealthy tablets in the group. + UnhealthyTabletCount int32 `protobuf:"varint,2,opt,name=unhealthy_tablet_count,json=unhealthyTabletCount,proto3" json:"unhealthy_tablet_count,omitempty"` + // replication_lag_seconds_min is the minimum of the + // replication_lag_seconds values of the healthy tablets. It is unset + // if the tablet type is primary. + ReplicationLagSecondsMin uint32 `protobuf:"varint,3,opt,name=replication_lag_seconds_min,json=replicationLagSecondsMin,proto3" json:"replication_lag_seconds_min,omitempty"` + // replication_lag_seconds_max is the maximum of the + // replication_lag_seconds values of the healthy tablets. It is unset + // if the tablet type is primary. + ReplicationLagSecondsMax uint32 `protobuf:"varint,4,opt,name=replication_lag_seconds_max,json=replicationLagSecondsMax,proto3" json:"replication_lag_seconds_max,omitempty"` +} + +func (x *AggregateStats) Reset() { + *x = AggregateStats{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AggregateStats) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AggregateStats) ProtoMessage() {} + +func (x *AggregateStats) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AggregateStats.ProtoReflect.Descriptor instead. +func (*AggregateStats) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{59} +} + +func (x *AggregateStats) GetHealthyTabletCount() int32 { + if x != nil { + return x.HealthyTabletCount + } + return 0 +} + +func (x *AggregateStats) GetUnhealthyTabletCount() int32 { + if x != nil { + return x.UnhealthyTabletCount + } + return 0 +} + +func (x *AggregateStats) GetReplicationLagSecondsMin() uint32 { + if x != nil { + return x.ReplicationLagSecondsMin + } + return 0 +} + +func (x *AggregateStats) GetReplicationLagSecondsMax() uint32 { + if x != nil { + return x.ReplicationLagSecondsMax + } + return 0 +} + +// StreamHealthResponse is streamed by StreamHealth on a regular basis. +// It is expected to be used between a vtgate and vttablet: +// - target describes the tablet. +// - realtime_stats is set. +// - aggregate_stats is not set (deprecated) +type StreamHealthResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // target is the current server type. Only queries with that exact Target + // record will be accepted (the cell may not match, however). + Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + // serving is true iff the tablet is serving. A tablet may not be serving + // if filtered replication is enabled on a primary for instance, + // or if a replica should not be used because the keyspace is being resharded. + Serving bool `protobuf:"varint,2,opt,name=serving,proto3" json:"serving,omitempty"` + // primary_term_start_timestamp can be interpreted as the + // last time we knew that this tablet was promoted to a PRIMARY of this shard + // (if StreamHealthResponse describes a group of tablets, between + // two vtgates, only one primary will be present in the group, and + // this is this primary's value). + // + // It is used by vtgate when determining the current PRIMARY of a shard. + // If vtgate sees more than one PRIMARY tablet, this timestamp is used + // as tiebreaker where the PRIMARY with the highest timestamp wins. + // Another usage of this timestamp is in go/vt/vtgate/buffer to detect the end + // of a reparent (failover) and stop buffering. + // + // In practice, this field is set to: + // a) the last time the RPC tabletmanager.TabletExternallyReparented was + // + // called on this tablet (usually done by an external failover tool e.g. + // Orchestrator). The failover tool can call this as long as we are the + // primary i.e. even ages after the last reparent occurred. + // + // OR + // b) the last time an active reparent was executed through a vtctl command + // + // (InitShardPrimary, PlannedReparentShard, EmergencyReparentShard) + // + // OR + // c) the last time vttablet was started and it initialized its tablet type + // + // as PRIMARY because it was recorded as the shard's current primary in the + // topology (see go/vt/vttablet/tabletmanager/init_tablet.go) + // + // OR + // d) 0 if the vttablet is not a PRIMARY. + PrimaryTermStartTimestamp int64 `protobuf:"varint,3,opt,name=primary_term_start_timestamp,json=primaryTermStartTimestamp,proto3" json:"primary_term_start_timestamp,omitempty"` + // realtime_stats contains information about the tablet status. + // It is only filled in if the information is about a tablet. + RealtimeStats *RealtimeStats `protobuf:"bytes,4,opt,name=realtime_stats,json=realtimeStats,proto3" json:"realtime_stats,omitempty"` + // tablet_alias is the alias of the sending tablet. The discovery/healthcheck.go + // code uses it to verify that it's talking to the correct tablet and that it + // hasn't changed in the meantime e.g. due to tablet restarts where ports or + // ips have been reused but assigned differently. + TabletAlias *v19.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *StreamHealthResponse) Reset() { + *x = StreamHealthResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamHealthResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamHealthResponse) ProtoMessage() {} + +func (x *StreamHealthResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamHealthResponse.ProtoReflect.Descriptor instead. +func (*StreamHealthResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{60} +} + +func (x *StreamHealthResponse) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *StreamHealthResponse) GetServing() bool { + if x != nil { + return x.Serving + } + return false +} + +func (x *StreamHealthResponse) GetPrimaryTermStartTimestamp() int64 { + if x != nil { + return x.PrimaryTermStartTimestamp + } + return 0 +} + +func (x *StreamHealthResponse) GetRealtimeStats() *RealtimeStats { + if x != nil { + return x.RealtimeStats + } + return nil +} + +func (x *StreamHealthResponse) GetTabletAlias() *v19.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +// TransactionMetadata contains the metadata for a distributed transaction. +type TransactionMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Dtid string `protobuf:"bytes,1,opt,name=dtid,proto3" json:"dtid,omitempty"` + State TransactionState `protobuf:"varint,2,opt,name=state,proto3,enum=vitess.query.v19.TransactionState" json:"state,omitempty"` + TimeCreated int64 `protobuf:"varint,3,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` + Participants []*Target `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` +} + +func (x *TransactionMetadata) Reset() { + *x = TransactionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionMetadata) ProtoMessage() {} + +func (x *TransactionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionMetadata.ProtoReflect.Descriptor instead. +func (*TransactionMetadata) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{61} +} + +func (x *TransactionMetadata) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +func (x *TransactionMetadata) GetState() TransactionState { + if x != nil { + return x.State + } + return TransactionState_UNKNOWN +} + +func (x *TransactionMetadata) GetTimeCreated() int64 { + if x != nil { + return x.TimeCreated + } + return 0 +} + +func (x *TransactionMetadata) GetParticipants() []*Target { + if x != nil { + return x.Participants + } + return nil +} + +// GetSchemaRequest is the payload to GetSchema +type GetSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + TableType SchemaTableType `protobuf:"varint,2,opt,name=table_type,json=tableType,proto3,enum=vitess.query.v19.SchemaTableType" json:"table_type,omitempty"` + TableNames []string `protobuf:"bytes,3,rep,name=table_names,json=tableNames,proto3" json:"table_names,omitempty"` +} + +func (x *GetSchemaRequest) Reset() { + *x = GetSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaRequest) ProtoMessage() {} + +func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{62} +} + +func (x *GetSchemaRequest) GetTarget() *Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *GetSchemaRequest) GetTableType() SchemaTableType { + if x != nil { + return x.TableType + } + return SchemaTableType_VIEWS +} + +func (x *GetSchemaRequest) GetTableNames() []string { + if x != nil { + return x.TableNames + } + return nil +} + +// GetSchemaResponse is the returned value from GetSchema +type GetSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // this is for the schema definition for the requested tables. + TableDefinition map[string]string `protobuf:"bytes,2,rep,name=table_definition,json=tableDefinition,proto3" json:"table_definition,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetSchemaResponse) Reset() { + *x = GetSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaResponse) ProtoMessage() {} + +func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead. +func (*GetSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{63} +} + +func (x *GetSchemaResponse) GetTableDefinition() map[string]string { + if x != nil { + return x.TableDefinition + } + return nil +} + +// One individual Statement in a transaction. +type StreamEvent_Statement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Category StreamEvent_Statement_Category `protobuf:"varint,1,opt,name=category,proto3,enum=vitess.query.v19.StreamEvent_Statement_Category" json:"category,omitempty"` + // table_name, primary_key_fields and primary_key_values are set for DML. + TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + PrimaryKeyFields []*Field `protobuf:"bytes,3,rep,name=primary_key_fields,json=primaryKeyFields,proto3" json:"primary_key_fields,omitempty"` + PrimaryKeyValues []*Row `protobuf:"bytes,4,rep,name=primary_key_values,json=primaryKeyValues,proto3" json:"primary_key_values,omitempty"` + // sql is set for all queries. + // FIXME(alainjobart) we may not need it for DMLs. + Sql []byte `protobuf:"bytes,5,opt,name=sql,proto3" json:"sql,omitempty"` +} + +func (x *StreamEvent_Statement) Reset() { + *x = StreamEvent_Statement{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_query_v19_query_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamEvent_Statement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamEvent_Statement) ProtoMessage() {} + +func (x *StreamEvent_Statement) ProtoReflect() protoreflect.Message { + mi := &file_vitess_query_v19_query_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamEvent_Statement.ProtoReflect.Descriptor instead. +func (*StreamEvent_Statement) Descriptor() ([]byte, []int) { + return file_vitess_query_v19_query_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *StreamEvent_Statement) GetCategory() StreamEvent_Statement_Category { + if x != nil { + return x.Category + } + return StreamEvent_Statement_Error +} + +func (x *StreamEvent_Statement) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *StreamEvent_Statement) GetPrimaryKeyFields() []*Field { + if x != nil { + return x.PrimaryKeyFields + } + return nil +} + +func (x *StreamEvent_Statement) GetPrimaryKeyValues() []*Row { + if x != nil { + return x.PrimaryKeyValues + } + return nil +} + +func (x *StreamEvent_Statement) GetSql() []byte { + if x != nil { + return x.Sql + } + return nil +} + +var File_vitess_query_v19_query_proto protoreflect.FileDescriptor + +var file_vitess_query_v19_query_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, + 0x31, 0x39, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 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, + 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x44, 0x0a, 0x0e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x5c, 0x0a, 0x0a, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x49, 0x0a, 0x05, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x0c, 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xd8, 0x01, 0x0a, 0x0a, 0x42, 0x6f, 0x75, + 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x56, 0x0a, 0x0e, 0x62, 0x69, 0x6e, + 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0d, 0x62, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x1a, 0x60, 0x0a, 0x12, 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, + 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, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x69, 0x6e, 0x64, + 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0xda, 0x0b, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, + 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, + 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, + 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x45, 0x0a, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x6c, + 0x6f, 0x61, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x73, + 0x71, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x6a, 0x0a, + 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x73, 0x6f, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x15, 0x73, 0x6b, 0x69, + 0x70, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73, 0x6b, 0x69, 0x70, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x58, 0x0a, 0x0f, + 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x17, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x68, 0x61, 0x73, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x51, 0x0a, + 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x6e, 0x0a, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x03, 0x28, + 0x0e, 0x32, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, + 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x22, 0x3b, 0x0a, 0x0e, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x4e, + 0x41, 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, + 0x4c, 0x59, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x22, 0x38, 0x0a, + 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x4c, + 0x54, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x4c, 0x41, 0x50, 0x10, 0x02, 0x12, 0x07, + 0x0a, 0x03, 0x44, 0x42, 0x41, 0x10, 0x03, 0x22, 0xa7, 0x01, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x13, 0x0a, + 0x0f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, + 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, + 0x54, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x55, + 0x4e, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, + 0x53, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x21, + 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x4e, 0x41, + 0x50, 0x53, 0x48, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, + 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x4f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, + 0x06, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, + 0x50, 0x4c, 0x41, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x56, 0x33, 0x10, + 0x01, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x65, 0x6e, 0x34, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x47, + 0x65, 0x6e, 0x34, 0x47, 0x72, 0x65, 0x65, 0x64, 0x79, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x47, + 0x65, 0x6e, 0x34, 0x4c, 0x65, 0x66, 0x74, 0x32, 0x52, 0x69, 0x67, 0x68, 0x74, 0x10, 0x04, 0x12, + 0x14, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x34, 0x57, 0x69, 0x74, 0x68, 0x46, 0x61, 0x6c, 0x6c, 0x62, + 0x61, 0x63, 0x6b, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x65, 0x6e, 0x34, 0x43, 0x6f, 0x6d, + 0x70, 0x61, 0x72, 0x65, 0x56, 0x33, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x33, 0x49, 0x6e, + 0x73, 0x65, 0x72, 0x74, 0x10, 0x07, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x73, 0x6f, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4e, 0x53, 0x4f, + 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x49, + 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4e, 0x53, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, + 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, + 0x4e, 0x53, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, + 0x45, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x53, 0x10, 0x03, 0x22, 0x4f, 0x0a, + 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, + 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x00, 0x12, + 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, + 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x4a, 0x04, + 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, + 0x22, 0xc3, 0x02, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x72, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x72, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x67, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, + 0x72, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, + 0x73, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x37, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x18, 0x0a, + 0x07, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x12, 0x52, 0x07, + 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, + 0xf9, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, + 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, + 0x49, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x3c, 0x0a, 0x0c, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xd7, 0x03, 0x0a, 0x0b, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x1a, 0xbf, 0x02, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x4c, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, + 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x12, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, + 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, + 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x22, 0x27, 0x0a, 0x08, 0x43, 0x61, + 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, + 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4d, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x44, + 0x4c, 0x10, 0x02, 0x22, 0x98, 0x03, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0x48, + 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x7a, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x57, 0x69, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, + 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9e, 0x03, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, + 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, + 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, + 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, + 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9a, 0x02, 0x0a, 0x0c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x0d, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x22, 0x86, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x31, 0x0a, + 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, + 0x22, 0x88, 0x02, 0x0a, 0x0f, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x10, 0x52, + 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, + 0x22, 0x9b, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x11, + 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0xfb, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, + 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, + 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x74, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, + 0x18, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa4, 0x02, 0x0a, 0x17, 0x52, 0x6f, + 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, + 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, + 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbc, 0x02, 0x0a, + 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, + 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x3c, 0x0a, + 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0c, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9f, 0x02, 0x0a, 0x12, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x9f, 0x02, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, + 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, + 0x74, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x1a, 0x43, + 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, + 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x1d, 0x0a, + 0x1b, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xfc, 0x01, 0x0a, + 0x16, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, + 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, + 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x17, 0x52, + 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x97, 0x03, 0x0a, 0x13, 0x42, 0x65, + 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, + 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, + 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, + 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x22, 0x9f, 0x02, 0x0a, 0x14, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, + 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x9d, 0x03, 0x0a, 0x19, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, + 0x72, 0x69, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0xa5, 0x02, 0x0a, 0x1a, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, + 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xfa, 0x01, + 0x0a, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x15, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa2, 0x02, 0x0a, 0x11, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, + 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, + 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, + 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, + 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, + 0x4b, 0x0a, 0x12, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9f, 0x03, 0x0a, + 0x15, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xe7, + 0x01, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, 0x43, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xa5, 0x03, 0x0a, 0x1b, 0x52, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, + 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x22, 0xed, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xab, 0x03, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, + 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x71, + 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6f, + 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc7, + 0x02, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, + 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xb1, 0x03, 0x0a, 0x20, 0x52, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, + 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, 0x6d, 0x6d, + 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x32, 0x0a, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x70, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, + 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x71, 0x75, 0x65, + 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x74, + 0x42, 0x65, 0x67, 0x69, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xcd, 0x02, 0x0a, + 0x21, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xa8, 0x02, 0x0a, + 0x0e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x69, + 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, + 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x65, 0x61, + 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0xf6, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x30, + 0x0a, 0x14, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x47, 0x0a, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, + 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x63, 0x70, + 0x75, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x03, 0x71, 0x70, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x76, 0x69, + 0x65, 0x77, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x64, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x76, 0x69, 0x65, 0x77, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x0e, 0x41, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x30, 0x0a, + 0x14, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x34, 0x0a, 0x16, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x14, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x4d, 0x69, 0x6e, 0x12, 0x3d, 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x5f, + 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x4d, 0x61, 0x78, 0x22, 0xb6, 0x02, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x72, 0x65, 0x61, + 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0xc4, 0x01, 0x0a, + 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x6e, 0x74, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xbc, 0x01, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x42, 0x0a, 0x14, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x92, 0x03, 0x0a, + 0x09, 0x4d, 0x79, 0x53, 0x71, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, + 0x50, 0x54, 0x59, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x4f, 0x54, 0x5f, 0x4e, 0x55, 0x4c, + 0x4c, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x49, 0x5f, + 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e, + 0x49, 0x51, 0x55, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x04, 0x12, + 0x15, 0x0a, 0x11, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x5f, + 0x46, 0x4c, 0x41, 0x47, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x4c, 0x4f, 0x42, 0x5f, 0x46, + 0x4c, 0x41, 0x47, 0x10, 0x10, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x53, 0x49, 0x47, 0x4e, 0x45, + 0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x20, 0x12, 0x11, 0x0a, 0x0d, 0x5a, 0x45, 0x52, 0x4f, + 0x46, 0x49, 0x4c, 0x4c, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x40, 0x12, 0x10, 0x0a, 0x0b, 0x42, + 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x01, 0x12, 0x0e, 0x0a, + 0x09, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x02, 0x12, 0x18, 0x0a, + 0x13, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x49, 0x4e, 0x43, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x04, 0x12, 0x13, 0x0a, 0x0e, 0x54, 0x49, 0x4d, 0x45, 0x53, + 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x08, 0x12, 0x0d, 0x0a, 0x08, + 0x53, 0x45, 0x54, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x10, 0x12, 0x1a, 0x0a, 0x15, 0x4e, + 0x4f, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, + 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x20, 0x12, 0x17, 0x0a, 0x12, 0x4f, 0x4e, 0x5f, 0x55, 0x50, + 0x44, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x57, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x40, + 0x12, 0x0e, 0x0a, 0x08, 0x4e, 0x55, 0x4d, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x02, + 0x12, 0x13, 0x0a, 0x0d, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x46, 0x4c, 0x41, + 0x47, 0x10, 0x80, 0x80, 0x01, 0x12, 0x10, 0x0a, 0x0a, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x46, + 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x02, 0x12, 0x11, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x51, 0x55, + 0x45, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x04, 0x12, 0x11, 0x0a, 0x0b, 0x42, 0x49, + 0x4e, 0x43, 0x4d, 0x50, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x10, 0x80, 0x80, 0x08, 0x1a, 0x02, 0x10, + 0x01, 0x2a, 0x6b, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0a, 0x49, 0x53, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x52, 0x41, + 0x4c, 0x10, 0x80, 0x02, 0x12, 0x0f, 0x0a, 0x0a, 0x49, 0x53, 0x55, 0x4e, 0x53, 0x49, 0x47, 0x4e, + 0x45, 0x44, 0x10, 0x80, 0x04, 0x12, 0x0c, 0x0a, 0x07, 0x49, 0x53, 0x46, 0x4c, 0x4f, 0x41, 0x54, + 0x10, 0x80, 0x08, 0x12, 0x0d, 0x0a, 0x08, 0x49, 0x53, 0x51, 0x55, 0x4f, 0x54, 0x45, 0x44, 0x10, + 0x80, 0x10, 0x12, 0x0b, 0x0a, 0x06, 0x49, 0x53, 0x54, 0x45, 0x58, 0x54, 0x10, 0x80, 0x20, 0x12, + 0x0d, 0x0a, 0x08, 0x49, 0x53, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x80, 0x40, 0x2a, 0xca, + 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x81, + 0x02, 0x12, 0x0a, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x82, 0x06, 0x12, 0x0a, 0x0a, + 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x83, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, + 0x54, 0x31, 0x36, 0x10, 0x84, 0x06, 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x32, 0x34, 0x10, + 0x85, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x32, 0x34, 0x10, 0x86, 0x06, 0x12, + 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x87, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, + 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x88, 0x06, 0x12, 0x0a, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, + 0x34, 0x10, 0x89, 0x02, 0x12, 0x0b, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x8a, + 0x06, 0x12, 0x0c, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x8b, 0x08, 0x12, + 0x0c, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x8c, 0x08, 0x12, 0x0e, 0x0a, + 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x8d, 0x10, 0x12, 0x09, 0x0a, + 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x8e, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, + 0x10, 0x8f, 0x10, 0x12, 0x0d, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, + 0x90, 0x10, 0x12, 0x09, 0x0a, 0x04, 0x59, 0x45, 0x41, 0x52, 0x10, 0x91, 0x06, 0x12, 0x0b, 0x0a, + 0x07, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x10, 0x12, 0x12, 0x09, 0x0a, 0x04, 0x54, 0x45, + 0x58, 0x54, 0x10, 0x93, 0x30, 0x12, 0x09, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x94, 0x50, + 0x12, 0x0c, 0x0a, 0x07, 0x56, 0x41, 0x52, 0x43, 0x48, 0x41, 0x52, 0x10, 0x95, 0x30, 0x12, 0x0e, + 0x0a, 0x09, 0x56, 0x41, 0x52, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x96, 0x50, 0x12, 0x09, + 0x0a, 0x04, 0x43, 0x48, 0x41, 0x52, 0x10, 0x97, 0x30, 0x12, 0x0b, 0x0a, 0x06, 0x42, 0x49, 0x4e, + 0x41, 0x52, 0x59, 0x10, 0x98, 0x50, 0x12, 0x08, 0x0a, 0x03, 0x42, 0x49, 0x54, 0x10, 0x99, 0x10, + 0x12, 0x09, 0x0a, 0x04, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x9a, 0x10, 0x12, 0x08, 0x0a, 0x03, 0x53, + 0x45, 0x54, 0x10, 0x9b, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x55, 0x50, 0x4c, 0x45, 0x10, 0x1c, + 0x12, 0x0d, 0x0a, 0x08, 0x47, 0x45, 0x4f, 0x4d, 0x45, 0x54, 0x52, 0x59, 0x10, 0x9d, 0x10, 0x12, + 0x09, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x9e, 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x58, + 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0b, 0x0a, 0x06, 0x48, 0x45, + 0x58, 0x4e, 0x55, 0x4d, 0x10, 0xa0, 0x20, 0x12, 0x0b, 0x0a, 0x06, 0x48, 0x45, 0x58, 0x56, 0x41, + 0x4c, 0x10, 0xa1, 0x20, 0x12, 0x0b, 0x0a, 0x06, 0x42, 0x49, 0x54, 0x4e, 0x55, 0x4d, 0x10, 0xa2, + 0x20, 0x12, 0x08, 0x0a, 0x03, 0x52, 0x41, 0x57, 0x10, 0xa4, 0x10, 0x2a, 0x46, 0x0a, 0x10, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, + 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, + 0x4d, 0x49, 0x54, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4f, 0x4c, 0x4c, 0x42, 0x41, 0x43, + 0x4b, 0x10, 0x03, 0x2a, 0x31, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, 0x45, 0x57, 0x53, 0x10, + 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x53, 0x10, 0x01, 0x12, 0x07, 0x0a, + 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x42, 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, + 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, + 0x31, 0x39, 0x3b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_query_v19_query_proto_rawDescOnce sync.Once + file_vitess_query_v19_query_proto_rawDescData = file_vitess_query_v19_query_proto_rawDesc +) + +func file_vitess_query_v19_query_proto_rawDescGZIP() []byte { + file_vitess_query_v19_query_proto_rawDescOnce.Do(func() { + file_vitess_query_v19_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_query_v19_query_proto_rawDescData) + }) + return file_vitess_query_v19_query_proto_rawDescData +} + +var file_vitess_query_v19_query_proto_enumTypes = make([]protoimpl.EnumInfo, 12) +var file_vitess_query_v19_query_proto_msgTypes = make([]protoimpl.MessageInfo, 67) +var file_vitess_query_v19_query_proto_goTypes = []any{ + (MySqlFlag)(0), // 0: vitess.query.v19.MySqlFlag + (Flag)(0), // 1: vitess.query.v19.Flag + (Type)(0), // 2: vitess.query.v19.Type + (TransactionState)(0), // 3: vitess.query.v19.TransactionState + (SchemaTableType)(0), // 4: vitess.query.v19.SchemaTableType + (ExecuteOptions_IncludedFields)(0), // 5: vitess.query.v19.ExecuteOptions.IncludedFields + (ExecuteOptions_Workload)(0), // 6: vitess.query.v19.ExecuteOptions.Workload + (ExecuteOptions_TransactionIsolation)(0), // 7: vitess.query.v19.ExecuteOptions.TransactionIsolation + (ExecuteOptions_PlannerVersion)(0), // 8: vitess.query.v19.ExecuteOptions.PlannerVersion + (ExecuteOptions_Consolidator)(0), // 9: vitess.query.v19.ExecuteOptions.Consolidator + (ExecuteOptions_TransactionAccessMode)(0), // 10: vitess.query.v19.ExecuteOptions.TransactionAccessMode + (StreamEvent_Statement_Category)(0), // 11: vitess.query.v19.StreamEvent.Statement.Category + (*Target)(nil), // 12: vitess.query.v19.Target + (*VTGateCallerID)(nil), // 13: vitess.query.v19.VTGateCallerID + (*EventToken)(nil), // 14: vitess.query.v19.EventToken + (*Value)(nil), // 15: vitess.query.v19.Value + (*BindVariable)(nil), // 16: vitess.query.v19.BindVariable + (*BoundQuery)(nil), // 17: vitess.query.v19.BoundQuery + (*ExecuteOptions)(nil), // 18: vitess.query.v19.ExecuteOptions + (*Field)(nil), // 19: vitess.query.v19.Field + (*Row)(nil), // 20: vitess.query.v19.Row + (*QueryResult)(nil), // 21: vitess.query.v19.QueryResult + (*QueryWarning)(nil), // 22: vitess.query.v19.QueryWarning + (*StreamEvent)(nil), // 23: vitess.query.v19.StreamEvent + (*ExecuteRequest)(nil), // 24: vitess.query.v19.ExecuteRequest + (*ExecuteResponse)(nil), // 25: vitess.query.v19.ExecuteResponse + (*ResultWithError)(nil), // 26: vitess.query.v19.ResultWithError + (*StreamExecuteRequest)(nil), // 27: vitess.query.v19.StreamExecuteRequest + (*StreamExecuteResponse)(nil), // 28: vitess.query.v19.StreamExecuteResponse + (*BeginRequest)(nil), // 29: vitess.query.v19.BeginRequest + (*BeginResponse)(nil), // 30: vitess.query.v19.BeginResponse + (*CommitRequest)(nil), // 31: vitess.query.v19.CommitRequest + (*CommitResponse)(nil), // 32: vitess.query.v19.CommitResponse + (*RollbackRequest)(nil), // 33: vitess.query.v19.RollbackRequest + (*RollbackResponse)(nil), // 34: vitess.query.v19.RollbackResponse + (*PrepareRequest)(nil), // 35: vitess.query.v19.PrepareRequest + (*PrepareResponse)(nil), // 36: vitess.query.v19.PrepareResponse + (*CommitPreparedRequest)(nil), // 37: vitess.query.v19.CommitPreparedRequest + (*CommitPreparedResponse)(nil), // 38: vitess.query.v19.CommitPreparedResponse + (*RollbackPreparedRequest)(nil), // 39: vitess.query.v19.RollbackPreparedRequest + (*RollbackPreparedResponse)(nil), // 40: vitess.query.v19.RollbackPreparedResponse + (*CreateTransactionRequest)(nil), // 41: vitess.query.v19.CreateTransactionRequest + (*CreateTransactionResponse)(nil), // 42: vitess.query.v19.CreateTransactionResponse + (*StartCommitRequest)(nil), // 43: vitess.query.v19.StartCommitRequest + (*StartCommitResponse)(nil), // 44: vitess.query.v19.StartCommitResponse + (*SetRollbackRequest)(nil), // 45: vitess.query.v19.SetRollbackRequest + (*SetRollbackResponse)(nil), // 46: vitess.query.v19.SetRollbackResponse + (*ConcludeTransactionRequest)(nil), // 47: vitess.query.v19.ConcludeTransactionRequest + (*ConcludeTransactionResponse)(nil), // 48: vitess.query.v19.ConcludeTransactionResponse + (*ReadTransactionRequest)(nil), // 49: vitess.query.v19.ReadTransactionRequest + (*ReadTransactionResponse)(nil), // 50: vitess.query.v19.ReadTransactionResponse + (*BeginExecuteRequest)(nil), // 51: vitess.query.v19.BeginExecuteRequest + (*BeginExecuteResponse)(nil), // 52: vitess.query.v19.BeginExecuteResponse + (*BeginStreamExecuteRequest)(nil), // 53: vitess.query.v19.BeginStreamExecuteRequest + (*BeginStreamExecuteResponse)(nil), // 54: vitess.query.v19.BeginStreamExecuteResponse + (*MessageStreamRequest)(nil), // 55: vitess.query.v19.MessageStreamRequest + (*MessageStreamResponse)(nil), // 56: vitess.query.v19.MessageStreamResponse + (*MessageAckRequest)(nil), // 57: vitess.query.v19.MessageAckRequest + (*MessageAckResponse)(nil), // 58: vitess.query.v19.MessageAckResponse + (*ReserveExecuteRequest)(nil), // 59: vitess.query.v19.ReserveExecuteRequest + (*ReserveExecuteResponse)(nil), // 60: vitess.query.v19.ReserveExecuteResponse + (*ReserveStreamExecuteRequest)(nil), // 61: vitess.query.v19.ReserveStreamExecuteRequest + (*ReserveStreamExecuteResponse)(nil), // 62: vitess.query.v19.ReserveStreamExecuteResponse + (*ReserveBeginExecuteRequest)(nil), // 63: vitess.query.v19.ReserveBeginExecuteRequest + (*ReserveBeginExecuteResponse)(nil), // 64: vitess.query.v19.ReserveBeginExecuteResponse + (*ReserveBeginStreamExecuteRequest)(nil), // 65: vitess.query.v19.ReserveBeginStreamExecuteRequest + (*ReserveBeginStreamExecuteResponse)(nil), // 66: vitess.query.v19.ReserveBeginStreamExecuteResponse + (*ReleaseRequest)(nil), // 67: vitess.query.v19.ReleaseRequest + (*ReleaseResponse)(nil), // 68: vitess.query.v19.ReleaseResponse + (*StreamHealthRequest)(nil), // 69: vitess.query.v19.StreamHealthRequest + (*RealtimeStats)(nil), // 70: vitess.query.v19.RealtimeStats + (*AggregateStats)(nil), // 71: vitess.query.v19.AggregateStats + (*StreamHealthResponse)(nil), // 72: vitess.query.v19.StreamHealthResponse + (*TransactionMetadata)(nil), // 73: vitess.query.v19.TransactionMetadata + (*GetSchemaRequest)(nil), // 74: vitess.query.v19.GetSchemaRequest + (*GetSchemaResponse)(nil), // 75: vitess.query.v19.GetSchemaResponse + nil, // 76: vitess.query.v19.BoundQuery.BindVariablesEntry + (*StreamEvent_Statement)(nil), // 77: vitess.query.v19.StreamEvent.Statement + nil, // 78: vitess.query.v19.GetSchemaResponse.TableDefinitionEntry + (v19.TabletType)(0), // 79: vitess.topodata.v19.TabletType + (*v191.CallerID)(nil), // 80: vitess.vtrpc.v19.CallerID + (*v191.RPCError)(nil), // 81: vitess.vtrpc.v19.RPCError + (*v19.TabletAlias)(nil), // 82: vitess.topodata.v19.TabletAlias +} +var file_vitess_query_v19_query_proto_depIdxs = []int32{ + 79, // 0: vitess.query.v19.Target.tablet_type:type_name -> vitess.topodata.v19.TabletType + 2, // 1: vitess.query.v19.Value.type:type_name -> vitess.query.v19.Type + 2, // 2: vitess.query.v19.BindVariable.type:type_name -> vitess.query.v19.Type + 15, // 3: vitess.query.v19.BindVariable.values:type_name -> vitess.query.v19.Value + 76, // 4: vitess.query.v19.BoundQuery.bind_variables:type_name -> vitess.query.v19.BoundQuery.BindVariablesEntry + 5, // 5: vitess.query.v19.ExecuteOptions.included_fields:type_name -> vitess.query.v19.ExecuteOptions.IncludedFields + 6, // 6: vitess.query.v19.ExecuteOptions.workload:type_name -> vitess.query.v19.ExecuteOptions.Workload + 7, // 7: vitess.query.v19.ExecuteOptions.transaction_isolation:type_name -> vitess.query.v19.ExecuteOptions.TransactionIsolation + 8, // 8: vitess.query.v19.ExecuteOptions.planner_version:type_name -> vitess.query.v19.ExecuteOptions.PlannerVersion + 9, // 9: vitess.query.v19.ExecuteOptions.consolidator:type_name -> vitess.query.v19.ExecuteOptions.Consolidator + 10, // 10: vitess.query.v19.ExecuteOptions.transaction_access_mode:type_name -> vitess.query.v19.ExecuteOptions.TransactionAccessMode + 2, // 11: vitess.query.v19.Field.type:type_name -> vitess.query.v19.Type + 19, // 12: vitess.query.v19.QueryResult.fields:type_name -> vitess.query.v19.Field + 20, // 13: vitess.query.v19.QueryResult.rows:type_name -> vitess.query.v19.Row + 77, // 14: vitess.query.v19.StreamEvent.statements:type_name -> vitess.query.v19.StreamEvent.Statement + 14, // 15: vitess.query.v19.StreamEvent.event_token:type_name -> vitess.query.v19.EventToken + 80, // 16: vitess.query.v19.ExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 17: vitess.query.v19.ExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 18: vitess.query.v19.ExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 19: vitess.query.v19.ExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 20: vitess.query.v19.ExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 21, // 21: vitess.query.v19.ExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 81, // 22: vitess.query.v19.ResultWithError.error:type_name -> vitess.vtrpc.v19.RPCError + 21, // 23: vitess.query.v19.ResultWithError.result:type_name -> vitess.query.v19.QueryResult + 80, // 24: vitess.query.v19.StreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 25: vitess.query.v19.StreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 26: vitess.query.v19.StreamExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 27: vitess.query.v19.StreamExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 28: vitess.query.v19.StreamExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 21, // 29: vitess.query.v19.StreamExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 80, // 30: vitess.query.v19.BeginRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 31: vitess.query.v19.BeginRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 32: vitess.query.v19.BeginRequest.target:type_name -> vitess.query.v19.Target + 18, // 33: vitess.query.v19.BeginRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 82, // 34: vitess.query.v19.BeginResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 80, // 35: vitess.query.v19.CommitRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 36: vitess.query.v19.CommitRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 37: vitess.query.v19.CommitRequest.target:type_name -> vitess.query.v19.Target + 80, // 38: vitess.query.v19.RollbackRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 39: vitess.query.v19.RollbackRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 40: vitess.query.v19.RollbackRequest.target:type_name -> vitess.query.v19.Target + 80, // 41: vitess.query.v19.PrepareRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 42: vitess.query.v19.PrepareRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 43: vitess.query.v19.PrepareRequest.target:type_name -> vitess.query.v19.Target + 80, // 44: vitess.query.v19.CommitPreparedRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 45: vitess.query.v19.CommitPreparedRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 46: vitess.query.v19.CommitPreparedRequest.target:type_name -> vitess.query.v19.Target + 80, // 47: vitess.query.v19.RollbackPreparedRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 48: vitess.query.v19.RollbackPreparedRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 49: vitess.query.v19.RollbackPreparedRequest.target:type_name -> vitess.query.v19.Target + 80, // 50: vitess.query.v19.CreateTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 51: vitess.query.v19.CreateTransactionRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 52: vitess.query.v19.CreateTransactionRequest.target:type_name -> vitess.query.v19.Target + 12, // 53: vitess.query.v19.CreateTransactionRequest.participants:type_name -> vitess.query.v19.Target + 80, // 54: vitess.query.v19.StartCommitRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 55: vitess.query.v19.StartCommitRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 56: vitess.query.v19.StartCommitRequest.target:type_name -> vitess.query.v19.Target + 80, // 57: vitess.query.v19.SetRollbackRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 58: vitess.query.v19.SetRollbackRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 59: vitess.query.v19.SetRollbackRequest.target:type_name -> vitess.query.v19.Target + 80, // 60: vitess.query.v19.ConcludeTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 61: vitess.query.v19.ConcludeTransactionRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 62: vitess.query.v19.ConcludeTransactionRequest.target:type_name -> vitess.query.v19.Target + 80, // 63: vitess.query.v19.ReadTransactionRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 64: vitess.query.v19.ReadTransactionRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 65: vitess.query.v19.ReadTransactionRequest.target:type_name -> vitess.query.v19.Target + 73, // 66: vitess.query.v19.ReadTransactionResponse.metadata:type_name -> vitess.query.v19.TransactionMetadata + 80, // 67: vitess.query.v19.BeginExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 68: vitess.query.v19.BeginExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 69: vitess.query.v19.BeginExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 70: vitess.query.v19.BeginExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 71: vitess.query.v19.BeginExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 81, // 72: vitess.query.v19.BeginExecuteResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 21, // 73: vitess.query.v19.BeginExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 82, // 74: vitess.query.v19.BeginExecuteResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 80, // 75: vitess.query.v19.BeginStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 76: vitess.query.v19.BeginStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 77: vitess.query.v19.BeginStreamExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 78: vitess.query.v19.BeginStreamExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 79: vitess.query.v19.BeginStreamExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 81, // 80: vitess.query.v19.BeginStreamExecuteResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 21, // 81: vitess.query.v19.BeginStreamExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 82, // 82: vitess.query.v19.BeginStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 80, // 83: vitess.query.v19.MessageStreamRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 84: vitess.query.v19.MessageStreamRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 85: vitess.query.v19.MessageStreamRequest.target:type_name -> vitess.query.v19.Target + 21, // 86: vitess.query.v19.MessageStreamResponse.result:type_name -> vitess.query.v19.QueryResult + 80, // 87: vitess.query.v19.MessageAckRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 88: vitess.query.v19.MessageAckRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 89: vitess.query.v19.MessageAckRequest.target:type_name -> vitess.query.v19.Target + 15, // 90: vitess.query.v19.MessageAckRequest.ids:type_name -> vitess.query.v19.Value + 21, // 91: vitess.query.v19.MessageAckResponse.result:type_name -> vitess.query.v19.QueryResult + 80, // 92: vitess.query.v19.ReserveExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 93: vitess.query.v19.ReserveExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 94: vitess.query.v19.ReserveExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 95: vitess.query.v19.ReserveExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 96: vitess.query.v19.ReserveExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 81, // 97: vitess.query.v19.ReserveExecuteResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 21, // 98: vitess.query.v19.ReserveExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 82, // 99: vitess.query.v19.ReserveExecuteResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 80, // 100: vitess.query.v19.ReserveStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 101: vitess.query.v19.ReserveStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 102: vitess.query.v19.ReserveStreamExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 103: vitess.query.v19.ReserveStreamExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 104: vitess.query.v19.ReserveStreamExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 81, // 105: vitess.query.v19.ReserveStreamExecuteResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 21, // 106: vitess.query.v19.ReserveStreamExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 82, // 107: vitess.query.v19.ReserveStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 80, // 108: vitess.query.v19.ReserveBeginExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 109: vitess.query.v19.ReserveBeginExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 110: vitess.query.v19.ReserveBeginExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 111: vitess.query.v19.ReserveBeginExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 112: vitess.query.v19.ReserveBeginExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 81, // 113: vitess.query.v19.ReserveBeginExecuteResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 21, // 114: vitess.query.v19.ReserveBeginExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 82, // 115: vitess.query.v19.ReserveBeginExecuteResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 80, // 116: vitess.query.v19.ReserveBeginStreamExecuteRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 117: vitess.query.v19.ReserveBeginStreamExecuteRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 118: vitess.query.v19.ReserveBeginStreamExecuteRequest.target:type_name -> vitess.query.v19.Target + 17, // 119: vitess.query.v19.ReserveBeginStreamExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 18, // 120: vitess.query.v19.ReserveBeginStreamExecuteRequest.options:type_name -> vitess.query.v19.ExecuteOptions + 81, // 121: vitess.query.v19.ReserveBeginStreamExecuteResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 21, // 122: vitess.query.v19.ReserveBeginStreamExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 82, // 123: vitess.query.v19.ReserveBeginStreamExecuteResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 80, // 124: vitess.query.v19.ReleaseRequest.effective_caller_id:type_name -> vitess.vtrpc.v19.CallerID + 13, // 125: vitess.query.v19.ReleaseRequest.immediate_caller_id:type_name -> vitess.query.v19.VTGateCallerID + 12, // 126: vitess.query.v19.ReleaseRequest.target:type_name -> vitess.query.v19.Target + 12, // 127: vitess.query.v19.StreamHealthResponse.target:type_name -> vitess.query.v19.Target + 70, // 128: vitess.query.v19.StreamHealthResponse.realtime_stats:type_name -> vitess.query.v19.RealtimeStats + 82, // 129: vitess.query.v19.StreamHealthResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 3, // 130: vitess.query.v19.TransactionMetadata.state:type_name -> vitess.query.v19.TransactionState + 12, // 131: vitess.query.v19.TransactionMetadata.participants:type_name -> vitess.query.v19.Target + 12, // 132: vitess.query.v19.GetSchemaRequest.target:type_name -> vitess.query.v19.Target + 4, // 133: vitess.query.v19.GetSchemaRequest.table_type:type_name -> vitess.query.v19.SchemaTableType + 78, // 134: vitess.query.v19.GetSchemaResponse.table_definition:type_name -> vitess.query.v19.GetSchemaResponse.TableDefinitionEntry + 16, // 135: vitess.query.v19.BoundQuery.BindVariablesEntry.value:type_name -> vitess.query.v19.BindVariable + 11, // 136: vitess.query.v19.StreamEvent.Statement.category:type_name -> vitess.query.v19.StreamEvent.Statement.Category + 19, // 137: vitess.query.v19.StreamEvent.Statement.primary_key_fields:type_name -> vitess.query.v19.Field + 20, // 138: vitess.query.v19.StreamEvent.Statement.primary_key_values:type_name -> vitess.query.v19.Row + 139, // [139:139] is the sub-list for method output_type + 139, // [139:139] is the sub-list for method input_type + 139, // [139:139] is the sub-list for extension type_name + 139, // [139:139] is the sub-list for extension extendee + 0, // [0:139] is the sub-list for field type_name +} + +func init() { file_vitess_query_v19_query_proto_init() } +func file_vitess_query_v19_query_proto_init() { + if File_vitess_query_v19_query_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_query_v19_query_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Target); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*VTGateCallerID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*EventToken); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*Value); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*BindVariable); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*BoundQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*Field); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*Row); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*QueryResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*QueryWarning); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*StreamEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*ResultWithError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*StreamExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*StreamExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*BeginRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*BeginResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*CommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*CommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*RollbackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*RollbackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*PrepareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*PrepareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*CommitPreparedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*CommitPreparedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*RollbackPreparedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*RollbackPreparedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*CreateTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*CreateTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*StartCommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*StartCommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*SetRollbackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*SetRollbackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[35].Exporter = func(v any, i int) any { + switch v := v.(*ConcludeTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*ConcludeTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[37].Exporter = func(v any, i int) any { + switch v := v.(*ReadTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[38].Exporter = func(v any, i int) any { + switch v := v.(*ReadTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*BeginExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*BeginExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[41].Exporter = func(v any, i int) any { + switch v := v.(*BeginStreamExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[42].Exporter = func(v any, i int) any { + switch v := v.(*BeginStreamExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[43].Exporter = func(v any, i int) any { + switch v := v.(*MessageStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[44].Exporter = func(v any, i int) any { + switch v := v.(*MessageStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[45].Exporter = func(v any, i int) any { + switch v := v.(*MessageAckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[46].Exporter = func(v any, i int) any { + switch v := v.(*MessageAckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[47].Exporter = func(v any, i int) any { + switch v := v.(*ReserveExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[48].Exporter = func(v any, i int) any { + switch v := v.(*ReserveExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[49].Exporter = func(v any, i int) any { + switch v := v.(*ReserveStreamExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[50].Exporter = func(v any, i int) any { + switch v := v.(*ReserveStreamExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[51].Exporter = func(v any, i int) any { + switch v := v.(*ReserveBeginExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[52].Exporter = func(v any, i int) any { + switch v := v.(*ReserveBeginExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[53].Exporter = func(v any, i int) any { + switch v := v.(*ReserveBeginStreamExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[54].Exporter = func(v any, i int) any { + switch v := v.(*ReserveBeginStreamExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[55].Exporter = func(v any, i int) any { + switch v := v.(*ReleaseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[56].Exporter = func(v any, i int) any { + switch v := v.(*ReleaseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[57].Exporter = func(v any, i int) any { + switch v := v.(*StreamHealthRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[58].Exporter = func(v any, i int) any { + switch v := v.(*RealtimeStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[59].Exporter = func(v any, i int) any { + switch v := v.(*AggregateStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[60].Exporter = func(v any, i int) any { + switch v := v.(*StreamHealthResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[61].Exporter = func(v any, i int) any { + switch v := v.(*TransactionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[62].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[63].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_query_v19_query_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*StreamEvent_Statement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_query_v19_query_proto_rawDesc, + NumEnums: 12, + NumMessages: 67, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_query_v19_query_proto_goTypes, + DependencyIndexes: file_vitess_query_v19_query_proto_depIdxs, + EnumInfos: file_vitess_query_v19_query_proto_enumTypes, + MessageInfos: file_vitess_query_v19_query_proto_msgTypes, + }.Build() + File_vitess_query_v19_query_proto = out.File + file_vitess_query_v19_query_proto_rawDesc = nil + file_vitess_query_v19_query_proto_goTypes = nil + file_vitess_query_v19_query_proto_depIdxs = nil +} diff --git a/gen/vitess/query/v19/query_vtproto.pb.go b/gen/vitess/query/v19/query_vtproto.pb.go new file mode 100644 index 0000000..b9ec294 --- /dev/null +++ b/gen/vitess/query/v19/query_vtproto.pb.go @@ -0,0 +1,17936 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/query/v19/query.proto + +package queryv19 + +import ( + binary "encoding/binary" + fmt "fmt" + v19 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + math "math" + bits "math/bits" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Target) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Target) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Target) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x22 + } + if m.TabletType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletType)) + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VTGateCallerID) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VTGateCallerID) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VTGateCallerID) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Groups) > 0 { + for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Groups[iNdEx]) + copy(dAtA[i:], m.Groups[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Groups[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Username) > 0 { + i -= len(m.Username) + copy(dAtA[i:], m.Username) + i = encodeVarint(dAtA, i, uint64(len(m.Username))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventToken) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventToken) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *EventToken) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if m.Timestamp != 0 { + i = encodeVarint(dAtA, i, uint64(m.Timestamp)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Value) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Value) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Value) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarint(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *BindVariable) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BindVariable) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BindVariable) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Values) > 0 { + for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Values[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarint(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *BoundQuery) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BoundQuery) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BoundQuery) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.BindVariables) > 0 { + for k := range m.BindVariables { + v := m.BindVariables[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Priority) > 0 { + i -= len(m.Priority) + copy(dAtA[i:], m.Priority) + i = encodeVarint(dAtA, i, uint64(len(m.Priority))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if len(m.WorkloadName) > 0 { + i -= len(m.WorkloadName) + copy(dAtA[i:], m.WorkloadName) + i = encodeVarint(dAtA, i, uint64(len(m.WorkloadName))) + i-- + dAtA[i] = 0x7a + } + if len(m.TransactionAccessMode) > 0 { + var pksize2 int + for _, num := range m.TransactionAccessMode { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TransactionAccessMode { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x72 + } + if m.Consolidator != 0 { + i = encodeVarint(dAtA, i, uint64(m.Consolidator)) + i-- + dAtA[i] = 0x68 + } + if m.HasCreatedTempTables { + i-- + if m.HasCreatedTempTables { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if m.PlannerVersion != 0 { + i = encodeVarint(dAtA, i, uint64(m.PlannerVersion)) + i-- + dAtA[i] = 0x58 + } + if m.SkipQueryPlanCache { + i-- + if m.SkipQueryPlanCache { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } + if m.TransactionIsolation != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionIsolation)) + i-- + dAtA[i] = 0x48 + } + if m.SqlSelectLimit != 0 { + i = encodeVarint(dAtA, i, uint64(m.SqlSelectLimit)) + i-- + dAtA[i] = 0x40 + } + if m.Workload != 0 { + i = encodeVarint(dAtA, i, uint64(m.Workload)) + i-- + dAtA[i] = 0x30 + } + if m.ClientFoundRows { + i-- + if m.ClientFoundRows { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.IncludedFields != 0 { + i = encodeVarint(dAtA, i, uint64(m.IncludedFields)) + i-- + dAtA[i] = 0x20 + } + return len(dAtA) - i, nil +} + +func (m *Field) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Field) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Field) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ColumnType) > 0 { + i -= len(m.ColumnType) + copy(dAtA[i:], m.ColumnType) + i = encodeVarint(dAtA, i, uint64(len(m.ColumnType))) + i-- + dAtA[i] = 0x5a + } + if m.Flags != 0 { + i = encodeVarint(dAtA, i, uint64(m.Flags)) + i-- + dAtA[i] = 0x50 + } + if m.Decimals != 0 { + i = encodeVarint(dAtA, i, uint64(m.Decimals)) + i-- + dAtA[i] = 0x48 + } + if m.Charset != 0 { + i = encodeVarint(dAtA, i, uint64(m.Charset)) + i-- + dAtA[i] = 0x40 + } + if m.ColumnLength != 0 { + i = encodeVarint(dAtA, i, uint64(m.ColumnLength)) + i-- + dAtA[i] = 0x38 + } + if len(m.OrgName) > 0 { + i -= len(m.OrgName) + copy(dAtA[i:], m.OrgName) + i = encodeVarint(dAtA, i, uint64(len(m.OrgName))) + i-- + dAtA[i] = 0x32 + } + if len(m.Database) > 0 { + i -= len(m.Database) + copy(dAtA[i:], m.Database) + i = encodeVarint(dAtA, i, uint64(len(m.Database))) + i-- + dAtA[i] = 0x2a + } + if len(m.OrgTable) > 0 { + i -= len(m.OrgTable) + copy(dAtA[i:], m.OrgTable) + i = encodeVarint(dAtA, i, uint64(len(m.OrgTable))) + i-- + dAtA[i] = 0x22 + } + if len(m.Table) > 0 { + i -= len(m.Table) + copy(dAtA[i:], m.Table) + i = encodeVarint(dAtA, i, uint64(len(m.Table))) + i-- + dAtA[i] = 0x1a + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Row) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Row) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Row) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Values) > 0 { + i -= len(m.Values) + copy(dAtA[i:], m.Values) + i = encodeVarint(dAtA, i, uint64(len(m.Values))) + i-- + dAtA[i] = 0x12 + } + if len(m.Lengths) > 0 { + var pksize2 int + for _, num := range m.Lengths { + pksize2 += soz(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range m.Lengths { + x3 := (uint64(num) << 1) ^ uint64((num >> 63)) + for x3 >= 1<<7 { + dAtA[j1] = uint8(uint64(x3)&0x7f | 0x80) + j1++ + x3 >>= 7 + } + dAtA[j1] = uint8(x3) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryResult) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryResult) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *QueryResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SessionStateChanges) > 0 { + i -= len(m.SessionStateChanges) + copy(dAtA[i:], m.SessionStateChanges) + i = encodeVarint(dAtA, i, uint64(len(m.SessionStateChanges))) + i-- + dAtA[i] = 0x3a + } + if len(m.Info) > 0 { + i -= len(m.Info) + copy(dAtA[i:], m.Info) + i = encodeVarint(dAtA, i, uint64(len(m.Info))) + i-- + dAtA[i] = 0x32 + } + if len(m.Rows) > 0 { + for iNdEx := len(m.Rows) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Rows[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if m.InsertId != 0 { + i = encodeVarint(dAtA, i, uint64(m.InsertId)) + i-- + dAtA[i] = 0x18 + } + if m.RowsAffected != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsAffected)) + i-- + dAtA[i] = 0x10 + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Fields[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *QueryWarning) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryWarning) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *QueryWarning) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x12 + } + if m.Code != 0 { + i = encodeVarint(dAtA, i, uint64(m.Code)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *StreamEvent_Statement) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamEvent_Statement) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamEvent_Statement) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0x2a + } + if len(m.PrimaryKeyValues) > 0 { + for iNdEx := len(m.PrimaryKeyValues) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.PrimaryKeyValues[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.PrimaryKeyFields) > 0 { + for iNdEx := len(m.PrimaryKeyFields) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.PrimaryKeyFields[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarint(dAtA, i, uint64(len(m.TableName))) + i-- + dAtA[i] = 0x12 + } + if m.Category != 0 { + i = encodeVarint(dAtA, i, uint64(m.Category)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *StreamEvent) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamEvent) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.EventToken != nil { + size, err := m.EventToken.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Statements) > 0 { + for iNdEx := len(m.Statements) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Statements[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x38 + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x28 + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResultWithError) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResultWithError) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResultWithError) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StreamExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x38 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x30 + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StreamExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BeginRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BeginRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BeginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BeginResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BeginResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BeginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SessionStateChanges) > 0 { + i -= len(m.SessionStateChanges) + copy(dAtA[i:], m.SessionStateChanges) + i = encodeVarint(dAtA, i, uint64(len(m.SessionStateChanges))) + i-- + dAtA[i] = 0x1a + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *CommitRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CommitRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CommitResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CommitResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *RollbackRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RollbackRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RollbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RollbackResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RollbackResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RollbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PrepareRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrepareRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrepareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x2a + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrepareResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrepareResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrepareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *CommitPreparedRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CommitPreparedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CommitPreparedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CommitPreparedResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CommitPreparedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CommitPreparedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RollbackPreparedRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RollbackPreparedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RollbackPreparedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x2a + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RollbackPreparedResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RollbackPreparedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RollbackPreparedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *CreateTransactionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Participants) > 0 { + for iNdEx := len(m.Participants) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Participants[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateTransactionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateTransactionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StartCommitRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartCommitRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartCommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x2a + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartCommitResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartCommitResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartCommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SetRollbackRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetRollbackRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetRollbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x2a + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetRollbackResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetRollbackResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetRollbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ConcludeTransactionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConcludeTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ConcludeTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConcludeTransactionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConcludeTransactionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ConcludeTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReadTransactionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReadTransactionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadTransactionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Metadata != nil { + size, err := m.Metadata.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BeginExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BeginExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BeginExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.PreQueries) > 0 { + for iNdEx := len(m.PreQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PreQueries[iNdEx]) + copy(dAtA[i:], m.PreQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PreQueries[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x30 + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BeginExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BeginExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BeginExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SessionStateChanges) > 0 { + i -= len(m.SessionStateChanges) + copy(dAtA[i:], m.SessionStateChanges) + i = encodeVarint(dAtA, i, uint64(len(m.SessionStateChanges))) + i-- + dAtA[i] = 0x2a + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x18 + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BeginStreamExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BeginStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BeginStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x38 + } + if len(m.PreQueries) > 0 { + for iNdEx := len(m.PreQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PreQueries[iNdEx]) + copy(dAtA[i:], m.PreQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PreQueries[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BeginStreamExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BeginStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BeginStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SessionStateChanges) > 0 { + i -= len(m.SessionStateChanges) + copy(dAtA[i:], m.SessionStateChanges) + i = encodeVarint(dAtA, i, uint64(len(m.SessionStateChanges))) + i-- + dAtA[i] = 0x2a + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x18 + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MessageStreamRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MessageStreamRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MessageStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MessageStreamResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MessageStreamResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MessageStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MessageAckRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MessageAckRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MessageAckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Ids) > 0 { + for iNdEx := len(m.Ids) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Ids[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MessageAckResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MessageAckResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MessageAckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.PreQueries) > 0 { + for iNdEx := len(m.PreQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PreQueries[iNdEx]) + copy(dAtA[i:], m.PreQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PreQueries[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x28 + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x18 + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveStreamExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.PreQueries) > 0 { + for iNdEx := len(m.PreQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PreQueries[iNdEx]) + copy(dAtA[i:], m.PreQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PreQueries[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x30 + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveStreamExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x18 + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveBeginExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveBeginExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveBeginExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.PostBeginQueries) > 0 { + for iNdEx := len(m.PostBeginQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PostBeginQueries[iNdEx]) + copy(dAtA[i:], m.PostBeginQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PostBeginQueries[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if len(m.PreQueries) > 0 { + for iNdEx := len(m.PreQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PreQueries[iNdEx]) + copy(dAtA[i:], m.PreQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PreQueries[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveBeginExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveBeginExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveBeginExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SessionStateChanges) > 0 { + i -= len(m.SessionStateChanges) + copy(dAtA[i:], m.SessionStateChanges) + i = encodeVarint(dAtA, i, uint64(len(m.SessionStateChanges))) + i-- + dAtA[i] = 0x32 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x20 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x18 + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveBeginStreamExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveBeginStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveBeginStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.PostBeginQueries) > 0 { + for iNdEx := len(m.PostBeginQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PostBeginQueries[iNdEx]) + copy(dAtA[i:], m.PostBeginQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PostBeginQueries[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if len(m.PreQueries) > 0 { + for iNdEx := len(m.PreQueries) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PreQueries[iNdEx]) + copy(dAtA[i:], m.PreQueries[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PreQueries[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.Query != nil { + size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReserveBeginStreamExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReserveBeginStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReserveBeginStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SessionStateChanges) > 0 { + i -= len(m.SessionStateChanges) + copy(dAtA[i:], m.SessionStateChanges) + i = encodeVarint(dAtA, i, uint64(len(m.SessionStateChanges))) + i-- + dAtA[i] = 0x32 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x20 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x18 + } + if m.Result != nil { + size, err := m.Result.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReleaseRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReleaseRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReleaseRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x28 + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.ImmediateCallerId != nil { + size, err := m.ImmediateCallerId.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.EffectiveCallerId != nil { + if vtmsg, ok := interface{}(m.EffectiveCallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.EffectiveCallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReleaseResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReleaseResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReleaseResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StreamHealthRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamHealthRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamHealthRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RealtimeStats) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RealtimeStats) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RealtimeStats) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ViewSchemaChanged) > 0 { + for iNdEx := len(m.ViewSchemaChanged) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ViewSchemaChanged[iNdEx]) + copy(dAtA[i:], m.ViewSchemaChanged[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ViewSchemaChanged[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if len(m.TableSchemaChanged) > 0 { + for iNdEx := len(m.TableSchemaChanged) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TableSchemaChanged[iNdEx]) + copy(dAtA[i:], m.TableSchemaChanged[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.TableSchemaChanged[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if m.Qps != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Qps)))) + i-- + dAtA[i] = 0x31 + } + if m.CpuUsage != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CpuUsage)))) + i-- + dAtA[i] = 0x29 + } + if m.FilteredReplicationLagSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.FilteredReplicationLagSeconds)) + i-- + dAtA[i] = 0x20 + } + if m.BinlogPlayersCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.BinlogPlayersCount)) + i-- + dAtA[i] = 0x18 + } + if m.ReplicationLagSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReplicationLagSeconds)) + i-- + dAtA[i] = 0x10 + } + if len(m.HealthError) > 0 { + i -= len(m.HealthError) + copy(dAtA[i:], m.HealthError) + i = encodeVarint(dAtA, i, uint64(len(m.HealthError))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AggregateStats) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AggregateStats) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *AggregateStats) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReplicationLagSecondsMax != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReplicationLagSecondsMax)) + i-- + dAtA[i] = 0x20 + } + if m.ReplicationLagSecondsMin != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReplicationLagSecondsMin)) + i-- + dAtA[i] = 0x18 + } + if m.UnhealthyTabletCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.UnhealthyTabletCount)) + i-- + dAtA[i] = 0x10 + } + if m.HealthyTabletCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.HealthyTabletCount)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *StreamHealthResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamHealthResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamHealthResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.RealtimeStats != nil { + size, err := m.RealtimeStats.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.PrimaryTermStartTimestamp != 0 { + i = encodeVarint(dAtA, i, uint64(m.PrimaryTermStartTimestamp)) + i-- + dAtA[i] = 0x18 + } + if m.Serving { + i-- + if m.Serving { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TransactionMetadata) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TransactionMetadata) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TransactionMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Participants) > 0 { + for iNdEx := len(m.Participants) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Participants[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if m.TimeCreated != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreated)) + i-- + dAtA[i] = 0x18 + } + if m.State != 0 { + i = encodeVarint(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x10 + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TableNames) > 0 { + for iNdEx := len(m.TableNames) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TableNames[iNdEx]) + copy(dAtA[i:], m.TableNames[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.TableNames[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.TableType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TableType)) + i-- + dAtA[i] = 0x10 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TableDefinition) > 0 { + for k := range m.TableDefinition { + v := m.TableDefinition[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} + +var vtprotoPool_BoundQuery = sync.Pool{ + New: func() interface{} { + return &BoundQuery{} + }, +} + +func (m *BoundQuery) ResetVT() { + m.Reset() +} +func (m *BoundQuery) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_BoundQuery.Put(m) + } +} +func BoundQueryFromVTPool() *BoundQuery { + return vtprotoPool_BoundQuery.Get().(*BoundQuery) +} + +var vtprotoPool_Row = sync.Pool{ + New: func() interface{} { + return &Row{} + }, +} + +func (m *Row) ResetVT() { + f0 := m.Lengths[:0] + f1 := m.Values[:0] + m.Reset() + m.Lengths = f0 + m.Values = f1 +} +func (m *Row) ReturnToVTPool() { + if m != nil { + m.ResetVT() + vtprotoPool_Row.Put(m) + } +} +func RowFromVTPool() *Row { + return vtprotoPool_Row.Get().(*Row) +} +func (m *Target) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VTGateCallerID) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Username) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Groups) > 0 { + for _, s := range m.Groups { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *EventToken) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Timestamp != 0 { + n += 1 + sov(uint64(m.Timestamp)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Value) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BindVariable) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Values) > 0 { + for _, e := range m.Values { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *BoundQuery) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.BindVariables) > 0 { + for k, v := range m.BindVariables { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IncludedFields != 0 { + n += 1 + sov(uint64(m.IncludedFields)) + } + if m.ClientFoundRows { + n += 2 + } + if m.Workload != 0 { + n += 1 + sov(uint64(m.Workload)) + } + if m.SqlSelectLimit != 0 { + n += 1 + sov(uint64(m.SqlSelectLimit)) + } + if m.TransactionIsolation != 0 { + n += 1 + sov(uint64(m.TransactionIsolation)) + } + if m.SkipQueryPlanCache { + n += 2 + } + if m.PlannerVersion != 0 { + n += 1 + sov(uint64(m.PlannerVersion)) + } + if m.HasCreatedTempTables { + n += 2 + } + if m.Consolidator != 0 { + n += 1 + sov(uint64(m.Consolidator)) + } + if len(m.TransactionAccessMode) > 0 { + l = 0 + for _, e := range m.TransactionAccessMode { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + l = len(m.WorkloadName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Priority) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Field) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + l = len(m.Table) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.OrgTable) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Database) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.OrgName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ColumnLength != 0 { + n += 1 + sov(uint64(m.ColumnLength)) + } + if m.Charset != 0 { + n += 1 + sov(uint64(m.Charset)) + } + if m.Decimals != 0 { + n += 1 + sov(uint64(m.Decimals)) + } + if m.Flags != 0 { + n += 1 + sov(uint64(m.Flags)) + } + l = len(m.ColumnType) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Row) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Lengths) > 0 { + l = 0 + for _, e := range m.Lengths { + l += soz(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + l = len(m.Values) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *QueryResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Fields) > 0 { + for _, e := range m.Fields { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.RowsAffected != 0 { + n += 1 + sov(uint64(m.RowsAffected)) + } + if m.InsertId != 0 { + n += 1 + sov(uint64(m.InsertId)) + } + if len(m.Rows) > 0 { + for _, e := range m.Rows { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Info) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SessionStateChanges) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *QueryWarning) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Code != 0 { + n += 1 + sov(uint64(m.Code)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamEvent_Statement) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Category != 0 { + n += 1 + sov(uint64(m.Category)) + } + l = len(m.TableName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.PrimaryKeyFields) > 0 { + for _, e := range m.PrimaryKeyFields { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.PrimaryKeyValues) > 0 { + for _, e := range m.PrimaryKeyValues { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamEvent) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Statements) > 0 { + for _, e := range m.Statements { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.EventToken != nil { + l = m.EventToken.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ResultWithError) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BeginRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BeginResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.SessionStateChanges) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CommitRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + n += len(m.unknownFields) + return n +} + +func (m *CommitResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + n += len(m.unknownFields) + return n +} + +func (m *RollbackRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + n += len(m.unknownFields) + return n +} + +func (m *RollbackResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrepareRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrepareResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *CommitPreparedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CommitPreparedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RollbackPreparedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RollbackPreparedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *CreateTransactionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Participants) > 0 { + for _, e := range m.Participants { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *CreateTransactionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StartCommitRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StartCommitResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetRollbackRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetRollbackResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ConcludeTransactionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ConcludeTransactionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReadTransactionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadTransactionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Metadata != nil { + l = m.Metadata.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BeginExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + if len(m.PreQueries) > 0 { + for _, s := range m.PreQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *BeginExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.SessionStateChanges) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BeginStreamExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.PreQueries) > 0 { + for _, s := range m.PreQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + n += len(m.unknownFields) + return n +} + +func (m *BeginStreamExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.SessionStateChanges) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MessageStreamRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MessageStreamResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MessageAckRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Ids) > 0 { + for _, e := range m.Ids { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *MessageAckResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.PreQueries) > 0 { + for _, s := range m.PreQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveStreamExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if len(m.PreQueries) > 0 { + for _, s := range m.PreQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveStreamExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveBeginExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.PreQueries) > 0 { + for _, s := range m.PreQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.PostBeginQueries) > 0 { + for _, s := range m.PostBeginQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveBeginExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.SessionStateChanges) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveBeginStreamExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + l = m.Query.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.PreQueries) > 0 { + for _, s := range m.PreQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.PostBeginQueries) > 0 { + for _, s := range m.PostBeginQueries { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReserveBeginStreamExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + l = m.Result.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.SessionStateChanges) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReleaseRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EffectiveCallerId != nil { + if size, ok := interface{}(m.EffectiveCallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.EffectiveCallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.ImmediateCallerId != nil { + l = m.ImmediateCallerId.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReleaseResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StreamHealthRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RealtimeStats) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.HealthError) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ReplicationLagSeconds != 0 { + n += 1 + sov(uint64(m.ReplicationLagSeconds)) + } + if m.BinlogPlayersCount != 0 { + n += 1 + sov(uint64(m.BinlogPlayersCount)) + } + if m.FilteredReplicationLagSeconds != 0 { + n += 1 + sov(uint64(m.FilteredReplicationLagSeconds)) + } + if m.CpuUsage != 0 { + n += 9 + } + if m.Qps != 0 { + n += 9 + } + if len(m.TableSchemaChanged) > 0 { + for _, s := range m.TableSchemaChanged { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ViewSchemaChanged) > 0 { + for _, s := range m.ViewSchemaChanged { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *AggregateStats) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.HealthyTabletCount != 0 { + n += 1 + sov(uint64(m.HealthyTabletCount)) + } + if m.UnhealthyTabletCount != 0 { + n += 1 + sov(uint64(m.UnhealthyTabletCount)) + } + if m.ReplicationLagSecondsMin != 0 { + n += 1 + sov(uint64(m.ReplicationLagSecondsMin)) + } + if m.ReplicationLagSecondsMax != 0 { + n += 1 + sov(uint64(m.ReplicationLagSecondsMax)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamHealthResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Serving { + n += 2 + } + if m.PrimaryTermStartTimestamp != 0 { + n += 1 + sov(uint64(m.PrimaryTermStartTimestamp)) + } + if m.RealtimeStats != nil { + l = m.RealtimeStats.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TransactionMetadata) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.State != 0 { + n += 1 + sov(uint64(m.State)) + } + if m.TimeCreated != 0 { + n += 1 + sov(uint64(m.TimeCreated)) + } + if len(m.Participants) > 0 { + for _, e := range m.Participants { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.TableType != 0 { + n += 1 + sov(uint64(m.TableType)) + } + if len(m.TableNames) > 0 { + for _, s := range m.TableNames { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TableDefinition) > 0 { + for k, v := range m.TableDefinition { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Target) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Target: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Target: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= v19.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VTGateCallerID) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VTGateCallerID: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VTGateCallerID: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Username = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Groups = append(m.Groups, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventToken) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventToken: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventToken: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) + } + m.Timestamp = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Timestamp |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Value) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Value: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Value: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= Type(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BindVariable) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BindVariable: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BindVariable: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= Type(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Values", 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 + } + m.Values = append(m.Values, &Value{}) + if err := m.Values[len(m.Values)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BoundQuery) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BoundQuery: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BoundQuery: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BindVariables", 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.BindVariables == nil { + m.BindVariables = make(map[string]*BindVariable) + } + var mapkey string + var mapvalue *BindVariable + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &BindVariable{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.BindVariables[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteOptions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludedFields", wireType) + } + m.IncludedFields = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IncludedFields |= ExecuteOptions_IncludedFields(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ClientFoundRows", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ClientFoundRows = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Workload", wireType) + } + m.Workload = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Workload |= ExecuteOptions_Workload(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SqlSelectLimit", wireType) + } + m.SqlSelectLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SqlSelectLimit |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionIsolation", wireType) + } + m.TransactionIsolation = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionIsolation |= ExecuteOptions_TransactionIsolation(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipQueryPlanCache", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipQueryPlanCache = bool(v != 0) + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PlannerVersion", wireType) + } + m.PlannerVersion = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PlannerVersion |= ExecuteOptions_PlannerVersion(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HasCreatedTempTables", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.HasCreatedTempTables = bool(v != 0) + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Consolidator", wireType) + } + m.Consolidator = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Consolidator |= ExecuteOptions_Consolidator(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType == 0 { + var v ExecuteOptions_TransactionAccessMode + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= ExecuteOptions_TransactionAccessMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TransactionAccessMode = append(m.TransactionAccessMode, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TransactionAccessMode) == 0 { + m.TransactionAccessMode = make([]ExecuteOptions_TransactionAccessMode, 0, elementCount) + } + for iNdEx < postIndex { + var v ExecuteOptions_TransactionAccessMode + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= ExecuteOptions_TransactionAccessMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TransactionAccessMode = append(m.TransactionAccessMode, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionAccessMode", wireType) + } + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkloadName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkloadName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Priority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Field) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Field: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Field: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= Type(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Table = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrgTable", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrgTable = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Database = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrgName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrgName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ColumnLength", wireType) + } + m.ColumnLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ColumnLength |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Charset", wireType) + } + m.Charset = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Charset |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Decimals", wireType) + } + m.Decimals = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Decimals |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Flags", wireType) + } + m.Flags = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Flags |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ColumnType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ColumnType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Row) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Row: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Row: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) + m.Lengths = append(m.Lengths, int64(v)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.Lengths) == 0 && cap(m.Lengths) < elementCount { + m.Lengths = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) + m.Lengths = append(m.Lengths, int64(v)) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Lengths", wireType) + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Values = append(m.Values[:0], dAtA[iNdEx:postIndex]...) + if m.Values == nil { + m.Values = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryResult) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &Field{}) + if err := m.Fields[len(m.Fields)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffected", wireType) + } + m.RowsAffected = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsAffected |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InsertId", wireType) + } + m.InsertId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InsertId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rows", 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 + } + m.Rows = append(m.Rows, &Row{}) + if err := m.Rows[len(m.Rows)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Info = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionStateChanges", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SessionStateChanges = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryWarning) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryWarning: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryWarning: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) + } + m.Code = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Code |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamEvent_Statement) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamEvent_Statement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamEvent_Statement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Category", wireType) + } + m.Category = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Category |= StreamEvent_Statement_Category(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryKeyFields", 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 + } + m.PrimaryKeyFields = append(m.PrimaryKeyFields, &Field{}) + if err := m.PrimaryKeyFields[len(m.PrimaryKeyFields)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryKeyValues", 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 + } + m.PrimaryKeyValues = append(m.PrimaryKeyValues, &Row{}) + if err := m.PrimaryKeyValues[len(m.PrimaryKeyValues)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = append(m.Sql[:0], dAtA[iNdEx:postIndex]...) + if m.Sql == nil { + m.Sql = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamEvent) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Statements", 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 + } + m.Statements = append(m.Statements, &StreamEvent_Statement{}) + if err := m.Statements[len(m.Statements)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EventToken", 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.EventToken == nil { + m.EventToken = &EventToken{} + } + if err := m.EventToken.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResultWithError) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResultWithError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResultWithError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v191.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BeginRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BeginRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BeginRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BeginResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BeginResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BeginResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionStateChanges", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SessionStateChanges = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CommitRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommitRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CommitResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RollbackRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RollbackRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RollbackRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RollbackResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RollbackResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RollbackResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrepareRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrepareRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrepareRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrepareResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrepareResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrepareResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitPreparedRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CommitPreparedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommitPreparedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitPreparedResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CommitPreparedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommitPreparedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RollbackPreparedRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RollbackPreparedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RollbackPreparedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RollbackPreparedResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RollbackPreparedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RollbackPreparedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateTransactionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateTransactionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Participants", 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 + } + m.Participants = append(m.Participants, &Target{}) + if err := m.Participants[len(m.Participants)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateTransactionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartCommitRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartCommitRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartCommitRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartCommitResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartCommitResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartCommitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetRollbackRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetRollbackRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetRollbackRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetRollbackResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetRollbackResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetRollbackResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConcludeTransactionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConcludeTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConcludeTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConcludeTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadTransactionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", 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.Metadata == nil { + m.Metadata = &TransactionMetadata{} + } + if err := m.Metadata.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BeginExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BeginExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BeginExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PreQueries = append(m.PreQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BeginExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BeginExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BeginExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v191.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionStateChanges", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SessionStateChanges = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BeginStreamExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BeginStreamExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BeginStreamExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PreQueries = append(m.PreQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BeginStreamExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BeginStreamExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BeginStreamExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v191.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionStateChanges", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SessionStateChanges = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MessageStreamRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MessageStreamRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MessageStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MessageStreamResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MessageStreamResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MessageStreamResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MessageAckRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MessageAckRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MessageAckRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ids", 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 + } + m.Ids = append(m.Ids, &Value{}) + if err := m.Ids[len(m.Ids)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MessageAckResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MessageAckResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MessageAckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PreQueries = append(m.PreQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v191.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveStreamExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveStreamExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveStreamExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PreQueries = append(m.PreQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveStreamExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveStreamExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveStreamExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v191.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveBeginExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveBeginExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveBeginExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PreQueries = append(m.PreQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PostBeginQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PostBeginQueries = append(m.PostBeginQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveBeginExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveBeginExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveBeginExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v191.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionStateChanges", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SessionStateChanges = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveBeginStreamExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveBeginStreamExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveBeginStreamExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &BoundQuery{} + } + if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &ExecuteOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PreQueries = append(m.PreQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PostBeginQueries", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PostBeginQueries = append(m.PostBeginQueries, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReserveBeginStreamExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReserveBeginStreamExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReserveBeginStreamExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v191.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &QueryResult{} + } + if err := m.Result.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionStateChanges", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SessionStateChanges = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReleaseRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReleaseRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReleaseRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EffectiveCallerId", 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.EffectiveCallerId == nil { + m.EffectiveCallerId = &v191.CallerID{} + } + if unmarshal, ok := interface{}(m.EffectiveCallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.EffectiveCallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImmediateCallerId", 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.ImmediateCallerId == nil { + m.ImmediateCallerId = &VTGateCallerID{} + } + if err := m.ImmediateCallerId.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReleaseResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReleaseResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReleaseResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamHealthRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamHealthRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamHealthRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RealtimeStats) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RealtimeStats: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RealtimeStats: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HealthError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HealthError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationLagSeconds", wireType) + } + m.ReplicationLagSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReplicationLagSeconds |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogPlayersCount", wireType) + } + m.BinlogPlayersCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BinlogPlayersCount |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FilteredReplicationLagSeconds", wireType) + } + m.FilteredReplicationLagSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FilteredReplicationLagSeconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field CpuUsage", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.CpuUsage = float64(math.Float64frombits(v)) + case 6: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Qps", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Qps = float64(math.Float64frombits(v)) + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSchemaChanged", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableSchemaChanged = append(m.TableSchemaChanged, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ViewSchemaChanged", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ViewSchemaChanged = append(m.ViewSchemaChanged, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AggregateStats) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AggregateStats: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AggregateStats: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HealthyTabletCount", wireType) + } + m.HealthyTabletCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HealthyTabletCount |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UnhealthyTabletCount", wireType) + } + m.UnhealthyTabletCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.UnhealthyTabletCount |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationLagSecondsMin", wireType) + } + m.ReplicationLagSecondsMin = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReplicationLagSecondsMin |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationLagSecondsMax", wireType) + } + m.ReplicationLagSecondsMax = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReplicationLagSecondsMax |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamHealthResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamHealthResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamHealthResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Serving", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Serving = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryTermStartTimestamp", wireType) + } + m.PrimaryTermStartTimestamp = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PrimaryTermStartTimestamp |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RealtimeStats", 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.RealtimeStats == nil { + m.RealtimeStats = &RealtimeStats{} + } + if err := m.RealtimeStats.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v19.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TransactionMetadata) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TransactionMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TransactionMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= TransactionState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreated", wireType) + } + m.TimeCreated = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeCreated |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Participants", 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 + } + m.Participants = append(m.Participants, &Target{}) + if err := m.Participants[len(m.Participants)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Target{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableType", wireType) + } + m.TableType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TableType |= SchemaTableType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableNames", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableNames = append(m.TableNames, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableDefinition", 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.TableDefinition == nil { + m.TableDefinition = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.TableDefinition[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/queryservice/dev/queryservice.pb.go b/gen/vitess/queryservice/dev/queryservice.pb.go index d3297f7..f3d25ca 100644 --- a/gen/vitess/queryservice/dev/queryservice.pb.go +++ b/gen/vitess/queryservice/dev/queryservice.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/queryservice/dev/queryservice.proto @@ -49,7 +49,7 @@ var file_vitess_queryservice_dev_queryservice_proto_rawDesc = []byte{ 0x65, 0x72, 0x79, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, - 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x95, 0x16, 0x0a, 0x05, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x94, 0x17, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x50, 0x0a, 0x07, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, @@ -128,114 +128,122 @@ var file_vitess_queryservice_dev_queryservice_proto_rawDesc = []byte{ 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x5f, 0x0a, 0x0c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, - 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x73, 0x0a, 0x12, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x7d, 0x0a, 0x16, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x6e, 0x72, + 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x6e, + 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5f, + 0x0a, 0x0c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0a, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, - 0x13, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, - 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, - 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, - 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, + 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x73, 0x0a, 0x12, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0a, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x13, + 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, + 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, + 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x79, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x88, - 0x01, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x32, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x07, 0x52, 0x65, 0x6c, - 0x65, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0c, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x25, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, - 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5c, - 0x0a, 0x07, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x0b, - 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x6e, 0x0a, 0x0d, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, - 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x0e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x88, 0x01, + 0x0a, 0x19, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x32, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x07, 0x52, 0x65, 0x6c, 0x65, + 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0c, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5c, 0x0a, + 0x07, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x0b, 0x56, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x6e, 0x0a, 0x0d, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x09, 0x47, 0x65, 0x74, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x30, 0x01, 0x42, 0x51, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x0e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, + 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x30, 0x01, 0x42, 0x51, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_queryservice_dev_queryservice_proto_goTypes = []interface{}{ +var file_vitess_queryservice_dev_queryservice_proto_goTypes = []any{ (*dev.ExecuteRequest)(nil), // 0: vitess.query.dev.ExecuteRequest (*dev.StreamExecuteRequest)(nil), // 1: vitess.query.dev.StreamExecuteRequest (*dev.BeginRequest)(nil), // 2: vitess.query.dev.BeginRequest @@ -249,49 +257,51 @@ var file_vitess_queryservice_dev_queryservice_proto_goTypes = []interface{}{ (*dev.SetRollbackRequest)(nil), // 10: vitess.query.dev.SetRollbackRequest (*dev.ConcludeTransactionRequest)(nil), // 11: vitess.query.dev.ConcludeTransactionRequest (*dev.ReadTransactionRequest)(nil), // 12: vitess.query.dev.ReadTransactionRequest - (*dev.BeginExecuteRequest)(nil), // 13: vitess.query.dev.BeginExecuteRequest - (*dev.BeginStreamExecuteRequest)(nil), // 14: vitess.query.dev.BeginStreamExecuteRequest - (*dev.MessageStreamRequest)(nil), // 15: vitess.query.dev.MessageStreamRequest - (*dev.MessageAckRequest)(nil), // 16: vitess.query.dev.MessageAckRequest - (*dev.ReserveExecuteRequest)(nil), // 17: vitess.query.dev.ReserveExecuteRequest - (*dev.ReserveBeginExecuteRequest)(nil), // 18: vitess.query.dev.ReserveBeginExecuteRequest - (*dev.ReserveStreamExecuteRequest)(nil), // 19: vitess.query.dev.ReserveStreamExecuteRequest - (*dev.ReserveBeginStreamExecuteRequest)(nil), // 20: vitess.query.dev.ReserveBeginStreamExecuteRequest - (*dev.ReleaseRequest)(nil), // 21: vitess.query.dev.ReleaseRequest - (*dev.StreamHealthRequest)(nil), // 22: vitess.query.dev.StreamHealthRequest - (*dev1.VStreamRequest)(nil), // 23: vitess.binlogdata.dev.VStreamRequest - (*dev1.VStreamRowsRequest)(nil), // 24: vitess.binlogdata.dev.VStreamRowsRequest - (*dev1.VStreamTablesRequest)(nil), // 25: vitess.binlogdata.dev.VStreamTablesRequest - (*dev1.VStreamResultsRequest)(nil), // 26: vitess.binlogdata.dev.VStreamResultsRequest - (*dev.GetSchemaRequest)(nil), // 27: vitess.query.dev.GetSchemaRequest - (*dev.ExecuteResponse)(nil), // 28: vitess.query.dev.ExecuteResponse - (*dev.StreamExecuteResponse)(nil), // 29: vitess.query.dev.StreamExecuteResponse - (*dev.BeginResponse)(nil), // 30: vitess.query.dev.BeginResponse - (*dev.CommitResponse)(nil), // 31: vitess.query.dev.CommitResponse - (*dev.RollbackResponse)(nil), // 32: vitess.query.dev.RollbackResponse - (*dev.PrepareResponse)(nil), // 33: vitess.query.dev.PrepareResponse - (*dev.CommitPreparedResponse)(nil), // 34: vitess.query.dev.CommitPreparedResponse - (*dev.RollbackPreparedResponse)(nil), // 35: vitess.query.dev.RollbackPreparedResponse - (*dev.CreateTransactionResponse)(nil), // 36: vitess.query.dev.CreateTransactionResponse - (*dev.StartCommitResponse)(nil), // 37: vitess.query.dev.StartCommitResponse - (*dev.SetRollbackResponse)(nil), // 38: vitess.query.dev.SetRollbackResponse - (*dev.ConcludeTransactionResponse)(nil), // 39: vitess.query.dev.ConcludeTransactionResponse - (*dev.ReadTransactionResponse)(nil), // 40: vitess.query.dev.ReadTransactionResponse - (*dev.BeginExecuteResponse)(nil), // 41: vitess.query.dev.BeginExecuteResponse - (*dev.BeginStreamExecuteResponse)(nil), // 42: vitess.query.dev.BeginStreamExecuteResponse - (*dev.MessageStreamResponse)(nil), // 43: vitess.query.dev.MessageStreamResponse - (*dev.MessageAckResponse)(nil), // 44: vitess.query.dev.MessageAckResponse - (*dev.ReserveExecuteResponse)(nil), // 45: vitess.query.dev.ReserveExecuteResponse - (*dev.ReserveBeginExecuteResponse)(nil), // 46: vitess.query.dev.ReserveBeginExecuteResponse - (*dev.ReserveStreamExecuteResponse)(nil), // 47: vitess.query.dev.ReserveStreamExecuteResponse - (*dev.ReserveBeginStreamExecuteResponse)(nil), // 48: vitess.query.dev.ReserveBeginStreamExecuteResponse - (*dev.ReleaseResponse)(nil), // 49: vitess.query.dev.ReleaseResponse - (*dev.StreamHealthResponse)(nil), // 50: vitess.query.dev.StreamHealthResponse - (*dev1.VStreamResponse)(nil), // 51: vitess.binlogdata.dev.VStreamResponse - (*dev1.VStreamRowsResponse)(nil), // 52: vitess.binlogdata.dev.VStreamRowsResponse - (*dev1.VStreamTablesResponse)(nil), // 53: vitess.binlogdata.dev.VStreamTablesResponse - (*dev1.VStreamResultsResponse)(nil), // 54: vitess.binlogdata.dev.VStreamResultsResponse - (*dev.GetSchemaResponse)(nil), // 55: vitess.query.dev.GetSchemaResponse + (*dev.UnresolvedTransactionsRequest)(nil), // 13: vitess.query.dev.UnresolvedTransactionsRequest + (*dev.BeginExecuteRequest)(nil), // 14: vitess.query.dev.BeginExecuteRequest + (*dev.BeginStreamExecuteRequest)(nil), // 15: vitess.query.dev.BeginStreamExecuteRequest + (*dev.MessageStreamRequest)(nil), // 16: vitess.query.dev.MessageStreamRequest + (*dev.MessageAckRequest)(nil), // 17: vitess.query.dev.MessageAckRequest + (*dev.ReserveExecuteRequest)(nil), // 18: vitess.query.dev.ReserveExecuteRequest + (*dev.ReserveBeginExecuteRequest)(nil), // 19: vitess.query.dev.ReserveBeginExecuteRequest + (*dev.ReserveStreamExecuteRequest)(nil), // 20: vitess.query.dev.ReserveStreamExecuteRequest + (*dev.ReserveBeginStreamExecuteRequest)(nil), // 21: vitess.query.dev.ReserveBeginStreamExecuteRequest + (*dev.ReleaseRequest)(nil), // 22: vitess.query.dev.ReleaseRequest + (*dev.StreamHealthRequest)(nil), // 23: vitess.query.dev.StreamHealthRequest + (*dev1.VStreamRequest)(nil), // 24: vitess.binlogdata.dev.VStreamRequest + (*dev1.VStreamRowsRequest)(nil), // 25: vitess.binlogdata.dev.VStreamRowsRequest + (*dev1.VStreamTablesRequest)(nil), // 26: vitess.binlogdata.dev.VStreamTablesRequest + (*dev1.VStreamResultsRequest)(nil), // 27: vitess.binlogdata.dev.VStreamResultsRequest + (*dev.GetSchemaRequest)(nil), // 28: vitess.query.dev.GetSchemaRequest + (*dev.ExecuteResponse)(nil), // 29: vitess.query.dev.ExecuteResponse + (*dev.StreamExecuteResponse)(nil), // 30: vitess.query.dev.StreamExecuteResponse + (*dev.BeginResponse)(nil), // 31: vitess.query.dev.BeginResponse + (*dev.CommitResponse)(nil), // 32: vitess.query.dev.CommitResponse + (*dev.RollbackResponse)(nil), // 33: vitess.query.dev.RollbackResponse + (*dev.PrepareResponse)(nil), // 34: vitess.query.dev.PrepareResponse + (*dev.CommitPreparedResponse)(nil), // 35: vitess.query.dev.CommitPreparedResponse + (*dev.RollbackPreparedResponse)(nil), // 36: vitess.query.dev.RollbackPreparedResponse + (*dev.CreateTransactionResponse)(nil), // 37: vitess.query.dev.CreateTransactionResponse + (*dev.StartCommitResponse)(nil), // 38: vitess.query.dev.StartCommitResponse + (*dev.SetRollbackResponse)(nil), // 39: vitess.query.dev.SetRollbackResponse + (*dev.ConcludeTransactionResponse)(nil), // 40: vitess.query.dev.ConcludeTransactionResponse + (*dev.ReadTransactionResponse)(nil), // 41: vitess.query.dev.ReadTransactionResponse + (*dev.UnresolvedTransactionsResponse)(nil), // 42: vitess.query.dev.UnresolvedTransactionsResponse + (*dev.BeginExecuteResponse)(nil), // 43: vitess.query.dev.BeginExecuteResponse + (*dev.BeginStreamExecuteResponse)(nil), // 44: vitess.query.dev.BeginStreamExecuteResponse + (*dev.MessageStreamResponse)(nil), // 45: vitess.query.dev.MessageStreamResponse + (*dev.MessageAckResponse)(nil), // 46: vitess.query.dev.MessageAckResponse + (*dev.ReserveExecuteResponse)(nil), // 47: vitess.query.dev.ReserveExecuteResponse + (*dev.ReserveBeginExecuteResponse)(nil), // 48: vitess.query.dev.ReserveBeginExecuteResponse + (*dev.ReserveStreamExecuteResponse)(nil), // 49: vitess.query.dev.ReserveStreamExecuteResponse + (*dev.ReserveBeginStreamExecuteResponse)(nil), // 50: vitess.query.dev.ReserveBeginStreamExecuteResponse + (*dev.ReleaseResponse)(nil), // 51: vitess.query.dev.ReleaseResponse + (*dev.StreamHealthResponse)(nil), // 52: vitess.query.dev.StreamHealthResponse + (*dev1.VStreamResponse)(nil), // 53: vitess.binlogdata.dev.VStreamResponse + (*dev1.VStreamRowsResponse)(nil), // 54: vitess.binlogdata.dev.VStreamRowsResponse + (*dev1.VStreamTablesResponse)(nil), // 55: vitess.binlogdata.dev.VStreamTablesResponse + (*dev1.VStreamResultsResponse)(nil), // 56: vitess.binlogdata.dev.VStreamResultsResponse + (*dev.GetSchemaResponse)(nil), // 57: vitess.query.dev.GetSchemaResponse } var file_vitess_queryservice_dev_queryservice_proto_depIdxs = []int32{ 0, // 0: vitess.queryservice.dev.Query.Execute:input_type -> vitess.query.dev.ExecuteRequest @@ -307,51 +317,53 @@ var file_vitess_queryservice_dev_queryservice_proto_depIdxs = []int32{ 10, // 10: vitess.queryservice.dev.Query.SetRollback:input_type -> vitess.query.dev.SetRollbackRequest 11, // 11: vitess.queryservice.dev.Query.ConcludeTransaction:input_type -> vitess.query.dev.ConcludeTransactionRequest 12, // 12: vitess.queryservice.dev.Query.ReadTransaction:input_type -> vitess.query.dev.ReadTransactionRequest - 13, // 13: vitess.queryservice.dev.Query.BeginExecute:input_type -> vitess.query.dev.BeginExecuteRequest - 14, // 14: vitess.queryservice.dev.Query.BeginStreamExecute:input_type -> vitess.query.dev.BeginStreamExecuteRequest - 15, // 15: vitess.queryservice.dev.Query.MessageStream:input_type -> vitess.query.dev.MessageStreamRequest - 16, // 16: vitess.queryservice.dev.Query.MessageAck:input_type -> vitess.query.dev.MessageAckRequest - 17, // 17: vitess.queryservice.dev.Query.ReserveExecute:input_type -> vitess.query.dev.ReserveExecuteRequest - 18, // 18: vitess.queryservice.dev.Query.ReserveBeginExecute:input_type -> vitess.query.dev.ReserveBeginExecuteRequest - 19, // 19: vitess.queryservice.dev.Query.ReserveStreamExecute:input_type -> vitess.query.dev.ReserveStreamExecuteRequest - 20, // 20: vitess.queryservice.dev.Query.ReserveBeginStreamExecute:input_type -> vitess.query.dev.ReserveBeginStreamExecuteRequest - 21, // 21: vitess.queryservice.dev.Query.Release:input_type -> vitess.query.dev.ReleaseRequest - 22, // 22: vitess.queryservice.dev.Query.StreamHealth:input_type -> vitess.query.dev.StreamHealthRequest - 23, // 23: vitess.queryservice.dev.Query.VStream:input_type -> vitess.binlogdata.dev.VStreamRequest - 24, // 24: vitess.queryservice.dev.Query.VStreamRows:input_type -> vitess.binlogdata.dev.VStreamRowsRequest - 25, // 25: vitess.queryservice.dev.Query.VStreamTables:input_type -> vitess.binlogdata.dev.VStreamTablesRequest - 26, // 26: vitess.queryservice.dev.Query.VStreamResults:input_type -> vitess.binlogdata.dev.VStreamResultsRequest - 27, // 27: vitess.queryservice.dev.Query.GetSchema:input_type -> vitess.query.dev.GetSchemaRequest - 28, // 28: vitess.queryservice.dev.Query.Execute:output_type -> vitess.query.dev.ExecuteResponse - 29, // 29: vitess.queryservice.dev.Query.StreamExecute:output_type -> vitess.query.dev.StreamExecuteResponse - 30, // 30: vitess.queryservice.dev.Query.Begin:output_type -> vitess.query.dev.BeginResponse - 31, // 31: vitess.queryservice.dev.Query.Commit:output_type -> vitess.query.dev.CommitResponse - 32, // 32: vitess.queryservice.dev.Query.Rollback:output_type -> vitess.query.dev.RollbackResponse - 33, // 33: vitess.queryservice.dev.Query.Prepare:output_type -> vitess.query.dev.PrepareResponse - 34, // 34: vitess.queryservice.dev.Query.CommitPrepared:output_type -> vitess.query.dev.CommitPreparedResponse - 35, // 35: vitess.queryservice.dev.Query.RollbackPrepared:output_type -> vitess.query.dev.RollbackPreparedResponse - 36, // 36: vitess.queryservice.dev.Query.CreateTransaction:output_type -> vitess.query.dev.CreateTransactionResponse - 37, // 37: vitess.queryservice.dev.Query.StartCommit:output_type -> vitess.query.dev.StartCommitResponse - 38, // 38: vitess.queryservice.dev.Query.SetRollback:output_type -> vitess.query.dev.SetRollbackResponse - 39, // 39: vitess.queryservice.dev.Query.ConcludeTransaction:output_type -> vitess.query.dev.ConcludeTransactionResponse - 40, // 40: vitess.queryservice.dev.Query.ReadTransaction:output_type -> vitess.query.dev.ReadTransactionResponse - 41, // 41: vitess.queryservice.dev.Query.BeginExecute:output_type -> vitess.query.dev.BeginExecuteResponse - 42, // 42: vitess.queryservice.dev.Query.BeginStreamExecute:output_type -> vitess.query.dev.BeginStreamExecuteResponse - 43, // 43: vitess.queryservice.dev.Query.MessageStream:output_type -> vitess.query.dev.MessageStreamResponse - 44, // 44: vitess.queryservice.dev.Query.MessageAck:output_type -> vitess.query.dev.MessageAckResponse - 45, // 45: vitess.queryservice.dev.Query.ReserveExecute:output_type -> vitess.query.dev.ReserveExecuteResponse - 46, // 46: vitess.queryservice.dev.Query.ReserveBeginExecute:output_type -> vitess.query.dev.ReserveBeginExecuteResponse - 47, // 47: vitess.queryservice.dev.Query.ReserveStreamExecute:output_type -> vitess.query.dev.ReserveStreamExecuteResponse - 48, // 48: vitess.queryservice.dev.Query.ReserveBeginStreamExecute:output_type -> vitess.query.dev.ReserveBeginStreamExecuteResponse - 49, // 49: vitess.queryservice.dev.Query.Release:output_type -> vitess.query.dev.ReleaseResponse - 50, // 50: vitess.queryservice.dev.Query.StreamHealth:output_type -> vitess.query.dev.StreamHealthResponse - 51, // 51: vitess.queryservice.dev.Query.VStream:output_type -> vitess.binlogdata.dev.VStreamResponse - 52, // 52: vitess.queryservice.dev.Query.VStreamRows:output_type -> vitess.binlogdata.dev.VStreamRowsResponse - 53, // 53: vitess.queryservice.dev.Query.VStreamTables:output_type -> vitess.binlogdata.dev.VStreamTablesResponse - 54, // 54: vitess.queryservice.dev.Query.VStreamResults:output_type -> vitess.binlogdata.dev.VStreamResultsResponse - 55, // 55: vitess.queryservice.dev.Query.GetSchema:output_type -> vitess.query.dev.GetSchemaResponse - 28, // [28:56] is the sub-list for method output_type - 0, // [0:28] is the sub-list for method input_type + 13, // 13: vitess.queryservice.dev.Query.UnresolvedTransactions:input_type -> vitess.query.dev.UnresolvedTransactionsRequest + 14, // 14: vitess.queryservice.dev.Query.BeginExecute:input_type -> vitess.query.dev.BeginExecuteRequest + 15, // 15: vitess.queryservice.dev.Query.BeginStreamExecute:input_type -> vitess.query.dev.BeginStreamExecuteRequest + 16, // 16: vitess.queryservice.dev.Query.MessageStream:input_type -> vitess.query.dev.MessageStreamRequest + 17, // 17: vitess.queryservice.dev.Query.MessageAck:input_type -> vitess.query.dev.MessageAckRequest + 18, // 18: vitess.queryservice.dev.Query.ReserveExecute:input_type -> vitess.query.dev.ReserveExecuteRequest + 19, // 19: vitess.queryservice.dev.Query.ReserveBeginExecute:input_type -> vitess.query.dev.ReserveBeginExecuteRequest + 20, // 20: vitess.queryservice.dev.Query.ReserveStreamExecute:input_type -> vitess.query.dev.ReserveStreamExecuteRequest + 21, // 21: vitess.queryservice.dev.Query.ReserveBeginStreamExecute:input_type -> vitess.query.dev.ReserveBeginStreamExecuteRequest + 22, // 22: vitess.queryservice.dev.Query.Release:input_type -> vitess.query.dev.ReleaseRequest + 23, // 23: vitess.queryservice.dev.Query.StreamHealth:input_type -> vitess.query.dev.StreamHealthRequest + 24, // 24: vitess.queryservice.dev.Query.VStream:input_type -> vitess.binlogdata.dev.VStreamRequest + 25, // 25: vitess.queryservice.dev.Query.VStreamRows:input_type -> vitess.binlogdata.dev.VStreamRowsRequest + 26, // 26: vitess.queryservice.dev.Query.VStreamTables:input_type -> vitess.binlogdata.dev.VStreamTablesRequest + 27, // 27: vitess.queryservice.dev.Query.VStreamResults:input_type -> vitess.binlogdata.dev.VStreamResultsRequest + 28, // 28: vitess.queryservice.dev.Query.GetSchema:input_type -> vitess.query.dev.GetSchemaRequest + 29, // 29: vitess.queryservice.dev.Query.Execute:output_type -> vitess.query.dev.ExecuteResponse + 30, // 30: vitess.queryservice.dev.Query.StreamExecute:output_type -> vitess.query.dev.StreamExecuteResponse + 31, // 31: vitess.queryservice.dev.Query.Begin:output_type -> vitess.query.dev.BeginResponse + 32, // 32: vitess.queryservice.dev.Query.Commit:output_type -> vitess.query.dev.CommitResponse + 33, // 33: vitess.queryservice.dev.Query.Rollback:output_type -> vitess.query.dev.RollbackResponse + 34, // 34: vitess.queryservice.dev.Query.Prepare:output_type -> vitess.query.dev.PrepareResponse + 35, // 35: vitess.queryservice.dev.Query.CommitPrepared:output_type -> vitess.query.dev.CommitPreparedResponse + 36, // 36: vitess.queryservice.dev.Query.RollbackPrepared:output_type -> vitess.query.dev.RollbackPreparedResponse + 37, // 37: vitess.queryservice.dev.Query.CreateTransaction:output_type -> vitess.query.dev.CreateTransactionResponse + 38, // 38: vitess.queryservice.dev.Query.StartCommit:output_type -> vitess.query.dev.StartCommitResponse + 39, // 39: vitess.queryservice.dev.Query.SetRollback:output_type -> vitess.query.dev.SetRollbackResponse + 40, // 40: vitess.queryservice.dev.Query.ConcludeTransaction:output_type -> vitess.query.dev.ConcludeTransactionResponse + 41, // 41: vitess.queryservice.dev.Query.ReadTransaction:output_type -> vitess.query.dev.ReadTransactionResponse + 42, // 42: vitess.queryservice.dev.Query.UnresolvedTransactions:output_type -> vitess.query.dev.UnresolvedTransactionsResponse + 43, // 43: vitess.queryservice.dev.Query.BeginExecute:output_type -> vitess.query.dev.BeginExecuteResponse + 44, // 44: vitess.queryservice.dev.Query.BeginStreamExecute:output_type -> vitess.query.dev.BeginStreamExecuteResponse + 45, // 45: vitess.queryservice.dev.Query.MessageStream:output_type -> vitess.query.dev.MessageStreamResponse + 46, // 46: vitess.queryservice.dev.Query.MessageAck:output_type -> vitess.query.dev.MessageAckResponse + 47, // 47: vitess.queryservice.dev.Query.ReserveExecute:output_type -> vitess.query.dev.ReserveExecuteResponse + 48, // 48: vitess.queryservice.dev.Query.ReserveBeginExecute:output_type -> vitess.query.dev.ReserveBeginExecuteResponse + 49, // 49: vitess.queryservice.dev.Query.ReserveStreamExecute:output_type -> vitess.query.dev.ReserveStreamExecuteResponse + 50, // 50: vitess.queryservice.dev.Query.ReserveBeginStreamExecute:output_type -> vitess.query.dev.ReserveBeginStreamExecuteResponse + 51, // 51: vitess.queryservice.dev.Query.Release:output_type -> vitess.query.dev.ReleaseResponse + 52, // 52: vitess.queryservice.dev.Query.StreamHealth:output_type -> vitess.query.dev.StreamHealthResponse + 53, // 53: vitess.queryservice.dev.Query.VStream:output_type -> vitess.binlogdata.dev.VStreamResponse + 54, // 54: vitess.queryservice.dev.Query.VStreamRows:output_type -> vitess.binlogdata.dev.VStreamRowsResponse + 55, // 55: vitess.queryservice.dev.Query.VStreamTables:output_type -> vitess.binlogdata.dev.VStreamTablesResponse + 56, // 56: vitess.queryservice.dev.Query.VStreamResults:output_type -> vitess.binlogdata.dev.VStreamResultsResponse + 57, // 57: vitess.queryservice.dev.Query.GetSchema:output_type -> vitess.query.dev.GetSchemaResponse + 29, // [29:58] is the sub-list for method output_type + 0, // [0:29] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name diff --git a/gen/vitess/queryservice/dev/queryservicedevconnect/queryservice.connect.go b/gen/vitess/queryservice/dev/queryservicedevconnect/queryservice.connect.go index 6df5d69..9b2e1ad 100644 --- a/gen/vitess/queryservice/dev/queryservicedevconnect/queryservice.connect.go +++ b/gen/vitess/queryservice/dev/queryservicedevconnect/queryservice.connect.go @@ -24,9 +24,9 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - dev1 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" - dev "github.com/planetscale/vitess-types/gen/vitess/query/dev" - _ "github.com/planetscale/vitess-types/gen/vitess/queryservice/dev" + dev2 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" + dev1 "github.com/planetscale/vitess-types/gen/vitess/query/dev" + dev "github.com/planetscale/vitess-types/gen/vitess/queryservice/dev" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // QueryName is the fully-qualified name of the Query service. @@ -78,6 +78,9 @@ const ( QueryConcludeTransactionProcedure = "/queryservice.Query/ConcludeTransaction" // QueryReadTransactionProcedure is the fully-qualified name of the Query's ReadTransaction RPC. QueryReadTransactionProcedure = "/queryservice.Query/ReadTransaction" + // QueryUnresolvedTransactionsProcedure is the fully-qualified name of the Query's + // UnresolvedTransactions RPC. + QueryUnresolvedTransactionsProcedure = "/queryservice.Query/UnresolvedTransactions" // QueryBeginExecuteProcedure is the fully-qualified name of the Query's BeginExecute RPC. QueryBeginExecuteProcedure = "/queryservice.Query/BeginExecute" // QueryBeginStreamExecuteProcedure is the fully-qualified name of the Query's BeginStreamExecute @@ -114,69 +117,105 @@ const ( QueryGetSchemaProcedure = "/queryservice.Query/GetSchema" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + queryServiceDescriptor = dev.File_vitess_queryservice_dev_queryservice_proto.Services().ByName("Query") + queryExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("Execute") + queryStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamExecute") + queryBeginMethodDescriptor = queryServiceDescriptor.Methods().ByName("Begin") + queryCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("Commit") + queryRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("Rollback") + queryPrepareMethodDescriptor = queryServiceDescriptor.Methods().ByName("Prepare") + queryCommitPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("CommitPrepared") + queryRollbackPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("RollbackPrepared") + queryCreateTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("CreateTransaction") + queryStartCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("StartCommit") + querySetRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("SetRollback") + queryConcludeTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ConcludeTransaction") + queryReadTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReadTransaction") + queryUnresolvedTransactionsMethodDescriptor = queryServiceDescriptor.Methods().ByName("UnresolvedTransactions") + queryBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginExecute") + queryBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginStreamExecute") + queryMessageStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageStream") + queryMessageAckMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageAck") + queryReserveExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveExecute") + queryReserveBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginExecute") + queryReserveStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveStreamExecute") + queryReserveBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginStreamExecute") + queryReleaseMethodDescriptor = queryServiceDescriptor.Methods().ByName("Release") + queryStreamHealthMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamHealth") + queryVStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStream") + queryVStreamRowsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamRows") + queryVStreamTablesMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamTables") + queryVStreamResultsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamResults") + queryGetSchemaMethodDescriptor = queryServiceDescriptor.Methods().ByName("GetSchema") +) + // QueryClient is a client for the queryservice.Query service. type QueryClient interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) + Execute(context.Context, *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[dev.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev.StreamExecuteResponse], error) + StreamExecute(context.Context, *connect.Request[dev1.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.StreamExecuteResponse], error) // Begin a transaction. - Begin(context.Context, *connect.Request[dev.BeginRequest]) (*connect.Response[dev.BeginResponse], error) + Begin(context.Context, *connect.Request[dev1.BeginRequest]) (*connect.Response[dev1.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[dev.CommitRequest]) (*connect.Response[dev.CommitResponse], error) + Commit(context.Context, *connect.Request[dev1.CommitRequest]) (*connect.Response[dev1.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[dev.RollbackRequest]) (*connect.Response[dev.RollbackResponse], error) + Rollback(context.Context, *connect.Request[dev1.RollbackRequest]) (*connect.Response[dev1.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) + Prepare(context.Context, *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[dev.CommitPreparedRequest]) (*connect.Response[dev.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[dev1.CommitPreparedRequest]) (*connect.Response[dev1.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[dev.RollbackPreparedRequest]) (*connect.Response[dev.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[dev1.RollbackPreparedRequest]) (*connect.Response[dev1.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[dev.CreateTransactionRequest]) (*connect.Response[dev.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[dev1.CreateTransactionRequest]) (*connect.Response[dev1.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[dev.StartCommitRequest]) (*connect.Response[dev.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[dev1.StartCommitRequest]) (*connect.Response[dev1.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[dev.SetRollbackRequest]) (*connect.Response[dev.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[dev1.SetRollbackRequest]) (*connect.Response[dev1.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[dev.ReadTransactionRequest]) (*connect.Response[dev.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) + // UnresolvedTransactions returns the 2pc transaction info. + UnresolvedTransactions(context.Context, *connect.Request[dev1.UnresolvedTransactionsRequest]) (*connect.Response[dev1.UnresolvedTransactionsResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[dev.BeginExecuteRequest]) (*connect.Response[dev.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[dev1.BeginExecuteRequest]) (*connect.Response[dev1.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[dev.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev.BeginStreamExecuteResponse], error) + BeginStreamExecute(context.Context, *connect.Request[dev1.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.BeginStreamExecuteResponse], error) // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[dev.MessageStreamRequest]) (*connect.ServerStreamForClient[dev.MessageStreamResponse], error) + MessageStream(context.Context, *connect.Request[dev1.MessageStreamRequest]) (*connect.ServerStreamForClient[dev1.MessageStreamResponse], error) // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[dev.MessageAckRequest]) (*connect.Response[dev.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[dev1.MessageAckRequest]) (*connect.Response[dev1.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[dev.ReserveExecuteRequest]) (*connect.Response[dev.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[dev1.ReserveExecuteRequest]) (*connect.Response[dev1.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[dev.ReserveBeginExecuteRequest]) (*connect.Response[dev.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[dev1.ReserveBeginExecuteRequest]) (*connect.Response[dev1.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[dev.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[dev.ReserveStreamExecuteResponse], error) + ReserveStreamExecute(context.Context, *connect.Request[dev1.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.ReserveStreamExecuteResponse], error) // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[dev.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev.ReserveBeginStreamExecuteResponse], error) + ReserveBeginStreamExecute(context.Context, *connect.Request[dev1.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.ReserveBeginStreamExecuteResponse], error) // Release releases the connection - Release(context.Context, *connect.Request[dev.ReleaseRequest]) (*connect.Response[dev.ReleaseResponse], error) + Release(context.Context, *connect.Request[dev1.ReleaseRequest]) (*connect.Response[dev1.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[dev.StreamHealthRequest]) (*connect.ServerStreamForClient[dev.StreamHealthResponse], error) + StreamHealth(context.Context, *connect.Request[dev1.StreamHealthRequest]) (*connect.ServerStreamForClient[dev1.StreamHealthResponse], error) // VStream streams vreplication events. - VStream(context.Context, *connect.Request[dev1.VStreamRequest]) (*connect.ServerStreamForClient[dev1.VStreamResponse], error) + VStream(context.Context, *connect.Request[dev2.VStreamRequest]) (*connect.ServerStreamForClient[dev2.VStreamResponse], error) // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[dev1.VStreamRowsRequest]) (*connect.ServerStreamForClient[dev1.VStreamRowsResponse], error) + VStreamRows(context.Context, *connect.Request[dev2.VStreamRowsRequest]) (*connect.ServerStreamForClient[dev2.VStreamRowsResponse], error) // VStreamTables streams rows from the specified starting point. - VStreamTables(context.Context, *connect.Request[dev1.VStreamTablesRequest]) (*connect.ServerStreamForClient[dev1.VStreamTablesResponse], error) + VStreamTables(context.Context, *connect.Request[dev2.VStreamTablesRequest]) (*connect.ServerStreamForClient[dev2.VStreamTablesResponse], error) // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[dev1.VStreamResultsRequest]) (*connect.ServerStreamForClient[dev1.VStreamResultsResponse], error) + VStreamResults(context.Context, *connect.Request[dev2.VStreamResultsRequest]) (*connect.ServerStreamForClient[dev2.VStreamResultsResponse], error) // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.ServerStreamForClient[dev.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest]) (*connect.ServerStreamForClient[dev1.GetSchemaResponse], error) } // NewQueryClient constructs a client for the queryservice.Query service. By default, it @@ -189,318 +228,358 @@ type QueryClient interface { func NewQueryClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) QueryClient { baseURL = strings.TrimRight(baseURL, "/") return &queryClient{ - execute: connect.NewClient[dev.ExecuteRequest, dev.ExecuteResponse]( + execute: connect.NewClient[dev1.ExecuteRequest, dev1.ExecuteResponse]( httpClient, baseURL+QueryExecuteProcedure, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[dev.StreamExecuteRequest, dev.StreamExecuteResponse]( + streamExecute: connect.NewClient[dev1.StreamExecuteRequest, dev1.StreamExecuteResponse]( httpClient, baseURL+QueryStreamExecuteProcedure, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - begin: connect.NewClient[dev.BeginRequest, dev.BeginResponse]( + begin: connect.NewClient[dev1.BeginRequest, dev1.BeginResponse]( httpClient, baseURL+QueryBeginProcedure, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithClientOptions(opts...), ), - commit: connect.NewClient[dev.CommitRequest, dev.CommitResponse]( + commit: connect.NewClient[dev1.CommitRequest, dev1.CommitResponse]( httpClient, baseURL+QueryCommitProcedure, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollback: connect.NewClient[dev.RollbackRequest, dev.RollbackResponse]( + rollback: connect.NewClient[dev1.RollbackRequest, dev1.RollbackResponse]( httpClient, baseURL+QueryRollbackProcedure, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[dev.PrepareRequest, dev.PrepareResponse]( + prepare: connect.NewClient[dev1.PrepareRequest, dev1.PrepareResponse]( httpClient, baseURL+QueryPrepareProcedure, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - commitPrepared: connect.NewClient[dev.CommitPreparedRequest, dev.CommitPreparedResponse]( + commitPrepared: connect.NewClient[dev1.CommitPreparedRequest, dev1.CommitPreparedResponse]( httpClient, baseURL+QueryCommitPreparedProcedure, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollbackPrepared: connect.NewClient[dev.RollbackPreparedRequest, dev.RollbackPreparedResponse]( + rollbackPrepared: connect.NewClient[dev1.RollbackPreparedRequest, dev1.RollbackPreparedResponse]( httpClient, baseURL+QueryRollbackPreparedProcedure, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - createTransaction: connect.NewClient[dev.CreateTransactionRequest, dev.CreateTransactionResponse]( + createTransaction: connect.NewClient[dev1.CreateTransactionRequest, dev1.CreateTransactionResponse]( httpClient, baseURL+QueryCreateTransactionProcedure, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - startCommit: connect.NewClient[dev.StartCommitRequest, dev.StartCommitResponse]( + startCommit: connect.NewClient[dev1.StartCommitRequest, dev1.StartCommitResponse]( httpClient, baseURL+QueryStartCommitProcedure, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - setRollback: connect.NewClient[dev.SetRollbackRequest, dev.SetRollbackResponse]( + setRollback: connect.NewClient[dev1.SetRollbackRequest, dev1.SetRollbackResponse]( httpClient, baseURL+QuerySetRollbackProcedure, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - concludeTransaction: connect.NewClient[dev.ConcludeTransactionRequest, dev.ConcludeTransactionResponse]( + concludeTransaction: connect.NewClient[dev1.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse]( httpClient, baseURL+QueryConcludeTransactionProcedure, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - readTransaction: connect.NewClient[dev.ReadTransactionRequest, dev.ReadTransactionResponse]( + readTransaction: connect.NewClient[dev1.ReadTransactionRequest, dev1.ReadTransactionResponse]( httpClient, baseURL+QueryReadTransactionProcedure, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginExecute: connect.NewClient[dev.BeginExecuteRequest, dev.BeginExecuteResponse]( + unresolvedTransactions: connect.NewClient[dev1.UnresolvedTransactionsRequest, dev1.UnresolvedTransactionsResponse]( + httpClient, + baseURL+QueryUnresolvedTransactionsProcedure, + connect.WithSchema(queryUnresolvedTransactionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + beginExecute: connect.NewClient[dev1.BeginExecuteRequest, dev1.BeginExecuteResponse]( httpClient, baseURL+QueryBeginExecuteProcedure, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginStreamExecute: connect.NewClient[dev.BeginStreamExecuteRequest, dev.BeginStreamExecuteResponse]( + beginStreamExecute: connect.NewClient[dev1.BeginStreamExecuteRequest, dev1.BeginStreamExecuteResponse]( httpClient, baseURL+QueryBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageStream: connect.NewClient[dev.MessageStreamRequest, dev.MessageStreamResponse]( + messageStream: connect.NewClient[dev1.MessageStreamRequest, dev1.MessageStreamResponse]( httpClient, baseURL+QueryMessageStreamProcedure, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageAck: connect.NewClient[dev.MessageAckRequest, dev.MessageAckResponse]( + messageAck: connect.NewClient[dev1.MessageAckRequest, dev1.MessageAckResponse]( httpClient, baseURL+QueryMessageAckProcedure, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveExecute: connect.NewClient[dev.ReserveExecuteRequest, dev.ReserveExecuteResponse]( + reserveExecute: connect.NewClient[dev1.ReserveExecuteRequest, dev1.ReserveExecuteResponse]( httpClient, baseURL+QueryReserveExecuteProcedure, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginExecute: connect.NewClient[dev.ReserveBeginExecuteRequest, dev.ReserveBeginExecuteResponse]( + reserveBeginExecute: connect.NewClient[dev1.ReserveBeginExecuteRequest, dev1.ReserveBeginExecuteResponse]( httpClient, baseURL+QueryReserveBeginExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveStreamExecute: connect.NewClient[dev.ReserveStreamExecuteRequest, dev.ReserveStreamExecuteResponse]( + reserveStreamExecute: connect.NewClient[dev1.ReserveStreamExecuteRequest, dev1.ReserveStreamExecuteResponse]( httpClient, baseURL+QueryReserveStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginStreamExecute: connect.NewClient[dev.ReserveBeginStreamExecuteRequest, dev.ReserveBeginStreamExecuteResponse]( + reserveBeginStreamExecute: connect.NewClient[dev1.ReserveBeginStreamExecuteRequest, dev1.ReserveBeginStreamExecuteResponse]( httpClient, baseURL+QueryReserveBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - release: connect.NewClient[dev.ReleaseRequest, dev.ReleaseResponse]( + release: connect.NewClient[dev1.ReleaseRequest, dev1.ReleaseResponse]( httpClient, baseURL+QueryReleaseProcedure, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamHealth: connect.NewClient[dev.StreamHealthRequest, dev.StreamHealthResponse]( + streamHealth: connect.NewClient[dev1.StreamHealthRequest, dev1.StreamHealthResponse]( httpClient, baseURL+QueryStreamHealthProcedure, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStream: connect.NewClient[dev1.VStreamRequest, dev1.VStreamResponse]( + vStream: connect.NewClient[dev2.VStreamRequest, dev2.VStreamResponse]( httpClient, baseURL+QueryVStreamProcedure, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamRows: connect.NewClient[dev1.VStreamRowsRequest, dev1.VStreamRowsResponse]( + vStreamRows: connect.NewClient[dev2.VStreamRowsRequest, dev2.VStreamRowsResponse]( httpClient, baseURL+QueryVStreamRowsProcedure, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamTables: connect.NewClient[dev1.VStreamTablesRequest, dev1.VStreamTablesResponse]( + vStreamTables: connect.NewClient[dev2.VStreamTablesRequest, dev2.VStreamTablesResponse]( httpClient, baseURL+QueryVStreamTablesProcedure, - opts..., + connect.WithSchema(queryVStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamResults: connect.NewClient[dev1.VStreamResultsRequest, dev1.VStreamResultsResponse]( + vStreamResults: connect.NewClient[dev2.VStreamResultsRequest, dev2.VStreamResultsResponse]( httpClient, baseURL+QueryVStreamResultsProcedure, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[dev.GetSchemaRequest, dev.GetSchemaResponse]( + getSchema: connect.NewClient[dev1.GetSchemaRequest, dev1.GetSchemaResponse]( httpClient, baseURL+QueryGetSchemaProcedure, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // queryClient implements QueryClient. type queryClient struct { - execute *connect.Client[dev.ExecuteRequest, dev.ExecuteResponse] - streamExecute *connect.Client[dev.StreamExecuteRequest, dev.StreamExecuteResponse] - begin *connect.Client[dev.BeginRequest, dev.BeginResponse] - commit *connect.Client[dev.CommitRequest, dev.CommitResponse] - rollback *connect.Client[dev.RollbackRequest, dev.RollbackResponse] - prepare *connect.Client[dev.PrepareRequest, dev.PrepareResponse] - commitPrepared *connect.Client[dev.CommitPreparedRequest, dev.CommitPreparedResponse] - rollbackPrepared *connect.Client[dev.RollbackPreparedRequest, dev.RollbackPreparedResponse] - createTransaction *connect.Client[dev.CreateTransactionRequest, dev.CreateTransactionResponse] - startCommit *connect.Client[dev.StartCommitRequest, dev.StartCommitResponse] - setRollback *connect.Client[dev.SetRollbackRequest, dev.SetRollbackResponse] - concludeTransaction *connect.Client[dev.ConcludeTransactionRequest, dev.ConcludeTransactionResponse] - readTransaction *connect.Client[dev.ReadTransactionRequest, dev.ReadTransactionResponse] - beginExecute *connect.Client[dev.BeginExecuteRequest, dev.BeginExecuteResponse] - beginStreamExecute *connect.Client[dev.BeginStreamExecuteRequest, dev.BeginStreamExecuteResponse] - messageStream *connect.Client[dev.MessageStreamRequest, dev.MessageStreamResponse] - messageAck *connect.Client[dev.MessageAckRequest, dev.MessageAckResponse] - reserveExecute *connect.Client[dev.ReserveExecuteRequest, dev.ReserveExecuteResponse] - reserveBeginExecute *connect.Client[dev.ReserveBeginExecuteRequest, dev.ReserveBeginExecuteResponse] - reserveStreamExecute *connect.Client[dev.ReserveStreamExecuteRequest, dev.ReserveStreamExecuteResponse] - reserveBeginStreamExecute *connect.Client[dev.ReserveBeginStreamExecuteRequest, dev.ReserveBeginStreamExecuteResponse] - release *connect.Client[dev.ReleaseRequest, dev.ReleaseResponse] - streamHealth *connect.Client[dev.StreamHealthRequest, dev.StreamHealthResponse] - vStream *connect.Client[dev1.VStreamRequest, dev1.VStreamResponse] - vStreamRows *connect.Client[dev1.VStreamRowsRequest, dev1.VStreamRowsResponse] - vStreamTables *connect.Client[dev1.VStreamTablesRequest, dev1.VStreamTablesResponse] - vStreamResults *connect.Client[dev1.VStreamResultsRequest, dev1.VStreamResultsResponse] - getSchema *connect.Client[dev.GetSchemaRequest, dev.GetSchemaResponse] + execute *connect.Client[dev1.ExecuteRequest, dev1.ExecuteResponse] + streamExecute *connect.Client[dev1.StreamExecuteRequest, dev1.StreamExecuteResponse] + begin *connect.Client[dev1.BeginRequest, dev1.BeginResponse] + commit *connect.Client[dev1.CommitRequest, dev1.CommitResponse] + rollback *connect.Client[dev1.RollbackRequest, dev1.RollbackResponse] + prepare *connect.Client[dev1.PrepareRequest, dev1.PrepareResponse] + commitPrepared *connect.Client[dev1.CommitPreparedRequest, dev1.CommitPreparedResponse] + rollbackPrepared *connect.Client[dev1.RollbackPreparedRequest, dev1.RollbackPreparedResponse] + createTransaction *connect.Client[dev1.CreateTransactionRequest, dev1.CreateTransactionResponse] + startCommit *connect.Client[dev1.StartCommitRequest, dev1.StartCommitResponse] + setRollback *connect.Client[dev1.SetRollbackRequest, dev1.SetRollbackResponse] + concludeTransaction *connect.Client[dev1.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse] + readTransaction *connect.Client[dev1.ReadTransactionRequest, dev1.ReadTransactionResponse] + unresolvedTransactions *connect.Client[dev1.UnresolvedTransactionsRequest, dev1.UnresolvedTransactionsResponse] + beginExecute *connect.Client[dev1.BeginExecuteRequest, dev1.BeginExecuteResponse] + beginStreamExecute *connect.Client[dev1.BeginStreamExecuteRequest, dev1.BeginStreamExecuteResponse] + messageStream *connect.Client[dev1.MessageStreamRequest, dev1.MessageStreamResponse] + messageAck *connect.Client[dev1.MessageAckRequest, dev1.MessageAckResponse] + reserveExecute *connect.Client[dev1.ReserveExecuteRequest, dev1.ReserveExecuteResponse] + reserveBeginExecute *connect.Client[dev1.ReserveBeginExecuteRequest, dev1.ReserveBeginExecuteResponse] + reserveStreamExecute *connect.Client[dev1.ReserveStreamExecuteRequest, dev1.ReserveStreamExecuteResponse] + reserveBeginStreamExecute *connect.Client[dev1.ReserveBeginStreamExecuteRequest, dev1.ReserveBeginStreamExecuteResponse] + release *connect.Client[dev1.ReleaseRequest, dev1.ReleaseResponse] + streamHealth *connect.Client[dev1.StreamHealthRequest, dev1.StreamHealthResponse] + vStream *connect.Client[dev2.VStreamRequest, dev2.VStreamResponse] + vStreamRows *connect.Client[dev2.VStreamRowsRequest, dev2.VStreamRowsResponse] + vStreamTables *connect.Client[dev2.VStreamTablesRequest, dev2.VStreamTablesResponse] + vStreamResults *connect.Client[dev2.VStreamResultsRequest, dev2.VStreamResultsResponse] + getSchema *connect.Client[dev1.GetSchemaRequest, dev1.GetSchemaResponse] } // Execute calls queryservice.Query.Execute. -func (c *queryClient) Execute(ctx context.Context, req *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) { +func (c *queryClient) Execute(ctx context.Context, req *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // StreamExecute calls queryservice.Query.StreamExecute. -func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[dev.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev.StreamExecuteResponse], error) { +func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[dev1.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } // Begin calls queryservice.Query.Begin. -func (c *queryClient) Begin(ctx context.Context, req *connect.Request[dev.BeginRequest]) (*connect.Response[dev.BeginResponse], error) { +func (c *queryClient) Begin(ctx context.Context, req *connect.Request[dev1.BeginRequest]) (*connect.Response[dev1.BeginResponse], error) { return c.begin.CallUnary(ctx, req) } // Commit calls queryservice.Query.Commit. -func (c *queryClient) Commit(ctx context.Context, req *connect.Request[dev.CommitRequest]) (*connect.Response[dev.CommitResponse], error) { +func (c *queryClient) Commit(ctx context.Context, req *connect.Request[dev1.CommitRequest]) (*connect.Response[dev1.CommitResponse], error) { return c.commit.CallUnary(ctx, req) } // Rollback calls queryservice.Query.Rollback. -func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[dev.RollbackRequest]) (*connect.Response[dev.RollbackResponse], error) { +func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[dev1.RollbackRequest]) (*connect.Response[dev1.RollbackResponse], error) { return c.rollback.CallUnary(ctx, req) } // Prepare calls queryservice.Query.Prepare. -func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) { +func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CommitPrepared calls queryservice.Query.CommitPrepared. -func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[dev.CommitPreparedRequest]) (*connect.Response[dev.CommitPreparedResponse], error) { +func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[dev1.CommitPreparedRequest]) (*connect.Response[dev1.CommitPreparedResponse], error) { return c.commitPrepared.CallUnary(ctx, req) } // RollbackPrepared calls queryservice.Query.RollbackPrepared. -func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[dev.RollbackPreparedRequest]) (*connect.Response[dev.RollbackPreparedResponse], error) { +func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[dev1.RollbackPreparedRequest]) (*connect.Response[dev1.RollbackPreparedResponse], error) { return c.rollbackPrepared.CallUnary(ctx, req) } // CreateTransaction calls queryservice.Query.CreateTransaction. -func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[dev.CreateTransactionRequest]) (*connect.Response[dev.CreateTransactionResponse], error) { +func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[dev1.CreateTransactionRequest]) (*connect.Response[dev1.CreateTransactionResponse], error) { return c.createTransaction.CallUnary(ctx, req) } // StartCommit calls queryservice.Query.StartCommit. -func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[dev.StartCommitRequest]) (*connect.Response[dev.StartCommitResponse], error) { +func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[dev1.StartCommitRequest]) (*connect.Response[dev1.StartCommitResponse], error) { return c.startCommit.CallUnary(ctx, req) } // SetRollback calls queryservice.Query.SetRollback. -func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[dev.SetRollbackRequest]) (*connect.Response[dev.SetRollbackResponse], error) { +func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[dev1.SetRollbackRequest]) (*connect.Response[dev1.SetRollbackResponse], error) { return c.setRollback.CallUnary(ctx, req) } // ConcludeTransaction calls queryservice.Query.ConcludeTransaction. -func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev.ConcludeTransactionResponse], error) { +func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { return c.concludeTransaction.CallUnary(ctx, req) } // ReadTransaction calls queryservice.Query.ReadTransaction. -func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[dev.ReadTransactionRequest]) (*connect.Response[dev.ReadTransactionResponse], error) { +func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) { return c.readTransaction.CallUnary(ctx, req) } +// UnresolvedTransactions calls queryservice.Query.UnresolvedTransactions. +func (c *queryClient) UnresolvedTransactions(ctx context.Context, req *connect.Request[dev1.UnresolvedTransactionsRequest]) (*connect.Response[dev1.UnresolvedTransactionsResponse], error) { + return c.unresolvedTransactions.CallUnary(ctx, req) +} + // BeginExecute calls queryservice.Query.BeginExecute. -func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[dev.BeginExecuteRequest]) (*connect.Response[dev.BeginExecuteResponse], error) { +func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[dev1.BeginExecuteRequest]) (*connect.Response[dev1.BeginExecuteResponse], error) { return c.beginExecute.CallUnary(ctx, req) } // BeginStreamExecute calls queryservice.Query.BeginStreamExecute. -func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[dev.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev.BeginStreamExecuteResponse], error) { +func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[dev1.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.BeginStreamExecuteResponse], error) { return c.beginStreamExecute.CallServerStream(ctx, req) } // MessageStream calls queryservice.Query.MessageStream. -func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[dev.MessageStreamRequest]) (*connect.ServerStreamForClient[dev.MessageStreamResponse], error) { +func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[dev1.MessageStreamRequest]) (*connect.ServerStreamForClient[dev1.MessageStreamResponse], error) { return c.messageStream.CallServerStream(ctx, req) } // MessageAck calls queryservice.Query.MessageAck. -func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[dev.MessageAckRequest]) (*connect.Response[dev.MessageAckResponse], error) { +func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[dev1.MessageAckRequest]) (*connect.Response[dev1.MessageAckResponse], error) { return c.messageAck.CallUnary(ctx, req) } // ReserveExecute calls queryservice.Query.ReserveExecute. -func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[dev.ReserveExecuteRequest]) (*connect.Response[dev.ReserveExecuteResponse], error) { +func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[dev1.ReserveExecuteRequest]) (*connect.Response[dev1.ReserveExecuteResponse], error) { return c.reserveExecute.CallUnary(ctx, req) } // ReserveBeginExecute calls queryservice.Query.ReserveBeginExecute. -func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[dev.ReserveBeginExecuteRequest]) (*connect.Response[dev.ReserveBeginExecuteResponse], error) { +func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[dev1.ReserveBeginExecuteRequest]) (*connect.Response[dev1.ReserveBeginExecuteResponse], error) { return c.reserveBeginExecute.CallUnary(ctx, req) } // ReserveStreamExecute calls queryservice.Query.ReserveStreamExecute. -func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[dev.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[dev.ReserveStreamExecuteResponse], error) { +func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[dev1.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.ReserveStreamExecuteResponse], error) { return c.reserveStreamExecute.CallServerStream(ctx, req) } // ReserveBeginStreamExecute calls queryservice.Query.ReserveBeginStreamExecute. -func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[dev.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev.ReserveBeginStreamExecuteResponse], error) { +func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[dev1.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.ReserveBeginStreamExecuteResponse], error) { return c.reserveBeginStreamExecute.CallServerStream(ctx, req) } // Release calls queryservice.Query.Release. -func (c *queryClient) Release(ctx context.Context, req *connect.Request[dev.ReleaseRequest]) (*connect.Response[dev.ReleaseResponse], error) { +func (c *queryClient) Release(ctx context.Context, req *connect.Request[dev1.ReleaseRequest]) (*connect.Response[dev1.ReleaseResponse], error) { return c.release.CallUnary(ctx, req) } // StreamHealth calls queryservice.Query.StreamHealth. -func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[dev.StreamHealthRequest]) (*connect.ServerStreamForClient[dev.StreamHealthResponse], error) { +func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[dev1.StreamHealthRequest]) (*connect.ServerStreamForClient[dev1.StreamHealthResponse], error) { return c.streamHealth.CallServerStream(ctx, req) } // VStream calls queryservice.Query.VStream. -func (c *queryClient) VStream(ctx context.Context, req *connect.Request[dev1.VStreamRequest]) (*connect.ServerStreamForClient[dev1.VStreamResponse], error) { +func (c *queryClient) VStream(ctx context.Context, req *connect.Request[dev2.VStreamRequest]) (*connect.ServerStreamForClient[dev2.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // VStreamRows calls queryservice.Query.VStreamRows. -func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[dev1.VStreamRowsRequest]) (*connect.ServerStreamForClient[dev1.VStreamRowsResponse], error) { +func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[dev2.VStreamRowsRequest]) (*connect.ServerStreamForClient[dev2.VStreamRowsResponse], error) { return c.vStreamRows.CallServerStream(ctx, req) } // VStreamTables calls queryservice.Query.VStreamTables. -func (c *queryClient) VStreamTables(ctx context.Context, req *connect.Request[dev1.VStreamTablesRequest]) (*connect.ServerStreamForClient[dev1.VStreamTablesResponse], error) { +func (c *queryClient) VStreamTables(ctx context.Context, req *connect.Request[dev2.VStreamTablesRequest]) (*connect.ServerStreamForClient[dev2.VStreamTablesResponse], error) { return c.vStreamTables.CallServerStream(ctx, req) } // VStreamResults calls queryservice.Query.VStreamResults. -func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[dev1.VStreamResultsRequest]) (*connect.ServerStreamForClient[dev1.VStreamResultsResponse], error) { +func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[dev2.VStreamResultsRequest]) (*connect.ServerStreamForClient[dev2.VStreamResultsResponse], error) { return c.vStreamResults.CallServerStream(ctx, req) } // GetSchema calls queryservice.Query.GetSchema. -func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[dev.GetSchemaRequest]) (*connect.ServerStreamForClient[dev.GetSchemaResponse], error) { +func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[dev1.GetSchemaRequest]) (*connect.ServerStreamForClient[dev1.GetSchemaResponse], error) { return c.getSchema.CallServerStream(ctx, req) } @@ -508,65 +587,67 @@ func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[dev.Ge type QueryHandler interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) + Execute(context.Context, *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[dev.StreamExecuteRequest], *connect.ServerStream[dev.StreamExecuteResponse]) error + StreamExecute(context.Context, *connect.Request[dev1.StreamExecuteRequest], *connect.ServerStream[dev1.StreamExecuteResponse]) error // Begin a transaction. - Begin(context.Context, *connect.Request[dev.BeginRequest]) (*connect.Response[dev.BeginResponse], error) + Begin(context.Context, *connect.Request[dev1.BeginRequest]) (*connect.Response[dev1.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[dev.CommitRequest]) (*connect.Response[dev.CommitResponse], error) + Commit(context.Context, *connect.Request[dev1.CommitRequest]) (*connect.Response[dev1.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[dev.RollbackRequest]) (*connect.Response[dev.RollbackResponse], error) + Rollback(context.Context, *connect.Request[dev1.RollbackRequest]) (*connect.Response[dev1.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) + Prepare(context.Context, *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[dev.CommitPreparedRequest]) (*connect.Response[dev.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[dev1.CommitPreparedRequest]) (*connect.Response[dev1.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[dev.RollbackPreparedRequest]) (*connect.Response[dev.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[dev1.RollbackPreparedRequest]) (*connect.Response[dev1.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[dev.CreateTransactionRequest]) (*connect.Response[dev.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[dev1.CreateTransactionRequest]) (*connect.Response[dev1.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[dev.StartCommitRequest]) (*connect.Response[dev.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[dev1.StartCommitRequest]) (*connect.Response[dev1.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[dev.SetRollbackRequest]) (*connect.Response[dev.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[dev1.SetRollbackRequest]) (*connect.Response[dev1.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[dev.ReadTransactionRequest]) (*connect.Response[dev.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) + // UnresolvedTransactions returns the 2pc transaction info. + UnresolvedTransactions(context.Context, *connect.Request[dev1.UnresolvedTransactionsRequest]) (*connect.Response[dev1.UnresolvedTransactionsResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[dev.BeginExecuteRequest]) (*connect.Response[dev.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[dev1.BeginExecuteRequest]) (*connect.Response[dev1.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[dev.BeginStreamExecuteRequest], *connect.ServerStream[dev.BeginStreamExecuteResponse]) error + BeginStreamExecute(context.Context, *connect.Request[dev1.BeginStreamExecuteRequest], *connect.ServerStream[dev1.BeginStreamExecuteResponse]) error // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[dev.MessageStreamRequest], *connect.ServerStream[dev.MessageStreamResponse]) error + MessageStream(context.Context, *connect.Request[dev1.MessageStreamRequest], *connect.ServerStream[dev1.MessageStreamResponse]) error // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[dev.MessageAckRequest]) (*connect.Response[dev.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[dev1.MessageAckRequest]) (*connect.Response[dev1.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[dev.ReserveExecuteRequest]) (*connect.Response[dev.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[dev1.ReserveExecuteRequest]) (*connect.Response[dev1.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[dev.ReserveBeginExecuteRequest]) (*connect.Response[dev.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[dev1.ReserveBeginExecuteRequest]) (*connect.Response[dev1.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[dev.ReserveStreamExecuteRequest], *connect.ServerStream[dev.ReserveStreamExecuteResponse]) error + ReserveStreamExecute(context.Context, *connect.Request[dev1.ReserveStreamExecuteRequest], *connect.ServerStream[dev1.ReserveStreamExecuteResponse]) error // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[dev.ReserveBeginStreamExecuteRequest], *connect.ServerStream[dev.ReserveBeginStreamExecuteResponse]) error + ReserveBeginStreamExecute(context.Context, *connect.Request[dev1.ReserveBeginStreamExecuteRequest], *connect.ServerStream[dev1.ReserveBeginStreamExecuteResponse]) error // Release releases the connection - Release(context.Context, *connect.Request[dev.ReleaseRequest]) (*connect.Response[dev.ReleaseResponse], error) + Release(context.Context, *connect.Request[dev1.ReleaseRequest]) (*connect.Response[dev1.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[dev.StreamHealthRequest], *connect.ServerStream[dev.StreamHealthResponse]) error + StreamHealth(context.Context, *connect.Request[dev1.StreamHealthRequest], *connect.ServerStream[dev1.StreamHealthResponse]) error // VStream streams vreplication events. - VStream(context.Context, *connect.Request[dev1.VStreamRequest], *connect.ServerStream[dev1.VStreamResponse]) error + VStream(context.Context, *connect.Request[dev2.VStreamRequest], *connect.ServerStream[dev2.VStreamResponse]) error // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[dev1.VStreamRowsRequest], *connect.ServerStream[dev1.VStreamRowsResponse]) error + VStreamRows(context.Context, *connect.Request[dev2.VStreamRowsRequest], *connect.ServerStream[dev2.VStreamRowsResponse]) error // VStreamTables streams rows from the specified starting point. - VStreamTables(context.Context, *connect.Request[dev1.VStreamTablesRequest], *connect.ServerStream[dev1.VStreamTablesResponse]) error + VStreamTables(context.Context, *connect.Request[dev2.VStreamTablesRequest], *connect.ServerStream[dev2.VStreamTablesResponse]) error // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[dev1.VStreamResultsRequest], *connect.ServerStream[dev1.VStreamResultsResponse]) error + VStreamResults(context.Context, *connect.Request[dev2.VStreamResultsRequest], *connect.ServerStream[dev2.VStreamResultsResponse]) error // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest], *connect.ServerStream[dev.GetSchemaResponse]) error + GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest], *connect.ServerStream[dev1.GetSchemaResponse]) error } // NewQueryHandler builds an HTTP handler from the service implementation. It returns the path on @@ -578,142 +659,176 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h queryExecuteHandler := connect.NewUnaryHandler( QueryExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamExecuteHandler := connect.NewServerStreamHandler( QueryStreamExecuteProcedure, svc.StreamExecute, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginHandler := connect.NewUnaryHandler( QueryBeginProcedure, svc.Begin, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitHandler := connect.NewUnaryHandler( QueryCommitProcedure, svc.Commit, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackHandler := connect.NewUnaryHandler( QueryRollbackProcedure, svc.Rollback, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryPrepareHandler := connect.NewUnaryHandler( QueryPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitPreparedHandler := connect.NewUnaryHandler( QueryCommitPreparedProcedure, svc.CommitPrepared, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackPreparedHandler := connect.NewUnaryHandler( QueryRollbackPreparedProcedure, svc.RollbackPrepared, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCreateTransactionHandler := connect.NewUnaryHandler( QueryCreateTransactionProcedure, svc.CreateTransaction, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStartCommitHandler := connect.NewUnaryHandler( QueryStartCommitProcedure, svc.StartCommit, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) querySetRollbackHandler := connect.NewUnaryHandler( QuerySetRollbackProcedure, svc.SetRollback, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryConcludeTransactionHandler := connect.NewUnaryHandler( QueryConcludeTransactionProcedure, svc.ConcludeTransaction, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReadTransactionHandler := connect.NewUnaryHandler( QueryReadTransactionProcedure, svc.ReadTransaction, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryUnresolvedTransactionsHandler := connect.NewUnaryHandler( + QueryUnresolvedTransactionsProcedure, + svc.UnresolvedTransactions, + connect.WithSchema(queryUnresolvedTransactionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginExecuteHandler := connect.NewUnaryHandler( QueryBeginExecuteProcedure, svc.BeginExecute, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryBeginStreamExecuteProcedure, svc.BeginStreamExecute, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageStreamHandler := connect.NewServerStreamHandler( QueryMessageStreamProcedure, svc.MessageStream, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageAckHandler := connect.NewUnaryHandler( QueryMessageAckProcedure, svc.MessageAck, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveExecuteHandler := connect.NewUnaryHandler( QueryReserveExecuteProcedure, svc.ReserveExecute, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginExecuteHandler := connect.NewUnaryHandler( QueryReserveBeginExecuteProcedure, svc.ReserveBeginExecute, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveStreamExecuteProcedure, svc.ReserveStreamExecute, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveBeginStreamExecuteProcedure, svc.ReserveBeginStreamExecute, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReleaseHandler := connect.NewUnaryHandler( QueryReleaseProcedure, svc.Release, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamHealthHandler := connect.NewServerStreamHandler( QueryStreamHealthProcedure, svc.StreamHealth, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamHandler := connect.NewServerStreamHandler( QueryVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamRowsHandler := connect.NewServerStreamHandler( QueryVStreamRowsProcedure, svc.VStreamRows, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamTablesHandler := connect.NewServerStreamHandler( QueryVStreamTablesProcedure, svc.VStreamTables, - opts..., + connect.WithSchema(queryVStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamResultsHandler := connect.NewServerStreamHandler( QueryVStreamResultsProcedure, svc.VStreamResults, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryGetSchemaHandler := connect.NewServerStreamHandler( QueryGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/queryservice.Query/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -743,6 +858,8 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h queryConcludeTransactionHandler.ServeHTTP(w, r) case QueryReadTransactionProcedure: queryReadTransactionHandler.ServeHTTP(w, r) + case QueryUnresolvedTransactionsProcedure: + queryUnresolvedTransactionsHandler.ServeHTTP(w, r) case QueryBeginExecuteProcedure: queryBeginExecuteHandler.ServeHTTP(w, r) case QueryBeginStreamExecuteProcedure: @@ -782,114 +899,118 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h // UnimplementedQueryHandler returns CodeUnimplemented from all methods. type UnimplementedQueryHandler struct{} -func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) { +func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Execute is not implemented")) } -func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[dev.StreamExecuteRequest], *connect.ServerStream[dev.StreamExecuteResponse]) error { +func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[dev1.StreamExecuteRequest], *connect.ServerStream[dev1.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[dev.BeginRequest]) (*connect.Response[dev.BeginResponse], error) { +func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[dev1.BeginRequest]) (*connect.Response[dev1.BeginResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Begin is not implemented")) } -func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[dev.CommitRequest]) (*connect.Response[dev.CommitResponse], error) { +func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[dev1.CommitRequest]) (*connect.Response[dev1.CommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Commit is not implemented")) } -func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[dev.RollbackRequest]) (*connect.Response[dev.RollbackResponse], error) { +func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[dev1.RollbackRequest]) (*connect.Response[dev1.RollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Rollback is not implemented")) } -func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) { +func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Prepare is not implemented")) } -func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[dev.CommitPreparedRequest]) (*connect.Response[dev.CommitPreparedResponse], error) { +func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[dev1.CommitPreparedRequest]) (*connect.Response[dev1.CommitPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CommitPrepared is not implemented")) } -func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[dev.RollbackPreparedRequest]) (*connect.Response[dev.RollbackPreparedResponse], error) { +func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[dev1.RollbackPreparedRequest]) (*connect.Response[dev1.RollbackPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.RollbackPrepared is not implemented")) } -func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[dev.CreateTransactionRequest]) (*connect.Response[dev.CreateTransactionResponse], error) { +func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[dev1.CreateTransactionRequest]) (*connect.Response[dev1.CreateTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CreateTransaction is not implemented")) } -func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[dev.StartCommitRequest]) (*connect.Response[dev.StartCommitResponse], error) { +func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[dev1.StartCommitRequest]) (*connect.Response[dev1.StartCommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StartCommit is not implemented")) } -func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[dev.SetRollbackRequest]) (*connect.Response[dev.SetRollbackResponse], error) { +func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[dev1.SetRollbackRequest]) (*connect.Response[dev1.SetRollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.SetRollback is not implemented")) } -func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev.ConcludeTransactionResponse], error) { +func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ConcludeTransaction is not implemented")) } -func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[dev.ReadTransactionRequest]) (*connect.Response[dev.ReadTransactionResponse], error) { +func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReadTransaction is not implemented")) } -func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[dev.BeginExecuteRequest]) (*connect.Response[dev.BeginExecuteResponse], error) { +func (UnimplementedQueryHandler) UnresolvedTransactions(context.Context, *connect.Request[dev1.UnresolvedTransactionsRequest]) (*connect.Response[dev1.UnresolvedTransactionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.UnresolvedTransactions is not implemented")) +} + +func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[dev1.BeginExecuteRequest]) (*connect.Response[dev1.BeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginExecute is not implemented")) } -func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[dev.BeginStreamExecuteRequest], *connect.ServerStream[dev.BeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[dev1.BeginStreamExecuteRequest], *connect.ServerStream[dev1.BeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[dev.MessageStreamRequest], *connect.ServerStream[dev.MessageStreamResponse]) error { +func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[dev1.MessageStreamRequest], *connect.ServerStream[dev1.MessageStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageStream is not implemented")) } -func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[dev.MessageAckRequest]) (*connect.Response[dev.MessageAckResponse], error) { +func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[dev1.MessageAckRequest]) (*connect.Response[dev1.MessageAckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageAck is not implemented")) } -func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[dev.ReserveExecuteRequest]) (*connect.Response[dev.ReserveExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[dev1.ReserveExecuteRequest]) (*connect.Response[dev1.ReserveExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[dev.ReserveBeginExecuteRequest]) (*connect.Response[dev.ReserveBeginExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[dev1.ReserveBeginExecuteRequest]) (*connect.Response[dev1.ReserveBeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[dev.ReserveStreamExecuteRequest], *connect.ServerStream[dev.ReserveStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[dev1.ReserveStreamExecuteRequest], *connect.ServerStream[dev1.ReserveStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[dev.ReserveBeginStreamExecuteRequest], *connect.ServerStream[dev.ReserveBeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[dev1.ReserveBeginStreamExecuteRequest], *connect.ServerStream[dev1.ReserveBeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[dev.ReleaseRequest]) (*connect.Response[dev.ReleaseResponse], error) { +func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[dev1.ReleaseRequest]) (*connect.Response[dev1.ReleaseResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Release is not implemented")) } -func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[dev.StreamHealthRequest], *connect.ServerStream[dev.StreamHealthResponse]) error { +func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[dev1.StreamHealthRequest], *connect.ServerStream[dev1.StreamHealthResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamHealth is not implemented")) } -func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[dev1.VStreamRequest], *connect.ServerStream[dev1.VStreamResponse]) error { +func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[dev2.VStreamRequest], *connect.ServerStream[dev2.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStream is not implemented")) } -func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[dev1.VStreamRowsRequest], *connect.ServerStream[dev1.VStreamRowsResponse]) error { +func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[dev2.VStreamRowsRequest], *connect.ServerStream[dev2.VStreamRowsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamRows is not implemented")) } -func (UnimplementedQueryHandler) VStreamTables(context.Context, *connect.Request[dev1.VStreamTablesRequest], *connect.ServerStream[dev1.VStreamTablesResponse]) error { +func (UnimplementedQueryHandler) VStreamTables(context.Context, *connect.Request[dev2.VStreamTablesRequest], *connect.ServerStream[dev2.VStreamTablesResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamTables is not implemented")) } -func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[dev1.VStreamResultsRequest], *connect.ServerStream[dev1.VStreamResultsResponse]) error { +func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[dev2.VStreamResultsRequest], *connect.ServerStream[dev2.VStreamResultsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamResults is not implemented")) } -func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest], *connect.ServerStream[dev.GetSchemaResponse]) error { +func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest], *connect.ServerStream[dev1.GetSchemaResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.GetSchema is not implemented")) } diff --git a/gen/vitess/queryservice/v16/queryservice.pb.go b/gen/vitess/queryservice/v16/queryservice.pb.go index 2244188..ab82e54 100644 --- a/gen/vitess/queryservice/v16/queryservice.pb.go +++ b/gen/vitess/queryservice/v16/queryservice.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/queryservice/v16/queryservice.proto @@ -228,7 +228,7 @@ var file_vitess_queryservice_v16_queryservice_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x76, 0x31, 0x36, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_queryservice_v16_queryservice_proto_goTypes = []interface{}{ +var file_vitess_queryservice_v16_queryservice_proto_goTypes = []any{ (*v16.ExecuteRequest)(nil), // 0: vitess.query.v16.ExecuteRequest (*v16.StreamExecuteRequest)(nil), // 1: vitess.query.v16.StreamExecuteRequest (*v16.BeginRequest)(nil), // 2: vitess.query.v16.BeginRequest diff --git a/gen/vitess/queryservice/v16/queryservicev16connect/queryservice.connect.go b/gen/vitess/queryservice/v16/queryservicev16connect/queryservice.connect.go index 4ea210c..d01a164 100644 --- a/gen/vitess/queryservice/v16/queryservicev16connect/queryservice.connect.go +++ b/gen/vitess/queryservice/v16/queryservicev16connect/queryservice.connect.go @@ -24,9 +24,9 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v161 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v16" - v16 "github.com/planetscale/vitess-types/gen/vitess/query/v16" - _ "github.com/planetscale/vitess-types/gen/vitess/queryservice/v16" + v162 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v16" + v161 "github.com/planetscale/vitess-types/gen/vitess/query/v16" + v16 "github.com/planetscale/vitess-types/gen/vitess/queryservice/v16" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // QueryName is the fully-qualified name of the Query service. @@ -112,67 +112,99 @@ const ( QueryGetSchemaProcedure = "/queryservice.Query/GetSchema" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + queryServiceDescriptor = v16.File_vitess_queryservice_v16_queryservice_proto.Services().ByName("Query") + queryExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("Execute") + queryStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamExecute") + queryBeginMethodDescriptor = queryServiceDescriptor.Methods().ByName("Begin") + queryCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("Commit") + queryRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("Rollback") + queryPrepareMethodDescriptor = queryServiceDescriptor.Methods().ByName("Prepare") + queryCommitPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("CommitPrepared") + queryRollbackPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("RollbackPrepared") + queryCreateTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("CreateTransaction") + queryStartCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("StartCommit") + querySetRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("SetRollback") + queryConcludeTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ConcludeTransaction") + queryReadTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReadTransaction") + queryBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginExecute") + queryBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginStreamExecute") + queryMessageStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageStream") + queryMessageAckMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageAck") + queryReserveExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveExecute") + queryReserveBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginExecute") + queryReserveStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveStreamExecute") + queryReserveBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginStreamExecute") + queryReleaseMethodDescriptor = queryServiceDescriptor.Methods().ByName("Release") + queryStreamHealthMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamHealth") + queryVStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStream") + queryVStreamRowsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamRows") + queryVStreamResultsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamResults") + queryGetSchemaMethodDescriptor = queryServiceDescriptor.Methods().ByName("GetSchema") +) + // QueryClient is a client for the queryservice.Query service. type QueryClient interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[v16.StreamExecuteRequest]) (*connect.ServerStreamForClient[v16.StreamExecuteResponse], error) + StreamExecute(context.Context, *connect.Request[v161.StreamExecuteRequest]) (*connect.ServerStreamForClient[v161.StreamExecuteResponse], error) // Begin a transaction. - Begin(context.Context, *connect.Request[v16.BeginRequest]) (*connect.Response[v16.BeginResponse], error) + Begin(context.Context, *connect.Request[v161.BeginRequest]) (*connect.Response[v161.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[v16.CommitRequest]) (*connect.Response[v16.CommitResponse], error) + Commit(context.Context, *connect.Request[v161.CommitRequest]) (*connect.Response[v161.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[v16.RollbackRequest]) (*connect.Response[v16.RollbackResponse], error) + Rollback(context.Context, *connect.Request[v161.RollbackRequest]) (*connect.Response[v161.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[v16.CommitPreparedRequest]) (*connect.Response[v16.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[v161.CommitPreparedRequest]) (*connect.Response[v161.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[v16.RollbackPreparedRequest]) (*connect.Response[v16.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[v161.RollbackPreparedRequest]) (*connect.Response[v161.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[v16.CreateTransactionRequest]) (*connect.Response[v16.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[v161.CreateTransactionRequest]) (*connect.Response[v161.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[v16.StartCommitRequest]) (*connect.Response[v16.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[v161.StartCommitRequest]) (*connect.Response[v161.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[v16.SetRollbackRequest]) (*connect.Response[v16.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[v161.SetRollbackRequest]) (*connect.Response[v161.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[v16.ConcludeTransactionRequest]) (*connect.Response[v16.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[v161.ConcludeTransactionRequest]) (*connect.Response[v161.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[v16.ReadTransactionRequest]) (*connect.Response[v16.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[v161.ReadTransactionRequest]) (*connect.Response[v161.ReadTransactionResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[v16.BeginExecuteRequest]) (*connect.Response[v16.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[v161.BeginExecuteRequest]) (*connect.Response[v161.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[v16.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v16.BeginStreamExecuteResponse], error) + BeginStreamExecute(context.Context, *connect.Request[v161.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v161.BeginStreamExecuteResponse], error) // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[v16.MessageStreamRequest]) (*connect.ServerStreamForClient[v16.MessageStreamResponse], error) + MessageStream(context.Context, *connect.Request[v161.MessageStreamRequest]) (*connect.ServerStreamForClient[v161.MessageStreamResponse], error) // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[v16.MessageAckRequest]) (*connect.Response[v16.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[v161.MessageAckRequest]) (*connect.Response[v161.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[v16.ReserveExecuteRequest]) (*connect.Response[v16.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[v161.ReserveExecuteRequest]) (*connect.Response[v161.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[v16.ReserveBeginExecuteRequest]) (*connect.Response[v16.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[v161.ReserveBeginExecuteRequest]) (*connect.Response[v161.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[v16.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v16.ReserveStreamExecuteResponse], error) + ReserveStreamExecute(context.Context, *connect.Request[v161.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v161.ReserveStreamExecuteResponse], error) // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[v16.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v16.ReserveBeginStreamExecuteResponse], error) + ReserveBeginStreamExecute(context.Context, *connect.Request[v161.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v161.ReserveBeginStreamExecuteResponse], error) // Release releases the connection - Release(context.Context, *connect.Request[v16.ReleaseRequest]) (*connect.Response[v16.ReleaseResponse], error) + Release(context.Context, *connect.Request[v161.ReleaseRequest]) (*connect.Response[v161.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[v16.StreamHealthRequest]) (*connect.ServerStreamForClient[v16.StreamHealthResponse], error) + StreamHealth(context.Context, *connect.Request[v161.StreamHealthRequest]) (*connect.ServerStreamForClient[v161.StreamHealthResponse], error) // VStream streams vreplication events. - VStream(context.Context, *connect.Request[v161.VStreamRequest]) (*connect.ServerStreamForClient[v161.VStreamResponse], error) + VStream(context.Context, *connect.Request[v162.VStreamRequest]) (*connect.ServerStreamForClient[v162.VStreamResponse], error) // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[v161.VStreamRowsRequest]) (*connect.ServerStreamForClient[v161.VStreamRowsResponse], error) + VStreamRows(context.Context, *connect.Request[v162.VStreamRowsRequest]) (*connect.ServerStreamForClient[v162.VStreamRowsResponse], error) // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[v161.VStreamResultsRequest]) (*connect.ServerStreamForClient[v161.VStreamResultsResponse], error) + VStreamResults(context.Context, *connect.Request[v162.VStreamResultsRequest]) (*connect.ServerStreamForClient[v162.VStreamResultsResponse], error) // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest]) (*connect.ServerStreamForClient[v16.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest]) (*connect.ServerStreamForClient[v161.GetSchemaResponse], error) } // NewQueryClient constructs a client for the queryservice.Query service. By default, it @@ -185,307 +217,334 @@ type QueryClient interface { func NewQueryClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) QueryClient { baseURL = strings.TrimRight(baseURL, "/") return &queryClient{ - execute: connect.NewClient[v16.ExecuteRequest, v16.ExecuteResponse]( + execute: connect.NewClient[v161.ExecuteRequest, v161.ExecuteResponse]( httpClient, baseURL+QueryExecuteProcedure, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[v16.StreamExecuteRequest, v16.StreamExecuteResponse]( + streamExecute: connect.NewClient[v161.StreamExecuteRequest, v161.StreamExecuteResponse]( httpClient, baseURL+QueryStreamExecuteProcedure, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - begin: connect.NewClient[v16.BeginRequest, v16.BeginResponse]( + begin: connect.NewClient[v161.BeginRequest, v161.BeginResponse]( httpClient, baseURL+QueryBeginProcedure, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithClientOptions(opts...), ), - commit: connect.NewClient[v16.CommitRequest, v16.CommitResponse]( + commit: connect.NewClient[v161.CommitRequest, v161.CommitResponse]( httpClient, baseURL+QueryCommitProcedure, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollback: connect.NewClient[v16.RollbackRequest, v16.RollbackResponse]( + rollback: connect.NewClient[v161.RollbackRequest, v161.RollbackResponse]( httpClient, baseURL+QueryRollbackProcedure, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[v16.PrepareRequest, v16.PrepareResponse]( + prepare: connect.NewClient[v161.PrepareRequest, v161.PrepareResponse]( httpClient, baseURL+QueryPrepareProcedure, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - commitPrepared: connect.NewClient[v16.CommitPreparedRequest, v16.CommitPreparedResponse]( + commitPrepared: connect.NewClient[v161.CommitPreparedRequest, v161.CommitPreparedResponse]( httpClient, baseURL+QueryCommitPreparedProcedure, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollbackPrepared: connect.NewClient[v16.RollbackPreparedRequest, v16.RollbackPreparedResponse]( + rollbackPrepared: connect.NewClient[v161.RollbackPreparedRequest, v161.RollbackPreparedResponse]( httpClient, baseURL+QueryRollbackPreparedProcedure, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - createTransaction: connect.NewClient[v16.CreateTransactionRequest, v16.CreateTransactionResponse]( + createTransaction: connect.NewClient[v161.CreateTransactionRequest, v161.CreateTransactionResponse]( httpClient, baseURL+QueryCreateTransactionProcedure, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - startCommit: connect.NewClient[v16.StartCommitRequest, v16.StartCommitResponse]( + startCommit: connect.NewClient[v161.StartCommitRequest, v161.StartCommitResponse]( httpClient, baseURL+QueryStartCommitProcedure, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - setRollback: connect.NewClient[v16.SetRollbackRequest, v16.SetRollbackResponse]( + setRollback: connect.NewClient[v161.SetRollbackRequest, v161.SetRollbackResponse]( httpClient, baseURL+QuerySetRollbackProcedure, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - concludeTransaction: connect.NewClient[v16.ConcludeTransactionRequest, v16.ConcludeTransactionResponse]( + concludeTransaction: connect.NewClient[v161.ConcludeTransactionRequest, v161.ConcludeTransactionResponse]( httpClient, baseURL+QueryConcludeTransactionProcedure, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - readTransaction: connect.NewClient[v16.ReadTransactionRequest, v16.ReadTransactionResponse]( + readTransaction: connect.NewClient[v161.ReadTransactionRequest, v161.ReadTransactionResponse]( httpClient, baseURL+QueryReadTransactionProcedure, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginExecute: connect.NewClient[v16.BeginExecuteRequest, v16.BeginExecuteResponse]( + beginExecute: connect.NewClient[v161.BeginExecuteRequest, v161.BeginExecuteResponse]( httpClient, baseURL+QueryBeginExecuteProcedure, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginStreamExecute: connect.NewClient[v16.BeginStreamExecuteRequest, v16.BeginStreamExecuteResponse]( + beginStreamExecute: connect.NewClient[v161.BeginStreamExecuteRequest, v161.BeginStreamExecuteResponse]( httpClient, baseURL+QueryBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageStream: connect.NewClient[v16.MessageStreamRequest, v16.MessageStreamResponse]( + messageStream: connect.NewClient[v161.MessageStreamRequest, v161.MessageStreamResponse]( httpClient, baseURL+QueryMessageStreamProcedure, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageAck: connect.NewClient[v16.MessageAckRequest, v16.MessageAckResponse]( + messageAck: connect.NewClient[v161.MessageAckRequest, v161.MessageAckResponse]( httpClient, baseURL+QueryMessageAckProcedure, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveExecute: connect.NewClient[v16.ReserveExecuteRequest, v16.ReserveExecuteResponse]( + reserveExecute: connect.NewClient[v161.ReserveExecuteRequest, v161.ReserveExecuteResponse]( httpClient, baseURL+QueryReserveExecuteProcedure, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginExecute: connect.NewClient[v16.ReserveBeginExecuteRequest, v16.ReserveBeginExecuteResponse]( + reserveBeginExecute: connect.NewClient[v161.ReserveBeginExecuteRequest, v161.ReserveBeginExecuteResponse]( httpClient, baseURL+QueryReserveBeginExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveStreamExecute: connect.NewClient[v16.ReserveStreamExecuteRequest, v16.ReserveStreamExecuteResponse]( + reserveStreamExecute: connect.NewClient[v161.ReserveStreamExecuteRequest, v161.ReserveStreamExecuteResponse]( httpClient, baseURL+QueryReserveStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginStreamExecute: connect.NewClient[v16.ReserveBeginStreamExecuteRequest, v16.ReserveBeginStreamExecuteResponse]( + reserveBeginStreamExecute: connect.NewClient[v161.ReserveBeginStreamExecuteRequest, v161.ReserveBeginStreamExecuteResponse]( httpClient, baseURL+QueryReserveBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - release: connect.NewClient[v16.ReleaseRequest, v16.ReleaseResponse]( + release: connect.NewClient[v161.ReleaseRequest, v161.ReleaseResponse]( httpClient, baseURL+QueryReleaseProcedure, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamHealth: connect.NewClient[v16.StreamHealthRequest, v16.StreamHealthResponse]( + streamHealth: connect.NewClient[v161.StreamHealthRequest, v161.StreamHealthResponse]( httpClient, baseURL+QueryStreamHealthProcedure, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStream: connect.NewClient[v161.VStreamRequest, v161.VStreamResponse]( + vStream: connect.NewClient[v162.VStreamRequest, v162.VStreamResponse]( httpClient, baseURL+QueryVStreamProcedure, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamRows: connect.NewClient[v161.VStreamRowsRequest, v161.VStreamRowsResponse]( + vStreamRows: connect.NewClient[v162.VStreamRowsRequest, v162.VStreamRowsResponse]( httpClient, baseURL+QueryVStreamRowsProcedure, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamResults: connect.NewClient[v161.VStreamResultsRequest, v161.VStreamResultsResponse]( + vStreamResults: connect.NewClient[v162.VStreamResultsRequest, v162.VStreamResultsResponse]( httpClient, baseURL+QueryVStreamResultsProcedure, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v16.GetSchemaRequest, v16.GetSchemaResponse]( + getSchema: connect.NewClient[v161.GetSchemaRequest, v161.GetSchemaResponse]( httpClient, baseURL+QueryGetSchemaProcedure, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // queryClient implements QueryClient. type queryClient struct { - execute *connect.Client[v16.ExecuteRequest, v16.ExecuteResponse] - streamExecute *connect.Client[v16.StreamExecuteRequest, v16.StreamExecuteResponse] - begin *connect.Client[v16.BeginRequest, v16.BeginResponse] - commit *connect.Client[v16.CommitRequest, v16.CommitResponse] - rollback *connect.Client[v16.RollbackRequest, v16.RollbackResponse] - prepare *connect.Client[v16.PrepareRequest, v16.PrepareResponse] - commitPrepared *connect.Client[v16.CommitPreparedRequest, v16.CommitPreparedResponse] - rollbackPrepared *connect.Client[v16.RollbackPreparedRequest, v16.RollbackPreparedResponse] - createTransaction *connect.Client[v16.CreateTransactionRequest, v16.CreateTransactionResponse] - startCommit *connect.Client[v16.StartCommitRequest, v16.StartCommitResponse] - setRollback *connect.Client[v16.SetRollbackRequest, v16.SetRollbackResponse] - concludeTransaction *connect.Client[v16.ConcludeTransactionRequest, v16.ConcludeTransactionResponse] - readTransaction *connect.Client[v16.ReadTransactionRequest, v16.ReadTransactionResponse] - beginExecute *connect.Client[v16.BeginExecuteRequest, v16.BeginExecuteResponse] - beginStreamExecute *connect.Client[v16.BeginStreamExecuteRequest, v16.BeginStreamExecuteResponse] - messageStream *connect.Client[v16.MessageStreamRequest, v16.MessageStreamResponse] - messageAck *connect.Client[v16.MessageAckRequest, v16.MessageAckResponse] - reserveExecute *connect.Client[v16.ReserveExecuteRequest, v16.ReserveExecuteResponse] - reserveBeginExecute *connect.Client[v16.ReserveBeginExecuteRequest, v16.ReserveBeginExecuteResponse] - reserveStreamExecute *connect.Client[v16.ReserveStreamExecuteRequest, v16.ReserveStreamExecuteResponse] - reserveBeginStreamExecute *connect.Client[v16.ReserveBeginStreamExecuteRequest, v16.ReserveBeginStreamExecuteResponse] - release *connect.Client[v16.ReleaseRequest, v16.ReleaseResponse] - streamHealth *connect.Client[v16.StreamHealthRequest, v16.StreamHealthResponse] - vStream *connect.Client[v161.VStreamRequest, v161.VStreamResponse] - vStreamRows *connect.Client[v161.VStreamRowsRequest, v161.VStreamRowsResponse] - vStreamResults *connect.Client[v161.VStreamResultsRequest, v161.VStreamResultsResponse] - getSchema *connect.Client[v16.GetSchemaRequest, v16.GetSchemaResponse] + execute *connect.Client[v161.ExecuteRequest, v161.ExecuteResponse] + streamExecute *connect.Client[v161.StreamExecuteRequest, v161.StreamExecuteResponse] + begin *connect.Client[v161.BeginRequest, v161.BeginResponse] + commit *connect.Client[v161.CommitRequest, v161.CommitResponse] + rollback *connect.Client[v161.RollbackRequest, v161.RollbackResponse] + prepare *connect.Client[v161.PrepareRequest, v161.PrepareResponse] + commitPrepared *connect.Client[v161.CommitPreparedRequest, v161.CommitPreparedResponse] + rollbackPrepared *connect.Client[v161.RollbackPreparedRequest, v161.RollbackPreparedResponse] + createTransaction *connect.Client[v161.CreateTransactionRequest, v161.CreateTransactionResponse] + startCommit *connect.Client[v161.StartCommitRequest, v161.StartCommitResponse] + setRollback *connect.Client[v161.SetRollbackRequest, v161.SetRollbackResponse] + concludeTransaction *connect.Client[v161.ConcludeTransactionRequest, v161.ConcludeTransactionResponse] + readTransaction *connect.Client[v161.ReadTransactionRequest, v161.ReadTransactionResponse] + beginExecute *connect.Client[v161.BeginExecuteRequest, v161.BeginExecuteResponse] + beginStreamExecute *connect.Client[v161.BeginStreamExecuteRequest, v161.BeginStreamExecuteResponse] + messageStream *connect.Client[v161.MessageStreamRequest, v161.MessageStreamResponse] + messageAck *connect.Client[v161.MessageAckRequest, v161.MessageAckResponse] + reserveExecute *connect.Client[v161.ReserveExecuteRequest, v161.ReserveExecuteResponse] + reserveBeginExecute *connect.Client[v161.ReserveBeginExecuteRequest, v161.ReserveBeginExecuteResponse] + reserveStreamExecute *connect.Client[v161.ReserveStreamExecuteRequest, v161.ReserveStreamExecuteResponse] + reserveBeginStreamExecute *connect.Client[v161.ReserveBeginStreamExecuteRequest, v161.ReserveBeginStreamExecuteResponse] + release *connect.Client[v161.ReleaseRequest, v161.ReleaseResponse] + streamHealth *connect.Client[v161.StreamHealthRequest, v161.StreamHealthResponse] + vStream *connect.Client[v162.VStreamRequest, v162.VStreamResponse] + vStreamRows *connect.Client[v162.VStreamRowsRequest, v162.VStreamRowsResponse] + vStreamResults *connect.Client[v162.VStreamResultsRequest, v162.VStreamResultsResponse] + getSchema *connect.Client[v161.GetSchemaRequest, v161.GetSchemaResponse] } // Execute calls queryservice.Query.Execute. -func (c *queryClient) Execute(ctx context.Context, req *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) { +func (c *queryClient) Execute(ctx context.Context, req *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // StreamExecute calls queryservice.Query.StreamExecute. -func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[v16.StreamExecuteRequest]) (*connect.ServerStreamForClient[v16.StreamExecuteResponse], error) { +func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[v161.StreamExecuteRequest]) (*connect.ServerStreamForClient[v161.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } // Begin calls queryservice.Query.Begin. -func (c *queryClient) Begin(ctx context.Context, req *connect.Request[v16.BeginRequest]) (*connect.Response[v16.BeginResponse], error) { +func (c *queryClient) Begin(ctx context.Context, req *connect.Request[v161.BeginRequest]) (*connect.Response[v161.BeginResponse], error) { return c.begin.CallUnary(ctx, req) } // Commit calls queryservice.Query.Commit. -func (c *queryClient) Commit(ctx context.Context, req *connect.Request[v16.CommitRequest]) (*connect.Response[v16.CommitResponse], error) { +func (c *queryClient) Commit(ctx context.Context, req *connect.Request[v161.CommitRequest]) (*connect.Response[v161.CommitResponse], error) { return c.commit.CallUnary(ctx, req) } // Rollback calls queryservice.Query.Rollback. -func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[v16.RollbackRequest]) (*connect.Response[v16.RollbackResponse], error) { +func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[v161.RollbackRequest]) (*connect.Response[v161.RollbackResponse], error) { return c.rollback.CallUnary(ctx, req) } // Prepare calls queryservice.Query.Prepare. -func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) { +func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CommitPrepared calls queryservice.Query.CommitPrepared. -func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[v16.CommitPreparedRequest]) (*connect.Response[v16.CommitPreparedResponse], error) { +func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[v161.CommitPreparedRequest]) (*connect.Response[v161.CommitPreparedResponse], error) { return c.commitPrepared.CallUnary(ctx, req) } // RollbackPrepared calls queryservice.Query.RollbackPrepared. -func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[v16.RollbackPreparedRequest]) (*connect.Response[v16.RollbackPreparedResponse], error) { +func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[v161.RollbackPreparedRequest]) (*connect.Response[v161.RollbackPreparedResponse], error) { return c.rollbackPrepared.CallUnary(ctx, req) } // CreateTransaction calls queryservice.Query.CreateTransaction. -func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[v16.CreateTransactionRequest]) (*connect.Response[v16.CreateTransactionResponse], error) { +func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[v161.CreateTransactionRequest]) (*connect.Response[v161.CreateTransactionResponse], error) { return c.createTransaction.CallUnary(ctx, req) } // StartCommit calls queryservice.Query.StartCommit. -func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[v16.StartCommitRequest]) (*connect.Response[v16.StartCommitResponse], error) { +func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[v161.StartCommitRequest]) (*connect.Response[v161.StartCommitResponse], error) { return c.startCommit.CallUnary(ctx, req) } // SetRollback calls queryservice.Query.SetRollback. -func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[v16.SetRollbackRequest]) (*connect.Response[v16.SetRollbackResponse], error) { +func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[v161.SetRollbackRequest]) (*connect.Response[v161.SetRollbackResponse], error) { return c.setRollback.CallUnary(ctx, req) } // ConcludeTransaction calls queryservice.Query.ConcludeTransaction. -func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[v16.ConcludeTransactionRequest]) (*connect.Response[v16.ConcludeTransactionResponse], error) { +func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[v161.ConcludeTransactionRequest]) (*connect.Response[v161.ConcludeTransactionResponse], error) { return c.concludeTransaction.CallUnary(ctx, req) } // ReadTransaction calls queryservice.Query.ReadTransaction. -func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[v16.ReadTransactionRequest]) (*connect.Response[v16.ReadTransactionResponse], error) { +func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[v161.ReadTransactionRequest]) (*connect.Response[v161.ReadTransactionResponse], error) { return c.readTransaction.CallUnary(ctx, req) } // BeginExecute calls queryservice.Query.BeginExecute. -func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[v16.BeginExecuteRequest]) (*connect.Response[v16.BeginExecuteResponse], error) { +func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[v161.BeginExecuteRequest]) (*connect.Response[v161.BeginExecuteResponse], error) { return c.beginExecute.CallUnary(ctx, req) } // BeginStreamExecute calls queryservice.Query.BeginStreamExecute. -func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[v16.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v16.BeginStreamExecuteResponse], error) { +func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[v161.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v161.BeginStreamExecuteResponse], error) { return c.beginStreamExecute.CallServerStream(ctx, req) } // MessageStream calls queryservice.Query.MessageStream. -func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[v16.MessageStreamRequest]) (*connect.ServerStreamForClient[v16.MessageStreamResponse], error) { +func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[v161.MessageStreamRequest]) (*connect.ServerStreamForClient[v161.MessageStreamResponse], error) { return c.messageStream.CallServerStream(ctx, req) } // MessageAck calls queryservice.Query.MessageAck. -func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[v16.MessageAckRequest]) (*connect.Response[v16.MessageAckResponse], error) { +func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[v161.MessageAckRequest]) (*connect.Response[v161.MessageAckResponse], error) { return c.messageAck.CallUnary(ctx, req) } // ReserveExecute calls queryservice.Query.ReserveExecute. -func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[v16.ReserveExecuteRequest]) (*connect.Response[v16.ReserveExecuteResponse], error) { +func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[v161.ReserveExecuteRequest]) (*connect.Response[v161.ReserveExecuteResponse], error) { return c.reserveExecute.CallUnary(ctx, req) } // ReserveBeginExecute calls queryservice.Query.ReserveBeginExecute. -func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[v16.ReserveBeginExecuteRequest]) (*connect.Response[v16.ReserveBeginExecuteResponse], error) { +func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[v161.ReserveBeginExecuteRequest]) (*connect.Response[v161.ReserveBeginExecuteResponse], error) { return c.reserveBeginExecute.CallUnary(ctx, req) } // ReserveStreamExecute calls queryservice.Query.ReserveStreamExecute. -func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[v16.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v16.ReserveStreamExecuteResponse], error) { +func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[v161.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v161.ReserveStreamExecuteResponse], error) { return c.reserveStreamExecute.CallServerStream(ctx, req) } // ReserveBeginStreamExecute calls queryservice.Query.ReserveBeginStreamExecute. -func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[v16.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v16.ReserveBeginStreamExecuteResponse], error) { +func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[v161.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v161.ReserveBeginStreamExecuteResponse], error) { return c.reserveBeginStreamExecute.CallServerStream(ctx, req) } // Release calls queryservice.Query.Release. -func (c *queryClient) Release(ctx context.Context, req *connect.Request[v16.ReleaseRequest]) (*connect.Response[v16.ReleaseResponse], error) { +func (c *queryClient) Release(ctx context.Context, req *connect.Request[v161.ReleaseRequest]) (*connect.Response[v161.ReleaseResponse], error) { return c.release.CallUnary(ctx, req) } // StreamHealth calls queryservice.Query.StreamHealth. -func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[v16.StreamHealthRequest]) (*connect.ServerStreamForClient[v16.StreamHealthResponse], error) { +func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[v161.StreamHealthRequest]) (*connect.ServerStreamForClient[v161.StreamHealthResponse], error) { return c.streamHealth.CallServerStream(ctx, req) } // VStream calls queryservice.Query.VStream. -func (c *queryClient) VStream(ctx context.Context, req *connect.Request[v161.VStreamRequest]) (*connect.ServerStreamForClient[v161.VStreamResponse], error) { +func (c *queryClient) VStream(ctx context.Context, req *connect.Request[v162.VStreamRequest]) (*connect.ServerStreamForClient[v162.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // VStreamRows calls queryservice.Query.VStreamRows. -func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[v161.VStreamRowsRequest]) (*connect.ServerStreamForClient[v161.VStreamRowsResponse], error) { +func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[v162.VStreamRowsRequest]) (*connect.ServerStreamForClient[v162.VStreamRowsResponse], error) { return c.vStreamRows.CallServerStream(ctx, req) } // VStreamResults calls queryservice.Query.VStreamResults. -func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[v161.VStreamResultsRequest]) (*connect.ServerStreamForClient[v161.VStreamResultsResponse], error) { +func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[v162.VStreamResultsRequest]) (*connect.ServerStreamForClient[v162.VStreamResultsResponse], error) { return c.vStreamResults.CallServerStream(ctx, req) } // GetSchema calls queryservice.Query.GetSchema. -func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v16.GetSchemaRequest]) (*connect.ServerStreamForClient[v16.GetSchemaResponse], error) { +func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v161.GetSchemaRequest]) (*connect.ServerStreamForClient[v161.GetSchemaResponse], error) { return c.getSchema.CallServerStream(ctx, req) } @@ -493,63 +552,63 @@ func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v16.Ge type QueryHandler interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[v16.StreamExecuteRequest], *connect.ServerStream[v16.StreamExecuteResponse]) error + StreamExecute(context.Context, *connect.Request[v161.StreamExecuteRequest], *connect.ServerStream[v161.StreamExecuteResponse]) error // Begin a transaction. - Begin(context.Context, *connect.Request[v16.BeginRequest]) (*connect.Response[v16.BeginResponse], error) + Begin(context.Context, *connect.Request[v161.BeginRequest]) (*connect.Response[v161.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[v16.CommitRequest]) (*connect.Response[v16.CommitResponse], error) + Commit(context.Context, *connect.Request[v161.CommitRequest]) (*connect.Response[v161.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[v16.RollbackRequest]) (*connect.Response[v16.RollbackResponse], error) + Rollback(context.Context, *connect.Request[v161.RollbackRequest]) (*connect.Response[v161.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[v16.CommitPreparedRequest]) (*connect.Response[v16.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[v161.CommitPreparedRequest]) (*connect.Response[v161.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[v16.RollbackPreparedRequest]) (*connect.Response[v16.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[v161.RollbackPreparedRequest]) (*connect.Response[v161.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[v16.CreateTransactionRequest]) (*connect.Response[v16.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[v161.CreateTransactionRequest]) (*connect.Response[v161.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[v16.StartCommitRequest]) (*connect.Response[v16.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[v161.StartCommitRequest]) (*connect.Response[v161.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[v16.SetRollbackRequest]) (*connect.Response[v16.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[v161.SetRollbackRequest]) (*connect.Response[v161.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[v16.ConcludeTransactionRequest]) (*connect.Response[v16.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[v161.ConcludeTransactionRequest]) (*connect.Response[v161.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[v16.ReadTransactionRequest]) (*connect.Response[v16.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[v161.ReadTransactionRequest]) (*connect.Response[v161.ReadTransactionResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[v16.BeginExecuteRequest]) (*connect.Response[v16.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[v161.BeginExecuteRequest]) (*connect.Response[v161.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[v16.BeginStreamExecuteRequest], *connect.ServerStream[v16.BeginStreamExecuteResponse]) error + BeginStreamExecute(context.Context, *connect.Request[v161.BeginStreamExecuteRequest], *connect.ServerStream[v161.BeginStreamExecuteResponse]) error // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[v16.MessageStreamRequest], *connect.ServerStream[v16.MessageStreamResponse]) error + MessageStream(context.Context, *connect.Request[v161.MessageStreamRequest], *connect.ServerStream[v161.MessageStreamResponse]) error // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[v16.MessageAckRequest]) (*connect.Response[v16.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[v161.MessageAckRequest]) (*connect.Response[v161.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[v16.ReserveExecuteRequest]) (*connect.Response[v16.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[v161.ReserveExecuteRequest]) (*connect.Response[v161.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[v16.ReserveBeginExecuteRequest]) (*connect.Response[v16.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[v161.ReserveBeginExecuteRequest]) (*connect.Response[v161.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[v16.ReserveStreamExecuteRequest], *connect.ServerStream[v16.ReserveStreamExecuteResponse]) error + ReserveStreamExecute(context.Context, *connect.Request[v161.ReserveStreamExecuteRequest], *connect.ServerStream[v161.ReserveStreamExecuteResponse]) error // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[v16.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v16.ReserveBeginStreamExecuteResponse]) error + ReserveBeginStreamExecute(context.Context, *connect.Request[v161.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v161.ReserveBeginStreamExecuteResponse]) error // Release releases the connection - Release(context.Context, *connect.Request[v16.ReleaseRequest]) (*connect.Response[v16.ReleaseResponse], error) + Release(context.Context, *connect.Request[v161.ReleaseRequest]) (*connect.Response[v161.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[v16.StreamHealthRequest], *connect.ServerStream[v16.StreamHealthResponse]) error + StreamHealth(context.Context, *connect.Request[v161.StreamHealthRequest], *connect.ServerStream[v161.StreamHealthResponse]) error // VStream streams vreplication events. - VStream(context.Context, *connect.Request[v161.VStreamRequest], *connect.ServerStream[v161.VStreamResponse]) error + VStream(context.Context, *connect.Request[v162.VStreamRequest], *connect.ServerStream[v162.VStreamResponse]) error // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[v161.VStreamRowsRequest], *connect.ServerStream[v161.VStreamRowsResponse]) error + VStreamRows(context.Context, *connect.Request[v162.VStreamRowsRequest], *connect.ServerStream[v162.VStreamRowsResponse]) error // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[v161.VStreamResultsRequest], *connect.ServerStream[v161.VStreamResultsResponse]) error + VStreamResults(context.Context, *connect.Request[v162.VStreamResultsRequest], *connect.ServerStream[v162.VStreamResultsResponse]) error // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest], *connect.ServerStream[v16.GetSchemaResponse]) error + GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest], *connect.ServerStream[v161.GetSchemaResponse]) error } // NewQueryHandler builds an HTTP handler from the service implementation. It returns the path on @@ -561,137 +620,164 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h queryExecuteHandler := connect.NewUnaryHandler( QueryExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamExecuteHandler := connect.NewServerStreamHandler( QueryStreamExecuteProcedure, svc.StreamExecute, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginHandler := connect.NewUnaryHandler( QueryBeginProcedure, svc.Begin, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitHandler := connect.NewUnaryHandler( QueryCommitProcedure, svc.Commit, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackHandler := connect.NewUnaryHandler( QueryRollbackProcedure, svc.Rollback, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryPrepareHandler := connect.NewUnaryHandler( QueryPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitPreparedHandler := connect.NewUnaryHandler( QueryCommitPreparedProcedure, svc.CommitPrepared, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackPreparedHandler := connect.NewUnaryHandler( QueryRollbackPreparedProcedure, svc.RollbackPrepared, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCreateTransactionHandler := connect.NewUnaryHandler( QueryCreateTransactionProcedure, svc.CreateTransaction, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStartCommitHandler := connect.NewUnaryHandler( QueryStartCommitProcedure, svc.StartCommit, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) querySetRollbackHandler := connect.NewUnaryHandler( QuerySetRollbackProcedure, svc.SetRollback, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryConcludeTransactionHandler := connect.NewUnaryHandler( QueryConcludeTransactionProcedure, svc.ConcludeTransaction, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReadTransactionHandler := connect.NewUnaryHandler( QueryReadTransactionProcedure, svc.ReadTransaction, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginExecuteHandler := connect.NewUnaryHandler( QueryBeginExecuteProcedure, svc.BeginExecute, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryBeginStreamExecuteProcedure, svc.BeginStreamExecute, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageStreamHandler := connect.NewServerStreamHandler( QueryMessageStreamProcedure, svc.MessageStream, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageAckHandler := connect.NewUnaryHandler( QueryMessageAckProcedure, svc.MessageAck, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveExecuteHandler := connect.NewUnaryHandler( QueryReserveExecuteProcedure, svc.ReserveExecute, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginExecuteHandler := connect.NewUnaryHandler( QueryReserveBeginExecuteProcedure, svc.ReserveBeginExecute, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveStreamExecuteProcedure, svc.ReserveStreamExecute, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveBeginStreamExecuteProcedure, svc.ReserveBeginStreamExecute, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReleaseHandler := connect.NewUnaryHandler( QueryReleaseProcedure, svc.Release, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamHealthHandler := connect.NewServerStreamHandler( QueryStreamHealthProcedure, svc.StreamHealth, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamHandler := connect.NewServerStreamHandler( QueryVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamRowsHandler := connect.NewServerStreamHandler( QueryVStreamRowsProcedure, svc.VStreamRows, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamResultsHandler := connect.NewServerStreamHandler( QueryVStreamResultsProcedure, svc.VStreamResults, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryGetSchemaHandler := connect.NewServerStreamHandler( QueryGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/queryservice.Query/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -758,110 +844,110 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h // UnimplementedQueryHandler returns CodeUnimplemented from all methods. type UnimplementedQueryHandler struct{} -func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) { +func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Execute is not implemented")) } -func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[v16.StreamExecuteRequest], *connect.ServerStream[v16.StreamExecuteResponse]) error { +func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[v161.StreamExecuteRequest], *connect.ServerStream[v161.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[v16.BeginRequest]) (*connect.Response[v16.BeginResponse], error) { +func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[v161.BeginRequest]) (*connect.Response[v161.BeginResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Begin is not implemented")) } -func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[v16.CommitRequest]) (*connect.Response[v16.CommitResponse], error) { +func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[v161.CommitRequest]) (*connect.Response[v161.CommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Commit is not implemented")) } -func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[v16.RollbackRequest]) (*connect.Response[v16.RollbackResponse], error) { +func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[v161.RollbackRequest]) (*connect.Response[v161.RollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Rollback is not implemented")) } -func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) { +func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Prepare is not implemented")) } -func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[v16.CommitPreparedRequest]) (*connect.Response[v16.CommitPreparedResponse], error) { +func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[v161.CommitPreparedRequest]) (*connect.Response[v161.CommitPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CommitPrepared is not implemented")) } -func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[v16.RollbackPreparedRequest]) (*connect.Response[v16.RollbackPreparedResponse], error) { +func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[v161.RollbackPreparedRequest]) (*connect.Response[v161.RollbackPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.RollbackPrepared is not implemented")) } -func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[v16.CreateTransactionRequest]) (*connect.Response[v16.CreateTransactionResponse], error) { +func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[v161.CreateTransactionRequest]) (*connect.Response[v161.CreateTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CreateTransaction is not implemented")) } -func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[v16.StartCommitRequest]) (*connect.Response[v16.StartCommitResponse], error) { +func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[v161.StartCommitRequest]) (*connect.Response[v161.StartCommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StartCommit is not implemented")) } -func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[v16.SetRollbackRequest]) (*connect.Response[v16.SetRollbackResponse], error) { +func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[v161.SetRollbackRequest]) (*connect.Response[v161.SetRollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.SetRollback is not implemented")) } -func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[v16.ConcludeTransactionRequest]) (*connect.Response[v16.ConcludeTransactionResponse], error) { +func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[v161.ConcludeTransactionRequest]) (*connect.Response[v161.ConcludeTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ConcludeTransaction is not implemented")) } -func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[v16.ReadTransactionRequest]) (*connect.Response[v16.ReadTransactionResponse], error) { +func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[v161.ReadTransactionRequest]) (*connect.Response[v161.ReadTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReadTransaction is not implemented")) } -func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[v16.BeginExecuteRequest]) (*connect.Response[v16.BeginExecuteResponse], error) { +func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[v161.BeginExecuteRequest]) (*connect.Response[v161.BeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginExecute is not implemented")) } -func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[v16.BeginStreamExecuteRequest], *connect.ServerStream[v16.BeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[v161.BeginStreamExecuteRequest], *connect.ServerStream[v161.BeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[v16.MessageStreamRequest], *connect.ServerStream[v16.MessageStreamResponse]) error { +func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[v161.MessageStreamRequest], *connect.ServerStream[v161.MessageStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageStream is not implemented")) } -func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[v16.MessageAckRequest]) (*connect.Response[v16.MessageAckResponse], error) { +func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[v161.MessageAckRequest]) (*connect.Response[v161.MessageAckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageAck is not implemented")) } -func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[v16.ReserveExecuteRequest]) (*connect.Response[v16.ReserveExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[v161.ReserveExecuteRequest]) (*connect.Response[v161.ReserveExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[v16.ReserveBeginExecuteRequest]) (*connect.Response[v16.ReserveBeginExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[v161.ReserveBeginExecuteRequest]) (*connect.Response[v161.ReserveBeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[v16.ReserveStreamExecuteRequest], *connect.ServerStream[v16.ReserveStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[v161.ReserveStreamExecuteRequest], *connect.ServerStream[v161.ReserveStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[v16.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v16.ReserveBeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[v161.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v161.ReserveBeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[v16.ReleaseRequest]) (*connect.Response[v16.ReleaseResponse], error) { +func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[v161.ReleaseRequest]) (*connect.Response[v161.ReleaseResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Release is not implemented")) } -func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[v16.StreamHealthRequest], *connect.ServerStream[v16.StreamHealthResponse]) error { +func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[v161.StreamHealthRequest], *connect.ServerStream[v161.StreamHealthResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamHealth is not implemented")) } -func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[v161.VStreamRequest], *connect.ServerStream[v161.VStreamResponse]) error { +func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[v162.VStreamRequest], *connect.ServerStream[v162.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStream is not implemented")) } -func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[v161.VStreamRowsRequest], *connect.ServerStream[v161.VStreamRowsResponse]) error { +func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[v162.VStreamRowsRequest], *connect.ServerStream[v162.VStreamRowsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamRows is not implemented")) } -func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[v161.VStreamResultsRequest], *connect.ServerStream[v161.VStreamResultsResponse]) error { +func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[v162.VStreamResultsRequest], *connect.ServerStream[v162.VStreamResultsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamResults is not implemented")) } -func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest], *connect.ServerStream[v16.GetSchemaResponse]) error { +func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest], *connect.ServerStream[v161.GetSchemaResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.GetSchema is not implemented")) } diff --git a/gen/vitess/queryservice/v17/queryservice.pb.go b/gen/vitess/queryservice/v17/queryservice.pb.go index 09fa1ec..42abd62 100644 --- a/gen/vitess/queryservice/v17/queryservice.pb.go +++ b/gen/vitess/queryservice/v17/queryservice.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/queryservice/v17/queryservice.proto @@ -228,7 +228,7 @@ var file_vitess_queryservice_v17_queryservice_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x76, 0x31, 0x37, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_queryservice_v17_queryservice_proto_goTypes = []interface{}{ +var file_vitess_queryservice_v17_queryservice_proto_goTypes = []any{ (*v17.ExecuteRequest)(nil), // 0: vitess.query.v17.ExecuteRequest (*v17.StreamExecuteRequest)(nil), // 1: vitess.query.v17.StreamExecuteRequest (*v17.BeginRequest)(nil), // 2: vitess.query.v17.BeginRequest diff --git a/gen/vitess/queryservice/v17/queryservicev17connect/queryservice.connect.go b/gen/vitess/queryservice/v17/queryservicev17connect/queryservice.connect.go index 30e2d85..48f86a2 100644 --- a/gen/vitess/queryservice/v17/queryservicev17connect/queryservice.connect.go +++ b/gen/vitess/queryservice/v17/queryservicev17connect/queryservice.connect.go @@ -24,9 +24,9 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v171 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v17" - v17 "github.com/planetscale/vitess-types/gen/vitess/query/v17" - _ "github.com/planetscale/vitess-types/gen/vitess/queryservice/v17" + v172 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v17" + v171 "github.com/planetscale/vitess-types/gen/vitess/query/v17" + v17 "github.com/planetscale/vitess-types/gen/vitess/queryservice/v17" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // QueryName is the fully-qualified name of the Query service. @@ -112,67 +112,99 @@ const ( QueryGetSchemaProcedure = "/queryservice.Query/GetSchema" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + queryServiceDescriptor = v17.File_vitess_queryservice_v17_queryservice_proto.Services().ByName("Query") + queryExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("Execute") + queryStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamExecute") + queryBeginMethodDescriptor = queryServiceDescriptor.Methods().ByName("Begin") + queryCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("Commit") + queryRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("Rollback") + queryPrepareMethodDescriptor = queryServiceDescriptor.Methods().ByName("Prepare") + queryCommitPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("CommitPrepared") + queryRollbackPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("RollbackPrepared") + queryCreateTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("CreateTransaction") + queryStartCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("StartCommit") + querySetRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("SetRollback") + queryConcludeTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ConcludeTransaction") + queryReadTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReadTransaction") + queryBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginExecute") + queryBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginStreamExecute") + queryMessageStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageStream") + queryMessageAckMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageAck") + queryReserveExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveExecute") + queryReserveBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginExecute") + queryReserveStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveStreamExecute") + queryReserveBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginStreamExecute") + queryReleaseMethodDescriptor = queryServiceDescriptor.Methods().ByName("Release") + queryStreamHealthMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamHealth") + queryVStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStream") + queryVStreamRowsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamRows") + queryVStreamResultsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamResults") + queryGetSchemaMethodDescriptor = queryServiceDescriptor.Methods().ByName("GetSchema") +) + // QueryClient is a client for the queryservice.Query service. type QueryClient interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[v17.StreamExecuteRequest]) (*connect.ServerStreamForClient[v17.StreamExecuteResponse], error) + StreamExecute(context.Context, *connect.Request[v171.StreamExecuteRequest]) (*connect.ServerStreamForClient[v171.StreamExecuteResponse], error) // Begin a transaction. - Begin(context.Context, *connect.Request[v17.BeginRequest]) (*connect.Response[v17.BeginResponse], error) + Begin(context.Context, *connect.Request[v171.BeginRequest]) (*connect.Response[v171.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[v17.CommitRequest]) (*connect.Response[v17.CommitResponse], error) + Commit(context.Context, *connect.Request[v171.CommitRequest]) (*connect.Response[v171.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[v17.RollbackRequest]) (*connect.Response[v17.RollbackResponse], error) + Rollback(context.Context, *connect.Request[v171.RollbackRequest]) (*connect.Response[v171.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[v17.CommitPreparedRequest]) (*connect.Response[v17.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[v171.CommitPreparedRequest]) (*connect.Response[v171.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[v17.RollbackPreparedRequest]) (*connect.Response[v17.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[v171.RollbackPreparedRequest]) (*connect.Response[v171.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[v17.CreateTransactionRequest]) (*connect.Response[v17.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[v171.CreateTransactionRequest]) (*connect.Response[v171.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[v17.StartCommitRequest]) (*connect.Response[v17.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[v171.StartCommitRequest]) (*connect.Response[v171.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[v17.SetRollbackRequest]) (*connect.Response[v17.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[v171.SetRollbackRequest]) (*connect.Response[v171.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[v17.ConcludeTransactionRequest]) (*connect.Response[v17.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[v171.ConcludeTransactionRequest]) (*connect.Response[v171.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[v17.ReadTransactionRequest]) (*connect.Response[v17.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[v171.ReadTransactionRequest]) (*connect.Response[v171.ReadTransactionResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[v17.BeginExecuteRequest]) (*connect.Response[v17.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[v171.BeginExecuteRequest]) (*connect.Response[v171.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[v17.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v17.BeginStreamExecuteResponse], error) + BeginStreamExecute(context.Context, *connect.Request[v171.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v171.BeginStreamExecuteResponse], error) // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[v17.MessageStreamRequest]) (*connect.ServerStreamForClient[v17.MessageStreamResponse], error) + MessageStream(context.Context, *connect.Request[v171.MessageStreamRequest]) (*connect.ServerStreamForClient[v171.MessageStreamResponse], error) // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[v17.MessageAckRequest]) (*connect.Response[v17.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[v171.MessageAckRequest]) (*connect.Response[v171.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[v17.ReserveExecuteRequest]) (*connect.Response[v17.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[v171.ReserveExecuteRequest]) (*connect.Response[v171.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[v17.ReserveBeginExecuteRequest]) (*connect.Response[v17.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[v171.ReserveBeginExecuteRequest]) (*connect.Response[v171.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[v17.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v17.ReserveStreamExecuteResponse], error) + ReserveStreamExecute(context.Context, *connect.Request[v171.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v171.ReserveStreamExecuteResponse], error) // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[v17.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v17.ReserveBeginStreamExecuteResponse], error) + ReserveBeginStreamExecute(context.Context, *connect.Request[v171.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v171.ReserveBeginStreamExecuteResponse], error) // Release releases the connection - Release(context.Context, *connect.Request[v17.ReleaseRequest]) (*connect.Response[v17.ReleaseResponse], error) + Release(context.Context, *connect.Request[v171.ReleaseRequest]) (*connect.Response[v171.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[v17.StreamHealthRequest]) (*connect.ServerStreamForClient[v17.StreamHealthResponse], error) + StreamHealth(context.Context, *connect.Request[v171.StreamHealthRequest]) (*connect.ServerStreamForClient[v171.StreamHealthResponse], error) // VStream streams vreplication events. - VStream(context.Context, *connect.Request[v171.VStreamRequest]) (*connect.ServerStreamForClient[v171.VStreamResponse], error) + VStream(context.Context, *connect.Request[v172.VStreamRequest]) (*connect.ServerStreamForClient[v172.VStreamResponse], error) // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[v171.VStreamRowsRequest]) (*connect.ServerStreamForClient[v171.VStreamRowsResponse], error) + VStreamRows(context.Context, *connect.Request[v172.VStreamRowsRequest]) (*connect.ServerStreamForClient[v172.VStreamRowsResponse], error) // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[v171.VStreamResultsRequest]) (*connect.ServerStreamForClient[v171.VStreamResultsResponse], error) + VStreamResults(context.Context, *connect.Request[v172.VStreamResultsRequest]) (*connect.ServerStreamForClient[v172.VStreamResultsResponse], error) // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest]) (*connect.ServerStreamForClient[v17.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest]) (*connect.ServerStreamForClient[v171.GetSchemaResponse], error) } // NewQueryClient constructs a client for the queryservice.Query service. By default, it @@ -185,307 +217,334 @@ type QueryClient interface { func NewQueryClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) QueryClient { baseURL = strings.TrimRight(baseURL, "/") return &queryClient{ - execute: connect.NewClient[v17.ExecuteRequest, v17.ExecuteResponse]( + execute: connect.NewClient[v171.ExecuteRequest, v171.ExecuteResponse]( httpClient, baseURL+QueryExecuteProcedure, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[v17.StreamExecuteRequest, v17.StreamExecuteResponse]( + streamExecute: connect.NewClient[v171.StreamExecuteRequest, v171.StreamExecuteResponse]( httpClient, baseURL+QueryStreamExecuteProcedure, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - begin: connect.NewClient[v17.BeginRequest, v17.BeginResponse]( + begin: connect.NewClient[v171.BeginRequest, v171.BeginResponse]( httpClient, baseURL+QueryBeginProcedure, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithClientOptions(opts...), ), - commit: connect.NewClient[v17.CommitRequest, v17.CommitResponse]( + commit: connect.NewClient[v171.CommitRequest, v171.CommitResponse]( httpClient, baseURL+QueryCommitProcedure, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollback: connect.NewClient[v17.RollbackRequest, v17.RollbackResponse]( + rollback: connect.NewClient[v171.RollbackRequest, v171.RollbackResponse]( httpClient, baseURL+QueryRollbackProcedure, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[v17.PrepareRequest, v17.PrepareResponse]( + prepare: connect.NewClient[v171.PrepareRequest, v171.PrepareResponse]( httpClient, baseURL+QueryPrepareProcedure, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - commitPrepared: connect.NewClient[v17.CommitPreparedRequest, v17.CommitPreparedResponse]( + commitPrepared: connect.NewClient[v171.CommitPreparedRequest, v171.CommitPreparedResponse]( httpClient, baseURL+QueryCommitPreparedProcedure, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollbackPrepared: connect.NewClient[v17.RollbackPreparedRequest, v17.RollbackPreparedResponse]( + rollbackPrepared: connect.NewClient[v171.RollbackPreparedRequest, v171.RollbackPreparedResponse]( httpClient, baseURL+QueryRollbackPreparedProcedure, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - createTransaction: connect.NewClient[v17.CreateTransactionRequest, v17.CreateTransactionResponse]( + createTransaction: connect.NewClient[v171.CreateTransactionRequest, v171.CreateTransactionResponse]( httpClient, baseURL+QueryCreateTransactionProcedure, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - startCommit: connect.NewClient[v17.StartCommitRequest, v17.StartCommitResponse]( + startCommit: connect.NewClient[v171.StartCommitRequest, v171.StartCommitResponse]( httpClient, baseURL+QueryStartCommitProcedure, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - setRollback: connect.NewClient[v17.SetRollbackRequest, v17.SetRollbackResponse]( + setRollback: connect.NewClient[v171.SetRollbackRequest, v171.SetRollbackResponse]( httpClient, baseURL+QuerySetRollbackProcedure, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - concludeTransaction: connect.NewClient[v17.ConcludeTransactionRequest, v17.ConcludeTransactionResponse]( + concludeTransaction: connect.NewClient[v171.ConcludeTransactionRequest, v171.ConcludeTransactionResponse]( httpClient, baseURL+QueryConcludeTransactionProcedure, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - readTransaction: connect.NewClient[v17.ReadTransactionRequest, v17.ReadTransactionResponse]( + readTransaction: connect.NewClient[v171.ReadTransactionRequest, v171.ReadTransactionResponse]( httpClient, baseURL+QueryReadTransactionProcedure, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginExecute: connect.NewClient[v17.BeginExecuteRequest, v17.BeginExecuteResponse]( + beginExecute: connect.NewClient[v171.BeginExecuteRequest, v171.BeginExecuteResponse]( httpClient, baseURL+QueryBeginExecuteProcedure, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginStreamExecute: connect.NewClient[v17.BeginStreamExecuteRequest, v17.BeginStreamExecuteResponse]( + beginStreamExecute: connect.NewClient[v171.BeginStreamExecuteRequest, v171.BeginStreamExecuteResponse]( httpClient, baseURL+QueryBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageStream: connect.NewClient[v17.MessageStreamRequest, v17.MessageStreamResponse]( + messageStream: connect.NewClient[v171.MessageStreamRequest, v171.MessageStreamResponse]( httpClient, baseURL+QueryMessageStreamProcedure, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageAck: connect.NewClient[v17.MessageAckRequest, v17.MessageAckResponse]( + messageAck: connect.NewClient[v171.MessageAckRequest, v171.MessageAckResponse]( httpClient, baseURL+QueryMessageAckProcedure, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveExecute: connect.NewClient[v17.ReserveExecuteRequest, v17.ReserveExecuteResponse]( + reserveExecute: connect.NewClient[v171.ReserveExecuteRequest, v171.ReserveExecuteResponse]( httpClient, baseURL+QueryReserveExecuteProcedure, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginExecute: connect.NewClient[v17.ReserveBeginExecuteRequest, v17.ReserveBeginExecuteResponse]( + reserveBeginExecute: connect.NewClient[v171.ReserveBeginExecuteRequest, v171.ReserveBeginExecuteResponse]( httpClient, baseURL+QueryReserveBeginExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveStreamExecute: connect.NewClient[v17.ReserveStreamExecuteRequest, v17.ReserveStreamExecuteResponse]( + reserveStreamExecute: connect.NewClient[v171.ReserveStreamExecuteRequest, v171.ReserveStreamExecuteResponse]( httpClient, baseURL+QueryReserveStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginStreamExecute: connect.NewClient[v17.ReserveBeginStreamExecuteRequest, v17.ReserveBeginStreamExecuteResponse]( + reserveBeginStreamExecute: connect.NewClient[v171.ReserveBeginStreamExecuteRequest, v171.ReserveBeginStreamExecuteResponse]( httpClient, baseURL+QueryReserveBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - release: connect.NewClient[v17.ReleaseRequest, v17.ReleaseResponse]( + release: connect.NewClient[v171.ReleaseRequest, v171.ReleaseResponse]( httpClient, baseURL+QueryReleaseProcedure, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamHealth: connect.NewClient[v17.StreamHealthRequest, v17.StreamHealthResponse]( + streamHealth: connect.NewClient[v171.StreamHealthRequest, v171.StreamHealthResponse]( httpClient, baseURL+QueryStreamHealthProcedure, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStream: connect.NewClient[v171.VStreamRequest, v171.VStreamResponse]( + vStream: connect.NewClient[v172.VStreamRequest, v172.VStreamResponse]( httpClient, baseURL+QueryVStreamProcedure, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamRows: connect.NewClient[v171.VStreamRowsRequest, v171.VStreamRowsResponse]( + vStreamRows: connect.NewClient[v172.VStreamRowsRequest, v172.VStreamRowsResponse]( httpClient, baseURL+QueryVStreamRowsProcedure, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamResults: connect.NewClient[v171.VStreamResultsRequest, v171.VStreamResultsResponse]( + vStreamResults: connect.NewClient[v172.VStreamResultsRequest, v172.VStreamResultsResponse]( httpClient, baseURL+QueryVStreamResultsProcedure, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v17.GetSchemaRequest, v17.GetSchemaResponse]( + getSchema: connect.NewClient[v171.GetSchemaRequest, v171.GetSchemaResponse]( httpClient, baseURL+QueryGetSchemaProcedure, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // queryClient implements QueryClient. type queryClient struct { - execute *connect.Client[v17.ExecuteRequest, v17.ExecuteResponse] - streamExecute *connect.Client[v17.StreamExecuteRequest, v17.StreamExecuteResponse] - begin *connect.Client[v17.BeginRequest, v17.BeginResponse] - commit *connect.Client[v17.CommitRequest, v17.CommitResponse] - rollback *connect.Client[v17.RollbackRequest, v17.RollbackResponse] - prepare *connect.Client[v17.PrepareRequest, v17.PrepareResponse] - commitPrepared *connect.Client[v17.CommitPreparedRequest, v17.CommitPreparedResponse] - rollbackPrepared *connect.Client[v17.RollbackPreparedRequest, v17.RollbackPreparedResponse] - createTransaction *connect.Client[v17.CreateTransactionRequest, v17.CreateTransactionResponse] - startCommit *connect.Client[v17.StartCommitRequest, v17.StartCommitResponse] - setRollback *connect.Client[v17.SetRollbackRequest, v17.SetRollbackResponse] - concludeTransaction *connect.Client[v17.ConcludeTransactionRequest, v17.ConcludeTransactionResponse] - readTransaction *connect.Client[v17.ReadTransactionRequest, v17.ReadTransactionResponse] - beginExecute *connect.Client[v17.BeginExecuteRequest, v17.BeginExecuteResponse] - beginStreamExecute *connect.Client[v17.BeginStreamExecuteRequest, v17.BeginStreamExecuteResponse] - messageStream *connect.Client[v17.MessageStreamRequest, v17.MessageStreamResponse] - messageAck *connect.Client[v17.MessageAckRequest, v17.MessageAckResponse] - reserveExecute *connect.Client[v17.ReserveExecuteRequest, v17.ReserveExecuteResponse] - reserveBeginExecute *connect.Client[v17.ReserveBeginExecuteRequest, v17.ReserveBeginExecuteResponse] - reserveStreamExecute *connect.Client[v17.ReserveStreamExecuteRequest, v17.ReserveStreamExecuteResponse] - reserveBeginStreamExecute *connect.Client[v17.ReserveBeginStreamExecuteRequest, v17.ReserveBeginStreamExecuteResponse] - release *connect.Client[v17.ReleaseRequest, v17.ReleaseResponse] - streamHealth *connect.Client[v17.StreamHealthRequest, v17.StreamHealthResponse] - vStream *connect.Client[v171.VStreamRequest, v171.VStreamResponse] - vStreamRows *connect.Client[v171.VStreamRowsRequest, v171.VStreamRowsResponse] - vStreamResults *connect.Client[v171.VStreamResultsRequest, v171.VStreamResultsResponse] - getSchema *connect.Client[v17.GetSchemaRequest, v17.GetSchemaResponse] + execute *connect.Client[v171.ExecuteRequest, v171.ExecuteResponse] + streamExecute *connect.Client[v171.StreamExecuteRequest, v171.StreamExecuteResponse] + begin *connect.Client[v171.BeginRequest, v171.BeginResponse] + commit *connect.Client[v171.CommitRequest, v171.CommitResponse] + rollback *connect.Client[v171.RollbackRequest, v171.RollbackResponse] + prepare *connect.Client[v171.PrepareRequest, v171.PrepareResponse] + commitPrepared *connect.Client[v171.CommitPreparedRequest, v171.CommitPreparedResponse] + rollbackPrepared *connect.Client[v171.RollbackPreparedRequest, v171.RollbackPreparedResponse] + createTransaction *connect.Client[v171.CreateTransactionRequest, v171.CreateTransactionResponse] + startCommit *connect.Client[v171.StartCommitRequest, v171.StartCommitResponse] + setRollback *connect.Client[v171.SetRollbackRequest, v171.SetRollbackResponse] + concludeTransaction *connect.Client[v171.ConcludeTransactionRequest, v171.ConcludeTransactionResponse] + readTransaction *connect.Client[v171.ReadTransactionRequest, v171.ReadTransactionResponse] + beginExecute *connect.Client[v171.BeginExecuteRequest, v171.BeginExecuteResponse] + beginStreamExecute *connect.Client[v171.BeginStreamExecuteRequest, v171.BeginStreamExecuteResponse] + messageStream *connect.Client[v171.MessageStreamRequest, v171.MessageStreamResponse] + messageAck *connect.Client[v171.MessageAckRequest, v171.MessageAckResponse] + reserveExecute *connect.Client[v171.ReserveExecuteRequest, v171.ReserveExecuteResponse] + reserveBeginExecute *connect.Client[v171.ReserveBeginExecuteRequest, v171.ReserveBeginExecuteResponse] + reserveStreamExecute *connect.Client[v171.ReserveStreamExecuteRequest, v171.ReserveStreamExecuteResponse] + reserveBeginStreamExecute *connect.Client[v171.ReserveBeginStreamExecuteRequest, v171.ReserveBeginStreamExecuteResponse] + release *connect.Client[v171.ReleaseRequest, v171.ReleaseResponse] + streamHealth *connect.Client[v171.StreamHealthRequest, v171.StreamHealthResponse] + vStream *connect.Client[v172.VStreamRequest, v172.VStreamResponse] + vStreamRows *connect.Client[v172.VStreamRowsRequest, v172.VStreamRowsResponse] + vStreamResults *connect.Client[v172.VStreamResultsRequest, v172.VStreamResultsResponse] + getSchema *connect.Client[v171.GetSchemaRequest, v171.GetSchemaResponse] } // Execute calls queryservice.Query.Execute. -func (c *queryClient) Execute(ctx context.Context, req *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) { +func (c *queryClient) Execute(ctx context.Context, req *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // StreamExecute calls queryservice.Query.StreamExecute. -func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[v17.StreamExecuteRequest]) (*connect.ServerStreamForClient[v17.StreamExecuteResponse], error) { +func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[v171.StreamExecuteRequest]) (*connect.ServerStreamForClient[v171.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } // Begin calls queryservice.Query.Begin. -func (c *queryClient) Begin(ctx context.Context, req *connect.Request[v17.BeginRequest]) (*connect.Response[v17.BeginResponse], error) { +func (c *queryClient) Begin(ctx context.Context, req *connect.Request[v171.BeginRequest]) (*connect.Response[v171.BeginResponse], error) { return c.begin.CallUnary(ctx, req) } // Commit calls queryservice.Query.Commit. -func (c *queryClient) Commit(ctx context.Context, req *connect.Request[v17.CommitRequest]) (*connect.Response[v17.CommitResponse], error) { +func (c *queryClient) Commit(ctx context.Context, req *connect.Request[v171.CommitRequest]) (*connect.Response[v171.CommitResponse], error) { return c.commit.CallUnary(ctx, req) } // Rollback calls queryservice.Query.Rollback. -func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[v17.RollbackRequest]) (*connect.Response[v17.RollbackResponse], error) { +func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[v171.RollbackRequest]) (*connect.Response[v171.RollbackResponse], error) { return c.rollback.CallUnary(ctx, req) } // Prepare calls queryservice.Query.Prepare. -func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) { +func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CommitPrepared calls queryservice.Query.CommitPrepared. -func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[v17.CommitPreparedRequest]) (*connect.Response[v17.CommitPreparedResponse], error) { +func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[v171.CommitPreparedRequest]) (*connect.Response[v171.CommitPreparedResponse], error) { return c.commitPrepared.CallUnary(ctx, req) } // RollbackPrepared calls queryservice.Query.RollbackPrepared. -func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[v17.RollbackPreparedRequest]) (*connect.Response[v17.RollbackPreparedResponse], error) { +func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[v171.RollbackPreparedRequest]) (*connect.Response[v171.RollbackPreparedResponse], error) { return c.rollbackPrepared.CallUnary(ctx, req) } // CreateTransaction calls queryservice.Query.CreateTransaction. -func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[v17.CreateTransactionRequest]) (*connect.Response[v17.CreateTransactionResponse], error) { +func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[v171.CreateTransactionRequest]) (*connect.Response[v171.CreateTransactionResponse], error) { return c.createTransaction.CallUnary(ctx, req) } // StartCommit calls queryservice.Query.StartCommit. -func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[v17.StartCommitRequest]) (*connect.Response[v17.StartCommitResponse], error) { +func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[v171.StartCommitRequest]) (*connect.Response[v171.StartCommitResponse], error) { return c.startCommit.CallUnary(ctx, req) } // SetRollback calls queryservice.Query.SetRollback. -func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[v17.SetRollbackRequest]) (*connect.Response[v17.SetRollbackResponse], error) { +func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[v171.SetRollbackRequest]) (*connect.Response[v171.SetRollbackResponse], error) { return c.setRollback.CallUnary(ctx, req) } // ConcludeTransaction calls queryservice.Query.ConcludeTransaction. -func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[v17.ConcludeTransactionRequest]) (*connect.Response[v17.ConcludeTransactionResponse], error) { +func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[v171.ConcludeTransactionRequest]) (*connect.Response[v171.ConcludeTransactionResponse], error) { return c.concludeTransaction.CallUnary(ctx, req) } // ReadTransaction calls queryservice.Query.ReadTransaction. -func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[v17.ReadTransactionRequest]) (*connect.Response[v17.ReadTransactionResponse], error) { +func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[v171.ReadTransactionRequest]) (*connect.Response[v171.ReadTransactionResponse], error) { return c.readTransaction.CallUnary(ctx, req) } // BeginExecute calls queryservice.Query.BeginExecute. -func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[v17.BeginExecuteRequest]) (*connect.Response[v17.BeginExecuteResponse], error) { +func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[v171.BeginExecuteRequest]) (*connect.Response[v171.BeginExecuteResponse], error) { return c.beginExecute.CallUnary(ctx, req) } // BeginStreamExecute calls queryservice.Query.BeginStreamExecute. -func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[v17.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v17.BeginStreamExecuteResponse], error) { +func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[v171.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v171.BeginStreamExecuteResponse], error) { return c.beginStreamExecute.CallServerStream(ctx, req) } // MessageStream calls queryservice.Query.MessageStream. -func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[v17.MessageStreamRequest]) (*connect.ServerStreamForClient[v17.MessageStreamResponse], error) { +func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[v171.MessageStreamRequest]) (*connect.ServerStreamForClient[v171.MessageStreamResponse], error) { return c.messageStream.CallServerStream(ctx, req) } // MessageAck calls queryservice.Query.MessageAck. -func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[v17.MessageAckRequest]) (*connect.Response[v17.MessageAckResponse], error) { +func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[v171.MessageAckRequest]) (*connect.Response[v171.MessageAckResponse], error) { return c.messageAck.CallUnary(ctx, req) } // ReserveExecute calls queryservice.Query.ReserveExecute. -func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[v17.ReserveExecuteRequest]) (*connect.Response[v17.ReserveExecuteResponse], error) { +func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[v171.ReserveExecuteRequest]) (*connect.Response[v171.ReserveExecuteResponse], error) { return c.reserveExecute.CallUnary(ctx, req) } // ReserveBeginExecute calls queryservice.Query.ReserveBeginExecute. -func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[v17.ReserveBeginExecuteRequest]) (*connect.Response[v17.ReserveBeginExecuteResponse], error) { +func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[v171.ReserveBeginExecuteRequest]) (*connect.Response[v171.ReserveBeginExecuteResponse], error) { return c.reserveBeginExecute.CallUnary(ctx, req) } // ReserveStreamExecute calls queryservice.Query.ReserveStreamExecute. -func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[v17.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v17.ReserveStreamExecuteResponse], error) { +func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[v171.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v171.ReserveStreamExecuteResponse], error) { return c.reserveStreamExecute.CallServerStream(ctx, req) } // ReserveBeginStreamExecute calls queryservice.Query.ReserveBeginStreamExecute. -func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[v17.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v17.ReserveBeginStreamExecuteResponse], error) { +func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[v171.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v171.ReserveBeginStreamExecuteResponse], error) { return c.reserveBeginStreamExecute.CallServerStream(ctx, req) } // Release calls queryservice.Query.Release. -func (c *queryClient) Release(ctx context.Context, req *connect.Request[v17.ReleaseRequest]) (*connect.Response[v17.ReleaseResponse], error) { +func (c *queryClient) Release(ctx context.Context, req *connect.Request[v171.ReleaseRequest]) (*connect.Response[v171.ReleaseResponse], error) { return c.release.CallUnary(ctx, req) } // StreamHealth calls queryservice.Query.StreamHealth. -func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[v17.StreamHealthRequest]) (*connect.ServerStreamForClient[v17.StreamHealthResponse], error) { +func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[v171.StreamHealthRequest]) (*connect.ServerStreamForClient[v171.StreamHealthResponse], error) { return c.streamHealth.CallServerStream(ctx, req) } // VStream calls queryservice.Query.VStream. -func (c *queryClient) VStream(ctx context.Context, req *connect.Request[v171.VStreamRequest]) (*connect.ServerStreamForClient[v171.VStreamResponse], error) { +func (c *queryClient) VStream(ctx context.Context, req *connect.Request[v172.VStreamRequest]) (*connect.ServerStreamForClient[v172.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // VStreamRows calls queryservice.Query.VStreamRows. -func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[v171.VStreamRowsRequest]) (*connect.ServerStreamForClient[v171.VStreamRowsResponse], error) { +func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[v172.VStreamRowsRequest]) (*connect.ServerStreamForClient[v172.VStreamRowsResponse], error) { return c.vStreamRows.CallServerStream(ctx, req) } // VStreamResults calls queryservice.Query.VStreamResults. -func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[v171.VStreamResultsRequest]) (*connect.ServerStreamForClient[v171.VStreamResultsResponse], error) { +func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[v172.VStreamResultsRequest]) (*connect.ServerStreamForClient[v172.VStreamResultsResponse], error) { return c.vStreamResults.CallServerStream(ctx, req) } // GetSchema calls queryservice.Query.GetSchema. -func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v17.GetSchemaRequest]) (*connect.ServerStreamForClient[v17.GetSchemaResponse], error) { +func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v171.GetSchemaRequest]) (*connect.ServerStreamForClient[v171.GetSchemaResponse], error) { return c.getSchema.CallServerStream(ctx, req) } @@ -493,63 +552,63 @@ func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v17.Ge type QueryHandler interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[v17.StreamExecuteRequest], *connect.ServerStream[v17.StreamExecuteResponse]) error + StreamExecute(context.Context, *connect.Request[v171.StreamExecuteRequest], *connect.ServerStream[v171.StreamExecuteResponse]) error // Begin a transaction. - Begin(context.Context, *connect.Request[v17.BeginRequest]) (*connect.Response[v17.BeginResponse], error) + Begin(context.Context, *connect.Request[v171.BeginRequest]) (*connect.Response[v171.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[v17.CommitRequest]) (*connect.Response[v17.CommitResponse], error) + Commit(context.Context, *connect.Request[v171.CommitRequest]) (*connect.Response[v171.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[v17.RollbackRequest]) (*connect.Response[v17.RollbackResponse], error) + Rollback(context.Context, *connect.Request[v171.RollbackRequest]) (*connect.Response[v171.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[v17.CommitPreparedRequest]) (*connect.Response[v17.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[v171.CommitPreparedRequest]) (*connect.Response[v171.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[v17.RollbackPreparedRequest]) (*connect.Response[v17.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[v171.RollbackPreparedRequest]) (*connect.Response[v171.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[v17.CreateTransactionRequest]) (*connect.Response[v17.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[v171.CreateTransactionRequest]) (*connect.Response[v171.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[v17.StartCommitRequest]) (*connect.Response[v17.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[v171.StartCommitRequest]) (*connect.Response[v171.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[v17.SetRollbackRequest]) (*connect.Response[v17.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[v171.SetRollbackRequest]) (*connect.Response[v171.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[v17.ConcludeTransactionRequest]) (*connect.Response[v17.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[v171.ConcludeTransactionRequest]) (*connect.Response[v171.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[v17.ReadTransactionRequest]) (*connect.Response[v17.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[v171.ReadTransactionRequest]) (*connect.Response[v171.ReadTransactionResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[v17.BeginExecuteRequest]) (*connect.Response[v17.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[v171.BeginExecuteRequest]) (*connect.Response[v171.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[v17.BeginStreamExecuteRequest], *connect.ServerStream[v17.BeginStreamExecuteResponse]) error + BeginStreamExecute(context.Context, *connect.Request[v171.BeginStreamExecuteRequest], *connect.ServerStream[v171.BeginStreamExecuteResponse]) error // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[v17.MessageStreamRequest], *connect.ServerStream[v17.MessageStreamResponse]) error + MessageStream(context.Context, *connect.Request[v171.MessageStreamRequest], *connect.ServerStream[v171.MessageStreamResponse]) error // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[v17.MessageAckRequest]) (*connect.Response[v17.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[v171.MessageAckRequest]) (*connect.Response[v171.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[v17.ReserveExecuteRequest]) (*connect.Response[v17.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[v171.ReserveExecuteRequest]) (*connect.Response[v171.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[v17.ReserveBeginExecuteRequest]) (*connect.Response[v17.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[v171.ReserveBeginExecuteRequest]) (*connect.Response[v171.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[v17.ReserveStreamExecuteRequest], *connect.ServerStream[v17.ReserveStreamExecuteResponse]) error + ReserveStreamExecute(context.Context, *connect.Request[v171.ReserveStreamExecuteRequest], *connect.ServerStream[v171.ReserveStreamExecuteResponse]) error // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[v17.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v17.ReserveBeginStreamExecuteResponse]) error + ReserveBeginStreamExecute(context.Context, *connect.Request[v171.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v171.ReserveBeginStreamExecuteResponse]) error // Release releases the connection - Release(context.Context, *connect.Request[v17.ReleaseRequest]) (*connect.Response[v17.ReleaseResponse], error) + Release(context.Context, *connect.Request[v171.ReleaseRequest]) (*connect.Response[v171.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[v17.StreamHealthRequest], *connect.ServerStream[v17.StreamHealthResponse]) error + StreamHealth(context.Context, *connect.Request[v171.StreamHealthRequest], *connect.ServerStream[v171.StreamHealthResponse]) error // VStream streams vreplication events. - VStream(context.Context, *connect.Request[v171.VStreamRequest], *connect.ServerStream[v171.VStreamResponse]) error + VStream(context.Context, *connect.Request[v172.VStreamRequest], *connect.ServerStream[v172.VStreamResponse]) error // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[v171.VStreamRowsRequest], *connect.ServerStream[v171.VStreamRowsResponse]) error + VStreamRows(context.Context, *connect.Request[v172.VStreamRowsRequest], *connect.ServerStream[v172.VStreamRowsResponse]) error // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[v171.VStreamResultsRequest], *connect.ServerStream[v171.VStreamResultsResponse]) error + VStreamResults(context.Context, *connect.Request[v172.VStreamResultsRequest], *connect.ServerStream[v172.VStreamResultsResponse]) error // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest], *connect.ServerStream[v17.GetSchemaResponse]) error + GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest], *connect.ServerStream[v171.GetSchemaResponse]) error } // NewQueryHandler builds an HTTP handler from the service implementation. It returns the path on @@ -561,137 +620,164 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h queryExecuteHandler := connect.NewUnaryHandler( QueryExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamExecuteHandler := connect.NewServerStreamHandler( QueryStreamExecuteProcedure, svc.StreamExecute, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginHandler := connect.NewUnaryHandler( QueryBeginProcedure, svc.Begin, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitHandler := connect.NewUnaryHandler( QueryCommitProcedure, svc.Commit, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackHandler := connect.NewUnaryHandler( QueryRollbackProcedure, svc.Rollback, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryPrepareHandler := connect.NewUnaryHandler( QueryPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitPreparedHandler := connect.NewUnaryHandler( QueryCommitPreparedProcedure, svc.CommitPrepared, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackPreparedHandler := connect.NewUnaryHandler( QueryRollbackPreparedProcedure, svc.RollbackPrepared, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCreateTransactionHandler := connect.NewUnaryHandler( QueryCreateTransactionProcedure, svc.CreateTransaction, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStartCommitHandler := connect.NewUnaryHandler( QueryStartCommitProcedure, svc.StartCommit, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) querySetRollbackHandler := connect.NewUnaryHandler( QuerySetRollbackProcedure, svc.SetRollback, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryConcludeTransactionHandler := connect.NewUnaryHandler( QueryConcludeTransactionProcedure, svc.ConcludeTransaction, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReadTransactionHandler := connect.NewUnaryHandler( QueryReadTransactionProcedure, svc.ReadTransaction, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginExecuteHandler := connect.NewUnaryHandler( QueryBeginExecuteProcedure, svc.BeginExecute, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryBeginStreamExecuteProcedure, svc.BeginStreamExecute, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageStreamHandler := connect.NewServerStreamHandler( QueryMessageStreamProcedure, svc.MessageStream, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageAckHandler := connect.NewUnaryHandler( QueryMessageAckProcedure, svc.MessageAck, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveExecuteHandler := connect.NewUnaryHandler( QueryReserveExecuteProcedure, svc.ReserveExecute, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginExecuteHandler := connect.NewUnaryHandler( QueryReserveBeginExecuteProcedure, svc.ReserveBeginExecute, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveStreamExecuteProcedure, svc.ReserveStreamExecute, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveBeginStreamExecuteProcedure, svc.ReserveBeginStreamExecute, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReleaseHandler := connect.NewUnaryHandler( QueryReleaseProcedure, svc.Release, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamHealthHandler := connect.NewServerStreamHandler( QueryStreamHealthProcedure, svc.StreamHealth, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamHandler := connect.NewServerStreamHandler( QueryVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamRowsHandler := connect.NewServerStreamHandler( QueryVStreamRowsProcedure, svc.VStreamRows, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamResultsHandler := connect.NewServerStreamHandler( QueryVStreamResultsProcedure, svc.VStreamResults, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryGetSchemaHandler := connect.NewServerStreamHandler( QueryGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/queryservice.Query/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -758,110 +844,110 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h // UnimplementedQueryHandler returns CodeUnimplemented from all methods. type UnimplementedQueryHandler struct{} -func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) { +func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Execute is not implemented")) } -func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[v17.StreamExecuteRequest], *connect.ServerStream[v17.StreamExecuteResponse]) error { +func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[v171.StreamExecuteRequest], *connect.ServerStream[v171.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[v17.BeginRequest]) (*connect.Response[v17.BeginResponse], error) { +func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[v171.BeginRequest]) (*connect.Response[v171.BeginResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Begin is not implemented")) } -func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[v17.CommitRequest]) (*connect.Response[v17.CommitResponse], error) { +func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[v171.CommitRequest]) (*connect.Response[v171.CommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Commit is not implemented")) } -func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[v17.RollbackRequest]) (*connect.Response[v17.RollbackResponse], error) { +func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[v171.RollbackRequest]) (*connect.Response[v171.RollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Rollback is not implemented")) } -func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) { +func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Prepare is not implemented")) } -func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[v17.CommitPreparedRequest]) (*connect.Response[v17.CommitPreparedResponse], error) { +func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[v171.CommitPreparedRequest]) (*connect.Response[v171.CommitPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CommitPrepared is not implemented")) } -func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[v17.RollbackPreparedRequest]) (*connect.Response[v17.RollbackPreparedResponse], error) { +func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[v171.RollbackPreparedRequest]) (*connect.Response[v171.RollbackPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.RollbackPrepared is not implemented")) } -func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[v17.CreateTransactionRequest]) (*connect.Response[v17.CreateTransactionResponse], error) { +func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[v171.CreateTransactionRequest]) (*connect.Response[v171.CreateTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CreateTransaction is not implemented")) } -func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[v17.StartCommitRequest]) (*connect.Response[v17.StartCommitResponse], error) { +func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[v171.StartCommitRequest]) (*connect.Response[v171.StartCommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StartCommit is not implemented")) } -func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[v17.SetRollbackRequest]) (*connect.Response[v17.SetRollbackResponse], error) { +func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[v171.SetRollbackRequest]) (*connect.Response[v171.SetRollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.SetRollback is not implemented")) } -func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[v17.ConcludeTransactionRequest]) (*connect.Response[v17.ConcludeTransactionResponse], error) { +func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[v171.ConcludeTransactionRequest]) (*connect.Response[v171.ConcludeTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ConcludeTransaction is not implemented")) } -func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[v17.ReadTransactionRequest]) (*connect.Response[v17.ReadTransactionResponse], error) { +func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[v171.ReadTransactionRequest]) (*connect.Response[v171.ReadTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReadTransaction is not implemented")) } -func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[v17.BeginExecuteRequest]) (*connect.Response[v17.BeginExecuteResponse], error) { +func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[v171.BeginExecuteRequest]) (*connect.Response[v171.BeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginExecute is not implemented")) } -func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[v17.BeginStreamExecuteRequest], *connect.ServerStream[v17.BeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[v171.BeginStreamExecuteRequest], *connect.ServerStream[v171.BeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[v17.MessageStreamRequest], *connect.ServerStream[v17.MessageStreamResponse]) error { +func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[v171.MessageStreamRequest], *connect.ServerStream[v171.MessageStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageStream is not implemented")) } -func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[v17.MessageAckRequest]) (*connect.Response[v17.MessageAckResponse], error) { +func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[v171.MessageAckRequest]) (*connect.Response[v171.MessageAckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageAck is not implemented")) } -func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[v17.ReserveExecuteRequest]) (*connect.Response[v17.ReserveExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[v171.ReserveExecuteRequest]) (*connect.Response[v171.ReserveExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[v17.ReserveBeginExecuteRequest]) (*connect.Response[v17.ReserveBeginExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[v171.ReserveBeginExecuteRequest]) (*connect.Response[v171.ReserveBeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[v17.ReserveStreamExecuteRequest], *connect.ServerStream[v17.ReserveStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[v171.ReserveStreamExecuteRequest], *connect.ServerStream[v171.ReserveStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[v17.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v17.ReserveBeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[v171.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v171.ReserveBeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[v17.ReleaseRequest]) (*connect.Response[v17.ReleaseResponse], error) { +func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[v171.ReleaseRequest]) (*connect.Response[v171.ReleaseResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Release is not implemented")) } -func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[v17.StreamHealthRequest], *connect.ServerStream[v17.StreamHealthResponse]) error { +func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[v171.StreamHealthRequest], *connect.ServerStream[v171.StreamHealthResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamHealth is not implemented")) } -func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[v171.VStreamRequest], *connect.ServerStream[v171.VStreamResponse]) error { +func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[v172.VStreamRequest], *connect.ServerStream[v172.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStream is not implemented")) } -func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[v171.VStreamRowsRequest], *connect.ServerStream[v171.VStreamRowsResponse]) error { +func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[v172.VStreamRowsRequest], *connect.ServerStream[v172.VStreamRowsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamRows is not implemented")) } -func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[v171.VStreamResultsRequest], *connect.ServerStream[v171.VStreamResultsResponse]) error { +func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[v172.VStreamResultsRequest], *connect.ServerStream[v172.VStreamResultsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamResults is not implemented")) } -func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest], *connect.ServerStream[v17.GetSchemaResponse]) error { +func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest], *connect.ServerStream[v171.GetSchemaResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.GetSchema is not implemented")) } diff --git a/gen/vitess/queryservice/v18/queryservice.pb.go b/gen/vitess/queryservice/v18/queryservice.pb.go index 9cabf9d..a849d56 100644 --- a/gen/vitess/queryservice/v18/queryservice.pb.go +++ b/gen/vitess/queryservice/v18/queryservice.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/queryservice/v18/queryservice.proto @@ -235,7 +235,7 @@ var file_vitess_queryservice_v18_queryservice_proto_rawDesc = []byte{ 0x69, 0x63, 0x65, 0x76, 0x31, 0x38, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_queryservice_v18_queryservice_proto_goTypes = []interface{}{ +var file_vitess_queryservice_v18_queryservice_proto_goTypes = []any{ (*v18.ExecuteRequest)(nil), // 0: vitess.query.v18.ExecuteRequest (*v18.StreamExecuteRequest)(nil), // 1: vitess.query.v18.StreamExecuteRequest (*v18.BeginRequest)(nil), // 2: vitess.query.v18.BeginRequest diff --git a/gen/vitess/queryservice/v18/queryservicev18connect/queryservice.connect.go b/gen/vitess/queryservice/v18/queryservicev18connect/queryservice.connect.go index bca3e52..afcb758 100644 --- a/gen/vitess/queryservice/v18/queryservicev18connect/queryservice.connect.go +++ b/gen/vitess/queryservice/v18/queryservicev18connect/queryservice.connect.go @@ -24,9 +24,9 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v181 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v18" - v18 "github.com/planetscale/vitess-types/gen/vitess/query/v18" - _ "github.com/planetscale/vitess-types/gen/vitess/queryservice/v18" + v182 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v18" + v181 "github.com/planetscale/vitess-types/gen/vitess/query/v18" + v18 "github.com/planetscale/vitess-types/gen/vitess/queryservice/v18" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // QueryName is the fully-qualified name of the Query service. @@ -114,69 +114,102 @@ const ( QueryGetSchemaProcedure = "/queryservice.Query/GetSchema" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + queryServiceDescriptor = v18.File_vitess_queryservice_v18_queryservice_proto.Services().ByName("Query") + queryExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("Execute") + queryStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamExecute") + queryBeginMethodDescriptor = queryServiceDescriptor.Methods().ByName("Begin") + queryCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("Commit") + queryRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("Rollback") + queryPrepareMethodDescriptor = queryServiceDescriptor.Methods().ByName("Prepare") + queryCommitPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("CommitPrepared") + queryRollbackPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("RollbackPrepared") + queryCreateTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("CreateTransaction") + queryStartCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("StartCommit") + querySetRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("SetRollback") + queryConcludeTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ConcludeTransaction") + queryReadTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReadTransaction") + queryBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginExecute") + queryBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginStreamExecute") + queryMessageStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageStream") + queryMessageAckMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageAck") + queryReserveExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveExecute") + queryReserveBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginExecute") + queryReserveStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveStreamExecute") + queryReserveBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginStreamExecute") + queryReleaseMethodDescriptor = queryServiceDescriptor.Methods().ByName("Release") + queryStreamHealthMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamHealth") + queryVStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStream") + queryVStreamRowsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamRows") + queryVStreamTablesMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamTables") + queryVStreamResultsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamResults") + queryGetSchemaMethodDescriptor = queryServiceDescriptor.Methods().ByName("GetSchema") +) + // QueryClient is a client for the queryservice.Query service. type QueryClient interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[v18.StreamExecuteRequest]) (*connect.ServerStreamForClient[v18.StreamExecuteResponse], error) + StreamExecute(context.Context, *connect.Request[v181.StreamExecuteRequest]) (*connect.ServerStreamForClient[v181.StreamExecuteResponse], error) // Begin a transaction. - Begin(context.Context, *connect.Request[v18.BeginRequest]) (*connect.Response[v18.BeginResponse], error) + Begin(context.Context, *connect.Request[v181.BeginRequest]) (*connect.Response[v181.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[v18.CommitRequest]) (*connect.Response[v18.CommitResponse], error) + Commit(context.Context, *connect.Request[v181.CommitRequest]) (*connect.Response[v181.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[v18.RollbackRequest]) (*connect.Response[v18.RollbackResponse], error) + Rollback(context.Context, *connect.Request[v181.RollbackRequest]) (*connect.Response[v181.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[v18.CommitPreparedRequest]) (*connect.Response[v18.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[v181.CommitPreparedRequest]) (*connect.Response[v181.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[v18.RollbackPreparedRequest]) (*connect.Response[v18.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[v181.RollbackPreparedRequest]) (*connect.Response[v181.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[v18.CreateTransactionRequest]) (*connect.Response[v18.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[v181.CreateTransactionRequest]) (*connect.Response[v181.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[v18.StartCommitRequest]) (*connect.Response[v18.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[v181.StartCommitRequest]) (*connect.Response[v181.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[v18.SetRollbackRequest]) (*connect.Response[v18.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[v181.SetRollbackRequest]) (*connect.Response[v181.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[v18.ConcludeTransactionRequest]) (*connect.Response[v18.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[v181.ConcludeTransactionRequest]) (*connect.Response[v181.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[v18.ReadTransactionRequest]) (*connect.Response[v18.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[v181.ReadTransactionRequest]) (*connect.Response[v181.ReadTransactionResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[v18.BeginExecuteRequest]) (*connect.Response[v18.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[v181.BeginExecuteRequest]) (*connect.Response[v181.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[v18.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v18.BeginStreamExecuteResponse], error) + BeginStreamExecute(context.Context, *connect.Request[v181.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v181.BeginStreamExecuteResponse], error) // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[v18.MessageStreamRequest]) (*connect.ServerStreamForClient[v18.MessageStreamResponse], error) + MessageStream(context.Context, *connect.Request[v181.MessageStreamRequest]) (*connect.ServerStreamForClient[v181.MessageStreamResponse], error) // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[v18.MessageAckRequest]) (*connect.Response[v18.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[v181.MessageAckRequest]) (*connect.Response[v181.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[v18.ReserveExecuteRequest]) (*connect.Response[v18.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[v181.ReserveExecuteRequest]) (*connect.Response[v181.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[v18.ReserveBeginExecuteRequest]) (*connect.Response[v18.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[v181.ReserveBeginExecuteRequest]) (*connect.Response[v181.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[v18.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v18.ReserveStreamExecuteResponse], error) + ReserveStreamExecute(context.Context, *connect.Request[v181.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v181.ReserveStreamExecuteResponse], error) // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[v18.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v18.ReserveBeginStreamExecuteResponse], error) + ReserveBeginStreamExecute(context.Context, *connect.Request[v181.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v181.ReserveBeginStreamExecuteResponse], error) // Release releases the connection - Release(context.Context, *connect.Request[v18.ReleaseRequest]) (*connect.Response[v18.ReleaseResponse], error) + Release(context.Context, *connect.Request[v181.ReleaseRequest]) (*connect.Response[v181.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[v18.StreamHealthRequest]) (*connect.ServerStreamForClient[v18.StreamHealthResponse], error) + StreamHealth(context.Context, *connect.Request[v181.StreamHealthRequest]) (*connect.ServerStreamForClient[v181.StreamHealthResponse], error) // VStream streams vreplication events. - VStream(context.Context, *connect.Request[v181.VStreamRequest]) (*connect.ServerStreamForClient[v181.VStreamResponse], error) + VStream(context.Context, *connect.Request[v182.VStreamRequest]) (*connect.ServerStreamForClient[v182.VStreamResponse], error) // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[v181.VStreamRowsRequest]) (*connect.ServerStreamForClient[v181.VStreamRowsResponse], error) + VStreamRows(context.Context, *connect.Request[v182.VStreamRowsRequest]) (*connect.ServerStreamForClient[v182.VStreamRowsResponse], error) // VStreamTables streams rows from the specified starting point. - VStreamTables(context.Context, *connect.Request[v181.VStreamTablesRequest]) (*connect.ServerStreamForClient[v181.VStreamTablesResponse], error) + VStreamTables(context.Context, *connect.Request[v182.VStreamTablesRequest]) (*connect.ServerStreamForClient[v182.VStreamTablesResponse], error) // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[v181.VStreamResultsRequest]) (*connect.ServerStreamForClient[v181.VStreamResultsResponse], error) + VStreamResults(context.Context, *connect.Request[v182.VStreamResultsRequest]) (*connect.ServerStreamForClient[v182.VStreamResultsResponse], error) // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest]) (*connect.ServerStreamForClient[v18.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest]) (*connect.ServerStreamForClient[v181.GetSchemaResponse], error) } // NewQueryClient constructs a client for the queryservice.Query service. By default, it @@ -189,318 +222,346 @@ type QueryClient interface { func NewQueryClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) QueryClient { baseURL = strings.TrimRight(baseURL, "/") return &queryClient{ - execute: connect.NewClient[v18.ExecuteRequest, v18.ExecuteResponse]( + execute: connect.NewClient[v181.ExecuteRequest, v181.ExecuteResponse]( httpClient, baseURL+QueryExecuteProcedure, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[v18.StreamExecuteRequest, v18.StreamExecuteResponse]( + streamExecute: connect.NewClient[v181.StreamExecuteRequest, v181.StreamExecuteResponse]( httpClient, baseURL+QueryStreamExecuteProcedure, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - begin: connect.NewClient[v18.BeginRequest, v18.BeginResponse]( + begin: connect.NewClient[v181.BeginRequest, v181.BeginResponse]( httpClient, baseURL+QueryBeginProcedure, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithClientOptions(opts...), ), - commit: connect.NewClient[v18.CommitRequest, v18.CommitResponse]( + commit: connect.NewClient[v181.CommitRequest, v181.CommitResponse]( httpClient, baseURL+QueryCommitProcedure, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollback: connect.NewClient[v18.RollbackRequest, v18.RollbackResponse]( + rollback: connect.NewClient[v181.RollbackRequest, v181.RollbackResponse]( httpClient, baseURL+QueryRollbackProcedure, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[v18.PrepareRequest, v18.PrepareResponse]( + prepare: connect.NewClient[v181.PrepareRequest, v181.PrepareResponse]( httpClient, baseURL+QueryPrepareProcedure, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - commitPrepared: connect.NewClient[v18.CommitPreparedRequest, v18.CommitPreparedResponse]( + commitPrepared: connect.NewClient[v181.CommitPreparedRequest, v181.CommitPreparedResponse]( httpClient, baseURL+QueryCommitPreparedProcedure, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - rollbackPrepared: connect.NewClient[v18.RollbackPreparedRequest, v18.RollbackPreparedResponse]( + rollbackPrepared: connect.NewClient[v181.RollbackPreparedRequest, v181.RollbackPreparedResponse]( httpClient, baseURL+QueryRollbackPreparedProcedure, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithClientOptions(opts...), ), - createTransaction: connect.NewClient[v18.CreateTransactionRequest, v18.CreateTransactionResponse]( + createTransaction: connect.NewClient[v181.CreateTransactionRequest, v181.CreateTransactionResponse]( httpClient, baseURL+QueryCreateTransactionProcedure, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - startCommit: connect.NewClient[v18.StartCommitRequest, v18.StartCommitResponse]( + startCommit: connect.NewClient[v181.StartCommitRequest, v181.StartCommitResponse]( httpClient, baseURL+QueryStartCommitProcedure, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithClientOptions(opts...), ), - setRollback: connect.NewClient[v18.SetRollbackRequest, v18.SetRollbackResponse]( + setRollback: connect.NewClient[v181.SetRollbackRequest, v181.SetRollbackResponse]( httpClient, baseURL+QuerySetRollbackProcedure, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithClientOptions(opts...), ), - concludeTransaction: connect.NewClient[v18.ConcludeTransactionRequest, v18.ConcludeTransactionResponse]( + concludeTransaction: connect.NewClient[v181.ConcludeTransactionRequest, v181.ConcludeTransactionResponse]( httpClient, baseURL+QueryConcludeTransactionProcedure, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - readTransaction: connect.NewClient[v18.ReadTransactionRequest, v18.ReadTransactionResponse]( + readTransaction: connect.NewClient[v181.ReadTransactionRequest, v181.ReadTransactionResponse]( httpClient, baseURL+QueryReadTransactionProcedure, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginExecute: connect.NewClient[v18.BeginExecuteRequest, v18.BeginExecuteResponse]( + beginExecute: connect.NewClient[v181.BeginExecuteRequest, v181.BeginExecuteResponse]( httpClient, baseURL+QueryBeginExecuteProcedure, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - beginStreamExecute: connect.NewClient[v18.BeginStreamExecuteRequest, v18.BeginStreamExecuteResponse]( + beginStreamExecute: connect.NewClient[v181.BeginStreamExecuteRequest, v181.BeginStreamExecuteResponse]( httpClient, baseURL+QueryBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageStream: connect.NewClient[v18.MessageStreamRequest, v18.MessageStreamResponse]( + messageStream: connect.NewClient[v181.MessageStreamRequest, v181.MessageStreamResponse]( httpClient, baseURL+QueryMessageStreamProcedure, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - messageAck: connect.NewClient[v18.MessageAckRequest, v18.MessageAckResponse]( + messageAck: connect.NewClient[v181.MessageAckRequest, v181.MessageAckResponse]( httpClient, baseURL+QueryMessageAckProcedure, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveExecute: connect.NewClient[v18.ReserveExecuteRequest, v18.ReserveExecuteResponse]( + reserveExecute: connect.NewClient[v181.ReserveExecuteRequest, v181.ReserveExecuteResponse]( httpClient, baseURL+QueryReserveExecuteProcedure, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginExecute: connect.NewClient[v18.ReserveBeginExecuteRequest, v18.ReserveBeginExecuteResponse]( + reserveBeginExecute: connect.NewClient[v181.ReserveBeginExecuteRequest, v181.ReserveBeginExecuteResponse]( httpClient, baseURL+QueryReserveBeginExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveStreamExecute: connect.NewClient[v18.ReserveStreamExecuteRequest, v18.ReserveStreamExecuteResponse]( + reserveStreamExecute: connect.NewClient[v181.ReserveStreamExecuteRequest, v181.ReserveStreamExecuteResponse]( httpClient, baseURL+QueryReserveStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - reserveBeginStreamExecute: connect.NewClient[v18.ReserveBeginStreamExecuteRequest, v18.ReserveBeginStreamExecuteResponse]( + reserveBeginStreamExecute: connect.NewClient[v181.ReserveBeginStreamExecuteRequest, v181.ReserveBeginStreamExecuteResponse]( httpClient, baseURL+QueryReserveBeginStreamExecuteProcedure, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - release: connect.NewClient[v18.ReleaseRequest, v18.ReleaseResponse]( + release: connect.NewClient[v181.ReleaseRequest, v181.ReleaseResponse]( httpClient, baseURL+QueryReleaseProcedure, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamHealth: connect.NewClient[v18.StreamHealthRequest, v18.StreamHealthResponse]( + streamHealth: connect.NewClient[v181.StreamHealthRequest, v181.StreamHealthResponse]( httpClient, baseURL+QueryStreamHealthProcedure, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStream: connect.NewClient[v181.VStreamRequest, v181.VStreamResponse]( + vStream: connect.NewClient[v182.VStreamRequest, v182.VStreamResponse]( httpClient, baseURL+QueryVStreamProcedure, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamRows: connect.NewClient[v181.VStreamRowsRequest, v181.VStreamRowsResponse]( + vStreamRows: connect.NewClient[v182.VStreamRowsRequest, v182.VStreamRowsResponse]( httpClient, baseURL+QueryVStreamRowsProcedure, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamTables: connect.NewClient[v181.VStreamTablesRequest, v181.VStreamTablesResponse]( + vStreamTables: connect.NewClient[v182.VStreamTablesRequest, v182.VStreamTablesResponse]( httpClient, baseURL+QueryVStreamTablesProcedure, - opts..., + connect.WithSchema(queryVStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStreamResults: connect.NewClient[v181.VStreamResultsRequest, v181.VStreamResultsResponse]( + vStreamResults: connect.NewClient[v182.VStreamResultsRequest, v182.VStreamResultsResponse]( httpClient, baseURL+QueryVStreamResultsProcedure, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v18.GetSchemaRequest, v18.GetSchemaResponse]( + getSchema: connect.NewClient[v181.GetSchemaRequest, v181.GetSchemaResponse]( httpClient, baseURL+QueryGetSchemaProcedure, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // queryClient implements QueryClient. type queryClient struct { - execute *connect.Client[v18.ExecuteRequest, v18.ExecuteResponse] - streamExecute *connect.Client[v18.StreamExecuteRequest, v18.StreamExecuteResponse] - begin *connect.Client[v18.BeginRequest, v18.BeginResponse] - commit *connect.Client[v18.CommitRequest, v18.CommitResponse] - rollback *connect.Client[v18.RollbackRequest, v18.RollbackResponse] - prepare *connect.Client[v18.PrepareRequest, v18.PrepareResponse] - commitPrepared *connect.Client[v18.CommitPreparedRequest, v18.CommitPreparedResponse] - rollbackPrepared *connect.Client[v18.RollbackPreparedRequest, v18.RollbackPreparedResponse] - createTransaction *connect.Client[v18.CreateTransactionRequest, v18.CreateTransactionResponse] - startCommit *connect.Client[v18.StartCommitRequest, v18.StartCommitResponse] - setRollback *connect.Client[v18.SetRollbackRequest, v18.SetRollbackResponse] - concludeTransaction *connect.Client[v18.ConcludeTransactionRequest, v18.ConcludeTransactionResponse] - readTransaction *connect.Client[v18.ReadTransactionRequest, v18.ReadTransactionResponse] - beginExecute *connect.Client[v18.BeginExecuteRequest, v18.BeginExecuteResponse] - beginStreamExecute *connect.Client[v18.BeginStreamExecuteRequest, v18.BeginStreamExecuteResponse] - messageStream *connect.Client[v18.MessageStreamRequest, v18.MessageStreamResponse] - messageAck *connect.Client[v18.MessageAckRequest, v18.MessageAckResponse] - reserveExecute *connect.Client[v18.ReserveExecuteRequest, v18.ReserveExecuteResponse] - reserveBeginExecute *connect.Client[v18.ReserveBeginExecuteRequest, v18.ReserveBeginExecuteResponse] - reserveStreamExecute *connect.Client[v18.ReserveStreamExecuteRequest, v18.ReserveStreamExecuteResponse] - reserveBeginStreamExecute *connect.Client[v18.ReserveBeginStreamExecuteRequest, v18.ReserveBeginStreamExecuteResponse] - release *connect.Client[v18.ReleaseRequest, v18.ReleaseResponse] - streamHealth *connect.Client[v18.StreamHealthRequest, v18.StreamHealthResponse] - vStream *connect.Client[v181.VStreamRequest, v181.VStreamResponse] - vStreamRows *connect.Client[v181.VStreamRowsRequest, v181.VStreamRowsResponse] - vStreamTables *connect.Client[v181.VStreamTablesRequest, v181.VStreamTablesResponse] - vStreamResults *connect.Client[v181.VStreamResultsRequest, v181.VStreamResultsResponse] - getSchema *connect.Client[v18.GetSchemaRequest, v18.GetSchemaResponse] + execute *connect.Client[v181.ExecuteRequest, v181.ExecuteResponse] + streamExecute *connect.Client[v181.StreamExecuteRequest, v181.StreamExecuteResponse] + begin *connect.Client[v181.BeginRequest, v181.BeginResponse] + commit *connect.Client[v181.CommitRequest, v181.CommitResponse] + rollback *connect.Client[v181.RollbackRequest, v181.RollbackResponse] + prepare *connect.Client[v181.PrepareRequest, v181.PrepareResponse] + commitPrepared *connect.Client[v181.CommitPreparedRequest, v181.CommitPreparedResponse] + rollbackPrepared *connect.Client[v181.RollbackPreparedRequest, v181.RollbackPreparedResponse] + createTransaction *connect.Client[v181.CreateTransactionRequest, v181.CreateTransactionResponse] + startCommit *connect.Client[v181.StartCommitRequest, v181.StartCommitResponse] + setRollback *connect.Client[v181.SetRollbackRequest, v181.SetRollbackResponse] + concludeTransaction *connect.Client[v181.ConcludeTransactionRequest, v181.ConcludeTransactionResponse] + readTransaction *connect.Client[v181.ReadTransactionRequest, v181.ReadTransactionResponse] + beginExecute *connect.Client[v181.BeginExecuteRequest, v181.BeginExecuteResponse] + beginStreamExecute *connect.Client[v181.BeginStreamExecuteRequest, v181.BeginStreamExecuteResponse] + messageStream *connect.Client[v181.MessageStreamRequest, v181.MessageStreamResponse] + messageAck *connect.Client[v181.MessageAckRequest, v181.MessageAckResponse] + reserveExecute *connect.Client[v181.ReserveExecuteRequest, v181.ReserveExecuteResponse] + reserveBeginExecute *connect.Client[v181.ReserveBeginExecuteRequest, v181.ReserveBeginExecuteResponse] + reserveStreamExecute *connect.Client[v181.ReserveStreamExecuteRequest, v181.ReserveStreamExecuteResponse] + reserveBeginStreamExecute *connect.Client[v181.ReserveBeginStreamExecuteRequest, v181.ReserveBeginStreamExecuteResponse] + release *connect.Client[v181.ReleaseRequest, v181.ReleaseResponse] + streamHealth *connect.Client[v181.StreamHealthRequest, v181.StreamHealthResponse] + vStream *connect.Client[v182.VStreamRequest, v182.VStreamResponse] + vStreamRows *connect.Client[v182.VStreamRowsRequest, v182.VStreamRowsResponse] + vStreamTables *connect.Client[v182.VStreamTablesRequest, v182.VStreamTablesResponse] + vStreamResults *connect.Client[v182.VStreamResultsRequest, v182.VStreamResultsResponse] + getSchema *connect.Client[v181.GetSchemaRequest, v181.GetSchemaResponse] } // Execute calls queryservice.Query.Execute. -func (c *queryClient) Execute(ctx context.Context, req *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) { +func (c *queryClient) Execute(ctx context.Context, req *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // StreamExecute calls queryservice.Query.StreamExecute. -func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[v18.StreamExecuteRequest]) (*connect.ServerStreamForClient[v18.StreamExecuteResponse], error) { +func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[v181.StreamExecuteRequest]) (*connect.ServerStreamForClient[v181.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } // Begin calls queryservice.Query.Begin. -func (c *queryClient) Begin(ctx context.Context, req *connect.Request[v18.BeginRequest]) (*connect.Response[v18.BeginResponse], error) { +func (c *queryClient) Begin(ctx context.Context, req *connect.Request[v181.BeginRequest]) (*connect.Response[v181.BeginResponse], error) { return c.begin.CallUnary(ctx, req) } // Commit calls queryservice.Query.Commit. -func (c *queryClient) Commit(ctx context.Context, req *connect.Request[v18.CommitRequest]) (*connect.Response[v18.CommitResponse], error) { +func (c *queryClient) Commit(ctx context.Context, req *connect.Request[v181.CommitRequest]) (*connect.Response[v181.CommitResponse], error) { return c.commit.CallUnary(ctx, req) } // Rollback calls queryservice.Query.Rollback. -func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[v18.RollbackRequest]) (*connect.Response[v18.RollbackResponse], error) { +func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[v181.RollbackRequest]) (*connect.Response[v181.RollbackResponse], error) { return c.rollback.CallUnary(ctx, req) } // Prepare calls queryservice.Query.Prepare. -func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) { +func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CommitPrepared calls queryservice.Query.CommitPrepared. -func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[v18.CommitPreparedRequest]) (*connect.Response[v18.CommitPreparedResponse], error) { +func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[v181.CommitPreparedRequest]) (*connect.Response[v181.CommitPreparedResponse], error) { return c.commitPrepared.CallUnary(ctx, req) } // RollbackPrepared calls queryservice.Query.RollbackPrepared. -func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[v18.RollbackPreparedRequest]) (*connect.Response[v18.RollbackPreparedResponse], error) { +func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[v181.RollbackPreparedRequest]) (*connect.Response[v181.RollbackPreparedResponse], error) { return c.rollbackPrepared.CallUnary(ctx, req) } // CreateTransaction calls queryservice.Query.CreateTransaction. -func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[v18.CreateTransactionRequest]) (*connect.Response[v18.CreateTransactionResponse], error) { +func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[v181.CreateTransactionRequest]) (*connect.Response[v181.CreateTransactionResponse], error) { return c.createTransaction.CallUnary(ctx, req) } // StartCommit calls queryservice.Query.StartCommit. -func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[v18.StartCommitRequest]) (*connect.Response[v18.StartCommitResponse], error) { +func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[v181.StartCommitRequest]) (*connect.Response[v181.StartCommitResponse], error) { return c.startCommit.CallUnary(ctx, req) } // SetRollback calls queryservice.Query.SetRollback. -func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[v18.SetRollbackRequest]) (*connect.Response[v18.SetRollbackResponse], error) { +func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[v181.SetRollbackRequest]) (*connect.Response[v181.SetRollbackResponse], error) { return c.setRollback.CallUnary(ctx, req) } // ConcludeTransaction calls queryservice.Query.ConcludeTransaction. -func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[v18.ConcludeTransactionRequest]) (*connect.Response[v18.ConcludeTransactionResponse], error) { +func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[v181.ConcludeTransactionRequest]) (*connect.Response[v181.ConcludeTransactionResponse], error) { return c.concludeTransaction.CallUnary(ctx, req) } // ReadTransaction calls queryservice.Query.ReadTransaction. -func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[v18.ReadTransactionRequest]) (*connect.Response[v18.ReadTransactionResponse], error) { +func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[v181.ReadTransactionRequest]) (*connect.Response[v181.ReadTransactionResponse], error) { return c.readTransaction.CallUnary(ctx, req) } // BeginExecute calls queryservice.Query.BeginExecute. -func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[v18.BeginExecuteRequest]) (*connect.Response[v18.BeginExecuteResponse], error) { +func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[v181.BeginExecuteRequest]) (*connect.Response[v181.BeginExecuteResponse], error) { return c.beginExecute.CallUnary(ctx, req) } // BeginStreamExecute calls queryservice.Query.BeginStreamExecute. -func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[v18.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v18.BeginStreamExecuteResponse], error) { +func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[v181.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v181.BeginStreamExecuteResponse], error) { return c.beginStreamExecute.CallServerStream(ctx, req) } // MessageStream calls queryservice.Query.MessageStream. -func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[v18.MessageStreamRequest]) (*connect.ServerStreamForClient[v18.MessageStreamResponse], error) { +func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[v181.MessageStreamRequest]) (*connect.ServerStreamForClient[v181.MessageStreamResponse], error) { return c.messageStream.CallServerStream(ctx, req) } // MessageAck calls queryservice.Query.MessageAck. -func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[v18.MessageAckRequest]) (*connect.Response[v18.MessageAckResponse], error) { +func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[v181.MessageAckRequest]) (*connect.Response[v181.MessageAckResponse], error) { return c.messageAck.CallUnary(ctx, req) } // ReserveExecute calls queryservice.Query.ReserveExecute. -func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[v18.ReserveExecuteRequest]) (*connect.Response[v18.ReserveExecuteResponse], error) { +func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[v181.ReserveExecuteRequest]) (*connect.Response[v181.ReserveExecuteResponse], error) { return c.reserveExecute.CallUnary(ctx, req) } // ReserveBeginExecute calls queryservice.Query.ReserveBeginExecute. -func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[v18.ReserveBeginExecuteRequest]) (*connect.Response[v18.ReserveBeginExecuteResponse], error) { +func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[v181.ReserveBeginExecuteRequest]) (*connect.Response[v181.ReserveBeginExecuteResponse], error) { return c.reserveBeginExecute.CallUnary(ctx, req) } // ReserveStreamExecute calls queryservice.Query.ReserveStreamExecute. -func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[v18.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v18.ReserveStreamExecuteResponse], error) { +func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[v181.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v181.ReserveStreamExecuteResponse], error) { return c.reserveStreamExecute.CallServerStream(ctx, req) } // ReserveBeginStreamExecute calls queryservice.Query.ReserveBeginStreamExecute. -func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[v18.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v18.ReserveBeginStreamExecuteResponse], error) { +func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[v181.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v181.ReserveBeginStreamExecuteResponse], error) { return c.reserveBeginStreamExecute.CallServerStream(ctx, req) } // Release calls queryservice.Query.Release. -func (c *queryClient) Release(ctx context.Context, req *connect.Request[v18.ReleaseRequest]) (*connect.Response[v18.ReleaseResponse], error) { +func (c *queryClient) Release(ctx context.Context, req *connect.Request[v181.ReleaseRequest]) (*connect.Response[v181.ReleaseResponse], error) { return c.release.CallUnary(ctx, req) } // StreamHealth calls queryservice.Query.StreamHealth. -func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[v18.StreamHealthRequest]) (*connect.ServerStreamForClient[v18.StreamHealthResponse], error) { +func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[v181.StreamHealthRequest]) (*connect.ServerStreamForClient[v181.StreamHealthResponse], error) { return c.streamHealth.CallServerStream(ctx, req) } // VStream calls queryservice.Query.VStream. -func (c *queryClient) VStream(ctx context.Context, req *connect.Request[v181.VStreamRequest]) (*connect.ServerStreamForClient[v181.VStreamResponse], error) { +func (c *queryClient) VStream(ctx context.Context, req *connect.Request[v182.VStreamRequest]) (*connect.ServerStreamForClient[v182.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // VStreamRows calls queryservice.Query.VStreamRows. -func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[v181.VStreamRowsRequest]) (*connect.ServerStreamForClient[v181.VStreamRowsResponse], error) { +func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[v182.VStreamRowsRequest]) (*connect.ServerStreamForClient[v182.VStreamRowsResponse], error) { return c.vStreamRows.CallServerStream(ctx, req) } // VStreamTables calls queryservice.Query.VStreamTables. -func (c *queryClient) VStreamTables(ctx context.Context, req *connect.Request[v181.VStreamTablesRequest]) (*connect.ServerStreamForClient[v181.VStreamTablesResponse], error) { +func (c *queryClient) VStreamTables(ctx context.Context, req *connect.Request[v182.VStreamTablesRequest]) (*connect.ServerStreamForClient[v182.VStreamTablesResponse], error) { return c.vStreamTables.CallServerStream(ctx, req) } // VStreamResults calls queryservice.Query.VStreamResults. -func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[v181.VStreamResultsRequest]) (*connect.ServerStreamForClient[v181.VStreamResultsResponse], error) { +func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[v182.VStreamResultsRequest]) (*connect.ServerStreamForClient[v182.VStreamResultsResponse], error) { return c.vStreamResults.CallServerStream(ctx, req) } // GetSchema calls queryservice.Query.GetSchema. -func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v18.GetSchemaRequest]) (*connect.ServerStreamForClient[v18.GetSchemaResponse], error) { +func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v181.GetSchemaRequest]) (*connect.ServerStreamForClient[v181.GetSchemaResponse], error) { return c.getSchema.CallServerStream(ctx, req) } @@ -508,65 +569,65 @@ func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v18.Ge type QueryHandler interface { // Execute executes the specified SQL query (might be in a // transaction context, if Query.transaction_id is set). - Execute(context.Context, *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) // StreamExecute executes a streaming query. Use this method if the // query returns a large number of rows. The first QueryResult will // contain the Fields, subsequent QueryResult messages will contain // the rows. - StreamExecute(context.Context, *connect.Request[v18.StreamExecuteRequest], *connect.ServerStream[v18.StreamExecuteResponse]) error + StreamExecute(context.Context, *connect.Request[v181.StreamExecuteRequest], *connect.ServerStream[v181.StreamExecuteResponse]) error // Begin a transaction. - Begin(context.Context, *connect.Request[v18.BeginRequest]) (*connect.Response[v18.BeginResponse], error) + Begin(context.Context, *connect.Request[v181.BeginRequest]) (*connect.Response[v181.BeginResponse], error) // Commit a transaction. - Commit(context.Context, *connect.Request[v18.CommitRequest]) (*connect.Response[v18.CommitResponse], error) + Commit(context.Context, *connect.Request[v181.CommitRequest]) (*connect.Response[v181.CommitResponse], error) // Rollback a transaction. - Rollback(context.Context, *connect.Request[v18.RollbackRequest]) (*connect.Response[v18.RollbackResponse], error) + Rollback(context.Context, *connect.Request[v181.RollbackRequest]) (*connect.Response[v181.RollbackResponse], error) // Prepare preares a transaction. - Prepare(context.Context, *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) // CommitPrepared commits a prepared transaction. - CommitPrepared(context.Context, *connect.Request[v18.CommitPreparedRequest]) (*connect.Response[v18.CommitPreparedResponse], error) + CommitPrepared(context.Context, *connect.Request[v181.CommitPreparedRequest]) (*connect.Response[v181.CommitPreparedResponse], error) // RollbackPrepared rolls back a prepared transaction. - RollbackPrepared(context.Context, *connect.Request[v18.RollbackPreparedRequest]) (*connect.Response[v18.RollbackPreparedResponse], error) + RollbackPrepared(context.Context, *connect.Request[v181.RollbackPreparedRequest]) (*connect.Response[v181.RollbackPreparedResponse], error) // CreateTransaction creates the metadata for a 2pc transaction. - CreateTransaction(context.Context, *connect.Request[v18.CreateTransactionRequest]) (*connect.Response[v18.CreateTransactionResponse], error) + CreateTransaction(context.Context, *connect.Request[v181.CreateTransactionRequest]) (*connect.Response[v181.CreateTransactionResponse], error) // StartCommit initiates a commit for a 2pc transaction. - StartCommit(context.Context, *connect.Request[v18.StartCommitRequest]) (*connect.Response[v18.StartCommitResponse], error) + StartCommit(context.Context, *connect.Request[v181.StartCommitRequest]) (*connect.Response[v181.StartCommitResponse], error) // SetRollback marks the 2pc transaction for rollback. - SetRollback(context.Context, *connect.Request[v18.SetRollbackRequest]) (*connect.Response[v18.SetRollbackResponse], error) + SetRollback(context.Context, *connect.Request[v181.SetRollbackRequest]) (*connect.Response[v181.SetRollbackResponse], error) // ConcludeTransaction marks the 2pc transaction as resolved. - ConcludeTransaction(context.Context, *connect.Request[v18.ConcludeTransactionRequest]) (*connect.Response[v18.ConcludeTransactionResponse], error) + ConcludeTransaction(context.Context, *connect.Request[v181.ConcludeTransactionRequest]) (*connect.Response[v181.ConcludeTransactionResponse], error) // ReadTransaction returns the 2pc transaction info. - ReadTransaction(context.Context, *connect.Request[v18.ReadTransactionRequest]) (*connect.Response[v18.ReadTransactionResponse], error) + ReadTransaction(context.Context, *connect.Request[v181.ReadTransactionRequest]) (*connect.Response[v181.ReadTransactionResponse], error) // BeginExecute executes a begin and the specified SQL query. - BeginExecute(context.Context, *connect.Request[v18.BeginExecuteRequest]) (*connect.Response[v18.BeginExecuteResponse], error) + BeginExecute(context.Context, *connect.Request[v181.BeginExecuteRequest]) (*connect.Response[v181.BeginExecuteResponse], error) // BeginStreamExecute executes a begin and the specified SQL query. - BeginStreamExecute(context.Context, *connect.Request[v18.BeginStreamExecuteRequest], *connect.ServerStream[v18.BeginStreamExecuteResponse]) error + BeginStreamExecute(context.Context, *connect.Request[v181.BeginStreamExecuteRequest], *connect.ServerStream[v181.BeginStreamExecuteResponse]) error // MessageStream streams messages from a message table. - MessageStream(context.Context, *connect.Request[v18.MessageStreamRequest], *connect.ServerStream[v18.MessageStreamResponse]) error + MessageStream(context.Context, *connect.Request[v181.MessageStreamRequest], *connect.ServerStream[v181.MessageStreamResponse]) error // MessageAck acks messages for a table. - MessageAck(context.Context, *connect.Request[v18.MessageAckRequest]) (*connect.Response[v18.MessageAckResponse], error) + MessageAck(context.Context, *connect.Request[v181.MessageAckRequest]) (*connect.Response[v181.MessageAckResponse], error) // ReserveExecute executes a query on a reserved connection - ReserveExecute(context.Context, *connect.Request[v18.ReserveExecuteRequest]) (*connect.Response[v18.ReserveExecuteResponse], error) + ReserveExecute(context.Context, *connect.Request[v181.ReserveExecuteRequest]) (*connect.Response[v181.ReserveExecuteResponse], error) // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection - ReserveBeginExecute(context.Context, *connect.Request[v18.ReserveBeginExecuteRequest]) (*connect.Response[v18.ReserveBeginExecuteResponse], error) + ReserveBeginExecute(context.Context, *connect.Request[v181.ReserveBeginExecuteRequest]) (*connect.Response[v181.ReserveBeginExecuteResponse], error) // ReserveStreamExecute executes a streaming query on a reserved connection - ReserveStreamExecute(context.Context, *connect.Request[v18.ReserveStreamExecuteRequest], *connect.ServerStream[v18.ReserveStreamExecuteResponse]) error + ReserveStreamExecute(context.Context, *connect.Request[v181.ReserveStreamExecuteRequest], *connect.ServerStream[v181.ReserveStreamExecuteResponse]) error // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection - ReserveBeginStreamExecute(context.Context, *connect.Request[v18.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v18.ReserveBeginStreamExecuteResponse]) error + ReserveBeginStreamExecute(context.Context, *connect.Request[v181.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v181.ReserveBeginStreamExecuteResponse]) error // Release releases the connection - Release(context.Context, *connect.Request[v18.ReleaseRequest]) (*connect.Response[v18.ReleaseResponse], error) + Release(context.Context, *connect.Request[v181.ReleaseRequest]) (*connect.Response[v181.ReleaseResponse], error) // StreamHealth runs a streaming RPC to the tablet, that returns the // current health of the tablet on a regular basis. - StreamHealth(context.Context, *connect.Request[v18.StreamHealthRequest], *connect.ServerStream[v18.StreamHealthResponse]) error + StreamHealth(context.Context, *connect.Request[v181.StreamHealthRequest], *connect.ServerStream[v181.StreamHealthResponse]) error // VStream streams vreplication events. - VStream(context.Context, *connect.Request[v181.VStreamRequest], *connect.ServerStream[v181.VStreamResponse]) error + VStream(context.Context, *connect.Request[v182.VStreamRequest], *connect.ServerStream[v182.VStreamResponse]) error // VStreamRows streams rows from the specified starting point. - VStreamRows(context.Context, *connect.Request[v181.VStreamRowsRequest], *connect.ServerStream[v181.VStreamRowsResponse]) error + VStreamRows(context.Context, *connect.Request[v182.VStreamRowsRequest], *connect.ServerStream[v182.VStreamRowsResponse]) error // VStreamTables streams rows from the specified starting point. - VStreamTables(context.Context, *connect.Request[v181.VStreamTablesRequest], *connect.ServerStream[v181.VStreamTablesResponse]) error + VStreamTables(context.Context, *connect.Request[v182.VStreamTablesRequest], *connect.ServerStream[v182.VStreamTablesResponse]) error // VStreamResults streams results along with the gtid of the snapshot. - VStreamResults(context.Context, *connect.Request[v181.VStreamResultsRequest], *connect.ServerStream[v181.VStreamResultsResponse]) error + VStreamResults(context.Context, *connect.Request[v182.VStreamResultsRequest], *connect.ServerStream[v182.VStreamResultsResponse]) error // GetSchema returns the schema information. - GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest], *connect.ServerStream[v18.GetSchemaResponse]) error + GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest], *connect.ServerStream[v181.GetSchemaResponse]) error } // NewQueryHandler builds an HTTP handler from the service implementation. It returns the path on @@ -578,142 +639,170 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h queryExecuteHandler := connect.NewUnaryHandler( QueryExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamExecuteHandler := connect.NewServerStreamHandler( QueryStreamExecuteProcedure, svc.StreamExecute, - opts..., + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginHandler := connect.NewUnaryHandler( QueryBeginProcedure, svc.Begin, - opts..., + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitHandler := connect.NewUnaryHandler( QueryCommitProcedure, svc.Commit, - opts..., + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackHandler := connect.NewUnaryHandler( QueryRollbackProcedure, svc.Rollback, - opts..., + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryPrepareHandler := connect.NewUnaryHandler( QueryPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCommitPreparedHandler := connect.NewUnaryHandler( QueryCommitPreparedProcedure, svc.CommitPrepared, - opts..., + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryRollbackPreparedHandler := connect.NewUnaryHandler( QueryRollbackPreparedProcedure, svc.RollbackPrepared, - opts..., + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryCreateTransactionHandler := connect.NewUnaryHandler( QueryCreateTransactionProcedure, svc.CreateTransaction, - opts..., + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStartCommitHandler := connect.NewUnaryHandler( QueryStartCommitProcedure, svc.StartCommit, - opts..., + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), ) querySetRollbackHandler := connect.NewUnaryHandler( QuerySetRollbackProcedure, svc.SetRollback, - opts..., + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryConcludeTransactionHandler := connect.NewUnaryHandler( QueryConcludeTransactionProcedure, svc.ConcludeTransaction, - opts..., + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReadTransactionHandler := connect.NewUnaryHandler( QueryReadTransactionProcedure, svc.ReadTransaction, - opts..., + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginExecuteHandler := connect.NewUnaryHandler( QueryBeginExecuteProcedure, svc.BeginExecute, - opts..., + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryBeginStreamExecuteProcedure, svc.BeginStreamExecute, - opts..., + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageStreamHandler := connect.NewServerStreamHandler( QueryMessageStreamProcedure, svc.MessageStream, - opts..., + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryMessageAckHandler := connect.NewUnaryHandler( QueryMessageAckProcedure, svc.MessageAck, - opts..., + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveExecuteHandler := connect.NewUnaryHandler( QueryReserveExecuteProcedure, svc.ReserveExecute, - opts..., + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginExecuteHandler := connect.NewUnaryHandler( QueryReserveBeginExecuteProcedure, svc.ReserveBeginExecute, - opts..., + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveStreamExecuteProcedure, svc.ReserveStreamExecute, - opts..., + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReserveBeginStreamExecuteHandler := connect.NewServerStreamHandler( QueryReserveBeginStreamExecuteProcedure, svc.ReserveBeginStreamExecute, - opts..., + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryReleaseHandler := connect.NewUnaryHandler( QueryReleaseProcedure, svc.Release, - opts..., + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryStreamHealthHandler := connect.NewServerStreamHandler( QueryStreamHealthProcedure, svc.StreamHealth, - opts..., + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamHandler := connect.NewServerStreamHandler( QueryVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamRowsHandler := connect.NewServerStreamHandler( QueryVStreamRowsProcedure, svc.VStreamRows, - opts..., + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamTablesHandler := connect.NewServerStreamHandler( QueryVStreamTablesProcedure, svc.VStreamTables, - opts..., + connect.WithSchema(queryVStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryVStreamResultsHandler := connect.NewServerStreamHandler( QueryVStreamResultsProcedure, svc.VStreamResults, - opts..., + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) queryGetSchemaHandler := connect.NewServerStreamHandler( QueryGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/queryservice.Query/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -782,114 +871,114 @@ func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, h // UnimplementedQueryHandler returns CodeUnimplemented from all methods. type UnimplementedQueryHandler struct{} -func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) { +func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Execute is not implemented")) } -func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[v18.StreamExecuteRequest], *connect.ServerStream[v18.StreamExecuteResponse]) error { +func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[v181.StreamExecuteRequest], *connect.ServerStream[v181.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[v18.BeginRequest]) (*connect.Response[v18.BeginResponse], error) { +func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[v181.BeginRequest]) (*connect.Response[v181.BeginResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Begin is not implemented")) } -func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[v18.CommitRequest]) (*connect.Response[v18.CommitResponse], error) { +func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[v181.CommitRequest]) (*connect.Response[v181.CommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Commit is not implemented")) } -func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[v18.RollbackRequest]) (*connect.Response[v18.RollbackResponse], error) { +func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[v181.RollbackRequest]) (*connect.Response[v181.RollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Rollback is not implemented")) } -func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) { +func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Prepare is not implemented")) } -func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[v18.CommitPreparedRequest]) (*connect.Response[v18.CommitPreparedResponse], error) { +func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[v181.CommitPreparedRequest]) (*connect.Response[v181.CommitPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CommitPrepared is not implemented")) } -func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[v18.RollbackPreparedRequest]) (*connect.Response[v18.RollbackPreparedResponse], error) { +func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[v181.RollbackPreparedRequest]) (*connect.Response[v181.RollbackPreparedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.RollbackPrepared is not implemented")) } -func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[v18.CreateTransactionRequest]) (*connect.Response[v18.CreateTransactionResponse], error) { +func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[v181.CreateTransactionRequest]) (*connect.Response[v181.CreateTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CreateTransaction is not implemented")) } -func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[v18.StartCommitRequest]) (*connect.Response[v18.StartCommitResponse], error) { +func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[v181.StartCommitRequest]) (*connect.Response[v181.StartCommitResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StartCommit is not implemented")) } -func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[v18.SetRollbackRequest]) (*connect.Response[v18.SetRollbackResponse], error) { +func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[v181.SetRollbackRequest]) (*connect.Response[v181.SetRollbackResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.SetRollback is not implemented")) } -func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[v18.ConcludeTransactionRequest]) (*connect.Response[v18.ConcludeTransactionResponse], error) { +func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[v181.ConcludeTransactionRequest]) (*connect.Response[v181.ConcludeTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ConcludeTransaction is not implemented")) } -func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[v18.ReadTransactionRequest]) (*connect.Response[v18.ReadTransactionResponse], error) { +func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[v181.ReadTransactionRequest]) (*connect.Response[v181.ReadTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReadTransaction is not implemented")) } -func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[v18.BeginExecuteRequest]) (*connect.Response[v18.BeginExecuteResponse], error) { +func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[v181.BeginExecuteRequest]) (*connect.Response[v181.BeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginExecute is not implemented")) } -func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[v18.BeginStreamExecuteRequest], *connect.ServerStream[v18.BeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[v181.BeginStreamExecuteRequest], *connect.ServerStream[v181.BeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[v18.MessageStreamRequest], *connect.ServerStream[v18.MessageStreamResponse]) error { +func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[v181.MessageStreamRequest], *connect.ServerStream[v181.MessageStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageStream is not implemented")) } -func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[v18.MessageAckRequest]) (*connect.Response[v18.MessageAckResponse], error) { +func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[v181.MessageAckRequest]) (*connect.Response[v181.MessageAckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageAck is not implemented")) } -func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[v18.ReserveExecuteRequest]) (*connect.Response[v18.ReserveExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[v181.ReserveExecuteRequest]) (*connect.Response[v181.ReserveExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[v18.ReserveBeginExecuteRequest]) (*connect.Response[v18.ReserveBeginExecuteResponse], error) { +func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[v181.ReserveBeginExecuteRequest]) (*connect.Response[v181.ReserveBeginExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[v18.ReserveStreamExecuteRequest], *connect.ServerStream[v18.ReserveStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[v181.ReserveStreamExecuteRequest], *connect.ServerStream[v181.ReserveStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[v18.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v18.ReserveBeginStreamExecuteResponse]) error { +func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[v181.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v181.ReserveBeginStreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginStreamExecute is not implemented")) } -func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[v18.ReleaseRequest]) (*connect.Response[v18.ReleaseResponse], error) { +func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[v181.ReleaseRequest]) (*connect.Response[v181.ReleaseResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Release is not implemented")) } -func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[v18.StreamHealthRequest], *connect.ServerStream[v18.StreamHealthResponse]) error { +func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[v181.StreamHealthRequest], *connect.ServerStream[v181.StreamHealthResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamHealth is not implemented")) } -func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[v181.VStreamRequest], *connect.ServerStream[v181.VStreamResponse]) error { +func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[v182.VStreamRequest], *connect.ServerStream[v182.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStream is not implemented")) } -func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[v181.VStreamRowsRequest], *connect.ServerStream[v181.VStreamRowsResponse]) error { +func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[v182.VStreamRowsRequest], *connect.ServerStream[v182.VStreamRowsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamRows is not implemented")) } -func (UnimplementedQueryHandler) VStreamTables(context.Context, *connect.Request[v181.VStreamTablesRequest], *connect.ServerStream[v181.VStreamTablesResponse]) error { +func (UnimplementedQueryHandler) VStreamTables(context.Context, *connect.Request[v182.VStreamTablesRequest], *connect.ServerStream[v182.VStreamTablesResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamTables is not implemented")) } -func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[v181.VStreamResultsRequest], *connect.ServerStream[v181.VStreamResultsResponse]) error { +func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[v182.VStreamResultsRequest], *connect.ServerStream[v182.VStreamResultsResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamResults is not implemented")) } -func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest], *connect.ServerStream[v18.GetSchemaResponse]) error { +func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest], *connect.ServerStream[v181.GetSchemaResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.GetSchema is not implemented")) } diff --git a/gen/vitess/queryservice/v19/queryservice.pb.go b/gen/vitess/queryservice/v19/queryservice.pb.go new file mode 100644 index 0000000..73ffb09 --- /dev/null +++ b/gen/vitess/queryservice/v19/queryservice.pb.go @@ -0,0 +1,382 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains the service VtTablet exposes for queries. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/queryservice/v19/queryservice.proto + +package queryservicev19 + +import ( + v191 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_vitess_queryservice_v19_queryservice_proto protoreflect.FileDescriptor + +var file_vitess_queryservice_v19_queryservice_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x95, 0x16, 0x0a, 0x05, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x50, 0x0a, 0x07, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x12, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4a, 0x0a, + 0x05, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x06, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x6c, + 0x62, 0x61, 0x63, 0x6b, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, + 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, + 0x07, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x65, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, + 0x64, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, + 0x72, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, + 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, + 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, + 0x6b, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6e, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5c, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x6f, 0x6c, + 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x74, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x5f, 0x0a, 0x0c, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, + 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x73, 0x0a, 0x12, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0a, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, + 0x13, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, + 0x65, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, + 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x88, + 0x01, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x32, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x07, 0x52, 0x65, 0x6c, + 0x65, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0c, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x25, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5c, + 0x0a, 0x07, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x0b, + 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x6e, 0x0a, 0x0d, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x0e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x09, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x30, 0x01, 0x42, 0x51, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_vitess_queryservice_v19_queryservice_proto_goTypes = []any{ + (*v19.ExecuteRequest)(nil), // 0: vitess.query.v19.ExecuteRequest + (*v19.StreamExecuteRequest)(nil), // 1: vitess.query.v19.StreamExecuteRequest + (*v19.BeginRequest)(nil), // 2: vitess.query.v19.BeginRequest + (*v19.CommitRequest)(nil), // 3: vitess.query.v19.CommitRequest + (*v19.RollbackRequest)(nil), // 4: vitess.query.v19.RollbackRequest + (*v19.PrepareRequest)(nil), // 5: vitess.query.v19.PrepareRequest + (*v19.CommitPreparedRequest)(nil), // 6: vitess.query.v19.CommitPreparedRequest + (*v19.RollbackPreparedRequest)(nil), // 7: vitess.query.v19.RollbackPreparedRequest + (*v19.CreateTransactionRequest)(nil), // 8: vitess.query.v19.CreateTransactionRequest + (*v19.StartCommitRequest)(nil), // 9: vitess.query.v19.StartCommitRequest + (*v19.SetRollbackRequest)(nil), // 10: vitess.query.v19.SetRollbackRequest + (*v19.ConcludeTransactionRequest)(nil), // 11: vitess.query.v19.ConcludeTransactionRequest + (*v19.ReadTransactionRequest)(nil), // 12: vitess.query.v19.ReadTransactionRequest + (*v19.BeginExecuteRequest)(nil), // 13: vitess.query.v19.BeginExecuteRequest + (*v19.BeginStreamExecuteRequest)(nil), // 14: vitess.query.v19.BeginStreamExecuteRequest + (*v19.MessageStreamRequest)(nil), // 15: vitess.query.v19.MessageStreamRequest + (*v19.MessageAckRequest)(nil), // 16: vitess.query.v19.MessageAckRequest + (*v19.ReserveExecuteRequest)(nil), // 17: vitess.query.v19.ReserveExecuteRequest + (*v19.ReserveBeginExecuteRequest)(nil), // 18: vitess.query.v19.ReserveBeginExecuteRequest + (*v19.ReserveStreamExecuteRequest)(nil), // 19: vitess.query.v19.ReserveStreamExecuteRequest + (*v19.ReserveBeginStreamExecuteRequest)(nil), // 20: vitess.query.v19.ReserveBeginStreamExecuteRequest + (*v19.ReleaseRequest)(nil), // 21: vitess.query.v19.ReleaseRequest + (*v19.StreamHealthRequest)(nil), // 22: vitess.query.v19.StreamHealthRequest + (*v191.VStreamRequest)(nil), // 23: vitess.binlogdata.v19.VStreamRequest + (*v191.VStreamRowsRequest)(nil), // 24: vitess.binlogdata.v19.VStreamRowsRequest + (*v191.VStreamTablesRequest)(nil), // 25: vitess.binlogdata.v19.VStreamTablesRequest + (*v191.VStreamResultsRequest)(nil), // 26: vitess.binlogdata.v19.VStreamResultsRequest + (*v19.GetSchemaRequest)(nil), // 27: vitess.query.v19.GetSchemaRequest + (*v19.ExecuteResponse)(nil), // 28: vitess.query.v19.ExecuteResponse + (*v19.StreamExecuteResponse)(nil), // 29: vitess.query.v19.StreamExecuteResponse + (*v19.BeginResponse)(nil), // 30: vitess.query.v19.BeginResponse + (*v19.CommitResponse)(nil), // 31: vitess.query.v19.CommitResponse + (*v19.RollbackResponse)(nil), // 32: vitess.query.v19.RollbackResponse + (*v19.PrepareResponse)(nil), // 33: vitess.query.v19.PrepareResponse + (*v19.CommitPreparedResponse)(nil), // 34: vitess.query.v19.CommitPreparedResponse + (*v19.RollbackPreparedResponse)(nil), // 35: vitess.query.v19.RollbackPreparedResponse + (*v19.CreateTransactionResponse)(nil), // 36: vitess.query.v19.CreateTransactionResponse + (*v19.StartCommitResponse)(nil), // 37: vitess.query.v19.StartCommitResponse + (*v19.SetRollbackResponse)(nil), // 38: vitess.query.v19.SetRollbackResponse + (*v19.ConcludeTransactionResponse)(nil), // 39: vitess.query.v19.ConcludeTransactionResponse + (*v19.ReadTransactionResponse)(nil), // 40: vitess.query.v19.ReadTransactionResponse + (*v19.BeginExecuteResponse)(nil), // 41: vitess.query.v19.BeginExecuteResponse + (*v19.BeginStreamExecuteResponse)(nil), // 42: vitess.query.v19.BeginStreamExecuteResponse + (*v19.MessageStreamResponse)(nil), // 43: vitess.query.v19.MessageStreamResponse + (*v19.MessageAckResponse)(nil), // 44: vitess.query.v19.MessageAckResponse + (*v19.ReserveExecuteResponse)(nil), // 45: vitess.query.v19.ReserveExecuteResponse + (*v19.ReserveBeginExecuteResponse)(nil), // 46: vitess.query.v19.ReserveBeginExecuteResponse + (*v19.ReserveStreamExecuteResponse)(nil), // 47: vitess.query.v19.ReserveStreamExecuteResponse + (*v19.ReserveBeginStreamExecuteResponse)(nil), // 48: vitess.query.v19.ReserveBeginStreamExecuteResponse + (*v19.ReleaseResponse)(nil), // 49: vitess.query.v19.ReleaseResponse + (*v19.StreamHealthResponse)(nil), // 50: vitess.query.v19.StreamHealthResponse + (*v191.VStreamResponse)(nil), // 51: vitess.binlogdata.v19.VStreamResponse + (*v191.VStreamRowsResponse)(nil), // 52: vitess.binlogdata.v19.VStreamRowsResponse + (*v191.VStreamTablesResponse)(nil), // 53: vitess.binlogdata.v19.VStreamTablesResponse + (*v191.VStreamResultsResponse)(nil), // 54: vitess.binlogdata.v19.VStreamResultsResponse + (*v19.GetSchemaResponse)(nil), // 55: vitess.query.v19.GetSchemaResponse +} +var file_vitess_queryservice_v19_queryservice_proto_depIdxs = []int32{ + 0, // 0: vitess.queryservice.v19.Query.Execute:input_type -> vitess.query.v19.ExecuteRequest + 1, // 1: vitess.queryservice.v19.Query.StreamExecute:input_type -> vitess.query.v19.StreamExecuteRequest + 2, // 2: vitess.queryservice.v19.Query.Begin:input_type -> vitess.query.v19.BeginRequest + 3, // 3: vitess.queryservice.v19.Query.Commit:input_type -> vitess.query.v19.CommitRequest + 4, // 4: vitess.queryservice.v19.Query.Rollback:input_type -> vitess.query.v19.RollbackRequest + 5, // 5: vitess.queryservice.v19.Query.Prepare:input_type -> vitess.query.v19.PrepareRequest + 6, // 6: vitess.queryservice.v19.Query.CommitPrepared:input_type -> vitess.query.v19.CommitPreparedRequest + 7, // 7: vitess.queryservice.v19.Query.RollbackPrepared:input_type -> vitess.query.v19.RollbackPreparedRequest + 8, // 8: vitess.queryservice.v19.Query.CreateTransaction:input_type -> vitess.query.v19.CreateTransactionRequest + 9, // 9: vitess.queryservice.v19.Query.StartCommit:input_type -> vitess.query.v19.StartCommitRequest + 10, // 10: vitess.queryservice.v19.Query.SetRollback:input_type -> vitess.query.v19.SetRollbackRequest + 11, // 11: vitess.queryservice.v19.Query.ConcludeTransaction:input_type -> vitess.query.v19.ConcludeTransactionRequest + 12, // 12: vitess.queryservice.v19.Query.ReadTransaction:input_type -> vitess.query.v19.ReadTransactionRequest + 13, // 13: vitess.queryservice.v19.Query.BeginExecute:input_type -> vitess.query.v19.BeginExecuteRequest + 14, // 14: vitess.queryservice.v19.Query.BeginStreamExecute:input_type -> vitess.query.v19.BeginStreamExecuteRequest + 15, // 15: vitess.queryservice.v19.Query.MessageStream:input_type -> vitess.query.v19.MessageStreamRequest + 16, // 16: vitess.queryservice.v19.Query.MessageAck:input_type -> vitess.query.v19.MessageAckRequest + 17, // 17: vitess.queryservice.v19.Query.ReserveExecute:input_type -> vitess.query.v19.ReserveExecuteRequest + 18, // 18: vitess.queryservice.v19.Query.ReserveBeginExecute:input_type -> vitess.query.v19.ReserveBeginExecuteRequest + 19, // 19: vitess.queryservice.v19.Query.ReserveStreamExecute:input_type -> vitess.query.v19.ReserveStreamExecuteRequest + 20, // 20: vitess.queryservice.v19.Query.ReserveBeginStreamExecute:input_type -> vitess.query.v19.ReserveBeginStreamExecuteRequest + 21, // 21: vitess.queryservice.v19.Query.Release:input_type -> vitess.query.v19.ReleaseRequest + 22, // 22: vitess.queryservice.v19.Query.StreamHealth:input_type -> vitess.query.v19.StreamHealthRequest + 23, // 23: vitess.queryservice.v19.Query.VStream:input_type -> vitess.binlogdata.v19.VStreamRequest + 24, // 24: vitess.queryservice.v19.Query.VStreamRows:input_type -> vitess.binlogdata.v19.VStreamRowsRequest + 25, // 25: vitess.queryservice.v19.Query.VStreamTables:input_type -> vitess.binlogdata.v19.VStreamTablesRequest + 26, // 26: vitess.queryservice.v19.Query.VStreamResults:input_type -> vitess.binlogdata.v19.VStreamResultsRequest + 27, // 27: vitess.queryservice.v19.Query.GetSchema:input_type -> vitess.query.v19.GetSchemaRequest + 28, // 28: vitess.queryservice.v19.Query.Execute:output_type -> vitess.query.v19.ExecuteResponse + 29, // 29: vitess.queryservice.v19.Query.StreamExecute:output_type -> vitess.query.v19.StreamExecuteResponse + 30, // 30: vitess.queryservice.v19.Query.Begin:output_type -> vitess.query.v19.BeginResponse + 31, // 31: vitess.queryservice.v19.Query.Commit:output_type -> vitess.query.v19.CommitResponse + 32, // 32: vitess.queryservice.v19.Query.Rollback:output_type -> vitess.query.v19.RollbackResponse + 33, // 33: vitess.queryservice.v19.Query.Prepare:output_type -> vitess.query.v19.PrepareResponse + 34, // 34: vitess.queryservice.v19.Query.CommitPrepared:output_type -> vitess.query.v19.CommitPreparedResponse + 35, // 35: vitess.queryservice.v19.Query.RollbackPrepared:output_type -> vitess.query.v19.RollbackPreparedResponse + 36, // 36: vitess.queryservice.v19.Query.CreateTransaction:output_type -> vitess.query.v19.CreateTransactionResponse + 37, // 37: vitess.queryservice.v19.Query.StartCommit:output_type -> vitess.query.v19.StartCommitResponse + 38, // 38: vitess.queryservice.v19.Query.SetRollback:output_type -> vitess.query.v19.SetRollbackResponse + 39, // 39: vitess.queryservice.v19.Query.ConcludeTransaction:output_type -> vitess.query.v19.ConcludeTransactionResponse + 40, // 40: vitess.queryservice.v19.Query.ReadTransaction:output_type -> vitess.query.v19.ReadTransactionResponse + 41, // 41: vitess.queryservice.v19.Query.BeginExecute:output_type -> vitess.query.v19.BeginExecuteResponse + 42, // 42: vitess.queryservice.v19.Query.BeginStreamExecute:output_type -> vitess.query.v19.BeginStreamExecuteResponse + 43, // 43: vitess.queryservice.v19.Query.MessageStream:output_type -> vitess.query.v19.MessageStreamResponse + 44, // 44: vitess.queryservice.v19.Query.MessageAck:output_type -> vitess.query.v19.MessageAckResponse + 45, // 45: vitess.queryservice.v19.Query.ReserveExecute:output_type -> vitess.query.v19.ReserveExecuteResponse + 46, // 46: vitess.queryservice.v19.Query.ReserveBeginExecute:output_type -> vitess.query.v19.ReserveBeginExecuteResponse + 47, // 47: vitess.queryservice.v19.Query.ReserveStreamExecute:output_type -> vitess.query.v19.ReserveStreamExecuteResponse + 48, // 48: vitess.queryservice.v19.Query.ReserveBeginStreamExecute:output_type -> vitess.query.v19.ReserveBeginStreamExecuteResponse + 49, // 49: vitess.queryservice.v19.Query.Release:output_type -> vitess.query.v19.ReleaseResponse + 50, // 50: vitess.queryservice.v19.Query.StreamHealth:output_type -> vitess.query.v19.StreamHealthResponse + 51, // 51: vitess.queryservice.v19.Query.VStream:output_type -> vitess.binlogdata.v19.VStreamResponse + 52, // 52: vitess.queryservice.v19.Query.VStreamRows:output_type -> vitess.binlogdata.v19.VStreamRowsResponse + 53, // 53: vitess.queryservice.v19.Query.VStreamTables:output_type -> vitess.binlogdata.v19.VStreamTablesResponse + 54, // 54: vitess.queryservice.v19.Query.VStreamResults:output_type -> vitess.binlogdata.v19.VStreamResultsResponse + 55, // 55: vitess.queryservice.v19.Query.GetSchema:output_type -> vitess.query.v19.GetSchemaResponse + 28, // [28:56] is the sub-list for method output_type + 0, // [0:28] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_vitess_queryservice_v19_queryservice_proto_init() } +func file_vitess_queryservice_v19_queryservice_proto_init() { + if File_vitess_queryservice_v19_queryservice_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_queryservice_v19_queryservice_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_vitess_queryservice_v19_queryservice_proto_goTypes, + DependencyIndexes: file_vitess_queryservice_v19_queryservice_proto_depIdxs, + }.Build() + File_vitess_queryservice_v19_queryservice_proto = out.File + file_vitess_queryservice_v19_queryservice_proto_rawDesc = nil + file_vitess_queryservice_v19_queryservice_proto_goTypes = nil + file_vitess_queryservice_v19_queryservice_proto_depIdxs = nil +} diff --git a/gen/vitess/queryservice/v19/queryservicev19connect/queryservice.connect.go b/gen/vitess/queryservice/v19/queryservicev19connect/queryservice.connect.go new file mode 100644 index 0000000..f4737b5 --- /dev/null +++ b/gen/vitess/queryservice/v19/queryservicev19connect/queryservice.connect.go @@ -0,0 +1,984 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// This file contains the service VtTablet exposes for queries. + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/queryservice/v19/queryservice.proto + +package queryservicev19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v192 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/queryservice/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // QueryName is the fully-qualified name of the Query service. + QueryName = "queryservice.Query" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // QueryExecuteProcedure is the fully-qualified name of the Query's Execute RPC. + QueryExecuteProcedure = "/queryservice.Query/Execute" + // QueryStreamExecuteProcedure is the fully-qualified name of the Query's StreamExecute RPC. + QueryStreamExecuteProcedure = "/queryservice.Query/StreamExecute" + // QueryBeginProcedure is the fully-qualified name of the Query's Begin RPC. + QueryBeginProcedure = "/queryservice.Query/Begin" + // QueryCommitProcedure is the fully-qualified name of the Query's Commit RPC. + QueryCommitProcedure = "/queryservice.Query/Commit" + // QueryRollbackProcedure is the fully-qualified name of the Query's Rollback RPC. + QueryRollbackProcedure = "/queryservice.Query/Rollback" + // QueryPrepareProcedure is the fully-qualified name of the Query's Prepare RPC. + QueryPrepareProcedure = "/queryservice.Query/Prepare" + // QueryCommitPreparedProcedure is the fully-qualified name of the Query's CommitPrepared RPC. + QueryCommitPreparedProcedure = "/queryservice.Query/CommitPrepared" + // QueryRollbackPreparedProcedure is the fully-qualified name of the Query's RollbackPrepared RPC. + QueryRollbackPreparedProcedure = "/queryservice.Query/RollbackPrepared" + // QueryCreateTransactionProcedure is the fully-qualified name of the Query's CreateTransaction RPC. + QueryCreateTransactionProcedure = "/queryservice.Query/CreateTransaction" + // QueryStartCommitProcedure is the fully-qualified name of the Query's StartCommit RPC. + QueryStartCommitProcedure = "/queryservice.Query/StartCommit" + // QuerySetRollbackProcedure is the fully-qualified name of the Query's SetRollback RPC. + QuerySetRollbackProcedure = "/queryservice.Query/SetRollback" + // QueryConcludeTransactionProcedure is the fully-qualified name of the Query's ConcludeTransaction + // RPC. + QueryConcludeTransactionProcedure = "/queryservice.Query/ConcludeTransaction" + // QueryReadTransactionProcedure is the fully-qualified name of the Query's ReadTransaction RPC. + QueryReadTransactionProcedure = "/queryservice.Query/ReadTransaction" + // QueryBeginExecuteProcedure is the fully-qualified name of the Query's BeginExecute RPC. + QueryBeginExecuteProcedure = "/queryservice.Query/BeginExecute" + // QueryBeginStreamExecuteProcedure is the fully-qualified name of the Query's BeginStreamExecute + // RPC. + QueryBeginStreamExecuteProcedure = "/queryservice.Query/BeginStreamExecute" + // QueryMessageStreamProcedure is the fully-qualified name of the Query's MessageStream RPC. + QueryMessageStreamProcedure = "/queryservice.Query/MessageStream" + // QueryMessageAckProcedure is the fully-qualified name of the Query's MessageAck RPC. + QueryMessageAckProcedure = "/queryservice.Query/MessageAck" + // QueryReserveExecuteProcedure is the fully-qualified name of the Query's ReserveExecute RPC. + QueryReserveExecuteProcedure = "/queryservice.Query/ReserveExecute" + // QueryReserveBeginExecuteProcedure is the fully-qualified name of the Query's ReserveBeginExecute + // RPC. + QueryReserveBeginExecuteProcedure = "/queryservice.Query/ReserveBeginExecute" + // QueryReserveStreamExecuteProcedure is the fully-qualified name of the Query's + // ReserveStreamExecute RPC. + QueryReserveStreamExecuteProcedure = "/queryservice.Query/ReserveStreamExecute" + // QueryReserveBeginStreamExecuteProcedure is the fully-qualified name of the Query's + // ReserveBeginStreamExecute RPC. + QueryReserveBeginStreamExecuteProcedure = "/queryservice.Query/ReserveBeginStreamExecute" + // QueryReleaseProcedure is the fully-qualified name of the Query's Release RPC. + QueryReleaseProcedure = "/queryservice.Query/Release" + // QueryStreamHealthProcedure is the fully-qualified name of the Query's StreamHealth RPC. + QueryStreamHealthProcedure = "/queryservice.Query/StreamHealth" + // QueryVStreamProcedure is the fully-qualified name of the Query's VStream RPC. + QueryVStreamProcedure = "/queryservice.Query/VStream" + // QueryVStreamRowsProcedure is the fully-qualified name of the Query's VStreamRows RPC. + QueryVStreamRowsProcedure = "/queryservice.Query/VStreamRows" + // QueryVStreamTablesProcedure is the fully-qualified name of the Query's VStreamTables RPC. + QueryVStreamTablesProcedure = "/queryservice.Query/VStreamTables" + // QueryVStreamResultsProcedure is the fully-qualified name of the Query's VStreamResults RPC. + QueryVStreamResultsProcedure = "/queryservice.Query/VStreamResults" + // QueryGetSchemaProcedure is the fully-qualified name of the Query's GetSchema RPC. + QueryGetSchemaProcedure = "/queryservice.Query/GetSchema" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + queryServiceDescriptor = v19.File_vitess_queryservice_v19_queryservice_proto.Services().ByName("Query") + queryExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("Execute") + queryStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamExecute") + queryBeginMethodDescriptor = queryServiceDescriptor.Methods().ByName("Begin") + queryCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("Commit") + queryRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("Rollback") + queryPrepareMethodDescriptor = queryServiceDescriptor.Methods().ByName("Prepare") + queryCommitPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("CommitPrepared") + queryRollbackPreparedMethodDescriptor = queryServiceDescriptor.Methods().ByName("RollbackPrepared") + queryCreateTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("CreateTransaction") + queryStartCommitMethodDescriptor = queryServiceDescriptor.Methods().ByName("StartCommit") + querySetRollbackMethodDescriptor = queryServiceDescriptor.Methods().ByName("SetRollback") + queryConcludeTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ConcludeTransaction") + queryReadTransactionMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReadTransaction") + queryBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginExecute") + queryBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("BeginStreamExecute") + queryMessageStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageStream") + queryMessageAckMethodDescriptor = queryServiceDescriptor.Methods().ByName("MessageAck") + queryReserveExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveExecute") + queryReserveBeginExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginExecute") + queryReserveStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveStreamExecute") + queryReserveBeginStreamExecuteMethodDescriptor = queryServiceDescriptor.Methods().ByName("ReserveBeginStreamExecute") + queryReleaseMethodDescriptor = queryServiceDescriptor.Methods().ByName("Release") + queryStreamHealthMethodDescriptor = queryServiceDescriptor.Methods().ByName("StreamHealth") + queryVStreamMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStream") + queryVStreamRowsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamRows") + queryVStreamTablesMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamTables") + queryVStreamResultsMethodDescriptor = queryServiceDescriptor.Methods().ByName("VStreamResults") + queryGetSchemaMethodDescriptor = queryServiceDescriptor.Methods().ByName("GetSchema") +) + +// QueryClient is a client for the queryservice.Query service. +type QueryClient interface { + // Execute executes the specified SQL query (might be in a + // transaction context, if Query.transaction_id is set). + Execute(context.Context, *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) + // StreamExecute executes a streaming query. Use this method if the + // query returns a large number of rows. The first QueryResult will + // contain the Fields, subsequent QueryResult messages will contain + // the rows. + StreamExecute(context.Context, *connect.Request[v191.StreamExecuteRequest]) (*connect.ServerStreamForClient[v191.StreamExecuteResponse], error) + // Begin a transaction. + Begin(context.Context, *connect.Request[v191.BeginRequest]) (*connect.Response[v191.BeginResponse], error) + // Commit a transaction. + Commit(context.Context, *connect.Request[v191.CommitRequest]) (*connect.Response[v191.CommitResponse], error) + // Rollback a transaction. + Rollback(context.Context, *connect.Request[v191.RollbackRequest]) (*connect.Response[v191.RollbackResponse], error) + // Prepare preares a transaction. + Prepare(context.Context, *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) + // CommitPrepared commits a prepared transaction. + CommitPrepared(context.Context, *connect.Request[v191.CommitPreparedRequest]) (*connect.Response[v191.CommitPreparedResponse], error) + // RollbackPrepared rolls back a prepared transaction. + RollbackPrepared(context.Context, *connect.Request[v191.RollbackPreparedRequest]) (*connect.Response[v191.RollbackPreparedResponse], error) + // CreateTransaction creates the metadata for a 2pc transaction. + CreateTransaction(context.Context, *connect.Request[v191.CreateTransactionRequest]) (*connect.Response[v191.CreateTransactionResponse], error) + // StartCommit initiates a commit for a 2pc transaction. + StartCommit(context.Context, *connect.Request[v191.StartCommitRequest]) (*connect.Response[v191.StartCommitResponse], error) + // SetRollback marks the 2pc transaction for rollback. + SetRollback(context.Context, *connect.Request[v191.SetRollbackRequest]) (*connect.Response[v191.SetRollbackResponse], error) + // ConcludeTransaction marks the 2pc transaction as resolved. + ConcludeTransaction(context.Context, *connect.Request[v191.ConcludeTransactionRequest]) (*connect.Response[v191.ConcludeTransactionResponse], error) + // ReadTransaction returns the 2pc transaction info. + ReadTransaction(context.Context, *connect.Request[v191.ReadTransactionRequest]) (*connect.Response[v191.ReadTransactionResponse], error) + // BeginExecute executes a begin and the specified SQL query. + BeginExecute(context.Context, *connect.Request[v191.BeginExecuteRequest]) (*connect.Response[v191.BeginExecuteResponse], error) + // BeginStreamExecute executes a begin and the specified SQL query. + BeginStreamExecute(context.Context, *connect.Request[v191.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v191.BeginStreamExecuteResponse], error) + // MessageStream streams messages from a message table. + MessageStream(context.Context, *connect.Request[v191.MessageStreamRequest]) (*connect.ServerStreamForClient[v191.MessageStreamResponse], error) + // MessageAck acks messages for a table. + MessageAck(context.Context, *connect.Request[v191.MessageAckRequest]) (*connect.Response[v191.MessageAckResponse], error) + // ReserveExecute executes a query on a reserved connection + ReserveExecute(context.Context, *connect.Request[v191.ReserveExecuteRequest]) (*connect.Response[v191.ReserveExecuteResponse], error) + // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection + ReserveBeginExecute(context.Context, *connect.Request[v191.ReserveBeginExecuteRequest]) (*connect.Response[v191.ReserveBeginExecuteResponse], error) + // ReserveStreamExecute executes a streaming query on a reserved connection + ReserveStreamExecute(context.Context, *connect.Request[v191.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v191.ReserveStreamExecuteResponse], error) + // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection + ReserveBeginStreamExecute(context.Context, *connect.Request[v191.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v191.ReserveBeginStreamExecuteResponse], error) + // Release releases the connection + Release(context.Context, *connect.Request[v191.ReleaseRequest]) (*connect.Response[v191.ReleaseResponse], error) + // StreamHealth runs a streaming RPC to the tablet, that returns the + // current health of the tablet on a regular basis. + StreamHealth(context.Context, *connect.Request[v191.StreamHealthRequest]) (*connect.ServerStreamForClient[v191.StreamHealthResponse], error) + // VStream streams vreplication events. + VStream(context.Context, *connect.Request[v192.VStreamRequest]) (*connect.ServerStreamForClient[v192.VStreamResponse], error) + // VStreamRows streams rows from the specified starting point. + VStreamRows(context.Context, *connect.Request[v192.VStreamRowsRequest]) (*connect.ServerStreamForClient[v192.VStreamRowsResponse], error) + // VStreamTables streams rows from the specified starting point. + VStreamTables(context.Context, *connect.Request[v192.VStreamTablesRequest]) (*connect.ServerStreamForClient[v192.VStreamTablesResponse], error) + // VStreamResults streams results along with the gtid of the snapshot. + VStreamResults(context.Context, *connect.Request[v192.VStreamResultsRequest]) (*connect.ServerStreamForClient[v192.VStreamResultsResponse], error) + // GetSchema returns the schema information. + GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest]) (*connect.ServerStreamForClient[v191.GetSchemaResponse], error) +} + +// NewQueryClient constructs a client for the queryservice.Query service. By default, it +// uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends +// uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or +// connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewQueryClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) QueryClient { + baseURL = strings.TrimRight(baseURL, "/") + return &queryClient{ + execute: connect.NewClient[v191.ExecuteRequest, v191.ExecuteResponse]( + httpClient, + baseURL+QueryExecuteProcedure, + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + streamExecute: connect.NewClient[v191.StreamExecuteRequest, v191.StreamExecuteResponse]( + httpClient, + baseURL+QueryStreamExecuteProcedure, + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + begin: connect.NewClient[v191.BeginRequest, v191.BeginResponse]( + httpClient, + baseURL+QueryBeginProcedure, + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithClientOptions(opts...), + ), + commit: connect.NewClient[v191.CommitRequest, v191.CommitResponse]( + httpClient, + baseURL+QueryCommitProcedure, + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithClientOptions(opts...), + ), + rollback: connect.NewClient[v191.RollbackRequest, v191.RollbackResponse]( + httpClient, + baseURL+QueryRollbackProcedure, + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithClientOptions(opts...), + ), + prepare: connect.NewClient[v191.PrepareRequest, v191.PrepareResponse]( + httpClient, + baseURL+QueryPrepareProcedure, + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithClientOptions(opts...), + ), + commitPrepared: connect.NewClient[v191.CommitPreparedRequest, v191.CommitPreparedResponse]( + httpClient, + baseURL+QueryCommitPreparedProcedure, + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithClientOptions(opts...), + ), + rollbackPrepared: connect.NewClient[v191.RollbackPreparedRequest, v191.RollbackPreparedResponse]( + httpClient, + baseURL+QueryRollbackPreparedProcedure, + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithClientOptions(opts...), + ), + createTransaction: connect.NewClient[v191.CreateTransactionRequest, v191.CreateTransactionResponse]( + httpClient, + baseURL+QueryCreateTransactionProcedure, + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + startCommit: connect.NewClient[v191.StartCommitRequest, v191.StartCommitResponse]( + httpClient, + baseURL+QueryStartCommitProcedure, + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setRollback: connect.NewClient[v191.SetRollbackRequest, v191.SetRollbackResponse]( + httpClient, + baseURL+QuerySetRollbackProcedure, + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithClientOptions(opts...), + ), + concludeTransaction: connect.NewClient[v191.ConcludeTransactionRequest, v191.ConcludeTransactionResponse]( + httpClient, + baseURL+QueryConcludeTransactionProcedure, + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + readTransaction: connect.NewClient[v191.ReadTransactionRequest, v191.ReadTransactionResponse]( + httpClient, + baseURL+QueryReadTransactionProcedure, + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + beginExecute: connect.NewClient[v191.BeginExecuteRequest, v191.BeginExecuteResponse]( + httpClient, + baseURL+QueryBeginExecuteProcedure, + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + beginStreamExecute: connect.NewClient[v191.BeginStreamExecuteRequest, v191.BeginStreamExecuteResponse]( + httpClient, + baseURL+QueryBeginStreamExecuteProcedure, + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + messageStream: connect.NewClient[v191.MessageStreamRequest, v191.MessageStreamResponse]( + httpClient, + baseURL+QueryMessageStreamProcedure, + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithClientOptions(opts...), + ), + messageAck: connect.NewClient[v191.MessageAckRequest, v191.MessageAckResponse]( + httpClient, + baseURL+QueryMessageAckProcedure, + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reserveExecute: connect.NewClient[v191.ReserveExecuteRequest, v191.ReserveExecuteResponse]( + httpClient, + baseURL+QueryReserveExecuteProcedure, + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reserveBeginExecute: connect.NewClient[v191.ReserveBeginExecuteRequest, v191.ReserveBeginExecuteResponse]( + httpClient, + baseURL+QueryReserveBeginExecuteProcedure, + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reserveStreamExecute: connect.NewClient[v191.ReserveStreamExecuteRequest, v191.ReserveStreamExecuteResponse]( + httpClient, + baseURL+QueryReserveStreamExecuteProcedure, + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reserveBeginStreamExecute: connect.NewClient[v191.ReserveBeginStreamExecuteRequest, v191.ReserveBeginStreamExecuteResponse]( + httpClient, + baseURL+QueryReserveBeginStreamExecuteProcedure, + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + release: connect.NewClient[v191.ReleaseRequest, v191.ReleaseResponse]( + httpClient, + baseURL+QueryReleaseProcedure, + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithClientOptions(opts...), + ), + streamHealth: connect.NewClient[v191.StreamHealthRequest, v191.StreamHealthResponse]( + httpClient, + baseURL+QueryStreamHealthProcedure, + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vStream: connect.NewClient[v192.VStreamRequest, v192.VStreamResponse]( + httpClient, + baseURL+QueryVStreamProcedure, + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vStreamRows: connect.NewClient[v192.VStreamRowsRequest, v192.VStreamRowsResponse]( + httpClient, + baseURL+QueryVStreamRowsProcedure, + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vStreamTables: connect.NewClient[v192.VStreamTablesRequest, v192.VStreamTablesResponse]( + httpClient, + baseURL+QueryVStreamTablesProcedure, + connect.WithSchema(queryVStreamTablesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vStreamResults: connect.NewClient[v192.VStreamResultsRequest, v192.VStreamResultsResponse]( + httpClient, + baseURL+QueryVStreamResultsProcedure, + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchema: connect.NewClient[v191.GetSchemaRequest, v191.GetSchemaResponse]( + httpClient, + baseURL+QueryGetSchemaProcedure, + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// queryClient implements QueryClient. +type queryClient struct { + execute *connect.Client[v191.ExecuteRequest, v191.ExecuteResponse] + streamExecute *connect.Client[v191.StreamExecuteRequest, v191.StreamExecuteResponse] + begin *connect.Client[v191.BeginRequest, v191.BeginResponse] + commit *connect.Client[v191.CommitRequest, v191.CommitResponse] + rollback *connect.Client[v191.RollbackRequest, v191.RollbackResponse] + prepare *connect.Client[v191.PrepareRequest, v191.PrepareResponse] + commitPrepared *connect.Client[v191.CommitPreparedRequest, v191.CommitPreparedResponse] + rollbackPrepared *connect.Client[v191.RollbackPreparedRequest, v191.RollbackPreparedResponse] + createTransaction *connect.Client[v191.CreateTransactionRequest, v191.CreateTransactionResponse] + startCommit *connect.Client[v191.StartCommitRequest, v191.StartCommitResponse] + setRollback *connect.Client[v191.SetRollbackRequest, v191.SetRollbackResponse] + concludeTransaction *connect.Client[v191.ConcludeTransactionRequest, v191.ConcludeTransactionResponse] + readTransaction *connect.Client[v191.ReadTransactionRequest, v191.ReadTransactionResponse] + beginExecute *connect.Client[v191.BeginExecuteRequest, v191.BeginExecuteResponse] + beginStreamExecute *connect.Client[v191.BeginStreamExecuteRequest, v191.BeginStreamExecuteResponse] + messageStream *connect.Client[v191.MessageStreamRequest, v191.MessageStreamResponse] + messageAck *connect.Client[v191.MessageAckRequest, v191.MessageAckResponse] + reserveExecute *connect.Client[v191.ReserveExecuteRequest, v191.ReserveExecuteResponse] + reserveBeginExecute *connect.Client[v191.ReserveBeginExecuteRequest, v191.ReserveBeginExecuteResponse] + reserveStreamExecute *connect.Client[v191.ReserveStreamExecuteRequest, v191.ReserveStreamExecuteResponse] + reserveBeginStreamExecute *connect.Client[v191.ReserveBeginStreamExecuteRequest, v191.ReserveBeginStreamExecuteResponse] + release *connect.Client[v191.ReleaseRequest, v191.ReleaseResponse] + streamHealth *connect.Client[v191.StreamHealthRequest, v191.StreamHealthResponse] + vStream *connect.Client[v192.VStreamRequest, v192.VStreamResponse] + vStreamRows *connect.Client[v192.VStreamRowsRequest, v192.VStreamRowsResponse] + vStreamTables *connect.Client[v192.VStreamTablesRequest, v192.VStreamTablesResponse] + vStreamResults *connect.Client[v192.VStreamResultsRequest, v192.VStreamResultsResponse] + getSchema *connect.Client[v191.GetSchemaRequest, v191.GetSchemaResponse] +} + +// Execute calls queryservice.Query.Execute. +func (c *queryClient) Execute(ctx context.Context, req *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) { + return c.execute.CallUnary(ctx, req) +} + +// StreamExecute calls queryservice.Query.StreamExecute. +func (c *queryClient) StreamExecute(ctx context.Context, req *connect.Request[v191.StreamExecuteRequest]) (*connect.ServerStreamForClient[v191.StreamExecuteResponse], error) { + return c.streamExecute.CallServerStream(ctx, req) +} + +// Begin calls queryservice.Query.Begin. +func (c *queryClient) Begin(ctx context.Context, req *connect.Request[v191.BeginRequest]) (*connect.Response[v191.BeginResponse], error) { + return c.begin.CallUnary(ctx, req) +} + +// Commit calls queryservice.Query.Commit. +func (c *queryClient) Commit(ctx context.Context, req *connect.Request[v191.CommitRequest]) (*connect.Response[v191.CommitResponse], error) { + return c.commit.CallUnary(ctx, req) +} + +// Rollback calls queryservice.Query.Rollback. +func (c *queryClient) Rollback(ctx context.Context, req *connect.Request[v191.RollbackRequest]) (*connect.Response[v191.RollbackResponse], error) { + return c.rollback.CallUnary(ctx, req) +} + +// Prepare calls queryservice.Query.Prepare. +func (c *queryClient) Prepare(ctx context.Context, req *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) { + return c.prepare.CallUnary(ctx, req) +} + +// CommitPrepared calls queryservice.Query.CommitPrepared. +func (c *queryClient) CommitPrepared(ctx context.Context, req *connect.Request[v191.CommitPreparedRequest]) (*connect.Response[v191.CommitPreparedResponse], error) { + return c.commitPrepared.CallUnary(ctx, req) +} + +// RollbackPrepared calls queryservice.Query.RollbackPrepared. +func (c *queryClient) RollbackPrepared(ctx context.Context, req *connect.Request[v191.RollbackPreparedRequest]) (*connect.Response[v191.RollbackPreparedResponse], error) { + return c.rollbackPrepared.CallUnary(ctx, req) +} + +// CreateTransaction calls queryservice.Query.CreateTransaction. +func (c *queryClient) CreateTransaction(ctx context.Context, req *connect.Request[v191.CreateTransactionRequest]) (*connect.Response[v191.CreateTransactionResponse], error) { + return c.createTransaction.CallUnary(ctx, req) +} + +// StartCommit calls queryservice.Query.StartCommit. +func (c *queryClient) StartCommit(ctx context.Context, req *connect.Request[v191.StartCommitRequest]) (*connect.Response[v191.StartCommitResponse], error) { + return c.startCommit.CallUnary(ctx, req) +} + +// SetRollback calls queryservice.Query.SetRollback. +func (c *queryClient) SetRollback(ctx context.Context, req *connect.Request[v191.SetRollbackRequest]) (*connect.Response[v191.SetRollbackResponse], error) { + return c.setRollback.CallUnary(ctx, req) +} + +// ConcludeTransaction calls queryservice.Query.ConcludeTransaction. +func (c *queryClient) ConcludeTransaction(ctx context.Context, req *connect.Request[v191.ConcludeTransactionRequest]) (*connect.Response[v191.ConcludeTransactionResponse], error) { + return c.concludeTransaction.CallUnary(ctx, req) +} + +// ReadTransaction calls queryservice.Query.ReadTransaction. +func (c *queryClient) ReadTransaction(ctx context.Context, req *connect.Request[v191.ReadTransactionRequest]) (*connect.Response[v191.ReadTransactionResponse], error) { + return c.readTransaction.CallUnary(ctx, req) +} + +// BeginExecute calls queryservice.Query.BeginExecute. +func (c *queryClient) BeginExecute(ctx context.Context, req *connect.Request[v191.BeginExecuteRequest]) (*connect.Response[v191.BeginExecuteResponse], error) { + return c.beginExecute.CallUnary(ctx, req) +} + +// BeginStreamExecute calls queryservice.Query.BeginStreamExecute. +func (c *queryClient) BeginStreamExecute(ctx context.Context, req *connect.Request[v191.BeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v191.BeginStreamExecuteResponse], error) { + return c.beginStreamExecute.CallServerStream(ctx, req) +} + +// MessageStream calls queryservice.Query.MessageStream. +func (c *queryClient) MessageStream(ctx context.Context, req *connect.Request[v191.MessageStreamRequest]) (*connect.ServerStreamForClient[v191.MessageStreamResponse], error) { + return c.messageStream.CallServerStream(ctx, req) +} + +// MessageAck calls queryservice.Query.MessageAck. +func (c *queryClient) MessageAck(ctx context.Context, req *connect.Request[v191.MessageAckRequest]) (*connect.Response[v191.MessageAckResponse], error) { + return c.messageAck.CallUnary(ctx, req) +} + +// ReserveExecute calls queryservice.Query.ReserveExecute. +func (c *queryClient) ReserveExecute(ctx context.Context, req *connect.Request[v191.ReserveExecuteRequest]) (*connect.Response[v191.ReserveExecuteResponse], error) { + return c.reserveExecute.CallUnary(ctx, req) +} + +// ReserveBeginExecute calls queryservice.Query.ReserveBeginExecute. +func (c *queryClient) ReserveBeginExecute(ctx context.Context, req *connect.Request[v191.ReserveBeginExecuteRequest]) (*connect.Response[v191.ReserveBeginExecuteResponse], error) { + return c.reserveBeginExecute.CallUnary(ctx, req) +} + +// ReserveStreamExecute calls queryservice.Query.ReserveStreamExecute. +func (c *queryClient) ReserveStreamExecute(ctx context.Context, req *connect.Request[v191.ReserveStreamExecuteRequest]) (*connect.ServerStreamForClient[v191.ReserveStreamExecuteResponse], error) { + return c.reserveStreamExecute.CallServerStream(ctx, req) +} + +// ReserveBeginStreamExecute calls queryservice.Query.ReserveBeginStreamExecute. +func (c *queryClient) ReserveBeginStreamExecute(ctx context.Context, req *connect.Request[v191.ReserveBeginStreamExecuteRequest]) (*connect.ServerStreamForClient[v191.ReserveBeginStreamExecuteResponse], error) { + return c.reserveBeginStreamExecute.CallServerStream(ctx, req) +} + +// Release calls queryservice.Query.Release. +func (c *queryClient) Release(ctx context.Context, req *connect.Request[v191.ReleaseRequest]) (*connect.Response[v191.ReleaseResponse], error) { + return c.release.CallUnary(ctx, req) +} + +// StreamHealth calls queryservice.Query.StreamHealth. +func (c *queryClient) StreamHealth(ctx context.Context, req *connect.Request[v191.StreamHealthRequest]) (*connect.ServerStreamForClient[v191.StreamHealthResponse], error) { + return c.streamHealth.CallServerStream(ctx, req) +} + +// VStream calls queryservice.Query.VStream. +func (c *queryClient) VStream(ctx context.Context, req *connect.Request[v192.VStreamRequest]) (*connect.ServerStreamForClient[v192.VStreamResponse], error) { + return c.vStream.CallServerStream(ctx, req) +} + +// VStreamRows calls queryservice.Query.VStreamRows. +func (c *queryClient) VStreamRows(ctx context.Context, req *connect.Request[v192.VStreamRowsRequest]) (*connect.ServerStreamForClient[v192.VStreamRowsResponse], error) { + return c.vStreamRows.CallServerStream(ctx, req) +} + +// VStreamTables calls queryservice.Query.VStreamTables. +func (c *queryClient) VStreamTables(ctx context.Context, req *connect.Request[v192.VStreamTablesRequest]) (*connect.ServerStreamForClient[v192.VStreamTablesResponse], error) { + return c.vStreamTables.CallServerStream(ctx, req) +} + +// VStreamResults calls queryservice.Query.VStreamResults. +func (c *queryClient) VStreamResults(ctx context.Context, req *connect.Request[v192.VStreamResultsRequest]) (*connect.ServerStreamForClient[v192.VStreamResultsResponse], error) { + return c.vStreamResults.CallServerStream(ctx, req) +} + +// GetSchema calls queryservice.Query.GetSchema. +func (c *queryClient) GetSchema(ctx context.Context, req *connect.Request[v191.GetSchemaRequest]) (*connect.ServerStreamForClient[v191.GetSchemaResponse], error) { + return c.getSchema.CallServerStream(ctx, req) +} + +// QueryHandler is an implementation of the queryservice.Query service. +type QueryHandler interface { + // Execute executes the specified SQL query (might be in a + // transaction context, if Query.transaction_id is set). + Execute(context.Context, *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) + // StreamExecute executes a streaming query. Use this method if the + // query returns a large number of rows. The first QueryResult will + // contain the Fields, subsequent QueryResult messages will contain + // the rows. + StreamExecute(context.Context, *connect.Request[v191.StreamExecuteRequest], *connect.ServerStream[v191.StreamExecuteResponse]) error + // Begin a transaction. + Begin(context.Context, *connect.Request[v191.BeginRequest]) (*connect.Response[v191.BeginResponse], error) + // Commit a transaction. + Commit(context.Context, *connect.Request[v191.CommitRequest]) (*connect.Response[v191.CommitResponse], error) + // Rollback a transaction. + Rollback(context.Context, *connect.Request[v191.RollbackRequest]) (*connect.Response[v191.RollbackResponse], error) + // Prepare preares a transaction. + Prepare(context.Context, *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) + // CommitPrepared commits a prepared transaction. + CommitPrepared(context.Context, *connect.Request[v191.CommitPreparedRequest]) (*connect.Response[v191.CommitPreparedResponse], error) + // RollbackPrepared rolls back a prepared transaction. + RollbackPrepared(context.Context, *connect.Request[v191.RollbackPreparedRequest]) (*connect.Response[v191.RollbackPreparedResponse], error) + // CreateTransaction creates the metadata for a 2pc transaction. + CreateTransaction(context.Context, *connect.Request[v191.CreateTransactionRequest]) (*connect.Response[v191.CreateTransactionResponse], error) + // StartCommit initiates a commit for a 2pc transaction. + StartCommit(context.Context, *connect.Request[v191.StartCommitRequest]) (*connect.Response[v191.StartCommitResponse], error) + // SetRollback marks the 2pc transaction for rollback. + SetRollback(context.Context, *connect.Request[v191.SetRollbackRequest]) (*connect.Response[v191.SetRollbackResponse], error) + // ConcludeTransaction marks the 2pc transaction as resolved. + ConcludeTransaction(context.Context, *connect.Request[v191.ConcludeTransactionRequest]) (*connect.Response[v191.ConcludeTransactionResponse], error) + // ReadTransaction returns the 2pc transaction info. + ReadTransaction(context.Context, *connect.Request[v191.ReadTransactionRequest]) (*connect.Response[v191.ReadTransactionResponse], error) + // BeginExecute executes a begin and the specified SQL query. + BeginExecute(context.Context, *connect.Request[v191.BeginExecuteRequest]) (*connect.Response[v191.BeginExecuteResponse], error) + // BeginStreamExecute executes a begin and the specified SQL query. + BeginStreamExecute(context.Context, *connect.Request[v191.BeginStreamExecuteRequest], *connect.ServerStream[v191.BeginStreamExecuteResponse]) error + // MessageStream streams messages from a message table. + MessageStream(context.Context, *connect.Request[v191.MessageStreamRequest], *connect.ServerStream[v191.MessageStreamResponse]) error + // MessageAck acks messages for a table. + MessageAck(context.Context, *connect.Request[v191.MessageAckRequest]) (*connect.Response[v191.MessageAckResponse], error) + // ReserveExecute executes a query on a reserved connection + ReserveExecute(context.Context, *connect.Request[v191.ReserveExecuteRequest]) (*connect.Response[v191.ReserveExecuteResponse], error) + // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection + ReserveBeginExecute(context.Context, *connect.Request[v191.ReserveBeginExecuteRequest]) (*connect.Response[v191.ReserveBeginExecuteResponse], error) + // ReserveStreamExecute executes a streaming query on a reserved connection + ReserveStreamExecute(context.Context, *connect.Request[v191.ReserveStreamExecuteRequest], *connect.ServerStream[v191.ReserveStreamExecuteResponse]) error + // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection + ReserveBeginStreamExecute(context.Context, *connect.Request[v191.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v191.ReserveBeginStreamExecuteResponse]) error + // Release releases the connection + Release(context.Context, *connect.Request[v191.ReleaseRequest]) (*connect.Response[v191.ReleaseResponse], error) + // StreamHealth runs a streaming RPC to the tablet, that returns the + // current health of the tablet on a regular basis. + StreamHealth(context.Context, *connect.Request[v191.StreamHealthRequest], *connect.ServerStream[v191.StreamHealthResponse]) error + // VStream streams vreplication events. + VStream(context.Context, *connect.Request[v192.VStreamRequest], *connect.ServerStream[v192.VStreamResponse]) error + // VStreamRows streams rows from the specified starting point. + VStreamRows(context.Context, *connect.Request[v192.VStreamRowsRequest], *connect.ServerStream[v192.VStreamRowsResponse]) error + // VStreamTables streams rows from the specified starting point. + VStreamTables(context.Context, *connect.Request[v192.VStreamTablesRequest], *connect.ServerStream[v192.VStreamTablesResponse]) error + // VStreamResults streams results along with the gtid of the snapshot. + VStreamResults(context.Context, *connect.Request[v192.VStreamResultsRequest], *connect.ServerStream[v192.VStreamResultsResponse]) error + // GetSchema returns the schema information. + GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest], *connect.ServerStream[v191.GetSchemaResponse]) error +} + +// NewQueryHandler builds an HTTP handler from the service implementation. It returns the path on +// which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewQueryHandler(svc QueryHandler, opts ...connect.HandlerOption) (string, http.Handler) { + queryExecuteHandler := connect.NewUnaryHandler( + QueryExecuteProcedure, + svc.Execute, + connect.WithSchema(queryExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryStreamExecuteHandler := connect.NewServerStreamHandler( + QueryStreamExecuteProcedure, + svc.StreamExecute, + connect.WithSchema(queryStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryBeginHandler := connect.NewUnaryHandler( + QueryBeginProcedure, + svc.Begin, + connect.WithSchema(queryBeginMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryCommitHandler := connect.NewUnaryHandler( + QueryCommitProcedure, + svc.Commit, + connect.WithSchema(queryCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryRollbackHandler := connect.NewUnaryHandler( + QueryRollbackProcedure, + svc.Rollback, + connect.WithSchema(queryRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryPrepareHandler := connect.NewUnaryHandler( + QueryPrepareProcedure, + svc.Prepare, + connect.WithSchema(queryPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryCommitPreparedHandler := connect.NewUnaryHandler( + QueryCommitPreparedProcedure, + svc.CommitPrepared, + connect.WithSchema(queryCommitPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryRollbackPreparedHandler := connect.NewUnaryHandler( + QueryRollbackPreparedProcedure, + svc.RollbackPrepared, + connect.WithSchema(queryRollbackPreparedMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryCreateTransactionHandler := connect.NewUnaryHandler( + QueryCreateTransactionProcedure, + svc.CreateTransaction, + connect.WithSchema(queryCreateTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryStartCommitHandler := connect.NewUnaryHandler( + QueryStartCommitProcedure, + svc.StartCommit, + connect.WithSchema(queryStartCommitMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + querySetRollbackHandler := connect.NewUnaryHandler( + QuerySetRollbackProcedure, + svc.SetRollback, + connect.WithSchema(querySetRollbackMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryConcludeTransactionHandler := connect.NewUnaryHandler( + QueryConcludeTransactionProcedure, + svc.ConcludeTransaction, + connect.WithSchema(queryConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryReadTransactionHandler := connect.NewUnaryHandler( + QueryReadTransactionProcedure, + svc.ReadTransaction, + connect.WithSchema(queryReadTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryBeginExecuteHandler := connect.NewUnaryHandler( + QueryBeginExecuteProcedure, + svc.BeginExecute, + connect.WithSchema(queryBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryBeginStreamExecuteHandler := connect.NewServerStreamHandler( + QueryBeginStreamExecuteProcedure, + svc.BeginStreamExecute, + connect.WithSchema(queryBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryMessageStreamHandler := connect.NewServerStreamHandler( + QueryMessageStreamProcedure, + svc.MessageStream, + connect.WithSchema(queryMessageStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryMessageAckHandler := connect.NewUnaryHandler( + QueryMessageAckProcedure, + svc.MessageAck, + connect.WithSchema(queryMessageAckMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryReserveExecuteHandler := connect.NewUnaryHandler( + QueryReserveExecuteProcedure, + svc.ReserveExecute, + connect.WithSchema(queryReserveExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryReserveBeginExecuteHandler := connect.NewUnaryHandler( + QueryReserveBeginExecuteProcedure, + svc.ReserveBeginExecute, + connect.WithSchema(queryReserveBeginExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryReserveStreamExecuteHandler := connect.NewServerStreamHandler( + QueryReserveStreamExecuteProcedure, + svc.ReserveStreamExecute, + connect.WithSchema(queryReserveStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryReserveBeginStreamExecuteHandler := connect.NewServerStreamHandler( + QueryReserveBeginStreamExecuteProcedure, + svc.ReserveBeginStreamExecute, + connect.WithSchema(queryReserveBeginStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryReleaseHandler := connect.NewUnaryHandler( + QueryReleaseProcedure, + svc.Release, + connect.WithSchema(queryReleaseMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryStreamHealthHandler := connect.NewServerStreamHandler( + QueryStreamHealthProcedure, + svc.StreamHealth, + connect.WithSchema(queryStreamHealthMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryVStreamHandler := connect.NewServerStreamHandler( + QueryVStreamProcedure, + svc.VStream, + connect.WithSchema(queryVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryVStreamRowsHandler := connect.NewServerStreamHandler( + QueryVStreamRowsProcedure, + svc.VStreamRows, + connect.WithSchema(queryVStreamRowsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryVStreamTablesHandler := connect.NewServerStreamHandler( + QueryVStreamTablesProcedure, + svc.VStreamTables, + connect.WithSchema(queryVStreamTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryVStreamResultsHandler := connect.NewServerStreamHandler( + QueryVStreamResultsProcedure, + svc.VStreamResults, + connect.WithSchema(queryVStreamResultsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + queryGetSchemaHandler := connect.NewServerStreamHandler( + QueryGetSchemaProcedure, + svc.GetSchema, + connect.WithSchema(queryGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/queryservice.Query/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case QueryExecuteProcedure: + queryExecuteHandler.ServeHTTP(w, r) + case QueryStreamExecuteProcedure: + queryStreamExecuteHandler.ServeHTTP(w, r) + case QueryBeginProcedure: + queryBeginHandler.ServeHTTP(w, r) + case QueryCommitProcedure: + queryCommitHandler.ServeHTTP(w, r) + case QueryRollbackProcedure: + queryRollbackHandler.ServeHTTP(w, r) + case QueryPrepareProcedure: + queryPrepareHandler.ServeHTTP(w, r) + case QueryCommitPreparedProcedure: + queryCommitPreparedHandler.ServeHTTP(w, r) + case QueryRollbackPreparedProcedure: + queryRollbackPreparedHandler.ServeHTTP(w, r) + case QueryCreateTransactionProcedure: + queryCreateTransactionHandler.ServeHTTP(w, r) + case QueryStartCommitProcedure: + queryStartCommitHandler.ServeHTTP(w, r) + case QuerySetRollbackProcedure: + querySetRollbackHandler.ServeHTTP(w, r) + case QueryConcludeTransactionProcedure: + queryConcludeTransactionHandler.ServeHTTP(w, r) + case QueryReadTransactionProcedure: + queryReadTransactionHandler.ServeHTTP(w, r) + case QueryBeginExecuteProcedure: + queryBeginExecuteHandler.ServeHTTP(w, r) + case QueryBeginStreamExecuteProcedure: + queryBeginStreamExecuteHandler.ServeHTTP(w, r) + case QueryMessageStreamProcedure: + queryMessageStreamHandler.ServeHTTP(w, r) + case QueryMessageAckProcedure: + queryMessageAckHandler.ServeHTTP(w, r) + case QueryReserveExecuteProcedure: + queryReserveExecuteHandler.ServeHTTP(w, r) + case QueryReserveBeginExecuteProcedure: + queryReserveBeginExecuteHandler.ServeHTTP(w, r) + case QueryReserveStreamExecuteProcedure: + queryReserveStreamExecuteHandler.ServeHTTP(w, r) + case QueryReserveBeginStreamExecuteProcedure: + queryReserveBeginStreamExecuteHandler.ServeHTTP(w, r) + case QueryReleaseProcedure: + queryReleaseHandler.ServeHTTP(w, r) + case QueryStreamHealthProcedure: + queryStreamHealthHandler.ServeHTTP(w, r) + case QueryVStreamProcedure: + queryVStreamHandler.ServeHTTP(w, r) + case QueryVStreamRowsProcedure: + queryVStreamRowsHandler.ServeHTTP(w, r) + case QueryVStreamTablesProcedure: + queryVStreamTablesHandler.ServeHTTP(w, r) + case QueryVStreamResultsProcedure: + queryVStreamResultsHandler.ServeHTTP(w, r) + case QueryGetSchemaProcedure: + queryGetSchemaHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedQueryHandler returns CodeUnimplemented from all methods. +type UnimplementedQueryHandler struct{} + +func (UnimplementedQueryHandler) Execute(context.Context, *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Execute is not implemented")) +} + +func (UnimplementedQueryHandler) StreamExecute(context.Context, *connect.Request[v191.StreamExecuteRequest], *connect.ServerStream[v191.StreamExecuteResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamExecute is not implemented")) +} + +func (UnimplementedQueryHandler) Begin(context.Context, *connect.Request[v191.BeginRequest]) (*connect.Response[v191.BeginResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Begin is not implemented")) +} + +func (UnimplementedQueryHandler) Commit(context.Context, *connect.Request[v191.CommitRequest]) (*connect.Response[v191.CommitResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Commit is not implemented")) +} + +func (UnimplementedQueryHandler) Rollback(context.Context, *connect.Request[v191.RollbackRequest]) (*connect.Response[v191.RollbackResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Rollback is not implemented")) +} + +func (UnimplementedQueryHandler) Prepare(context.Context, *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Prepare is not implemented")) +} + +func (UnimplementedQueryHandler) CommitPrepared(context.Context, *connect.Request[v191.CommitPreparedRequest]) (*connect.Response[v191.CommitPreparedResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CommitPrepared is not implemented")) +} + +func (UnimplementedQueryHandler) RollbackPrepared(context.Context, *connect.Request[v191.RollbackPreparedRequest]) (*connect.Response[v191.RollbackPreparedResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.RollbackPrepared is not implemented")) +} + +func (UnimplementedQueryHandler) CreateTransaction(context.Context, *connect.Request[v191.CreateTransactionRequest]) (*connect.Response[v191.CreateTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.CreateTransaction is not implemented")) +} + +func (UnimplementedQueryHandler) StartCommit(context.Context, *connect.Request[v191.StartCommitRequest]) (*connect.Response[v191.StartCommitResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StartCommit is not implemented")) +} + +func (UnimplementedQueryHandler) SetRollback(context.Context, *connect.Request[v191.SetRollbackRequest]) (*connect.Response[v191.SetRollbackResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.SetRollback is not implemented")) +} + +func (UnimplementedQueryHandler) ConcludeTransaction(context.Context, *connect.Request[v191.ConcludeTransactionRequest]) (*connect.Response[v191.ConcludeTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ConcludeTransaction is not implemented")) +} + +func (UnimplementedQueryHandler) ReadTransaction(context.Context, *connect.Request[v191.ReadTransactionRequest]) (*connect.Response[v191.ReadTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReadTransaction is not implemented")) +} + +func (UnimplementedQueryHandler) BeginExecute(context.Context, *connect.Request[v191.BeginExecuteRequest]) (*connect.Response[v191.BeginExecuteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginExecute is not implemented")) +} + +func (UnimplementedQueryHandler) BeginStreamExecute(context.Context, *connect.Request[v191.BeginStreamExecuteRequest], *connect.ServerStream[v191.BeginStreamExecuteResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.BeginStreamExecute is not implemented")) +} + +func (UnimplementedQueryHandler) MessageStream(context.Context, *connect.Request[v191.MessageStreamRequest], *connect.ServerStream[v191.MessageStreamResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageStream is not implemented")) +} + +func (UnimplementedQueryHandler) MessageAck(context.Context, *connect.Request[v191.MessageAckRequest]) (*connect.Response[v191.MessageAckResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.MessageAck is not implemented")) +} + +func (UnimplementedQueryHandler) ReserveExecute(context.Context, *connect.Request[v191.ReserveExecuteRequest]) (*connect.Response[v191.ReserveExecuteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveExecute is not implemented")) +} + +func (UnimplementedQueryHandler) ReserveBeginExecute(context.Context, *connect.Request[v191.ReserveBeginExecuteRequest]) (*connect.Response[v191.ReserveBeginExecuteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginExecute is not implemented")) +} + +func (UnimplementedQueryHandler) ReserveStreamExecute(context.Context, *connect.Request[v191.ReserveStreamExecuteRequest], *connect.ServerStream[v191.ReserveStreamExecuteResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveStreamExecute is not implemented")) +} + +func (UnimplementedQueryHandler) ReserveBeginStreamExecute(context.Context, *connect.Request[v191.ReserveBeginStreamExecuteRequest], *connect.ServerStream[v191.ReserveBeginStreamExecuteResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.ReserveBeginStreamExecute is not implemented")) +} + +func (UnimplementedQueryHandler) Release(context.Context, *connect.Request[v191.ReleaseRequest]) (*connect.Response[v191.ReleaseResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.Release is not implemented")) +} + +func (UnimplementedQueryHandler) StreamHealth(context.Context, *connect.Request[v191.StreamHealthRequest], *connect.ServerStream[v191.StreamHealthResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.StreamHealth is not implemented")) +} + +func (UnimplementedQueryHandler) VStream(context.Context, *connect.Request[v192.VStreamRequest], *connect.ServerStream[v192.VStreamResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStream is not implemented")) +} + +func (UnimplementedQueryHandler) VStreamRows(context.Context, *connect.Request[v192.VStreamRowsRequest], *connect.ServerStream[v192.VStreamRowsResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamRows is not implemented")) +} + +func (UnimplementedQueryHandler) VStreamTables(context.Context, *connect.Request[v192.VStreamTablesRequest], *connect.ServerStream[v192.VStreamTablesResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamTables is not implemented")) +} + +func (UnimplementedQueryHandler) VStreamResults(context.Context, *connect.Request[v192.VStreamResultsRequest], *connect.ServerStream[v192.VStreamResultsResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.VStreamResults is not implemented")) +} + +func (UnimplementedQueryHandler) GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest], *connect.ServerStream[v191.GetSchemaResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("queryservice.Query.GetSchema is not implemented")) +} diff --git a/gen/vitess/replicationdata/dev/replicationdata.pb.go b/gen/vitess/replicationdata/dev/replicationdata.pb.go index 879ea2c..818feaa 100644 --- a/gen/vitess/replicationdata/dev/replicationdata.pb.go +++ b/gen/vitess/replicationdata/dev/replicationdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/replicationdata/dev/replicationdata.proto @@ -114,6 +114,7 @@ type Status struct { HasReplicationFilters bool `protobuf:"varint,22,opt,name=has_replication_filters,json=hasReplicationFilters,proto3" json:"has_replication_filters,omitempty"` SslAllowed bool `protobuf:"varint,23,opt,name=ssl_allowed,json=sslAllowed,proto3" json:"ssl_allowed,omitempty"` ReplicationLagUnknown bool `protobuf:"varint,24,opt,name=replication_lag_unknown,json=replicationLagUnknown,proto3" json:"replication_lag_unknown,omitempty"` + BackupRunning bool `protobuf:"varint,25,opt,name=backup_running,json=backupRunning,proto3" json:"backup_running,omitempty"` } func (x *Status) Reset() { @@ -302,6 +303,71 @@ func (x *Status) GetReplicationLagUnknown() bool { return false } +func (x *Status) GetBackupRunning() bool { + if x != nil { + return x.BackupRunning + } + return false +} + +// Configuration holds replication configuration information gathered from performance_schema and global variables. +type Configuration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // HeartbeatInterval controls the heartbeat interval that the primary sends to the replica + HeartbeatInterval float64 `protobuf:"fixed64,1,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` + // ReplicaNetTimeout specifies the number of seconds to wait for more data or a heartbeat signal from the source before the replica considers the connection broken + ReplicaNetTimeout int32 `protobuf:"varint,2,opt,name=replica_net_timeout,json=replicaNetTimeout,proto3" json:"replica_net_timeout,omitempty"` +} + +func (x *Configuration) Reset() { + *x = Configuration{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Configuration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Configuration) ProtoMessage() {} + +func (x *Configuration) ProtoReflect() protoreflect.Message { + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Configuration.ProtoReflect.Descriptor instead. +func (*Configuration) Descriptor() ([]byte, []int) { + return file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP(), []int{1} +} + +func (x *Configuration) GetHeartbeatInterval() float64 { + if x != nil { + return x.HeartbeatInterval + } + return 0 +} + +func (x *Configuration) GetReplicaNetTimeout() int32 { + if x != nil { + return x.ReplicaNetTimeout + } + return 0 +} + // StopReplicationStatus represents the replication status before calling StopReplication, and the replication status collected immediately after // calling StopReplication. type StopReplicationStatus struct { @@ -316,7 +382,7 @@ type StopReplicationStatus struct { func (x *StopReplicationStatus) Reset() { *x = StopReplicationStatus{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[1] + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -329,7 +395,7 @@ func (x *StopReplicationStatus) String() string { func (*StopReplicationStatus) ProtoMessage() {} func (x *StopReplicationStatus) ProtoReflect() protoreflect.Message { - mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[1] + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -342,7 +408,7 @@ func (x *StopReplicationStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use StopReplicationStatus.ProtoReflect.Descriptor instead. func (*StopReplicationStatus) Descriptor() ([]byte, []int) { - return file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP(), []int{1} + return file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP(), []int{2} } func (x *StopReplicationStatus) GetBefore() *Status { @@ -359,7 +425,7 @@ func (x *StopReplicationStatus) GetAfter() *Status { return nil } -// PrimaryStatus is the replication status for a MySQL primary (returned by 'show master status'). +// PrimaryStatus is the replication status for a MySQL primary (returned by 'show binary log status'). type PrimaryStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -367,12 +433,13 @@ type PrimaryStatus struct { Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` FilePosition string `protobuf:"bytes,2,opt,name=file_position,json=filePosition,proto3" json:"file_position,omitempty"` + ServerUuid string `protobuf:"bytes,3,opt,name=server_uuid,json=serverUuid,proto3" json:"server_uuid,omitempty"` } func (x *PrimaryStatus) Reset() { *x = PrimaryStatus{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[2] + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -385,7 +452,7 @@ func (x *PrimaryStatus) String() string { func (*PrimaryStatus) ProtoMessage() {} func (x *PrimaryStatus) ProtoReflect() protoreflect.Message { - mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[2] + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -398,7 +465,7 @@ func (x *PrimaryStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use PrimaryStatus.ProtoReflect.Descriptor instead. func (*PrimaryStatus) Descriptor() ([]byte, []int) { - return file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP(), []int{2} + return file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP(), []int{3} } func (x *PrimaryStatus) GetPosition() string { @@ -415,6 +482,13 @@ func (x *PrimaryStatus) GetFilePosition() string { return "" } +func (x *PrimaryStatus) GetServerUuid() string { + if x != nil { + return x.ServerUuid + } + return "" +} + // FullStatus contains the full status of MySQL including the replication information, semi-sync information, GTID information among others type FullStatus struct { state protoimpl.MessageState @@ -442,12 +516,13 @@ type FullStatus struct { SemiSyncPrimaryTimeout uint64 `protobuf:"varint,19,opt,name=semi_sync_primary_timeout,json=semiSyncPrimaryTimeout,proto3" json:"semi_sync_primary_timeout,omitempty"` SemiSyncWaitForReplicaCount uint32 `protobuf:"varint,20,opt,name=semi_sync_wait_for_replica_count,json=semiSyncWaitForReplicaCount,proto3" json:"semi_sync_wait_for_replica_count,omitempty"` SuperReadOnly bool `protobuf:"varint,21,opt,name=super_read_only,json=superReadOnly,proto3" json:"super_read_only,omitempty"` + ReplicationConfiguration *Configuration `protobuf:"bytes,22,opt,name=replication_configuration,json=replicationConfiguration,proto3" json:"replication_configuration,omitempty"` } func (x *FullStatus) Reset() { *x = FullStatus{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[3] + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -460,7 +535,7 @@ func (x *FullStatus) String() string { func (*FullStatus) ProtoMessage() {} func (x *FullStatus) ProtoReflect() protoreflect.Message { - mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[3] + mi := &file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -473,7 +548,7 @@ func (x *FullStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use FullStatus.ProtoReflect.Descriptor instead. func (*FullStatus) Descriptor() ([]byte, []int) { - return file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP(), []int{3} + return file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP(), []int{4} } func (x *FullStatus) GetServerId() uint32 { @@ -623,6 +698,13 @@ func (x *FullStatus) GetSuperReadOnly() bool { return false } +func (x *FullStatus) GetReplicationConfiguration() *Configuration { + if x != nil { + return x.ReplicationConfiguration + } + return nil +} + var File_vitess_replicationdata_dev_replicationdata_proto protoreflect.FileDescriptor var file_vitess_replicationdata_dev_replicationdata_proto_rawDesc = []byte{ @@ -630,7 +712,7 @@ var file_vitess_replicationdata_dev_replicationdata_proto_rawDesc = []byte{ 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x22, 0x96, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x22, 0xbd, 0x07, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, @@ -687,86 +769,104 @@ var file_vitess_replicationdata_dev_replicationdata_proto_rawDesc = []byte{ 0x77, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4c, 0x61, 0x67, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4a, 0x04, 0x08, 0x02, 0x10, - 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x8d, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x70, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x38, 0x0a, - 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x22, 0x50, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x6d, 0x61, - 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, - 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x08, 0x0a, 0x0a, 0x46, 0x75, - 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, - 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x51, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x70, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x67, - 0x74, 0x69, 0x64, 0x5f, 0x70, 0x75, 0x72, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x67, 0x74, 0x69, 0x64, 0x50, 0x75, 0x72, 0x67, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09, - 0x67, 0x74, 0x69, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x67, 0x74, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6e, - 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x28, - 0x0a, 0x10, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x6d, 0x61, - 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, - 0x52, 0x6f, 0x77, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, - 0x62, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0d, 0x6c, 0x6f, 0x67, 0x42, 0x69, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6c, - 0x6f, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, + 0x6e, 0x4c, 0x61, 0x67, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x62, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x19, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x75, 0x6e, 0x6e, 0x69, + 0x6e, 0x67, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x6e, + 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x2d, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x68, 0x65, 0x61, + 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2e, + 0x0a, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x4e, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x8d, + 0x01, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, + 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x62, 0x65, + 0x66, 0x6f, 0x72, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x22, 0x71, + 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x75, 0x69, + 0x64, 0x22, 0xe9, 0x08, 0x0a, 0x0a, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x51, + 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x74, 0x69, 0x64, 0x5f, 0x70, 0x75, 0x72, 0x67, + 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x74, 0x69, 0x64, 0x50, 0x75, + 0x72, 0x67, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, + 0x0a, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, + 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x74, 0x69, 0x64, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x74, 0x69, 0x64, 0x4d, 0x6f, 0x64, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x5f, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x52, 0x6f, 0x77, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, 0x62, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6c, 0x6f, 0x67, 0x42, 0x69, + 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x6f, 0x67, 0x5f, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, + 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x65, 0x6d, + 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x37, + 0x0a, 0x18, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x15, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6d, 0x69, 0x5f, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x65, 0x6d, 0x69, 0x53, + 0x79, 0x6e, 0x63, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x19, 0x73, - 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, - 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, - 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, - 0x6e, 0x63, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x15, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, - 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x73, 0x65, 0x6d, - 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x43, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, - 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, - 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, - 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x45, - 0x0a, 0x20, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x77, 0x61, 0x69, 0x74, - 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x1b, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, - 0x6e, 0x63, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x5f, 0x72, - 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, - 0x73, 0x75, 0x70, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x2a, 0x3b, 0x0a, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x12, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x16, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x73, + 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, + 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x45, 0x0a, 0x20, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x1b, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, + 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, + 0x0f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, + 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x75, 0x70, 0x65, 0x72, 0x52, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x66, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x18, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x3b, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4f, 0x41, 0x4e, 0x44, 0x53, 0x51, 0x4c, 0x54, 0x48, 0x52, 0x45, 0x41, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4f, 0x54, 0x48, @@ -792,24 +892,26 @@ func file_vitess_replicationdata_dev_replicationdata_proto_rawDescGZIP() []byte } var file_vitess_replicationdata_dev_replicationdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_vitess_replicationdata_dev_replicationdata_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_vitess_replicationdata_dev_replicationdata_proto_goTypes = []interface{}{ +var file_vitess_replicationdata_dev_replicationdata_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_vitess_replicationdata_dev_replicationdata_proto_goTypes = []any{ (StopReplicationMode)(0), // 0: vitess.replicationdata.dev.StopReplicationMode (*Status)(nil), // 1: vitess.replicationdata.dev.Status - (*StopReplicationStatus)(nil), // 2: vitess.replicationdata.dev.StopReplicationStatus - (*PrimaryStatus)(nil), // 3: vitess.replicationdata.dev.PrimaryStatus - (*FullStatus)(nil), // 4: vitess.replicationdata.dev.FullStatus + (*Configuration)(nil), // 2: vitess.replicationdata.dev.Configuration + (*StopReplicationStatus)(nil), // 3: vitess.replicationdata.dev.StopReplicationStatus + (*PrimaryStatus)(nil), // 4: vitess.replicationdata.dev.PrimaryStatus + (*FullStatus)(nil), // 5: vitess.replicationdata.dev.FullStatus } var file_vitess_replicationdata_dev_replicationdata_proto_depIdxs = []int32{ 1, // 0: vitess.replicationdata.dev.StopReplicationStatus.before:type_name -> vitess.replicationdata.dev.Status 1, // 1: vitess.replicationdata.dev.StopReplicationStatus.after:type_name -> vitess.replicationdata.dev.Status 1, // 2: vitess.replicationdata.dev.FullStatus.replication_status:type_name -> vitess.replicationdata.dev.Status - 3, // 3: vitess.replicationdata.dev.FullStatus.primary_status:type_name -> vitess.replicationdata.dev.PrimaryStatus - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name + 4, // 3: vitess.replicationdata.dev.FullStatus.primary_status:type_name -> vitess.replicationdata.dev.PrimaryStatus + 2, // 4: vitess.replicationdata.dev.FullStatus.replication_configuration:type_name -> vitess.replicationdata.dev.Configuration + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name } func init() { file_vitess_replicationdata_dev_replicationdata_proto_init() } @@ -818,7 +920,7 @@ func file_vitess_replicationdata_dev_replicationdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Status); i { case 0: return &v.state @@ -830,7 +932,19 @@ func file_vitess_replicationdata_dev_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*Configuration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationStatus); i { case 0: return &v.state @@ -842,7 +956,7 @@ func file_vitess_replicationdata_dev_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatus); i { case 0: return &v.state @@ -854,7 +968,7 @@ func file_vitess_replicationdata_dev_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_dev_replicationdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*FullStatus); i { case 0: return &v.state @@ -873,7 +987,7 @@ func file_vitess_replicationdata_dev_replicationdata_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_replicationdata_dev_replicationdata_proto_rawDesc, NumEnums: 1, - NumMessages: 4, + NumMessages: 5, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/vitess/replicationdata/dev/replicationdata_vtproto.pb.go b/gen/vitess/replicationdata/dev/replicationdata_vtproto.pb.go index 132f3fd..53580e2 100644 --- a/gen/vitess/replicationdata/dev/replicationdata_vtproto.pb.go +++ b/gen/vitess/replicationdata/dev/replicationdata_vtproto.pb.go @@ -5,9 +5,11 @@ package replicationdatadev import ( + binary "encoding/binary" fmt "fmt" protoimpl "google.golang.org/protobuf/runtime/protoimpl" io "io" + math "math" bits "math/bits" ) @@ -48,6 +50,18 @@ func (m *Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.BackupRunning { + i-- + if m.BackupRunning { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 + } if m.ReplicationLagUnknown { i-- if m.ReplicationLagUnknown { @@ -224,6 +238,50 @@ func (m *Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *Configuration) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Configuration) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Configuration) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReplicaNetTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReplicaNetTimeout)) + i-- + dAtA[i] = 0x10 + } + if m.HeartbeatInterval != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.HeartbeatInterval)))) + i-- + dAtA[i] = 0x9 + } + return len(dAtA) - i, nil +} + func (m *StopReplicationStatus) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -307,6 +365,13 @@ func (m *PrimaryStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.ServerUuid) > 0 { + i -= len(m.ServerUuid) + copy(dAtA[i:], m.ServerUuid) + i = encodeVarint(dAtA, i, uint64(len(m.ServerUuid))) + i-- + dAtA[i] = 0x1a + } if len(m.FilePosition) > 0 { i -= len(m.FilePosition) copy(dAtA[i:], m.FilePosition) @@ -354,6 +419,18 @@ func (m *FullStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.ReplicationConfiguration != nil { + size, err := m.ReplicationConfiguration.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } if m.SuperReadOnly { i-- if m.SuperReadOnly { @@ -631,6 +708,25 @@ func (m *Status) SizeVT() (n int) { if m.ReplicationLagUnknown { n += 3 } + if m.BackupRunning { + n += 3 + } + n += len(m.unknownFields) + return n +} + +func (m *Configuration) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.HeartbeatInterval != 0 { + n += 9 + } + if m.ReplicaNetTimeout != 0 { + n += 1 + sov(uint64(m.ReplicaNetTimeout)) + } n += len(m.unknownFields) return n } @@ -667,6 +763,10 @@ func (m *PrimaryStatus) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + l = len(m.ServerUuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -749,6 +849,10 @@ func (m *FullStatus) SizeVT() (n int) { if m.SuperReadOnly { n += 3 } + if m.ReplicationConfiguration != nil { + l = m.ReplicationConfiguration.SizeVT() + n += 2 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -1341,6 +1445,107 @@ func (m *Status) UnmarshalVT(dAtA []byte) error { } } m.ReplicationLagUnknown = bool(v != 0) + case 25: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BackupRunning", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.BackupRunning = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Configuration) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Configuration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Configuration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatInterval", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.HeartbeatInterval = float64(math.Float64frombits(v)) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicaNetTimeout", wireType) + } + m.ReplicaNetTimeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReplicaNetTimeout |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -1579,6 +1784,38 @@ func (m *PrimaryStatus) UnmarshalVT(dAtA []byte) error { } m.FilePosition = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServerUuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServerUuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -2162,6 +2399,42 @@ func (m *FullStatus) UnmarshalVT(dAtA []byte) error { } } m.SuperReadOnly = bool(v != 0) + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationConfiguration", 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.ReplicationConfiguration == nil { + m.ReplicationConfiguration = &Configuration{} + } + if err := m.ReplicationConfiguration.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) diff --git a/gen/vitess/replicationdata/v16/replicationdata.pb.go b/gen/vitess/replicationdata/v16/replicationdata.pb.go index 4a26254..33eacbb 100644 --- a/gen/vitess/replicationdata/v16/replicationdata.pb.go +++ b/gen/vitess/replicationdata/v16/replicationdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/replicationdata/v16/replicationdata.proto @@ -783,7 +783,7 @@ func file_vitess_replicationdata_v16_replicationdata_proto_rawDescGZIP() []byte var file_vitess_replicationdata_v16_replicationdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_replicationdata_v16_replicationdata_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_vitess_replicationdata_v16_replicationdata_proto_goTypes = []interface{}{ +var file_vitess_replicationdata_v16_replicationdata_proto_goTypes = []any{ (StopReplicationMode)(0), // 0: vitess.replicationdata.v16.StopReplicationMode (*Status)(nil), // 1: vitess.replicationdata.v16.Status (*StopReplicationStatus)(nil), // 2: vitess.replicationdata.v16.StopReplicationStatus @@ -808,7 +808,7 @@ func file_vitess_replicationdata_v16_replicationdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Status); i { case 0: return &v.state @@ -820,7 +820,7 @@ func file_vitess_replicationdata_v16_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationStatus); i { case 0: return &v.state @@ -832,7 +832,7 @@ func file_vitess_replicationdata_v16_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatus); i { case 0: return &v.state @@ -844,7 +844,7 @@ func file_vitess_replicationdata_v16_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v16_replicationdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*FullStatus); i { case 0: return &v.state diff --git a/gen/vitess/replicationdata/v17/replicationdata.pb.go b/gen/vitess/replicationdata/v17/replicationdata.pb.go index 5c28378..d9a80b7 100644 --- a/gen/vitess/replicationdata/v17/replicationdata.pb.go +++ b/gen/vitess/replicationdata/v17/replicationdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/replicationdata/v17/replicationdata.proto @@ -793,7 +793,7 @@ func file_vitess_replicationdata_v17_replicationdata_proto_rawDescGZIP() []byte var file_vitess_replicationdata_v17_replicationdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_replicationdata_v17_replicationdata_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_vitess_replicationdata_v17_replicationdata_proto_goTypes = []interface{}{ +var file_vitess_replicationdata_v17_replicationdata_proto_goTypes = []any{ (StopReplicationMode)(0), // 0: vitess.replicationdata.v17.StopReplicationMode (*Status)(nil), // 1: vitess.replicationdata.v17.Status (*StopReplicationStatus)(nil), // 2: vitess.replicationdata.v17.StopReplicationStatus @@ -818,7 +818,7 @@ func file_vitess_replicationdata_v17_replicationdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Status); i { case 0: return &v.state @@ -830,7 +830,7 @@ func file_vitess_replicationdata_v17_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationStatus); i { case 0: return &v.state @@ -842,7 +842,7 @@ func file_vitess_replicationdata_v17_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatus); i { case 0: return &v.state @@ -854,7 +854,7 @@ func file_vitess_replicationdata_v17_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v17_replicationdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*FullStatus); i { case 0: return &v.state diff --git a/gen/vitess/replicationdata/v18/replicationdata.pb.go b/gen/vitess/replicationdata/v18/replicationdata.pb.go index a72d91e..d643e3c 100644 --- a/gen/vitess/replicationdata/v18/replicationdata.pb.go +++ b/gen/vitess/replicationdata/v18/replicationdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/replicationdata/v18/replicationdata.proto @@ -793,7 +793,7 @@ func file_vitess_replicationdata_v18_replicationdata_proto_rawDescGZIP() []byte var file_vitess_replicationdata_v18_replicationdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_replicationdata_v18_replicationdata_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_vitess_replicationdata_v18_replicationdata_proto_goTypes = []interface{}{ +var file_vitess_replicationdata_v18_replicationdata_proto_goTypes = []any{ (StopReplicationMode)(0), // 0: vitess.replicationdata.v18.StopReplicationMode (*Status)(nil), // 1: vitess.replicationdata.v18.Status (*StopReplicationStatus)(nil), // 2: vitess.replicationdata.v18.StopReplicationStatus @@ -818,7 +818,7 @@ func file_vitess_replicationdata_v18_replicationdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Status); i { case 0: return &v.state @@ -830,7 +830,7 @@ func file_vitess_replicationdata_v18_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationStatus); i { case 0: return &v.state @@ -842,7 +842,7 @@ func file_vitess_replicationdata_v18_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatus); i { case 0: return &v.state @@ -854,7 +854,7 @@ func file_vitess_replicationdata_v18_replicationdata_proto_init() { return nil } } - file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_replicationdata_v18_replicationdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*FullStatus); i { case 0: return &v.state diff --git a/gen/vitess/replicationdata/v19/replicationdata.pb.go b/gen/vitess/replicationdata/v19/replicationdata.pb.go new file mode 100644 index 0000000..c84d24f --- /dev/null +++ b/gen/vitess/replicationdata/v19/replicationdata.pb.go @@ -0,0 +1,889 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file defines the replication related structures we use. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/replicationdata/v19/replicationdata.proto + +package replicationdatav19 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// StopReplicationMode is used to provide controls over how replication is stopped. +type StopReplicationMode int32 + +const ( + StopReplicationMode_IOANDSQLTHREAD StopReplicationMode = 0 + StopReplicationMode_IOTHREADONLY StopReplicationMode = 1 +) + +// Enum value maps for StopReplicationMode. +var ( + StopReplicationMode_name = map[int32]string{ + 0: "IOANDSQLTHREAD", + 1: "IOTHREADONLY", + } + StopReplicationMode_value = map[string]int32{ + "IOANDSQLTHREAD": 0, + "IOTHREADONLY": 1, + } +) + +func (x StopReplicationMode) Enum() *StopReplicationMode { + p := new(StopReplicationMode) + *p = x + return p +} + +func (x StopReplicationMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StopReplicationMode) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_replicationdata_v19_replicationdata_proto_enumTypes[0].Descriptor() +} + +func (StopReplicationMode) Type() protoreflect.EnumType { + return &file_vitess_replicationdata_v19_replicationdata_proto_enumTypes[0] +} + +func (x StopReplicationMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use StopReplicationMode.Descriptor instead. +func (StopReplicationMode) EnumDescriptor() ([]byte, []int) { + return file_vitess_replicationdata_v19_replicationdata_proto_rawDescGZIP(), []int{0} +} + +// Status is the replication status for MySQL/MariaDB/File-based. Returned by a +// flavor-specific command and parsed into a Position and fields. +type Status struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + ReplicationLagSeconds uint32 `protobuf:"varint,4,opt,name=replication_lag_seconds,json=replicationLagSeconds,proto3" json:"replication_lag_seconds,omitempty"` + SourceHost string `protobuf:"bytes,5,opt,name=source_host,json=sourceHost,proto3" json:"source_host,omitempty"` + SourcePort int32 `protobuf:"varint,6,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"` + ConnectRetry int32 `protobuf:"varint,7,opt,name=connect_retry,json=connectRetry,proto3" json:"connect_retry,omitempty"` + // RelayLogPosition will be empty for flavors that do not support returning the full GTIDSet from the relay log, such as MariaDB. + RelayLogPosition string `protobuf:"bytes,8,opt,name=relay_log_position,json=relayLogPosition,proto3" json:"relay_log_position,omitempty"` + FilePosition string `protobuf:"bytes,9,opt,name=file_position,json=filePosition,proto3" json:"file_position,omitempty"` + RelayLogSourceBinlogEquivalentPosition string `protobuf:"bytes,10,opt,name=relay_log_source_binlog_equivalent_position,json=relayLogSourceBinlogEquivalentPosition,proto3" json:"relay_log_source_binlog_equivalent_position,omitempty"` + SourceServerId uint32 `protobuf:"varint,11,opt,name=source_server_id,json=sourceServerId,proto3" json:"source_server_id,omitempty"` + SourceUuid string `protobuf:"bytes,12,opt,name=source_uuid,json=sourceUuid,proto3" json:"source_uuid,omitempty"` + IoState int32 `protobuf:"varint,13,opt,name=io_state,json=ioState,proto3" json:"io_state,omitempty"` + LastIoError string `protobuf:"bytes,14,opt,name=last_io_error,json=lastIoError,proto3" json:"last_io_error,omitempty"` + SqlState int32 `protobuf:"varint,15,opt,name=sql_state,json=sqlState,proto3" json:"sql_state,omitempty"` + LastSqlError string `protobuf:"bytes,16,opt,name=last_sql_error,json=lastSqlError,proto3" json:"last_sql_error,omitempty"` + RelayLogFilePosition string `protobuf:"bytes,17,opt,name=relay_log_file_position,json=relayLogFilePosition,proto3" json:"relay_log_file_position,omitempty"` + SourceUser string `protobuf:"bytes,18,opt,name=source_user,json=sourceUser,proto3" json:"source_user,omitempty"` + SqlDelay uint32 `protobuf:"varint,19,opt,name=sql_delay,json=sqlDelay,proto3" json:"sql_delay,omitempty"` + AutoPosition bool `protobuf:"varint,20,opt,name=auto_position,json=autoPosition,proto3" json:"auto_position,omitempty"` + UsingGtid bool `protobuf:"varint,21,opt,name=using_gtid,json=usingGtid,proto3" json:"using_gtid,omitempty"` + HasReplicationFilters bool `protobuf:"varint,22,opt,name=has_replication_filters,json=hasReplicationFilters,proto3" json:"has_replication_filters,omitempty"` + SslAllowed bool `protobuf:"varint,23,opt,name=ssl_allowed,json=sslAllowed,proto3" json:"ssl_allowed,omitempty"` + ReplicationLagUnknown bool `protobuf:"varint,24,opt,name=replication_lag_unknown,json=replicationLagUnknown,proto3" json:"replication_lag_unknown,omitempty"` +} + +func (x *Status) Reset() { + *x = Status{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Status) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Status) ProtoMessage() {} + +func (x *Status) ProtoReflect() protoreflect.Message { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Status.ProtoReflect.Descriptor instead. +func (*Status) Descriptor() ([]byte, []int) { + return file_vitess_replicationdata_v19_replicationdata_proto_rawDescGZIP(), []int{0} +} + +func (x *Status) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *Status) GetReplicationLagSeconds() uint32 { + if x != nil { + return x.ReplicationLagSeconds + } + return 0 +} + +func (x *Status) GetSourceHost() string { + if x != nil { + return x.SourceHost + } + return "" +} + +func (x *Status) GetSourcePort() int32 { + if x != nil { + return x.SourcePort + } + return 0 +} + +func (x *Status) GetConnectRetry() int32 { + if x != nil { + return x.ConnectRetry + } + return 0 +} + +func (x *Status) GetRelayLogPosition() string { + if x != nil { + return x.RelayLogPosition + } + return "" +} + +func (x *Status) GetFilePosition() string { + if x != nil { + return x.FilePosition + } + return "" +} + +func (x *Status) GetRelayLogSourceBinlogEquivalentPosition() string { + if x != nil { + return x.RelayLogSourceBinlogEquivalentPosition + } + return "" +} + +func (x *Status) GetSourceServerId() uint32 { + if x != nil { + return x.SourceServerId + } + return 0 +} + +func (x *Status) GetSourceUuid() string { + if x != nil { + return x.SourceUuid + } + return "" +} + +func (x *Status) GetIoState() int32 { + if x != nil { + return x.IoState + } + return 0 +} + +func (x *Status) GetLastIoError() string { + if x != nil { + return x.LastIoError + } + return "" +} + +func (x *Status) GetSqlState() int32 { + if x != nil { + return x.SqlState + } + return 0 +} + +func (x *Status) GetLastSqlError() string { + if x != nil { + return x.LastSqlError + } + return "" +} + +func (x *Status) GetRelayLogFilePosition() string { + if x != nil { + return x.RelayLogFilePosition + } + return "" +} + +func (x *Status) GetSourceUser() string { + if x != nil { + return x.SourceUser + } + return "" +} + +func (x *Status) GetSqlDelay() uint32 { + if x != nil { + return x.SqlDelay + } + return 0 +} + +func (x *Status) GetAutoPosition() bool { + if x != nil { + return x.AutoPosition + } + return false +} + +func (x *Status) GetUsingGtid() bool { + if x != nil { + return x.UsingGtid + } + return false +} + +func (x *Status) GetHasReplicationFilters() bool { + if x != nil { + return x.HasReplicationFilters + } + return false +} + +func (x *Status) GetSslAllowed() bool { + if x != nil { + return x.SslAllowed + } + return false +} + +func (x *Status) GetReplicationLagUnknown() bool { + if x != nil { + return x.ReplicationLagUnknown + } + return false +} + +// StopReplicationStatus represents the replication status before calling StopReplication, and the replication status collected immediately after +// calling StopReplication. +type StopReplicationStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Before *Status `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` + After *Status `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` +} + +func (x *StopReplicationStatus) Reset() { + *x = StopReplicationStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationStatus) ProtoMessage() {} + +func (x *StopReplicationStatus) ProtoReflect() protoreflect.Message { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationStatus.ProtoReflect.Descriptor instead. +func (*StopReplicationStatus) Descriptor() ([]byte, []int) { + return file_vitess_replicationdata_v19_replicationdata_proto_rawDescGZIP(), []int{1} +} + +func (x *StopReplicationStatus) GetBefore() *Status { + if x != nil { + return x.Before + } + return nil +} + +func (x *StopReplicationStatus) GetAfter() *Status { + if x != nil { + return x.After + } + return nil +} + +// PrimaryStatus is the replication status for a MySQL primary (returned by 'show master status'). +type PrimaryStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + FilePosition string `protobuf:"bytes,2,opt,name=file_position,json=filePosition,proto3" json:"file_position,omitempty"` +} + +func (x *PrimaryStatus) Reset() { + *x = PrimaryStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrimaryStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrimaryStatus) ProtoMessage() {} + +func (x *PrimaryStatus) ProtoReflect() protoreflect.Message { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrimaryStatus.ProtoReflect.Descriptor instead. +func (*PrimaryStatus) Descriptor() ([]byte, []int) { + return file_vitess_replicationdata_v19_replicationdata_proto_rawDescGZIP(), []int{2} +} + +func (x *PrimaryStatus) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *PrimaryStatus) GetFilePosition() string { + if x != nil { + return x.FilePosition + } + return "" +} + +// FullStatus contains the full status of MySQL including the replication information, semi-sync information, GTID information among others +type FullStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` + ServerUuid string `protobuf:"bytes,2,opt,name=server_uuid,json=serverUuid,proto3" json:"server_uuid,omitempty"` + ReplicationStatus *Status `protobuf:"bytes,3,opt,name=replication_status,json=replicationStatus,proto3" json:"replication_status,omitempty"` + PrimaryStatus *PrimaryStatus `protobuf:"bytes,4,opt,name=primary_status,json=primaryStatus,proto3" json:"primary_status,omitempty"` + GtidPurged string `protobuf:"bytes,5,opt,name=gtid_purged,json=gtidPurged,proto3" json:"gtid_purged,omitempty"` + Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` + VersionComment string `protobuf:"bytes,7,opt,name=version_comment,json=versionComment,proto3" json:"version_comment,omitempty"` + ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` + GtidMode string `protobuf:"bytes,9,opt,name=gtid_mode,json=gtidMode,proto3" json:"gtid_mode,omitempty"` + BinlogFormat string `protobuf:"bytes,10,opt,name=binlog_format,json=binlogFormat,proto3" json:"binlog_format,omitempty"` + BinlogRowImage string `protobuf:"bytes,11,opt,name=binlog_row_image,json=binlogRowImage,proto3" json:"binlog_row_image,omitempty"` + LogBinEnabled bool `protobuf:"varint,12,opt,name=log_bin_enabled,json=logBinEnabled,proto3" json:"log_bin_enabled,omitempty"` + LogReplicaUpdates bool `protobuf:"varint,13,opt,name=log_replica_updates,json=logReplicaUpdates,proto3" json:"log_replica_updates,omitempty"` + SemiSyncPrimaryEnabled bool `protobuf:"varint,14,opt,name=semi_sync_primary_enabled,json=semiSyncPrimaryEnabled,proto3" json:"semi_sync_primary_enabled,omitempty"` + SemiSyncReplicaEnabled bool `protobuf:"varint,15,opt,name=semi_sync_replica_enabled,json=semiSyncReplicaEnabled,proto3" json:"semi_sync_replica_enabled,omitempty"` + SemiSyncPrimaryStatus bool `protobuf:"varint,16,opt,name=semi_sync_primary_status,json=semiSyncPrimaryStatus,proto3" json:"semi_sync_primary_status,omitempty"` + SemiSyncReplicaStatus bool `protobuf:"varint,17,opt,name=semi_sync_replica_status,json=semiSyncReplicaStatus,proto3" json:"semi_sync_replica_status,omitempty"` + SemiSyncPrimaryClients uint32 `protobuf:"varint,18,opt,name=semi_sync_primary_clients,json=semiSyncPrimaryClients,proto3" json:"semi_sync_primary_clients,omitempty"` + SemiSyncPrimaryTimeout uint64 `protobuf:"varint,19,opt,name=semi_sync_primary_timeout,json=semiSyncPrimaryTimeout,proto3" json:"semi_sync_primary_timeout,omitempty"` + SemiSyncWaitForReplicaCount uint32 `protobuf:"varint,20,opt,name=semi_sync_wait_for_replica_count,json=semiSyncWaitForReplicaCount,proto3" json:"semi_sync_wait_for_replica_count,omitempty"` + SuperReadOnly bool `protobuf:"varint,21,opt,name=super_read_only,json=superReadOnly,proto3" json:"super_read_only,omitempty"` +} + +func (x *FullStatus) Reset() { + *x = FullStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FullStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FullStatus) ProtoMessage() {} + +func (x *FullStatus) ProtoReflect() protoreflect.Message { + mi := &file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FullStatus.ProtoReflect.Descriptor instead. +func (*FullStatus) Descriptor() ([]byte, []int) { + return file_vitess_replicationdata_v19_replicationdata_proto_rawDescGZIP(), []int{3} +} + +func (x *FullStatus) GetServerId() uint32 { + if x != nil { + return x.ServerId + } + return 0 +} + +func (x *FullStatus) GetServerUuid() string { + if x != nil { + return x.ServerUuid + } + return "" +} + +func (x *FullStatus) GetReplicationStatus() *Status { + if x != nil { + return x.ReplicationStatus + } + return nil +} + +func (x *FullStatus) GetPrimaryStatus() *PrimaryStatus { + if x != nil { + return x.PrimaryStatus + } + return nil +} + +func (x *FullStatus) GetGtidPurged() string { + if x != nil { + return x.GtidPurged + } + return "" +} + +func (x *FullStatus) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *FullStatus) GetVersionComment() string { + if x != nil { + return x.VersionComment + } + return "" +} + +func (x *FullStatus) GetReadOnly() bool { + if x != nil { + return x.ReadOnly + } + return false +} + +func (x *FullStatus) GetGtidMode() string { + if x != nil { + return x.GtidMode + } + return "" +} + +func (x *FullStatus) GetBinlogFormat() string { + if x != nil { + return x.BinlogFormat + } + return "" +} + +func (x *FullStatus) GetBinlogRowImage() string { + if x != nil { + return x.BinlogRowImage + } + return "" +} + +func (x *FullStatus) GetLogBinEnabled() bool { + if x != nil { + return x.LogBinEnabled + } + return false +} + +func (x *FullStatus) GetLogReplicaUpdates() bool { + if x != nil { + return x.LogReplicaUpdates + } + return false +} + +func (x *FullStatus) GetSemiSyncPrimaryEnabled() bool { + if x != nil { + return x.SemiSyncPrimaryEnabled + } + return false +} + +func (x *FullStatus) GetSemiSyncReplicaEnabled() bool { + if x != nil { + return x.SemiSyncReplicaEnabled + } + return false +} + +func (x *FullStatus) GetSemiSyncPrimaryStatus() bool { + if x != nil { + return x.SemiSyncPrimaryStatus + } + return false +} + +func (x *FullStatus) GetSemiSyncReplicaStatus() bool { + if x != nil { + return x.SemiSyncReplicaStatus + } + return false +} + +func (x *FullStatus) GetSemiSyncPrimaryClients() uint32 { + if x != nil { + return x.SemiSyncPrimaryClients + } + return 0 +} + +func (x *FullStatus) GetSemiSyncPrimaryTimeout() uint64 { + if x != nil { + return x.SemiSyncPrimaryTimeout + } + return 0 +} + +func (x *FullStatus) GetSemiSyncWaitForReplicaCount() uint32 { + if x != nil { + return x.SemiSyncWaitForReplicaCount + } + return 0 +} + +func (x *FullStatus) GetSuperReadOnly() bool { + if x != nil { + return x.SuperReadOnly + } + return false +} + +var File_vitess_replicationdata_v19_replicationdata_proto protoreflect.FileDescriptor + +var file_vitess_replicationdata_v19_replicationdata_proto_rawDesc = []byte{ + 0x0a, 0x30, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x1a, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x22, 0x96, + 0x07, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, + 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x74, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x6c, 0x6f, + 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x2b, 0x72, 0x65, 0x6c, 0x61, 0x79, + 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x5f, 0x65, 0x71, 0x75, 0x69, 0x76, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x26, 0x72, 0x65, + 0x6c, 0x61, 0x79, 0x4c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x45, 0x71, 0x75, 0x69, 0x76, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x75, 0x69, 0x64, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x69, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x69, 0x6f, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x49, 0x6f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, + 0x0a, 0x09, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x73, 0x71, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x73, 0x71, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x10, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x71, 0x6c, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x35, 0x0a, 0x17, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x14, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x4c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, + 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x71, 0x6c, + 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x71, + 0x6c, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, + 0x75, 0x74, 0x6f, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x75, + 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x74, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x47, 0x74, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x68, 0x61, + 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x68, 0x61, 0x73, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x73, 0x6c, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, + 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x73, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x18, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x61, 0x67, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4a, 0x04, 0x08, 0x02, 0x10, + 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x8d, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x70, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x38, 0x0a, + 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x22, 0x50, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, + 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x08, 0x0a, 0x0a, 0x46, 0x75, + 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, + 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x51, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x70, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x67, + 0x74, 0x69, 0x64, 0x5f, 0x70, 0x75, 0x72, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x67, 0x74, 0x69, 0x64, 0x50, 0x75, 0x72, 0x67, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x67, 0x74, 0x69, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x67, 0x74, 0x69, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x28, + 0x0a, 0x10, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x52, 0x6f, 0x77, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, + 0x62, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0d, 0x6c, 0x6f, 0x67, 0x42, 0x69, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6c, + 0x6f, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, + 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x19, 0x73, + 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, + 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, + 0x6e, 0x63, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x15, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, + 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x73, 0x65, 0x6d, + 0x69, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, + 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x45, + 0x0a, 0x20, 0x73, 0x65, 0x6d, 0x69, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x77, 0x61, 0x69, 0x74, + 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x1b, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, + 0x6e, 0x63, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x5f, 0x72, + 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x73, 0x75, 0x70, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x2a, 0x3b, 0x0a, + 0x13, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4f, 0x41, 0x4e, 0x44, 0x53, 0x51, 0x4c, + 0x54, 0x48, 0x52, 0x45, 0x41, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4f, 0x54, 0x48, + 0x52, 0x45, 0x41, 0x44, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x42, 0x57, 0x5a, 0x55, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, + 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, + 0x3b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, + 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_replicationdata_v19_replicationdata_proto_rawDescOnce sync.Once + file_vitess_replicationdata_v19_replicationdata_proto_rawDescData = file_vitess_replicationdata_v19_replicationdata_proto_rawDesc +) + +func file_vitess_replicationdata_v19_replicationdata_proto_rawDescGZIP() []byte { + file_vitess_replicationdata_v19_replicationdata_proto_rawDescOnce.Do(func() { + file_vitess_replicationdata_v19_replicationdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_replicationdata_v19_replicationdata_proto_rawDescData) + }) + return file_vitess_replicationdata_v19_replicationdata_proto_rawDescData +} + +var file_vitess_replicationdata_v19_replicationdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_vitess_replicationdata_v19_replicationdata_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_vitess_replicationdata_v19_replicationdata_proto_goTypes = []any{ + (StopReplicationMode)(0), // 0: vitess.replicationdata.v19.StopReplicationMode + (*Status)(nil), // 1: vitess.replicationdata.v19.Status + (*StopReplicationStatus)(nil), // 2: vitess.replicationdata.v19.StopReplicationStatus + (*PrimaryStatus)(nil), // 3: vitess.replicationdata.v19.PrimaryStatus + (*FullStatus)(nil), // 4: vitess.replicationdata.v19.FullStatus +} +var file_vitess_replicationdata_v19_replicationdata_proto_depIdxs = []int32{ + 1, // 0: vitess.replicationdata.v19.StopReplicationStatus.before:type_name -> vitess.replicationdata.v19.Status + 1, // 1: vitess.replicationdata.v19.StopReplicationStatus.after:type_name -> vitess.replicationdata.v19.Status + 1, // 2: vitess.replicationdata.v19.FullStatus.replication_status:type_name -> vitess.replicationdata.v19.Status + 3, // 3: vitess.replicationdata.v19.FullStatus.primary_status:type_name -> vitess.replicationdata.v19.PrimaryStatus + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_vitess_replicationdata_v19_replicationdata_proto_init() } +func file_vitess_replicationdata_v19_replicationdata_proto_init() { + if File_vitess_replicationdata_v19_replicationdata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_replicationdata_v19_replicationdata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*FullStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_replicationdata_v19_replicationdata_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_replicationdata_v19_replicationdata_proto_goTypes, + DependencyIndexes: file_vitess_replicationdata_v19_replicationdata_proto_depIdxs, + EnumInfos: file_vitess_replicationdata_v19_replicationdata_proto_enumTypes, + MessageInfos: file_vitess_replicationdata_v19_replicationdata_proto_msgTypes, + }.Build() + File_vitess_replicationdata_v19_replicationdata_proto = out.File + file_vitess_replicationdata_v19_replicationdata_proto_rawDesc = nil + file_vitess_replicationdata_v19_replicationdata_proto_goTypes = nil + file_vitess_replicationdata_v19_replicationdata_proto_depIdxs = nil +} diff --git a/gen/vitess/replicationdata/v19/replicationdata_vtproto.pb.go b/gen/vitess/replicationdata/v19/replicationdata_vtproto.pb.go new file mode 100644 index 0000000..9f90a06 --- /dev/null +++ b/gen/vitess/replicationdata/v19/replicationdata_vtproto.pb.go @@ -0,0 +1,2271 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/replicationdata/v19/replicationdata.proto + +package replicationdatav19 + +import ( + fmt "fmt" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Status) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Status) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReplicationLagUnknown { + i-- + if m.ReplicationLagUnknown { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 + } + if m.SslAllowed { + i-- + if m.SslAllowed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb8 + } + if m.HasReplicationFilters { + i-- + if m.HasReplicationFilters { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if m.UsingGtid { + i-- + if m.UsingGtid { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if m.AutoPosition { + i-- + if m.AutoPosition { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if m.SqlDelay != 0 { + i = encodeVarint(dAtA, i, uint64(m.SqlDelay)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if len(m.SourceUser) > 0 { + i -= len(m.SourceUser) + copy(dAtA[i:], m.SourceUser) + i = encodeVarint(dAtA, i, uint64(len(m.SourceUser))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if len(m.RelayLogFilePosition) > 0 { + i -= len(m.RelayLogFilePosition) + copy(dAtA[i:], m.RelayLogFilePosition) + i = encodeVarint(dAtA, i, uint64(len(m.RelayLogFilePosition))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if len(m.LastSqlError) > 0 { + i -= len(m.LastSqlError) + copy(dAtA[i:], m.LastSqlError) + i = encodeVarint(dAtA, i, uint64(len(m.LastSqlError))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if m.SqlState != 0 { + i = encodeVarint(dAtA, i, uint64(m.SqlState)) + i-- + dAtA[i] = 0x78 + } + if len(m.LastIoError) > 0 { + i -= len(m.LastIoError) + copy(dAtA[i:], m.LastIoError) + i = encodeVarint(dAtA, i, uint64(len(m.LastIoError))) + i-- + dAtA[i] = 0x72 + } + if m.IoState != 0 { + i = encodeVarint(dAtA, i, uint64(m.IoState)) + i-- + dAtA[i] = 0x68 + } + if len(m.SourceUuid) > 0 { + i -= len(m.SourceUuid) + copy(dAtA[i:], m.SourceUuid) + i = encodeVarint(dAtA, i, uint64(len(m.SourceUuid))) + i-- + dAtA[i] = 0x62 + } + if m.SourceServerId != 0 { + i = encodeVarint(dAtA, i, uint64(m.SourceServerId)) + i-- + dAtA[i] = 0x58 + } + if len(m.RelayLogSourceBinlogEquivalentPosition) > 0 { + i -= len(m.RelayLogSourceBinlogEquivalentPosition) + copy(dAtA[i:], m.RelayLogSourceBinlogEquivalentPosition) + i = encodeVarint(dAtA, i, uint64(len(m.RelayLogSourceBinlogEquivalentPosition))) + i-- + dAtA[i] = 0x52 + } + if len(m.FilePosition) > 0 { + i -= len(m.FilePosition) + copy(dAtA[i:], m.FilePosition) + i = encodeVarint(dAtA, i, uint64(len(m.FilePosition))) + i-- + dAtA[i] = 0x4a + } + if len(m.RelayLogPosition) > 0 { + i -= len(m.RelayLogPosition) + copy(dAtA[i:], m.RelayLogPosition) + i = encodeVarint(dAtA, i, uint64(len(m.RelayLogPosition))) + i-- + dAtA[i] = 0x42 + } + if m.ConnectRetry != 0 { + i = encodeVarint(dAtA, i, uint64(m.ConnectRetry)) + i-- + dAtA[i] = 0x38 + } + if m.SourcePort != 0 { + i = encodeVarint(dAtA, i, uint64(m.SourcePort)) + i-- + dAtA[i] = 0x30 + } + if len(m.SourceHost) > 0 { + i -= len(m.SourceHost) + copy(dAtA[i:], m.SourceHost) + i = encodeVarint(dAtA, i, uint64(len(m.SourceHost))) + i-- + dAtA[i] = 0x2a + } + if m.ReplicationLagSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReplicationLagSeconds)) + i-- + dAtA[i] = 0x20 + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationStatus) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationStatus) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.After != nil { + size, err := m.After.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Before != nil { + size, err := m.Before.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrimaryStatus) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrimaryStatus) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrimaryStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.FilePosition) > 0 { + i -= len(m.FilePosition) + copy(dAtA[i:], m.FilePosition) + i = encodeVarint(dAtA, i, uint64(len(m.FilePosition))) + i-- + dAtA[i] = 0x12 + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FullStatus) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FullStatus) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FullStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SuperReadOnly { + i-- + if m.SuperReadOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if m.SemiSyncWaitForReplicaCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.SemiSyncWaitForReplicaCount)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if m.SemiSyncPrimaryTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.SemiSyncPrimaryTimeout)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if m.SemiSyncPrimaryClients != 0 { + i = encodeVarint(dAtA, i, uint64(m.SemiSyncPrimaryClients)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if m.SemiSyncReplicaStatus { + i-- + if m.SemiSyncReplicaStatus { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.SemiSyncPrimaryStatus { + i-- + if m.SemiSyncPrimaryStatus { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.SemiSyncReplicaEnabled { + i-- + if m.SemiSyncReplicaEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x78 + } + if m.SemiSyncPrimaryEnabled { + i-- + if m.SemiSyncPrimaryEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x70 + } + if m.LogReplicaUpdates { + i-- + if m.LogReplicaUpdates { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x68 + } + if m.LogBinEnabled { + i-- + if m.LogBinEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if len(m.BinlogRowImage) > 0 { + i -= len(m.BinlogRowImage) + copy(dAtA[i:], m.BinlogRowImage) + i = encodeVarint(dAtA, i, uint64(len(m.BinlogRowImage))) + i-- + dAtA[i] = 0x5a + } + if len(m.BinlogFormat) > 0 { + i -= len(m.BinlogFormat) + copy(dAtA[i:], m.BinlogFormat) + i = encodeVarint(dAtA, i, uint64(len(m.BinlogFormat))) + i-- + dAtA[i] = 0x52 + } + if len(m.GtidMode) > 0 { + i -= len(m.GtidMode) + copy(dAtA[i:], m.GtidMode) + i = encodeVarint(dAtA, i, uint64(len(m.GtidMode))) + i-- + dAtA[i] = 0x4a + } + if m.ReadOnly { + i-- + if m.ReadOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if len(m.VersionComment) > 0 { + i -= len(m.VersionComment) + copy(dAtA[i:], m.VersionComment) + i = encodeVarint(dAtA, i, uint64(len(m.VersionComment))) + i-- + dAtA[i] = 0x3a + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarint(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0x32 + } + if len(m.GtidPurged) > 0 { + i -= len(m.GtidPurged) + copy(dAtA[i:], m.GtidPurged) + i = encodeVarint(dAtA, i, uint64(len(m.GtidPurged))) + i-- + dAtA[i] = 0x2a + } + if m.PrimaryStatus != nil { + size, err := m.PrimaryStatus.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.ReplicationStatus != nil { + size, err := m.ReplicationStatus.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.ServerUuid) > 0 { + i -= len(m.ServerUuid) + copy(dAtA[i:], m.ServerUuid) + i = encodeVarint(dAtA, i, uint64(len(m.ServerUuid))) + i-- + dAtA[i] = 0x12 + } + if m.ServerId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ServerId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Status) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ReplicationLagSeconds != 0 { + n += 1 + sov(uint64(m.ReplicationLagSeconds)) + } + l = len(m.SourceHost) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SourcePort != 0 { + n += 1 + sov(uint64(m.SourcePort)) + } + if m.ConnectRetry != 0 { + n += 1 + sov(uint64(m.ConnectRetry)) + } + l = len(m.RelayLogPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.FilePosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.RelayLogSourceBinlogEquivalentPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SourceServerId != 0 { + n += 1 + sov(uint64(m.SourceServerId)) + } + l = len(m.SourceUuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IoState != 0 { + n += 1 + sov(uint64(m.IoState)) + } + l = len(m.LastIoError) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SqlState != 0 { + n += 1 + sov(uint64(m.SqlState)) + } + l = len(m.LastSqlError) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.RelayLogFilePosition) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.SourceUser) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.SqlDelay != 0 { + n += 2 + sov(uint64(m.SqlDelay)) + } + if m.AutoPosition { + n += 3 + } + if m.UsingGtid { + n += 3 + } + if m.HasReplicationFilters { + n += 3 + } + if m.SslAllowed { + n += 3 + } + if m.ReplicationLagUnknown { + n += 3 + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationStatus) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Before != nil { + l = m.Before.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.After != nil { + l = m.After.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrimaryStatus) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.FilePosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *FullStatus) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ServerId != 0 { + n += 1 + sov(uint64(m.ServerId)) + } + l = len(m.ServerUuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ReplicationStatus != nil { + l = m.ReplicationStatus.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.PrimaryStatus != nil { + l = m.PrimaryStatus.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.GtidPurged) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Version) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.VersionComment) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ReadOnly { + n += 2 + } + l = len(m.GtidMode) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.BinlogFormat) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.BinlogRowImage) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.LogBinEnabled { + n += 2 + } + if m.LogReplicaUpdates { + n += 2 + } + if m.SemiSyncPrimaryEnabled { + n += 2 + } + if m.SemiSyncReplicaEnabled { + n += 2 + } + if m.SemiSyncPrimaryStatus { + n += 3 + } + if m.SemiSyncReplicaStatus { + n += 3 + } + if m.SemiSyncPrimaryClients != 0 { + n += 2 + sov(uint64(m.SemiSyncPrimaryClients)) + } + if m.SemiSyncPrimaryTimeout != 0 { + n += 2 + sov(uint64(m.SemiSyncPrimaryTimeout)) + } + if m.SemiSyncWaitForReplicaCount != 0 { + n += 2 + sov(uint64(m.SemiSyncWaitForReplicaCount)) + } + if m.SuperReadOnly { + n += 3 + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Status) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Status: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationLagSeconds", wireType) + } + m.ReplicationLagSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReplicationLagSeconds |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceHost", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceHost = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SourcePort", wireType) + } + m.SourcePort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SourcePort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ConnectRetry", wireType) + } + m.ConnectRetry = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ConnectRetry |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RelayLogPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RelayLogPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FilePosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FilePosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RelayLogSourceBinlogEquivalentPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RelayLogSourceBinlogEquivalentPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceServerId", wireType) + } + m.SourceServerId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SourceServerId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceUuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceUuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IoState", wireType) + } + m.IoState = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IoState |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastIoError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LastIoError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SqlState", wireType) + } + m.SqlState = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SqlState |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastSqlError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LastSqlError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RelayLogFilePosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RelayLogFilePosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceUser", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceUser = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SqlDelay", wireType) + } + m.SqlDelay = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SqlDelay |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoPosition", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AutoPosition = bool(v != 0) + case 21: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UsingGtid", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UsingGtid = bool(v != 0) + case 22: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HasReplicationFilters", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.HasReplicationFilters = bool(v != 0) + case 23: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SslAllowed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SslAllowed = bool(v != 0) + case 24: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationLagUnknown", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReplicationLagUnknown = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationStatus) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Before", 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.Before == nil { + m.Before = &Status{} + } + if err := m.Before.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field After", 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.After == nil { + m.After = &Status{} + } + if err := m.After.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrimaryStatus) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrimaryStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrimaryStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FilePosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FilePosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FullStatus) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FullStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FullStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ServerId", wireType) + } + m.ServerId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ServerId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServerUuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServerUuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", 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.ReplicationStatus == nil { + m.ReplicationStatus = &Status{} + } + if err := m.ReplicationStatus.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryStatus", 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.PrimaryStatus == nil { + m.PrimaryStatus = &PrimaryStatus{} + } + if err := m.PrimaryStatus.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GtidPurged", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GtidPurged = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VersionComment", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VersionComment = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReadOnly = bool(v != 0) + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GtidMode", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GtidMode = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogFormat", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinlogFormat = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogRowImage", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinlogRowImage = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LogBinEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LogBinEnabled = bool(v != 0) + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LogReplicaUpdates", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LogReplicaUpdates = bool(v != 0) + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSyncPrimaryEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSyncPrimaryEnabled = bool(v != 0) + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSyncReplicaEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSyncReplicaEnabled = bool(v != 0) + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSyncPrimaryStatus", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSyncPrimaryStatus = bool(v != 0) + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSyncReplicaStatus", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSyncReplicaStatus = bool(v != 0) + case 18: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSyncPrimaryClients", wireType) + } + m.SemiSyncPrimaryClients = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SemiSyncPrimaryClients |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSyncPrimaryTimeout", wireType) + } + m.SemiSyncPrimaryTimeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SemiSyncPrimaryTimeout |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSyncWaitForReplicaCount", wireType) + } + m.SemiSyncWaitForReplicaCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SemiSyncWaitForReplicaCount |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 21: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SuperReadOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SuperReadOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/tableacl/dev/tableacl.pb.go b/gen/vitess/tableacl/dev/tableacl.pb.go index bb435a5..c400e4c 100644 --- a/gen/vitess/tableacl/dev/tableacl.pb.go +++ b/gen/vitess/tableacl/dev/tableacl.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tableacl/dev/tableacl.proto @@ -208,7 +208,7 @@ func file_vitess_tableacl_dev_tableacl_proto_rawDescGZIP() []byte { } var file_vitess_tableacl_dev_tableacl_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_tableacl_dev_tableacl_proto_goTypes = []interface{}{ +var file_vitess_tableacl_dev_tableacl_proto_goTypes = []any{ (*TableGroupSpec)(nil), // 0: vitess.tableacl.dev.TableGroupSpec (*Config)(nil), // 1: vitess.tableacl.dev.Config } @@ -227,7 +227,7 @@ func file_vitess_tableacl_dev_tableacl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_tableacl_dev_tableacl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_dev_tableacl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TableGroupSpec); i { case 0: return &v.state @@ -239,7 +239,7 @@ func file_vitess_tableacl_dev_tableacl_proto_init() { return nil } } - file_vitess_tableacl_dev_tableacl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_dev_tableacl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Config); i { case 0: return &v.state diff --git a/gen/vitess/tableacl/v16/tableacl.pb.go b/gen/vitess/tableacl/v16/tableacl.pb.go index d1ebab8..2f07df7 100644 --- a/gen/vitess/tableacl/v16/tableacl.pb.go +++ b/gen/vitess/tableacl/v16/tableacl.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tableacl/v16/tableacl.proto @@ -208,7 +208,7 @@ func file_vitess_tableacl_v16_tableacl_proto_rawDescGZIP() []byte { } var file_vitess_tableacl_v16_tableacl_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_tableacl_v16_tableacl_proto_goTypes = []interface{}{ +var file_vitess_tableacl_v16_tableacl_proto_goTypes = []any{ (*TableGroupSpec)(nil), // 0: vitess.tableacl.v16.TableGroupSpec (*Config)(nil), // 1: vitess.tableacl.v16.Config } @@ -227,7 +227,7 @@ func file_vitess_tableacl_v16_tableacl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_tableacl_v16_tableacl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_v16_tableacl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TableGroupSpec); i { case 0: return &v.state @@ -239,7 +239,7 @@ func file_vitess_tableacl_v16_tableacl_proto_init() { return nil } } - file_vitess_tableacl_v16_tableacl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_v16_tableacl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Config); i { case 0: return &v.state diff --git a/gen/vitess/tableacl/v17/tableacl.pb.go b/gen/vitess/tableacl/v17/tableacl.pb.go index bad48e8..04cbe80 100644 --- a/gen/vitess/tableacl/v17/tableacl.pb.go +++ b/gen/vitess/tableacl/v17/tableacl.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tableacl/v17/tableacl.proto @@ -208,7 +208,7 @@ func file_vitess_tableacl_v17_tableacl_proto_rawDescGZIP() []byte { } var file_vitess_tableacl_v17_tableacl_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_tableacl_v17_tableacl_proto_goTypes = []interface{}{ +var file_vitess_tableacl_v17_tableacl_proto_goTypes = []any{ (*TableGroupSpec)(nil), // 0: vitess.tableacl.v17.TableGroupSpec (*Config)(nil), // 1: vitess.tableacl.v17.Config } @@ -227,7 +227,7 @@ func file_vitess_tableacl_v17_tableacl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_tableacl_v17_tableacl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_v17_tableacl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TableGroupSpec); i { case 0: return &v.state @@ -239,7 +239,7 @@ func file_vitess_tableacl_v17_tableacl_proto_init() { return nil } } - file_vitess_tableacl_v17_tableacl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_v17_tableacl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Config); i { case 0: return &v.state diff --git a/gen/vitess/tableacl/v18/tableacl.pb.go b/gen/vitess/tableacl/v18/tableacl.pb.go index 57242a5..f3abc66 100644 --- a/gen/vitess/tableacl/v18/tableacl.pb.go +++ b/gen/vitess/tableacl/v18/tableacl.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tableacl/v18/tableacl.proto @@ -208,7 +208,7 @@ func file_vitess_tableacl_v18_tableacl_proto_rawDescGZIP() []byte { } var file_vitess_tableacl_v18_tableacl_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_tableacl_v18_tableacl_proto_goTypes = []interface{}{ +var file_vitess_tableacl_v18_tableacl_proto_goTypes = []any{ (*TableGroupSpec)(nil), // 0: vitess.tableacl.v18.TableGroupSpec (*Config)(nil), // 1: vitess.tableacl.v18.Config } @@ -227,7 +227,7 @@ func file_vitess_tableacl_v18_tableacl_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_tableacl_v18_tableacl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_v18_tableacl_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TableGroupSpec); i { case 0: return &v.state @@ -239,7 +239,7 @@ func file_vitess_tableacl_v18_tableacl_proto_init() { return nil } } - file_vitess_tableacl_v18_tableacl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tableacl_v18_tableacl_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Config); i { case 0: return &v.state diff --git a/gen/vitess/tableacl/v19/tableacl.pb.go b/gen/vitess/tableacl/v19/tableacl.pb.go new file mode 100644 index 0000000..a25110f --- /dev/null +++ b/gen/vitess/tableacl/v19/tableacl.pb.go @@ -0,0 +1,273 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// Table ACL proto definitions. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/tableacl/v19/tableacl.proto + +package tableaclv19 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// TableGroupSpec defines ACLs for a group of tables. +type TableGroupSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // either tables or a table name prefixes (if it ends in a %) + TableNamesOrPrefixes []string `protobuf:"bytes,2,rep,name=table_names_or_prefixes,json=tableNamesOrPrefixes,proto3" json:"table_names_or_prefixes,omitempty"` + Readers []string `protobuf:"bytes,3,rep,name=readers,proto3" json:"readers,omitempty"` + Writers []string `protobuf:"bytes,4,rep,name=writers,proto3" json:"writers,omitempty"` + Admins []string `protobuf:"bytes,5,rep,name=admins,proto3" json:"admins,omitempty"` +} + +func (x *TableGroupSpec) Reset() { + *x = TableGroupSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tableacl_v19_tableacl_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableGroupSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableGroupSpec) ProtoMessage() {} + +func (x *TableGroupSpec) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tableacl_v19_tableacl_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TableGroupSpec.ProtoReflect.Descriptor instead. +func (*TableGroupSpec) Descriptor() ([]byte, []int) { + return file_vitess_tableacl_v19_tableacl_proto_rawDescGZIP(), []int{0} +} + +func (x *TableGroupSpec) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *TableGroupSpec) GetTableNamesOrPrefixes() []string { + if x != nil { + return x.TableNamesOrPrefixes + } + return nil +} + +func (x *TableGroupSpec) GetReaders() []string { + if x != nil { + return x.Readers + } + return nil +} + +func (x *TableGroupSpec) GetWriters() []string { + if x != nil { + return x.Writers + } + return nil +} + +func (x *TableGroupSpec) GetAdmins() []string { + if x != nil { + return x.Admins + } + return nil +} + +type Config struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TableGroups []*TableGroupSpec `protobuf:"bytes,1,rep,name=table_groups,json=tableGroups,proto3" json:"table_groups,omitempty"` +} + +func (x *Config) Reset() { + *x = Config{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tableacl_v19_tableacl_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Config) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Config) ProtoMessage() {} + +func (x *Config) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tableacl_v19_tableacl_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Config.ProtoReflect.Descriptor instead. +func (*Config) Descriptor() ([]byte, []int) { + return file_vitess_tableacl_v19_tableacl_proto_rawDescGZIP(), []int{1} +} + +func (x *Config) GetTableGroups() []*TableGroupSpec { + if x != nil { + return x.TableGroups + } + return nil +} + +var File_vitess_tableacl_v19_tableacl_proto protoreflect.FileDescriptor + +var file_vitess_tableacl_v19_tableacl_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x61, 0x63, + 0x6c, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x61, 0x63, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x61, 0x63, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x22, 0xa7, 0x01, 0x0a, 0x0e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x35, 0x0a, 0x17, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, + 0x6f, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x14, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4f, 0x72, 0x50, + 0x72, 0x65, 0x66, 0x69, 0x78, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x72, 0x69, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x77, 0x72, 0x69, 0x74, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x46, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x61, 0x63, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x61, 0x63, 0x6c, + 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x61, 0x63, 0x6c, 0x76, 0x31, 0x39, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_tableacl_v19_tableacl_proto_rawDescOnce sync.Once + file_vitess_tableacl_v19_tableacl_proto_rawDescData = file_vitess_tableacl_v19_tableacl_proto_rawDesc +) + +func file_vitess_tableacl_v19_tableacl_proto_rawDescGZIP() []byte { + file_vitess_tableacl_v19_tableacl_proto_rawDescOnce.Do(func() { + file_vitess_tableacl_v19_tableacl_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_tableacl_v19_tableacl_proto_rawDescData) + }) + return file_vitess_tableacl_v19_tableacl_proto_rawDescData +} + +var file_vitess_tableacl_v19_tableacl_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_vitess_tableacl_v19_tableacl_proto_goTypes = []any{ + (*TableGroupSpec)(nil), // 0: vitess.tableacl.v19.TableGroupSpec + (*Config)(nil), // 1: vitess.tableacl.v19.Config +} +var file_vitess_tableacl_v19_tableacl_proto_depIdxs = []int32{ + 0, // 0: vitess.tableacl.v19.Config.table_groups:type_name -> vitess.tableacl.v19.TableGroupSpec + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_vitess_tableacl_v19_tableacl_proto_init() } +func file_vitess_tableacl_v19_tableacl_proto_init() { + if File_vitess_tableacl_v19_tableacl_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_tableacl_v19_tableacl_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*TableGroupSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tableacl_v19_tableacl_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*Config); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_tableacl_v19_tableacl_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_tableacl_v19_tableacl_proto_goTypes, + DependencyIndexes: file_vitess_tableacl_v19_tableacl_proto_depIdxs, + MessageInfos: file_vitess_tableacl_v19_tableacl_proto_msgTypes, + }.Build() + File_vitess_tableacl_v19_tableacl_proto = out.File + file_vitess_tableacl_v19_tableacl_proto_rawDesc = nil + file_vitess_tableacl_v19_tableacl_proto_goTypes = nil + file_vitess_tableacl_v19_tableacl_proto_depIdxs = nil +} diff --git a/gen/vitess/tableacl/v19/tableacl_vtproto.pb.go b/gen/vitess/tableacl/v19/tableacl_vtproto.pb.go new file mode 100644 index 0000000..1797ccd --- /dev/null +++ b/gen/vitess/tableacl/v19/tableacl_vtproto.pb.go @@ -0,0 +1,593 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/tableacl/v19/tableacl.proto + +package tableaclv19 + +import ( + fmt "fmt" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *TableGroupSpec) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TableGroupSpec) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TableGroupSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Admins) > 0 { + for iNdEx := len(m.Admins) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Admins[iNdEx]) + copy(dAtA[i:], m.Admins[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Admins[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Writers) > 0 { + for iNdEx := len(m.Writers) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Writers[iNdEx]) + copy(dAtA[i:], m.Writers[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Writers[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Readers) > 0 { + for iNdEx := len(m.Readers) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Readers[iNdEx]) + copy(dAtA[i:], m.Readers[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Readers[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.TableNamesOrPrefixes) > 0 { + for iNdEx := len(m.TableNamesOrPrefixes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TableNamesOrPrefixes[iNdEx]) + copy(dAtA[i:], m.TableNamesOrPrefixes[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.TableNamesOrPrefixes[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Config) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Config) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TableGroups) > 0 { + for iNdEx := len(m.TableGroups) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TableGroups[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *TableGroupSpec) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TableNamesOrPrefixes) > 0 { + for _, s := range m.TableNamesOrPrefixes { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Readers) > 0 { + for _, s := range m.Readers { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Writers) > 0 { + for _, s := range m.Writers { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Admins) > 0 { + for _, s := range m.Admins { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Config) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TableGroups) > 0 { + for _, e := range m.TableGroups { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *TableGroupSpec) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TableGroupSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TableGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableNamesOrPrefixes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableNamesOrPrefixes = append(m.TableNamesOrPrefixes, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Readers", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Readers = append(m.Readers, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Writers", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Writers = append(m.Writers, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Admins", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Admins = append(m.Admins, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Config) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Config: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Config: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableGroups", 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 + } + m.TableGroups = append(m.TableGroups, &TableGroupSpec{}) + if err := m.TableGroups[len(m.TableGroups)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata.pb.go b/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata.pb.go index 164503b..2eb5eb4 100644 --- a/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata.pb.go +++ b/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata.pb.go @@ -18,20 +18,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerdata/dev/tabletmanagerdata.proto package tabletmanagerdatadev import ( - dev6 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" - dev4 "github.com/planetscale/vitess-types/gen/vitess/logutil/dev" + dev7 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" + dev5 "github.com/planetscale/vitess-types/gen/vitess/logutil/dev" + dev3 "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/dev" dev "github.com/planetscale/vitess-types/gen/vitess/query/dev" - dev3 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/dev" + dev4 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/dev" dev1 "github.com/planetscale/vitess-types/gen/vitess/topodata/dev" dev2 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/dev" - dev5 "github.com/planetscale/vitess-types/gen/vitess/vttime/dev" + dev6 "github.com/planetscale/vitess-types/gen/vitess/vttime/dev" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -96,6 +97,64 @@ func (TabletSelectionPreference) EnumDescriptor() ([]byte, []int) { return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{0} } +type CheckThrottlerResponseCode int32 + +const ( + CheckThrottlerResponseCode_UNDEFINED CheckThrottlerResponseCode = 0 + CheckThrottlerResponseCode_OK CheckThrottlerResponseCode = 1 + CheckThrottlerResponseCode_THRESHOLD_EXCEEDED CheckThrottlerResponseCode = 2 + CheckThrottlerResponseCode_APP_DENIED CheckThrottlerResponseCode = 3 + CheckThrottlerResponseCode_UNKNOWN_METRIC CheckThrottlerResponseCode = 4 + CheckThrottlerResponseCode_INTERNAL_ERROR CheckThrottlerResponseCode = 5 +) + +// Enum value maps for CheckThrottlerResponseCode. +var ( + CheckThrottlerResponseCode_name = map[int32]string{ + 0: "UNDEFINED", + 1: "OK", + 2: "THRESHOLD_EXCEEDED", + 3: "APP_DENIED", + 4: "UNKNOWN_METRIC", + 5: "INTERNAL_ERROR", + } + CheckThrottlerResponseCode_value = map[string]int32{ + "UNDEFINED": 0, + "OK": 1, + "THRESHOLD_EXCEEDED": 2, + "APP_DENIED": 3, + "UNKNOWN_METRIC": 4, + "INTERNAL_ERROR": 5, + } +) + +func (x CheckThrottlerResponseCode) Enum() *CheckThrottlerResponseCode { + p := new(CheckThrottlerResponseCode) + *p = x + return p +} + +func (x CheckThrottlerResponseCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CheckThrottlerResponseCode) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_enumTypes[1].Descriptor() +} + +func (CheckThrottlerResponseCode) Type() protoreflect.EnumType { + return &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_enumTypes[1] +} + +func (x CheckThrottlerResponseCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CheckThrottlerResponseCode.Descriptor instead. +func (CheckThrottlerResponseCode) EnumDescriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{1} +} + type TableDefinition struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1035,6 +1094,100 @@ func (x *GetPermissionsResponse) GetPermissions() *Permissions { return nil } +type GetGlobalStatusVarsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Variables []string `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty"` +} + +func (x *GetGlobalStatusVarsRequest) Reset() { + *x = GetGlobalStatusVarsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGlobalStatusVarsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGlobalStatusVarsRequest) ProtoMessage() {} + +func (x *GetGlobalStatusVarsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGlobalStatusVarsRequest.ProtoReflect.Descriptor instead. +func (*GetGlobalStatusVarsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{16} +} + +func (x *GetGlobalStatusVarsRequest) GetVariables() []string { + if x != nil { + return x.Variables + } + return nil +} + +type GetGlobalStatusVarsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StatusValues map[string]string `protobuf:"bytes,1,rep,name=status_values,json=statusValues,proto3" json:"status_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetGlobalStatusVarsResponse) Reset() { + *x = GetGlobalStatusVarsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGlobalStatusVarsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGlobalStatusVarsResponse) ProtoMessage() {} + +func (x *GetGlobalStatusVarsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGlobalStatusVarsResponse.ProtoReflect.Descriptor instead. +func (*GetGlobalStatusVarsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{17} +} + +func (x *GetGlobalStatusVarsResponse) GetStatusValues() map[string]string { + if x != nil { + return x.StatusValues + } + return nil +} + type SetReadOnlyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1044,7 +1197,7 @@ type SetReadOnlyRequest struct { func (x *SetReadOnlyRequest) Reset() { *x = SetReadOnlyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[16] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1057,7 +1210,7 @@ func (x *SetReadOnlyRequest) String() string { func (*SetReadOnlyRequest) ProtoMessage() {} func (x *SetReadOnlyRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[16] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1070,7 +1223,7 @@ func (x *SetReadOnlyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReadOnlyRequest.ProtoReflect.Descriptor instead. func (*SetReadOnlyRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{16} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{18} } type SetReadOnlyResponse struct { @@ -1082,7 +1235,7 @@ type SetReadOnlyResponse struct { func (x *SetReadOnlyResponse) Reset() { *x = SetReadOnlyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[17] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1095,7 +1248,7 @@ func (x *SetReadOnlyResponse) String() string { func (*SetReadOnlyResponse) ProtoMessage() {} func (x *SetReadOnlyResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[17] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1108,7 +1261,7 @@ func (x *SetReadOnlyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReadOnlyResponse.ProtoReflect.Descriptor instead. func (*SetReadOnlyResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{17} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{19} } type SetReadWriteRequest struct { @@ -1120,7 +1273,7 @@ type SetReadWriteRequest struct { func (x *SetReadWriteRequest) Reset() { *x = SetReadWriteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[18] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1133,7 +1286,7 @@ func (x *SetReadWriteRequest) String() string { func (*SetReadWriteRequest) ProtoMessage() {} func (x *SetReadWriteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[18] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1146,7 +1299,7 @@ func (x *SetReadWriteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReadWriteRequest.ProtoReflect.Descriptor instead. func (*SetReadWriteRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{18} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{20} } type SetReadWriteResponse struct { @@ -1158,7 +1311,7 @@ type SetReadWriteResponse struct { func (x *SetReadWriteResponse) Reset() { *x = SetReadWriteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[19] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1171,7 +1324,7 @@ func (x *SetReadWriteResponse) String() string { func (*SetReadWriteResponse) ProtoMessage() {} func (x *SetReadWriteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[19] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1184,7 +1337,7 @@ func (x *SetReadWriteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SetReadWriteResponse.ProtoReflect.Descriptor instead. func (*SetReadWriteResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{19} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{21} } type ChangeTypeRequest struct { @@ -1199,7 +1352,7 @@ type ChangeTypeRequest struct { func (x *ChangeTypeRequest) Reset() { *x = ChangeTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[20] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1212,7 +1365,7 @@ func (x *ChangeTypeRequest) String() string { func (*ChangeTypeRequest) ProtoMessage() {} func (x *ChangeTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[20] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1225,7 +1378,7 @@ func (x *ChangeTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeTypeRequest.ProtoReflect.Descriptor instead. func (*ChangeTypeRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{20} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{22} } func (x *ChangeTypeRequest) GetTabletType() dev1.TabletType { @@ -1251,7 +1404,7 @@ type ChangeTypeResponse struct { func (x *ChangeTypeResponse) Reset() { *x = ChangeTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[21] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1264,7 +1417,7 @@ func (x *ChangeTypeResponse) String() string { func (*ChangeTypeResponse) ProtoMessage() {} func (x *ChangeTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[21] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1277,7 +1430,7 @@ func (x *ChangeTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeTypeResponse.ProtoReflect.Descriptor instead. func (*ChangeTypeResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{21} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{23} } type RefreshStateRequest struct { @@ -1289,7 +1442,7 @@ type RefreshStateRequest struct { func (x *RefreshStateRequest) Reset() { *x = RefreshStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[22] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1302,7 +1455,7 @@ func (x *RefreshStateRequest) String() string { func (*RefreshStateRequest) ProtoMessage() {} func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[22] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1315,7 +1468,7 @@ func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. func (*RefreshStateRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{22} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{24} } type RefreshStateResponse struct { @@ -1327,7 +1480,7 @@ type RefreshStateResponse struct { func (x *RefreshStateResponse) Reset() { *x = RefreshStateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[23] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1340,7 +1493,7 @@ func (x *RefreshStateResponse) String() string { func (*RefreshStateResponse) ProtoMessage() {} func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[23] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1353,7 +1506,7 @@ func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. func (*RefreshStateResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{23} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{25} } type RunHealthCheckRequest struct { @@ -1365,7 +1518,7 @@ type RunHealthCheckRequest struct { func (x *RunHealthCheckRequest) Reset() { *x = RunHealthCheckRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[24] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1378,7 +1531,7 @@ func (x *RunHealthCheckRequest) String() string { func (*RunHealthCheckRequest) ProtoMessage() {} func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[24] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1391,7 +1544,7 @@ func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{24} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{26} } type RunHealthCheckResponse struct { @@ -1403,7 +1556,7 @@ type RunHealthCheckResponse struct { func (x *RunHealthCheckResponse) Reset() { *x = RunHealthCheckResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[25] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1416,7 +1569,7 @@ func (x *RunHealthCheckResponse) String() string { func (*RunHealthCheckResponse) ProtoMessage() {} func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[25] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1429,7 +1582,7 @@ func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{25} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{27} } type ReloadSchemaRequest struct { @@ -1446,7 +1599,7 @@ type ReloadSchemaRequest struct { func (x *ReloadSchemaRequest) Reset() { *x = ReloadSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[26] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1459,7 +1612,7 @@ func (x *ReloadSchemaRequest) String() string { func (*ReloadSchemaRequest) ProtoMessage() {} func (x *ReloadSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[26] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1472,7 +1625,7 @@ func (x *ReloadSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReloadSchemaRequest.ProtoReflect.Descriptor instead. func (*ReloadSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{26} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{28} } func (x *ReloadSchemaRequest) GetWaitPosition() string { @@ -1491,7 +1644,7 @@ type ReloadSchemaResponse struct { func (x *ReloadSchemaResponse) Reset() { *x = ReloadSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[27] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1504,7 +1657,7 @@ func (x *ReloadSchemaResponse) String() string { func (*ReloadSchemaResponse) ProtoMessage() {} func (x *ReloadSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[27] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1517,7 +1670,7 @@ func (x *ReloadSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReloadSchemaResponse.ProtoReflect.Descriptor instead. func (*ReloadSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{27} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{29} } type PreflightSchemaRequest struct { @@ -1531,7 +1684,7 @@ type PreflightSchemaRequest struct { func (x *PreflightSchemaRequest) Reset() { *x = PreflightSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[28] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1544,7 +1697,7 @@ func (x *PreflightSchemaRequest) String() string { func (*PreflightSchemaRequest) ProtoMessage() {} func (x *PreflightSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[28] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1557,7 +1710,7 @@ func (x *PreflightSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PreflightSchemaRequest.ProtoReflect.Descriptor instead. func (*PreflightSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{28} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{30} } func (x *PreflightSchemaRequest) GetChanges() []string { @@ -1580,7 +1733,7 @@ type PreflightSchemaResponse struct { func (x *PreflightSchemaResponse) Reset() { *x = PreflightSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[29] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1593,7 +1746,7 @@ func (x *PreflightSchemaResponse) String() string { func (*PreflightSchemaResponse) ProtoMessage() {} func (x *PreflightSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[29] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1606,7 +1759,7 @@ func (x *PreflightSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PreflightSchemaResponse.ProtoReflect.Descriptor instead. func (*PreflightSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{29} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{31} } func (x *PreflightSchemaResponse) GetChangeResults() []*SchemaChangeResult { @@ -1627,14 +1780,16 @@ type ApplySchemaRequest struct { BeforeSchema *SchemaDefinition `protobuf:"bytes,4,opt,name=before_schema,json=beforeSchema,proto3" json:"before_schema,omitempty"` AfterSchema *SchemaDefinition `protobuf:"bytes,5,opt,name=after_schema,json=afterSchema,proto3" json:"after_schema,omitempty"` SqlMode string `protobuf:"bytes,6,opt,name=sql_mode,json=sqlMode,proto3" json:"sql_mode,omitempty"` - // BatchSize indicates how many queries to apply together + // BatchSize indicates how many queries to apply together. BatchSize int64 `protobuf:"varint,7,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` + // DisableForeignKeyChecks will result in setting foreign_key_checks to off before applying the schema. + DisableForeignKeyChecks bool `protobuf:"varint,8,opt,name=disable_foreign_key_checks,json=disableForeignKeyChecks,proto3" json:"disable_foreign_key_checks,omitempty"` } func (x *ApplySchemaRequest) Reset() { *x = ApplySchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[30] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1647,7 +1802,7 @@ func (x *ApplySchemaRequest) String() string { func (*ApplySchemaRequest) ProtoMessage() {} func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[30] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1660,7 +1815,7 @@ func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplySchemaRequest.ProtoReflect.Descriptor instead. func (*ApplySchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{30} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{32} } func (x *ApplySchemaRequest) GetSql() string { @@ -1712,6 +1867,13 @@ func (x *ApplySchemaRequest) GetBatchSize() int64 { return 0 } +func (x *ApplySchemaRequest) GetDisableForeignKeyChecks() bool { + if x != nil { + return x.DisableForeignKeyChecks + } + return false +} + type ApplySchemaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1724,7 +1886,7 @@ type ApplySchemaResponse struct { func (x *ApplySchemaResponse) Reset() { *x = ApplySchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[31] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1737,7 +1899,7 @@ func (x *ApplySchemaResponse) String() string { func (*ApplySchemaResponse) ProtoMessage() {} func (x *ApplySchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[31] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1750,7 +1912,7 @@ func (x *ApplySchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplySchemaResponse.ProtoReflect.Descriptor instead. func (*ApplySchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{31} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{33} } func (x *ApplySchemaResponse) GetBeforeSchema() *SchemaDefinition { @@ -1776,7 +1938,7 @@ type LockTablesRequest struct { func (x *LockTablesRequest) Reset() { *x = LockTablesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[32] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1789,7 +1951,7 @@ func (x *LockTablesRequest) String() string { func (*LockTablesRequest) ProtoMessage() {} func (x *LockTablesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[32] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1802,7 +1964,7 @@ func (x *LockTablesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LockTablesRequest.ProtoReflect.Descriptor instead. func (*LockTablesRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{32} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{34} } type LockTablesResponse struct { @@ -1814,7 +1976,7 @@ type LockTablesResponse struct { func (x *LockTablesResponse) Reset() { *x = LockTablesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[33] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1827,7 +1989,7 @@ func (x *LockTablesResponse) String() string { func (*LockTablesResponse) ProtoMessage() {} func (x *LockTablesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[33] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1840,7 +2002,7 @@ func (x *LockTablesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LockTablesResponse.ProtoReflect.Descriptor instead. func (*LockTablesResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{33} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{35} } type UnlockTablesRequest struct { @@ -1852,7 +2014,7 @@ type UnlockTablesRequest struct { func (x *UnlockTablesRequest) Reset() { *x = UnlockTablesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[34] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1865,7 +2027,7 @@ func (x *UnlockTablesRequest) String() string { func (*UnlockTablesRequest) ProtoMessage() {} func (x *UnlockTablesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[34] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1878,7 +2040,7 @@ func (x *UnlockTablesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnlockTablesRequest.ProtoReflect.Descriptor instead. func (*UnlockTablesRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{34} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{36} } type UnlockTablesResponse struct { @@ -1890,7 +2052,7 @@ type UnlockTablesResponse struct { func (x *UnlockTablesResponse) Reset() { *x = UnlockTablesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[35] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1903,7 +2065,7 @@ func (x *UnlockTablesResponse) String() string { func (*UnlockTablesResponse) ProtoMessage() {} func (x *UnlockTablesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[35] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1916,7 +2078,7 @@ func (x *UnlockTablesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnlockTablesResponse.ProtoReflect.Descriptor instead. func (*UnlockTablesResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{35} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{37} } type ExecuteQueryRequest struct { @@ -1935,7 +2097,7 @@ type ExecuteQueryRequest struct { func (x *ExecuteQueryRequest) Reset() { *x = ExecuteQueryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[36] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1948,7 +2110,7 @@ func (x *ExecuteQueryRequest) String() string { func (*ExecuteQueryRequest) ProtoMessage() {} func (x *ExecuteQueryRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[36] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1961,7 +2123,7 @@ func (x *ExecuteQueryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteQueryRequest.ProtoReflect.Descriptor instead. func (*ExecuteQueryRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{36} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{38} } func (x *ExecuteQueryRequest) GetQuery() []byte { @@ -2003,7 +2165,7 @@ type ExecuteQueryResponse struct { func (x *ExecuteQueryResponse) Reset() { *x = ExecuteQueryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[37] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2016,7 +2178,7 @@ func (x *ExecuteQueryResponse) String() string { func (*ExecuteQueryResponse) ProtoMessage() {} func (x *ExecuteQueryResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[37] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2029,7 +2191,7 @@ func (x *ExecuteQueryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteQueryResponse.ProtoReflect.Descriptor instead. func (*ExecuteQueryResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{37} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{39} } func (x *ExecuteQueryResponse) GetResult() *dev.QueryResult { @@ -2044,17 +2206,18 @@ type ExecuteFetchAsDbaRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` - MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` - DisableBinlogs bool `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs,proto3" json:"disable_binlogs,omitempty"` - ReloadSchema bool `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` + Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + DisableBinlogs bool `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs,proto3" json:"disable_binlogs,omitempty"` + ReloadSchema bool `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` + DisableForeignKeyChecks bool `protobuf:"varint,6,opt,name=disable_foreign_key_checks,json=disableForeignKeyChecks,proto3" json:"disable_foreign_key_checks,omitempty"` } func (x *ExecuteFetchAsDbaRequest) Reset() { *x = ExecuteFetchAsDbaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[38] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2067,7 +2230,7 @@ func (x *ExecuteFetchAsDbaRequest) String() string { func (*ExecuteFetchAsDbaRequest) ProtoMessage() {} func (x *ExecuteFetchAsDbaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[38] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2080,7 +2243,7 @@ func (x *ExecuteFetchAsDbaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsDbaRequest.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsDbaRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{38} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{40} } func (x *ExecuteFetchAsDbaRequest) GetQuery() []byte { @@ -2118,6 +2281,13 @@ func (x *ExecuteFetchAsDbaRequest) GetReloadSchema() bool { return false } +func (x *ExecuteFetchAsDbaRequest) GetDisableForeignKeyChecks() bool { + if x != nil { + return x.DisableForeignKeyChecks + } + return false +} + type ExecuteFetchAsDbaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2129,7 +2299,7 @@ type ExecuteFetchAsDbaResponse struct { func (x *ExecuteFetchAsDbaResponse) Reset() { *x = ExecuteFetchAsDbaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[39] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2142,7 +2312,7 @@ func (x *ExecuteFetchAsDbaResponse) String() string { func (*ExecuteFetchAsDbaResponse) ProtoMessage() {} func (x *ExecuteFetchAsDbaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[39] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2155,7 +2325,7 @@ func (x *ExecuteFetchAsDbaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsDbaResponse.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsDbaResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{39} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{41} } func (x *ExecuteFetchAsDbaResponse) GetResult() *dev.QueryResult { @@ -2165,21 +2335,155 @@ func (x *ExecuteFetchAsDbaResponse) GetResult() *dev.QueryResult { return nil } -type ExecuteFetchAsAllPrivsRequest struct { +type ExecuteMultiFetchAsDbaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` - MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` - ReloadSchema bool `protobuf:"varint,4,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` + Sql []byte `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"` + DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + DisableBinlogs bool `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs,proto3" json:"disable_binlogs,omitempty"` + ReloadSchema bool `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` + DisableForeignKeyChecks bool `protobuf:"varint,6,opt,name=disable_foreign_key_checks,json=disableForeignKeyChecks,proto3" json:"disable_foreign_key_checks,omitempty"` +} + +func (x *ExecuteMultiFetchAsDbaRequest) Reset() { + *x = ExecuteMultiFetchAsDbaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteMultiFetchAsDbaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteMultiFetchAsDbaRequest) ProtoMessage() {} + +func (x *ExecuteMultiFetchAsDbaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteMultiFetchAsDbaRequest.ProtoReflect.Descriptor instead. +func (*ExecuteMultiFetchAsDbaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{42} +} + +func (x *ExecuteMultiFetchAsDbaRequest) GetSql() []byte { + if x != nil { + return x.Sql + } + return nil +} + +func (x *ExecuteMultiFetchAsDbaRequest) GetDbName() string { + if x != nil { + return x.DbName + } + return "" +} + +func (x *ExecuteMultiFetchAsDbaRequest) GetMaxRows() uint64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *ExecuteMultiFetchAsDbaRequest) GetDisableBinlogs() bool { + if x != nil { + return x.DisableBinlogs + } + return false +} + +func (x *ExecuteMultiFetchAsDbaRequest) GetReloadSchema() bool { + if x != nil { + return x.ReloadSchema + } + return false +} + +func (x *ExecuteMultiFetchAsDbaRequest) GetDisableForeignKeyChecks() bool { + if x != nil { + return x.DisableForeignKeyChecks + } + return false +} + +type ExecuteMultiFetchAsDbaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []*dev.QueryResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` +} + +func (x *ExecuteMultiFetchAsDbaResponse) Reset() { + *x = ExecuteMultiFetchAsDbaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteMultiFetchAsDbaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteMultiFetchAsDbaResponse) ProtoMessage() {} + +func (x *ExecuteMultiFetchAsDbaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteMultiFetchAsDbaResponse.ProtoReflect.Descriptor instead. +func (*ExecuteMultiFetchAsDbaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{43} +} + +func (x *ExecuteMultiFetchAsDbaResponse) GetResults() []*dev.QueryResult { + if x != nil { + return x.Results + } + return nil +} + +type ExecuteFetchAsAllPrivsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + ReloadSchema bool `protobuf:"varint,4,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` } func (x *ExecuteFetchAsAllPrivsRequest) Reset() { *x = ExecuteFetchAsAllPrivsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[40] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2192,7 +2496,7 @@ func (x *ExecuteFetchAsAllPrivsRequest) String() string { func (*ExecuteFetchAsAllPrivsRequest) ProtoMessage() {} func (x *ExecuteFetchAsAllPrivsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[40] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2205,7 +2509,7 @@ func (x *ExecuteFetchAsAllPrivsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsAllPrivsRequest.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsAllPrivsRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{40} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{44} } func (x *ExecuteFetchAsAllPrivsRequest) GetQuery() []byte { @@ -2247,7 +2551,7 @@ type ExecuteFetchAsAllPrivsResponse struct { func (x *ExecuteFetchAsAllPrivsResponse) Reset() { *x = ExecuteFetchAsAllPrivsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[41] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2260,7 +2564,7 @@ func (x *ExecuteFetchAsAllPrivsResponse) String() string { func (*ExecuteFetchAsAllPrivsResponse) ProtoMessage() {} func (x *ExecuteFetchAsAllPrivsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[41] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2273,7 +2577,7 @@ func (x *ExecuteFetchAsAllPrivsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsAllPrivsResponse.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsAllPrivsResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{41} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{45} } func (x *ExecuteFetchAsAllPrivsResponse) GetResult() *dev.QueryResult { @@ -2295,7 +2599,7 @@ type ExecuteFetchAsAppRequest struct { func (x *ExecuteFetchAsAppRequest) Reset() { *x = ExecuteFetchAsAppRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[42] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2308,7 +2612,7 @@ func (x *ExecuteFetchAsAppRequest) String() string { func (*ExecuteFetchAsAppRequest) ProtoMessage() {} func (x *ExecuteFetchAsAppRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[42] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2321,7 +2625,7 @@ func (x *ExecuteFetchAsAppRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsAppRequest.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsAppRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{42} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{46} } func (x *ExecuteFetchAsAppRequest) GetQuery() []byte { @@ -2349,7 +2653,7 @@ type ExecuteFetchAsAppResponse struct { func (x *ExecuteFetchAsAppResponse) Reset() { *x = ExecuteFetchAsAppResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[43] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2362,7 +2666,7 @@ func (x *ExecuteFetchAsAppResponse) String() string { func (*ExecuteFetchAsAppResponse) ProtoMessage() {} func (x *ExecuteFetchAsAppResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[43] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2375,7 +2679,7 @@ func (x *ExecuteFetchAsAppResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsAppResponse.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsAppResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{43} + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{47} } func (x *ExecuteFetchAsAppResponse) GetResult() *dev.QueryResult { @@ -2385,29 +2689,31 @@ func (x *ExecuteFetchAsAppResponse) GetResult() *dev.QueryResult { return nil } -type ReplicationStatusRequest struct { +type GetUnresolvedTransactionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + AbandonAge int64 `protobuf:"varint,1,opt,name=abandon_age,json=abandonAge,proto3" json:"abandon_age,omitempty"` } -func (x *ReplicationStatusRequest) Reset() { - *x = ReplicationStatusRequest{} +func (x *GetUnresolvedTransactionsRequest) Reset() { + *x = GetUnresolvedTransactionsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[44] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReplicationStatusRequest) String() string { +func (x *GetUnresolvedTransactionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReplicationStatusRequest) ProtoMessage() {} +func (*GetUnresolvedTransactionsRequest) ProtoMessage() {} -func (x *ReplicationStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[44] +func (x *GetUnresolvedTransactionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2418,36 +2724,43 @@ func (x *ReplicationStatusRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReplicationStatusRequest.ProtoReflect.Descriptor instead. -func (*ReplicationStatusRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{44} +// Deprecated: Use GetUnresolvedTransactionsRequest.ProtoReflect.Descriptor instead. +func (*GetUnresolvedTransactionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{48} } -type ReplicationStatusResponse struct { +func (x *GetUnresolvedTransactionsRequest) GetAbandonAge() int64 { + if x != nil { + return x.AbandonAge + } + return 0 +} + +type GetUnresolvedTransactionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status *dev3.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Transactions []*dev.TransactionMetadata `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` } -func (x *ReplicationStatusResponse) Reset() { - *x = ReplicationStatusResponse{} +func (x *GetUnresolvedTransactionsResponse) Reset() { + *x = GetUnresolvedTransactionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[45] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReplicationStatusResponse) String() string { +func (x *GetUnresolvedTransactionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReplicationStatusResponse) ProtoMessage() {} +func (*GetUnresolvedTransactionsResponse) ProtoMessage() {} -func (x *ReplicationStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[45] +func (x *GetUnresolvedTransactionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2458,41 +2771,43 @@ func (x *ReplicationStatusResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReplicationStatusResponse.ProtoReflect.Descriptor instead. -func (*ReplicationStatusResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{45} +// Deprecated: Use GetUnresolvedTransactionsResponse.ProtoReflect.Descriptor instead. +func (*GetUnresolvedTransactionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{49} } -func (x *ReplicationStatusResponse) GetStatus() *dev3.Status { +func (x *GetUnresolvedTransactionsResponse) GetTransactions() []*dev.TransactionMetadata { if x != nil { - return x.Status + return x.Transactions } return nil } -type PrimaryStatusRequest struct { +type ReadTransactionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Dtid string `protobuf:"bytes,1,opt,name=dtid,proto3" json:"dtid,omitempty"` } -func (x *PrimaryStatusRequest) Reset() { - *x = PrimaryStatusRequest{} +func (x *ReadTransactionRequest) Reset() { + *x = ReadTransactionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[46] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PrimaryStatusRequest) String() string { +func (x *ReadTransactionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrimaryStatusRequest) ProtoMessage() {} +func (*ReadTransactionRequest) ProtoMessage() {} -func (x *PrimaryStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[46] +func (x *ReadTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2503,36 +2818,43 @@ func (x *PrimaryStatusRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrimaryStatusRequest.ProtoReflect.Descriptor instead. -func (*PrimaryStatusRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{46} +// Deprecated: Use ReadTransactionRequest.ProtoReflect.Descriptor instead. +func (*ReadTransactionRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{50} } -type PrimaryStatusResponse struct { +func (x *ReadTransactionRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +type ReadTransactionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status *dev3.PrimaryStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Transaction *dev.TransactionMetadata `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` } -func (x *PrimaryStatusResponse) Reset() { - *x = PrimaryStatusResponse{} +func (x *ReadTransactionResponse) Reset() { + *x = ReadTransactionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[47] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PrimaryStatusResponse) String() string { +func (x *ReadTransactionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrimaryStatusResponse) ProtoMessage() {} +func (*ReadTransactionResponse) ProtoMessage() {} -func (x *PrimaryStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[47] +func (x *ReadTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2543,41 +2865,43 @@ func (x *PrimaryStatusResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrimaryStatusResponse.ProtoReflect.Descriptor instead. -func (*PrimaryStatusResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{47} +// Deprecated: Use ReadTransactionResponse.ProtoReflect.Descriptor instead. +func (*ReadTransactionResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{51} } -func (x *PrimaryStatusResponse) GetStatus() *dev3.PrimaryStatus { +func (x *ReadTransactionResponse) GetTransaction() *dev.TransactionMetadata { if x != nil { - return x.Status + return x.Transaction } return nil } -type PrimaryPositionRequest struct { +type GetTransactionInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Dtid string `protobuf:"bytes,1,opt,name=dtid,proto3" json:"dtid,omitempty"` } -func (x *PrimaryPositionRequest) Reset() { - *x = PrimaryPositionRequest{} +func (x *GetTransactionInfoRequest) Reset() { + *x = GetTransactionInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[48] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PrimaryPositionRequest) String() string { +func (x *GetTransactionInfoRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrimaryPositionRequest) ProtoMessage() {} +func (*GetTransactionInfoRequest) ProtoMessage() {} -func (x *PrimaryPositionRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[48] +func (x *GetTransactionInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2588,36 +2912,46 @@ func (x *PrimaryPositionRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrimaryPositionRequest.ProtoReflect.Descriptor instead. -func (*PrimaryPositionRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{48} +// Deprecated: Use GetTransactionInfoRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{52} } -type PrimaryPositionResponse struct { +func (x *GetTransactionInfoRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +type GetTransactionInfoResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + TimeCreated int64 `protobuf:"varint,3,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` + Statements []string `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"` } -func (x *PrimaryPositionResponse) Reset() { - *x = PrimaryPositionResponse{} +func (x *GetTransactionInfoResponse) Reset() { + *x = GetTransactionInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[49] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PrimaryPositionResponse) String() string { +func (x *GetTransactionInfoResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrimaryPositionResponse) ProtoMessage() {} +func (*GetTransactionInfoResponse) ProtoMessage() {} -func (x *PrimaryPositionResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[49] +func (x *GetTransactionInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2628,43 +2962,65 @@ func (x *PrimaryPositionResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrimaryPositionResponse.ProtoReflect.Descriptor instead. -func (*PrimaryPositionResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{49} +// Deprecated: Use GetTransactionInfoResponse.ProtoReflect.Descriptor instead. +func (*GetTransactionInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{53} } -func (x *PrimaryPositionResponse) GetPosition() string { +func (x *GetTransactionInfoResponse) GetState() string { if x != nil { - return x.Position + return x.State } return "" } -type WaitForPositionRequest struct { +func (x *GetTransactionInfoResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *GetTransactionInfoResponse) GetTimeCreated() int64 { + if x != nil { + return x.TimeCreated + } + return 0 +} + +func (x *GetTransactionInfoResponse) GetStatements() []string { + if x != nil { + return x.Statements + } + return nil +} + +type ConcludeTransactionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + Dtid string `protobuf:"bytes,1,opt,name=dtid,proto3" json:"dtid,omitempty"` + Mm bool `protobuf:"varint,2,opt,name=mm,proto3" json:"mm,omitempty"` } -func (x *WaitForPositionRequest) Reset() { - *x = WaitForPositionRequest{} +func (x *ConcludeTransactionRequest) Reset() { + *x = ConcludeTransactionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[50] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *WaitForPositionRequest) String() string { +func (x *ConcludeTransactionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*WaitForPositionRequest) ProtoMessage() {} +func (*ConcludeTransactionRequest) ProtoMessage() {} -func (x *WaitForPositionRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[50] +func (x *ConcludeTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2675,41 +3031,48 @@ func (x *WaitForPositionRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use WaitForPositionRequest.ProtoReflect.Descriptor instead. -func (*WaitForPositionRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{50} +// Deprecated: Use ConcludeTransactionRequest.ProtoReflect.Descriptor instead. +func (*ConcludeTransactionRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{54} } -func (x *WaitForPositionRequest) GetPosition() string { +func (x *ConcludeTransactionRequest) GetDtid() string { if x != nil { - return x.Position + return x.Dtid } return "" } -type WaitForPositionResponse struct { +func (x *ConcludeTransactionRequest) GetMm() bool { + if x != nil { + return x.Mm + } + return false +} + +type ConcludeTransactionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *WaitForPositionResponse) Reset() { - *x = WaitForPositionResponse{} +func (x *ConcludeTransactionResponse) Reset() { + *x = ConcludeTransactionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[51] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *WaitForPositionResponse) String() string { +func (x *ConcludeTransactionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*WaitForPositionResponse) ProtoMessage() {} +func (*ConcludeTransactionResponse) ProtoMessage() {} -func (x *WaitForPositionResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[51] +func (x *ConcludeTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2720,34 +3083,34 @@ func (x *WaitForPositionResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use WaitForPositionResponse.ProtoReflect.Descriptor instead. -func (*WaitForPositionResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{51} +// Deprecated: Use ConcludeTransactionResponse.ProtoReflect.Descriptor instead. +func (*ConcludeTransactionResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{55} } -type StopReplicationRequest struct { +type MysqlHostMetricsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *StopReplicationRequest) Reset() { - *x = StopReplicationRequest{} +func (x *MysqlHostMetricsRequest) Reset() { + *x = MysqlHostMetricsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[52] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationRequest) String() string { +func (x *MysqlHostMetricsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationRequest) ProtoMessage() {} +func (*MysqlHostMetricsRequest) ProtoMessage() {} -func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[52] +func (x *MysqlHostMetricsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2758,34 +3121,36 @@ func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. -func (*StopReplicationRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{52} +// Deprecated: Use MysqlHostMetricsRequest.ProtoReflect.Descriptor instead. +func (*MysqlHostMetricsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{56} } -type StopReplicationResponse struct { +type MysqlHostMetricsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + HostMetrics *dev3.HostMetricsResponse `protobuf:"bytes,1,opt,name=HostMetrics,proto3" json:"HostMetrics,omitempty"` } -func (x *StopReplicationResponse) Reset() { - *x = StopReplicationResponse{} +func (x *MysqlHostMetricsResponse) Reset() { + *x = MysqlHostMetricsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[53] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationResponse) String() string { +func (x *MysqlHostMetricsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationResponse) ProtoMessage() {} +func (*MysqlHostMetricsResponse) ProtoMessage() {} -func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[53] +func (x *MysqlHostMetricsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2796,37 +3161,41 @@ func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. -func (*StopReplicationResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{53} +// Deprecated: Use MysqlHostMetricsResponse.ProtoReflect.Descriptor instead. +func (*MysqlHostMetricsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{57} } -type StopReplicationMinimumRequest struct { +func (x *MysqlHostMetricsResponse) GetHostMetrics() *dev3.HostMetricsResponse { + if x != nil { + return x.HostMetrics + } + return nil +} + +type ReplicationStatusRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` - WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` } -func (x *StopReplicationMinimumRequest) Reset() { - *x = StopReplicationMinimumRequest{} +func (x *ReplicationStatusRequest) Reset() { + *x = ReplicationStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[54] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationMinimumRequest) String() string { +func (x *ReplicationStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationMinimumRequest) ProtoMessage() {} +func (*ReplicationStatusRequest) ProtoMessage() {} -func (x *StopReplicationMinimumRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[54] +func (x *ReplicationStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2837,50 +3206,36 @@ func (x *StopReplicationMinimumRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StopReplicationMinimumRequest.ProtoReflect.Descriptor instead. -func (*StopReplicationMinimumRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{54} -} - -func (x *StopReplicationMinimumRequest) GetPosition() string { - if x != nil { - return x.Position - } - return "" -} - -func (x *StopReplicationMinimumRequest) GetWaitTimeout() int64 { - if x != nil { - return x.WaitTimeout - } - return 0 +// Deprecated: Use ReplicationStatusRequest.ProtoReflect.Descriptor instead. +func (*ReplicationStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{58} } -type StopReplicationMinimumResponse struct { +type ReplicationStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + Status *dev4.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (x *StopReplicationMinimumResponse) Reset() { - *x = StopReplicationMinimumResponse{} +func (x *ReplicationStatusResponse) Reset() { + *x = ReplicationStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[55] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationMinimumResponse) String() string { +func (x *ReplicationStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationMinimumResponse) ProtoMessage() {} +func (*ReplicationStatusResponse) ProtoMessage() {} -func (x *StopReplicationMinimumResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[55] +func (x *ReplicationStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2891,43 +3246,41 @@ func (x *StopReplicationMinimumResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StopReplicationMinimumResponse.ProtoReflect.Descriptor instead. -func (*StopReplicationMinimumResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{55} +// Deprecated: Use ReplicationStatusResponse.ProtoReflect.Descriptor instead. +func (*ReplicationStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{59} } -func (x *StopReplicationMinimumResponse) GetPosition() string { +func (x *ReplicationStatusResponse) GetStatus() *dev4.Status { if x != nil { - return x.Position + return x.Status } - return "" + return nil } -type StartReplicationRequest struct { +type PrimaryStatusRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` } -func (x *StartReplicationRequest) Reset() { - *x = StartReplicationRequest{} +func (x *PrimaryStatusRequest) Reset() { + *x = PrimaryStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[56] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StartReplicationRequest) String() string { +func (x *PrimaryStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StartReplicationRequest) ProtoMessage() {} +func (*PrimaryStatusRequest) ProtoMessage() {} -func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[56] +func (x *PrimaryStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2938,41 +3291,36 @@ func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. -func (*StartReplicationRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{56} -} - -func (x *StartReplicationRequest) GetSemiSync() bool { - if x != nil { - return x.SemiSync - } - return false +// Deprecated: Use PrimaryStatusRequest.ProtoReflect.Descriptor instead. +func (*PrimaryStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{60} } -type StartReplicationResponse struct { +type PrimaryStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Status *dev4.PrimaryStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (x *StartReplicationResponse) Reset() { - *x = StartReplicationResponse{} +func (x *PrimaryStatusResponse) Reset() { + *x = PrimaryStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[57] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StartReplicationResponse) String() string { +func (x *PrimaryStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StartReplicationResponse) ProtoMessage() {} +func (*PrimaryStatusResponse) ProtoMessage() {} -func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[57] +func (x *PrimaryStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2983,37 +3331,41 @@ func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. -func (*StartReplicationResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{57} +// Deprecated: Use PrimaryStatusResponse.ProtoReflect.Descriptor instead. +func (*PrimaryStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{61} } -type StartReplicationUntilAfterRequest struct { +func (x *PrimaryStatusResponse) GetStatus() *dev4.PrimaryStatus { + if x != nil { + return x.Status + } + return nil +} + +type PrimaryPositionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` - WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` } -func (x *StartReplicationUntilAfterRequest) Reset() { - *x = StartReplicationUntilAfterRequest{} +func (x *PrimaryPositionRequest) Reset() { + *x = PrimaryPositionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[58] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StartReplicationUntilAfterRequest) String() string { +func (x *PrimaryPositionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StartReplicationUntilAfterRequest) ProtoMessage() {} +func (*PrimaryPositionRequest) ProtoMessage() {} -func (x *StartReplicationUntilAfterRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[58] +func (x *PrimaryPositionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3024,48 +3376,36 @@ func (x *StartReplicationUntilAfterRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use StartReplicationUntilAfterRequest.ProtoReflect.Descriptor instead. -func (*StartReplicationUntilAfterRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{58} -} - -func (x *StartReplicationUntilAfterRequest) GetPosition() string { - if x != nil { - return x.Position - } - return "" -} - -func (x *StartReplicationUntilAfterRequest) GetWaitTimeout() int64 { - if x != nil { - return x.WaitTimeout - } - return 0 +// Deprecated: Use PrimaryPositionRequest.ProtoReflect.Descriptor instead. +func (*PrimaryPositionRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{62} } -type StartReplicationUntilAfterResponse struct { +type PrimaryPositionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } -func (x *StartReplicationUntilAfterResponse) Reset() { - *x = StartReplicationUntilAfterResponse{} +func (x *PrimaryPositionResponse) Reset() { + *x = PrimaryPositionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[59] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StartReplicationUntilAfterResponse) String() string { +func (x *PrimaryPositionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StartReplicationUntilAfterResponse) ProtoMessage() {} +func (*PrimaryPositionResponse) ProtoMessage() {} -func (x *StartReplicationUntilAfterResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[59] +func (x *PrimaryPositionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3076,34 +3416,43 @@ func (x *StartReplicationUntilAfterResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use StartReplicationUntilAfterResponse.ProtoReflect.Descriptor instead. -func (*StartReplicationUntilAfterResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{59} +// Deprecated: Use PrimaryPositionResponse.ProtoReflect.Descriptor instead. +func (*PrimaryPositionResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{63} } -type GetReplicasRequest struct { +func (x *PrimaryPositionResponse) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type WaitForPositionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } -func (x *GetReplicasRequest) Reset() { - *x = GetReplicasRequest{} +func (x *WaitForPositionRequest) Reset() { + *x = WaitForPositionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[60] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetReplicasRequest) String() string { +func (x *WaitForPositionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetReplicasRequest) ProtoMessage() {} +func (*WaitForPositionRequest) ProtoMessage() {} -func (x *GetReplicasRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[60] +func (x *WaitForPositionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3114,36 +3463,41 @@ func (x *GetReplicasRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetReplicasRequest.ProtoReflect.Descriptor instead. -func (*GetReplicasRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{60} +// Deprecated: Use WaitForPositionRequest.ProtoReflect.Descriptor instead. +func (*WaitForPositionRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{64} } -type GetReplicasResponse struct { +func (x *WaitForPositionRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type WaitForPositionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` } -func (x *GetReplicasResponse) Reset() { - *x = GetReplicasResponse{} +func (x *WaitForPositionResponse) Reset() { + *x = WaitForPositionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[61] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetReplicasResponse) String() string { +func (x *WaitForPositionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetReplicasResponse) ProtoMessage() {} +func (*WaitForPositionResponse) ProtoMessage() {} -func (x *GetReplicasResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[61] +func (x *WaitForPositionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3154,41 +3508,34 @@ func (x *GetReplicasResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetReplicasResponse.ProtoReflect.Descriptor instead. -func (*GetReplicasResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{61} -} - -func (x *GetReplicasResponse) GetAddrs() []string { - if x != nil { - return x.Addrs - } - return nil +// Deprecated: Use WaitForPositionResponse.ProtoReflect.Descriptor instead. +func (*WaitForPositionResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{65} } -type ResetReplicationRequest struct { +type StopReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *ResetReplicationRequest) Reset() { - *x = ResetReplicationRequest{} +func (x *StopReplicationRequest) Reset() { + *x = StopReplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[62] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ResetReplicationRequest) String() string { +func (x *StopReplicationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ResetReplicationRequest) ProtoMessage() {} +func (*StopReplicationRequest) ProtoMessage() {} -func (x *ResetReplicationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[62] +func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3199,34 +3546,34 @@ func (x *ResetReplicationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ResetReplicationRequest.ProtoReflect.Descriptor instead. -func (*ResetReplicationRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{62} +// Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{66} } -type ResetReplicationResponse struct { +type StopReplicationResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *ResetReplicationResponse) Reset() { - *x = ResetReplicationResponse{} +func (x *StopReplicationResponse) Reset() { + *x = StopReplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[63] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ResetReplicationResponse) String() string { +func (x *StopReplicationResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ResetReplicationResponse) ProtoMessage() {} +func (*StopReplicationResponse) ProtoMessage() {} -func (x *ResetReplicationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[63] +func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3237,36 +3584,37 @@ func (x *ResetReplicationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ResetReplicationResponse.ProtoReflect.Descriptor instead. -func (*ResetReplicationResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{63} +// Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{67} } -type VReplicationExecRequest struct { +type StopReplicationMinimumRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` } -func (x *VReplicationExecRequest) Reset() { - *x = VReplicationExecRequest{} +func (x *StopReplicationMinimumRequest) Reset() { + *x = StopReplicationMinimumRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[64] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VReplicationExecRequest) String() string { +func (x *StopReplicationMinimumRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VReplicationExecRequest) ProtoMessage() {} +func (*StopReplicationMinimumRequest) ProtoMessage() {} -func (x *VReplicationExecRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[64] +func (x *StopReplicationMinimumRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3277,43 +3625,50 @@ func (x *VReplicationExecRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VReplicationExecRequest.ProtoReflect.Descriptor instead. -func (*VReplicationExecRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{64} +// Deprecated: Use StopReplicationMinimumRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationMinimumRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{68} } -func (x *VReplicationExecRequest) GetQuery() string { +func (x *StopReplicationMinimumRequest) GetPosition() string { if x != nil { - return x.Query + return x.Position } return "" } -type VReplicationExecResponse struct { +func (x *StopReplicationMinimumRequest) GetWaitTimeout() int64 { + if x != nil { + return x.WaitTimeout + } + return 0 +} + +type StopReplicationMinimumResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } -func (x *VReplicationExecResponse) Reset() { - *x = VReplicationExecResponse{} +func (x *StopReplicationMinimumResponse) Reset() { + *x = StopReplicationMinimumResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[65] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VReplicationExecResponse) String() string { +func (x *StopReplicationMinimumResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VReplicationExecResponse) ProtoMessage() {} +func (*StopReplicationMinimumResponse) ProtoMessage() {} -func (x *VReplicationExecResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[65] +func (x *StopReplicationMinimumResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3324,44 +3679,43 @@ func (x *VReplicationExecResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VReplicationExecResponse.ProtoReflect.Descriptor instead. -func (*VReplicationExecResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{65} +// Deprecated: Use StopReplicationMinimumResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationMinimumResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{69} } -func (x *VReplicationExecResponse) GetResult() *dev.QueryResult { +func (x *StopReplicationMinimumResponse) GetPosition() string { if x != nil { - return x.Result + return x.Position } - return nil + return "" } -type VReplicationWaitForPosRequest struct { +type StartReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` } -func (x *VReplicationWaitForPosRequest) Reset() { - *x = VReplicationWaitForPosRequest{} +func (x *StartReplicationRequest) Reset() { + *x = StartReplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[66] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VReplicationWaitForPosRequest) String() string { +func (x *StartReplicationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VReplicationWaitForPosRequest) ProtoMessage() {} +func (*StartReplicationRequest) ProtoMessage() {} -func (x *VReplicationWaitForPosRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[66] +func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3372,48 +3726,41 @@ func (x *VReplicationWaitForPosRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VReplicationWaitForPosRequest.ProtoReflect.Descriptor instead. -func (*VReplicationWaitForPosRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{66} -} - -func (x *VReplicationWaitForPosRequest) GetId() int32 { - if x != nil { - return x.Id - } - return 0 +// Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. +func (*StartReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{70} } -func (x *VReplicationWaitForPosRequest) GetPosition() string { +func (x *StartReplicationRequest) GetSemiSync() bool { if x != nil { - return x.Position + return x.SemiSync } - return "" + return false } -type VReplicationWaitForPosResponse struct { +type StartReplicationResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *VReplicationWaitForPosResponse) Reset() { - *x = VReplicationWaitForPosResponse{} +func (x *StartReplicationResponse) Reset() { + *x = StartReplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[67] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VReplicationWaitForPosResponse) String() string { +func (x *StartReplicationResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VReplicationWaitForPosResponse) ProtoMessage() {} +func (*StartReplicationResponse) ProtoMessage() {} -func (x *VReplicationWaitForPosResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[67] +func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3424,36 +3771,37 @@ func (x *VReplicationWaitForPosResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VReplicationWaitForPosResponse.ProtoReflect.Descriptor instead. -func (*VReplicationWaitForPosResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{67} +// Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. +func (*StartReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{71} } -type InitPrimaryRequest struct { +type StartReplicationUntilAfterRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` } -func (x *InitPrimaryRequest) Reset() { - *x = InitPrimaryRequest{} +func (x *StartReplicationUntilAfterRequest) Reset() { + *x = StartReplicationUntilAfterRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[68] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InitPrimaryRequest) String() string { +func (x *StartReplicationUntilAfterRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InitPrimaryRequest) ProtoMessage() {} +func (*StartReplicationUntilAfterRequest) ProtoMessage() {} -func (x *InitPrimaryRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[68] +func (x *StartReplicationUntilAfterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3464,93 +3812,48 @@ func (x *InitPrimaryRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InitPrimaryRequest.ProtoReflect.Descriptor instead. -func (*InitPrimaryRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{68} +// Deprecated: Use StartReplicationUntilAfterRequest.ProtoReflect.Descriptor instead. +func (*StartReplicationUntilAfterRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{72} } -func (x *InitPrimaryRequest) GetSemiSync() bool { +func (x *StartReplicationUntilAfterRequest) GetPosition() string { if x != nil { - return x.SemiSync - } - return false -} - -type InitPrimaryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` -} - -func (x *InitPrimaryResponse) Reset() { - *x = InitPrimaryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InitPrimaryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InitPrimaryResponse) ProtoMessage() {} - -func (x *InitPrimaryResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms + return x.Position } - return mi.MessageOf(x) -} - -// Deprecated: Use InitPrimaryResponse.ProtoReflect.Descriptor instead. -func (*InitPrimaryResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{69} + return "" } -func (x *InitPrimaryResponse) GetPosition() string { +func (x *StartReplicationUntilAfterRequest) GetWaitTimeout() int64 { if x != nil { - return x.Position + return x.WaitTimeout } - return "" + return 0 } -type PopulateReparentJournalRequest struct { +type StartReplicationUntilAfterResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - TimeCreatedNs int64 `protobuf:"varint,1,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` - ActionName string `protobuf:"bytes,2,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` - PrimaryAlias *dev1.TabletAlias `protobuf:"bytes,3,opt,name=primary_alias,json=primaryAlias,proto3" json:"primary_alias,omitempty"` - ReplicationPosition string `protobuf:"bytes,4,opt,name=replication_position,json=replicationPosition,proto3" json:"replication_position,omitempty"` } -func (x *PopulateReparentJournalRequest) Reset() { - *x = PopulateReparentJournalRequest{} +func (x *StartReplicationUntilAfterResponse) Reset() { + *x = StartReplicationUntilAfterResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[70] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PopulateReparentJournalRequest) String() string { +func (x *StartReplicationUntilAfterResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PopulateReparentJournalRequest) ProtoMessage() {} +func (*StartReplicationUntilAfterResponse) ProtoMessage() {} -func (x *PopulateReparentJournalRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[70] +func (x *StartReplicationUntilAfterResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3561,62 +3864,34 @@ func (x *PopulateReparentJournalRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PopulateReparentJournalRequest.ProtoReflect.Descriptor instead. -func (*PopulateReparentJournalRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{70} -} - -func (x *PopulateReparentJournalRequest) GetTimeCreatedNs() int64 { - if x != nil { - return x.TimeCreatedNs - } - return 0 -} - -func (x *PopulateReparentJournalRequest) GetActionName() string { - if x != nil { - return x.ActionName - } - return "" -} - -func (x *PopulateReparentJournalRequest) GetPrimaryAlias() *dev1.TabletAlias { - if x != nil { - return x.PrimaryAlias - } - return nil -} - -func (x *PopulateReparentJournalRequest) GetReplicationPosition() string { - if x != nil { - return x.ReplicationPosition - } - return "" +// Deprecated: Use StartReplicationUntilAfterResponse.ProtoReflect.Descriptor instead. +func (*StartReplicationUntilAfterResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{73} } -type PopulateReparentJournalResponse struct { +type GetReplicasRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *PopulateReparentJournalResponse) Reset() { - *x = PopulateReparentJournalResponse{} +func (x *GetReplicasRequest) Reset() { + *x = GetReplicasRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[71] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PopulateReparentJournalResponse) String() string { +func (x *GetReplicasRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PopulateReparentJournalResponse) ProtoMessage() {} +func (*GetReplicasRequest) ProtoMessage() {} -func (x *PopulateReparentJournalResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[71] +func (x *GetReplicasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3627,39 +3902,36 @@ func (x *PopulateReparentJournalResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PopulateReparentJournalResponse.ProtoReflect.Descriptor instead. -func (*PopulateReparentJournalResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{71} +// Deprecated: Use GetReplicasRequest.ProtoReflect.Descriptor instead. +func (*GetReplicasRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{74} } -type InitReplicaRequest struct { +type GetReplicasResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Parent *dev1.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - ReplicationPosition string `protobuf:"bytes,2,opt,name=replication_position,json=replicationPosition,proto3" json:"replication_position,omitempty"` - TimeCreatedNs int64 `protobuf:"varint,3,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` - SemiSync bool `protobuf:"varint,4,opt,name=semiSync,proto3" json:"semiSync,omitempty"` + Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` } -func (x *InitReplicaRequest) Reset() { - *x = InitReplicaRequest{} +func (x *GetReplicasResponse) Reset() { + *x = GetReplicasResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[72] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InitReplicaRequest) String() string { +func (x *GetReplicasResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InitReplicaRequest) ProtoMessage() {} +func (*GetReplicasResponse) ProtoMessage() {} -func (x *InitReplicaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[72] +func (x *GetReplicasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3670,62 +3942,41 @@ func (x *InitReplicaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InitReplicaRequest.ProtoReflect.Descriptor instead. -func (*InitReplicaRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{72} +// Deprecated: Use GetReplicasResponse.ProtoReflect.Descriptor instead. +func (*GetReplicasResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{75} } -func (x *InitReplicaRequest) GetParent() *dev1.TabletAlias { +func (x *GetReplicasResponse) GetAddrs() []string { if x != nil { - return x.Parent + return x.Addrs } return nil } -func (x *InitReplicaRequest) GetReplicationPosition() string { - if x != nil { - return x.ReplicationPosition - } - return "" -} - -func (x *InitReplicaRequest) GetTimeCreatedNs() int64 { - if x != nil { - return x.TimeCreatedNs - } - return 0 -} - -func (x *InitReplicaRequest) GetSemiSync() bool { - if x != nil { - return x.SemiSync - } - return false -} - -type InitReplicaResponse struct { +type ResetReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *InitReplicaResponse) Reset() { - *x = InitReplicaResponse{} +func (x *ResetReplicationRequest) Reset() { + *x = ResetReplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[73] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InitReplicaResponse) String() string { +func (x *ResetReplicationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InitReplicaResponse) ProtoMessage() {} +func (*ResetReplicationRequest) ProtoMessage() {} -func (x *InitReplicaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[73] +func (x *ResetReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3736,34 +3987,34 @@ func (x *InitReplicaResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InitReplicaResponse.ProtoReflect.Descriptor instead. -func (*InitReplicaResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{73} +// Deprecated: Use ResetReplicationRequest.ProtoReflect.Descriptor instead. +func (*ResetReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{76} } -type DemotePrimaryRequest struct { +type ResetReplicationResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *DemotePrimaryRequest) Reset() { - *x = DemotePrimaryRequest{} +func (x *ResetReplicationResponse) Reset() { + *x = ResetReplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[74] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DemotePrimaryRequest) String() string { +func (x *ResetReplicationResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DemotePrimaryRequest) ProtoMessage() {} +func (*ResetReplicationResponse) ProtoMessage() {} -func (x *DemotePrimaryRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[74] +func (x *ResetReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3774,37 +4025,36 @@ func (x *DemotePrimaryRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DemotePrimaryRequest.ProtoReflect.Descriptor instead. -func (*DemotePrimaryRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{74} +// Deprecated: Use ResetReplicationResponse.ProtoReflect.Descriptor instead. +func (*ResetReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{77} } -type DemotePrimaryResponse struct { +type VReplicationExecRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // PrimaryStatus represents the response from calling `SHOW MASTER STATUS` on a primary that has been demoted. - PrimaryStatus *dev3.PrimaryStatus `protobuf:"bytes,2,opt,name=primary_status,json=primaryStatus,proto3" json:"primary_status,omitempty"` + Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` } -func (x *DemotePrimaryResponse) Reset() { - *x = DemotePrimaryResponse{} +func (x *VReplicationExecRequest) Reset() { + *x = VReplicationExecRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[75] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DemotePrimaryResponse) String() string { +func (x *VReplicationExecRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DemotePrimaryResponse) ProtoMessage() {} +func (*VReplicationExecRequest) ProtoMessage() {} -func (x *DemotePrimaryResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[75] +func (x *VReplicationExecRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3815,43 +4065,43 @@ func (x *DemotePrimaryResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DemotePrimaryResponse.ProtoReflect.Descriptor instead. -func (*DemotePrimaryResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{75} +// Deprecated: Use VReplicationExecRequest.ProtoReflect.Descriptor instead. +func (*VReplicationExecRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{78} } -func (x *DemotePrimaryResponse) GetPrimaryStatus() *dev3.PrimaryStatus { +func (x *VReplicationExecRequest) GetQuery() string { if x != nil { - return x.PrimaryStatus + return x.Query } - return nil + return "" } -type UndoDemotePrimaryRequest struct { +type VReplicationExecResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` + Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` } -func (x *UndoDemotePrimaryRequest) Reset() { - *x = UndoDemotePrimaryRequest{} +func (x *VReplicationExecResponse) Reset() { + *x = VReplicationExecResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[76] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UndoDemotePrimaryRequest) String() string { +func (x *VReplicationExecResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UndoDemotePrimaryRequest) ProtoMessage() {} +func (*VReplicationExecResponse) ProtoMessage() {} -func (x *UndoDemotePrimaryRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[76] +func (x *VReplicationExecResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3862,41 +4112,44 @@ func (x *UndoDemotePrimaryRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UndoDemotePrimaryRequest.ProtoReflect.Descriptor instead. -func (*UndoDemotePrimaryRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{76} +// Deprecated: Use VReplicationExecResponse.ProtoReflect.Descriptor instead. +func (*VReplicationExecResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{79} } -func (x *UndoDemotePrimaryRequest) GetSemiSync() bool { +func (x *VReplicationExecResponse) GetResult() *dev.QueryResult { if x != nil { - return x.SemiSync + return x.Result } - return false + return nil } -type UndoDemotePrimaryResponse struct { +type VReplicationWaitForPosRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` } -func (x *UndoDemotePrimaryResponse) Reset() { - *x = UndoDemotePrimaryResponse{} +func (x *VReplicationWaitForPosRequest) Reset() { + *x = VReplicationWaitForPosRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[77] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UndoDemotePrimaryResponse) String() string { +func (x *VReplicationWaitForPosRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UndoDemotePrimaryResponse) ProtoMessage() {} +func (*VReplicationWaitForPosRequest) ProtoMessage() {} -func (x *UndoDemotePrimaryResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[77] +func (x *VReplicationWaitForPosRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3907,34 +4160,48 @@ func (x *UndoDemotePrimaryResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UndoDemotePrimaryResponse.ProtoReflect.Descriptor instead. -func (*UndoDemotePrimaryResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{77} +// Deprecated: Use VReplicationWaitForPosRequest.ProtoReflect.Descriptor instead. +func (*VReplicationWaitForPosRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{80} } -type ReplicaWasPromotedRequest struct { +func (x *VReplicationWaitForPosRequest) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *VReplicationWaitForPosRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type VReplicationWaitForPosResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *ReplicaWasPromotedRequest) Reset() { - *x = ReplicaWasPromotedRequest{} +func (x *VReplicationWaitForPosResponse) Reset() { + *x = VReplicationWaitForPosResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[78] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReplicaWasPromotedRequest) String() string { +func (x *VReplicationWaitForPosResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReplicaWasPromotedRequest) ProtoMessage() {} +func (*VReplicationWaitForPosResponse) ProtoMessage() {} -func (x *ReplicaWasPromotedRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[78] +func (x *VReplicationWaitForPosResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3945,34 +4212,36 @@ func (x *ReplicaWasPromotedRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReplicaWasPromotedRequest.ProtoReflect.Descriptor instead. -func (*ReplicaWasPromotedRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{78} +// Deprecated: Use VReplicationWaitForPosResponse.ProtoReflect.Descriptor instead. +func (*VReplicationWaitForPosResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{81} } -type ReplicaWasPromotedResponse struct { +type InitPrimaryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` } -func (x *ReplicaWasPromotedResponse) Reset() { - *x = ReplicaWasPromotedResponse{} +func (x *InitPrimaryRequest) Reset() { + *x = InitPrimaryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[79] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReplicaWasPromotedResponse) String() string { +func (x *InitPrimaryRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReplicaWasPromotedResponse) ProtoMessage() {} +func (*InitPrimaryRequest) ProtoMessage() {} -func (x *ReplicaWasPromotedResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[79] +func (x *InitPrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3983,34 +4252,43 @@ func (x *ReplicaWasPromotedResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReplicaWasPromotedResponse.ProtoReflect.Descriptor instead. -func (*ReplicaWasPromotedResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{79} +// Deprecated: Use InitPrimaryRequest.ProtoReflect.Descriptor instead. +func (*InitPrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{82} } -type ResetReplicationParametersRequest struct { +func (x *InitPrimaryRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type InitPrimaryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } -func (x *ResetReplicationParametersRequest) Reset() { - *x = ResetReplicationParametersRequest{} +func (x *InitPrimaryResponse) Reset() { + *x = InitPrimaryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[80] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ResetReplicationParametersRequest) String() string { +func (x *InitPrimaryResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ResetReplicationParametersRequest) ProtoMessage() {} +func (*InitPrimaryResponse) ProtoMessage() {} -func (x *ResetReplicationParametersRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[80] +func (x *InitPrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4021,34 +4299,46 @@ func (x *ResetReplicationParametersRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use ResetReplicationParametersRequest.ProtoReflect.Descriptor instead. -func (*ResetReplicationParametersRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{80} +// Deprecated: Use InitPrimaryResponse.ProtoReflect.Descriptor instead. +func (*InitPrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{83} } -type ResetReplicationParametersResponse struct { +func (x *InitPrimaryResponse) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type PopulateReparentJournalRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + TimeCreatedNs int64 `protobuf:"varint,1,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` + ActionName string `protobuf:"bytes,2,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` + PrimaryAlias *dev1.TabletAlias `protobuf:"bytes,3,opt,name=primary_alias,json=primaryAlias,proto3" json:"primary_alias,omitempty"` + ReplicationPosition string `protobuf:"bytes,4,opt,name=replication_position,json=replicationPosition,proto3" json:"replication_position,omitempty"` } -func (x *ResetReplicationParametersResponse) Reset() { - *x = ResetReplicationParametersResponse{} +func (x *PopulateReparentJournalRequest) Reset() { + *x = PopulateReparentJournalRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[81] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ResetReplicationParametersResponse) String() string { +func (x *PopulateReparentJournalRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ResetReplicationParametersResponse) ProtoMessage() {} +func (*PopulateReparentJournalRequest) ProtoMessage() {} -func (x *ResetReplicationParametersResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[81] +func (x *PopulateReparentJournalRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4059,34 +4349,62 @@ func (x *ResetReplicationParametersResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use ResetReplicationParametersResponse.ProtoReflect.Descriptor instead. -func (*ResetReplicationParametersResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{81} +// Deprecated: Use PopulateReparentJournalRequest.ProtoReflect.Descriptor instead. +func (*PopulateReparentJournalRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{84} } -type FullStatusRequest struct { +func (x *PopulateReparentJournalRequest) GetTimeCreatedNs() int64 { + if x != nil { + return x.TimeCreatedNs + } + return 0 +} + +func (x *PopulateReparentJournalRequest) GetActionName() string { + if x != nil { + return x.ActionName + } + return "" +} + +func (x *PopulateReparentJournalRequest) GetPrimaryAlias() *dev1.TabletAlias { + if x != nil { + return x.PrimaryAlias + } + return nil +} + +func (x *PopulateReparentJournalRequest) GetReplicationPosition() string { + if x != nil { + return x.ReplicationPosition + } + return "" +} + +type PopulateReparentJournalResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *FullStatusRequest) Reset() { - *x = FullStatusRequest{} +func (x *PopulateReparentJournalResponse) Reset() { + *x = PopulateReparentJournalResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[82] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *FullStatusRequest) String() string { +func (x *PopulateReparentJournalResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FullStatusRequest) ProtoMessage() {} +func (*PopulateReparentJournalResponse) ProtoMessage() {} -func (x *FullStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[82] +func (x *PopulateReparentJournalResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4097,36 +4415,34 @@ func (x *FullStatusRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FullStatusRequest.ProtoReflect.Descriptor instead. -func (*FullStatusRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{82} +// Deprecated: Use PopulateReparentJournalResponse.ProtoReflect.Descriptor instead. +func (*PopulateReparentJournalResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{85} } -type FullStatusResponse struct { +type ReadReparentJournalInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Status *dev3.FullStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (x *FullStatusResponse) Reset() { - *x = FullStatusResponse{} +func (x *ReadReparentJournalInfoRequest) Reset() { + *x = ReadReparentJournalInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[83] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *FullStatusResponse) String() string { +func (x *ReadReparentJournalInfoRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FullStatusResponse) ProtoMessage() {} +func (*ReadReparentJournalInfoRequest) ProtoMessage() {} -func (x *FullStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[83] +func (x *ReadReparentJournalInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4137,47 +4453,36 @@ func (x *FullStatusResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FullStatusResponse.ProtoReflect.Descriptor instead. -func (*FullStatusResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{83} +// Deprecated: Use ReadReparentJournalInfoRequest.ProtoReflect.Descriptor instead. +func (*ReadReparentJournalInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{86} } -func (x *FullStatusResponse) GetStatus() *dev3.FullStatus { - if x != nil { - return x.Status - } - return nil -} - -type SetReplicationSourceRequest struct { +type ReadReparentJournalInfoResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Parent *dev1.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - TimeCreatedNs int64 `protobuf:"varint,2,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` - ForceStartReplication bool `protobuf:"varint,3,opt,name=force_start_replication,json=forceStartReplication,proto3" json:"force_start_replication,omitempty"` - WaitPosition string `protobuf:"bytes,4,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` - SemiSync bool `protobuf:"varint,5,opt,name=semiSync,proto3" json:"semiSync,omitempty"` + Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` } -func (x *SetReplicationSourceRequest) Reset() { - *x = SetReplicationSourceRequest{} +func (x *ReadReparentJournalInfoResponse) Reset() { + *x = ReadReparentJournalInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[84] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetReplicationSourceRequest) String() string { +func (x *ReadReparentJournalInfoResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetReplicationSourceRequest) ProtoMessage() {} +func (*ReadReparentJournalInfoResponse) ProtoMessage() {} -func (x *SetReplicationSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[84] +func (x *ReadReparentJournalInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4188,69 +4493,46 @@ func (x *SetReplicationSourceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetReplicationSourceRequest.ProtoReflect.Descriptor instead. -func (*SetReplicationSourceRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{84} -} - -func (x *SetReplicationSourceRequest) GetParent() *dev1.TabletAlias { - if x != nil { - return x.Parent - } - return nil +// Deprecated: Use ReadReparentJournalInfoResponse.ProtoReflect.Descriptor instead. +func (*ReadReparentJournalInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{87} } -func (x *SetReplicationSourceRequest) GetTimeCreatedNs() int64 { +func (x *ReadReparentJournalInfoResponse) GetLength() int32 { if x != nil { - return x.TimeCreatedNs + return x.Length } return 0 } -func (x *SetReplicationSourceRequest) GetForceStartReplication() bool { - if x != nil { - return x.ForceStartReplication - } - return false -} - -func (x *SetReplicationSourceRequest) GetWaitPosition() string { - if x != nil { - return x.WaitPosition - } - return "" -} - -func (x *SetReplicationSourceRequest) GetSemiSync() bool { - if x != nil { - return x.SemiSync - } - return false -} - -type SetReplicationSourceResponse struct { +type InitReplicaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Parent *dev1.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + ReplicationPosition string `protobuf:"bytes,2,opt,name=replication_position,json=replicationPosition,proto3" json:"replication_position,omitempty"` + TimeCreatedNs int64 `protobuf:"varint,3,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` + SemiSync bool `protobuf:"varint,4,opt,name=semiSync,proto3" json:"semiSync,omitempty"` } -func (x *SetReplicationSourceResponse) Reset() { - *x = SetReplicationSourceResponse{} +func (x *InitReplicaRequest) Reset() { + *x = InitReplicaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[85] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetReplicationSourceResponse) String() string { +func (x *InitReplicaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetReplicationSourceResponse) ProtoMessage() {} +func (*InitReplicaRequest) ProtoMessage() {} -func (x *SetReplicationSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[85] +func (x *InitReplicaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4261,82 +4543,62 @@ func (x *SetReplicationSourceResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetReplicationSourceResponse.ProtoReflect.Descriptor instead. -func (*SetReplicationSourceResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{85} -} - -type ReplicaWasRestartedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // the parent alias the tablet should have - Parent *dev1.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` +// Deprecated: Use InitReplicaRequest.ProtoReflect.Descriptor instead. +func (*InitReplicaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{88} } -func (x *ReplicaWasRestartedRequest) Reset() { - *x = ReplicaWasRestartedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *InitReplicaRequest) GetParent() *dev1.TabletAlias { + if x != nil { + return x.Parent } + return nil } -func (x *ReplicaWasRestartedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplicaWasRestartedRequest) ProtoMessage() {} - -func (x *ReplicaWasRestartedRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[86] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *InitReplicaRequest) GetReplicationPosition() string { + if x != nil { + return x.ReplicationPosition } - return mi.MessageOf(x) + return "" } -// Deprecated: Use ReplicaWasRestartedRequest.ProtoReflect.Descriptor instead. -func (*ReplicaWasRestartedRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{86} +func (x *InitReplicaRequest) GetTimeCreatedNs() int64 { + if x != nil { + return x.TimeCreatedNs + } + return 0 } -func (x *ReplicaWasRestartedRequest) GetParent() *dev1.TabletAlias { +func (x *InitReplicaRequest) GetSemiSync() bool { if x != nil { - return x.Parent + return x.SemiSync } - return nil + return false } -type ReplicaWasRestartedResponse struct { +type InitReplicaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *ReplicaWasRestartedResponse) Reset() { - *x = ReplicaWasRestartedResponse{} +func (x *InitReplicaResponse) Reset() { + *x = InitReplicaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[87] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReplicaWasRestartedResponse) String() string { +func (x *InitReplicaResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReplicaWasRestartedResponse) ProtoMessage() {} +func (*InitReplicaResponse) ProtoMessage() {} -func (x *ReplicaWasRestartedResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[87] +func (x *InitReplicaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4347,36 +4609,34 @@ func (x *ReplicaWasRestartedResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReplicaWasRestartedResponse.ProtoReflect.Descriptor instead. -func (*ReplicaWasRestartedResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{87} +// Deprecated: Use InitReplicaResponse.ProtoReflect.Descriptor instead. +func (*InitReplicaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{89} } -type StopReplicationAndGetStatusRequest struct { +type DemotePrimaryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - StopReplicationMode dev3.StopReplicationMode `protobuf:"varint,1,opt,name=stop_replication_mode,json=stopReplicationMode,proto3,enum=vitess.replicationdata.dev.StopReplicationMode" json:"stop_replication_mode,omitempty"` } -func (x *StopReplicationAndGetStatusRequest) Reset() { - *x = StopReplicationAndGetStatusRequest{} +func (x *DemotePrimaryRequest) Reset() { + *x = DemotePrimaryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[88] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationAndGetStatusRequest) String() string { +func (x *DemotePrimaryRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationAndGetStatusRequest) ProtoMessage() {} +func (*DemotePrimaryRequest) ProtoMessage() {} -func (x *StopReplicationAndGetStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[88] +func (x *DemotePrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[90] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4387,44 +4647,37 @@ func (x *StopReplicationAndGetStatusRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use StopReplicationAndGetStatusRequest.ProtoReflect.Descriptor instead. -func (*StopReplicationAndGetStatusRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{88} -} - -func (x *StopReplicationAndGetStatusRequest) GetStopReplicationMode() dev3.StopReplicationMode { - if x != nil { - return x.StopReplicationMode - } - return dev3.StopReplicationMode(0) +// Deprecated: Use DemotePrimaryRequest.ProtoReflect.Descriptor instead. +func (*DemotePrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{90} } -type StopReplicationAndGetStatusResponse struct { +type DemotePrimaryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Status represents the replication status call right before, and right after telling the replica to stop. - Status *dev3.StopReplicationStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + // PrimaryStatus represents the response from calling `SHOW BINARY LOG STATUS` on a primary that has been demoted. + PrimaryStatus *dev4.PrimaryStatus `protobuf:"bytes,2,opt,name=primary_status,json=primaryStatus,proto3" json:"primary_status,omitempty"` } -func (x *StopReplicationAndGetStatusResponse) Reset() { - *x = StopReplicationAndGetStatusResponse{} +func (x *DemotePrimaryResponse) Reset() { + *x = DemotePrimaryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[89] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationAndGetStatusResponse) String() string { +func (x *DemotePrimaryResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationAndGetStatusResponse) ProtoMessage() {} +func (*DemotePrimaryResponse) ProtoMessage() {} -func (x *StopReplicationAndGetStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[89] +func (x *DemotePrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4435,19 +4688,19 @@ func (x *StopReplicationAndGetStatusResponse) ProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -// Deprecated: Use StopReplicationAndGetStatusResponse.ProtoReflect.Descriptor instead. -func (*StopReplicationAndGetStatusResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{89} +// Deprecated: Use DemotePrimaryResponse.ProtoReflect.Descriptor instead. +func (*DemotePrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{91} } -func (x *StopReplicationAndGetStatusResponse) GetStatus() *dev3.StopReplicationStatus { +func (x *DemotePrimaryResponse) GetPrimaryStatus() *dev4.PrimaryStatus { if x != nil { - return x.Status + return x.PrimaryStatus } return nil } -type PromoteReplicaRequest struct { +type UndoDemotePrimaryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -4455,23 +4708,23 @@ type PromoteReplicaRequest struct { SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` } -func (x *PromoteReplicaRequest) Reset() { - *x = PromoteReplicaRequest{} +func (x *UndoDemotePrimaryRequest) Reset() { + *x = UndoDemotePrimaryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[90] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PromoteReplicaRequest) String() string { +func (x *UndoDemotePrimaryRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PromoteReplicaRequest) ProtoMessage() {} +func (*UndoDemotePrimaryRequest) ProtoMessage() {} -func (x *PromoteReplicaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[90] +func (x *UndoDemotePrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[92] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4482,43 +4735,41 @@ func (x *PromoteReplicaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PromoteReplicaRequest.ProtoReflect.Descriptor instead. -func (*PromoteReplicaRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{90} +// Deprecated: Use UndoDemotePrimaryRequest.ProtoReflect.Descriptor instead. +func (*UndoDemotePrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{92} } -func (x *PromoteReplicaRequest) GetSemiSync() bool { +func (x *UndoDemotePrimaryRequest) GetSemiSync() bool { if x != nil { return x.SemiSync } return false } -type PromoteReplicaResponse struct { +type UndoDemotePrimaryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } -func (x *PromoteReplicaResponse) Reset() { - *x = PromoteReplicaResponse{} +func (x *UndoDemotePrimaryResponse) Reset() { + *x = UndoDemotePrimaryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[91] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PromoteReplicaResponse) String() string { +func (x *UndoDemotePrimaryResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PromoteReplicaResponse) ProtoMessage() {} +func (*UndoDemotePrimaryResponse) ProtoMessage() {} -func (x *PromoteReplicaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[91] +func (x *UndoDemotePrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[93] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4529,50 +4780,34 @@ func (x *PromoteReplicaResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PromoteReplicaResponse.ProtoReflect.Descriptor instead. -func (*PromoteReplicaResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{91} +// Deprecated: Use UndoDemotePrimaryResponse.ProtoReflect.Descriptor instead. +func (*UndoDemotePrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{93} } -func (x *PromoteReplicaResponse) GetPosition() string { - if x != nil { - return x.Position - } - return "" -} - -type BackupRequest struct { +type ReplicaWasPromotedRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Concurrency int64 `protobuf:"varint,1,opt,name=concurrency,proto3" json:"concurrency,omitempty"` - AllowPrimary bool `protobuf:"varint,2,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` - // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty - // then the backup becomes incremental and applies as of given position. - IncrementalFromPos string `protobuf:"bytes,3,opt,name=incremental_from_pos,json=incrementalFromPos,proto3" json:"incremental_from_pos,omitempty"` - // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 - // so that it's a backup that can be used for an upgrade. - UpgradeSafe bool `protobuf:"varint,4,opt,name=upgrade_safe,json=upgradeSafe,proto3" json:"upgrade_safe,omitempty"` } -func (x *BackupRequest) Reset() { - *x = BackupRequest{} +func (x *ReplicaWasPromotedRequest) Reset() { + *x = ReplicaWasPromotedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[92] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BackupRequest) String() string { +func (x *ReplicaWasPromotedRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BackupRequest) ProtoMessage() {} +func (*ReplicaWasPromotedRequest) ProtoMessage() {} -func (x *BackupRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[92] +func (x *ReplicaWasPromotedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[94] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4583,64 +4818,72 @@ func (x *BackupRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BackupRequest.ProtoReflect.Descriptor instead. -func (*BackupRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{92} +// Deprecated: Use ReplicaWasPromotedRequest.ProtoReflect.Descriptor instead. +func (*ReplicaWasPromotedRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{94} } -func (x *BackupRequest) GetConcurrency() int64 { - if x != nil { - return x.Concurrency - } - return 0 +type ReplicaWasPromotedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *BackupRequest) GetAllowPrimary() bool { - if x != nil { - return x.AllowPrimary +func (x *ReplicaWasPromotedResponse) Reset() { + *x = ReplicaWasPromotedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *BackupRequest) GetIncrementalFromPos() string { - if x != nil { - return x.IncrementalFromPos - } - return "" +func (x *ReplicaWasPromotedResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *BackupRequest) GetUpgradeSafe() bool { - if x != nil { - return x.UpgradeSafe +func (*ReplicaWasPromotedResponse) ProtoMessage() {} + +func (x *ReplicaWasPromotedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -type BackupResponse struct { +// Deprecated: Use ReplicaWasPromotedResponse.ProtoReflect.Descriptor instead. +func (*ReplicaWasPromotedResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{95} +} + +type ResetReplicationParametersRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Event *dev4.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` } -func (x *BackupResponse) Reset() { - *x = BackupResponse{} +func (x *ResetReplicationParametersRequest) Reset() { + *x = ResetReplicationParametersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[93] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BackupResponse) String() string { +func (x *ResetReplicationParametersRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BackupResponse) ProtoMessage() {} +func (*ResetReplicationParametersRequest) ProtoMessage() {} -func (x *BackupResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[93] +func (x *ResetReplicationParametersRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[96] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4651,52 +4894,34 @@ func (x *BackupResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BackupResponse.ProtoReflect.Descriptor instead. -func (*BackupResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{93} -} - -func (x *BackupResponse) GetEvent() *dev4.Event { - if x != nil { - return x.Event - } - return nil +// Deprecated: Use ResetReplicationParametersRequest.ProtoReflect.Descriptor instead. +func (*ResetReplicationParametersRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{96} } -type RestoreFromBackupRequest struct { +type ResetReplicationParametersResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - BackupTime *dev5.Time `protobuf:"bytes,1,opt,name=backup_time,json=backupTime,proto3" json:"backup_time,omitempty"` - // RestoreToPos indicates a position for a point-in-time recovery. The recovery - // is expected to utilize one full backup, followed by zero or more incremental backups, - // that reach the precise desired position - RestoreToPos string `protobuf:"bytes,2,opt,name=restore_to_pos,json=restoreToPos,proto3" json:"restore_to_pos,omitempty"` - // Dry run does not actually performs the restore, but validates the steps and availability of backups - DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` - // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. - // RestoreToTimestamp and RestoreToPos are mutually exclusive. - RestoreToTimestamp *dev5.Time `protobuf:"bytes,4,opt,name=restore_to_timestamp,json=restoreToTimestamp,proto3" json:"restore_to_timestamp,omitempty"` } -func (x *RestoreFromBackupRequest) Reset() { - *x = RestoreFromBackupRequest{} +func (x *ResetReplicationParametersResponse) Reset() { + *x = ResetReplicationParametersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[94] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RestoreFromBackupRequest) String() string { +func (x *ResetReplicationParametersResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RestoreFromBackupRequest) ProtoMessage() {} +func (*ResetReplicationParametersResponse) ProtoMessage() {} -func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[94] +func (x *ResetReplicationParametersResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[97] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4707,64 +4932,74 @@ func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RestoreFromBackupRequest.ProtoReflect.Descriptor instead. -func (*RestoreFromBackupRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{94} +// Deprecated: Use ResetReplicationParametersResponse.ProtoReflect.Descriptor instead. +func (*ResetReplicationParametersResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{97} } -func (x *RestoreFromBackupRequest) GetBackupTime() *dev5.Time { - if x != nil { - return x.BackupTime - } - return nil +type FullStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *RestoreFromBackupRequest) GetRestoreToPos() string { - if x != nil { - return x.RestoreToPos +func (x *FullStatusRequest) Reset() { + *x = FullStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *RestoreFromBackupRequest) GetDryRun() bool { - if x != nil { - return x.DryRun - } - return false +func (x *FullStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *RestoreFromBackupRequest) GetRestoreToTimestamp() *dev5.Time { - if x != nil { - return x.RestoreToTimestamp +func (*FullStatusRequest) ProtoMessage() {} + +func (x *FullStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type RestoreFromBackupResponse struct { +// Deprecated: Use FullStatusRequest.ProtoReflect.Descriptor instead. +func (*FullStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{98} +} + +type FullStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Event *dev4.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` + Status *dev4.FullStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (x *RestoreFromBackupResponse) Reset() { - *x = RestoreFromBackupResponse{} +func (x *FullStatusResponse) Reset() { + *x = FullStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[95] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RestoreFromBackupResponse) String() string { +func (x *FullStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RestoreFromBackupResponse) ProtoMessage() {} +func (*FullStatusResponse) ProtoMessage() {} -func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[95] +func (x *FullStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4775,58 +5010,48 @@ func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RestoreFromBackupResponse.ProtoReflect.Descriptor instead. -func (*RestoreFromBackupResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{95} +// Deprecated: Use FullStatusResponse.ProtoReflect.Descriptor instead. +func (*FullStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{99} } -func (x *RestoreFromBackupResponse) GetEvent() *dev4.Event { +func (x *FullStatusResponse) GetStatus() *dev4.FullStatus { if x != nil { - return x.Event + return x.Status } return nil } -type CreateVReplicationWorkflowRequest struct { +type SetReplicationSourceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - BinlogSource []*dev6.BinlogSource `protobuf:"bytes,2,rep,name=binlog_source,json=binlogSource,proto3" json:"binlog_source,omitempty"` - // Optional parameters. - Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` - // TabletTypes is the list of tablet types to use when selecting source tablets. - TabletTypes []dev1.TabletType `protobuf:"varint,4,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,5,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` - WorkflowType dev6.VReplicationWorkflowType `protobuf:"varint,6,opt,name=workflow_type,json=workflowType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowType" json:"workflow_type,omitempty"` - WorkflowSubType dev6.VReplicationWorkflowSubType `protobuf:"varint,7,opt,name=workflow_sub_type,json=workflowSubType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowSubType" json:"workflow_sub_type,omitempty"` - // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table - // copy finishes. - DeferSecondaryKeys bool `protobuf:"varint,8,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` - // AutoStart specifies if the workflow should be started when created. - AutoStart bool `protobuf:"varint,9,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` - // Should the workflow stop after the copy phase. - StopAfterCopy bool `protobuf:"varint,10,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + Parent *dev1.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + TimeCreatedNs int64 `protobuf:"varint,2,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` + ForceStartReplication bool `protobuf:"varint,3,opt,name=force_start_replication,json=forceStartReplication,proto3" json:"force_start_replication,omitempty"` + WaitPosition string `protobuf:"bytes,4,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + SemiSync bool `protobuf:"varint,5,opt,name=semiSync,proto3" json:"semiSync,omitempty"` + HeartbeatInterval float64 `protobuf:"fixed64,6,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` } -func (x *CreateVReplicationWorkflowRequest) Reset() { - *x = CreateVReplicationWorkflowRequest{} +func (x *SetReplicationSourceRequest) Reset() { + *x = SetReplicationSourceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[96] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CreateVReplicationWorkflowRequest) String() string { +func (x *SetReplicationSourceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CreateVReplicationWorkflowRequest) ProtoMessage() {} +func (*SetReplicationSourceRequest) ProtoMessage() {} -func (x *CreateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[96] +func (x *SetReplicationSourceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4837,106 +5062,117 @@ func (x *CreateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use CreateVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. -func (*CreateVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{96} +// Deprecated: Use SetReplicationSourceRequest.ProtoReflect.Descriptor instead. +func (*SetReplicationSourceRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{100} } -func (x *CreateVReplicationWorkflowRequest) GetWorkflow() string { +func (x *SetReplicationSourceRequest) GetParent() *dev1.TabletAlias { if x != nil { - return x.Workflow + return x.Parent } - return "" + return nil } -func (x *CreateVReplicationWorkflowRequest) GetBinlogSource() []*dev6.BinlogSource { +func (x *SetReplicationSourceRequest) GetTimeCreatedNs() int64 { if x != nil { - return x.BinlogSource + return x.TimeCreatedNs } - return nil + return 0 } -func (x *CreateVReplicationWorkflowRequest) GetCells() []string { +func (x *SetReplicationSourceRequest) GetForceStartReplication() bool { if x != nil { - return x.Cells + return x.ForceStartReplication } - return nil + return false } -func (x *CreateVReplicationWorkflowRequest) GetTabletTypes() []dev1.TabletType { +func (x *SetReplicationSourceRequest) GetWaitPosition() string { if x != nil { - return x.TabletTypes + return x.WaitPosition } - return nil + return "" } -func (x *CreateVReplicationWorkflowRequest) GetTabletSelectionPreference() TabletSelectionPreference { +func (x *SetReplicationSourceRequest) GetSemiSync() bool { if x != nil { - return x.TabletSelectionPreference + return x.SemiSync } - return TabletSelectionPreference_ANY + return false } -func (x *CreateVReplicationWorkflowRequest) GetWorkflowType() dev6.VReplicationWorkflowType { +func (x *SetReplicationSourceRequest) GetHeartbeatInterval() float64 { if x != nil { - return x.WorkflowType + return x.HeartbeatInterval } - return dev6.VReplicationWorkflowType(0) + return 0 } -func (x *CreateVReplicationWorkflowRequest) GetWorkflowSubType() dev6.VReplicationWorkflowSubType { - if x != nil { - return x.WorkflowSubType - } - return dev6.VReplicationWorkflowSubType(0) +type SetReplicationSourceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *CreateVReplicationWorkflowRequest) GetDeferSecondaryKeys() bool { - if x != nil { - return x.DeferSecondaryKeys +func (x *SetReplicationSourceResponse) Reset() { + *x = SetReplicationSourceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *CreateVReplicationWorkflowRequest) GetAutoStart() bool { - if x != nil { - return x.AutoStart - } - return false +func (x *SetReplicationSourceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *CreateVReplicationWorkflowRequest) GetStopAfterCopy() bool { - if x != nil { - return x.StopAfterCopy +func (*SetReplicationSourceResponse) ProtoMessage() {} + +func (x *SetReplicationSourceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -type CreateVReplicationWorkflowResponse struct { +// Deprecated: Use SetReplicationSourceResponse.ProtoReflect.Descriptor instead. +func (*SetReplicationSourceResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{101} +} + +type ReplicaWasRestartedRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + // the parent alias the tablet should have + Parent *dev1.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` } -func (x *CreateVReplicationWorkflowResponse) Reset() { - *x = CreateVReplicationWorkflowResponse{} +func (x *ReplicaWasRestartedRequest) Reset() { + *x = ReplicaWasRestartedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[97] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CreateVReplicationWorkflowResponse) String() string { +func (x *ReplicaWasRestartedRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CreateVReplicationWorkflowResponse) ProtoMessage() {} +func (*ReplicaWasRestartedRequest) ProtoMessage() {} -func (x *CreateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[97] +func (x *ReplicaWasRestartedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[102] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4947,43 +5183,41 @@ func (x *CreateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use CreateVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. -func (*CreateVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{97} +// Deprecated: Use ReplicaWasRestartedRequest.ProtoReflect.Descriptor instead. +func (*ReplicaWasRestartedRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{102} } -func (x *CreateVReplicationWorkflowResponse) GetResult() *dev.QueryResult { +func (x *ReplicaWasRestartedRequest) GetParent() *dev1.TabletAlias { if x != nil { - return x.Result + return x.Parent } return nil } -type DeleteVReplicationWorkflowRequest struct { +type ReplicaWasRestartedResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` } -func (x *DeleteVReplicationWorkflowRequest) Reset() { - *x = DeleteVReplicationWorkflowRequest{} +func (x *ReplicaWasRestartedResponse) Reset() { + *x = ReplicaWasRestartedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[98] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DeleteVReplicationWorkflowRequest) String() string { +func (x *ReplicaWasRestartedResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeleteVReplicationWorkflowRequest) ProtoMessage() {} +func (*ReplicaWasRestartedResponse) ProtoMessage() {} -func (x *DeleteVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[98] +func (x *ReplicaWasRestartedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[103] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4994,43 +5228,36 @@ func (x *DeleteVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use DeleteVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. -func (*DeleteVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{98} -} - -func (x *DeleteVReplicationWorkflowRequest) GetWorkflow() string { - if x != nil { - return x.Workflow - } - return "" +// Deprecated: Use ReplicaWasRestartedResponse.ProtoReflect.Descriptor instead. +func (*ReplicaWasRestartedResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{103} } -type DeleteVReplicationWorkflowResponse struct { +type StopReplicationAndGetStatusRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + StopReplicationMode dev4.StopReplicationMode `protobuf:"varint,1,opt,name=stop_replication_mode,json=stopReplicationMode,proto3,enum=vitess.replicationdata.dev.StopReplicationMode" json:"stop_replication_mode,omitempty"` } -func (x *DeleteVReplicationWorkflowResponse) Reset() { - *x = DeleteVReplicationWorkflowResponse{} +func (x *StopReplicationAndGetStatusRequest) Reset() { + *x = StopReplicationAndGetStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[99] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DeleteVReplicationWorkflowResponse) String() string { +func (x *StopReplicationAndGetStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeleteVReplicationWorkflowResponse) ProtoMessage() {} +func (*StopReplicationAndGetStatusRequest) ProtoMessage() {} -func (x *DeleteVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[99] +func (x *StopReplicationAndGetStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[104] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5041,43 +5268,44 @@ func (x *DeleteVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use DeleteVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. -func (*DeleteVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{99} +// Deprecated: Use StopReplicationAndGetStatusRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationAndGetStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{104} } -func (x *DeleteVReplicationWorkflowResponse) GetResult() *dev.QueryResult { +func (x *StopReplicationAndGetStatusRequest) GetStopReplicationMode() dev4.StopReplicationMode { if x != nil { - return x.Result + return x.StopReplicationMode } - return nil + return dev4.StopReplicationMode(0) } -type ReadVReplicationWorkflowRequest struct { +type StopReplicationAndGetStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + // Status represents the replication status call right before, and right after telling the replica to stop. + Status *dev4.StopReplicationStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } -func (x *ReadVReplicationWorkflowRequest) Reset() { - *x = ReadVReplicationWorkflowRequest{} +func (x *StopReplicationAndGetStatusResponse) Reset() { + *x = StopReplicationAndGetStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[100] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReadVReplicationWorkflowRequest) String() string { +func (x *StopReplicationAndGetStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReadVReplicationWorkflowRequest) ProtoMessage() {} +func (*StopReplicationAndGetStatusResponse) ProtoMessage() {} -func (x *ReadVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[100] +func (x *StopReplicationAndGetStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[105] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5088,52 +5316,43 @@ func (x *ReadVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReadVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. -func (*ReadVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{100} +// Deprecated: Use StopReplicationAndGetStatusResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationAndGetStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{105} } -func (x *ReadVReplicationWorkflowRequest) GetWorkflow() string { +func (x *StopReplicationAndGetStatusResponse) GetStatus() *dev4.StopReplicationStatus { if x != nil { - return x.Workflow + return x.Status } - return "" + return nil } -type ReadVReplicationWorkflowResponse struct { +type PromoteReplicaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` - Cells string `protobuf:"bytes,3,opt,name=cells,proto3" json:"cells,omitempty"` - TabletTypes []dev1.TabletType `protobuf:"varint,4,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,5,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` - DbName string `protobuf:"bytes,6,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` - Tags string `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"` - WorkflowType dev6.VReplicationWorkflowType `protobuf:"varint,8,opt,name=workflow_type,json=workflowType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowType" json:"workflow_type,omitempty"` - WorkflowSubType dev6.VReplicationWorkflowSubType `protobuf:"varint,9,opt,name=workflow_sub_type,json=workflowSubType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowSubType" json:"workflow_sub_type,omitempty"` - DeferSecondaryKeys bool `protobuf:"varint,10,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` - Streams []*ReadVReplicationWorkflowResponse_Stream `protobuf:"bytes,11,rep,name=streams,proto3" json:"streams,omitempty"` + SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` } -func (x *ReadVReplicationWorkflowResponse) Reset() { - *x = ReadVReplicationWorkflowResponse{} +func (x *PromoteReplicaRequest) Reset() { + *x = PromoteReplicaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[101] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReadVReplicationWorkflowResponse) String() string { +func (x *PromoteReplicaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReadVReplicationWorkflowResponse) ProtoMessage() {} +func (*PromoteReplicaRequest) ProtoMessage() {} -func (x *ReadVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[101] +func (x *PromoteReplicaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[106] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5144,111 +5363,99 @@ func (x *ReadVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReadVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. -func (*ReadVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{101} +// Deprecated: Use PromoteReplicaRequest.ProtoReflect.Descriptor instead. +func (*PromoteReplicaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{106} } -func (x *ReadVReplicationWorkflowResponse) GetWorkflow() string { +func (x *PromoteReplicaRequest) GetSemiSync() bool { if x != nil { - return x.Workflow + return x.SemiSync } - return "" + return false } -func (x *ReadVReplicationWorkflowResponse) GetCells() string { - if x != nil { - return x.Cells - } - return "" -} +type PromoteReplicaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *ReadVReplicationWorkflowResponse) GetTabletTypes() []dev1.TabletType { - if x != nil { - return x.TabletTypes - } - return nil + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } -func (x *ReadVReplicationWorkflowResponse) GetTabletSelectionPreference() TabletSelectionPreference { - if x != nil { - return x.TabletSelectionPreference +func (x *PromoteReplicaResponse) Reset() { + *x = PromoteReplicaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return TabletSelectionPreference_ANY } -func (x *ReadVReplicationWorkflowResponse) GetDbName() string { - if x != nil { - return x.DbName - } - return "" +func (x *PromoteReplicaResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *ReadVReplicationWorkflowResponse) GetTags() string { - if x != nil { - return x.Tags - } - return "" -} - -func (x *ReadVReplicationWorkflowResponse) GetWorkflowType() dev6.VReplicationWorkflowType { - if x != nil { - return x.WorkflowType - } - return dev6.VReplicationWorkflowType(0) -} +func (*PromoteReplicaResponse) ProtoMessage() {} -func (x *ReadVReplicationWorkflowResponse) GetWorkflowSubType() dev6.VReplicationWorkflowSubType { - if x != nil { - return x.WorkflowSubType +func (x *PromoteReplicaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return dev6.VReplicationWorkflowSubType(0) + return mi.MessageOf(x) } -func (x *ReadVReplicationWorkflowResponse) GetDeferSecondaryKeys() bool { - if x != nil { - return x.DeferSecondaryKeys - } - return false +// Deprecated: Use PromoteReplicaResponse.ProtoReflect.Descriptor instead. +func (*PromoteReplicaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{107} } -func (x *ReadVReplicationWorkflowResponse) GetStreams() []*ReadVReplicationWorkflowResponse_Stream { +func (x *PromoteReplicaResponse) GetPosition() string { if x != nil { - return x.Streams + return x.Position } - return nil + return "" } -type VDiffRequest struct { +type BackupRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` - Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` - ActionArg string `protobuf:"bytes,4,opt,name=action_arg,json=actionArg,proto3" json:"action_arg,omitempty"` - VdiffUuid string `protobuf:"bytes,5,opt,name=vdiff_uuid,json=vdiffUuid,proto3" json:"vdiff_uuid,omitempty"` - Options *VDiffOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` + Concurrency int32 `protobuf:"varint,1,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + AllowPrimary bool `protobuf:"varint,2,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` + // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty + // then the backup becomes incremental and applies as of given position. + IncrementalFromPos string `protobuf:"bytes,3,opt,name=incremental_from_pos,json=incrementalFromPos,proto3" json:"incremental_from_pos,omitempty"` + // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 + // so that it's a backup that can be used for an upgrade. + UpgradeSafe bool `protobuf:"varint,4,opt,name=upgrade_safe,json=upgradeSafe,proto3" json:"upgrade_safe,omitempty"` + // BackupEngine specifies if we want to use a particular backup engine for this backup request + BackupEngine *string `protobuf:"bytes,5,opt,name=backup_engine,json=backupEngine,proto3,oneof" json:"backup_engine,omitempty"` } -func (x *VDiffRequest) Reset() { - *x = VDiffRequest{} +func (x *BackupRequest) Reset() { + *x = BackupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[102] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VDiffRequest) String() string { +func (x *BackupRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VDiffRequest) ProtoMessage() {} +func (*BackupRequest) ProtoMessage() {} -func (x *VDiffRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[102] +func (x *BackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[108] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5259,80 +5466,71 @@ func (x *VDiffRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VDiffRequest.ProtoReflect.Descriptor instead. -func (*VDiffRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{102} +// Deprecated: Use BackupRequest.ProtoReflect.Descriptor instead. +func (*BackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{108} } -func (x *VDiffRequest) GetKeyspace() string { +func (x *BackupRequest) GetConcurrency() int32 { if x != nil { - return x.Keyspace + return x.Concurrency } - return "" + return 0 } -func (x *VDiffRequest) GetWorkflow() string { +func (x *BackupRequest) GetAllowPrimary() bool { if x != nil { - return x.Workflow + return x.AllowPrimary } - return "" + return false } -func (x *VDiffRequest) GetAction() string { +func (x *BackupRequest) GetIncrementalFromPos() string { if x != nil { - return x.Action + return x.IncrementalFromPos } return "" } -func (x *VDiffRequest) GetActionArg() string { +func (x *BackupRequest) GetUpgradeSafe() bool { if x != nil { - return x.ActionArg + return x.UpgradeSafe } - return "" + return false } -func (x *VDiffRequest) GetVdiffUuid() string { - if x != nil { - return x.VdiffUuid +func (x *BackupRequest) GetBackupEngine() string { + if x != nil && x.BackupEngine != nil { + return *x.BackupEngine } return "" } -func (x *VDiffRequest) GetOptions() *VDiffOptions { - if x != nil { - return x.Options - } - return nil -} - -type VDiffResponse struct { +type BackupResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Output *dev.QueryResult `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` - VdiffUuid string `protobuf:"bytes,3,opt,name=vdiff_uuid,json=vdiffUuid,proto3" json:"vdiff_uuid,omitempty"` + Event *dev5.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` } -func (x *VDiffResponse) Reset() { - *x = VDiffResponse{} +func (x *BackupResponse) Reset() { + *x = BackupResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[103] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VDiffResponse) String() string { +func (x *BackupResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VDiffResponse) ProtoMessage() {} +func (*BackupResponse) ProtoMessage() {} -func (x *VDiffResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[103] +func (x *BackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[109] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5343,60 +5541,54 @@ func (x *VDiffResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VDiffResponse.ProtoReflect.Descriptor instead. -func (*VDiffResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{103} -} - -func (x *VDiffResponse) GetId() int64 { - if x != nil { - return x.Id - } - return 0 +// Deprecated: Use BackupResponse.ProtoReflect.Descriptor instead. +func (*BackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{109} } -func (x *VDiffResponse) GetOutput() *dev.QueryResult { +func (x *BackupResponse) GetEvent() *dev5.Event { if x != nil { - return x.Output + return x.Event } return nil } -func (x *VDiffResponse) GetVdiffUuid() string { - if x != nil { - return x.VdiffUuid - } - return "" -} - -// options that influence the tablet selected by the picker for streaming data from -type VDiffPickerOptions struct { +type RestoreFromBackupRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletTypes string `protobuf:"bytes,1,opt,name=tablet_types,json=tabletTypes,proto3" json:"tablet_types,omitempty"` - SourceCell string `protobuf:"bytes,2,opt,name=source_cell,json=sourceCell,proto3" json:"source_cell,omitempty"` - TargetCell string `protobuf:"bytes,3,opt,name=target_cell,json=targetCell,proto3" json:"target_cell,omitempty"` + BackupTime *dev6.Time `protobuf:"bytes,1,opt,name=backup_time,json=backupTime,proto3" json:"backup_time,omitempty"` + // RestoreToPos indicates a position for a point-in-time recovery. The recovery + // is expected to utilize one full backup, followed by zero or more incremental backups, + // that reach the precise desired position + RestoreToPos string `protobuf:"bytes,2,opt,name=restore_to_pos,json=restoreToPos,proto3" json:"restore_to_pos,omitempty"` + // Dry run does not actually performs the restore, but validates the steps and availability of backups + DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. + // RestoreToTimestamp and RestoreToPos are mutually exclusive. + RestoreToTimestamp *dev6.Time `protobuf:"bytes,4,opt,name=restore_to_timestamp,json=restoreToTimestamp,proto3" json:"restore_to_timestamp,omitempty"` + // AllowedBackupEngines, if present will filter out any backups taken with engines not included in the list + AllowedBackupEngines []string `protobuf:"bytes,5,rep,name=allowed_backup_engines,json=allowedBackupEngines,proto3" json:"allowed_backup_engines,omitempty"` } -func (x *VDiffPickerOptions) Reset() { - *x = VDiffPickerOptions{} +func (x *RestoreFromBackupRequest) Reset() { + *x = RestoreFromBackupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[104] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VDiffPickerOptions) String() string { +func (x *RestoreFromBackupRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VDiffPickerOptions) ProtoMessage() {} +func (*RestoreFromBackupRequest) ProtoMessage() {} -func (x *VDiffPickerOptions) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[104] +func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[110] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5407,61 +5599,71 @@ func (x *VDiffPickerOptions) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VDiffPickerOptions.ProtoReflect.Descriptor instead. -func (*VDiffPickerOptions) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{104} +// Deprecated: Use RestoreFromBackupRequest.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{110} } -func (x *VDiffPickerOptions) GetTabletTypes() string { +func (x *RestoreFromBackupRequest) GetBackupTime() *dev6.Time { if x != nil { - return x.TabletTypes + return x.BackupTime } - return "" + return nil } -func (x *VDiffPickerOptions) GetSourceCell() string { +func (x *RestoreFromBackupRequest) GetRestoreToPos() string { if x != nil { - return x.SourceCell + return x.RestoreToPos } return "" } -func (x *VDiffPickerOptions) GetTargetCell() string { +func (x *RestoreFromBackupRequest) GetDryRun() bool { if x != nil { - return x.TargetCell + return x.DryRun } - return "" + return false } -// options that only influence how vdiff differences are reported -type VDiffReportOptions struct { +func (x *RestoreFromBackupRequest) GetRestoreToTimestamp() *dev6.Time { + if x != nil { + return x.RestoreToTimestamp + } + return nil +} + +func (x *RestoreFromBackupRequest) GetAllowedBackupEngines() []string { + if x != nil { + return x.AllowedBackupEngines + } + return nil +} + +type RestoreFromBackupResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - OnlyPks bool `protobuf:"varint,1,opt,name=only_pks,json=onlyPks,proto3" json:"only_pks,omitempty"` - DebugQuery bool `protobuf:"varint,2,opt,name=debug_query,json=debugQuery,proto3" json:"debug_query,omitempty"` - Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` - MaxSampleRows int64 `protobuf:"varint,4,opt,name=max_sample_rows,json=maxSampleRows,proto3" json:"max_sample_rows,omitempty"` + Event *dev5.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` } -func (x *VDiffReportOptions) Reset() { - *x = VDiffReportOptions{} +func (x *RestoreFromBackupResponse) Reset() { + *x = RestoreFromBackupResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[105] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VDiffReportOptions) String() string { +func (x *RestoreFromBackupResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VDiffReportOptions) ProtoMessage() {} +func (*RestoreFromBackupResponse) ProtoMessage() {} -func (x *VDiffReportOptions) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[105] +func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[111] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5472,71 +5674,59 @@ func (x *VDiffReportOptions) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VDiffReportOptions.ProtoReflect.Descriptor instead. -func (*VDiffReportOptions) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{105} -} - -func (x *VDiffReportOptions) GetOnlyPks() bool { - if x != nil { - return x.OnlyPks - } - return false -} - -func (x *VDiffReportOptions) GetDebugQuery() bool { - if x != nil { - return x.DebugQuery - } - return false -} - -func (x *VDiffReportOptions) GetFormat() string { - if x != nil { - return x.Format - } - return "" +// Deprecated: Use RestoreFromBackupResponse.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{111} } -func (x *VDiffReportOptions) GetMaxSampleRows() int64 { +func (x *RestoreFromBackupResponse) GetEvent() *dev5.Event { if x != nil { - return x.MaxSampleRows + return x.Event } - return 0 + return nil } -type VDiffCoreOptions struct { +type CreateVReplicationWorkflowRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Tables string `protobuf:"bytes,1,opt,name=tables,proto3" json:"tables,omitempty"` - AutoRetry bool `protobuf:"varint,2,opt,name=auto_retry,json=autoRetry,proto3" json:"auto_retry,omitempty"` - MaxRows int64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` - Checksum bool `protobuf:"varint,4,opt,name=checksum,proto3" json:"checksum,omitempty"` - SamplePct int64 `protobuf:"varint,5,opt,name=sample_pct,json=samplePct,proto3" json:"sample_pct,omitempty"` - TimeoutSeconds int64 `protobuf:"varint,6,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` - MaxExtraRowsToCompare int64 `protobuf:"varint,7,opt,name=max_extra_rows_to_compare,json=maxExtraRowsToCompare,proto3" json:"max_extra_rows_to_compare,omitempty"` - UpdateTableStats bool `protobuf:"varint,8,opt,name=update_table_stats,json=updateTableStats,proto3" json:"update_table_stats,omitempty"` + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + BinlogSource []*dev7.BinlogSource `protobuf:"bytes,2,rep,name=binlog_source,json=binlogSource,proto3" json:"binlog_source,omitempty"` + // Optional parameters. + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + // TabletTypes is the list of tablet types to use when selecting source tablets. + TabletTypes []dev1.TabletType `protobuf:"varint,4,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,5,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + WorkflowType dev7.VReplicationWorkflowType `protobuf:"varint,6,opt,name=workflow_type,json=workflowType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowType" json:"workflow_type,omitempty"` + WorkflowSubType dev7.VReplicationWorkflowSubType `protobuf:"varint,7,opt,name=workflow_sub_type,json=workflowSubType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowSubType" json:"workflow_sub_type,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table + // copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,8,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // AutoStart specifies if the workflow should be started when created. + AutoStart bool `protobuf:"varint,9,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` + // Should the workflow stop after the copy phase. + StopAfterCopy bool `protobuf:"varint,10,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + Options string `protobuf:"bytes,11,opt,name=options,proto3" json:"options,omitempty"` } -func (x *VDiffCoreOptions) Reset() { - *x = VDiffCoreOptions{} +func (x *CreateVReplicationWorkflowRequest) Reset() { + *x = CreateVReplicationWorkflowRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[106] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VDiffCoreOptions) String() string { +func (x *CreateVReplicationWorkflowRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VDiffCoreOptions) ProtoMessage() {} +func (*CreateVReplicationWorkflowRequest) ProtoMessage() {} -func (x *VDiffCoreOptions) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[106] +func (x *CreateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[112] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5547,94 +5737,113 @@ func (x *VDiffCoreOptions) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VDiffCoreOptions.ProtoReflect.Descriptor instead. -func (*VDiffCoreOptions) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{106} +// Deprecated: Use CreateVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*CreateVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{112} } -func (x *VDiffCoreOptions) GetTables() string { +func (x *CreateVReplicationWorkflowRequest) GetWorkflow() string { if x != nil { - return x.Tables + return x.Workflow } return "" } -func (x *VDiffCoreOptions) GetAutoRetry() bool { +func (x *CreateVReplicationWorkflowRequest) GetBinlogSource() []*dev7.BinlogSource { if x != nil { - return x.AutoRetry + return x.BinlogSource } - return false + return nil } -func (x *VDiffCoreOptions) GetMaxRows() int64 { +func (x *CreateVReplicationWorkflowRequest) GetCells() []string { if x != nil { - return x.MaxRows + return x.Cells } - return 0 + return nil } -func (x *VDiffCoreOptions) GetChecksum() bool { +func (x *CreateVReplicationWorkflowRequest) GetTabletTypes() []dev1.TabletType { if x != nil { - return x.Checksum + return x.TabletTypes } - return false + return nil } -func (x *VDiffCoreOptions) GetSamplePct() int64 { +func (x *CreateVReplicationWorkflowRequest) GetTabletSelectionPreference() TabletSelectionPreference { if x != nil { - return x.SamplePct + return x.TabletSelectionPreference } - return 0 + return TabletSelectionPreference_ANY } -func (x *VDiffCoreOptions) GetTimeoutSeconds() int64 { +func (x *CreateVReplicationWorkflowRequest) GetWorkflowType() dev7.VReplicationWorkflowType { if x != nil { - return x.TimeoutSeconds + return x.WorkflowType } - return 0 + return dev7.VReplicationWorkflowType(0) } -func (x *VDiffCoreOptions) GetMaxExtraRowsToCompare() int64 { +func (x *CreateVReplicationWorkflowRequest) GetWorkflowSubType() dev7.VReplicationWorkflowSubType { if x != nil { - return x.MaxExtraRowsToCompare + return x.WorkflowSubType } - return 0 + return dev7.VReplicationWorkflowSubType(0) } -func (x *VDiffCoreOptions) GetUpdateTableStats() bool { +func (x *CreateVReplicationWorkflowRequest) GetDeferSecondaryKeys() bool { if x != nil { - return x.UpdateTableStats + return x.DeferSecondaryKeys } return false } -type VDiffOptions struct { +func (x *CreateVReplicationWorkflowRequest) GetAutoStart() bool { + if x != nil { + return x.AutoStart + } + return false +} + +func (x *CreateVReplicationWorkflowRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} + +func (x *CreateVReplicationWorkflowRequest) GetOptions() string { + if x != nil { + return x.Options + } + return "" +} + +type CreateVReplicationWorkflowResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PickerOptions *VDiffPickerOptions `protobuf:"bytes,1,opt,name=picker_options,json=pickerOptions,proto3" json:"picker_options,omitempty"` - CoreOptions *VDiffCoreOptions `protobuf:"bytes,2,opt,name=core_options,json=coreOptions,proto3" json:"core_options,omitempty"` - ReportOptions *VDiffReportOptions `protobuf:"bytes,3,opt,name=report_options,json=reportOptions,proto3" json:"report_options,omitempty"` + Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` } -func (x *VDiffOptions) Reset() { - *x = VDiffOptions{} +func (x *CreateVReplicationWorkflowResponse) Reset() { + *x = CreateVReplicationWorkflowResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[107] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VDiffOptions) String() string { +func (x *CreateVReplicationWorkflowResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VDiffOptions) ProtoMessage() {} +func (*CreateVReplicationWorkflowResponse) ProtoMessage() {} -func (x *VDiffOptions) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[107] +func (x *CreateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[113] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5645,62 +5854,48 @@ func (x *VDiffOptions) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VDiffOptions.ProtoReflect.Descriptor instead. -func (*VDiffOptions) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{107} -} - -func (x *VDiffOptions) GetPickerOptions() *VDiffPickerOptions { - if x != nil { - return x.PickerOptions - } - return nil -} - -func (x *VDiffOptions) GetCoreOptions() *VDiffCoreOptions { - if x != nil { - return x.CoreOptions - } - return nil +// Deprecated: Use CreateVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*CreateVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{113} } -func (x *VDiffOptions) GetReportOptions() *VDiffReportOptions { +func (x *CreateVReplicationWorkflowResponse) GetResult() *dev.QueryResult { if x != nil { - return x.ReportOptions + return x.Result } return nil } -type UpdateVReplicationWorkflowRequest struct { +type DeleteTableDataRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` - TabletTypes []dev1.TabletType `protobuf:"varint,3,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,4,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` - OnDdl dev6.OnDDLAction `protobuf:"varint,5,opt,name=on_ddl,json=onDdl,proto3,enum=vitess.binlogdata.dev.OnDDLAction" json:"on_ddl,omitempty"` - State dev6.VReplicationWorkflowState `protobuf:"varint,6,opt,name=state,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowState" json:"state,omitempty"` + // The key is the table that we want to delete data from. + // The value is the filter or WHERE clause to use when deleting + // data in the table. + TableFilters map[string]string `protobuf:"bytes,1,rep,name=table_filters,json=tableFilters,proto3" json:"table_filters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // BatchSize is the number of rows to delete in a single batch. + BatchSize int64 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` } -func (x *UpdateVReplicationWorkflowRequest) Reset() { - *x = UpdateVReplicationWorkflowRequest{} +func (x *DeleteTableDataRequest) Reset() { + *x = DeleteTableDataRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[108] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UpdateVReplicationWorkflowRequest) String() string { +func (x *DeleteTableDataRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UpdateVReplicationWorkflowRequest) ProtoMessage() {} +func (*DeleteTableDataRequest) ProtoMessage() {} -func (x *UpdateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[108] +func (x *DeleteTableDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[114] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5711,78 +5906,88 @@ func (x *UpdateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use UpdateVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. -func (*UpdateVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{108} +// Deprecated: Use DeleteTableDataRequest.ProtoReflect.Descriptor instead. +func (*DeleteTableDataRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{114} } -func (x *UpdateVReplicationWorkflowRequest) GetWorkflow() string { +func (x *DeleteTableDataRequest) GetTableFilters() map[string]string { if x != nil { - return x.Workflow + return x.TableFilters } - return "" + return nil } -func (x *UpdateVReplicationWorkflowRequest) GetCells() []string { +func (x *DeleteTableDataRequest) GetBatchSize() int64 { if x != nil { - return x.Cells + return x.BatchSize } - return nil + return 0 } -func (x *UpdateVReplicationWorkflowRequest) GetTabletTypes() []dev1.TabletType { - if x != nil { - return x.TabletTypes - } - return nil +type DeleteTableDataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *UpdateVReplicationWorkflowRequest) GetTabletSelectionPreference() TabletSelectionPreference { - if x != nil { - return x.TabletSelectionPreference +func (x *DeleteTableDataResponse) Reset() { + *x = DeleteTableDataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return TabletSelectionPreference_ANY } -func (x *UpdateVReplicationWorkflowRequest) GetOnDdl() dev6.OnDDLAction { - if x != nil { - return x.OnDdl - } - return dev6.OnDDLAction(0) +func (x *DeleteTableDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *UpdateVReplicationWorkflowRequest) GetState() dev6.VReplicationWorkflowState { - if x != nil { - return x.State +func (*DeleteTableDataResponse) ProtoMessage() {} + +func (x *DeleteTableDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return dev6.VReplicationWorkflowState(0) + return mi.MessageOf(x) } -type UpdateVReplicationWorkflowResponse struct { +// Deprecated: Use DeleteTableDataResponse.ProtoReflect.Descriptor instead. +func (*DeleteTableDataResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{115} +} + +type DeleteVReplicationWorkflowRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` } -func (x *UpdateVReplicationWorkflowResponse) Reset() { - *x = UpdateVReplicationWorkflowResponse{} +func (x *DeleteVReplicationWorkflowRequest) Reset() { + *x = DeleteVReplicationWorkflowRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[109] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UpdateVReplicationWorkflowResponse) String() string { +func (x *DeleteVReplicationWorkflowRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UpdateVReplicationWorkflowResponse) ProtoMessage() {} +func (*DeleteVReplicationWorkflowRequest) ProtoMessage() {} -func (x *UpdateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[109] +func (x *DeleteVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[116] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5793,43 +5998,43 @@ func (x *UpdateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use UpdateVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. -func (*UpdateVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{109} +// Deprecated: Use DeleteVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*DeleteVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{116} } -func (x *UpdateVReplicationWorkflowResponse) GetResult() *dev.QueryResult { +func (x *DeleteVReplicationWorkflowRequest) GetWorkflow() string { if x != nil { - return x.Result + return x.Workflow } - return nil + return "" } -type ResetSequencesRequest struct { +type DeleteVReplicationWorkflowResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` + Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` } -func (x *ResetSequencesRequest) Reset() { - *x = ResetSequencesRequest{} +func (x *DeleteVReplicationWorkflowResponse) Reset() { + *x = DeleteVReplicationWorkflowResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[110] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ResetSequencesRequest) String() string { +func (x *DeleteVReplicationWorkflowResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ResetSequencesRequest) ProtoMessage() {} +func (*DeleteVReplicationWorkflowResponse) ProtoMessage() {} -func (x *ResetSequencesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[110] +func (x *DeleteVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[117] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5840,41 +6045,41 @@ func (x *ResetSequencesRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ResetSequencesRequest.ProtoReflect.Descriptor instead. -func (*ResetSequencesRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{110} +// Deprecated: Use DeleteVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*DeleteVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{117} } -func (x *ResetSequencesRequest) GetTables() []string { +func (x *DeleteVReplicationWorkflowResponse) GetResult() *dev.QueryResult { if x != nil { - return x.Tables + return x.Result } return nil } -type ResetSequencesResponse struct { +type HasVReplicationWorkflowsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *ResetSequencesResponse) Reset() { - *x = ResetSequencesResponse{} +func (x *HasVReplicationWorkflowsRequest) Reset() { + *x = HasVReplicationWorkflowsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[111] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ResetSequencesResponse) String() string { +func (x *HasVReplicationWorkflowsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ResetSequencesResponse) ProtoMessage() {} +func (*HasVReplicationWorkflowsRequest) ProtoMessage() {} -func (x *ResetSequencesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[111] +func (x *HasVReplicationWorkflowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[118] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5885,36 +6090,36 @@ func (x *ResetSequencesResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ResetSequencesResponse.ProtoReflect.Descriptor instead. -func (*ResetSequencesResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{111} +// Deprecated: Use HasVReplicationWorkflowsRequest.ProtoReflect.Descriptor instead. +func (*HasVReplicationWorkflowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{118} } -type CheckThrottlerRequest struct { +type HasVReplicationWorkflowsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` + Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"` } -func (x *CheckThrottlerRequest) Reset() { - *x = CheckThrottlerRequest{} +func (x *HasVReplicationWorkflowsResponse) Reset() { + *x = HasVReplicationWorkflowsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[112] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CheckThrottlerRequest) String() string { +func (x *HasVReplicationWorkflowsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CheckThrottlerRequest) ProtoMessage() {} +func (*HasVReplicationWorkflowsResponse) ProtoMessage() {} -func (x *CheckThrottlerRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[112] +func (x *HasVReplicationWorkflowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[119] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5925,55 +6130,48 @@ func (x *CheckThrottlerRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CheckThrottlerRequest.ProtoReflect.Descriptor instead. -func (*CheckThrottlerRequest) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{112} +// Deprecated: Use HasVReplicationWorkflowsResponse.ProtoReflect.Descriptor instead. +func (*HasVReplicationWorkflowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{119} } -func (x *CheckThrottlerRequest) GetAppName() string { +func (x *HasVReplicationWorkflowsResponse) GetHas() bool { if x != nil { - return x.AppName + return x.Has } - return "" + return false } -type CheckThrottlerResponse struct { +type ReadVReplicationWorkflowsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // StatusCode is HTTP compliant response code (e.g. 200 for OK) - StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` - // Value is the metric value collected by the tablet - Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` - // Threshold is the throttling threshold the table was comparing the value with - Threshold float64 `protobuf:"fixed64,3,opt,name=threshold,proto3" json:"threshold,omitempty"` - // Error indicates an error retrieving the value - Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` - // Message - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` - // RecentlyChecked indicates that the tablet has been hit with a user-facing check, which can then imply - // that heartbeats lease should be renwed. - RecentlyChecked bool `protobuf:"varint,6,opt,name=recently_checked,json=recentlyChecked,proto3" json:"recently_checked,omitempty"` + IncludeIds []int32 `protobuf:"varint,1,rep,packed,name=include_ids,json=includeIds,proto3" json:"include_ids,omitempty"` + IncludeWorkflows []string `protobuf:"bytes,2,rep,name=include_workflows,json=includeWorkflows,proto3" json:"include_workflows,omitempty"` + IncludeStates []dev7.VReplicationWorkflowState `protobuf:"varint,3,rep,packed,name=include_states,json=includeStates,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowState" json:"include_states,omitempty"` + ExcludeWorkflows []string `protobuf:"bytes,4,rep,name=exclude_workflows,json=excludeWorkflows,proto3" json:"exclude_workflows,omitempty"` + ExcludeStates []dev7.VReplicationWorkflowState `protobuf:"varint,5,rep,packed,name=exclude_states,json=excludeStates,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowState" json:"exclude_states,omitempty"` + ExcludeFrozen bool `protobuf:"varint,6,opt,name=exclude_frozen,json=excludeFrozen,proto3" json:"exclude_frozen,omitempty"` } -func (x *CheckThrottlerResponse) Reset() { - *x = CheckThrottlerResponse{} +func (x *ReadVReplicationWorkflowsRequest) Reset() { + *x = ReadVReplicationWorkflowsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[113] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CheckThrottlerResponse) String() string { +func (x *ReadVReplicationWorkflowsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CheckThrottlerResponse) ProtoMessage() {} +func (*ReadVReplicationWorkflowsRequest) ProtoMessage() {} -func (x *CheckThrottlerResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[113] +func (x *ReadVReplicationWorkflowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[120] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5984,91 +6182,78 @@ func (x *CheckThrottlerResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CheckThrottlerResponse.ProtoReflect.Descriptor instead. -func (*CheckThrottlerResponse) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{113} +// Deprecated: Use ReadVReplicationWorkflowsRequest.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{120} } -func (x *CheckThrottlerResponse) GetStatusCode() int32 { +func (x *ReadVReplicationWorkflowsRequest) GetIncludeIds() []int32 { if x != nil { - return x.StatusCode + return x.IncludeIds } - return 0 + return nil } -func (x *CheckThrottlerResponse) GetValue() float64 { +func (x *ReadVReplicationWorkflowsRequest) GetIncludeWorkflows() []string { if x != nil { - return x.Value + return x.IncludeWorkflows } - return 0 + return nil } -func (x *CheckThrottlerResponse) GetThreshold() float64 { +func (x *ReadVReplicationWorkflowsRequest) GetIncludeStates() []dev7.VReplicationWorkflowState { if x != nil { - return x.Threshold + return x.IncludeStates } - return 0 + return nil } -func (x *CheckThrottlerResponse) GetError() string { +func (x *ReadVReplicationWorkflowsRequest) GetExcludeWorkflows() []string { if x != nil { - return x.Error + return x.ExcludeWorkflows } - return "" + return nil } -func (x *CheckThrottlerResponse) GetMessage() string { +func (x *ReadVReplicationWorkflowsRequest) GetExcludeStates() []dev7.VReplicationWorkflowState { if x != nil { - return x.Message + return x.ExcludeStates } - return "" + return nil } -func (x *CheckThrottlerResponse) GetRecentlyChecked() bool { +func (x *ReadVReplicationWorkflowsRequest) GetExcludeFrozen() bool { if x != nil { - return x.RecentlyChecked + return x.ExcludeFrozen } return false } -type ReadVReplicationWorkflowResponse_Stream struct { +type ReadVReplicationWorkflowsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Bls *dev6.BinlogSource `protobuf:"bytes,2,opt,name=bls,proto3" json:"bls,omitempty"` - Pos string `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` - StopPos string `protobuf:"bytes,4,opt,name=stop_pos,json=stopPos,proto3" json:"stop_pos,omitempty"` - MaxTps int64 `protobuf:"varint,5,opt,name=max_tps,json=maxTps,proto3" json:"max_tps,omitempty"` - MaxReplicationLag int64 `protobuf:"varint,6,opt,name=max_replication_lag,json=maxReplicationLag,proto3" json:"max_replication_lag,omitempty"` - TimeUpdated *dev5.Time `protobuf:"bytes,7,opt,name=time_updated,json=timeUpdated,proto3" json:"time_updated,omitempty"` - TransactionTimestamp *dev5.Time `protobuf:"bytes,8,opt,name=transaction_timestamp,json=transactionTimestamp,proto3" json:"transaction_timestamp,omitempty"` - State dev6.VReplicationWorkflowState `protobuf:"varint,9,opt,name=state,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowState" json:"state,omitempty"` - Message string `protobuf:"bytes,10,opt,name=message,proto3" json:"message,omitempty"` - RowsCopied int64 `protobuf:"varint,11,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` - TimeHeartbeat *dev5.Time `protobuf:"bytes,12,opt,name=time_heartbeat,json=timeHeartbeat,proto3" json:"time_heartbeat,omitempty"` - TimeThrottled *dev5.Time `protobuf:"bytes,13,opt,name=time_throttled,json=timeThrottled,proto3" json:"time_throttled,omitempty"` - ComponentThrottled string `protobuf:"bytes,14,opt,name=component_throttled,json=componentThrottled,proto3" json:"component_throttled,omitempty"` + Workflows []*ReadVReplicationWorkflowResponse `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"` } -func (x *ReadVReplicationWorkflowResponse_Stream) Reset() { - *x = ReadVReplicationWorkflowResponse_Stream{} +func (x *ReadVReplicationWorkflowsResponse) Reset() { + *x = ReadVReplicationWorkflowsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[117] + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReadVReplicationWorkflowResponse_Stream) String() string { +func (x *ReadVReplicationWorkflowsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReadVReplicationWorkflowResponse_Stream) ProtoMessage() {} +func (*ReadVReplicationWorkflowsResponse) ProtoMessage() {} -func (x *ReadVReplicationWorkflowResponse_Stream) ProtoReflect() protoreflect.Message { - mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[117] +func (x *ReadVReplicationWorkflowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[121] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6079,1137 +6264,4060 @@ func (x *ReadVReplicationWorkflowResponse_Stream) ProtoReflect() protoreflect.Me return mi.MessageOf(x) } -// Deprecated: Use ReadVReplicationWorkflowResponse_Stream.ProtoReflect.Descriptor instead. -func (*ReadVReplicationWorkflowResponse_Stream) Descriptor() ([]byte, []int) { - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{101, 0} +// Deprecated: Use ReadVReplicationWorkflowsResponse.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{121} } -func (x *ReadVReplicationWorkflowResponse_Stream) GetId() int32 { +func (x *ReadVReplicationWorkflowsResponse) GetWorkflows() []*ReadVReplicationWorkflowResponse { if x != nil { - return x.Id + return x.Workflows } - return 0 + return nil } -func (x *ReadVReplicationWorkflowResponse_Stream) GetBls() *dev6.BinlogSource { - if x != nil { - return x.Bls +type ReadVReplicationWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` +} + +func (x *ReadVReplicationWorkflowRequest) Reset() { + *x = ReadVReplicationWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *ReadVReplicationWorkflowResponse_Stream) GetPos() string { - if x != nil { - return x.Pos +func (x *ReadVReplicationWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadVReplicationWorkflowRequest) ProtoMessage() {} + +func (x *ReadVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[122] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *ReadVReplicationWorkflowResponse_Stream) GetStopPos() string { +// Deprecated: Use ReadVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{122} +} + +func (x *ReadVReplicationWorkflowRequest) GetWorkflow() string { if x != nil { - return x.StopPos + return x.Workflow } return "" } -func (x *ReadVReplicationWorkflowResponse_Stream) GetMaxTps() int64 { +type ReadVReplicationWorkflowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Cells string `protobuf:"bytes,3,opt,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []dev1.TabletType `protobuf:"varint,4,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,5,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + DbName string `protobuf:"bytes,6,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + Tags string `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"` + WorkflowType dev7.VReplicationWorkflowType `protobuf:"varint,8,opt,name=workflow_type,json=workflowType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowType" json:"workflow_type,omitempty"` + WorkflowSubType dev7.VReplicationWorkflowSubType `protobuf:"varint,9,opt,name=workflow_sub_type,json=workflowSubType,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowSubType" json:"workflow_sub_type,omitempty"` + DeferSecondaryKeys bool `protobuf:"varint,10,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + Streams []*ReadVReplicationWorkflowResponse_Stream `protobuf:"bytes,11,rep,name=streams,proto3" json:"streams,omitempty"` + Options string `protobuf:"bytes,12,opt,name=options,proto3" json:"options,omitempty"` + ConfigOverrides map[string]string `protobuf:"bytes,13,rep,name=config_overrides,json=configOverrides,proto3" json:"config_overrides,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ReadVReplicationWorkflowResponse) Reset() { + *x = ReadVReplicationWorkflowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadVReplicationWorkflowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadVReplicationWorkflowResponse) ProtoMessage() {} + +func (x *ReadVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[123] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{123} +} + +func (x *ReadVReplicationWorkflowResponse) GetWorkflow() string { if x != nil { - return x.MaxTps + return x.Workflow } - return 0 + return "" } -func (x *ReadVReplicationWorkflowResponse_Stream) GetMaxReplicationLag() int64 { +func (x *ReadVReplicationWorkflowResponse) GetCells() string { if x != nil { - return x.MaxReplicationLag + return x.Cells } - return 0 + return "" } -func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeUpdated() *dev5.Time { +func (x *ReadVReplicationWorkflowResponse) GetTabletTypes() []dev1.TabletType { if x != nil { - return x.TimeUpdated + return x.TabletTypes } return nil } -func (x *ReadVReplicationWorkflowResponse_Stream) GetTransactionTimestamp() *dev5.Time { +func (x *ReadVReplicationWorkflowResponse) GetTabletSelectionPreference() TabletSelectionPreference { if x != nil { - return x.TransactionTimestamp + return x.TabletSelectionPreference } - return nil + return TabletSelectionPreference_ANY } -func (x *ReadVReplicationWorkflowResponse_Stream) GetState() dev6.VReplicationWorkflowState { +func (x *ReadVReplicationWorkflowResponse) GetDbName() string { if x != nil { - return x.State + return x.DbName } - return dev6.VReplicationWorkflowState(0) + return "" } -func (x *ReadVReplicationWorkflowResponse_Stream) GetMessage() string { +func (x *ReadVReplicationWorkflowResponse) GetTags() string { if x != nil { - return x.Message + return x.Tags } return "" } -func (x *ReadVReplicationWorkflowResponse_Stream) GetRowsCopied() int64 { +func (x *ReadVReplicationWorkflowResponse) GetWorkflowType() dev7.VReplicationWorkflowType { if x != nil { - return x.RowsCopied + return x.WorkflowType } - return 0 + return dev7.VReplicationWorkflowType(0) } -func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeHeartbeat() *dev5.Time { +func (x *ReadVReplicationWorkflowResponse) GetWorkflowSubType() dev7.VReplicationWorkflowSubType { if x != nil { - return x.TimeHeartbeat + return x.WorkflowSubType } - return nil + return dev7.VReplicationWorkflowSubType(0) } -func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeThrottled() *dev5.Time { +func (x *ReadVReplicationWorkflowResponse) GetDeferSecondaryKeys() bool { if x != nil { - return x.TimeThrottled + return x.DeferSecondaryKeys + } + return false +} + +func (x *ReadVReplicationWorkflowResponse) GetStreams() []*ReadVReplicationWorkflowResponse_Stream { + if x != nil { + return x.Streams } return nil } -func (x *ReadVReplicationWorkflowResponse_Stream) GetComponentThrottled() string { +func (x *ReadVReplicationWorkflowResponse) GetOptions() string { if x != nil { - return x.ComponentThrottled + return x.Options } return "" } -var File_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto protoreflect.FileDescriptor +func (x *ReadVReplicationWorkflowResponse) GetConfigOverrides() map[string]string { + if x != nil { + return x.ConfigOverrides + } + return nil +} -var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDesc = []byte{ - 0x0a, 0x34, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x1a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, - 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x62, 0x69, 0x6e, 0x6c, - 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, - 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, - 0x65, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, - 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x8a, 0x02, 0x0a, 0x0f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, - 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x06, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x9d, 0x01, - 0x0a, 0x10, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x61, 0x74, - 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x5a, 0x0a, 0x11, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, - 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xbc, 0x01, - 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x53, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x65, 0x66, - 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x66, 0x74, - 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x82, 0x02, 0x0a, - 0x0e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, - 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x61, 0x73, 0x73, 0x77, - 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x10, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x5c, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, - 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, - 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0xe1, 0x01, 0x0a, 0x0c, 0x44, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x64, 0x62, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x5a, 0x0a, 0x0a, 0x70, 0x72, - 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x62, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, - 0x6c, 0x65, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, - 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, - 0x65, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb9, 0x01, 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x75, - 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, - 0x0a, 0x0e, 0x64, 0x62, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x0d, 0x64, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0x27, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x2a, 0x0a, 0x0c, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, - 0x6b, 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, 0x1e, 0x0a, 0x0a, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5b, 0x0a, 0x09, - 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x08, 0x65, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6e, 0x76, 0x1a, 0x3b, 0x0a, 0x0d, 0x45, 0x78, 0x74, - 0x72, 0x61, 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x66, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, - 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x22, 0xa2, - 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 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, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4f, - 0x6e, 0x6c, 0x79, 0x22, 0x70, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x65, - 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, 0x4b, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x14, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, - 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, - 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x65, 0x74, - 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x71, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, - 0x53, 0x79, 0x6e, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, - 0x53, 0x79, 0x6e, 0x63, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, - 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 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, 0x17, 0x0a, 0x15, 0x52, 0x75, 0x6e, - 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 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, 0x3a, 0x0a, 0x13, - 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, - 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 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, 0x32, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x73, 0x22, 0x72, 0x0a, 0x17, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x57, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xcb, 0x02, 0x0a, 0x12, 0x41, 0x70, 0x70, - 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, - 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x65, 0x66, - 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x66, 0x74, - 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x19, 0x0a, 0x08, - 0x73, 0x71, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x73, 0x71, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x74, - 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xbd, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, - 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, - 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4c, - 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x6e, 0x6c, 0x6f, - 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x98, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, - 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, - 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, - 0x77, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x14, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xb2, 0x01, 0x0a, 0x18, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x0a, - 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, - 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 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, - 0x52, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, - 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x22, 0x8e, 0x01, 0x0a, 0x1d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, - 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x12, - 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x22, 0x57, 0x0a, 0x1e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x4b, 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, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, - 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x22, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x1a, - 0x0a, 0x18, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x57, 0x0a, 0x19, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x15, 0x50, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x50, 0x72, 0x69, 0x6d, 0x61, - 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x35, 0x0a, 0x17, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x34, 0x0a, 0x16, 0x57, 0x61, 0x69, 0x74, - 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x19, - 0x0a, 0x17, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x74, 0x6f, - 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 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, 0x5e, - 0x0a, 0x1d, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, - 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3c, - 0x0a, 0x1e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 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, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, - 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, - 0x79, 0x6e, 0x63, 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, - 0x62, 0x0a, 0x21, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, - 0x6f, 0x75, 0x74, 0x22, 0x24, 0x0a, 0x22, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x2b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x22, 0x19, 0x0a, 0x17, - 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, 0x17, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x22, 0x51, 0x0a, 0x18, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x4b, 0x0a, 0x1d, 0x56, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x1e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x31, 0x0a, 0x13, 0x49, 0x6e, 0x69, 0x74, - 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe3, 0x01, 0x0a, 0x1e, - 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, - 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x4e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, - 0x72, 0x79, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, - 0x52, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x31, - 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x21, 0x0a, 0x1f, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, - 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x73, - 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x15, 0x0a, 0x13, - 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6f, 0x0a, 0x15, 0x44, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x36, 0x0a, 0x18, - 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, - 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, - 0x53, 0x79, 0x6e, 0x63, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, - 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1c, - 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, - 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x21, - 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x24, 0x0a, 0x22, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x46, 0x75, 0x6c, 0x6c, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, 0x12, - 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x22, 0xf8, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, - 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x4e, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x72, - 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, - 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x1e, 0x0a, - 0x1c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0x0a, - 0x1a, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x22, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x63, 0x0a, 0x15, 0x73, - 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x13, 0x73, 0x74, 0x6f, - 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, - 0x22, 0x76, 0x0a, 0x23, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x33, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x6d, - 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x34, 0x0a, - 0x16, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0xab, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x23, 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, 0x12, 0x30, 0x0a, 0x14, - 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, - 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x12, 0x21, - 0x0a, 0x0c, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x61, 0x66, - 0x65, 0x22, 0x41, 0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, - 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x22, 0xde, 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, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, - 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x72, - 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x50, 0x6f, - 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x49, 0x0a, 0x14, 0x72, 0x65, - 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x4c, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, - 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x22, 0x8b, 0x05, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x48, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, - 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, - 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, - 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, - 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, - 0x79, 0x22, 0x5b, 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3f, - 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, - 0x5b, 0x0a, 0x22, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3d, 0x0a, 0x1f, - 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x8d, 0x0a, 0x0a, 0x20, - 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, - 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, - 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x0d, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, - 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x73, - 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, - 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5f, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, - 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x07, 0x73, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x73, 0x1a, 0x83, 0x05, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x35, 0x0a, 0x03, 0x62, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x03, 0x62, 0x6c, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x6f, - 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x6f, - 0x70, 0x50, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x70, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x54, 0x70, 0x73, 0x12, 0x2e, 0x0a, - 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x6c, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x12, 0x3a, 0x0a, - 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x74, 0x69, - 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x15, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, - 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0e, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x74, 0x69, 0x6d, - 0x65, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x3e, 0x0a, 0x0e, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x74, 0x69, 0x6d, - 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, - 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x22, 0xe2, 0x01, 0x0a, 0x0c, - 0x56, 0x44, 0x69, 0x66, 0x66, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x76, - 0x64, 0x69, 0x66, 0x66, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x76, 0x64, 0x69, 0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x12, 0x44, 0x0a, 0x07, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x75, 0x0a, 0x0d, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x35, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64, 0x69, 0x66, - 0x66, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x64, - 0x69, 0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x22, 0x79, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, - 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, - 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x65, 0x6c, - 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x65, 0x6c, 0x6c, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x65, - 0x6c, 0x6c, 0x22, 0x90, 0x01, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6e, 0x6c, - 0x79, 0x5f, 0x70, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x6c, - 0x79, 0x50, 0x6b, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x26, 0x0a, - 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x61, 0x6d, 0x70, 0x6c, - 0x65, 0x52, 0x6f, 0x77, 0x73, 0x22, 0xb0, 0x02, 0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, - 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 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, 0x1a, 0x0a, 0x08, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, - 0x6c, 0x65, 0x5f, 0x70, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x61, - 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x63, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, - 0x12, 0x38, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x6f, - 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, 0x77, - 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0x93, 0x02, 0x0a, 0x0c, 0x56, 0x44, 0x69, - 0x66, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x0e, 0x70, 0x69, 0x63, - 0x6b, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x0c, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, 0x72, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, - 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x95, - 0x03, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, - 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4f, 0x6e, 0x44, 0x44, - 0x4c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x46, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x5b, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x22, 0x2f, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, - 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, - 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, - 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, - 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, - 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, - 0x6c, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x5f, 0x63, - 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, - 0x63, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x2a, 0x3e, 0x0a, - 0x19, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, - 0x59, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x01, - 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x42, 0x5b, 0x5a, - 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, - 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, +type ValidateVReplicationPermissionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -var ( - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescOnce sync.Once - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData = file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDesc -) +func (x *ValidateVReplicationPermissionsRequest) Reset() { + *x = ValidateVReplicationPermissionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} -func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP() []byte { - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescOnce.Do(func() { - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData) - }) - return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData +func (x *ValidateVReplicationPermissionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 118) -var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_goTypes = []interface{}{ - (TabletSelectionPreference)(0), // 0: vitess.tabletmanagerdata.dev.TabletSelectionPreference - (*TableDefinition)(nil), // 1: vitess.tabletmanagerdata.dev.TableDefinition - (*SchemaDefinition)(nil), // 2: vitess.tabletmanagerdata.dev.SchemaDefinition - (*SchemaChangeResult)(nil), // 3: vitess.tabletmanagerdata.dev.SchemaChangeResult - (*UserPermission)(nil), // 4: vitess.tabletmanagerdata.dev.UserPermission - (*DbPermission)(nil), // 5: vitess.tabletmanagerdata.dev.DbPermission - (*Permissions)(nil), // 6: vitess.tabletmanagerdata.dev.Permissions - (*PingRequest)(nil), // 7: vitess.tabletmanagerdata.dev.PingRequest - (*PingResponse)(nil), // 8: vitess.tabletmanagerdata.dev.PingResponse - (*SleepRequest)(nil), // 9: vitess.tabletmanagerdata.dev.SleepRequest - (*SleepResponse)(nil), // 10: vitess.tabletmanagerdata.dev.SleepResponse - (*ExecuteHookRequest)(nil), // 11: vitess.tabletmanagerdata.dev.ExecuteHookRequest - (*ExecuteHookResponse)(nil), // 12: vitess.tabletmanagerdata.dev.ExecuteHookResponse - (*GetSchemaRequest)(nil), // 13: vitess.tabletmanagerdata.dev.GetSchemaRequest - (*GetSchemaResponse)(nil), // 14: vitess.tabletmanagerdata.dev.GetSchemaResponse - (*GetPermissionsRequest)(nil), // 15: vitess.tabletmanagerdata.dev.GetPermissionsRequest - (*GetPermissionsResponse)(nil), // 16: vitess.tabletmanagerdata.dev.GetPermissionsResponse - (*SetReadOnlyRequest)(nil), // 17: vitess.tabletmanagerdata.dev.SetReadOnlyRequest - (*SetReadOnlyResponse)(nil), // 18: vitess.tabletmanagerdata.dev.SetReadOnlyResponse - (*SetReadWriteRequest)(nil), // 19: vitess.tabletmanagerdata.dev.SetReadWriteRequest - (*SetReadWriteResponse)(nil), // 20: vitess.tabletmanagerdata.dev.SetReadWriteResponse - (*ChangeTypeRequest)(nil), // 21: vitess.tabletmanagerdata.dev.ChangeTypeRequest - (*ChangeTypeResponse)(nil), // 22: vitess.tabletmanagerdata.dev.ChangeTypeResponse - (*RefreshStateRequest)(nil), // 23: vitess.tabletmanagerdata.dev.RefreshStateRequest - (*RefreshStateResponse)(nil), // 24: vitess.tabletmanagerdata.dev.RefreshStateResponse - (*RunHealthCheckRequest)(nil), // 25: vitess.tabletmanagerdata.dev.RunHealthCheckRequest - (*RunHealthCheckResponse)(nil), // 26: vitess.tabletmanagerdata.dev.RunHealthCheckResponse - (*ReloadSchemaRequest)(nil), // 27: vitess.tabletmanagerdata.dev.ReloadSchemaRequest - (*ReloadSchemaResponse)(nil), // 28: vitess.tabletmanagerdata.dev.ReloadSchemaResponse - (*PreflightSchemaRequest)(nil), // 29: vitess.tabletmanagerdata.dev.PreflightSchemaRequest - (*PreflightSchemaResponse)(nil), // 30: vitess.tabletmanagerdata.dev.PreflightSchemaResponse - (*ApplySchemaRequest)(nil), // 31: vitess.tabletmanagerdata.dev.ApplySchemaRequest - (*ApplySchemaResponse)(nil), // 32: vitess.tabletmanagerdata.dev.ApplySchemaResponse - (*LockTablesRequest)(nil), // 33: vitess.tabletmanagerdata.dev.LockTablesRequest - (*LockTablesResponse)(nil), // 34: vitess.tabletmanagerdata.dev.LockTablesResponse - (*UnlockTablesRequest)(nil), // 35: vitess.tabletmanagerdata.dev.UnlockTablesRequest - (*UnlockTablesResponse)(nil), // 36: vitess.tabletmanagerdata.dev.UnlockTablesResponse - (*ExecuteQueryRequest)(nil), // 37: vitess.tabletmanagerdata.dev.ExecuteQueryRequest - (*ExecuteQueryResponse)(nil), // 38: vitess.tabletmanagerdata.dev.ExecuteQueryResponse - (*ExecuteFetchAsDbaRequest)(nil), // 39: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaRequest - (*ExecuteFetchAsDbaResponse)(nil), // 40: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse - (*ExecuteFetchAsAllPrivsRequest)(nil), // 41: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsRequest - (*ExecuteFetchAsAllPrivsResponse)(nil), // 42: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse - (*ExecuteFetchAsAppRequest)(nil), // 43: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppRequest - (*ExecuteFetchAsAppResponse)(nil), // 44: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse - (*ReplicationStatusRequest)(nil), // 45: vitess.tabletmanagerdata.dev.ReplicationStatusRequest - (*ReplicationStatusResponse)(nil), // 46: vitess.tabletmanagerdata.dev.ReplicationStatusResponse - (*PrimaryStatusRequest)(nil), // 47: vitess.tabletmanagerdata.dev.PrimaryStatusRequest - (*PrimaryStatusResponse)(nil), // 48: vitess.tabletmanagerdata.dev.PrimaryStatusResponse - (*PrimaryPositionRequest)(nil), // 49: vitess.tabletmanagerdata.dev.PrimaryPositionRequest - (*PrimaryPositionResponse)(nil), // 50: vitess.tabletmanagerdata.dev.PrimaryPositionResponse - (*WaitForPositionRequest)(nil), // 51: vitess.tabletmanagerdata.dev.WaitForPositionRequest - (*WaitForPositionResponse)(nil), // 52: vitess.tabletmanagerdata.dev.WaitForPositionResponse - (*StopReplicationRequest)(nil), // 53: vitess.tabletmanagerdata.dev.StopReplicationRequest - (*StopReplicationResponse)(nil), // 54: vitess.tabletmanagerdata.dev.StopReplicationResponse - (*StopReplicationMinimumRequest)(nil), // 55: vitess.tabletmanagerdata.dev.StopReplicationMinimumRequest - (*StopReplicationMinimumResponse)(nil), // 56: vitess.tabletmanagerdata.dev.StopReplicationMinimumResponse - (*StartReplicationRequest)(nil), // 57: vitess.tabletmanagerdata.dev.StartReplicationRequest - (*StartReplicationResponse)(nil), // 58: vitess.tabletmanagerdata.dev.StartReplicationResponse - (*StartReplicationUntilAfterRequest)(nil), // 59: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterRequest - (*StartReplicationUntilAfterResponse)(nil), // 60: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterResponse - (*GetReplicasRequest)(nil), // 61: vitess.tabletmanagerdata.dev.GetReplicasRequest - (*GetReplicasResponse)(nil), // 62: vitess.tabletmanagerdata.dev.GetReplicasResponse - (*ResetReplicationRequest)(nil), // 63: vitess.tabletmanagerdata.dev.ResetReplicationRequest - (*ResetReplicationResponse)(nil), // 64: vitess.tabletmanagerdata.dev.ResetReplicationResponse - (*VReplicationExecRequest)(nil), // 65: vitess.tabletmanagerdata.dev.VReplicationExecRequest - (*VReplicationExecResponse)(nil), // 66: vitess.tabletmanagerdata.dev.VReplicationExecResponse - (*VReplicationWaitForPosRequest)(nil), // 67: vitess.tabletmanagerdata.dev.VReplicationWaitForPosRequest - (*VReplicationWaitForPosResponse)(nil), // 68: vitess.tabletmanagerdata.dev.VReplicationWaitForPosResponse - (*InitPrimaryRequest)(nil), // 69: vitess.tabletmanagerdata.dev.InitPrimaryRequest - (*InitPrimaryResponse)(nil), // 70: vitess.tabletmanagerdata.dev.InitPrimaryResponse - (*PopulateReparentJournalRequest)(nil), // 71: vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest - (*PopulateReparentJournalResponse)(nil), // 72: vitess.tabletmanagerdata.dev.PopulateReparentJournalResponse - (*InitReplicaRequest)(nil), // 73: vitess.tabletmanagerdata.dev.InitReplicaRequest - (*InitReplicaResponse)(nil), // 74: vitess.tabletmanagerdata.dev.InitReplicaResponse - (*DemotePrimaryRequest)(nil), // 75: vitess.tabletmanagerdata.dev.DemotePrimaryRequest - (*DemotePrimaryResponse)(nil), // 76: vitess.tabletmanagerdata.dev.DemotePrimaryResponse - (*UndoDemotePrimaryRequest)(nil), // 77: vitess.tabletmanagerdata.dev.UndoDemotePrimaryRequest - (*UndoDemotePrimaryResponse)(nil), // 78: vitess.tabletmanagerdata.dev.UndoDemotePrimaryResponse - (*ReplicaWasPromotedRequest)(nil), // 79: vitess.tabletmanagerdata.dev.ReplicaWasPromotedRequest - (*ReplicaWasPromotedResponse)(nil), // 80: vitess.tabletmanagerdata.dev.ReplicaWasPromotedResponse - (*ResetReplicationParametersRequest)(nil), // 81: vitess.tabletmanagerdata.dev.ResetReplicationParametersRequest - (*ResetReplicationParametersResponse)(nil), // 82: vitess.tabletmanagerdata.dev.ResetReplicationParametersResponse - (*FullStatusRequest)(nil), // 83: vitess.tabletmanagerdata.dev.FullStatusRequest - (*FullStatusResponse)(nil), // 84: vitess.tabletmanagerdata.dev.FullStatusResponse - (*SetReplicationSourceRequest)(nil), // 85: vitess.tabletmanagerdata.dev.SetReplicationSourceRequest - (*SetReplicationSourceResponse)(nil), // 86: vitess.tabletmanagerdata.dev.SetReplicationSourceResponse - (*ReplicaWasRestartedRequest)(nil), // 87: vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest - (*ReplicaWasRestartedResponse)(nil), // 88: vitess.tabletmanagerdata.dev.ReplicaWasRestartedResponse - (*StopReplicationAndGetStatusRequest)(nil), // 89: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest - (*StopReplicationAndGetStatusResponse)(nil), // 90: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse - (*PromoteReplicaRequest)(nil), // 91: vitess.tabletmanagerdata.dev.PromoteReplicaRequest - (*PromoteReplicaResponse)(nil), // 92: vitess.tabletmanagerdata.dev.PromoteReplicaResponse - (*BackupRequest)(nil), // 93: vitess.tabletmanagerdata.dev.BackupRequest - (*BackupResponse)(nil), // 94: vitess.tabletmanagerdata.dev.BackupResponse - (*RestoreFromBackupRequest)(nil), // 95: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest - (*RestoreFromBackupResponse)(nil), // 96: vitess.tabletmanagerdata.dev.RestoreFromBackupResponse - (*CreateVReplicationWorkflowRequest)(nil), // 97: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest - (*CreateVReplicationWorkflowResponse)(nil), // 98: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse - (*DeleteVReplicationWorkflowRequest)(nil), // 99: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowRequest - (*DeleteVReplicationWorkflowResponse)(nil), // 100: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse - (*ReadVReplicationWorkflowRequest)(nil), // 101: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowRequest - (*ReadVReplicationWorkflowResponse)(nil), // 102: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse - (*VDiffRequest)(nil), // 103: vitess.tabletmanagerdata.dev.VDiffRequest - (*VDiffResponse)(nil), // 104: vitess.tabletmanagerdata.dev.VDiffResponse - (*VDiffPickerOptions)(nil), // 105: vitess.tabletmanagerdata.dev.VDiffPickerOptions - (*VDiffReportOptions)(nil), // 106: vitess.tabletmanagerdata.dev.VDiffReportOptions - (*VDiffCoreOptions)(nil), // 107: vitess.tabletmanagerdata.dev.VDiffCoreOptions - (*VDiffOptions)(nil), // 108: vitess.tabletmanagerdata.dev.VDiffOptions - (*UpdateVReplicationWorkflowRequest)(nil), // 109: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest - (*UpdateVReplicationWorkflowResponse)(nil), // 110: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse - (*ResetSequencesRequest)(nil), // 111: vitess.tabletmanagerdata.dev.ResetSequencesRequest - (*ResetSequencesResponse)(nil), // 112: vitess.tabletmanagerdata.dev.ResetSequencesResponse - (*CheckThrottlerRequest)(nil), // 113: vitess.tabletmanagerdata.dev.CheckThrottlerRequest - (*CheckThrottlerResponse)(nil), // 114: vitess.tabletmanagerdata.dev.CheckThrottlerResponse - nil, // 115: vitess.tabletmanagerdata.dev.UserPermission.PrivilegesEntry - nil, // 116: vitess.tabletmanagerdata.dev.DbPermission.PrivilegesEntry - nil, // 117: vitess.tabletmanagerdata.dev.ExecuteHookRequest.ExtraEnvEntry - (*ReadVReplicationWorkflowResponse_Stream)(nil), // 118: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream - (*dev.Field)(nil), // 119: vitess.query.dev.Field - (dev1.TabletType)(0), // 120: vitess.topodata.dev.TabletType - (*dev2.CallerID)(nil), // 121: vitess.vtrpc.dev.CallerID - (*dev.QueryResult)(nil), // 122: vitess.query.dev.QueryResult - (*dev3.Status)(nil), // 123: vitess.replicationdata.dev.Status - (*dev3.PrimaryStatus)(nil), // 124: vitess.replicationdata.dev.PrimaryStatus - (*dev1.TabletAlias)(nil), // 125: vitess.topodata.dev.TabletAlias - (*dev3.FullStatus)(nil), // 126: vitess.replicationdata.dev.FullStatus - (dev3.StopReplicationMode)(0), // 127: vitess.replicationdata.dev.StopReplicationMode - (*dev3.StopReplicationStatus)(nil), // 128: vitess.replicationdata.dev.StopReplicationStatus - (*dev4.Event)(nil), // 129: vitess.logutil.dev.Event - (*dev5.Time)(nil), // 130: vitess.vttime.dev.Time - (*dev6.BinlogSource)(nil), // 131: vitess.binlogdata.dev.BinlogSource - (dev6.VReplicationWorkflowType)(0), // 132: vitess.binlogdata.dev.VReplicationWorkflowType - (dev6.VReplicationWorkflowSubType)(0), // 133: vitess.binlogdata.dev.VReplicationWorkflowSubType - (dev6.OnDDLAction)(0), // 134: vitess.binlogdata.dev.OnDDLAction - (dev6.VReplicationWorkflowState)(0), // 135: vitess.binlogdata.dev.VReplicationWorkflowState +func (*ValidateVReplicationPermissionsRequest) ProtoMessage() {} + +func (x *ValidateVReplicationPermissionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[124] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_depIdxs = []int32{ - 119, // 0: vitess.tabletmanagerdata.dev.TableDefinition.fields:type_name -> vitess.query.dev.Field - 1, // 1: vitess.tabletmanagerdata.dev.SchemaDefinition.table_definitions:type_name -> vitess.tabletmanagerdata.dev.TableDefinition - 2, // 2: vitess.tabletmanagerdata.dev.SchemaChangeResult.before_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 2, // 3: vitess.tabletmanagerdata.dev.SchemaChangeResult.after_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 115, // 4: vitess.tabletmanagerdata.dev.UserPermission.privileges:type_name -> vitess.tabletmanagerdata.dev.UserPermission.PrivilegesEntry - 116, // 5: vitess.tabletmanagerdata.dev.DbPermission.privileges:type_name -> vitess.tabletmanagerdata.dev.DbPermission.PrivilegesEntry - 4, // 6: vitess.tabletmanagerdata.dev.Permissions.user_permissions:type_name -> vitess.tabletmanagerdata.dev.UserPermission - 5, // 7: vitess.tabletmanagerdata.dev.Permissions.db_permissions:type_name -> vitess.tabletmanagerdata.dev.DbPermission - 117, // 8: vitess.tabletmanagerdata.dev.ExecuteHookRequest.extra_env:type_name -> vitess.tabletmanagerdata.dev.ExecuteHookRequest.ExtraEnvEntry - 2, // 9: vitess.tabletmanagerdata.dev.GetSchemaResponse.schema_definition:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 6, // 10: vitess.tabletmanagerdata.dev.GetPermissionsResponse.permissions:type_name -> vitess.tabletmanagerdata.dev.Permissions - 120, // 11: vitess.tabletmanagerdata.dev.ChangeTypeRequest.tablet_type:type_name -> vitess.topodata.dev.TabletType - 3, // 12: vitess.tabletmanagerdata.dev.PreflightSchemaResponse.change_results:type_name -> vitess.tabletmanagerdata.dev.SchemaChangeResult - 2, // 13: vitess.tabletmanagerdata.dev.ApplySchemaRequest.before_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 2, // 14: vitess.tabletmanagerdata.dev.ApplySchemaRequest.after_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 2, // 15: vitess.tabletmanagerdata.dev.ApplySchemaResponse.before_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 2, // 16: vitess.tabletmanagerdata.dev.ApplySchemaResponse.after_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 121, // 17: vitess.tabletmanagerdata.dev.ExecuteQueryRequest.caller_id:type_name -> vitess.vtrpc.dev.CallerID - 122, // 18: vitess.tabletmanagerdata.dev.ExecuteQueryResponse.result:type_name -> vitess.query.dev.QueryResult - 122, // 19: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse.result:type_name -> vitess.query.dev.QueryResult - 122, // 20: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse.result:type_name -> vitess.query.dev.QueryResult - 122, // 21: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse.result:type_name -> vitess.query.dev.QueryResult - 123, // 22: vitess.tabletmanagerdata.dev.ReplicationStatusResponse.status:type_name -> vitess.replicationdata.dev.Status - 124, // 23: vitess.tabletmanagerdata.dev.PrimaryStatusResponse.status:type_name -> vitess.replicationdata.dev.PrimaryStatus - 122, // 24: vitess.tabletmanagerdata.dev.VReplicationExecResponse.result:type_name -> vitess.query.dev.QueryResult - 125, // 25: vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest.primary_alias:type_name -> vitess.topodata.dev.TabletAlias - 125, // 26: vitess.tabletmanagerdata.dev.InitReplicaRequest.parent:type_name -> vitess.topodata.dev.TabletAlias - 124, // 27: vitess.tabletmanagerdata.dev.DemotePrimaryResponse.primary_status:type_name -> vitess.replicationdata.dev.PrimaryStatus - 126, // 28: vitess.tabletmanagerdata.dev.FullStatusResponse.status:type_name -> vitess.replicationdata.dev.FullStatus - 125, // 29: vitess.tabletmanagerdata.dev.SetReplicationSourceRequest.parent:type_name -> vitess.topodata.dev.TabletAlias - 125, // 30: vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest.parent:type_name -> vitess.topodata.dev.TabletAlias - 127, // 31: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest.stop_replication_mode:type_name -> vitess.replicationdata.dev.StopReplicationMode - 128, // 32: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse.status:type_name -> vitess.replicationdata.dev.StopReplicationStatus - 129, // 33: vitess.tabletmanagerdata.dev.BackupResponse.event:type_name -> vitess.logutil.dev.Event - 130, // 34: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest.backup_time:type_name -> vitess.vttime.dev.Time - 130, // 35: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest.restore_to_timestamp:type_name -> vitess.vttime.dev.Time - 129, // 36: vitess.tabletmanagerdata.dev.RestoreFromBackupResponse.event:type_name -> vitess.logutil.dev.Event - 131, // 37: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.binlog_source:type_name -> vitess.binlogdata.dev.BinlogSource - 120, // 38: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 0, // 39: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 132, // 40: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.workflow_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowType - 133, // 41: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.workflow_sub_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowSubType - 122, // 42: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse.result:type_name -> vitess.query.dev.QueryResult - 122, // 43: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse.result:type_name -> vitess.query.dev.QueryResult - 120, // 44: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.tablet_types:type_name -> vitess.topodata.dev.TabletType - 0, // 45: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 132, // 46: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.workflow_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowType - 133, // 47: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.workflow_sub_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowSubType - 118, // 48: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.streams:type_name -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream - 108, // 49: vitess.tabletmanagerdata.dev.VDiffRequest.options:type_name -> vitess.tabletmanagerdata.dev.VDiffOptions - 122, // 50: vitess.tabletmanagerdata.dev.VDiffResponse.output:type_name -> vitess.query.dev.QueryResult - 105, // 51: vitess.tabletmanagerdata.dev.VDiffOptions.picker_options:type_name -> vitess.tabletmanagerdata.dev.VDiffPickerOptions - 107, // 52: vitess.tabletmanagerdata.dev.VDiffOptions.core_options:type_name -> vitess.tabletmanagerdata.dev.VDiffCoreOptions - 106, // 53: vitess.tabletmanagerdata.dev.VDiffOptions.report_options:type_name -> vitess.tabletmanagerdata.dev.VDiffReportOptions - 120, // 54: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 0, // 55: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 134, // 56: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.on_ddl:type_name -> vitess.binlogdata.dev.OnDDLAction - 135, // 57: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.state:type_name -> vitess.binlogdata.dev.VReplicationWorkflowState - 122, // 58: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse.result:type_name -> vitess.query.dev.QueryResult - 131, // 59: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.bls:type_name -> vitess.binlogdata.dev.BinlogSource - 130, // 60: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.time_updated:type_name -> vitess.vttime.dev.Time - 130, // 61: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.transaction_timestamp:type_name -> vitess.vttime.dev.Time - 135, // 62: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.state:type_name -> vitess.binlogdata.dev.VReplicationWorkflowState - 130, // 63: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.time_heartbeat:type_name -> vitess.vttime.dev.Time - 130, // 64: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.time_throttled:type_name -> vitess.vttime.dev.Time - 65, // [65:65] is the sub-list for method output_type - 65, // [65:65] is the sub-list for method input_type - 65, // [65:65] is the sub-list for extension type_name - 65, // [65:65] is the sub-list for extension extendee - 0, // [0:65] is the sub-list for field type_name + +// Deprecated: Use ValidateVReplicationPermissionsRequest.ProtoReflect.Descriptor instead. +func (*ValidateVReplicationPermissionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{124} } -func init() { file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() } -func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { - if File_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto != nil { - return +type ValidateVReplicationPermissionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The --db_filtered_user on the tablet. + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + // Does the user have the minimum privileges needed to manage + // vreplication metadata. + Ok bool `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"` +} + +func (x *ValidateVReplicationPermissionsResponse) Reset() { + *x = ValidateVReplicationPermissionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if !protoimpl.UnsafeEnabled { - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TableDefinition); i { +} + +func (x *ValidateVReplicationPermissionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVReplicationPermissionsResponse) ProtoMessage() {} + +func (x *ValidateVReplicationPermissionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[125] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVReplicationPermissionsResponse.ProtoReflect.Descriptor instead. +func (*ValidateVReplicationPermissionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{125} +} + +func (x *ValidateVReplicationPermissionsResponse) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +func (x *ValidateVReplicationPermissionsResponse) GetOk() bool { + if x != nil { + return x.Ok + } + return false +} + +type VDiffRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` + ActionArg string `protobuf:"bytes,4,opt,name=action_arg,json=actionArg,proto3" json:"action_arg,omitempty"` + VdiffUuid string `protobuf:"bytes,5,opt,name=vdiff_uuid,json=vdiffUuid,proto3" json:"vdiff_uuid,omitempty"` + Options *VDiffOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *VDiffRequest) Reset() { + *x = VDiffRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffRequest) ProtoMessage() {} + +func (x *VDiffRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[126] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffRequest.ProtoReflect.Descriptor instead. +func (*VDiffRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{126} +} + +func (x *VDiffRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *VDiffRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *VDiffRequest) GetAction() string { + if x != nil { + return x.Action + } + return "" +} + +func (x *VDiffRequest) GetActionArg() string { + if x != nil { + return x.ActionArg + } + return "" +} + +func (x *VDiffRequest) GetVdiffUuid() string { + if x != nil { + return x.VdiffUuid + } + return "" +} + +func (x *VDiffRequest) GetOptions() *VDiffOptions { + if x != nil { + return x.Options + } + return nil +} + +type VDiffResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Output *dev.QueryResult `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` + VdiffUuid string `protobuf:"bytes,3,opt,name=vdiff_uuid,json=vdiffUuid,proto3" json:"vdiff_uuid,omitempty"` +} + +func (x *VDiffResponse) Reset() { + *x = VDiffResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffResponse) ProtoMessage() {} + +func (x *VDiffResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[127] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffResponse.ProtoReflect.Descriptor instead. +func (*VDiffResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{127} +} + +func (x *VDiffResponse) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *VDiffResponse) GetOutput() *dev.QueryResult { + if x != nil { + return x.Output + } + return nil +} + +func (x *VDiffResponse) GetVdiffUuid() string { + if x != nil { + return x.VdiffUuid + } + return "" +} + +// options that influence the tablet selected by the picker for streaming data from +type VDiffPickerOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletTypes string `protobuf:"bytes,1,opt,name=tablet_types,json=tabletTypes,proto3" json:"tablet_types,omitempty"` + SourceCell string `protobuf:"bytes,2,opt,name=source_cell,json=sourceCell,proto3" json:"source_cell,omitempty"` + TargetCell string `protobuf:"bytes,3,opt,name=target_cell,json=targetCell,proto3" json:"target_cell,omitempty"` +} + +func (x *VDiffPickerOptions) Reset() { + *x = VDiffPickerOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffPickerOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffPickerOptions) ProtoMessage() {} + +func (x *VDiffPickerOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[128] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffPickerOptions.ProtoReflect.Descriptor instead. +func (*VDiffPickerOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{128} +} + +func (x *VDiffPickerOptions) GetTabletTypes() string { + if x != nil { + return x.TabletTypes + } + return "" +} + +func (x *VDiffPickerOptions) GetSourceCell() string { + if x != nil { + return x.SourceCell + } + return "" +} + +func (x *VDiffPickerOptions) GetTargetCell() string { + if x != nil { + return x.TargetCell + } + return "" +} + +// options that only influence how vdiff differences are reported +type VDiffReportOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OnlyPks bool `protobuf:"varint,1,opt,name=only_pks,json=onlyPks,proto3" json:"only_pks,omitempty"` + DebugQuery bool `protobuf:"varint,2,opt,name=debug_query,json=debugQuery,proto3" json:"debug_query,omitempty"` + Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` + MaxSampleRows int64 `protobuf:"varint,4,opt,name=max_sample_rows,json=maxSampleRows,proto3" json:"max_sample_rows,omitempty"` + RowDiffColumnTruncateAt int64 `protobuf:"varint,5,opt,name=row_diff_column_truncate_at,json=rowDiffColumnTruncateAt,proto3" json:"row_diff_column_truncate_at,omitempty"` +} + +func (x *VDiffReportOptions) Reset() { + *x = VDiffReportOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffReportOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffReportOptions) ProtoMessage() {} + +func (x *VDiffReportOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[129] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffReportOptions.ProtoReflect.Descriptor instead. +func (*VDiffReportOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{129} +} + +func (x *VDiffReportOptions) GetOnlyPks() bool { + if x != nil { + return x.OnlyPks + } + return false +} + +func (x *VDiffReportOptions) GetDebugQuery() bool { + if x != nil { + return x.DebugQuery + } + return false +} + +func (x *VDiffReportOptions) GetFormat() string { + if x != nil { + return x.Format + } + return "" +} + +func (x *VDiffReportOptions) GetMaxSampleRows() int64 { + if x != nil { + return x.MaxSampleRows + } + return 0 +} + +func (x *VDiffReportOptions) GetRowDiffColumnTruncateAt() int64 { + if x != nil { + return x.RowDiffColumnTruncateAt + } + return 0 +} + +type VDiffCoreOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tables string `protobuf:"bytes,1,opt,name=tables,proto3" json:"tables,omitempty"` + AutoRetry bool `protobuf:"varint,2,opt,name=auto_retry,json=autoRetry,proto3" json:"auto_retry,omitempty"` + MaxRows int64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + Checksum bool `protobuf:"varint,4,opt,name=checksum,proto3" json:"checksum,omitempty"` + SamplePct int64 `protobuf:"varint,5,opt,name=sample_pct,json=samplePct,proto3" json:"sample_pct,omitempty"` + TimeoutSeconds int64 `protobuf:"varint,6,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` + MaxExtraRowsToCompare int64 `protobuf:"varint,7,opt,name=max_extra_rows_to_compare,json=maxExtraRowsToCompare,proto3" json:"max_extra_rows_to_compare,omitempty"` + UpdateTableStats bool `protobuf:"varint,8,opt,name=update_table_stats,json=updateTableStats,proto3" json:"update_table_stats,omitempty"` + MaxDiffSeconds int64 `protobuf:"varint,9,opt,name=max_diff_seconds,json=maxDiffSeconds,proto3" json:"max_diff_seconds,omitempty"` + AutoStart *bool `protobuf:"varint,10,opt,name=auto_start,json=autoStart,proto3,oneof" json:"auto_start,omitempty"` +} + +func (x *VDiffCoreOptions) Reset() { + *x = VDiffCoreOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffCoreOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffCoreOptions) ProtoMessage() {} + +func (x *VDiffCoreOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[130] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffCoreOptions.ProtoReflect.Descriptor instead. +func (*VDiffCoreOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{130} +} + +func (x *VDiffCoreOptions) GetTables() string { + if x != nil { + return x.Tables + } + return "" +} + +func (x *VDiffCoreOptions) GetAutoRetry() bool { + if x != nil { + return x.AutoRetry + } + return false +} + +func (x *VDiffCoreOptions) GetMaxRows() int64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *VDiffCoreOptions) GetChecksum() bool { + if x != nil { + return x.Checksum + } + return false +} + +func (x *VDiffCoreOptions) GetSamplePct() int64 { + if x != nil { + return x.SamplePct + } + return 0 +} + +func (x *VDiffCoreOptions) GetTimeoutSeconds() int64 { + if x != nil { + return x.TimeoutSeconds + } + return 0 +} + +func (x *VDiffCoreOptions) GetMaxExtraRowsToCompare() int64 { + if x != nil { + return x.MaxExtraRowsToCompare + } + return 0 +} + +func (x *VDiffCoreOptions) GetUpdateTableStats() bool { + if x != nil { + return x.UpdateTableStats + } + return false +} + +func (x *VDiffCoreOptions) GetMaxDiffSeconds() int64 { + if x != nil { + return x.MaxDiffSeconds + } + return 0 +} + +func (x *VDiffCoreOptions) GetAutoStart() bool { + if x != nil && x.AutoStart != nil { + return *x.AutoStart + } + return false +} + +type VDiffOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PickerOptions *VDiffPickerOptions `protobuf:"bytes,1,opt,name=picker_options,json=pickerOptions,proto3" json:"picker_options,omitempty"` + CoreOptions *VDiffCoreOptions `protobuf:"bytes,2,opt,name=core_options,json=coreOptions,proto3" json:"core_options,omitempty"` + ReportOptions *VDiffReportOptions `protobuf:"bytes,3,opt,name=report_options,json=reportOptions,proto3" json:"report_options,omitempty"` +} + +func (x *VDiffOptions) Reset() { + *x = VDiffOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffOptions) ProtoMessage() {} + +func (x *VDiffOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[131] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffOptions.ProtoReflect.Descriptor instead. +func (*VDiffOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{131} +} + +func (x *VDiffOptions) GetPickerOptions() *VDiffPickerOptions { + if x != nil { + return x.PickerOptions + } + return nil +} + +func (x *VDiffOptions) GetCoreOptions() *VDiffCoreOptions { + if x != nil { + return x.CoreOptions + } + return nil +} + +func (x *VDiffOptions) GetReportOptions() *VDiffReportOptions { + if x != nil { + return x.ReportOptions + } + return nil +} + +// UpdateVReplicationWorkflowRequest is used to update an existing VReplication +// workflow. Note that the following fields MUST have an explicit value provided +// if you do NOT wish to update the existing value to the given type's ZeroValue: +// cells, tablet_types, on_ddl, and state. +// TODO: leverage the optional modifier for these fields rather than using SimulatedNull +// values: https://github.com/vitessio/vitess/issues/15627 +type UpdateVReplicationWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []dev1.TabletType `protobuf:"varint,3,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference *TabletSelectionPreference `protobuf:"varint,4,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference,oneof" json:"tablet_selection_preference,omitempty"` + OnDdl *dev7.OnDDLAction `protobuf:"varint,5,opt,name=on_ddl,json=onDdl,proto3,enum=vitess.binlogdata.dev.OnDDLAction,oneof" json:"on_ddl,omitempty"` + State *dev7.VReplicationWorkflowState `protobuf:"varint,6,opt,name=state,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowState,oneof" json:"state,omitempty"` + ConfigOverrides map[string]string `protobuf:"bytes,8,rep,name=config_overrides,json=configOverrides,proto3" json:"config_overrides,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *UpdateVReplicationWorkflowRequest) Reset() { + *x = UpdateVReplicationWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateVReplicationWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateVReplicationWorkflowRequest) ProtoMessage() {} + +func (x *UpdateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[132] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*UpdateVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{132} +} + +func (x *UpdateVReplicationWorkflowRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *UpdateVReplicationWorkflowRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *UpdateVReplicationWorkflowRequest) GetTabletTypes() []dev1.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *UpdateVReplicationWorkflowRequest) GetTabletSelectionPreference() TabletSelectionPreference { + if x != nil && x.TabletSelectionPreference != nil { + return *x.TabletSelectionPreference + } + return TabletSelectionPreference_ANY +} + +func (x *UpdateVReplicationWorkflowRequest) GetOnDdl() dev7.OnDDLAction { + if x != nil && x.OnDdl != nil { + return *x.OnDdl + } + return dev7.OnDDLAction(0) +} + +func (x *UpdateVReplicationWorkflowRequest) GetState() dev7.VReplicationWorkflowState { + if x != nil && x.State != nil { + return *x.State + } + return dev7.VReplicationWorkflowState(0) +} + +func (x *UpdateVReplicationWorkflowRequest) GetConfigOverrides() map[string]string { + if x != nil { + return x.ConfigOverrides + } + return nil +} + +type UpdateVReplicationWorkflowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *UpdateVReplicationWorkflowResponse) Reset() { + *x = UpdateVReplicationWorkflowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateVReplicationWorkflowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateVReplicationWorkflowResponse) ProtoMessage() {} + +func (x *UpdateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[133] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*UpdateVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{133} +} + +func (x *UpdateVReplicationWorkflowResponse) GetResult() *dev.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +// UpdateVReplicationWorkflowsRequest is used to update multiple existing VReplication +// workflows. Note that the following fields MUST have an explicit value provided +// if you do NOT wish to update the existing values to the given type's ZeroValue: +// state, message, and stop_position. +// TODO: leverage the optional modifier for these fields rather than using SimulatedNull +// values: https://github.com/vitessio/vitess/issues/15627 +type UpdateVReplicationWorkflowsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllWorkflows bool `protobuf:"varint,1,opt,name=all_workflows,json=allWorkflows,proto3" json:"all_workflows,omitempty"` + IncludeWorkflows []string `protobuf:"bytes,2,rep,name=include_workflows,json=includeWorkflows,proto3" json:"include_workflows,omitempty"` + ExcludeWorkflows []string `protobuf:"bytes,3,rep,name=exclude_workflows,json=excludeWorkflows,proto3" json:"exclude_workflows,omitempty"` + State *dev7.VReplicationWorkflowState `protobuf:"varint,4,opt,name=state,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowState,oneof" json:"state,omitempty"` + Message *string `protobuf:"bytes,5,opt,name=message,proto3,oneof" json:"message,omitempty"` + StopPosition *string `protobuf:"bytes,6,opt,name=stop_position,json=stopPosition,proto3,oneof" json:"stop_position,omitempty"` +} + +func (x *UpdateVReplicationWorkflowsRequest) Reset() { + *x = UpdateVReplicationWorkflowsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateVReplicationWorkflowsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateVReplicationWorkflowsRequest) ProtoMessage() {} + +func (x *UpdateVReplicationWorkflowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[134] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateVReplicationWorkflowsRequest.ProtoReflect.Descriptor instead. +func (*UpdateVReplicationWorkflowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{134} +} + +func (x *UpdateVReplicationWorkflowsRequest) GetAllWorkflows() bool { + if x != nil { + return x.AllWorkflows + } + return false +} + +func (x *UpdateVReplicationWorkflowsRequest) GetIncludeWorkflows() []string { + if x != nil { + return x.IncludeWorkflows + } + return nil +} + +func (x *UpdateVReplicationWorkflowsRequest) GetExcludeWorkflows() []string { + if x != nil { + return x.ExcludeWorkflows + } + return nil +} + +func (x *UpdateVReplicationWorkflowsRequest) GetState() dev7.VReplicationWorkflowState { + if x != nil && x.State != nil { + return *x.State + } + return dev7.VReplicationWorkflowState(0) +} + +func (x *UpdateVReplicationWorkflowsRequest) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *UpdateVReplicationWorkflowsRequest) GetStopPosition() string { + if x != nil && x.StopPosition != nil { + return *x.StopPosition + } + return "" +} + +type UpdateVReplicationWorkflowsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *dev.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *UpdateVReplicationWorkflowsResponse) Reset() { + *x = UpdateVReplicationWorkflowsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateVReplicationWorkflowsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateVReplicationWorkflowsResponse) ProtoMessage() {} + +func (x *UpdateVReplicationWorkflowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[135] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateVReplicationWorkflowsResponse.ProtoReflect.Descriptor instead. +func (*UpdateVReplicationWorkflowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{135} +} + +func (x *UpdateVReplicationWorkflowsResponse) GetResult() *dev.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ResetSequencesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` +} + +func (x *ResetSequencesRequest) Reset() { + *x = ResetSequencesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetSequencesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetSequencesRequest) ProtoMessage() {} + +func (x *ResetSequencesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[136] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetSequencesRequest.ProtoReflect.Descriptor instead. +func (*ResetSequencesRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{136} +} + +func (x *ResetSequencesRequest) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +type ResetSequencesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ResetSequencesResponse) Reset() { + *x = ResetSequencesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetSequencesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetSequencesResponse) ProtoMessage() {} + +func (x *ResetSequencesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[137] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetSequencesResponse.ProtoReflect.Descriptor instead. +func (*ResetSequencesResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{137} +} + +type CheckThrottlerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` + Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` + // SkipRequestHeartbeats ensures this check does not renew heartbeat lease + SkipRequestHeartbeats bool `protobuf:"varint,3,opt,name=skip_request_heartbeats,json=skipRequestHeartbeats,proto3" json:"skip_request_heartbeats,omitempty"` + // OKIfNotExists asks the throttler to return OK even if the metric does not exist + OkIfNotExists bool `protobuf:"varint,4,opt,name=ok_if_not_exists,json=okIfNotExists,proto3" json:"ok_if_not_exists,omitempty"` + // MultiMetricsEnabled is always set to "true" and is how a multi-metrics enabled replica + // throttler knows its being probed by a multi-metrics enabled primary vttablet. + MultiMetricsEnabled bool `protobuf:"varint,5,opt,name=multi_metrics_enabled,json=multiMetricsEnabled,proto3" json:"multi_metrics_enabled,omitempty"` +} + +func (x *CheckThrottlerRequest) Reset() { + *x = CheckThrottlerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckThrottlerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckThrottlerRequest) ProtoMessage() {} + +func (x *CheckThrottlerRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[138] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckThrottlerRequest.ProtoReflect.Descriptor instead. +func (*CheckThrottlerRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{138} +} + +func (x *CheckThrottlerRequest) GetAppName() string { + if x != nil { + return x.AppName + } + return "" +} + +func (x *CheckThrottlerRequest) GetScope() string { + if x != nil { + return x.Scope + } + return "" +} + +func (x *CheckThrottlerRequest) GetSkipRequestHeartbeats() bool { + if x != nil { + return x.SkipRequestHeartbeats + } + return false +} + +func (x *CheckThrottlerRequest) GetOkIfNotExists() bool { + if x != nil { + return x.OkIfNotExists + } + return false +} + +func (x *CheckThrottlerRequest) GetMultiMetricsEnabled() bool { + if x != nil { + return x.MultiMetricsEnabled + } + return false +} + +type CheckThrottlerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // StatusCode is HTTP compliant response code (e.g. 200 for OK) + StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + // Value is the metric value collected by the tablet + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` + // Threshold is the throttling threshold the table was comparing the value with + Threshold float64 `protobuf:"fixed64,3,opt,name=threshold,proto3" json:"threshold,omitempty"` + // Error indicates an error retrieving the value + Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` + // Message + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + // RecentlyChecked indicates that the tablet has been hit with a user-facing check, which can then imply + // that heartbeats lease should be renwed. + RecentlyChecked bool `protobuf:"varint,6,opt,name=recently_checked,json=recentlyChecked,proto3" json:"recently_checked,omitempty"` + // Metrics is a map (metric name -> metric value/error) so that the client has as much + // information as possible about all the checked metrics. + Metrics map[string]*CheckThrottlerResponse_Metric `protobuf:"bytes,7,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // AppName is the name of app that was matched by the throttler + AppName string `protobuf:"bytes,8,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` + // Summary is a human readable analysis of the result + Summary string `protobuf:"bytes,9,opt,name=summary,proto3" json:"summary,omitempty"` + // ResponseCode is the enum representation of the response + ResponseCode CheckThrottlerResponseCode `protobuf:"varint,10,opt,name=response_code,json=responseCode,proto3,enum=vitess.tabletmanagerdata.dev.CheckThrottlerResponseCode" json:"response_code,omitempty"` +} + +func (x *CheckThrottlerResponse) Reset() { + *x = CheckThrottlerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckThrottlerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckThrottlerResponse) ProtoMessage() {} + +func (x *CheckThrottlerResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[139] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckThrottlerResponse.ProtoReflect.Descriptor instead. +func (*CheckThrottlerResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{139} +} + +func (x *CheckThrottlerResponse) GetStatusCode() int32 { + if x != nil { + return x.StatusCode + } + return 0 +} + +func (x *CheckThrottlerResponse) GetValue() float64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *CheckThrottlerResponse) GetThreshold() float64 { + if x != nil { + return x.Threshold + } + return 0 +} + +func (x *CheckThrottlerResponse) GetError() string { + if x != nil { + return x.Error + } + return "" +} + +func (x *CheckThrottlerResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *CheckThrottlerResponse) GetRecentlyChecked() bool { + if x != nil { + return x.RecentlyChecked + } + return false +} + +func (x *CheckThrottlerResponse) GetMetrics() map[string]*CheckThrottlerResponse_Metric { + if x != nil { + return x.Metrics + } + return nil +} + +func (x *CheckThrottlerResponse) GetAppName() string { + if x != nil { + return x.AppName + } + return "" +} + +func (x *CheckThrottlerResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *CheckThrottlerResponse) GetResponseCode() CheckThrottlerResponseCode { + if x != nil { + return x.ResponseCode + } + return CheckThrottlerResponseCode_UNDEFINED +} + +type GetThrottlerStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetThrottlerStatusRequest) Reset() { + *x = GetThrottlerStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetThrottlerStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetThrottlerStatusRequest) ProtoMessage() {} + +func (x *GetThrottlerStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[140] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetThrottlerStatusRequest.ProtoReflect.Descriptor instead. +func (*GetThrottlerStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{140} +} + +type GetThrottlerStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // TabletAlias of probed tablet + TabletAlias string `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + // IsLeader indicates if the tablet is the leader of the shard, ie. the primary + IsLeader bool `protobuf:"varint,4,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"` + // IsOpen per stateManager + IsOpen bool `protobuf:"varint,5,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` + // IsEnabled per throttler configuration + IsEnabled bool `protobuf:"varint,6,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"` + // IsDormant: whether the throttler is dormant, ie has not received any checks in a while + // and goes into low-frequency probing mode. + IsDormant bool `protobuf:"varint,7,opt,name=is_dormant,json=isDormant,proto3" json:"is_dormant,omitempty"` + // LagMetricQuery is the query used to check the lag metric, a constant used by the throttler. + LagMetricQuery string `protobuf:"bytes,8,opt,name=lag_metric_query,json=lagMetricQuery,proto3" json:"lag_metric_query,omitempty"` + // CustomMetricQuery is the query used to check the custom metric, supplied by the user. + CustomMetricQuery string `protobuf:"bytes,9,opt,name=custom_metric_query,json=customMetricQuery,proto3" json:"custom_metric_query,omitempty"` + // DefaultThreshold is the threshold used by the throttler for the default metric (lag or custom in single-metric throttlers) + DefaultThreshold float64 `protobuf:"fixed64,10,opt,name=default_threshold,json=defaultThreshold,proto3" json:"default_threshold,omitempty"` + // MetricNameUsedAsDefault is the name of the metric used as the default metric: "lag" or "custom", for backwards compatibility + // with single-metric throttlers + MetricNameUsedAsDefault string `protobuf:"bytes,11,opt,name=metric_name_used_as_default,json=metricNameUsedAsDefault,proto3" json:"metric_name_used_as_default,omitempty"` + // AggregatedMetrics is a map of metric names to their values/errors + // Names are, for example, "self", "self/lag", "shard/lag", "shard/loadavg", etc. + AggregatedMetrics map[string]*GetThrottlerStatusResponse_MetricResult `protobuf:"bytes,12,rep,name=aggregated_metrics,json=aggregatedMetrics,proto3" json:"aggregated_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // MetricThresholds is a map of metric names to their thresholds. + MetricThresholds map[string]float64 `protobuf:"bytes,13,rep,name=metric_thresholds,json=metricThresholds,proto3" json:"metric_thresholds,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` + // MetricsHealth is a map of metric names to their health status. + MetricsHealth map[string]*GetThrottlerStatusResponse_MetricHealth `protobuf:"bytes,14,rep,name=metrics_health,json=metricsHealth,proto3" json:"metrics_health,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // ThrottledApps is a map of app names to their throttling rules + ThrottledApps map[string]*dev1.ThrottledAppRule `protobuf:"bytes,15,rep,name=throttled_apps,json=throttledApps,proto3" json:"throttled_apps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // AppCheckedMetrics is a map of app names to their assigned metrics + AppCheckedMetrics map[string]string `protobuf:"bytes,16,rep,name=app_checked_metrics,json=appCheckedMetrics,proto3" json:"app_checked_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + RecentlyChecked bool `protobuf:"varint,17,opt,name=recently_checked,json=recentlyChecked,proto3" json:"recently_checked,omitempty"` + // RecentApps is a map of app names to their recent check status + RecentApps map[string]*GetThrottlerStatusResponse_RecentApp `protobuf:"bytes,18,rep,name=recent_apps,json=recentApps,proto3" json:"recent_apps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetThrottlerStatusResponse) Reset() { + *x = GetThrottlerStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetThrottlerStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetThrottlerStatusResponse) ProtoMessage() {} + +func (x *GetThrottlerStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[141] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetThrottlerStatusResponse.ProtoReflect.Descriptor instead. +func (*GetThrottlerStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{141} +} + +func (x *GetThrottlerStatusResponse) GetTabletAlias() string { + if x != nil { + return x.TabletAlias + } + return "" +} + +func (x *GetThrottlerStatusResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetThrottlerStatusResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *GetThrottlerStatusResponse) GetIsLeader() bool { + if x != nil { + return x.IsLeader + } + return false +} + +func (x *GetThrottlerStatusResponse) GetIsOpen() bool { + if x != nil { + return x.IsOpen + } + return false +} + +func (x *GetThrottlerStatusResponse) GetIsEnabled() bool { + if x != nil { + return x.IsEnabled + } + return false +} + +func (x *GetThrottlerStatusResponse) GetIsDormant() bool { + if x != nil { + return x.IsDormant + } + return false +} + +func (x *GetThrottlerStatusResponse) GetLagMetricQuery() string { + if x != nil { + return x.LagMetricQuery + } + return "" +} + +func (x *GetThrottlerStatusResponse) GetCustomMetricQuery() string { + if x != nil { + return x.CustomMetricQuery + } + return "" +} + +func (x *GetThrottlerStatusResponse) GetDefaultThreshold() float64 { + if x != nil { + return x.DefaultThreshold + } + return 0 +} + +func (x *GetThrottlerStatusResponse) GetMetricNameUsedAsDefault() string { + if x != nil { + return x.MetricNameUsedAsDefault + } + return "" +} + +func (x *GetThrottlerStatusResponse) GetAggregatedMetrics() map[string]*GetThrottlerStatusResponse_MetricResult { + if x != nil { + return x.AggregatedMetrics + } + return nil +} + +func (x *GetThrottlerStatusResponse) GetMetricThresholds() map[string]float64 { + if x != nil { + return x.MetricThresholds + } + return nil +} + +func (x *GetThrottlerStatusResponse) GetMetricsHealth() map[string]*GetThrottlerStatusResponse_MetricHealth { + if x != nil { + return x.MetricsHealth + } + return nil +} + +func (x *GetThrottlerStatusResponse) GetThrottledApps() map[string]*dev1.ThrottledAppRule { + if x != nil { + return x.ThrottledApps + } + return nil +} + +func (x *GetThrottlerStatusResponse) GetAppCheckedMetrics() map[string]string { + if x != nil { + return x.AppCheckedMetrics + } + return nil +} + +func (x *GetThrottlerStatusResponse) GetRecentlyChecked() bool { + if x != nil { + return x.RecentlyChecked + } + return false +} + +func (x *GetThrottlerStatusResponse) GetRecentApps() map[string]*GetThrottlerStatusResponse_RecentApp { + if x != nil { + return x.RecentApps + } + return nil +} + +type ChangeTagsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tags map[string]string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Replace bool `protobuf:"varint,2,opt,name=replace,proto3" json:"replace,omitempty"` +} + +func (x *ChangeTagsRequest) Reset() { + *x = ChangeTagsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTagsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTagsRequest) ProtoMessage() {} + +func (x *ChangeTagsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[142] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTagsRequest.ProtoReflect.Descriptor instead. +func (*ChangeTagsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{142} +} + +func (x *ChangeTagsRequest) GetTags() map[string]string { + if x != nil { + return x.Tags + } + return nil +} + +func (x *ChangeTagsRequest) GetReplace() bool { + if x != nil { + return x.Replace + } + return false +} + +type ChangeTagsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tags map[string]string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ChangeTagsResponse) Reset() { + *x = ChangeTagsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTagsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTagsResponse) ProtoMessage() {} + +func (x *ChangeTagsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[143] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTagsResponse.ProtoReflect.Descriptor instead. +func (*ChangeTagsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{143} +} + +func (x *ChangeTagsResponse) GetTags() map[string]string { + if x != nil { + return x.Tags + } + return nil +} + +type ReadVReplicationWorkflowResponse_Stream struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Bls *dev7.BinlogSource `protobuf:"bytes,2,opt,name=bls,proto3" json:"bls,omitempty"` + Pos string `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` + StopPos string `protobuf:"bytes,4,opt,name=stop_pos,json=stopPos,proto3" json:"stop_pos,omitempty"` + MaxTps int64 `protobuf:"varint,5,opt,name=max_tps,json=maxTps,proto3" json:"max_tps,omitempty"` + MaxReplicationLag int64 `protobuf:"varint,6,opt,name=max_replication_lag,json=maxReplicationLag,proto3" json:"max_replication_lag,omitempty"` + TimeUpdated *dev6.Time `protobuf:"bytes,7,opt,name=time_updated,json=timeUpdated,proto3" json:"time_updated,omitempty"` + TransactionTimestamp *dev6.Time `protobuf:"bytes,8,opt,name=transaction_timestamp,json=transactionTimestamp,proto3" json:"transaction_timestamp,omitempty"` + State dev7.VReplicationWorkflowState `protobuf:"varint,9,opt,name=state,proto3,enum=vitess.binlogdata.dev.VReplicationWorkflowState" json:"state,omitempty"` + Message string `protobuf:"bytes,10,opt,name=message,proto3" json:"message,omitempty"` + RowsCopied int64 `protobuf:"varint,11,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` + TimeHeartbeat *dev6.Time `protobuf:"bytes,12,opt,name=time_heartbeat,json=timeHeartbeat,proto3" json:"time_heartbeat,omitempty"` + TimeThrottled *dev6.Time `protobuf:"bytes,13,opt,name=time_throttled,json=timeThrottled,proto3" json:"time_throttled,omitempty"` + ComponentThrottled string `protobuf:"bytes,14,opt,name=component_throttled,json=componentThrottled,proto3" json:"component_throttled,omitempty"` +} + +func (x *ReadVReplicationWorkflowResponse_Stream) Reset() { + *x = ReadVReplicationWorkflowResponse_Stream{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadVReplicationWorkflowResponse_Stream) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadVReplicationWorkflowResponse_Stream) ProtoMessage() {} + +func (x *ReadVReplicationWorkflowResponse_Stream) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[149] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadVReplicationWorkflowResponse_Stream.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowResponse_Stream) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{123, 0} +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetBls() *dev7.BinlogSource { + if x != nil { + return x.Bls + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetPos() string { + if x != nil { + return x.Pos + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetStopPos() string { + if x != nil { + return x.StopPos + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetMaxTps() int64 { + if x != nil { + return x.MaxTps + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetMaxReplicationLag() int64 { + if x != nil { + return x.MaxReplicationLag + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeUpdated() *dev6.Time { + if x != nil { + return x.TimeUpdated + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTransactionTimestamp() *dev6.Time { + if x != nil { + return x.TransactionTimestamp + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetState() dev7.VReplicationWorkflowState { + if x != nil { + return x.State + } + return dev7.VReplicationWorkflowState(0) +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetRowsCopied() int64 { + if x != nil { + return x.RowsCopied + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeHeartbeat() *dev6.Time { + if x != nil { + return x.TimeHeartbeat + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeThrottled() *dev6.Time { + if x != nil { + return x.TimeThrottled + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetComponentThrottled() string { + if x != nil { + return x.ComponentThrottled + } + return "" +} + +type CheckThrottlerResponse_Metric struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the metric + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // StatusCode is HTTP compliant response code (e.g. 200 for OK) + StatusCode int32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + // Value is the metric value collected by the tablet + Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` + // Threshold is the throttling threshold the table was comparing the value with + Threshold float64 `protobuf:"fixed64,4,opt,name=threshold,proto3" json:"threshold,omitempty"` + // Error indicates an error retrieving the value + Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` + // Message + Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` + // Scope used in this check + Scope string `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"` + // ResponseCode is the enum representation of the response + ResponseCode CheckThrottlerResponseCode `protobuf:"varint,8,opt,name=response_code,json=responseCode,proto3,enum=vitess.tabletmanagerdata.dev.CheckThrottlerResponseCode" json:"response_code,omitempty"` +} + +func (x *CheckThrottlerResponse_Metric) Reset() { + *x = CheckThrottlerResponse_Metric{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckThrottlerResponse_Metric) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckThrottlerResponse_Metric) ProtoMessage() {} + +func (x *CheckThrottlerResponse_Metric) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[152] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckThrottlerResponse_Metric.ProtoReflect.Descriptor instead. +func (*CheckThrottlerResponse_Metric) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{139, 0} +} + +func (x *CheckThrottlerResponse_Metric) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CheckThrottlerResponse_Metric) GetStatusCode() int32 { + if x != nil { + return x.StatusCode + } + return 0 +} + +func (x *CheckThrottlerResponse_Metric) GetValue() float64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *CheckThrottlerResponse_Metric) GetThreshold() float64 { + if x != nil { + return x.Threshold + } + return 0 +} + +func (x *CheckThrottlerResponse_Metric) GetError() string { + if x != nil { + return x.Error + } + return "" +} + +func (x *CheckThrottlerResponse_Metric) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *CheckThrottlerResponse_Metric) GetScope() string { + if x != nil { + return x.Scope + } + return "" +} + +func (x *CheckThrottlerResponse_Metric) GetResponseCode() CheckThrottlerResponseCode { + if x != nil { + return x.ResponseCode + } + return CheckThrottlerResponseCode_UNDEFINED +} + +type GetThrottlerStatusResponse_MetricResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *GetThrottlerStatusResponse_MetricResult) Reset() { + *x = GetThrottlerStatusResponse_MetricResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetThrottlerStatusResponse_MetricResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetThrottlerStatusResponse_MetricResult) ProtoMessage() {} + +func (x *GetThrottlerStatusResponse_MetricResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[154] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetThrottlerStatusResponse_MetricResult.ProtoReflect.Descriptor instead. +func (*GetThrottlerStatusResponse_MetricResult) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{141, 0} +} + +func (x *GetThrottlerStatusResponse_MetricResult) GetValue() float64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *GetThrottlerStatusResponse_MetricResult) GetError() string { + if x != nil { + return x.Error + } + return "" +} + +type GetThrottlerStatusResponse_MetricHealth struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastHealthyAt *dev6.Time `protobuf:"bytes,1,opt,name=last_healthy_at,json=lastHealthyAt,proto3" json:"last_healthy_at,omitempty"` + SecondsSinceLastHealthy int64 `protobuf:"varint,2,opt,name=seconds_since_last_healthy,json=secondsSinceLastHealthy,proto3" json:"seconds_since_last_healthy,omitempty"` +} + +func (x *GetThrottlerStatusResponse_MetricHealth) Reset() { + *x = GetThrottlerStatusResponse_MetricHealth{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetThrottlerStatusResponse_MetricHealth) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetThrottlerStatusResponse_MetricHealth) ProtoMessage() {} + +func (x *GetThrottlerStatusResponse_MetricHealth) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[157] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetThrottlerStatusResponse_MetricHealth.ProtoReflect.Descriptor instead. +func (*GetThrottlerStatusResponse_MetricHealth) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{141, 3} +} + +func (x *GetThrottlerStatusResponse_MetricHealth) GetLastHealthyAt() *dev6.Time { + if x != nil { + return x.LastHealthyAt + } + return nil +} + +func (x *GetThrottlerStatusResponse_MetricHealth) GetSecondsSinceLastHealthy() int64 { + if x != nil { + return x.SecondsSinceLastHealthy + } + return 0 +} + +type GetThrottlerStatusResponse_RecentApp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CheckedAt *dev6.Time `protobuf:"bytes,1,opt,name=checked_at,json=checkedAt,proto3" json:"checked_at,omitempty"` + StatusCode int32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + // ResponseCode is the enum representation of the response + ResponseCode CheckThrottlerResponseCode `protobuf:"varint,3,opt,name=response_code,json=responseCode,proto3,enum=vitess.tabletmanagerdata.dev.CheckThrottlerResponseCode" json:"response_code,omitempty"` +} + +func (x *GetThrottlerStatusResponse_RecentApp) Reset() { + *x = GetThrottlerStatusResponse_RecentApp{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetThrottlerStatusResponse_RecentApp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetThrottlerStatusResponse_RecentApp) ProtoMessage() {} + +func (x *GetThrottlerStatusResponse_RecentApp) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[161] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetThrottlerStatusResponse_RecentApp.ProtoReflect.Descriptor instead. +func (*GetThrottlerStatusResponse_RecentApp) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP(), []int{141, 7} +} + +func (x *GetThrottlerStatusResponse_RecentApp) GetCheckedAt() *dev6.Time { + if x != nil { + return x.CheckedAt + } + return nil +} + +func (x *GetThrottlerStatusResponse_RecentApp) GetStatusCode() int32 { + if x != nil { + return x.StatusCode + } + return 0 +} + +func (x *GetThrottlerStatusResponse_RecentApp) GetResponseCode() CheckThrottlerResponseCode { + if x != nil { + return x.ResponseCode + } + return CheckThrottlerResponseCode_UNDEFINED +} + +var File_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto protoreflect.FileDescriptor + +var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDesc = []byte{ + 0x0a, 0x34, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x1a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, + 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, + 0x6c, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x0f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2e, + 0x0a, 0x13, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x10, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x73, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, + 0x5a, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x03, 0x10, + 0x04, 0x22, 0xbc, 0x01, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x53, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, + 0x72, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0c, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, + 0x0c, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x22, 0x82, 0x02, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x70, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x5c, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, + 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, + 0x6c, 0x65, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, + 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, + 0x65, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe1, 0x01, 0x0a, 0x0c, 0x44, 0x62, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x62, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x64, 0x62, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x5a, + 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x44, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, + 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, + 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, + 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 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, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb9, 0x01, 0x0a, 0x0b, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x64, 0x62, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x62, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x64, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x28, + 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x2a, 0x0a, 0x0c, 0x53, 0x6c, 0x65, 0x65, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x12, 0x5b, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6e, 0x76, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x08, 0x65, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6e, 0x76, 0x1a, 0x3b, 0x0a, + 0x0d, 0x45, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x66, 0x0a, 0x13, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x64, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x22, 0xa2, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, + 0x69, 0x65, 0x77, 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, 0x2a, 0x0a, 0x11, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x70, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x11, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x65, 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, 0x4b, 0x0a, 0x0b, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 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, 0x3a, 0x0a, 0x1a, 0x47, 0x65, 0x74, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x72, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x56, 0x61, 0x6c, 0x75, 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, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x52, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, + 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x71, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, + 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, + 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 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, 0x17, 0x0a, 0x15, + 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 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, + 0x3a, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, + 0x61, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 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, 0x32, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x72, 0x0a, 0x17, 0x50, 0x72, 0x65, 0x66, 0x6c, + 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x88, 0x03, 0x0a, 0x12, + 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x73, 0x71, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, + 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, + 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, + 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, + 0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, + 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, + 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x22, 0xbd, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, + 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4c, + 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x98, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, + 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, + 0x77, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x14, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xef, 0x01, 0x0a, 0x18, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x0a, + 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, + 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 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, 0x12, + 0x3b, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, + 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x17, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x22, 0x52, 0x0a, 0x19, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0xf0, 0x01, 0x0a, 0x1d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x73, 0x71, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 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, 0x12, 0x3b, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x68, + 0x65, 0x63, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x64, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x73, 0x22, 0x59, 0x0a, 0x1e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, + 0x6c, 0x74, 0x69, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x8e, + 0x01, 0x0a, 0x1d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, + 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, + 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, + 0x57, 0x0a, 0x1e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, + 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x4b, 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, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, + 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, + 0x78, 0x52, 0x6f, 0x77, 0x73, 0x22, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x43, 0x0a, 0x20, 0x47, 0x65, 0x74, + 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x41, 0x67, 0x65, 0x22, 0x6e, + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2c, + 0x0a, 0x16, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x62, 0x0a, 0x17, + 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x2f, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, + 0x64, 0x22, 0x8f, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6d, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x02, 0x6d, 0x6d, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x48, 0x6f, 0x73, + 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x66, 0x0a, 0x18, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x48, + 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, + 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0b, 0x48, 0x6f, 0x73, 0x74, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x57, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x16, 0x0a, 0x14, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x15, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0x18, 0x0a, 0x16, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x35, 0x0a, 0x17, 0x50, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x34, 0x0a, 0x16, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x19, 0x0a, 0x17, 0x57, 0x61, 0x69, 0x74, 0x46, + 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x5e, 0x0a, 0x1d, 0x53, 0x74, 0x6f, 0x70, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x77, 0x61, 0x69, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3c, 0x0a, 0x1e, 0x53, 0x74, 0x6f, 0x70, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 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, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 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, 0x62, 0x0a, 0x21, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, + 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x69, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x24, 0x0a, 0x22, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, + 0x61, 0x64, 0x64, 0x72, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, 0x17, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x51, 0x0a, + 0x18, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, + 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x4b, 0x0a, 0x1d, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, + 0x1e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, + 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x30, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, + 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, + 0x63, 0x22, 0x31, 0x0a, 0x13, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe3, 0x01, 0x0a, 0x1e, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x73, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x45, 0x0a, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x21, 0x0a, 0x1f, 0x50, 0x6f, + 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, + 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x0a, + 0x1e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, + 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x39, 0x0a, 0x1f, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, + 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0xc5, 0x01, 0x0a, 0x12, 0x49, + 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, + 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x4e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, + 0x6e, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, + 0x6e, 0x63, 0x22, 0x15, 0x0a, 0x13, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x6f, 0x0a, 0x15, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x04, 0x08, 0x01, + 0x10, 0x02, 0x22, 0x36, 0x0a, 0x18, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x6e, + 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, + 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x23, 0x0a, 0x21, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x24, 0x0a, 0x22, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a, + 0x11, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x54, 0x0a, 0x12, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa7, 0x02, 0x0a, 0x1b, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, + 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x66, 0x6f, + 0x72, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x66, 0x6f, 0x72, + 0x63, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x50, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, + 0x79, 0x6e, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, + 0x79, 0x6e, 0x63, 0x12, 0x2d, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, + 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x11, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x22, 0x1e, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x56, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, + 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x22, 0x53, 0x74, + 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, + 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x63, 0x0a, 0x15, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, + 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, + 0x52, 0x13, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x76, 0x0a, 0x23, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x33, 0x0a, + 0x15, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, + 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, + 0x6e, 0x63, 0x22, 0x34, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe7, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x63, + 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, + 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x23, 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, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, + 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x46, 0x72, 0x6f, 0x6d, + 0x50, 0x6f, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x73, + 0x61, 0x66, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x53, 0x61, 0x66, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x88, 0x01, 0x01, + 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x22, 0x41, 0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, + 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x94, 0x02, 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, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, + 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x50, + 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x49, 0x0a, 0x14, 0x72, + 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, + 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x4c, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xa5, 0x05, 0x0a, 0x21, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x48, 0x0a, 0x0d, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x5e, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x75, 0x62, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, + 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, + 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, + 0x6f, 0x70, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, + 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x5b, 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, + 0xe5, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6b, 0x0a, 0x0d, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x46, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x74, + 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x1a, 0x3f, 0x0a, 0x11, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x3f, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x22, 0x5b, 0x0a, 0x22, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x21, 0x0a, 0x1f, 0x48, 0x61, 0x73, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x34, 0x0a, 0x20, 0x48, 0x61, 0x73, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x68, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x68, 0x61, 0x73, 0x22, 0xf6, 0x02, 0x0a, 0x20, 0x52, 0x65, + 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x05, 0x52, 0x0a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x64, 0x73, 0x12, + 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x0e, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x73, 0x12, 0x57, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x65, 0x78, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, + 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x46, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x21, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x22, 0x3d, 0x0a, 0x1f, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0xeb, 0x0b, 0x0a, 0x20, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5e, 0x0a, 0x11, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, + 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, + 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5f, + 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x45, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, + 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, + 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x7e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x0d, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, + 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x1a, 0x83, 0x05, 0x0a, 0x06, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x03, 0x62, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x03, 0x62, 0x6c, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, + 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x73, 0x74, 0x6f, 0x70, 0x50, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, + 0x74, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x54, 0x70, + 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, + 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, + 0x67, 0x12, 0x3a, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x4c, 0x0a, + 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x3e, + 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, + 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x3e, + 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, + 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x2f, + 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6d, + 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x1a, + 0x42, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, + 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x28, 0x0a, 0x26, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a, + 0x27, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, + 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x22, 0xe2, 0x01, 0x0a, + 0x0c, 0x56, 0x44, 0x69, 0x66, 0x66, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, + 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x12, 0x1d, 0x0a, 0x0a, + 0x76, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x76, 0x64, 0x69, 0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x12, 0x44, 0x0a, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, + 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x75, 0x0a, 0x0d, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x35, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64, 0x69, + 0x66, 0x66, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, + 0x64, 0x69, 0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x22, 0x79, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, + 0x66, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, + 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6c, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x65, + 0x6c, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x65, 0x6c, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, + 0x65, 0x6c, 0x6c, 0x22, 0xce, 0x01, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6e, + 0x6c, 0x79, 0x5f, 0x70, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, + 0x6c, 0x79, 0x50, 0x6b, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, + 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x26, + 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x77, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x61, 0x6d, 0x70, + 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x3c, 0x0a, 0x1b, 0x72, 0x6f, 0x77, 0x5f, 0x64, 0x69, + 0x66, 0x66, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, + 0x74, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x72, 0x6f, 0x77, + 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x74, 0x22, 0x8d, 0x03, 0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, + 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 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, 0x1a, 0x0a, 0x08, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, + 0x65, 0x5f, 0x70, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x61, 0x6d, + 0x70, 0x6c, 0x65, 0x50, 0x63, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, + 0x38, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x6f, 0x77, + 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, 0x77, 0x73, + 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x64, + 0x69, 0x66, 0x66, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x44, 0x69, 0x66, 0x66, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x22, 0x93, 0x02, 0x0a, 0x0c, 0x56, 0x44, 0x69, 0x66, 0x66, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x0e, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, + 0x66, 0x66, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x0d, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, + 0x0a, 0x0c, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x57, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa4, 0x05, 0x0a, 0x21, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x7c, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4f, 0x6e, 0x44, + 0x44, 0x4c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, + 0x6c, 0x88, 0x01, 0x01, 0x12, 0x4b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, + 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x76, 0x65, 0x72, + 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, + 0x65, 0x73, 0x1a, 0x42, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x76, 0x65, 0x72, + 0x72, 0x69, 0x64, 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, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x1e, 0x0a, 0x1c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x6e, 0x5f, 0x64, 0x64, + 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4a, 0x04, 0x08, 0x07, 0x10, + 0x08, 0x22, 0x5b, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xe1, + 0x02, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, + 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x4b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, + 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, + 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x50, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x5c, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x2f, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xdd, 0x01, 0x0a, 0x15, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x12, 0x27, + 0x0a, 0x10, 0x6f, 0x6b, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6f, 0x6b, 0x49, 0x66, 0x4e, 0x6f, + 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6d, 0x75, 0x6c, 0x74, 0x69, + 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0xcb, 0x06, 0x0a, 0x16, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x63, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x5d, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x96, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, + 0x63, 0x6f, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, + 0x65, 0x12, 0x5d, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, + 0x64, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, + 0x1a, 0x77, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x51, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, + 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc7, 0x11, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6f, 0x70, + 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, + 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x74, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x74, 0x12, 0x28, + 0x0a, 0x10, 0x6c, 0x61, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6c, 0x61, 0x67, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x54, 0x68, 0x72, 0x65, + 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64, 0x41, 0x73, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x12, 0x7e, 0x0a, 0x12, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x4f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x11, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x12, 0x7b, 0x0a, 0x11, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x68, + 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, + 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, + 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, + 0x12, 0x72, 0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x68, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x48, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x12, 0x72, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x64, 0x5f, 0x61, 0x70, 0x70, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, + 0x41, 0x70, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x73, 0x12, 0x7f, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x5f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, + 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x41, 0x70, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x61, 0x70, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, + 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x65, 0x64, 0x12, 0x69, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x61, + 0x70, 0x70, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x41, 0x70, 0x70, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x41, 0x70, 0x70, 0x73, 0x1a, + 0x3a, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x8b, 0x01, 0x0a, 0x16, + 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 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, 0x5b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x8c, + 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, + 0x3f, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, + 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x41, 0x74, + 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x63, + 0x65, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x53, 0x69, 0x6e, + 0x63, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x1a, 0x87, 0x01, + 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x67, 0x0a, 0x12, 0x54, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 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, + 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, + 0x70, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x1a, 0x44, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 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, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xc3, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x63, 0x65, 0x6e, + 0x74, 0x41, 0x70, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x5d, 0x0a, + 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x0c, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x81, 0x01, 0x0a, + 0x0f, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x41, 0x70, 0x70, 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, 0x58, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x42, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x65, + 0x6e, 0x74, 0x41, 0x70, 0x70, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0xb5, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x1a, + 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 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, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9d, 0x01, 0x0a, 0x12, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4e, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, + 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 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, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x3e, 0x0a, 0x19, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10, 0x00, 0x12, 0x0b, + 0x0a, 0x07, 0x49, 0x4e, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, + 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x2a, 0x83, 0x01, 0x0a, 0x1a, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, + 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x16, + 0x0a, 0x12, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x45, 0x58, 0x43, 0x45, + 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x50, 0x50, 0x5f, 0x44, 0x45, + 0x4e, 0x49, 0x45, 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, + 0x4e, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, + 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x42, 0x5b, + 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, + 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescOnce sync.Once + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData = file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDesc +) + +func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescGZIP() []byte { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescOnce.Do(func() { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData) + }) + return file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDescData +} + +var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 165) +var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_goTypes = []any{ + (TabletSelectionPreference)(0), // 0: vitess.tabletmanagerdata.dev.TabletSelectionPreference + (CheckThrottlerResponseCode)(0), // 1: vitess.tabletmanagerdata.dev.CheckThrottlerResponseCode + (*TableDefinition)(nil), // 2: vitess.tabletmanagerdata.dev.TableDefinition + (*SchemaDefinition)(nil), // 3: vitess.tabletmanagerdata.dev.SchemaDefinition + (*SchemaChangeResult)(nil), // 4: vitess.tabletmanagerdata.dev.SchemaChangeResult + (*UserPermission)(nil), // 5: vitess.tabletmanagerdata.dev.UserPermission + (*DbPermission)(nil), // 6: vitess.tabletmanagerdata.dev.DbPermission + (*Permissions)(nil), // 7: vitess.tabletmanagerdata.dev.Permissions + (*PingRequest)(nil), // 8: vitess.tabletmanagerdata.dev.PingRequest + (*PingResponse)(nil), // 9: vitess.tabletmanagerdata.dev.PingResponse + (*SleepRequest)(nil), // 10: vitess.tabletmanagerdata.dev.SleepRequest + (*SleepResponse)(nil), // 11: vitess.tabletmanagerdata.dev.SleepResponse + (*ExecuteHookRequest)(nil), // 12: vitess.tabletmanagerdata.dev.ExecuteHookRequest + (*ExecuteHookResponse)(nil), // 13: vitess.tabletmanagerdata.dev.ExecuteHookResponse + (*GetSchemaRequest)(nil), // 14: vitess.tabletmanagerdata.dev.GetSchemaRequest + (*GetSchemaResponse)(nil), // 15: vitess.tabletmanagerdata.dev.GetSchemaResponse + (*GetPermissionsRequest)(nil), // 16: vitess.tabletmanagerdata.dev.GetPermissionsRequest + (*GetPermissionsResponse)(nil), // 17: vitess.tabletmanagerdata.dev.GetPermissionsResponse + (*GetGlobalStatusVarsRequest)(nil), // 18: vitess.tabletmanagerdata.dev.GetGlobalStatusVarsRequest + (*GetGlobalStatusVarsResponse)(nil), // 19: vitess.tabletmanagerdata.dev.GetGlobalStatusVarsResponse + (*SetReadOnlyRequest)(nil), // 20: vitess.tabletmanagerdata.dev.SetReadOnlyRequest + (*SetReadOnlyResponse)(nil), // 21: vitess.tabletmanagerdata.dev.SetReadOnlyResponse + (*SetReadWriteRequest)(nil), // 22: vitess.tabletmanagerdata.dev.SetReadWriteRequest + (*SetReadWriteResponse)(nil), // 23: vitess.tabletmanagerdata.dev.SetReadWriteResponse + (*ChangeTypeRequest)(nil), // 24: vitess.tabletmanagerdata.dev.ChangeTypeRequest + (*ChangeTypeResponse)(nil), // 25: vitess.tabletmanagerdata.dev.ChangeTypeResponse + (*RefreshStateRequest)(nil), // 26: vitess.tabletmanagerdata.dev.RefreshStateRequest + (*RefreshStateResponse)(nil), // 27: vitess.tabletmanagerdata.dev.RefreshStateResponse + (*RunHealthCheckRequest)(nil), // 28: vitess.tabletmanagerdata.dev.RunHealthCheckRequest + (*RunHealthCheckResponse)(nil), // 29: vitess.tabletmanagerdata.dev.RunHealthCheckResponse + (*ReloadSchemaRequest)(nil), // 30: vitess.tabletmanagerdata.dev.ReloadSchemaRequest + (*ReloadSchemaResponse)(nil), // 31: vitess.tabletmanagerdata.dev.ReloadSchemaResponse + (*PreflightSchemaRequest)(nil), // 32: vitess.tabletmanagerdata.dev.PreflightSchemaRequest + (*PreflightSchemaResponse)(nil), // 33: vitess.tabletmanagerdata.dev.PreflightSchemaResponse + (*ApplySchemaRequest)(nil), // 34: vitess.tabletmanagerdata.dev.ApplySchemaRequest + (*ApplySchemaResponse)(nil), // 35: vitess.tabletmanagerdata.dev.ApplySchemaResponse + (*LockTablesRequest)(nil), // 36: vitess.tabletmanagerdata.dev.LockTablesRequest + (*LockTablesResponse)(nil), // 37: vitess.tabletmanagerdata.dev.LockTablesResponse + (*UnlockTablesRequest)(nil), // 38: vitess.tabletmanagerdata.dev.UnlockTablesRequest + (*UnlockTablesResponse)(nil), // 39: vitess.tabletmanagerdata.dev.UnlockTablesResponse + (*ExecuteQueryRequest)(nil), // 40: vitess.tabletmanagerdata.dev.ExecuteQueryRequest + (*ExecuteQueryResponse)(nil), // 41: vitess.tabletmanagerdata.dev.ExecuteQueryResponse + (*ExecuteFetchAsDbaRequest)(nil), // 42: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaRequest + (*ExecuteFetchAsDbaResponse)(nil), // 43: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse + (*ExecuteMultiFetchAsDbaRequest)(nil), // 44: vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaRequest + (*ExecuteMultiFetchAsDbaResponse)(nil), // 45: vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaResponse + (*ExecuteFetchAsAllPrivsRequest)(nil), // 46: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsRequest + (*ExecuteFetchAsAllPrivsResponse)(nil), // 47: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse + (*ExecuteFetchAsAppRequest)(nil), // 48: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppRequest + (*ExecuteFetchAsAppResponse)(nil), // 49: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse + (*GetUnresolvedTransactionsRequest)(nil), // 50: vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsRequest + (*GetUnresolvedTransactionsResponse)(nil), // 51: vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsResponse + (*ReadTransactionRequest)(nil), // 52: vitess.tabletmanagerdata.dev.ReadTransactionRequest + (*ReadTransactionResponse)(nil), // 53: vitess.tabletmanagerdata.dev.ReadTransactionResponse + (*GetTransactionInfoRequest)(nil), // 54: vitess.tabletmanagerdata.dev.GetTransactionInfoRequest + (*GetTransactionInfoResponse)(nil), // 55: vitess.tabletmanagerdata.dev.GetTransactionInfoResponse + (*ConcludeTransactionRequest)(nil), // 56: vitess.tabletmanagerdata.dev.ConcludeTransactionRequest + (*ConcludeTransactionResponse)(nil), // 57: vitess.tabletmanagerdata.dev.ConcludeTransactionResponse + (*MysqlHostMetricsRequest)(nil), // 58: vitess.tabletmanagerdata.dev.MysqlHostMetricsRequest + (*MysqlHostMetricsResponse)(nil), // 59: vitess.tabletmanagerdata.dev.MysqlHostMetricsResponse + (*ReplicationStatusRequest)(nil), // 60: vitess.tabletmanagerdata.dev.ReplicationStatusRequest + (*ReplicationStatusResponse)(nil), // 61: vitess.tabletmanagerdata.dev.ReplicationStatusResponse + (*PrimaryStatusRequest)(nil), // 62: vitess.tabletmanagerdata.dev.PrimaryStatusRequest + (*PrimaryStatusResponse)(nil), // 63: vitess.tabletmanagerdata.dev.PrimaryStatusResponse + (*PrimaryPositionRequest)(nil), // 64: vitess.tabletmanagerdata.dev.PrimaryPositionRequest + (*PrimaryPositionResponse)(nil), // 65: vitess.tabletmanagerdata.dev.PrimaryPositionResponse + (*WaitForPositionRequest)(nil), // 66: vitess.tabletmanagerdata.dev.WaitForPositionRequest + (*WaitForPositionResponse)(nil), // 67: vitess.tabletmanagerdata.dev.WaitForPositionResponse + (*StopReplicationRequest)(nil), // 68: vitess.tabletmanagerdata.dev.StopReplicationRequest + (*StopReplicationResponse)(nil), // 69: vitess.tabletmanagerdata.dev.StopReplicationResponse + (*StopReplicationMinimumRequest)(nil), // 70: vitess.tabletmanagerdata.dev.StopReplicationMinimumRequest + (*StopReplicationMinimumResponse)(nil), // 71: vitess.tabletmanagerdata.dev.StopReplicationMinimumResponse + (*StartReplicationRequest)(nil), // 72: vitess.tabletmanagerdata.dev.StartReplicationRequest + (*StartReplicationResponse)(nil), // 73: vitess.tabletmanagerdata.dev.StartReplicationResponse + (*StartReplicationUntilAfterRequest)(nil), // 74: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterRequest + (*StartReplicationUntilAfterResponse)(nil), // 75: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterResponse + (*GetReplicasRequest)(nil), // 76: vitess.tabletmanagerdata.dev.GetReplicasRequest + (*GetReplicasResponse)(nil), // 77: vitess.tabletmanagerdata.dev.GetReplicasResponse + (*ResetReplicationRequest)(nil), // 78: vitess.tabletmanagerdata.dev.ResetReplicationRequest + (*ResetReplicationResponse)(nil), // 79: vitess.tabletmanagerdata.dev.ResetReplicationResponse + (*VReplicationExecRequest)(nil), // 80: vitess.tabletmanagerdata.dev.VReplicationExecRequest + (*VReplicationExecResponse)(nil), // 81: vitess.tabletmanagerdata.dev.VReplicationExecResponse + (*VReplicationWaitForPosRequest)(nil), // 82: vitess.tabletmanagerdata.dev.VReplicationWaitForPosRequest + (*VReplicationWaitForPosResponse)(nil), // 83: vitess.tabletmanagerdata.dev.VReplicationWaitForPosResponse + (*InitPrimaryRequest)(nil), // 84: vitess.tabletmanagerdata.dev.InitPrimaryRequest + (*InitPrimaryResponse)(nil), // 85: vitess.tabletmanagerdata.dev.InitPrimaryResponse + (*PopulateReparentJournalRequest)(nil), // 86: vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest + (*PopulateReparentJournalResponse)(nil), // 87: vitess.tabletmanagerdata.dev.PopulateReparentJournalResponse + (*ReadReparentJournalInfoRequest)(nil), // 88: vitess.tabletmanagerdata.dev.ReadReparentJournalInfoRequest + (*ReadReparentJournalInfoResponse)(nil), // 89: vitess.tabletmanagerdata.dev.ReadReparentJournalInfoResponse + (*InitReplicaRequest)(nil), // 90: vitess.tabletmanagerdata.dev.InitReplicaRequest + (*InitReplicaResponse)(nil), // 91: vitess.tabletmanagerdata.dev.InitReplicaResponse + (*DemotePrimaryRequest)(nil), // 92: vitess.tabletmanagerdata.dev.DemotePrimaryRequest + (*DemotePrimaryResponse)(nil), // 93: vitess.tabletmanagerdata.dev.DemotePrimaryResponse + (*UndoDemotePrimaryRequest)(nil), // 94: vitess.tabletmanagerdata.dev.UndoDemotePrimaryRequest + (*UndoDemotePrimaryResponse)(nil), // 95: vitess.tabletmanagerdata.dev.UndoDemotePrimaryResponse + (*ReplicaWasPromotedRequest)(nil), // 96: vitess.tabletmanagerdata.dev.ReplicaWasPromotedRequest + (*ReplicaWasPromotedResponse)(nil), // 97: vitess.tabletmanagerdata.dev.ReplicaWasPromotedResponse + (*ResetReplicationParametersRequest)(nil), // 98: vitess.tabletmanagerdata.dev.ResetReplicationParametersRequest + (*ResetReplicationParametersResponse)(nil), // 99: vitess.tabletmanagerdata.dev.ResetReplicationParametersResponse + (*FullStatusRequest)(nil), // 100: vitess.tabletmanagerdata.dev.FullStatusRequest + (*FullStatusResponse)(nil), // 101: vitess.tabletmanagerdata.dev.FullStatusResponse + (*SetReplicationSourceRequest)(nil), // 102: vitess.tabletmanagerdata.dev.SetReplicationSourceRequest + (*SetReplicationSourceResponse)(nil), // 103: vitess.tabletmanagerdata.dev.SetReplicationSourceResponse + (*ReplicaWasRestartedRequest)(nil), // 104: vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest + (*ReplicaWasRestartedResponse)(nil), // 105: vitess.tabletmanagerdata.dev.ReplicaWasRestartedResponse + (*StopReplicationAndGetStatusRequest)(nil), // 106: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest + (*StopReplicationAndGetStatusResponse)(nil), // 107: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse + (*PromoteReplicaRequest)(nil), // 108: vitess.tabletmanagerdata.dev.PromoteReplicaRequest + (*PromoteReplicaResponse)(nil), // 109: vitess.tabletmanagerdata.dev.PromoteReplicaResponse + (*BackupRequest)(nil), // 110: vitess.tabletmanagerdata.dev.BackupRequest + (*BackupResponse)(nil), // 111: vitess.tabletmanagerdata.dev.BackupResponse + (*RestoreFromBackupRequest)(nil), // 112: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest + (*RestoreFromBackupResponse)(nil), // 113: vitess.tabletmanagerdata.dev.RestoreFromBackupResponse + (*CreateVReplicationWorkflowRequest)(nil), // 114: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest + (*CreateVReplicationWorkflowResponse)(nil), // 115: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse + (*DeleteTableDataRequest)(nil), // 116: vitess.tabletmanagerdata.dev.DeleteTableDataRequest + (*DeleteTableDataResponse)(nil), // 117: vitess.tabletmanagerdata.dev.DeleteTableDataResponse + (*DeleteVReplicationWorkflowRequest)(nil), // 118: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowRequest + (*DeleteVReplicationWorkflowResponse)(nil), // 119: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse + (*HasVReplicationWorkflowsRequest)(nil), // 120: vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsRequest + (*HasVReplicationWorkflowsResponse)(nil), // 121: vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsResponse + (*ReadVReplicationWorkflowsRequest)(nil), // 122: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsRequest + (*ReadVReplicationWorkflowsResponse)(nil), // 123: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsResponse + (*ReadVReplicationWorkflowRequest)(nil), // 124: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowRequest + (*ReadVReplicationWorkflowResponse)(nil), // 125: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse + (*ValidateVReplicationPermissionsRequest)(nil), // 126: vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsRequest + (*ValidateVReplicationPermissionsResponse)(nil), // 127: vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsResponse + (*VDiffRequest)(nil), // 128: vitess.tabletmanagerdata.dev.VDiffRequest + (*VDiffResponse)(nil), // 129: vitess.tabletmanagerdata.dev.VDiffResponse + (*VDiffPickerOptions)(nil), // 130: vitess.tabletmanagerdata.dev.VDiffPickerOptions + (*VDiffReportOptions)(nil), // 131: vitess.tabletmanagerdata.dev.VDiffReportOptions + (*VDiffCoreOptions)(nil), // 132: vitess.tabletmanagerdata.dev.VDiffCoreOptions + (*VDiffOptions)(nil), // 133: vitess.tabletmanagerdata.dev.VDiffOptions + (*UpdateVReplicationWorkflowRequest)(nil), // 134: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest + (*UpdateVReplicationWorkflowResponse)(nil), // 135: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse + (*UpdateVReplicationWorkflowsRequest)(nil), // 136: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsRequest + (*UpdateVReplicationWorkflowsResponse)(nil), // 137: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsResponse + (*ResetSequencesRequest)(nil), // 138: vitess.tabletmanagerdata.dev.ResetSequencesRequest + (*ResetSequencesResponse)(nil), // 139: vitess.tabletmanagerdata.dev.ResetSequencesResponse + (*CheckThrottlerRequest)(nil), // 140: vitess.tabletmanagerdata.dev.CheckThrottlerRequest + (*CheckThrottlerResponse)(nil), // 141: vitess.tabletmanagerdata.dev.CheckThrottlerResponse + (*GetThrottlerStatusRequest)(nil), // 142: vitess.tabletmanagerdata.dev.GetThrottlerStatusRequest + (*GetThrottlerStatusResponse)(nil), // 143: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse + (*ChangeTagsRequest)(nil), // 144: vitess.tabletmanagerdata.dev.ChangeTagsRequest + (*ChangeTagsResponse)(nil), // 145: vitess.tabletmanagerdata.dev.ChangeTagsResponse + nil, // 146: vitess.tabletmanagerdata.dev.UserPermission.PrivilegesEntry + nil, // 147: vitess.tabletmanagerdata.dev.DbPermission.PrivilegesEntry + nil, // 148: vitess.tabletmanagerdata.dev.ExecuteHookRequest.ExtraEnvEntry + nil, // 149: vitess.tabletmanagerdata.dev.GetGlobalStatusVarsResponse.StatusValuesEntry + nil, // 150: vitess.tabletmanagerdata.dev.DeleteTableDataRequest.TableFiltersEntry + (*ReadVReplicationWorkflowResponse_Stream)(nil), // 151: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream + nil, // 152: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.ConfigOverridesEntry + nil, // 153: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.ConfigOverridesEntry + (*CheckThrottlerResponse_Metric)(nil), // 154: vitess.tabletmanagerdata.dev.CheckThrottlerResponse.Metric + nil, // 155: vitess.tabletmanagerdata.dev.CheckThrottlerResponse.MetricsEntry + (*GetThrottlerStatusResponse_MetricResult)(nil), // 156: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricResult + nil, // 157: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.AggregatedMetricsEntry + nil, // 158: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricThresholdsEntry + (*GetThrottlerStatusResponse_MetricHealth)(nil), // 159: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricHealth + nil, // 160: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricsHealthEntry + nil, // 161: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.ThrottledAppsEntry + nil, // 162: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.AppCheckedMetricsEntry + (*GetThrottlerStatusResponse_RecentApp)(nil), // 163: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.RecentApp + nil, // 164: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.RecentAppsEntry + nil, // 165: vitess.tabletmanagerdata.dev.ChangeTagsRequest.TagsEntry + nil, // 166: vitess.tabletmanagerdata.dev.ChangeTagsResponse.TagsEntry + (*dev.Field)(nil), // 167: vitess.query.dev.Field + (dev1.TabletType)(0), // 168: vitess.topodata.dev.TabletType + (*dev2.CallerID)(nil), // 169: vitess.vtrpc.dev.CallerID + (*dev.QueryResult)(nil), // 170: vitess.query.dev.QueryResult + (*dev.TransactionMetadata)(nil), // 171: vitess.query.dev.TransactionMetadata + (*dev3.HostMetricsResponse)(nil), // 172: vitess.mysqlctl.dev.HostMetricsResponse + (*dev4.Status)(nil), // 173: vitess.replicationdata.dev.Status + (*dev4.PrimaryStatus)(nil), // 174: vitess.replicationdata.dev.PrimaryStatus + (*dev1.TabletAlias)(nil), // 175: vitess.topodata.dev.TabletAlias + (*dev4.FullStatus)(nil), // 176: vitess.replicationdata.dev.FullStatus + (dev4.StopReplicationMode)(0), // 177: vitess.replicationdata.dev.StopReplicationMode + (*dev4.StopReplicationStatus)(nil), // 178: vitess.replicationdata.dev.StopReplicationStatus + (*dev5.Event)(nil), // 179: vitess.logutil.dev.Event + (*dev6.Time)(nil), // 180: vitess.vttime.dev.Time + (*dev7.BinlogSource)(nil), // 181: vitess.binlogdata.dev.BinlogSource + (dev7.VReplicationWorkflowType)(0), // 182: vitess.binlogdata.dev.VReplicationWorkflowType + (dev7.VReplicationWorkflowSubType)(0), // 183: vitess.binlogdata.dev.VReplicationWorkflowSubType + (dev7.VReplicationWorkflowState)(0), // 184: vitess.binlogdata.dev.VReplicationWorkflowState + (dev7.OnDDLAction)(0), // 185: vitess.binlogdata.dev.OnDDLAction + (*dev1.ThrottledAppRule)(nil), // 186: vitess.topodata.dev.ThrottledAppRule +} +var file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_depIdxs = []int32{ + 167, // 0: vitess.tabletmanagerdata.dev.TableDefinition.fields:type_name -> vitess.query.dev.Field + 2, // 1: vitess.tabletmanagerdata.dev.SchemaDefinition.table_definitions:type_name -> vitess.tabletmanagerdata.dev.TableDefinition + 3, // 2: vitess.tabletmanagerdata.dev.SchemaChangeResult.before_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 3, // 3: vitess.tabletmanagerdata.dev.SchemaChangeResult.after_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 146, // 4: vitess.tabletmanagerdata.dev.UserPermission.privileges:type_name -> vitess.tabletmanagerdata.dev.UserPermission.PrivilegesEntry + 147, // 5: vitess.tabletmanagerdata.dev.DbPermission.privileges:type_name -> vitess.tabletmanagerdata.dev.DbPermission.PrivilegesEntry + 5, // 6: vitess.tabletmanagerdata.dev.Permissions.user_permissions:type_name -> vitess.tabletmanagerdata.dev.UserPermission + 6, // 7: vitess.tabletmanagerdata.dev.Permissions.db_permissions:type_name -> vitess.tabletmanagerdata.dev.DbPermission + 148, // 8: vitess.tabletmanagerdata.dev.ExecuteHookRequest.extra_env:type_name -> vitess.tabletmanagerdata.dev.ExecuteHookRequest.ExtraEnvEntry + 3, // 9: vitess.tabletmanagerdata.dev.GetSchemaResponse.schema_definition:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 7, // 10: vitess.tabletmanagerdata.dev.GetPermissionsResponse.permissions:type_name -> vitess.tabletmanagerdata.dev.Permissions + 149, // 11: vitess.tabletmanagerdata.dev.GetGlobalStatusVarsResponse.status_values:type_name -> vitess.tabletmanagerdata.dev.GetGlobalStatusVarsResponse.StatusValuesEntry + 168, // 12: vitess.tabletmanagerdata.dev.ChangeTypeRequest.tablet_type:type_name -> vitess.topodata.dev.TabletType + 4, // 13: vitess.tabletmanagerdata.dev.PreflightSchemaResponse.change_results:type_name -> vitess.tabletmanagerdata.dev.SchemaChangeResult + 3, // 14: vitess.tabletmanagerdata.dev.ApplySchemaRequest.before_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 3, // 15: vitess.tabletmanagerdata.dev.ApplySchemaRequest.after_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 3, // 16: vitess.tabletmanagerdata.dev.ApplySchemaResponse.before_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 3, // 17: vitess.tabletmanagerdata.dev.ApplySchemaResponse.after_schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 169, // 18: vitess.tabletmanagerdata.dev.ExecuteQueryRequest.caller_id:type_name -> vitess.vtrpc.dev.CallerID + 170, // 19: vitess.tabletmanagerdata.dev.ExecuteQueryResponse.result:type_name -> vitess.query.dev.QueryResult + 170, // 20: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse.result:type_name -> vitess.query.dev.QueryResult + 170, // 21: vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaResponse.results:type_name -> vitess.query.dev.QueryResult + 170, // 22: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse.result:type_name -> vitess.query.dev.QueryResult + 170, // 23: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse.result:type_name -> vitess.query.dev.QueryResult + 171, // 24: vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsResponse.transactions:type_name -> vitess.query.dev.TransactionMetadata + 171, // 25: vitess.tabletmanagerdata.dev.ReadTransactionResponse.transaction:type_name -> vitess.query.dev.TransactionMetadata + 172, // 26: vitess.tabletmanagerdata.dev.MysqlHostMetricsResponse.HostMetrics:type_name -> vitess.mysqlctl.dev.HostMetricsResponse + 173, // 27: vitess.tabletmanagerdata.dev.ReplicationStatusResponse.status:type_name -> vitess.replicationdata.dev.Status + 174, // 28: vitess.tabletmanagerdata.dev.PrimaryStatusResponse.status:type_name -> vitess.replicationdata.dev.PrimaryStatus + 170, // 29: vitess.tabletmanagerdata.dev.VReplicationExecResponse.result:type_name -> vitess.query.dev.QueryResult + 175, // 30: vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest.primary_alias:type_name -> vitess.topodata.dev.TabletAlias + 175, // 31: vitess.tabletmanagerdata.dev.InitReplicaRequest.parent:type_name -> vitess.topodata.dev.TabletAlias + 174, // 32: vitess.tabletmanagerdata.dev.DemotePrimaryResponse.primary_status:type_name -> vitess.replicationdata.dev.PrimaryStatus + 176, // 33: vitess.tabletmanagerdata.dev.FullStatusResponse.status:type_name -> vitess.replicationdata.dev.FullStatus + 175, // 34: vitess.tabletmanagerdata.dev.SetReplicationSourceRequest.parent:type_name -> vitess.topodata.dev.TabletAlias + 175, // 35: vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest.parent:type_name -> vitess.topodata.dev.TabletAlias + 177, // 36: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest.stop_replication_mode:type_name -> vitess.replicationdata.dev.StopReplicationMode + 178, // 37: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse.status:type_name -> vitess.replicationdata.dev.StopReplicationStatus + 179, // 38: vitess.tabletmanagerdata.dev.BackupResponse.event:type_name -> vitess.logutil.dev.Event + 180, // 39: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest.backup_time:type_name -> vitess.vttime.dev.Time + 180, // 40: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest.restore_to_timestamp:type_name -> vitess.vttime.dev.Time + 179, // 41: vitess.tabletmanagerdata.dev.RestoreFromBackupResponse.event:type_name -> vitess.logutil.dev.Event + 181, // 42: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.binlog_source:type_name -> vitess.binlogdata.dev.BinlogSource + 168, // 43: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 0, // 44: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 182, // 45: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.workflow_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowType + 183, // 46: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest.workflow_sub_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowSubType + 170, // 47: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse.result:type_name -> vitess.query.dev.QueryResult + 150, // 48: vitess.tabletmanagerdata.dev.DeleteTableDataRequest.table_filters:type_name -> vitess.tabletmanagerdata.dev.DeleteTableDataRequest.TableFiltersEntry + 170, // 49: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse.result:type_name -> vitess.query.dev.QueryResult + 184, // 50: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsRequest.include_states:type_name -> vitess.binlogdata.dev.VReplicationWorkflowState + 184, // 51: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsRequest.exclude_states:type_name -> vitess.binlogdata.dev.VReplicationWorkflowState + 125, // 52: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsResponse.workflows:type_name -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse + 168, // 53: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.tablet_types:type_name -> vitess.topodata.dev.TabletType + 0, // 54: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 182, // 55: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.workflow_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowType + 183, // 56: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.workflow_sub_type:type_name -> vitess.binlogdata.dev.VReplicationWorkflowSubType + 151, // 57: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.streams:type_name -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream + 152, // 58: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.config_overrides:type_name -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.ConfigOverridesEntry + 133, // 59: vitess.tabletmanagerdata.dev.VDiffRequest.options:type_name -> vitess.tabletmanagerdata.dev.VDiffOptions + 170, // 60: vitess.tabletmanagerdata.dev.VDiffResponse.output:type_name -> vitess.query.dev.QueryResult + 130, // 61: vitess.tabletmanagerdata.dev.VDiffOptions.picker_options:type_name -> vitess.tabletmanagerdata.dev.VDiffPickerOptions + 132, // 62: vitess.tabletmanagerdata.dev.VDiffOptions.core_options:type_name -> vitess.tabletmanagerdata.dev.VDiffCoreOptions + 131, // 63: vitess.tabletmanagerdata.dev.VDiffOptions.report_options:type_name -> vitess.tabletmanagerdata.dev.VDiffReportOptions + 168, // 64: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 0, // 65: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 185, // 66: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.on_ddl:type_name -> vitess.binlogdata.dev.OnDDLAction + 184, // 67: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.state:type_name -> vitess.binlogdata.dev.VReplicationWorkflowState + 153, // 68: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.config_overrides:type_name -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest.ConfigOverridesEntry + 170, // 69: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse.result:type_name -> vitess.query.dev.QueryResult + 184, // 70: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsRequest.state:type_name -> vitess.binlogdata.dev.VReplicationWorkflowState + 170, // 71: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsResponse.result:type_name -> vitess.query.dev.QueryResult + 155, // 72: vitess.tabletmanagerdata.dev.CheckThrottlerResponse.metrics:type_name -> vitess.tabletmanagerdata.dev.CheckThrottlerResponse.MetricsEntry + 1, // 73: vitess.tabletmanagerdata.dev.CheckThrottlerResponse.response_code:type_name -> vitess.tabletmanagerdata.dev.CheckThrottlerResponseCode + 157, // 74: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.aggregated_metrics:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.AggregatedMetricsEntry + 158, // 75: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.metric_thresholds:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricThresholdsEntry + 160, // 76: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.metrics_health:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricsHealthEntry + 161, // 77: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.throttled_apps:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.ThrottledAppsEntry + 162, // 78: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.app_checked_metrics:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.AppCheckedMetricsEntry + 164, // 79: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.recent_apps:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.RecentAppsEntry + 165, // 80: vitess.tabletmanagerdata.dev.ChangeTagsRequest.tags:type_name -> vitess.tabletmanagerdata.dev.ChangeTagsRequest.TagsEntry + 166, // 81: vitess.tabletmanagerdata.dev.ChangeTagsResponse.tags:type_name -> vitess.tabletmanagerdata.dev.ChangeTagsResponse.TagsEntry + 181, // 82: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.bls:type_name -> vitess.binlogdata.dev.BinlogSource + 180, // 83: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.time_updated:type_name -> vitess.vttime.dev.Time + 180, // 84: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.transaction_timestamp:type_name -> vitess.vttime.dev.Time + 184, // 85: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.state:type_name -> vitess.binlogdata.dev.VReplicationWorkflowState + 180, // 86: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.time_heartbeat:type_name -> vitess.vttime.dev.Time + 180, // 87: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse.Stream.time_throttled:type_name -> vitess.vttime.dev.Time + 1, // 88: vitess.tabletmanagerdata.dev.CheckThrottlerResponse.Metric.response_code:type_name -> vitess.tabletmanagerdata.dev.CheckThrottlerResponseCode + 154, // 89: vitess.tabletmanagerdata.dev.CheckThrottlerResponse.MetricsEntry.value:type_name -> vitess.tabletmanagerdata.dev.CheckThrottlerResponse.Metric + 156, // 90: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.AggregatedMetricsEntry.value:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricResult + 180, // 91: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricHealth.last_healthy_at:type_name -> vitess.vttime.dev.Time + 159, // 92: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricsHealthEntry.value:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.MetricHealth + 186, // 93: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.ThrottledAppsEntry.value:type_name -> vitess.topodata.dev.ThrottledAppRule + 180, // 94: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.RecentApp.checked_at:type_name -> vitess.vttime.dev.Time + 1, // 95: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.RecentApp.response_code:type_name -> vitess.tabletmanagerdata.dev.CheckThrottlerResponseCode + 163, // 96: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.RecentAppsEntry.value:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse.RecentApp + 97, // [97:97] is the sub-list for method output_type + 97, // [97:97] is the sub-list for method input_type + 97, // [97:97] is the sub-list for extension type_name + 97, // [97:97] is the sub-list for extension extendee + 0, // [0:97] is the sub-list for field type_name +} + +func init() { file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() } +func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { + if File_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*TableDefinition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*SchemaDefinition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*SchemaChangeResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*UserPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*DbPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*Permissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*PingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*PingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*SleepRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*SleepResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*GetGlobalStatusVarsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*GetGlobalStatusVarsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*SetReadOnlyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*SetReadOnlyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*SetReadWriteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*SetReadWriteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state case 1: @@ -7220,8 +10328,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SchemaDefinition); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*PreflightSchemaRequest); i { case 0: return &v.state case 1: @@ -7232,8 +10340,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SchemaChangeResult); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*PreflightSchemaResponse); i { case 0: return &v.state case 1: @@ -7244,8 +10352,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPermission); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaRequest); i { case 0: return &v.state case 1: @@ -7256,8 +10364,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DbPermission); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaResponse); i { case 0: return &v.state case 1: @@ -7268,8 +10376,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Permissions); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*LockTablesRequest); i { case 0: return &v.state case 1: @@ -7280,8 +10388,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v any, i int) any { + switch v := v.(*LockTablesResponse); i { case 0: return &v.state case 1: @@ -7292,8 +10400,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*UnlockTablesRequest); i { case 0: return &v.state case 1: @@ -7304,8 +10412,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SleepRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v any, i int) any { + switch v := v.(*UnlockTablesResponse); i { case 0: return &v.state case 1: @@ -7316,8 +10424,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SleepResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteQueryRequest); i { case 0: return &v.state case 1: @@ -7328,8 +10436,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteHookRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteQueryResponse); i { case 0: return &v.state case 1: @@ -7340,8 +10448,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteHookResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDbaRequest); i { case 0: return &v.state case 1: @@ -7352,8 +10460,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDbaResponse); i { case 0: return &v.state case 1: @@ -7364,8 +10472,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteMultiFetchAsDbaRequest); i { case 0: return &v.state case 1: @@ -7376,8 +10484,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPermissionsRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteMultiFetchAsDbaResponse); i { case 0: return &v.state case 1: @@ -7388,8 +10496,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPermissionsResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAllPrivsRequest); i { case 0: return &v.state case 1: @@ -7400,8 +10508,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReadOnlyRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAllPrivsResponse); i { case 0: return &v.state case 1: @@ -7412,8 +10520,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReadOnlyResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state case 1: @@ -7424,8 +10532,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReadWriteRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state case 1: @@ -7436,8 +10544,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReadWriteResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v any, i int) any { + switch v := v.(*GetUnresolvedTransactionsRequest); i { case 0: return &v.state case 1: @@ -7448,8 +10556,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeTypeRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v any, i int) any { + switch v := v.(*GetUnresolvedTransactionsResponse); i { case 0: return &v.state case 1: @@ -7460,8 +10568,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeTypeResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v any, i int) any { + switch v := v.(*ReadTransactionRequest); i { case 0: return &v.state case 1: @@ -7472,8 +10580,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RefreshStateRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v any, i int) any { + switch v := v.(*ReadTransactionResponse); i { case 0: return &v.state case 1: @@ -7484,8 +10592,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RefreshStateResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v any, i int) any { + switch v := v.(*GetTransactionInfoRequest); i { case 0: return &v.state case 1: @@ -7496,8 +10604,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunHealthCheckRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v any, i int) any { + switch v := v.(*GetTransactionInfoResponse); i { case 0: return &v.state case 1: @@ -7508,8 +10616,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunHealthCheckResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v any, i int) any { + switch v := v.(*ConcludeTransactionRequest); i { case 0: return &v.state case 1: @@ -7520,8 +10628,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReloadSchemaRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v any, i int) any { + switch v := v.(*ConcludeTransactionResponse); i { case 0: return &v.state case 1: @@ -7532,8 +10640,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReloadSchemaResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v any, i int) any { + switch v := v.(*MysqlHostMetricsRequest); i { case 0: return &v.state case 1: @@ -7544,8 +10652,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PreflightSchemaRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v any, i int) any { + switch v := v.(*MysqlHostMetricsResponse); i { case 0: return &v.state case 1: @@ -7556,8 +10664,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PreflightSchemaResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v any, i int) any { + switch v := v.(*ReplicationStatusRequest); i { case 0: return &v.state case 1: @@ -7568,8 +10676,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplySchemaRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v any, i int) any { + switch v := v.(*ReplicationStatusResponse); i { case 0: return &v.state case 1: @@ -7580,8 +10688,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplySchemaResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryStatusRequest); i { case 0: return &v.state case 1: @@ -7592,8 +10700,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LockTablesRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryStatusResponse); i { case 0: return &v.state case 1: @@ -7604,8 +10712,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LockTablesResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryPositionRequest); i { case 0: return &v.state case 1: @@ -7616,8 +10724,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnlockTablesRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryPositionResponse); i { case 0: return &v.state case 1: @@ -7628,8 +10736,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnlockTablesResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v any, i int) any { + switch v := v.(*WaitForPositionRequest); i { case 0: return &v.state case 1: @@ -7640,8 +10748,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteQueryRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*WaitForPositionResponse); i { case 0: return &v.state case 1: @@ -7652,8 +10760,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteQueryResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationRequest); i { case 0: return &v.state case 1: @@ -7664,8 +10772,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsDbaRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationResponse); i { case 0: return &v.state case 1: @@ -7676,8 +10784,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsDbaResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationMinimumRequest); i { case 0: return &v.state case 1: @@ -7688,8 +10796,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsAllPrivsRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationMinimumResponse); i { case 0: return &v.state case 1: @@ -7700,8 +10808,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsAllPrivsResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationRequest); i { case 0: return &v.state case 1: @@ -7712,8 +10820,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsAppRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationResponse); i { case 0: return &v.state case 1: @@ -7724,8 +10832,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsAppResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationUntilAfterRequest); i { case 0: return &v.state case 1: @@ -7736,8 +10844,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicationStatusRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationUntilAfterResponse); i { case 0: return &v.state case 1: @@ -7748,8 +10856,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicationStatusResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v any, i int) any { + switch v := v.(*GetReplicasRequest); i { case 0: return &v.state case 1: @@ -7760,8 +10868,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryStatusRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v any, i int) any { + switch v := v.(*GetReplicasResponse); i { case 0: return &v.state case 1: @@ -7772,8 +10880,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryStatusResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationRequest); i { case 0: return &v.state case 1: @@ -7784,8 +10892,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryPositionRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationResponse); i { case 0: return &v.state case 1: @@ -7796,8 +10904,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryPositionResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationExecRequest); i { case 0: return &v.state case 1: @@ -7808,8 +10916,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WaitForPositionRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationExecResponse); i { case 0: return &v.state case 1: @@ -7820,8 +10928,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WaitForPositionResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationWaitForPosRequest); i { case 0: return &v.state case 1: @@ -7832,8 +10940,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopReplicationRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationWaitForPosResponse); i { case 0: return &v.state case 1: @@ -7844,8 +10952,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopReplicationResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v any, i int) any { + switch v := v.(*InitPrimaryRequest); i { case 0: return &v.state case 1: @@ -7856,8 +10964,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopReplicationMinimumRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v any, i int) any { + switch v := v.(*InitPrimaryResponse); i { case 0: return &v.state case 1: @@ -7868,8 +10976,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopReplicationMinimumResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v any, i int) any { + switch v := v.(*PopulateReparentJournalRequest); i { case 0: return &v.state case 1: @@ -7880,8 +10988,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartReplicationRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v any, i int) any { + switch v := v.(*PopulateReparentJournalResponse); i { case 0: return &v.state case 1: @@ -7892,8 +11000,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartReplicationResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v any, i int) any { + switch v := v.(*ReadReparentJournalInfoRequest); i { case 0: return &v.state case 1: @@ -7904,8 +11012,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartReplicationUntilAfterRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v any, i int) any { + switch v := v.(*ReadReparentJournalInfoResponse); i { case 0: return &v.state case 1: @@ -7916,8 +11024,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartReplicationUntilAfterResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v any, i int) any { + switch v := v.(*InitReplicaRequest); i { case 0: return &v.state case 1: @@ -7928,8 +11036,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetReplicasRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v any, i int) any { + switch v := v.(*InitReplicaResponse); i { case 0: return &v.state case 1: @@ -7940,8 +11048,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetReplicasResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v any, i int) any { + switch v := v.(*DemotePrimaryRequest); i { case 0: return &v.state case 1: @@ -7952,8 +11060,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetReplicationRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v any, i int) any { + switch v := v.(*DemotePrimaryResponse); i { case 0: return &v.state case 1: @@ -7964,8 +11072,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetReplicationResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v any, i int) any { + switch v := v.(*UndoDemotePrimaryRequest); i { case 0: return &v.state case 1: @@ -7976,8 +11084,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VReplicationExecRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v any, i int) any { + switch v := v.(*UndoDemotePrimaryResponse); i { case 0: return &v.state case 1: @@ -7988,8 +11096,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VReplicationExecResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasPromotedRequest); i { case 0: return &v.state case 1: @@ -8000,8 +11108,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VReplicationWaitForPosRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasPromotedResponse); i { case 0: return &v.state case 1: @@ -8012,8 +11120,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VReplicationWaitForPosResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationParametersRequest); i { case 0: return &v.state case 1: @@ -8024,8 +11132,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitPrimaryRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationParametersResponse); i { case 0: return &v.state case 1: @@ -8036,8 +11144,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitPrimaryResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v any, i int) any { + switch v := v.(*FullStatusRequest); i { case 0: return &v.state case 1: @@ -8048,8 +11156,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PopulateReparentJournalRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v any, i int) any { + switch v := v.(*FullStatusResponse); i { case 0: return &v.state case 1: @@ -8060,8 +11168,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PopulateReparentJournalResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v any, i int) any { + switch v := v.(*SetReplicationSourceRequest); i { case 0: return &v.state case 1: @@ -8072,8 +11180,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitReplicaRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v any, i int) any { + switch v := v.(*SetReplicationSourceResponse); i { case 0: return &v.state case 1: @@ -8084,8 +11192,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitReplicaResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasRestartedRequest); i { case 0: return &v.state case 1: @@ -8096,8 +11204,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DemotePrimaryRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasRestartedResponse); i { case 0: return &v.state case 1: @@ -8108,8 +11216,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DemotePrimaryResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[104].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationAndGetStatusRequest); i { case 0: return &v.state case 1: @@ -8120,8 +11228,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndoDemotePrimaryRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[105].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationAndGetStatusResponse); i { case 0: return &v.state case 1: @@ -8132,8 +11240,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndoDemotePrimaryResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[106].Exporter = func(v any, i int) any { + switch v := v.(*PromoteReplicaRequest); i { case 0: return &v.state case 1: @@ -8144,8 +11252,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicaWasPromotedRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[107].Exporter = func(v any, i int) any { + switch v := v.(*PromoteReplicaResponse); i { case 0: return &v.state case 1: @@ -8156,8 +11264,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicaWasPromotedResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[108].Exporter = func(v any, i int) any { + switch v := v.(*BackupRequest); i { case 0: return &v.state case 1: @@ -8168,8 +11276,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetReplicationParametersRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[109].Exporter = func(v any, i int) any { + switch v := v.(*BackupResponse); i { case 0: return &v.state case 1: @@ -8180,8 +11288,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetReplicationParametersResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[110].Exporter = func(v any, i int) any { + switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state case 1: @@ -8192,8 +11300,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FullStatusRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[111].Exporter = func(v any, i int) any { + switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state case 1: @@ -8204,8 +11312,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FullStatusResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[112].Exporter = func(v any, i int) any { + switch v := v.(*CreateVReplicationWorkflowRequest); i { case 0: return &v.state case 1: @@ -8216,8 +11324,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReplicationSourceRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[113].Exporter = func(v any, i int) any { + switch v := v.(*CreateVReplicationWorkflowResponse); i { case 0: return &v.state case 1: @@ -8228,8 +11336,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReplicationSourceResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[114].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTableDataRequest); i { case 0: return &v.state case 1: @@ -8240,8 +11348,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicaWasRestartedRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[115].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTableDataResponse); i { case 0: return &v.state case 1: @@ -8252,8 +11360,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicaWasRestartedResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[116].Exporter = func(v any, i int) any { + switch v := v.(*DeleteVReplicationWorkflowRequest); i { case 0: return &v.state case 1: @@ -8264,8 +11372,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopReplicationAndGetStatusRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[117].Exporter = func(v any, i int) any { + switch v := v.(*DeleteVReplicationWorkflowResponse); i { case 0: return &v.state case 1: @@ -8276,8 +11384,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopReplicationAndGetStatusResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[118].Exporter = func(v any, i int) any { + switch v := v.(*HasVReplicationWorkflowsRequest); i { case 0: return &v.state case 1: @@ -8288,8 +11396,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PromoteReplicaRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[119].Exporter = func(v any, i int) any { + switch v := v.(*HasVReplicationWorkflowsResponse); i { case 0: return &v.state case 1: @@ -8300,8 +11408,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PromoteReplicaResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[120].Exporter = func(v any, i int) any { + switch v := v.(*ReadVReplicationWorkflowsRequest); i { case 0: return &v.state case 1: @@ -8312,8 +11420,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[121].Exporter = func(v any, i int) any { + switch v := v.(*ReadVReplicationWorkflowsResponse); i { case 0: return &v.state case 1: @@ -8324,8 +11432,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[122].Exporter = func(v any, i int) any { + switch v := v.(*ReadVReplicationWorkflowRequest); i { case 0: return &v.state case 1: @@ -8336,8 +11444,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreFromBackupRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[123].Exporter = func(v any, i int) any { + switch v := v.(*ReadVReplicationWorkflowResponse); i { case 0: return &v.state case 1: @@ -8348,8 +11456,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreFromBackupResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[124].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVReplicationPermissionsRequest); i { case 0: return &v.state case 1: @@ -8360,8 +11468,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateVReplicationWorkflowRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[125].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVReplicationPermissionsResponse); i { case 0: return &v.state case 1: @@ -8372,8 +11480,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateVReplicationWorkflowResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[126].Exporter = func(v any, i int) any { + switch v := v.(*VDiffRequest); i { case 0: return &v.state case 1: @@ -8384,8 +11492,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteVReplicationWorkflowRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[127].Exporter = func(v any, i int) any { + switch v := v.(*VDiffResponse); i { case 0: return &v.state case 1: @@ -8396,8 +11504,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteVReplicationWorkflowResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[128].Exporter = func(v any, i int) any { + switch v := v.(*VDiffPickerOptions); i { case 0: return &v.state case 1: @@ -8408,8 +11516,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadVReplicationWorkflowRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[129].Exporter = func(v any, i int) any { + switch v := v.(*VDiffReportOptions); i { case 0: return &v.state case 1: @@ -8420,8 +11528,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadVReplicationWorkflowResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[130].Exporter = func(v any, i int) any { + switch v := v.(*VDiffCoreOptions); i { case 0: return &v.state case 1: @@ -8432,8 +11540,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VDiffRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[131].Exporter = func(v any, i int) any { + switch v := v.(*VDiffOptions); i { case 0: return &v.state case 1: @@ -8444,8 +11552,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VDiffResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[132].Exporter = func(v any, i int) any { + switch v := v.(*UpdateVReplicationWorkflowRequest); i { case 0: return &v.state case 1: @@ -8456,8 +11564,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VDiffPickerOptions); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[133].Exporter = func(v any, i int) any { + switch v := v.(*UpdateVReplicationWorkflowResponse); i { case 0: return &v.state case 1: @@ -8468,8 +11576,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VDiffReportOptions); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[134].Exporter = func(v any, i int) any { + switch v := v.(*UpdateVReplicationWorkflowsRequest); i { case 0: return &v.state case 1: @@ -8480,8 +11588,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VDiffCoreOptions); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[135].Exporter = func(v any, i int) any { + switch v := v.(*UpdateVReplicationWorkflowsResponse); i { case 0: return &v.state case 1: @@ -8492,8 +11600,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VDiffOptions); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[136].Exporter = func(v any, i int) any { + switch v := v.(*ResetSequencesRequest); i { case 0: return &v.state case 1: @@ -8504,8 +11612,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateVReplicationWorkflowRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[137].Exporter = func(v any, i int) any { + switch v := v.(*ResetSequencesResponse); i { case 0: return &v.state case 1: @@ -8516,8 +11624,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateVReplicationWorkflowResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[138].Exporter = func(v any, i int) any { + switch v := v.(*CheckThrottlerRequest); i { case 0: return &v.state case 1: @@ -8528,8 +11636,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetSequencesRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[139].Exporter = func(v any, i int) any { + switch v := v.(*CheckThrottlerResponse); i { case 0: return &v.state case 1: @@ -8540,8 +11648,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetSequencesResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[140].Exporter = func(v any, i int) any { + switch v := v.(*GetThrottlerStatusRequest); i { case 0: return &v.state case 1: @@ -8552,8 +11660,8 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckThrottlerRequest); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[141].Exporter = func(v any, i int) any { + switch v := v.(*GetThrottlerStatusResponse); i { case 0: return &v.state case 1: @@ -8564,8 +11672,20 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckThrottlerResponse); i { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[142].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTagsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[143].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTagsResponse); i { case 0: return &v.state case 1: @@ -8576,7 +11696,7 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[149].Exporter = func(v any, i int) any { switch v := v.(*ReadVReplicationWorkflowResponse_Stream); i { case 0: return &v.state @@ -8588,14 +11708,66 @@ func file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_init() { return nil } } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[152].Exporter = func(v any, i int) any { + switch v := v.(*CheckThrottlerResponse_Metric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[154].Exporter = func(v any, i int) any { + switch v := v.(*GetThrottlerStatusResponse_MetricResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[157].Exporter = func(v any, i int) any { + switch v := v.(*GetThrottlerStatusResponse_MetricHealth); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[161].Exporter = func(v any, i int) any { + switch v := v.(*GetThrottlerStatusResponse_RecentApp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[108].OneofWrappers = []any{} + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[130].OneofWrappers = []any{} + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[132].OneofWrappers = []any{} + file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_msgTypes[134].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_tabletmanagerdata_dev_tabletmanagerdata_proto_rawDesc, - NumEnums: 1, - NumMessages: 118, + NumEnums: 2, + NumMessages: 165, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata_vtproto.pb.go b/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata_vtproto.pb.go index 07934eb..d86983a 100644 --- a/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata_vtproto.pb.go +++ b/gen/vitess/tabletmanagerdata/dev/tabletmanagerdata_vtproto.pb.go @@ -7,13 +7,14 @@ package tabletmanagerdatadev import ( binary "encoding/binary" fmt "fmt" - dev6 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" - dev4 "github.com/planetscale/vitess-types/gen/vitess/logutil/dev" + dev7 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/dev" + dev5 "github.com/planetscale/vitess-types/gen/vitess/logutil/dev" + dev3 "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/dev" dev "github.com/planetscale/vitess-types/gen/vitess/query/dev" - dev3 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/dev" + dev4 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/dev" dev1 "github.com/planetscale/vitess-types/gen/vitess/topodata/dev" dev2 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/dev" - dev5 "github.com/planetscale/vitess-types/gen/vitess/vttime/dev" + dev6 "github.com/planetscale/vitess-types/gen/vitess/vttime/dev" proto "google.golang.org/protobuf/proto" protoimpl "google.golang.org/protobuf/runtime/protoimpl" io "io" @@ -901,6 +902,100 @@ func (m *GetPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error return len(dAtA) - i, nil } +func (m *GetGlobalStatusVarsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetGlobalStatusVarsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetGlobalStatusVarsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Variables) > 0 { + for iNdEx := len(m.Variables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Variables[iNdEx]) + copy(dAtA[i:], m.Variables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Variables[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetGlobalStatusVarsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetGlobalStatusVarsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetGlobalStatusVarsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.StatusValues) > 0 { + for k := range m.StatusValues { + v := m.StatusValues[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *SetReadOnlyRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1436,6 +1531,16 @@ func (m *ApplySchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.DisableForeignKeyChecks { + i-- + if m.DisableForeignKeyChecks { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } if m.BatchSize != 0 { i = encodeVarint(dAtA, i, uint64(m.BatchSize)) i-- @@ -1842,6 +1947,16 @@ func (m *ExecuteFetchAsDbaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.DisableForeignKeyChecks { + i-- + if m.DisableForeignKeyChecks { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } if m.ReloadSchema { i-- if m.ReloadSchema { @@ -1939,7 +2054,7 @@ func (m *ExecuteFetchAsDbaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *ExecuteFetchAsAllPrivsRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ExecuteMultiFetchAsDbaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1952,12 +2067,12 @@ func (m *ExecuteFetchAsAllPrivsRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ExecuteFetchAsAllPrivsRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ExecuteMultiFetchAsDbaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ExecuteFetchAsAllPrivsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ExecuteMultiFetchAsDbaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1969,6 +2084,16 @@ func (m *ExecuteFetchAsAllPrivsRequest) MarshalToSizedBufferVT(dAtA []byte) (int i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.DisableForeignKeyChecks { + i-- + if m.DisableForeignKeyChecks { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } if m.ReloadSchema { i-- if m.ReloadSchema { @@ -1977,6 +2102,16 @@ func (m *ExecuteFetchAsAllPrivsRequest) MarshalToSizedBufferVT(dAtA []byte) (int dAtA[i] = 0 } i-- + dAtA[i] = 0x28 + } + if m.DisableBinlogs { + i-- + if m.DisableBinlogs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- dAtA[i] = 0x20 } if m.MaxRows != 0 { @@ -1991,17 +2126,17 @@ func (m *ExecuteFetchAsAllPrivsRequest) MarshalToSizedBufferVT(dAtA []byte) (int i-- dAtA[i] = 0x12 } - if len(m.Query) > 0 { - i -= len(m.Query) - copy(dAtA[i:], m.Query) - i = encodeVarint(dAtA, i, uint64(len(m.Query))) + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ExecuteFetchAsAllPrivsResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ExecuteMultiFetchAsDbaResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2014,12 +2149,12 @@ func (m *ExecuteFetchAsAllPrivsResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ExecuteFetchAsAllPrivsResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ExecuteMultiFetchAsDbaResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ExecuteFetchAsAllPrivsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ExecuteMultiFetchAsDbaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2031,32 +2166,34 @@ func (m *ExecuteFetchAsAllPrivsResponse) MarshalToSizedBufferVT(dAtA []byte) (in i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Result != nil { - if vtmsg, ok := interface{}(m.Result).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Result) - if err != nil { - return 0, err + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Results[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Results[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ExecuteFetchAsAppRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ExecuteFetchAsAllPrivsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2069,12 +2206,12 @@ func (m *ExecuteFetchAsAppRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ExecuteFetchAsAppRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAllPrivsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ExecuteFetchAsAppRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAllPrivsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2086,10 +2223,27 @@ func (m *ExecuteFetchAsAppRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.ReloadSchema { + i-- + if m.ReloadSchema { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } if m.MaxRows != 0 { i = encodeVarint(dAtA, i, uint64(m.MaxRows)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x18 + } + if len(m.DbName) > 0 { + i -= len(m.DbName) + copy(dAtA[i:], m.DbName) + i = encodeVarint(dAtA, i, uint64(len(m.DbName))) + i-- + dAtA[i] = 0x12 } if len(m.Query) > 0 { i -= len(m.Query) @@ -2101,7 +2255,7 @@ func (m *ExecuteFetchAsAppRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *ExecuteFetchAsAppResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ExecuteFetchAsAllPrivsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2114,12 +2268,12 @@ func (m *ExecuteFetchAsAppResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ExecuteFetchAsAppResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAllPrivsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ExecuteFetchAsAppResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAllPrivsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2156,7 +2310,7 @@ func (m *ExecuteFetchAsAppResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *ReplicationStatusRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ExecuteFetchAsAppRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2169,12 +2323,12 @@ func (m *ReplicationStatusRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReplicationStatusRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAppRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReplicationStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAppRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2186,10 +2340,22 @@ func (m *ReplicationStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x10 + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *ReplicationStatusResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ExecuteFetchAsAppResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2202,12 +2368,12 @@ func (m *ReplicationStatusResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReplicationStatusResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAppResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReplicationStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ExecuteFetchAsAppResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2219,8 +2385,8 @@ func (m *ReplicationStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Status != nil { - if vtmsg, ok := interface{}(m.Status).(interface { + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -2230,7 +2396,7 @@ func (m *ReplicationStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Status) + encoded, err := proto.Marshal(m.Result) if err != nil { return 0, err } @@ -2244,7 +2410,7 @@ func (m *ReplicationStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *PrimaryStatusRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetUnresolvedTransactionsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2257,12 +2423,12 @@ func (m *PrimaryStatusRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PrimaryStatusRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetUnresolvedTransactionsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PrimaryStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetUnresolvedTransactionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2274,10 +2440,15 @@ func (m *PrimaryStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.AbandonAge != 0 { + i = encodeVarint(dAtA, i, uint64(m.AbandonAge)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *PrimaryStatusResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetUnresolvedTransactionsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2290,12 +2461,12 @@ func (m *PrimaryStatusResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PrimaryStatusResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetUnresolvedTransactionsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PrimaryStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetUnresolvedTransactionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2307,32 +2478,34 @@ func (m *PrimaryStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Status != nil { - if vtmsg, ok := interface{}(m.Status).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Transactions) > 0 { + for iNdEx := len(m.Transactions) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Transactions[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Transactions[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Status) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PrimaryPositionRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReadTransactionRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2345,12 +2518,12 @@ func (m *PrimaryPositionRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PrimaryPositionRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReadTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PrimaryPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReadTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2362,10 +2535,17 @@ func (m *PrimaryPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *PrimaryPositionResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ReadTransactionResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2378,12 +2558,12 @@ func (m *PrimaryPositionResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PrimaryPositionResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReadTransactionResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PrimaryPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReadTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2395,17 +2575,32 @@ func (m *PrimaryPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Position) > 0 { - i -= len(m.Position) - copy(dAtA[i:], m.Position) - i = encodeVarint(dAtA, i, uint64(len(m.Position))) + if m.Transaction != nil { + if vtmsg, ok := interface{}(m.Transaction).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Transaction) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *WaitForPositionRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetTransactionInfoRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2418,12 +2613,12 @@ func (m *WaitForPositionRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *WaitForPositionRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetTransactionInfoRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *WaitForPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetTransactionInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2435,17 +2630,17 @@ func (m *WaitForPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Position) > 0 { - i -= len(m.Position) - copy(dAtA[i:], m.Position) - i = encodeVarint(dAtA, i, uint64(len(m.Position))) + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *WaitForPositionResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetTransactionInfoResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2458,12 +2653,12 @@ func (m *WaitForPositionResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *WaitForPositionResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetTransactionInfoResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *WaitForPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetTransactionInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2475,10 +2670,38 @@ func (m *WaitForPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Statements) > 0 { + for iNdEx := len(m.Statements) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Statements[iNdEx]) + copy(dAtA[i:], m.Statements[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Statements[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if m.TimeCreated != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreated)) + i-- + dAtA[i] = 0x18 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x12 + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarint(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ConcludeTransactionRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2491,12 +2714,12 @@ func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StopReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ConcludeTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ConcludeTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2508,10 +2731,27 @@ func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Mm { + i-- + if m.Mm { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ConcludeTransactionResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2524,12 +2764,12 @@ func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StopReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ConcludeTransactionResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ConcludeTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2544,7 +2784,7 @@ func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *StopReplicationMinimumRequest) MarshalVT() (dAtA []byte, err error) { +func (m *MysqlHostMetricsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2557,12 +2797,12 @@ func (m *StopReplicationMinimumRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StopReplicationMinimumRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *MysqlHostMetricsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationMinimumRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *MysqlHostMetricsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2574,22 +2814,10 @@ func (m *StopReplicationMinimumRequest) MarshalToSizedBufferVT(dAtA []byte) (int i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.WaitTimeout != 0 { - i = encodeVarint(dAtA, i, uint64(m.WaitTimeout)) - i-- - dAtA[i] = 0x10 - } - if len(m.Position) > 0 { - i -= len(m.Position) - copy(dAtA[i:], m.Position) - i = encodeVarint(dAtA, i, uint64(len(m.Position))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *StopReplicationMinimumResponse) MarshalVT() (dAtA []byte, err error) { +func (m *MysqlHostMetricsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2602,12 +2830,12 @@ func (m *StopReplicationMinimumResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StopReplicationMinimumResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *MysqlHostMetricsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationMinimumResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *MysqlHostMetricsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2619,17 +2847,32 @@ func (m *StopReplicationMinimumResponse) MarshalToSizedBufferVT(dAtA []byte) (in i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Position) > 0 { - i -= len(m.Position) - copy(dAtA[i:], m.Position) - i = encodeVarint(dAtA, i, uint64(len(m.Position))) + if m.HostMetrics != nil { + if vtmsg, ok := interface{}(m.HostMetrics).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.HostMetrics) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReplicationStatusRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2642,12 +2885,12 @@ func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StartReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReplicationStatusRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReplicationStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2659,20 +2902,10 @@ func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.SemiSync { - i-- - if m.SemiSync { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ReplicationStatusResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2685,12 +2918,12 @@ func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StartReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReplicationStatusResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReplicationStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2702,10 +2935,32 @@ func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *StartReplicationUntilAfterRequest) MarshalVT() (dAtA []byte, err error) { +func (m *PrimaryStatusRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2718,12 +2973,12 @@ func (m *StartReplicationUntilAfterRequest) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *StartReplicationUntilAfterRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *PrimaryStatusRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StartReplicationUntilAfterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PrimaryStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2735,22 +2990,10 @@ func (m *StartReplicationUntilAfterRequest) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.WaitTimeout != 0 { - i = encodeVarint(dAtA, i, uint64(m.WaitTimeout)) - i-- - dAtA[i] = 0x10 - } - if len(m.Position) > 0 { - i -= len(m.Position) - copy(dAtA[i:], m.Position) - i = encodeVarint(dAtA, i, uint64(len(m.Position))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *StartReplicationUntilAfterResponse) MarshalVT() (dAtA []byte, err error) { +func (m *PrimaryStatusResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2763,12 +3006,12 @@ func (m *StartReplicationUntilAfterResponse) MarshalVT() (dAtA []byte, err error return dAtA[:n], nil } -func (m *StartReplicationUntilAfterResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *PrimaryStatusResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StartReplicationUntilAfterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PrimaryStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2780,10 +3023,32 @@ func (m *StartReplicationUntilAfterResponse) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *GetReplicasRequest) MarshalVT() (dAtA []byte, err error) { +func (m *PrimaryPositionRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2796,12 +3061,12 @@ func (m *GetReplicasRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetReplicasRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *PrimaryPositionRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetReplicasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PrimaryPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2816,7 +3081,7 @@ func (m *GetReplicasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetReplicasResponse) MarshalVT() (dAtA []byte, err error) { +func (m *PrimaryPositionResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2829,12 +3094,12 @@ func (m *GetReplicasResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetReplicasResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *PrimaryPositionResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetReplicasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PrimaryPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2846,19 +3111,17 @@ func (m *GetReplicasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Addrs) > 0 { - for iNdEx := len(m.Addrs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Addrs[iNdEx]) - copy(dAtA[i:], m.Addrs[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Addrs[iNdEx]))) - i-- - dAtA[i] = 0xa - } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ResetReplicationRequest) MarshalVT() (dAtA []byte, err error) { +func (m *WaitForPositionRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2871,12 +3134,12 @@ func (m *ResetReplicationRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResetReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *WaitForPositionRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ResetReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *WaitForPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2888,10 +3151,17 @@ func (m *ResetReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *ResetReplicationResponse) MarshalVT() (dAtA []byte, err error) { +func (m *WaitForPositionResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2904,12 +3174,12 @@ func (m *ResetReplicationResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResetReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *WaitForPositionResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ResetReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *WaitForPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2924,7 +3194,7 @@ func (m *ResetReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *VReplicationExecRequest) MarshalVT() (dAtA []byte, err error) { +func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2937,12 +3207,12 @@ func (m *VReplicationExecRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VReplicationExecRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *StopReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VReplicationExecRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2954,17 +3224,10 @@ func (m *VReplicationExecRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Query) > 0 { - i -= len(m.Query) - copy(dAtA[i:], m.Query) - i = encodeVarint(dAtA, i, uint64(len(m.Query))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *VReplicationExecResponse) MarshalVT() (dAtA []byte, err error) { +func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2977,12 +3240,12 @@ func (m *VReplicationExecResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VReplicationExecResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *StopReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VReplicationExecResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2994,32 +3257,10 @@ func (m *VReplicationExecResponse) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Result != nil { - if vtmsg, ok := interface{}(m.Result).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Result) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *VReplicationWaitForPosRequest) MarshalVT() (dAtA []byte, err error) { +func (m *StopReplicationMinimumRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3032,12 +3273,12 @@ func (m *VReplicationWaitForPosRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VReplicationWaitForPosRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *StopReplicationMinimumRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VReplicationWaitForPosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StopReplicationMinimumRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3049,22 +3290,22 @@ func (m *VReplicationWaitForPosRequest) MarshalToSizedBufferVT(dAtA []byte) (int i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.WaitTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.WaitTimeout)) + i-- + dAtA[i] = 0x10 + } if len(m.Position) > 0 { i -= len(m.Position) copy(dAtA[i:], m.Position) i = encodeVarint(dAtA, i, uint64(len(m.Position))) i-- - dAtA[i] = 0x12 - } - if m.Id != 0 { - i = encodeVarint(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VReplicationWaitForPosResponse) MarshalVT() (dAtA []byte, err error) { +func (m *StopReplicationMinimumResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3077,12 +3318,12 @@ func (m *VReplicationWaitForPosResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VReplicationWaitForPosResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *StopReplicationMinimumResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VReplicationWaitForPosResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StopReplicationMinimumResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3094,10 +3335,17 @@ func (m *VReplicationWaitForPosResponse) MarshalToSizedBufferVT(dAtA []byte) (in i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *InitPrimaryRequest) MarshalVT() (dAtA []byte, err error) { +func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3110,12 +3358,12 @@ func (m *InitPrimaryRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *InitPrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *StartReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *InitPrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3140,7 +3388,7 @@ func (m *InitPrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *InitPrimaryResponse) MarshalVT() (dAtA []byte, err error) { +func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3153,12 +3401,12 @@ func (m *InitPrimaryResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *InitPrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *StartReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *InitPrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3170,17 +3418,10 @@ func (m *InitPrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Position) > 0 { - i -= len(m.Position) - copy(dAtA[i:], m.Position) - i = encodeVarint(dAtA, i, uint64(len(m.Position))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *PopulateReparentJournalRequest) MarshalVT() (dAtA []byte, err error) { +func (m *StartReplicationUntilAfterRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3193,12 +3434,12 @@ func (m *PopulateReparentJournalRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PopulateReparentJournalRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *StartReplicationUntilAfterRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PopulateReparentJournalRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StartReplicationUntilAfterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3210,51 +3451,22 @@ func (m *PopulateReparentJournalRequest) MarshalToSizedBufferVT(dAtA []byte) (in i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ReplicationPosition) > 0 { - i -= len(m.ReplicationPosition) - copy(dAtA[i:], m.ReplicationPosition) - i = encodeVarint(dAtA, i, uint64(len(m.ReplicationPosition))) - i-- - dAtA[i] = 0x22 - } - if m.PrimaryAlias != nil { - if vtmsg, ok := interface{}(m.PrimaryAlias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.PrimaryAlias) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ActionName) > 0 { - i -= len(m.ActionName) - copy(dAtA[i:], m.ActionName) - i = encodeVarint(dAtA, i, uint64(len(m.ActionName))) + if m.WaitTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.WaitTimeout)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if m.TimeCreatedNs != 0 { - i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PopulateReparentJournalResponse) MarshalVT() (dAtA []byte, err error) { +func (m *StartReplicationUntilAfterResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3267,12 +3479,12 @@ func (m *PopulateReparentJournalResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PopulateReparentJournalResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *StartReplicationUntilAfterResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PopulateReparentJournalResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StartReplicationUntilAfterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3287,7 +3499,7 @@ func (m *PopulateReparentJournalResponse) MarshalToSizedBufferVT(dAtA []byte) (i return len(dAtA) - i, nil } -func (m *InitReplicaRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetReplicasRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3300,12 +3512,12 @@ func (m *InitReplicaRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *InitReplicaRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetReplicasRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *InitReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetReplicasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3317,54 +3529,10 @@ func (m *InitReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.SemiSync { - i-- - if m.SemiSync { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.TimeCreatedNs != 0 { - i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) - i-- - dAtA[i] = 0x18 - } - if len(m.ReplicationPosition) > 0 { - i -= len(m.ReplicationPosition) - copy(dAtA[i:], m.ReplicationPosition) - i = encodeVarint(dAtA, i, uint64(len(m.ReplicationPosition))) - i-- - dAtA[i] = 0x12 - } - if m.Parent != nil { - if vtmsg, ok := interface{}(m.Parent).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Parent) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *InitReplicaResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetReplicasResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3377,12 +3545,12 @@ func (m *InitReplicaResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *InitReplicaResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetReplicasResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *InitReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetReplicasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3394,10 +3562,19 @@ func (m *InitReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Addrs) > 0 { + for iNdEx := len(m.Addrs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Addrs[iNdEx]) + copy(dAtA[i:], m.Addrs[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Addrs[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } return len(dAtA) - i, nil } -func (m *DemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ResetReplicationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3410,12 +3587,12 @@ func (m *DemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DemotePrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ResetReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ResetReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3430,7 +3607,7 @@ func (m *DemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *DemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ResetReplicationResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3443,12 +3620,12 @@ func (m *DemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DemotePrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ResetReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ResetReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3460,32 +3637,10 @@ func (m *DemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.PrimaryStatus != nil { - if vtmsg, ok := interface{}(m.PrimaryStatus).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.PrimaryStatus) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x12 - } return len(dAtA) - i, nil } -func (m *UndoDemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { +func (m *VReplicationExecRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3498,12 +3653,12 @@ func (m *UndoDemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UndoDemotePrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *VReplicationExecRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *UndoDemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *VReplicationExecRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3515,20 +3670,17 @@ func (m *UndoDemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.SemiSync { - i-- - if m.SemiSync { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *UndoDemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { +func (m *VReplicationExecResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3541,12 +3693,12 @@ func (m *UndoDemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UndoDemotePrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *VReplicationExecResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *UndoDemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *VReplicationExecResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3558,10 +3710,32 @@ func (m *UndoDemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *ReplicaWasPromotedRequest) MarshalVT() (dAtA []byte, err error) { +func (m *VReplicationWaitForPosRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3574,12 +3748,12 @@ func (m *ReplicaWasPromotedRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReplicaWasPromotedRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *VReplicationWaitForPosRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReplicaWasPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *VReplicationWaitForPosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3591,43 +3765,22 @@ func (m *ReplicaWasPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - return len(dAtA) - i, nil -} - -func (m *ReplicaWasPromotedResponse) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ReplicaWasPromotedResponse) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *ReplicaWasPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0x12 } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ResetReplicationParametersRequest) MarshalVT() (dAtA []byte, err error) { +func (m *VReplicationWaitForPosResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3640,12 +3793,12 @@ func (m *ResetReplicationParametersRequest) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *ResetReplicationParametersRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *VReplicationWaitForPosResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ResetReplicationParametersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *VReplicationWaitForPosResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3660,7 +3813,7 @@ func (m *ResetReplicationParametersRequest) MarshalToSizedBufferVT(dAtA []byte) return len(dAtA) - i, nil } -func (m *ResetReplicationParametersResponse) MarshalVT() (dAtA []byte, err error) { +func (m *InitPrimaryRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3673,12 +3826,12 @@ func (m *ResetReplicationParametersResponse) MarshalVT() (dAtA []byte, err error return dAtA[:n], nil } -func (m *ResetReplicationParametersResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *InitPrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ResetReplicationParametersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *InitPrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3690,10 +3843,20 @@ func (m *ResetReplicationParametersResponse) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *FullStatusRequest) MarshalVT() (dAtA []byte, err error) { +func (m *InitPrimaryResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3706,12 +3869,12 @@ func (m *FullStatusRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *FullStatusRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *InitPrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *InitPrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3723,10 +3886,17 @@ func (m *FullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *FullStatusResponse) MarshalVT() (dAtA []byte, err error) { +func (m *PopulateReparentJournalRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3739,12 +3909,12 @@ func (m *FullStatusResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *FullStatusResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *PopulateReparentJournalRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FullStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PopulateReparentJournalRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3756,8 +3926,15 @@ func (m *FullStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Status != nil { - if vtmsg, ok := interface{}(m.Status).(interface { + if len(m.ReplicationPosition) > 0 { + i -= len(m.ReplicationPosition) + copy(dAtA[i:], m.ReplicationPosition) + i = encodeVarint(dAtA, i, uint64(len(m.ReplicationPosition))) + i-- + dAtA[i] = 0x22 + } + if m.PrimaryAlias != nil { + if vtmsg, ok := interface{}(m.PrimaryAlias).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -3767,7 +3944,7 @@ func (m *FullStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Status) + encoded, err := proto.Marshal(m.PrimaryAlias) if err != nil { return 0, err } @@ -3776,12 +3953,24 @@ func (m *FullStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if len(m.ActionName) > 0 { + i -= len(m.ActionName) + copy(dAtA[i:], m.ActionName) + i = encodeVarint(dAtA, i, uint64(len(m.ActionName))) + i-- + dAtA[i] = 0x12 + } + if m.TimeCreatedNs != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *SetReplicationSourceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *PopulateReparentJournalResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3794,12 +3983,12 @@ func (m *SetReplicationSourceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SetReplicationSourceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *PopulateReparentJournalResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SetReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PopulateReparentJournalResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3811,64 +4000,10 @@ func (m *SetReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.SemiSync { - i-- - if m.SemiSync { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if len(m.WaitPosition) > 0 { - i -= len(m.WaitPosition) - copy(dAtA[i:], m.WaitPosition) - i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) - i-- - dAtA[i] = 0x22 - } - if m.ForceStartReplication { - i-- - if m.ForceStartReplication { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.TimeCreatedNs != 0 { - i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) - i-- - dAtA[i] = 0x10 - } - if m.Parent != nil { - if vtmsg, ok := interface{}(m.Parent).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Parent) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *SetReplicationSourceResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ReadReparentJournalInfoRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3881,12 +4016,12 @@ func (m *SetReplicationSourceResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SetReplicationSourceResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReadReparentJournalInfoRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SetReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReadReparentJournalInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3901,7 +4036,7 @@ func (m *SetReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *ReplicaWasRestartedRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReadReparentJournalInfoResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3914,12 +4049,12 @@ func (m *ReplicaWasRestartedRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReplicaWasRestartedRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReadReparentJournalInfoResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReplicaWasRestartedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReadReparentJournalInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3931,32 +4066,15 @@ func (m *ReplicaWasRestartedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, e i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Parent != nil { - if vtmsg, ok := interface{}(m.Parent).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Parent) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } + if m.Length != 0 { + i = encodeVarint(dAtA, i, uint64(m.Length)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ReplicaWasRestartedResponse) MarshalVT() (dAtA []byte, err error) { +func (m *InitReplicaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3969,12 +4087,12 @@ func (m *ReplicaWasRestartedResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReplicaWasRestartedResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *InitReplicaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReplicaWasRestartedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *InitReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3986,12 +4104,56 @@ func (m *ReplicaWasRestartedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - return len(dAtA) - i, nil -} - -func (m *StopReplicationAndGetStatusRequest) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.TimeCreatedNs != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) + i-- + dAtA[i] = 0x18 + } + if len(m.ReplicationPosition) > 0 { + i -= len(m.ReplicationPosition) + copy(dAtA[i:], m.ReplicationPosition) + i = encodeVarint(dAtA, i, uint64(len(m.ReplicationPosition))) + i-- + dAtA[i] = 0x12 + } + if m.Parent != nil { + if vtmsg, ok := interface{}(m.Parent).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Parent) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *InitReplicaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } size := m.SizeVT() dAtA = make([]byte, size) @@ -4002,12 +4164,12 @@ func (m *StopReplicationAndGetStatusRequest) MarshalVT() (dAtA []byte, err error return dAtA[:n], nil } -func (m *StopReplicationAndGetStatusRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *InitReplicaResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationAndGetStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *InitReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4019,15 +4181,43 @@ func (m *StopReplicationAndGetStatusRequest) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.StopReplicationMode != 0 { - i = encodeVarint(dAtA, i, uint64(m.StopReplicationMode)) - i-- - dAtA[i] = 0x8 + return len(dAtA) - i, nil +} + +func (m *DemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DemotePrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } return len(dAtA) - i, nil } -func (m *StopReplicationAndGetStatusResponse) MarshalVT() (dAtA []byte, err error) { +func (m *DemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4040,12 +4230,12 @@ func (m *StopReplicationAndGetStatusResponse) MarshalVT() (dAtA []byte, err erro return dAtA[:n], nil } -func (m *StopReplicationAndGetStatusResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *DemotePrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationAndGetStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4057,8 +4247,8 @@ func (m *StopReplicationAndGetStatusResponse) MarshalToSizedBufferVT(dAtA []byte i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Status != nil { - if vtmsg, ok := interface{}(m.Status).(interface { + if m.PrimaryStatus != nil { + if vtmsg, ok := interface{}(m.PrimaryStatus).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -4068,7 +4258,7 @@ func (m *StopReplicationAndGetStatusResponse) MarshalToSizedBufferVT(dAtA []byte i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Status) + encoded, err := proto.Marshal(m.PrimaryStatus) if err != nil { return 0, err } @@ -4082,7 +4272,7 @@ func (m *StopReplicationAndGetStatusResponse) MarshalToSizedBufferVT(dAtA []byte return len(dAtA) - i, nil } -func (m *PromoteReplicaRequest) MarshalVT() (dAtA []byte, err error) { +func (m *UndoDemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4095,12 +4285,12 @@ func (m *PromoteReplicaRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PromoteReplicaRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *UndoDemotePrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PromoteReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *UndoDemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4125,7 +4315,7 @@ func (m *PromoteReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *PromoteReplicaResponse) MarshalVT() (dAtA []byte, err error) { +func (m *UndoDemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4138,12 +4328,12 @@ func (m *PromoteReplicaResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PromoteReplicaResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *UndoDemotePrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PromoteReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *UndoDemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4155,17 +4345,10 @@ func (m *PromoteReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Position) > 0 { - i -= len(m.Position) - copy(dAtA[i:], m.Position) - i = encodeVarint(dAtA, i, uint64(len(m.Position))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *BackupRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReplicaWasPromotedRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4178,12 +4361,12 @@ func (m *BackupRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BackupRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReplicaWasPromotedRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *BackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReplicaWasPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4195,42 +4378,10 @@ func (m *BackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.UpgradeSafe { - i-- - if m.UpgradeSafe { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.IncrementalFromPos) > 0 { - i -= len(m.IncrementalFromPos) - copy(dAtA[i:], m.IncrementalFromPos) - i = encodeVarint(dAtA, i, uint64(len(m.IncrementalFromPos))) - i-- - dAtA[i] = 0x1a - } - if m.AllowPrimary { - i-- - if m.AllowPrimary { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if m.Concurrency != 0 { - i = encodeVarint(dAtA, i, uint64(m.Concurrency)) - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *BackupResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ReplicaWasPromotedResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4243,12 +4394,12 @@ func (m *BackupResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BackupResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReplicaWasPromotedResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *BackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReplicaWasPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4260,32 +4411,10 @@ func (m *BackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Event != nil { - if vtmsg, ok := interface{}(m.Event).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Event) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *RestoreFromBackupRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ResetReplicationParametersRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4298,12 +4427,12 @@ func (m *RestoreFromBackupRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RestoreFromBackupRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ResetReplicationParametersRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RestoreFromBackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ResetReplicationParametersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4315,71 +4444,10 @@ func (m *RestoreFromBackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.RestoreToTimestamp != nil { - if vtmsg, ok := interface{}(m.RestoreToTimestamp).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.RestoreToTimestamp) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x22 - } - if m.DryRun { - i-- - if m.DryRun { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.RestoreToPos) > 0 { - i -= len(m.RestoreToPos) - copy(dAtA[i:], m.RestoreToPos) - i = encodeVarint(dAtA, i, uint64(len(m.RestoreToPos))) - i-- - dAtA[i] = 0x12 - } - if m.BackupTime != nil { - if vtmsg, ok := interface{}(m.BackupTime).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.BackupTime) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *RestoreFromBackupResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ResetReplicationParametersResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4392,12 +4460,12 @@ func (m *RestoreFromBackupResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RestoreFromBackupResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ResetReplicationParametersResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RestoreFromBackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ResetReplicationParametersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4409,32 +4477,10 @@ func (m *RestoreFromBackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Event != nil { - if vtmsg, ok := interface{}(m.Event).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Event) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *CreateVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { +func (m *FullStatusRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4447,12 +4493,12 @@ func (m *CreateVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *CreateVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *FullStatusRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CreateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *FullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4464,116 +4510,10 @@ func (m *CreateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.StopAfterCopy { - i-- - if m.StopAfterCopy { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x50 - } - if m.AutoStart { - i-- - if m.AutoStart { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x48 - } - if m.DeferSecondaryKeys { - i-- - if m.DeferSecondaryKeys { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x40 - } - if m.WorkflowSubType != 0 { - i = encodeVarint(dAtA, i, uint64(m.WorkflowSubType)) - i-- - dAtA[i] = 0x38 - } - if m.WorkflowType != 0 { - i = encodeVarint(dAtA, i, uint64(m.WorkflowType)) - i-- - dAtA[i] = 0x30 - } - if m.TabletSelectionPreference != 0 { - i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) - i-- - dAtA[i] = 0x28 - } - if len(m.TabletTypes) > 0 { - var pksize2 int - for _, num := range m.TabletTypes { - pksize2 += sov(uint64(num)) - } - i -= pksize2 - j1 := i - for _, num1 := range m.TabletTypes { - num := uint64(num1) - for num >= 1<<7 { - dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA[j1] = uint8(num) - j1++ - } - i = encodeVarint(dAtA, i, uint64(pksize2)) - i-- - dAtA[i] = 0x22 - } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.BinlogSource) > 0 { - for iNdEx := len(m.BinlogSource) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.BinlogSource[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.BinlogSource[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Workflow) > 0 { - i -= len(m.Workflow) - copy(dAtA[i:], m.Workflow) - i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *CreateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { +func (m *FullStatusResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4586,12 +4526,12 @@ func (m *CreateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error return dAtA[:n], nil } -func (m *CreateVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *FullStatusResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CreateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *FullStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4603,8 +4543,8 @@ func (m *CreateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Result != nil { - if vtmsg, ok := interface{}(m.Result).(interface { + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -4614,7 +4554,7 @@ func (m *CreateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Result) + encoded, err := proto.Marshal(m.Status) if err != nil { return 0, err } @@ -4628,7 +4568,7 @@ func (m *CreateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) return len(dAtA) - i, nil } -func (m *DeleteVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { +func (m *SetReplicationSourceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4641,12 +4581,12 @@ func (m *DeleteVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *DeleteVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *SetReplicationSourceRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DeleteVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SetReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4658,48 +4598,46 @@ func (m *DeleteVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Workflow) > 0 { - i -= len(m.Workflow) - copy(dAtA[i:], m.Workflow) - i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + if m.HeartbeatInterval != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.HeartbeatInterval)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x31 } - return len(dAtA) - i, nil -} - -func (m *DeleteVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0x22 } - return dAtA[:n], nil -} - -func (m *DeleteVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *DeleteVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil + if m.ForceStartReplication { + i-- + if m.ForceStartReplication { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) + if m.TimeCreatedNs != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) + i-- + dAtA[i] = 0x10 } - if m.Result != nil { - if vtmsg, ok := interface{}(m.Result).(interface { + if m.Parent != nil { + if vtmsg, ok := interface{}(m.Parent).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -4709,7 +4647,7 @@ func (m *DeleteVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Result) + encoded, err := proto.Marshal(m.Parent) if err != nil { return 0, err } @@ -4723,7 +4661,7 @@ func (m *DeleteVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) return len(dAtA) - i, nil } -func (m *ReadVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { +func (m *SetReplicationSourceResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4736,12 +4674,12 @@ func (m *ReadVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReadVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *SetReplicationSourceResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReadVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SetReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4753,17 +4691,10 @@ func (m *ReadVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (i i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Workflow) > 0 { - i -= len(m.Workflow) - copy(dAtA[i:], m.Workflow) - i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *ReadVReplicationWorkflowResponse_Stream) MarshalVT() (dAtA []byte, err error) { +func (m *ReplicaWasRestartedRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4776,12 +4707,12 @@ func (m *ReadVReplicationWorkflowResponse_Stream) MarshalVT() (dAtA []byte, err return dAtA[:n], nil } -func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReplicaWasRestartedRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReplicaWasRestartedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4793,15 +4724,8 @@ func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA [] i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ComponentThrottled) > 0 { - i -= len(m.ComponentThrottled) - copy(dAtA[i:], m.ComponentThrottled) - i = encodeVarint(dAtA, i, uint64(len(m.ComponentThrottled))) - i-- - dAtA[i] = 0x72 - } - if m.TimeThrottled != nil { - if vtmsg, ok := interface{}(m.TimeThrottled).(interface { + if m.Parent != nil { + if vtmsg, ok := interface{}(m.Parent).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -4811,7 +4735,7 @@ func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA [] i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.TimeThrottled) + encoded, err := proto.Marshal(m.Parent) if err != nil { return 0, err } @@ -4820,117 +4744,114 @@ func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA [] i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x6a + dAtA[i] = 0xa } - if m.TimeHeartbeat != nil { - if vtmsg, ok := interface{}(m.TimeHeartbeat).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.TimeHeartbeat) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x62 + return len(dAtA) - i, nil +} + +func (m *ReplicaWasRestartedResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if m.RowsCopied != 0 { - i = encodeVarint(dAtA, i, uint64(m.RowsCopied)) - i-- - dAtA[i] = 0x58 + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarint(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x52 + return dAtA[:n], nil +} + +func (m *ReplicaWasRestartedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReplicaWasRestartedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - if m.State != 0 { - i = encodeVarint(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x48 + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.TransactionTimestamp != nil { - if vtmsg, ok := interface{}(m.TransactionTimestamp).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.TransactionTimestamp) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x42 + return len(dAtA) - i, nil +} + +func (m *StopReplicationAndGetStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if m.TimeUpdated != nil { - if vtmsg, ok := interface{}(m.TimeUpdated).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.TimeUpdated) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x3a + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - if m.MaxReplicationLag != 0 { - i = encodeVarint(dAtA, i, uint64(m.MaxReplicationLag)) - i-- - dAtA[i] = 0x30 + return dAtA[:n], nil +} + +func (m *StopReplicationAndGetStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationAndGetStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - if m.MaxTps != 0 { - i = encodeVarint(dAtA, i, uint64(m.MaxTps)) - i-- - dAtA[i] = 0x28 + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.StopPos) > 0 { - i -= len(m.StopPos) - copy(dAtA[i:], m.StopPos) - i = encodeVarint(dAtA, i, uint64(len(m.StopPos))) + if m.StopReplicationMode != 0 { + i = encodeVarint(dAtA, i, uint64(m.StopReplicationMode)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x8 } - if len(m.Pos) > 0 { - i -= len(m.Pos) - copy(dAtA[i:], m.Pos) - i = encodeVarint(dAtA, i, uint64(len(m.Pos))) - i-- - dAtA[i] = 0x1a + return len(dAtA) - i, nil +} + +func (m *StopReplicationAndGetStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if m.Bls != nil { - if vtmsg, ok := interface{}(m.Bls).(interface { + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationAndGetStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationAndGetStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -4940,7 +4861,7 @@ func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA [] i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Bls) + encoded, err := proto.Marshal(m.Status) if err != nil { return 0, err } @@ -4951,15 +4872,10 @@ func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA [] i-- dAtA[i] = 0x12 } - if m.Id != 0 { - i = encodeVarint(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *ReadVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { +func (m *PromoteReplicaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4972,12 +4888,12 @@ func (m *ReadVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *ReadVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *PromoteReplicaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReadVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PromoteReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4989,96 +4905,60 @@ func (m *ReadVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) ( i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Streams) > 0 { - for iNdEx := len(m.Streams) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Streams[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x5a - } - } - if m.DeferSecondaryKeys { + if m.SemiSync { i-- - if m.DeferSecondaryKeys { + if m.SemiSync { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x50 - } - if m.WorkflowSubType != 0 { - i = encodeVarint(dAtA, i, uint64(m.WorkflowSubType)) - i-- - dAtA[i] = 0x48 + dAtA[i] = 0x8 } - if m.WorkflowType != 0 { - i = encodeVarint(dAtA, i, uint64(m.WorkflowType)) - i-- - dAtA[i] = 0x40 + return len(dAtA) - i, nil +} + +func (m *PromoteReplicaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if len(m.Tags) > 0 { - i -= len(m.Tags) - copy(dAtA[i:], m.Tags) - i = encodeVarint(dAtA, i, uint64(len(m.Tags))) - i-- - dAtA[i] = 0x3a + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.DbName) > 0 { - i -= len(m.DbName) - copy(dAtA[i:], m.DbName) - i = encodeVarint(dAtA, i, uint64(len(m.DbName))) - i-- - dAtA[i] = 0x32 - } - if m.TabletSelectionPreference != 0 { - i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) - i-- - dAtA[i] = 0x28 - } - if len(m.TabletTypes) > 0 { - var pksize2 int - for _, num := range m.TabletTypes { - pksize2 += sov(uint64(num)) - } - i -= pksize2 - j1 := i - for _, num1 := range m.TabletTypes { - num := uint64(num1) - for num >= 1<<7 { - dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA[j1] = uint8(num) - j1++ - } - i = encodeVarint(dAtA, i, uint64(pksize2)) - i-- - dAtA[i] = 0x22 + return dAtA[:n], nil +} + +func (m *PromoteReplicaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PromoteReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - if len(m.Cells) > 0 { - i -= len(m.Cells) - copy(dAtA[i:], m.Cells) - i = encodeVarint(dAtA, i, uint64(len(m.Cells))) - i-- - dAtA[i] = 0x1a + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.Workflow) > 0 { - i -= len(m.Workflow) - copy(dAtA[i:], m.Workflow) - i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VDiffRequest) MarshalVT() (dAtA []byte, err error) { +func (m *BackupRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5091,12 +4971,12 @@ func (m *VDiffRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VDiffRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *BackupRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VDiffRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *BackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5108,55 +4988,49 @@ func (m *VDiffRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x32 - } - if len(m.VdiffUuid) > 0 { - i -= len(m.VdiffUuid) - copy(dAtA[i:], m.VdiffUuid) - i = encodeVarint(dAtA, i, uint64(len(m.VdiffUuid))) + if m.BackupEngine != nil { + i -= len(*m.BackupEngine) + copy(dAtA[i:], *m.BackupEngine) + i = encodeVarint(dAtA, i, uint64(len(*m.BackupEngine))) i-- dAtA[i] = 0x2a } - if len(m.ActionArg) > 0 { - i -= len(m.ActionArg) - copy(dAtA[i:], m.ActionArg) - i = encodeVarint(dAtA, i, uint64(len(m.ActionArg))) + if m.UpgradeSafe { i-- - dAtA[i] = 0x22 + if m.UpgradeSafe { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 } - if len(m.Action) > 0 { - i -= len(m.Action) - copy(dAtA[i:], m.Action) - i = encodeVarint(dAtA, i, uint64(len(m.Action))) + if len(m.IncrementalFromPos) > 0 { + i -= len(m.IncrementalFromPos) + copy(dAtA[i:], m.IncrementalFromPos) + i = encodeVarint(dAtA, i, uint64(len(m.IncrementalFromPos))) i-- dAtA[i] = 0x1a } - if len(m.Workflow) > 0 { - i -= len(m.Workflow) - copy(dAtA[i:], m.Workflow) - i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + if m.AllowPrimary { i-- - dAtA[i] = 0x12 + if m.AllowPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *VDiffResponse) MarshalVT() (dAtA []byte, err error) { +func (m *BackupResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5169,12 +5043,12 @@ func (m *VDiffResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VDiffResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *BackupResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VDiffResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *BackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5186,15 +5060,8 @@ func (m *VDiffResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.VdiffUuid) > 0 { - i -= len(m.VdiffUuid) - copy(dAtA[i:], m.VdiffUuid) - i = encodeVarint(dAtA, i, uint64(len(m.VdiffUuid))) - i-- - dAtA[i] = 0x1a - } - if m.Output != nil { - if vtmsg, ok := interface{}(m.Output).(interface { + if m.Event != nil { + if vtmsg, ok := interface{}(m.Event).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -5204,7 +5071,7 @@ func (m *VDiffResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Output) + encoded, err := proto.Marshal(m.Event) if err != nil { return 0, err } @@ -5213,17 +5080,12 @@ func (m *VDiffResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x12 - } - if m.Id != 0 { - i = encodeVarint(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VDiffPickerOptions) MarshalVT() (dAtA []byte, err error) { +func (m *RestoreFromBackupRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5236,12 +5098,12 @@ func (m *VDiffPickerOptions) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VDiffPickerOptions) MarshalToVT(dAtA []byte) (int, error) { +func (m *RestoreFromBackupRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VDiffPickerOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RestoreFromBackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5253,31 +5115,80 @@ func (m *VDiffPickerOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.TargetCell) > 0 { - i -= len(m.TargetCell) - copy(dAtA[i:], m.TargetCell) - i = encodeVarint(dAtA, i, uint64(len(m.TargetCell))) + if len(m.AllowedBackupEngines) > 0 { + for iNdEx := len(m.AllowedBackupEngines) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AllowedBackupEngines[iNdEx]) + copy(dAtA[i:], m.AllowedBackupEngines[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.AllowedBackupEngines[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.RestoreToTimestamp != nil { + if vtmsg, ok := interface{}(m.RestoreToTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RestoreToTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x22 } - if len(m.SourceCell) > 0 { - i -= len(m.SourceCell) - copy(dAtA[i:], m.SourceCell) - i = encodeVarint(dAtA, i, uint64(len(m.SourceCell))) + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.RestoreToPos) > 0 { + i -= len(m.RestoreToPos) + copy(dAtA[i:], m.RestoreToPos) + i = encodeVarint(dAtA, i, uint64(len(m.RestoreToPos))) i-- dAtA[i] = 0x12 } - if len(m.TabletTypes) > 0 { - i -= len(m.TabletTypes) - copy(dAtA[i:], m.TabletTypes) - i = encodeVarint(dAtA, i, uint64(len(m.TabletTypes))) + if m.BackupTime != nil { + if vtmsg, ok := interface{}(m.BackupTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BackupTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VDiffReportOptions) MarshalVT() (dAtA []byte, err error) { +func (m *RestoreFromBackupResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5290,12 +5201,12 @@ func (m *VDiffReportOptions) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VDiffReportOptions) MarshalToVT(dAtA []byte) (int, error) { +func (m *RestoreFromBackupResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VDiffReportOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RestoreFromBackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5307,42 +5218,32 @@ func (m *VDiffReportOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.MaxSampleRows != 0 { - i = encodeVarint(dAtA, i, uint64(m.MaxSampleRows)) + if m.Event != nil { + if vtmsg, ok := interface{}(m.Event).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Event) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- - dAtA[i] = 0x20 - } - if len(m.Format) > 0 { - i -= len(m.Format) - copy(dAtA[i:], m.Format) - i = encodeVarint(dAtA, i, uint64(len(m.Format))) - i-- - dAtA[i] = 0x1a - } - if m.DebugQuery { - i-- - if m.DebugQuery { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if m.OnlyPks { - i-- - if m.OnlyPks { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VDiffCoreOptions) MarshalVT() (dAtA []byte, err error) { +func (m *CreateVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5355,12 +5256,12 @@ func (m *VDiffCoreOptions) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VDiffCoreOptions) MarshalToVT(dAtA []byte) (int, error) { +func (m *CreateVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VDiffCoreOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CreateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5372,173 +5273,57 @@ func (m *VDiffCoreOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.UpdateTableStats { + if len(m.Options) > 0 { + i -= len(m.Options) + copy(dAtA[i:], m.Options) + i = encodeVarint(dAtA, i, uint64(len(m.Options))) i-- - if m.UpdateTableStats { + dAtA[i] = 0x5a + } + if m.StopAfterCopy { + i-- + if m.StopAfterCopy { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x40 - } - if m.MaxExtraRowsToCompare != 0 { - i = encodeVarint(dAtA, i, uint64(m.MaxExtraRowsToCompare)) - i-- - dAtA[i] = 0x38 - } - if m.TimeoutSeconds != 0 { - i = encodeVarint(dAtA, i, uint64(m.TimeoutSeconds)) - i-- - dAtA[i] = 0x30 - } - if m.SamplePct != 0 { - i = encodeVarint(dAtA, i, uint64(m.SamplePct)) - i-- - dAtA[i] = 0x28 + dAtA[i] = 0x50 } - if m.Checksum { + if m.AutoStart { i-- - if m.Checksum { + if m.AutoStart { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x20 - } - if m.MaxRows != 0 { - i = encodeVarint(dAtA, i, uint64(m.MaxRows)) - i-- - dAtA[i] = 0x18 + dAtA[i] = 0x48 } - if m.AutoRetry { + if m.DeferSecondaryKeys { i-- - if m.AutoRetry { + if m.DeferSecondaryKeys { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x10 - } - if len(m.Tables) > 0 { - i -= len(m.Tables) - copy(dAtA[i:], m.Tables) - i = encodeVarint(dAtA, i, uint64(len(m.Tables))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *VDiffOptions) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *VDiffOptions) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *VDiffOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if m.ReportOptions != nil { - size, err := m.ReportOptions.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x1a - } - if m.CoreOptions != nil { - size, err := m.CoreOptions.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 + dAtA[i] = 0x40 } - if m.PickerOptions != nil { - size, err := m.PickerOptions.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if m.WorkflowSubType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowSubType)) i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *UpdateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) + dAtA[i] = 0x38 } - if m.State != 0 { - i = encodeVarint(dAtA, i, uint64(m.State)) + if m.WorkflowType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowType)) i-- dAtA[i] = 0x30 } - if m.OnDdl != 0 { - i = encodeVarint(dAtA, i, uint64(m.OnDdl)) - i-- - dAtA[i] = 0x28 - } if m.TabletSelectionPreference != 0 { i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x28 } if len(m.TabletTypes) > 0 { var pksize2 int @@ -5559,7 +5344,7 @@ func (m *UpdateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) } i = encodeVarint(dAtA, i, uint64(pksize2)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x22 } if len(m.Cells) > 0 { for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { @@ -5567,6 +5352,30 @@ func (m *UpdateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) copy(dAtA[i:], m.Cells[iNdEx]) i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) i-- + dAtA[i] = 0x1a + } + } + if len(m.BinlogSource) > 0 { + for iNdEx := len(m.BinlogSource) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.BinlogSource[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BinlogSource[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- dAtA[i] = 0x12 } } @@ -5580,7 +5389,7 @@ func (m *UpdateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) return len(dAtA) - i, nil } -func (m *UpdateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { +func (m *CreateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5593,12 +5402,12 @@ func (m *UpdateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error return dAtA[:n], nil } -func (m *UpdateVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *CreateVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *UpdateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CreateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5635,7 +5444,7 @@ func (m *UpdateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) return len(dAtA) - i, nil } -func (m *ResetSequencesRequest) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteTableDataRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5648,12 +5457,12 @@ func (m *ResetSequencesRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResetSequencesRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteTableDataRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ResetSequencesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteTableDataRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5665,11 +5474,26 @@ func (m *ResetSequencesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Tables) > 0 { - for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tables[iNdEx]) - copy(dAtA[i:], m.Tables[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + if m.BatchSize != 0 { + i = encodeVarint(dAtA, i, uint64(m.BatchSize)) + i-- + dAtA[i] = 0x10 + } + if len(m.TableFilters) > 0 { + for k := range m.TableFilters { + v := m.TableFilters[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0xa } @@ -5677,7 +5501,7 @@ func (m *ResetSequencesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ResetSequencesResponse) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteTableDataResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5690,12 +5514,12 @@ func (m *ResetSequencesResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResetSequencesResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteTableDataResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ResetSequencesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteTableDataResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5710,7 +5534,7 @@ func (m *ResetSequencesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *CheckThrottlerRequest) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5723,12 +5547,12 @@ func (m *CheckThrottlerRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CheckThrottlerRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CheckThrottlerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5740,17 +5564,17 @@ func (m *CheckThrottlerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.AppName) > 0 { - i -= len(m.AppName) - copy(dAtA[i:], m.AppName) - i = encodeVarint(dAtA, i, uint64(len(m.AppName))) - i-- + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CheckThrottlerResponse) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5763,12 +5587,12 @@ func (m *CheckThrottlerResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CheckThrottlerResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CheckThrottlerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5780,2175 +5604,10325 @@ func (m *CheckThrottlerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.RecentlyChecked { - i-- - if m.RecentlyChecked { - dAtA[i] = 1 + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - dAtA[i] = 0 + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x30 - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarint(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Error) > 0 { - i -= len(m.Error) - copy(dAtA[i:], m.Error) - i = encodeVarint(dAtA, i, uint64(len(m.Error))) - i-- - dAtA[i] = 0x22 - } - if m.Threshold != 0 { - i -= 8 - binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Threshold)))) - i-- - dAtA[i] = 0x19 - } - if m.Value != 0 { - i -= 8 - binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x11 - } - if m.StatusCode != 0 { - i = encodeVarint(dAtA, i, uint64(m.StatusCode)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarint(dAtA []byte, offset int, v uint64) int { - offset -= sov(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *TableDefinition) SizeVT() (n int) { +func (m *HasVReplicationWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Schema) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if len(m.Columns) > 0 { - for _, s := range m.Columns { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if len(m.PrimaryKeyColumns) > 0 { - for _, s := range m.PrimaryKeyColumns { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - l = len(m.Type) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.DataLength != 0 { - n += 1 + sov(uint64(m.DataLength)) - } - if m.RowCount != 0 { - n += 1 + sov(uint64(m.RowCount)) + return nil, nil } - if len(m.Fields) > 0 { - for _, e := range m.Fields { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *SchemaDefinition) SizeVT() (n int) { +func (m *HasVReplicationWorkflowsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *HasVReplicationWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.DatabaseSchema) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if len(m.TableDefinitions) > 0 { - for _, e := range m.TableDefinitions { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *SchemaChangeResult) SizeVT() (n int) { +func (m *HasVReplicationWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if m.BeforeSchema != nil { - l = m.BeforeSchema.SizeVT() - n += 1 + l + sov(uint64(l)) + return nil, nil } - if m.AfterSchema != nil { - l = m.AfterSchema.SizeVT() - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *UserPermission) SizeVT() (n int) { +func (m *HasVReplicationWorkflowsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *HasVReplicationWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Host) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.User) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.PasswordChecksum != 0 { - n += 1 + sov(uint64(m.PasswordChecksum)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.Privileges) > 0 { - for k, v := range m.Privileges { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + if m.Has { + i-- + if m.Has { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x8 } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *DbPermission) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Host) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Db) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.User) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - if len(m.Privileges) > 0 { - for k, v := range m.Privileges { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *Permissions) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadVReplicationWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if len(m.UserPermissions) > 0 { - for _, e := range m.UserPermissions { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ExcludeFrozen { + i-- + if m.ExcludeFrozen { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x30 } - if len(m.DbPermissions) > 0 { - for _, e := range m.DbPermissions { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.ExcludeStates) > 0 { + var pksize2 int + for _, num := range m.ExcludeStates { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.ExcludeStates { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x2a } - n += len(m.unknownFields) - return n -} - -func (m *PingRequest) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.ExcludeWorkflows) > 0 { + for iNdEx := len(m.ExcludeWorkflows) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeWorkflows[iNdEx]) + copy(dAtA[i:], m.ExcludeWorkflows[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeWorkflows[iNdEx]))) + i-- + dAtA[i] = 0x22 + } } - var l int - _ = l - l = len(m.Payload) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.IncludeStates) > 0 { + var pksize4 int + for _, num := range m.IncludeStates { + pksize4 += sov(uint64(num)) + } + i -= pksize4 + j3 := i + for _, num1 := range m.IncludeStates { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j3] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j3++ + } + dAtA[j3] = uint8(num) + j3++ + } + i = encodeVarint(dAtA, i, uint64(pksize4)) + i-- + dAtA[i] = 0x1a } - n += len(m.unknownFields) - return n -} - -func (m *PingResponse) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.IncludeWorkflows) > 0 { + for iNdEx := len(m.IncludeWorkflows) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeWorkflows[iNdEx]) + copy(dAtA[i:], m.IncludeWorkflows[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.IncludeWorkflows[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - var l int - _ = l - l = len(m.Payload) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.IncludeIds) > 0 { + var pksize6 int + for _, num := range m.IncludeIds { + pksize6 += sov(uint64(num)) + } + i -= pksize6 + j5 := i + for _, num1 := range m.IncludeIds { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j5] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j5++ + } + dAtA[j5] = uint8(num) + j5++ + } + i = encodeVarint(dAtA, i, uint64(pksize6)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *SleepRequest) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Duration != 0 { - n += 1 + sov(uint64(m.Duration)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *SleepResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *ReadVReplicationWorkflowsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ExecuteHookRequest) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if len(m.Parameters) > 0 { - for _, s := range m.Parameters { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.ExtraEnv) > 0 { - for k, v := range m.ExtraEnv { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + if len(m.Workflows) > 0 { + for iNdEx := len(m.Workflows) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Workflows[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *ExecuteHookResponse) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if m.ExitStatus != 0 { - n += 1 + sov(uint64(m.ExitStatus)) - } - l = len(m.Stdout) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - l = len(m.Stderr) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *GetSchemaRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Tables) > 0 { - for _, s := range m.Tables { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if m.IncludeViews { - n += 2 - } - if len(m.ExcludeTables) > 0 { - for _, s := range m.ExcludeTables { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if m.TableSchemaOnly { - n += 2 - } - n += len(m.unknownFields) - return n +func (m *ReadVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSchemaResponse) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.SchemaDefinition != nil { - l = m.SchemaDefinition.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - n += len(m.unknownFields) - return n -} - -func (m *GetPermissionsRequest) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa } - var l int - _ = l - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *GetPermissionsResponse) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowResponse_Stream) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Permissions != nil { - l = m.Permissions.SizeVT() - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *SetReadOnlyRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SetReadOnlyResponse) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - n += len(m.unknownFields) - return n -} - -func (m *SetReadWriteRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *SetReadWriteResponse) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.ComponentThrottled) > 0 { + i -= len(m.ComponentThrottled) + copy(dAtA[i:], m.ComponentThrottled) + i = encodeVarint(dAtA, i, uint64(len(m.ComponentThrottled))) + i-- + dAtA[i] = 0x72 } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *ChangeTypeRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.TimeThrottled != nil { + if vtmsg, ok := interface{}(m.TimeThrottled).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeThrottled) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x6a } - var l int - _ = l - if m.TabletType != 0 { - n += 1 + sov(uint64(m.TabletType)) + if m.TimeHeartbeat != nil { + if vtmsg, ok := interface{}(m.TimeHeartbeat).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeHeartbeat) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x62 } - if m.SemiSync { - n += 2 + if m.RowsCopied != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsCopied)) + i-- + dAtA[i] = 0x58 } - n += len(m.unknownFields) - return n -} - -func (m *ChangeTypeResponse) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x52 } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *RefreshStateRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.State != 0 { + i = encodeVarint(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x48 } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *RefreshStateResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.TransactionTimestamp != nil { + if vtmsg, ok := interface{}(m.TransactionTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TransactionTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 } - var l int - _ = l - n += len(m.unknownFields) - return n + if m.TimeUpdated != nil { + if vtmsg, ok := interface{}(m.TimeUpdated).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeUpdated) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x3a + } + if m.MaxReplicationLag != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxReplicationLag)) + i-- + dAtA[i] = 0x30 + } + if m.MaxTps != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxTps)) + i-- + dAtA[i] = 0x28 + } + if len(m.StopPos) > 0 { + i -= len(m.StopPos) + copy(dAtA[i:], m.StopPos) + i = encodeVarint(dAtA, i, uint64(len(m.StopPos))) + i-- + dAtA[i] = 0x22 + } + if len(m.Pos) > 0 { + i -= len(m.Pos) + copy(dAtA[i:], m.Pos) + i = encodeVarint(dAtA, i, uint64(len(m.Pos))) + i-- + dAtA[i] = 0x1a + } + if m.Bls != nil { + if vtmsg, ok := interface{}(m.Bls).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Bls) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } -func (m *RunHealthCheckRequest) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - n += len(m.unknownFields) - return n + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *RunHealthCheckResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *ReadVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemaRequest) SizeVT() (n int) { +func (m *ReadVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.WaitPosition) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} - -func (m *ReloadSchemaResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *PreflightSchemaRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - var l int - _ = l - if len(m.Changes) > 0 { - for _, s := range m.Changes { - l = len(s) - n += 1 + l + sov(uint64(l)) + if len(m.ConfigOverrides) > 0 { + for k := range m.ConfigOverrides { + v := m.ConfigOverrides[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x6a } } - n += len(m.unknownFields) - return n -} - -func (m *PreflightSchemaResponse) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.Options) > 0 { + i -= len(m.Options) + copy(dAtA[i:], m.Options) + i = encodeVarint(dAtA, i, uint64(len(m.Options))) + i-- + dAtA[i] = 0x62 } - var l int - _ = l - if len(m.ChangeResults) > 0 { - for _, e := range m.ChangeResults { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.Streams) > 0 { + for iNdEx := len(m.Streams) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Streams[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x5a } } - n += len(m.unknownFields) - return n -} - -func (m *ApplySchemaRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 } - var l int - _ = l - l = len(m.Sql) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.WorkflowSubType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowSubType)) + i-- + dAtA[i] = 0x48 } - if m.Force { - n += 2 + if m.WorkflowType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowType)) + i-- + dAtA[i] = 0x40 } - if m.AllowReplication { - n += 2 + if len(m.Tags) > 0 { + i -= len(m.Tags) + copy(dAtA[i:], m.Tags) + i = encodeVarint(dAtA, i, uint64(len(m.Tags))) + i-- + dAtA[i] = 0x3a } - if m.BeforeSchema != nil { - l = m.BeforeSchema.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.DbName) > 0 { + i -= len(m.DbName) + copy(dAtA[i:], m.DbName) + i = encodeVarint(dAtA, i, uint64(len(m.DbName))) + i-- + dAtA[i] = 0x32 } - if m.AfterSchema != nil { - l = m.AfterSchema.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x28 } - l = len(m.SqlMode) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x22 } - if m.BatchSize != 0 { - n += 1 + sov(uint64(m.BatchSize)) + if len(m.Cells) > 0 { + i -= len(m.Cells) + copy(dAtA[i:], m.Cells) + i = encodeVarint(dAtA, i, uint64(len(m.Cells))) + i-- + dAtA[i] = 0x1a } - n += len(m.unknownFields) - return n + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil } -func (m *ApplySchemaResponse) SizeVT() (n int) { +func (m *ValidateVReplicationPermissionsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if m.BeforeSchema != nil { - l = m.BeforeSchema.SizeVT() - n += 1 + l + sov(uint64(l)) + return nil, nil } - if m.AfterSchema != nil { - l = m.AfterSchema.SizeVT() - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *LockTablesRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *ValidateVReplicationPermissionsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *LockTablesResponse) SizeVT() (n int) { +func (m *ValidateVReplicationPermissionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - n += len(m.unknownFields) - return n + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil } -func (m *UnlockTablesRequest) SizeVT() (n int) { +func (m *ValidateVReplicationPermissionsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - n += len(m.unknownFields) - return n + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *UnlockTablesResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *ValidateVReplicationPermissionsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ExecuteQueryRequest) SizeVT() (n int) { +func (m *ValidateVReplicationPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Query) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.DbName) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.MaxRows != 0 { - n += 1 + sov(uint64(m.MaxRows)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.CallerId != nil { - if size, ok := interface{}(m.CallerId).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.Ok { + i-- + if m.Ok { + dAtA[i] = 1 } else { - l = proto.Size(m.CallerId) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x10 } - n += len(m.unknownFields) - return n + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarint(dAtA, i, uint64(len(m.User))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ExecuteQueryResponse) SizeVT() (n int) { +func (m *VDiffRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Result) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ExecuteFetchAsDbaRequest) SizeVT() (n int) { +func (m *VDiffRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Query) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.DbName) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 } - if m.MaxRows != 0 { - n += 1 + sov(uint64(m.MaxRows)) + if len(m.VdiffUuid) > 0 { + i -= len(m.VdiffUuid) + copy(dAtA[i:], m.VdiffUuid) + i = encodeVarint(dAtA, i, uint64(len(m.VdiffUuid))) + i-- + dAtA[i] = 0x2a } - if m.DisableBinlogs { - n += 2 + if len(m.ActionArg) > 0 { + i -= len(m.ActionArg) + copy(dAtA[i:], m.ActionArg) + i = encodeVarint(dAtA, i, uint64(len(m.ActionArg))) + i-- + dAtA[i] = 0x22 } - if m.ReloadSchema { - n += 2 + if len(m.Action) > 0 { + i -= len(m.Action) + copy(dAtA[i:], m.Action) + i = encodeVarint(dAtA, i, uint64(len(m.Action))) + i-- + dAtA[i] = 0x1a } - n += len(m.unknownFields) - return n + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ExecuteFetchAsDbaResponse) SizeVT() (n int) { +func (m *VDiffResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Result) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ExecuteFetchAsAllPrivsRequest) SizeVT() (n int) { +func (m *VDiffResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Query) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.DbName) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.VdiffUuid) > 0 { + i -= len(m.VdiffUuid) + copy(dAtA[i:], m.VdiffUuid) + i = encodeVarint(dAtA, i, uint64(len(m.VdiffUuid))) + i-- + dAtA[i] = 0x1a } - if m.MaxRows != 0 { - n += 1 + sov(uint64(m.MaxRows)) + if m.Output != nil { + if vtmsg, ok := interface{}(m.Output).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Output) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 } - if m.ReloadSchema { - n += 2 + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *ExecuteFetchAsAllPrivsResponse) SizeVT() (n int) { +func (m *VDiffPickerOptions) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Result) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ExecuteFetchAsAppRequest) SizeVT() (n int) { +func (m *VDiffPickerOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffPickerOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Query) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.MaxRows != 0 { - n += 1 + sov(uint64(m.MaxRows)) + if len(m.TargetCell) > 0 { + i -= len(m.TargetCell) + copy(dAtA[i:], m.TargetCell) + i = encodeVarint(dAtA, i, uint64(len(m.TargetCell))) + i-- + dAtA[i] = 0x1a } - n += len(m.unknownFields) - return n + if len(m.SourceCell) > 0 { + i -= len(m.SourceCell) + copy(dAtA[i:], m.SourceCell) + i = encodeVarint(dAtA, i, uint64(len(m.SourceCell))) + i-- + dAtA[i] = 0x12 + } + if len(m.TabletTypes) > 0 { + i -= len(m.TabletTypes) + copy(dAtA[i:], m.TabletTypes) + i = encodeVarint(dAtA, i, uint64(len(m.TabletTypes))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ExecuteFetchAsAppResponse) SizeVT() (n int) { +func (m *VDiffReportOptions) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Result) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ReplicationStatusRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *VDiffReportOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReplicationStatusResponse) SizeVT() (n int) { +func (m *VDiffReportOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Status != nil { - if size, ok := interface{}(m.Status).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RowDiffColumnTruncateAt != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowDiffColumnTruncateAt)) + i-- + dAtA[i] = 0x28 + } + if m.MaxSampleRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxSampleRows)) + i-- + dAtA[i] = 0x20 + } + if len(m.Format) > 0 { + i -= len(m.Format) + copy(dAtA[i:], m.Format) + i = encodeVarint(dAtA, i, uint64(len(m.Format))) + i-- + dAtA[i] = 0x1a + } + if m.DebugQuery { + i-- + if m.DebugQuery { + dAtA[i] = 1 } else { - l = proto.Size(m.Status) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x10 } - n += len(m.unknownFields) - return n + if m.OnlyPks { + i-- + if m.OnlyPks { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } -func (m *PrimaryStatusRequest) SizeVT() (n int) { +func (m *VDiffCoreOptions) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - n += len(m.unknownFields) - return n + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *PrimaryStatusResponse) SizeVT() (n int) { +func (m *VDiffCoreOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffCoreOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Status != nil { - if size, ok := interface{}(m.Status).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AutoStart != nil { + i-- + if *m.AutoStart { + dAtA[i] = 1 } else { - l = proto.Size(m.Status) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x50 } - n += len(m.unknownFields) - return n -} - -func (m *PrimaryPositionRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.MaxDiffSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxDiffSeconds)) + i-- + dAtA[i] = 0x48 } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *PrimaryPositionResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.UpdateTableStats { + i-- + if m.UpdateTableStats { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 } - var l int - _ = l - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.MaxExtraRowsToCompare != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxExtraRowsToCompare)) + i-- + dAtA[i] = 0x38 } - n += len(m.unknownFields) - return n -} - -func (m *WaitForPositionRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.TimeoutSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeoutSeconds)) + i-- + dAtA[i] = 0x30 } - var l int - _ = l - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.SamplePct != 0 { + i = encodeVarint(dAtA, i, uint64(m.SamplePct)) + i-- + dAtA[i] = 0x28 } - n += len(m.unknownFields) - return n -} - -func (m *WaitForPositionResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.Checksum { + i-- + if m.Checksum { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 } - var l int - _ = l - n += len(m.unknownFields) - return n + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if m.AutoRetry { + i-- + if m.AutoRetry { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Tables) > 0 { + i -= len(m.Tables) + copy(dAtA[i:], m.Tables) + i = encodeVarint(dAtA, i, uint64(len(m.Tables))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *StopReplicationRequest) SizeVT() (n int) { +func (m *VDiffOptions) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - n += len(m.unknownFields) - return n + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *StopReplicationResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *VDiffOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationMinimumRequest) SizeVT() (n int) { +func (m *VDiffOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.WaitTimeout != 0 { - n += 1 + sov(uint64(m.WaitTimeout)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - n += len(m.unknownFields) - return n -} - -func (m *StopReplicationMinimumResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.ReportOptions != nil { + size, err := m.ReportOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a } - var l int - _ = l - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.CoreOptions != nil { + size, err := m.CoreOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - n += len(m.unknownFields) - return n + if m.PickerOptions != nil { + size, err := m.PickerOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *StartReplicationRequest) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.SemiSync { - n += 2 + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *StartReplicationResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *UpdateVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StartReplicationUntilAfterRequest) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.WaitTimeout != 0 { - n += 1 + sov(uint64(m.WaitTimeout)) + if len(m.ConfigOverrides) > 0 { + for k := range m.ConfigOverrides { + v := m.ConfigOverrides[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x42 + } } - n += len(m.unknownFields) - return n -} - -func (m *StartReplicationUntilAfterResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.State != nil { + i = encodeVarint(dAtA, i, uint64(*m.State)) + i-- + dAtA[i] = 0x30 } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *GetReplicasRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.OnDdl != nil { + i = encodeVarint(dAtA, i, uint64(*m.OnDdl)) + i-- + dAtA[i] = 0x28 } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *GetReplicasResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.TabletSelectionPreference != nil { + i = encodeVarint(dAtA, i, uint64(*m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x20 } - var l int - _ = l - if len(m.Addrs) > 0 { - for _, s := range m.Addrs { - l = len(s) - n += 1 + l + sov(uint64(l)) + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1a } - n += len(m.unknownFields) - return n -} - -func (m *ResetReplicationRequest) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *ResetReplicationResponse) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa } - var l int - _ = l - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *VReplicationExecRequest) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - l = len(m.Query) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *VReplicationExecResponse) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.Result) + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *VReplicationWaitForPosRequest) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Id != 0 { - n += 1 + sov(uint64(m.Id)) - } - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *VReplicationWaitForPosResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *UpdateVReplicationWorkflowsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *InitPrimaryRequest) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.SemiSync { - n += 2 + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - n += len(m.unknownFields) - return n -} - -func (m *InitPrimaryResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.StopPosition != nil { + i -= len(*m.StopPosition) + copy(dAtA[i:], *m.StopPosition) + i = encodeVarint(dAtA, i, uint64(len(*m.StopPosition))) + i-- + dAtA[i] = 0x32 } - var l int - _ = l - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.Message != nil { + i -= len(*m.Message) + copy(dAtA[i:], *m.Message) + i = encodeVarint(dAtA, i, uint64(len(*m.Message))) + i-- + dAtA[i] = 0x2a } - n += len(m.unknownFields) - return n -} - -func (m *PopulateReparentJournalRequest) SizeVT() (n int) { - if m == nil { - return 0 + if m.State != nil { + i = encodeVarint(dAtA, i, uint64(*m.State)) + i-- + dAtA[i] = 0x20 } - var l int - _ = l - if m.TimeCreatedNs != 0 { - n += 1 + sov(uint64(m.TimeCreatedNs)) + if len(m.ExcludeWorkflows) > 0 { + for iNdEx := len(m.ExcludeWorkflows) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeWorkflows[iNdEx]) + copy(dAtA[i:], m.ExcludeWorkflows[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeWorkflows[iNdEx]))) + i-- + dAtA[i] = 0x1a + } } - l = len(m.ActionName) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.IncludeWorkflows) > 0 { + for iNdEx := len(m.IncludeWorkflows) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeWorkflows[iNdEx]) + copy(dAtA[i:], m.IncludeWorkflows[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.IncludeWorkflows[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if m.PrimaryAlias != nil { - if size, ok := interface{}(m.PrimaryAlias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.AllWorkflows { + i-- + if m.AllWorkflows { + dAtA[i] = 1 } else { - l = proto.Size(m.PrimaryAlias) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) - } - l = len(m.ReplicationPosition) - if l > 0 { - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x8 } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *PopulateReparentJournalResponse) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - n += len(m.unknownFields) - return n + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *InitReplicaRequest) SizeVT() (n int) { +func (m *UpdateVReplicationWorkflowsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateVReplicationWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Parent != nil { - if size, ok := interface{}(m.Parent).(interface { - SizeVT() int + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.Parent) + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) - } - l = len(m.ReplicationPosition) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.TimeCreatedNs != 0 { - n += 1 + sov(uint64(m.TimeCreatedNs)) - } - if m.SemiSync { - n += 2 + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *InitReplicaResponse) SizeVT() (n int) { +func (m *ResetSequencesRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - n += len(m.unknownFields) - return n + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *DemotePrimaryRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *ResetSequencesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DemotePrimaryResponse) SizeVT() (n int) { +func (m *ResetSequencesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.PrimaryStatus != nil { - if size, ok := interface{}(m.PrimaryStatus).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.PrimaryStatus) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0xa } - n += 1 + l + sov(uint64(l)) } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *UndoDemotePrimaryRequest) SizeVT() (n int) { +func (m *ResetSequencesResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.SemiSync { - n += 2 + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *UndoDemotePrimaryResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *ResetSequencesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReplicaWasPromotedRequest) SizeVT() (n int) { +func (m *ResetSequencesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - n += len(m.unknownFields) - return n + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil } -func (m *ReplicaWasPromotedResponse) SizeVT() (n int) { +func (m *CheckThrottlerRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *ResetReplicationParametersRequest) SizeVT() (n int) { - if m == nil { - return 0 + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ResetReplicationParametersResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *CheckThrottlerRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FullStatusRequest) SizeVT() (n int) { +func (m *CheckThrottlerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - n += len(m.unknownFields) - return n -} - -func (m *FullStatusResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - var l int - _ = l - if m.Status != nil { - if size, ok := interface{}(m.Status).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.MultiMetricsEnabled { + i-- + if m.MultiMetricsEnabled { + dAtA[i] = 1 } else { - l = proto.Size(m.Status) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} - -func (m *SetReplicationSourceRequest) SizeVT() (n int) { - if m == nil { - return 0 + i-- + dAtA[i] = 0x28 } - var l int - _ = l - if m.Parent != nil { - if size, ok := interface{}(m.Parent).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.OkIfNotExists { + i-- + if m.OkIfNotExists { + dAtA[i] = 1 } else { - l = proto.Size(m.Parent) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) - } - if m.TimeCreatedNs != 0 { - n += 1 + sov(uint64(m.TimeCreatedNs)) - } - if m.ForceStartReplication { - n += 2 + i-- + dAtA[i] = 0x20 } - l = len(m.WaitPosition) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.SkipRequestHeartbeats { + i-- + if m.SkipRequestHeartbeats { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 } - if m.SemiSync { - n += 2 + if len(m.Scope) > 0 { + i -= len(m.Scope) + copy(dAtA[i:], m.Scope) + i = encodeVarint(dAtA, i, uint64(len(m.Scope))) + i-- + dAtA[i] = 0x12 } - n += len(m.unknownFields) - return n -} - -func (m *SetReplicationSourceResponse) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.AppName) > 0 { + i -= len(m.AppName) + copy(dAtA[i:], m.AppName) + i = encodeVarint(dAtA, i, uint64(len(m.AppName))) + i-- + dAtA[i] = 0xa } - var l int - _ = l - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *ReplicaWasRestartedRequest) SizeVT() (n int) { +func (m *CheckThrottlerResponse_Metric) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Parent != nil { - if size, ok := interface{}(m.Parent).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Parent) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ReplicaWasRestartedResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n +func (m *CheckThrottlerResponse_Metric) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationAndGetStatusRequest) SizeVT() (n int) { +func (m *CheckThrottlerResponse_Metric) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.StopReplicationMode != 0 { - n += 1 + sov(uint64(m.StopReplicationMode)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - n += len(m.unknownFields) - return n -} - -func (m *StopReplicationAndGetStatusResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.ResponseCode != 0 { + i = encodeVarint(dAtA, i, uint64(m.ResponseCode)) + i-- + dAtA[i] = 0x40 } - var l int - _ = l - if m.Status != nil { - if size, ok := interface{}(m.Status).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Status) - } - n += 1 + l + sov(uint64(l)) + if len(m.Scope) > 0 { + i -= len(m.Scope) + copy(dAtA[i:], m.Scope) + i = encodeVarint(dAtA, i, uint64(len(m.Scope))) + i-- + dAtA[i] = 0x3a } - n += len(m.unknownFields) - return n + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x32 + } + if len(m.Error) > 0 { + i -= len(m.Error) + copy(dAtA[i:], m.Error) + i = encodeVarint(dAtA, i, uint64(len(m.Error))) + i-- + dAtA[i] = 0x2a + } + if m.Threshold != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Threshold)))) + i-- + dAtA[i] = 0x21 + } + if m.Value != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x19 + } + if m.StatusCode != 0 { + i = encodeVarint(dAtA, i, uint64(m.StatusCode)) + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *PromoteReplicaRequest) SizeVT() (n int) { +func (m *CheckThrottlerResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.SemiSync { - n += 2 + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *PromoteReplicaResponse) SizeVT() (n int) { +func (m *CheckThrottlerResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CheckThrottlerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Position) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - n += len(m.unknownFields) - return n + if m.ResponseCode != 0 { + i = encodeVarint(dAtA, i, uint64(m.ResponseCode)) + i-- + dAtA[i] = 0x50 + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0x4a + } + if len(m.AppName) > 0 { + i -= len(m.AppName) + copy(dAtA[i:], m.AppName) + i = encodeVarint(dAtA, i, uint64(len(m.AppName))) + i-- + dAtA[i] = 0x42 + } + if len(m.Metrics) > 0 { + for k := range m.Metrics { + v := m.Metrics[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x3a + } + } + if m.RecentlyChecked { + i-- + if m.RecentlyChecked { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x2a + } + if len(m.Error) > 0 { + i -= len(m.Error) + copy(dAtA[i:], m.Error) + i = encodeVarint(dAtA, i, uint64(len(m.Error))) + i-- + dAtA[i] = 0x22 + } + if m.Threshold != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Threshold)))) + i-- + dAtA[i] = 0x19 + } + if m.Value != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x11 + } + if m.StatusCode != 0 { + i = encodeVarint(dAtA, i, uint64(m.StatusCode)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } -func (m *BackupRequest) SizeVT() (n int) { +func (m *GetThrottlerStatusRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *GetThrottlerStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetThrottlerStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i var l int _ = l - if m.Concurrency != 0 { - n += 1 + sov(uint64(m.Concurrency)) - } - if m.AllowPrimary { - n += 2 + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.IncrementalFromPos) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *GetThrottlerStatusResponse_MetricResult) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if m.UpgradeSafe { - n += 2 + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *BackupResponse) SizeVT() (n int) { +func (m *GetThrottlerStatusResponse_MetricResult) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetThrottlerStatusResponse_MetricResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Event != nil { - if size, ok := interface{}(m.Event).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Event) - } - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - n += len(m.unknownFields) - return n + if len(m.Error) > 0 { + i -= len(m.Error) + copy(dAtA[i:], m.Error) + i = encodeVarint(dAtA, i, uint64(len(m.Error))) + i-- + dAtA[i] = 0x12 + } + if m.Value != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x9 + } + return len(dAtA) - i, nil } -func (m *RestoreFromBackupRequest) SizeVT() (n int) { +func (m *GetThrottlerStatusResponse_MetricHealth) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetThrottlerStatusResponse_MetricHealth) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetThrottlerStatusResponse_MetricHealth) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.BackupTime != nil { - if size, ok := interface{}(m.BackupTime).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.BackupTime) - } - n += 1 + l + sov(uint64(l)) - } - l = len(m.RestoreToPos) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.DryRun { - n += 2 + if m.SecondsSinceLastHealthy != 0 { + i = encodeVarint(dAtA, i, uint64(m.SecondsSinceLastHealthy)) + i-- + dAtA[i] = 0x10 } - if m.RestoreToTimestamp != nil { - if size, ok := interface{}(m.RestoreToTimestamp).(interface { - SizeVT() int + if m.LastHealthyAt != nil { + if vtmsg, ok := interface{}(m.LastHealthyAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.RestoreToTimestamp) + encoded, err := proto.Marshal(m.LastHealthyAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *RestoreFromBackupResponse) SizeVT() (n int) { +func (m *GetThrottlerStatusResponse_RecentApp) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Event != nil { - if size, ok := interface{}(m.Event).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Event) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *CreateVReplicationWorkflowRequest) SizeVT() (n int) { +func (m *GetThrottlerStatusResponse_RecentApp) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetThrottlerStatusResponse_RecentApp) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Workflow) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.BinlogSource) > 0 { - for _, e := range m.BinlogSource { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } - } - if len(m.Cells) > 0 { - for _, s := range m.Cells { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if len(m.TabletTypes) > 0 { - l = 0 - for _, e := range m.TabletTypes { - l += sov(uint64(e)) - } - n += 1 + sov(uint64(l)) + l - } - if m.TabletSelectionPreference != 0 { - n += 1 + sov(uint64(m.TabletSelectionPreference)) - } - if m.WorkflowType != 0 { - n += 1 + sov(uint64(m.WorkflowType)) - } - if m.WorkflowSubType != 0 { - n += 1 + sov(uint64(m.WorkflowSubType)) - } - if m.DeferSecondaryKeys { - n += 2 - } - if m.AutoStart { - n += 2 - } - if m.StopAfterCopy { - n += 2 + if m.ResponseCode != 0 { + i = encodeVarint(dAtA, i, uint64(m.ResponseCode)) + i-- + dAtA[i] = 0x18 } - n += len(m.unknownFields) - return n -} - -func (m *CreateVReplicationWorkflowResponse) SizeVT() (n int) { - if m == nil { - return 0 + if m.StatusCode != 0 { + i = encodeVarint(dAtA, i, uint64(m.StatusCode)) + i-- + dAtA[i] = 0x10 } - var l int - _ = l - if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int + if m.CheckedAt != nil { + if vtmsg, ok := interface{}(m.CheckedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.Result) + encoded, err := proto.Marshal(m.CheckedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *DeleteVReplicationWorkflowRequest) SizeVT() (n int) { +func (m *GetThrottlerStatusResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - l = len(m.Workflow) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *DeleteVReplicationWorkflowResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Result) - } - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n +func (m *GetThrottlerStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReadVReplicationWorkflowRequest) SizeVT() (n int) { +func (m *GetThrottlerStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Workflow) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} - -func (m *ReadVReplicationWorkflowResponse_Stream) SizeVT() (n int) { - if m == nil { - return 0 + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - var l int - _ = l - if m.Id != 0 { - n += 1 + sov(uint64(m.Id)) + if len(m.RecentApps) > 0 { + for k := range m.RecentApps { + v := m.RecentApps[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } } - if m.Bls != nil { - if size, ok := interface{}(m.Bls).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.RecentlyChecked { + i-- + if m.RecentlyChecked { + dAtA[i] = 1 } else { - l = proto.Size(m.Bls) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) - } - l = len(m.Pos) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.StopPos) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.MaxTps != 0 { - n += 1 + sov(uint64(m.MaxTps)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 } - if m.MaxReplicationLag != 0 { - n += 1 + sov(uint64(m.MaxReplicationLag)) + if len(m.AppCheckedMetrics) > 0 { + for k := range m.AppCheckedMetrics { + v := m.AppCheckedMetrics[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } } - if m.TimeUpdated != nil { - if size, ok := interface{}(m.TimeUpdated).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.TimeUpdated) + if len(m.ThrottledApps) > 0 { + for k := range m.ThrottledApps { + v := m.ThrottledApps[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x7a } - n += 1 + l + sov(uint64(l)) } - if m.TransactionTimestamp != nil { - if size, ok := interface{}(m.TransactionTimestamp).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.TransactionTimestamp) + if len(m.MetricsHealth) > 0 { + for k := range m.MetricsHealth { + v := m.MetricsHealth[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x72 } - n += 1 + l + sov(uint64(l)) } - if m.State != 0 { - n += 1 + sov(uint64(m.State)) + if len(m.MetricThresholds) > 0 { + for k := range m.MetricThresholds { + v := m.MetricThresholds[k] + baseI := i + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) + i-- + dAtA[i] = 0x11 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x6a + } } - l = len(m.Message) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.AggregatedMetrics) > 0 { + for k := range m.AggregatedMetrics { + v := m.AggregatedMetrics[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x62 + } } - if m.RowsCopied != 0 { - n += 1 + sov(uint64(m.RowsCopied)) + if len(m.MetricNameUsedAsDefault) > 0 { + i -= len(m.MetricNameUsedAsDefault) + copy(dAtA[i:], m.MetricNameUsedAsDefault) + i = encodeVarint(dAtA, i, uint64(len(m.MetricNameUsedAsDefault))) + i-- + dAtA[i] = 0x5a } - if m.TimeHeartbeat != nil { - if size, ok := interface{}(m.TimeHeartbeat).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.DefaultThreshold != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.DefaultThreshold)))) + i-- + dAtA[i] = 0x51 + } + if len(m.CustomMetricQuery) > 0 { + i -= len(m.CustomMetricQuery) + copy(dAtA[i:], m.CustomMetricQuery) + i = encodeVarint(dAtA, i, uint64(len(m.CustomMetricQuery))) + i-- + dAtA[i] = 0x4a + } + if len(m.LagMetricQuery) > 0 { + i -= len(m.LagMetricQuery) + copy(dAtA[i:], m.LagMetricQuery) + i = encodeVarint(dAtA, i, uint64(len(m.LagMetricQuery))) + i-- + dAtA[i] = 0x42 + } + if m.IsDormant { + i-- + if m.IsDormant { + dAtA[i] = 1 } else { - l = proto.Size(m.TimeHeartbeat) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x38 } - if m.TimeThrottled != nil { - if size, ok := interface{}(m.TimeThrottled).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.IsEnabled { + i-- + if m.IsEnabled { + dAtA[i] = 1 } else { - l = proto.Size(m.TimeThrottled) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x30 } - l = len(m.ComponentThrottled) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.IsOpen { + i-- + if m.IsOpen { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 } - n += len(m.unknownFields) - return n + if m.IsLeader { + i-- + if m.IsLeader { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.TabletAlias) > 0 { + i -= len(m.TabletAlias) + copy(dAtA[i:], m.TabletAlias) + i = encodeVarint(dAtA, i, uint64(len(m.TabletAlias))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ReadVReplicationWorkflowResponse) SizeVT() (n int) { +func (m *ChangeTagsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangeTagsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTagsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Workflow) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Cells) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.TabletTypes) > 0 { - l = 0 - for _, e := range m.TabletTypes { - l += sov(uint64(e)) + if m.Replace { + i-- + if m.Replace { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - n += 1 + sov(uint64(l)) + l - } - if m.TabletSelectionPreference != 0 { - n += 1 + sov(uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x10 } - l = len(m.DbName) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Tags) > 0 { + for k := range m.Tags { + v := m.Tags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } } - l = len(m.Tags) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *ChangeTagsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if m.WorkflowType != 0 { - n += 1 + sov(uint64(m.WorkflowType)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - if m.WorkflowSubType != 0 { - n += 1 + sov(uint64(m.WorkflowSubType)) + return dAtA[:n], nil +} + +func (m *ChangeTagsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTagsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } - if m.DeferSecondaryKeys { - n += 2 + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.Streams) > 0 { - for _, e := range m.Streams { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.Tags) > 0 { + for k := range m.Tags { + v := m.Tags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa } } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *VDiffRequest) SizeVT() (n int) { +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *TableDefinition) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Keyspace) + l = len(m.Name) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Workflow) + l = len(m.Schema) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Action) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Columns) > 0 { + for _, s := range m.Columns { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - l = len(m.ActionArg) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.PrimaryKeyColumns) > 0 { + for _, s := range m.PrimaryKeyColumns { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - l = len(m.VdiffUuid) + l = len(m.Type) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Options != nil { - l = m.Options.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.DataLength != 0 { + n += 1 + sov(uint64(m.DataLength)) + } + if m.RowCount != 0 { + n += 1 + sov(uint64(m.RowCount)) + } + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } } n += len(m.unknownFields) return n } -func (m *VDiffResponse) SizeVT() (n int) { +func (m *SchemaDefinition) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Id != 0 { - n += 1 + sov(uint64(m.Id)) + l = len(m.DatabaseSchema) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.Output != nil { - if size, ok := interface{}(m.Output).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Output) + if len(m.TableDefinitions) > 0 { + for _, e := range m.TableDefinitions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) } + } + n += len(m.unknownFields) + return n +} + +func (m *SchemaChangeResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BeforeSchema != nil { + l = m.BeforeSchema.SizeVT() n += 1 + l + sov(uint64(l)) } - l = len(m.VdiffUuid) + if m.AfterSchema != nil { + l = m.AfterSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UserPermission) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Host) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.User) if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.PasswordChecksum != 0 { + n += 1 + sov(uint64(m.PasswordChecksum)) + } + if len(m.Privileges) > 0 { + for k, v := range m.Privileges { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } n += len(m.unknownFields) return n } -func (m *VDiffPickerOptions) SizeVT() (n int) { +func (m *DbPermission) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.TabletTypes) + l = len(m.Host) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.SourceCell) + l = len(m.Db) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.TargetCell) + l = len(m.User) if l > 0 { n += 1 + l + sov(uint64(l)) } + if len(m.Privileges) > 0 { + for k, v := range m.Privileges { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } n += len(m.unknownFields) return n } -func (m *VDiffReportOptions) SizeVT() (n int) { +func (m *Permissions) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.OnlyPks { - n += 2 + if len(m.UserPermissions) > 0 { + for _, e := range m.UserPermissions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - if m.DebugQuery { - n += 2 + if len(m.DbPermissions) > 0 { + for _, e := range m.DbPermissions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - l = len(m.Format) + n += len(m.unknownFields) + return n +} + +func (m *PingRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Payload) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.MaxSampleRows != 0 { - n += 1 + sov(uint64(m.MaxSampleRows)) - } n += len(m.unknownFields) return n } -func (m *VDiffCoreOptions) SizeVT() (n int) { +func (m *PingResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Tables) + l = len(m.Payload) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.AutoRetry { - n += 2 + n += len(m.unknownFields) + return n +} + +func (m *SleepRequest) SizeVT() (n int) { + if m == nil { + return 0 } - if m.MaxRows != 0 { - n += 1 + sov(uint64(m.MaxRows)) + var l int + _ = l + if m.Duration != 0 { + n += 1 + sov(uint64(m.Duration)) } - if m.Checksum { - n += 2 + n += len(m.unknownFields) + return n +} + +func (m *SleepResponse) SizeVT() (n int) { + if m == nil { + return 0 } - if m.SamplePct != 0 { - n += 1 + sov(uint64(m.SamplePct)) + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ExecuteHookRequest) SizeVT() (n int) { + if m == nil { + return 0 } - if m.TimeoutSeconds != 0 { - n += 1 + sov(uint64(m.TimeoutSeconds)) + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.MaxExtraRowsToCompare != 0 { - n += 1 + sov(uint64(m.MaxExtraRowsToCompare)) + if len(m.Parameters) > 0 { + for _, s := range m.Parameters { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - if m.UpdateTableStats { - n += 2 + if len(m.ExtraEnv) > 0 { + for k, v := range m.ExtraEnv { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } } n += len(m.unknownFields) return n } -func (m *VDiffOptions) SizeVT() (n int) { +func (m *ExecuteHookResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.PickerOptions != nil { - l = m.PickerOptions.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.ExitStatus != 0 { + n += 1 + sov(uint64(m.ExitStatus)) } - if m.CoreOptions != nil { - l = m.CoreOptions.SizeVT() + l = len(m.Stdout) + if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.ReportOptions != nil { - l = m.ReportOptions.SizeVT() + l = len(m.Stderr) + if l > 0 { n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *UpdateVReplicationWorkflowRequest) SizeVT() (n int) { +func (m *GetSchemaRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Workflow) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if len(m.Cells) > 0 { - for _, s := range m.Cells { + if len(m.Tables) > 0 { + for _, s := range m.Tables { l = len(s) n += 1 + l + sov(uint64(l)) } } - if len(m.TabletTypes) > 0 { - l = 0 - for _, e := range m.TabletTypes { - l += sov(uint64(e)) - } - n += 1 + sov(uint64(l)) + l - } - if m.TabletSelectionPreference != 0 { - n += 1 + sov(uint64(m.TabletSelectionPreference)) + if m.IncludeViews { + n += 2 } - if m.OnDdl != 0 { - n += 1 + sov(uint64(m.OnDdl)) + if len(m.ExcludeTables) > 0 { + for _, s := range m.ExcludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - if m.State != 0 { - n += 1 + sov(uint64(m.State)) + if m.TableSchemaOnly { + n += 2 } n += len(m.unknownFields) return n } -func (m *UpdateVReplicationWorkflowResponse) SizeVT() (n int) { +func (m *GetSchemaResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Result != nil { - if size, ok := interface{}(m.Result).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Result) - } + if m.SchemaDefinition != nil { + l = m.SchemaDefinition.SizeVT() n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *ResetSequencesRequest) SizeVT() (n int) { +func (m *GetPermissionsRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Tables) > 0 { - for _, s := range m.Tables { - l = len(s) - n += 1 + l + sov(uint64(l)) + n += len(m.unknownFields) + return n +} + +func (m *GetPermissionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Permissions != nil { + l = m.Permissions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetGlobalStatusVarsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Variables) > 0 { + for _, s := range m.Variables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetGlobalStatusVarsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.StatusValues) > 0 { + for k, v := range m.StatusValues { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ChangeTypeRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ChangeTypeResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *PreflightSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Changes) > 0 { + for _, s := range m.Changes { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *PreflightSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ChangeResults) > 0 { + for _, e := range m.ChangeResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ApplySchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.AllowReplication { + n += 2 + } + if m.BeforeSchema != nil { + l = m.BeforeSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.AfterSchema != nil { + l = m.AfterSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.SqlMode) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.BatchSize != 0 { + n += 1 + sov(uint64(m.BatchSize)) + } + if m.DisableForeignKeyChecks { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ApplySchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BeforeSchema != nil { + l = m.BeforeSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.AfterSchema != nil { + l = m.AfterSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *LockTablesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *LockTablesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *UnlockTablesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *UnlockTablesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ExecuteQueryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteQueryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsDbaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.DisableBinlogs { + n += 2 + } + if m.ReloadSchema { + n += 2 + } + if m.DisableForeignKeyChecks { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsDbaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteMultiFetchAsDbaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.DisableBinlogs { + n += 2 + } + if m.ReloadSchema { + n += 2 + } + if m.DisableForeignKeyChecks { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteMultiFetchAsDbaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, e := range m.Results { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAllPrivsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.ReloadSchema { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAllPrivsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAppRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAppResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetUnresolvedTransactionsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AbandonAge != 0 { + n += 1 + sov(uint64(m.AbandonAge)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetUnresolvedTransactionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Transactions) > 0 { + for _, e := range m.Transactions { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReadTransactionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadTransactionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Transaction != nil { + if size, ok := interface{}(m.Transaction).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Transaction) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetTransactionInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetTransactionInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.State) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TimeCreated != 0 { + n += 1 + sov(uint64(m.TimeCreated)) + } + if len(m.Statements) > 0 { + for _, s := range m.Statements { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ConcludeTransactionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Mm { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ConcludeTransactionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *MysqlHostMetricsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *MysqlHostMetricsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.HostMetrics != nil { + if size, ok := interface{}(m.HostMetrics).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.HostMetrics) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReplicationStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicationStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrimaryStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *PrimaryStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrimaryPositionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *PrimaryPositionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WaitForPositionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WaitForPositionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationMinimumRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.WaitTimeout != 0 { + n += 1 + sov(uint64(m.WaitTimeout)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationMinimumResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationUntilAfterRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.WaitTimeout != 0 { + n += 1 + sov(uint64(m.WaitTimeout)) + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationUntilAfterResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetReplicasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetReplicasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Addrs) > 0 { + for _, s := range m.Addrs { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *VReplicationExecRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VReplicationExecResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VReplicationWaitForPosRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VReplicationWaitForPosResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *InitPrimaryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *InitPrimaryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PopulateReparentJournalRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TimeCreatedNs != 0 { + n += 1 + sov(uint64(m.TimeCreatedNs)) + } + l = len(m.ActionName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PrimaryAlias != nil { + if size, ok := interface{}(m.PrimaryAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PrimaryAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.ReplicationPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PopulateReparentJournalResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReadReparentJournalInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReadReparentJournalInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Length != 0 { + n += 1 + sov(uint64(m.Length)) + } + n += len(m.unknownFields) + return n +} + +func (m *InitReplicaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Parent != nil { + if size, ok := interface{}(m.Parent).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Parent) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.ReplicationPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TimeCreatedNs != 0 { + n += 1 + sov(uint64(m.TimeCreatedNs)) + } + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *InitReplicaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DemotePrimaryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DemotePrimaryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PrimaryStatus != nil { + if size, ok := interface{}(m.PrimaryStatus).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PrimaryStatus) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UndoDemotePrimaryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *UndoDemotePrimaryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasPromotedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasPromotedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationParametersRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationParametersResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *FullStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *FullStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetReplicationSourceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Parent != nil { + if size, ok := interface{}(m.Parent).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Parent) + } + n += 1 + l + sov(uint64(l)) + } + if m.TimeCreatedNs != 0 { + n += 1 + sov(uint64(m.TimeCreatedNs)) + } + if m.ForceStartReplication { + n += 2 + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SemiSync { + n += 2 + } + if m.HeartbeatInterval != 0 { + n += 9 + } + n += len(m.unknownFields) + return n +} + +func (m *SetReplicationSourceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasRestartedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Parent != nil { + if size, ok := interface{}(m.Parent).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Parent) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasRestartedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationAndGetStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StopReplicationMode != 0 { + n += 1 + sov(uint64(m.StopReplicationMode)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationAndGetStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PromoteReplicaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *PromoteReplicaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BackupRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + if m.AllowPrimary { + n += 2 + } + l = len(m.IncrementalFromPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.UpgradeSafe { + n += 2 + } + if m.BackupEngine != nil { + l = len(*m.BackupEngine) + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BackupResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Event != nil { + if size, ok := interface{}(m.Event).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Event) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RestoreFromBackupRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BackupTime != nil { + if size, ok := interface{}(m.BackupTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.BackupTime) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.RestoreToPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.DryRun { + n += 2 + } + if m.RestoreToTimestamp != nil { + if size, ok := interface{}(m.RestoreToTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RestoreToTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.AllowedBackupEngines) > 0 { + for _, s := range m.AllowedBackupEngines { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RestoreFromBackupResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Event != nil { + if size, ok := interface{}(m.Event).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Event) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.BinlogSource) > 0 { + for _, e := range m.BinlogSource { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if m.WorkflowType != 0 { + n += 1 + sov(uint64(m.WorkflowType)) + } + if m.WorkflowSubType != 0 { + n += 1 + sov(uint64(m.WorkflowSubType)) + } + if m.DeferSecondaryKeys { + n += 2 + } + if m.AutoStart { + n += 2 + } + if m.StopAfterCopy { + n += 2 + } + l = len(m.Options) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteTableDataRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TableFilters) > 0 { + for k, v := range m.TableFilters { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if m.BatchSize != 0 { + n += 1 + sov(uint64(m.BatchSize)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteTableDataResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DeleteVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *HasVReplicationWorkflowsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *HasVReplicationWorkflowsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Has { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.IncludeIds) > 0 { + l = 0 + for _, e := range m.IncludeIds { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if len(m.IncludeWorkflows) > 0 { + for _, s := range m.IncludeWorkflows { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.IncludeStates) > 0 { + l = 0 + for _, e := range m.IncludeStates { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if len(m.ExcludeWorkflows) > 0 { + for _, s := range m.ExcludeWorkflows { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ExcludeStates) > 0 { + l = 0 + for _, e := range m.ExcludeStates { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.ExcludeFrozen { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Workflows) > 0 { + for _, e := range m.Workflows { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowResponse_Stream) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + if m.Bls != nil { + if size, ok := interface{}(m.Bls).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Bls) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Pos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.StopPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxTps != 0 { + n += 1 + sov(uint64(m.MaxTps)) + } + if m.MaxReplicationLag != 0 { + n += 1 + sov(uint64(m.MaxReplicationLag)) + } + if m.TimeUpdated != nil { + if size, ok := interface{}(m.TimeUpdated).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeUpdated) + } + n += 1 + l + sov(uint64(l)) + } + if m.TransactionTimestamp != nil { + if size, ok := interface{}(m.TransactionTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TransactionTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + if m.State != 0 { + n += 1 + sov(uint64(m.State)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.RowsCopied != 0 { + n += 1 + sov(uint64(m.RowsCopied)) + } + if m.TimeHeartbeat != nil { + if size, ok := interface{}(m.TimeHeartbeat).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeHeartbeat) + } + n += 1 + l + sov(uint64(l)) + } + if m.TimeThrottled != nil { + if size, ok := interface{}(m.TimeThrottled).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeThrottled) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.ComponentThrottled) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cells) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Tags) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.WorkflowType != 0 { + n += 1 + sov(uint64(m.WorkflowType)) + } + if m.WorkflowSubType != 0 { + n += 1 + sov(uint64(m.WorkflowSubType)) + } + if m.DeferSecondaryKeys { + n += 2 + } + if len(m.Streams) > 0 { + for _, e := range m.Streams { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Options) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ConfigOverrides) > 0 { + for k, v := range m.ConfigOverrides { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVReplicationPermissionsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ValidateVReplicationPermissionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.User) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Ok { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Action) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ActionArg) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.VdiffUuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + if m.Output != nil { + if size, ok := interface{}(m.Output).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Output) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.VdiffUuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffPickerOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TabletTypes) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceCell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetCell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffReportOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.OnlyPks { + n += 2 + } + if m.DebugQuery { + n += 2 + } + l = len(m.Format) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxSampleRows != 0 { + n += 1 + sov(uint64(m.MaxSampleRows)) + } + if m.RowDiffColumnTruncateAt != 0 { + n += 1 + sov(uint64(m.RowDiffColumnTruncateAt)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffCoreOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Tables) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.AutoRetry { + n += 2 + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.Checksum { + n += 2 + } + if m.SamplePct != 0 { + n += 1 + sov(uint64(m.SamplePct)) + } + if m.TimeoutSeconds != 0 { + n += 1 + sov(uint64(m.TimeoutSeconds)) + } + if m.MaxExtraRowsToCompare != 0 { + n += 1 + sov(uint64(m.MaxExtraRowsToCompare)) + } + if m.UpdateTableStats { + n += 2 + } + if m.MaxDiffSeconds != 0 { + n += 1 + sov(uint64(m.MaxDiffSeconds)) + } + if m.AutoStart != nil { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PickerOptions != nil { + l = m.PickerOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.CoreOptions != nil { + l = m.CoreOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ReportOptions != nil { + l = m.ReportOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != nil { + n += 1 + sov(uint64(*m.TabletSelectionPreference)) + } + if m.OnDdl != nil { + n += 1 + sov(uint64(*m.OnDdl)) + } + if m.State != nil { + n += 1 + sov(uint64(*m.State)) + } + if len(m.ConfigOverrides) > 0 { + for k, v := range m.ConfigOverrides { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateVReplicationWorkflowsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AllWorkflows { + n += 2 + } + if len(m.IncludeWorkflows) > 0 { + for _, s := range m.IncludeWorkflows { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ExcludeWorkflows) > 0 { + for _, s := range m.ExcludeWorkflows { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.State != nil { + n += 1 + sov(uint64(*m.State)) + } + if m.Message != nil { + l = len(*m.Message) + n += 1 + l + sov(uint64(l)) + } + if m.StopPosition != nil { + l = len(*m.StopPosition) + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateVReplicationWorkflowsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ResetSequencesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ResetSequencesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *CheckThrottlerRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AppName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Scope) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SkipRequestHeartbeats { + n += 2 + } + if m.OkIfNotExists { + n += 2 + } + if m.MultiMetricsEnabled { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *CheckThrottlerResponse_Metric) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.StatusCode != 0 { + n += 1 + sov(uint64(m.StatusCode)) + } + if m.Value != 0 { + n += 9 + } + if m.Threshold != 0 { + n += 9 + } + l = len(m.Error) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Scope) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ResponseCode != 0 { + n += 1 + sov(uint64(m.ResponseCode)) + } + n += len(m.unknownFields) + return n +} + +func (m *CheckThrottlerResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StatusCode != 0 { + n += 1 + sov(uint64(m.StatusCode)) + } + if m.Value != 0 { + n += 9 + } + if m.Threshold != 0 { + n += 9 + } + l = len(m.Error) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.RecentlyChecked { + n += 2 + } + if len(m.Metrics) > 0 { + for k, v := range m.Metrics { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.AppName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ResponseCode != 0 { + n += 1 + sov(uint64(m.ResponseCode)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetThrottlerStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetThrottlerStatusResponse_MetricResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != 0 { + n += 9 + } + l = len(m.Error) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetThrottlerStatusResponse_MetricHealth) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.LastHealthyAt != nil { + if size, ok := interface{}(m.LastHealthyAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.LastHealthyAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.SecondsSinceLastHealthy != 0 { + n += 1 + sov(uint64(m.SecondsSinceLastHealthy)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetThrottlerStatusResponse_RecentApp) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CheckedAt != nil { + if size, ok := interface{}(m.CheckedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CheckedAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.StatusCode != 0 { + n += 1 + sov(uint64(m.StatusCode)) + } + if m.ResponseCode != 0 { + n += 1 + sov(uint64(m.ResponseCode)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetThrottlerStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TabletAlias) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IsLeader { + n += 2 + } + if m.IsOpen { + n += 2 + } + if m.IsEnabled { + n += 2 + } + if m.IsDormant { + n += 2 + } + l = len(m.LagMetricQuery) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CustomMetricQuery) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.DefaultThreshold != 0 { + n += 9 + } + l = len(m.MetricNameUsedAsDefault) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.AggregatedMetrics) > 0 { + for k, v := range m.AggregatedMetrics { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.MetricThresholds) > 0 { + for k, v := range m.MetricThresholds { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + 8 + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.MetricsHealth) > 0 { + for k, v := range m.MetricsHealth { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.ThrottledApps) > 0 { + for k, v := range m.ThrottledApps { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.AppCheckedMetrics) > 0 { + for k, v := range m.AppCheckedMetrics { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 2 + sov(uint64(mapEntrySize)) + } + } + if m.RecentlyChecked { + n += 3 + } + if len(m.RecentApps) > 0 { + for k, v := range m.RecentApps { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 2 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ChangeTagsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tags) > 0 { + for k, v := range m.Tags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if m.Replace { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ChangeTagsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tags) > 0 { + for k, v := range m.Tags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TableDefinition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TableDefinition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Schema = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Columns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Columns = append(m.Columns, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryKeyColumns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PrimaryKeyColumns = append(m.PrimaryKeyColumns, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + } + m.DataLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DataLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + } + m.RowCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &dev.Field{}) + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SchemaDefinition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SchemaDefinition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DatabaseSchema", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DatabaseSchema = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableDefinitions", 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 + } + m.TableDefinitions = append(m.TableDefinitions, &TableDefinition{}) + if err := m.TableDefinitions[len(m.TableDefinitions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SchemaChangeResult) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SchemaChangeResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SchemaChangeResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", 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.BeforeSchema == nil { + m.BeforeSchema = &SchemaDefinition{} + } + if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", 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.AfterSchema == nil { + m.AfterSchema = &SchemaDefinition{} + } + if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UserPermission) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UserPermission: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UserPermission: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Host = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.User = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PasswordChecksum", wireType) + } + m.PasswordChecksum = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PasswordChecksum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Privileges", 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.Privileges == nil { + m.Privileges = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Privileges[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DbPermission) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DbPermission: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DbPermission: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Host = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Db", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Db = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.User = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Privileges", 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.Privileges == nil { + m.Privileges = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Privileges[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Permissions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Permissions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Permissions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserPermissions", 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 + } + m.UserPermissions = append(m.UserPermissions, &UserPermission{}) + if err := m.UserPermissions[len(m.UserPermissions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbPermissions", 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 + } + m.DbPermissions = append(m.DbPermissions, &DbPermission{}) + if err := m.DbPermissions[len(m.DbPermissions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Payload = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Payload = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SleepRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SleepRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SleepRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) + } + m.Duration = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Duration |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SleepResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SleepResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SleepResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteHookRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteHookRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Parameters = append(m.Parameters, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExtraEnv", 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.ExtraEnv == nil { + m.ExtraEnv = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ExtraEnv[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteHookResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteHookResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType) + } + m.ExitStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ExitStatus |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Stdout = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Stderr = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeViews = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSchemaOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableSchemaOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SchemaDefinition", 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.SchemaDefinition == nil { + m.SchemaDefinition = &SchemaDefinition{} + } + if err := m.SchemaDefinition.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", 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.Permissions == nil { + m.Permissions = &Permissions{} + } + if err := m.Permissions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetGlobalStatusVarsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetGlobalStatusVarsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetGlobalStatusVarsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Variables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Variables = append(m.Variables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetGlobalStatusVarsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetGlobalStatusVarsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetGlobalStatusVarsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusValues", 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.StatusValues == nil { + m.StatusValues = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.StatusValues[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadOnlyRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadOnlyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadOnlyResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadOnlyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadWriteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadWriteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadWriteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadWriteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangeTypeRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangeTypeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangeTypeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= dev1.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangeTypeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangeTypeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangeTypeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PreflightSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PreflightSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PreflightSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Changes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Changes = append(m.Changes, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PreflightSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PreflightSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PreflightSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChangeResults", 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 + } + m.ChangeResults = append(m.ChangeResults, &SchemaChangeResult{}) + if err := m.ChangeResults[len(m.ChangeResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplySchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplySchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowReplication", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowReplication = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", 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.BeforeSchema == nil { + m.BeforeSchema = &SchemaDefinition{} + } + if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", 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.AfterSchema == nil { + m.AfterSchema = &SchemaDefinition{} + } + if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SqlMode", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SqlMode = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BatchSize", wireType) + } + m.BatchSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BatchSize |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableForeignKeyChecks", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableForeignKeyChecks = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplySchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplySchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", 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.BeforeSchema == nil { + m.BeforeSchema = &SchemaDefinition{} + } + if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", 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.AfterSchema == nil { + m.AfterSchema = &SchemaDefinition{} + } + if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LockTablesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LockTablesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LockTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LockTablesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LockTablesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LockTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UnlockTablesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UnlockTablesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UnlockTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UnlockTablesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UnlockTablesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UnlockTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteQueryRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteQueryRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteQueryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &dev2.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteQueryResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteQueryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteQueryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &dev.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsDbaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsDbaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsDbaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableBinlogs = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableForeignKeyChecks", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableForeignKeyChecks = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsDbaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsDbaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsDbaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &dev.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteMultiFetchAsDbaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteMultiFetchAsDbaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteMultiFetchAsDbaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = append(m.Sql[:0], dAtA[iNdEx:postIndex]...) + if m.Sql == nil { + m.Sql = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableBinlogs = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableForeignKeyChecks", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableForeignKeyChecks = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteMultiFetchAsDbaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteMultiFetchAsDbaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteMultiFetchAsDbaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", 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 + } + m.Results = append(m.Results, &dev.QueryResult{}) + if unmarshal, ok := interface{}(m.Results[len(m.Results)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Results[len(m.Results)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy } } - n += len(m.unknownFields) - return n -} - -func (m *ResetSequencesResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += len(m.unknownFields) - return n -} - -func (m *CheckThrottlerRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AppName) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} -func (m *CheckThrottlerResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StatusCode != 0 { - n += 1 + sov(uint64(m.StatusCode)) - } - if m.Value != 0 { - n += 9 - } - if m.Threshold != 0 { - n += 9 - } - l = len(m.Error) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.RecentlyChecked { - n += 2 + if iNdEx > l { + return io.ErrUnexpectedEOF } - n += len(m.unknownFields) - return n -} - -func sov(x uint64) (n int) { - return (bits.Len64(x|1) + 6) / 7 -} -func soz(x uint64) (n int) { - return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteFetchAsAllPrivsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7971,17 +15945,17 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TableDefinition: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TableDefinition: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -7991,61 +15965,92 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) + if m.Result == nil { + m.Result = &dev.QueryResult{} } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Schema = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Columns", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) } - var stringLen uint64 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8055,29 +16060,31 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if byteLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Columns = append(m.Columns, string(dAtA[iNdEx:postIndex])) + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrimaryKeyColumns", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) } - var stringLen uint64 + m.MaxRows = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8087,29 +16094,67 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.MaxRows |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.PrimaryKeyColumns = append(m.PrimaryKeyColumns, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8119,48 +16164,92 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + if m.Result == nil { + m.Result = &dev.QueryResult{} } - m.DataLength = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - m.DataLength |= uint64(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err } } - case 7: + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetUnresolvedTransactionsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetUnresolvedTransactionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetUnresolvedTransactionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AbandonAge", wireType) } - m.RowCount = 0 + m.AbandonAge = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8170,14 +16259,65 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RowCount |= uint64(b&0x7F) << shift + m.AbandonAge |= int64(b&0x7F) << shift if b < 0x80 { break } } - case 8: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetUnresolvedTransactionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetUnresolvedTransactionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetUnresolvedTransactionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Transactions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8204,15 +16344,15 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Fields = append(m.Fields, &dev.Field{}) - if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + m.Transactions = append(m.Transactions, &dev.TransactionMetadata{}) + if unmarshal, ok := interface{}(m.Transactions[len(m.Transactions)-1]).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Transactions[len(m.Transactions)-1]); err != nil { return err } } @@ -8239,7 +16379,7 @@ func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error { +func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8262,15 +16402,15 @@ func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SchemaDefinition: wiretype end group for non-group") + return fmt.Errorf("proto: ReadTransactionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SchemaDefinition: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DatabaseSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -8298,41 +16438,7 @@ func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DatabaseSchema = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TableDefinitions", 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 - } - m.TableDefinitions = append(m.TableDefinitions, &TableDefinition{}) - if err := m.TableDefinitions[len(m.TableDefinitions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Dtid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -8356,7 +16462,7 @@ func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SchemaChangeResult) UnmarshalVT(dAtA []byte) error { +func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8379,15 +16485,15 @@ func (m *SchemaChangeResult) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SchemaChangeResult: wiretype end group for non-group") + return fmt.Errorf("proto: ReadTransactionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SchemaChangeResult: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Transaction", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8414,18 +16520,77 @@ func (m *SchemaChangeResult) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.BeforeSchema == nil { - m.BeforeSchema = &SchemaDefinition{} + if m.Transaction == nil { + m.Transaction = &dev.TransactionMetadata{} } - if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.Transaction).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Transaction); err != nil { + return err + } } iNdEx = postIndex - case 2: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTransactionInfoRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTransactionInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTransactionInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8435,27 +16600,23 @@ func (m *SchemaChangeResult) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AfterSchema == nil { - m.AfterSchema = &SchemaDefinition{} - } - if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Dtid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -8479,7 +16640,7 @@ func (m *SchemaChangeResult) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *UserPermission) UnmarshalVT(dAtA []byte) error { +func (m *GetTransactionInfoResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8502,15 +16663,15 @@ func (m *UserPermission) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UserPermission: wiretype end group for non-group") + return fmt.Errorf("proto: GetTransactionInfoResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UserPermission: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTransactionInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -8538,11 +16699,11 @@ func (m *UserPermission) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Host = string(dAtA[iNdEx:postIndex]) + m.State = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -8570,13 +16731,13 @@ func (m *UserPermission) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.User = string(dAtA[iNdEx:postIndex]) + m.Message = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PasswordChecksum", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreated", wireType) } - m.PasswordChecksum = 0 + m.TimeCreated = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8586,16 +16747,16 @@ func (m *UserPermission) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PasswordChecksum |= uint64(b&0x7F) << shift + m.TimeCreated |= int64(b&0x7F) << shift if b < 0x80 { break } } case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Privileges", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Statements", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8605,119 +16766,178 @@ func (m *UserPermission) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Privileges == nil { - m.Privileges = make(map[string]string) + m.Statements = append(m.Statements, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConcludeTransactionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConcludeTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLength - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLength - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break } } - m.Privileges[mapkey] = mapvalue + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Mm", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Mm = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConcludeTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConcludeTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -8740,7 +16960,7 @@ func (m *UserPermission) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DbPermission) UnmarshalVT(dAtA []byte) error { +func (m *MysqlHostMetricsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8763,234 +16983,106 @@ func (m *DbPermission) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DbPermission: wiretype end group for non-group") + return fmt.Errorf("proto: MysqlHostMetricsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DbPermission: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MysqlHostMetricsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Host = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Db", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Db = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.User = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Privileges", 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 + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MysqlHostMetricsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.Privileges == nil { - m.Privileges = make(map[string]string) + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLength - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLength - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MysqlHostMetricsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MysqlHostMetricsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HostMetrics", 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.HostMetrics == nil { + m.HostMetrics = &dev3.HostMetricsResponse{} + } + if unmarshal, ok := interface{}(m.HostMetrics).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.HostMetrics); err != nil { + return err } } - m.Privileges[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -9014,7 +17106,7 @@ func (m *DbPermission) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Permissions) UnmarshalVT(dAtA []byte) error { +func (m *ReplicationStatusRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9037,15 +17129,66 @@ func (m *Permissions) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Permissions: wiretype end group for non-group") + return fmt.Errorf("proto: ReplicationStatusRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Permissions: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReplicationStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicationStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicationStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicationStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserPermissions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9072,45 +17215,72 @@ func (m *Permissions) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserPermissions = append(m.UserPermissions, &UserPermission{}) - if err := m.UserPermissions[len(m.UserPermissions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DbPermissions", wireType) + if m.Status == nil { + m.Status = &dev4.Status{} } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err } } - if msglen < 0 { - return ErrInvalidLength + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.DbPermissions = append(m.DbPermissions, &DbPermission{}) - if err := m.DbPermissions[len(m.DbPermissions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrimaryStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - iNdEx = postIndex + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrimaryStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrimaryStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9133,7 +17303,7 @@ func (m *Permissions) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PingRequest) UnmarshalVT(dAtA []byte) error { +func (m *PrimaryStatusResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9156,17 +17326,17 @@ func (m *PingRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PingRequest: wiretype end group for non-group") + return fmt.Errorf("proto: PrimaryStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PingRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PrimaryStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9176,23 +17346,35 @@ func (m *PingRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Payload = string(dAtA[iNdEx:postIndex]) + if m.Status == nil { + m.Status = &dev4.PrimaryStatus{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -9216,7 +17398,58 @@ func (m *PingRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PingResponse) UnmarshalVT(dAtA []byte) error { +func (m *PrimaryPositionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrimaryPositionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrimaryPositionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrimaryPositionResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9239,15 +17472,15 @@ func (m *PingResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PingResponse: wiretype end group for non-group") + return fmt.Errorf("proto: PrimaryPositionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PingResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PrimaryPositionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9275,7 +17508,7 @@ func (m *PingResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Payload = string(dAtA[iNdEx:postIndex]) + m.Position = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9299,7 +17532,7 @@ func (m *PingResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SleepRequest) UnmarshalVT(dAtA []byte) error { +func (m *WaitForPositionRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9322,17 +17555,17 @@ func (m *SleepRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SleepRequest: wiretype end group for non-group") + return fmt.Errorf("proto: WaitForPositionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SleepRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WaitForPositionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } - m.Duration = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9342,11 +17575,24 @@ func (m *SleepRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Duration |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9369,7 +17615,7 @@ func (m *SleepRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SleepResponse) UnmarshalVT(dAtA []byte) error { +func (m *WaitForPositionResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9392,10 +17638,10 @@ func (m *SleepResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SleepResponse: wiretype end group for non-group") + return fmt.Errorf("proto: WaitForPositionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SleepResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WaitForPositionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9420,7 +17666,7 @@ func (m *SleepResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { +func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9443,203 +17689,63 @@ func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteHookRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StopReplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteHookRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Parameters = append(m.Parameters, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExtraEnv", 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 + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.ExtraEnv == nil { - m.ExtraEnv = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLength - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLength - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - m.ExtraEnv[mapkey] = mapvalue - iNdEx = postIndex + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9662,7 +17768,7 @@ func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { +func (m *StopReplicationMinimumRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9685,34 +17791,15 @@ func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteHookResponse: wiretype end group for non-group") + return fmt.Errorf("proto: StopReplicationMinimumRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteHookResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopReplicationMinimumRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType) - } - m.ExitStatus = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExitStatus |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9740,13 +17827,13 @@ func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Stdout = string(dAtA[iNdEx:postIndex]) + m.Position = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeout", wireType) } - var stringLen uint64 + m.WaitTimeout = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9756,24 +17843,11 @@ func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.WaitTimeout |= int64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Stderr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9796,7 +17870,7 @@ func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *StopReplicationMinimumResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9819,15 +17893,15 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StopReplicationMinimumResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopReplicationMinimumResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9855,11 +17929,62 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + m.Position = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -9876,10 +18001,112 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { break } } - m.IncludeViews = bool(v != 0) - case 3: + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationUntilAfterRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationUntilAfterRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationUntilAfterRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9907,13 +18134,13 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + m.Position = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TableSchemaOnly", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeout", wireType) } - var v int + m.WaitTimeout = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9923,12 +18150,11 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.WaitTimeout |= int64(b&0x7F) << shift if b < 0x80 { break } } - m.TableSchemaOnly = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9951,7 +18177,7 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { +func (m *StartReplicationUntilAfterResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9974,48 +18200,12 @@ func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: StartReplicationUntilAfterResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StartReplicationUntilAfterResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SchemaDefinition", 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.SchemaDefinition == nil { - m.SchemaDefinition = &SchemaDefinition{} - } - if err := m.SchemaDefinition.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -10038,7 +18228,7 @@ func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetReplicasRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10061,10 +18251,10 @@ func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPermissionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetReplicasRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetReplicasRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10089,7 +18279,7 @@ func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetReplicasResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10112,17 +18302,17 @@ func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPermissionsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetReplicasResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetReplicasResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Addrs", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10132,27 +18322,23 @@ func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Permissions == nil { - m.Permissions = &Permissions{} - } - if err := m.Permissions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Addrs = append(m.Addrs, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -10176,7 +18362,7 @@ func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { +func (m *ResetReplicationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10199,10 +18385,10 @@ func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetReadOnlyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ResetReplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadOnlyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ResetReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10227,7 +18413,7 @@ func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { +func (m *ResetReplicationResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10250,10 +18436,10 @@ func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetReadOnlyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ResetReplicationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadOnlyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ResetReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10278,7 +18464,7 @@ func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { +func (m *VReplicationExecRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10301,12 +18487,44 @@ func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetReadWriteRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VReplicationExecRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadWriteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VReplicationExecRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -10329,7 +18547,7 @@ func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { +func (m *VReplicationExecResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10352,12 +18570,56 @@ func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetReadWriteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: VReplicationExecResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadWriteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VReplicationExecResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &dev.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -10380,7 +18642,7 @@ func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ChangeTypeRequest) UnmarshalVT(dAtA []byte) error { +func (m *VReplicationWaitForPosRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10403,17 +18665,17 @@ func (m *ChangeTypeRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ChangeTypeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VReplicationWaitForPosRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ChangeTypeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VReplicationWaitForPosRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - m.TabletType = 0 + m.Id = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10423,16 +18685,16 @@ func (m *ChangeTypeRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TabletType |= dev1.TabletType(b&0x7F) << shift + m.Id |= int32(b&0x7F) << shift if b < 0x80 { break } } case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10442,63 +18704,24 @@ func (m *ChangeTypeRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.SemiSync = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChangeTypeResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChangeTypeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChangeTypeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -10521,7 +18744,7 @@ func (m *ChangeTypeResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { +func (m *VReplicationWaitForPosResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10544,10 +18767,10 @@ func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RefreshStateRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VReplicationWaitForPosResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VReplicationWaitForPosResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10572,7 +18795,7 @@ func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { +func (m *InitPrimaryRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10595,12 +18818,32 @@ func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RefreshStateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: InitPrimaryRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: InitPrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -10623,7 +18866,7 @@ func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { +func (m *InitPrimaryResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10646,12 +18889,44 @@ func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") + return fmt.Errorf("proto: InitPrimaryResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: InitPrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -10674,7 +18949,7 @@ func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { +func (m *PopulateReparentJournalRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10697,66 +18972,110 @@ func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") + return fmt.Errorf("proto: PopulateReparentJournalRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PopulateReparentJournalRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + m.TimeCreatedNs = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeCreatedNs |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReloadSchemaRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + m.ActionName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryAlias", wireType) } - if iNdEx >= l { + 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 } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.PrimaryAlias == nil { + m.PrimaryAlias = &dev1.TabletAlias{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemaRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if unmarshal, ok := interface{}(m.PrimaryAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPosition", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10784,7 +19103,7 @@ func (m *ReloadSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.WaitPosition = string(dAtA[iNdEx:postIndex]) + m.ReplicationPosition = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10808,7 +19127,7 @@ func (m *ReloadSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReloadSchemaResponse) UnmarshalVT(dAtA []byte) error { +func (m *PopulateReparentJournalResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10831,10 +19150,10 @@ func (m *ReloadSchemaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: PopulateReparentJournalResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PopulateReparentJournalResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10859,7 +19178,7 @@ func (m *ReloadSchemaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PreflightSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *ReadReparentJournalInfoRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10882,44 +19201,12 @@ func (m *PreflightSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PreflightSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReadReparentJournalInfoRequest: wiretype end group for non-group") } - if fieldNum <= 0 { - return fmt.Errorf("proto: PreflightSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Changes", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Changes = append(m.Changes, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadReparentJournalInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -10942,7 +19229,7 @@ func (m *PreflightSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PreflightSchemaResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReadReparentJournalInfoResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10965,17 +19252,17 @@ func (m *PreflightSchemaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PreflightSchemaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReadReparentJournalInfoResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PreflightSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadReparentJournalInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChangeResults", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Length", wireType) } - var msglen int + m.Length = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10985,26 +19272,11 @@ func (m *PreflightSchemaResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Length |= int32(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 - } - m.ChangeResults = append(m.ChangeResults, &SchemaChangeResult{}) - if err := m.ChangeResults[len(m.ChangeResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11027,7 +19299,7 @@ func (m *PreflightSchemaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *InitReplicaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11050,87 +19322,15 @@ func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ApplySchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: InitReplicaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ApplySchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: InitReplicaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sql = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Force = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowReplication", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllowReplication = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Parent", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11157,52 +19357,24 @@ func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.BeforeSchema == nil { - m.BeforeSchema = &SchemaDefinition{} - } - if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", wireType) + if m.Parent == nil { + m.Parent = &dev1.TabletAlias{} } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.Parent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { + return err } } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AfterSchema == nil { - m.AfterSchema = &SchemaDefinition{} - } - if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } iNdEx = postIndex - case 6: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SqlMode", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPosition", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11230,83 +19402,13 @@ func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SqlMode = string(dAtA[iNdEx:postIndex]) + m.ReplicationPosition = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 7: + case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BatchSize", wireType) - } - m.BatchSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.BatchSize |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ApplySchemaResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ApplySchemaResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ApplySchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) } - var msglen int + m.TimeCreatedNs = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -11316,33 +19418,16 @@ func (m *ApplySchemaResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TimeCreatedNs |= int64(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.BeforeSchema == nil { - m.BeforeSchema = &SchemaDefinition{} - } - if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + break + } } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -11352,28 +19437,12 @@ func (m *ApplySchemaResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= 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.AfterSchema == nil { - m.AfterSchema = &SchemaDefinition{} - } - if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + m.SemiSync = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11396,7 +19465,7 @@ func (m *ApplySchemaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *LockTablesRequest) UnmarshalVT(dAtA []byte) error { +func (m *InitReplicaResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11419,10 +19488,10 @@ func (m *LockTablesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LockTablesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: InitReplicaResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LockTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: InitReplicaResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11447,7 +19516,7 @@ func (m *LockTablesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *LockTablesResponse) UnmarshalVT(dAtA []byte) error { +func (m *DemotePrimaryRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11470,10 +19539,10 @@ func (m *LockTablesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LockTablesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DemotePrimaryRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LockTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DemotePrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11498,7 +19567,7 @@ func (m *LockTablesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *UnlockTablesRequest) UnmarshalVT(dAtA []byte) error { +func (m *DemotePrimaryResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11521,12 +19590,56 @@ func (m *UnlockTablesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UnlockTablesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DemotePrimaryResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UnlockTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DemotePrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryStatus", 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.PrimaryStatus == nil { + m.PrimaryStatus = &dev4.PrimaryStatus{} + } + if unmarshal, ok := interface{}(m.PrimaryStatus).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryStatus); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11549,7 +19662,7 @@ func (m *UnlockTablesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *UnlockTablesResponse) UnmarshalVT(dAtA []byte) error { +func (m *UndoDemotePrimaryRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11572,12 +19685,32 @@ func (m *UnlockTablesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UnlockTablesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UndoDemotePrimaryRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UnlockTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UndoDemotePrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11600,7 +19733,7 @@ func (m *UnlockTablesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteQueryRequest) UnmarshalVT(dAtA []byte) error { +func (m *UndoDemotePrimaryResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11623,141 +19756,12 @@ func (m *ExecuteQueryRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteQueryRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteQueryRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) - if m.Query == nil { - m.Query = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DbName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) - } - m.MaxRows = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxRows |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { - m.CallerId = &dev2.CallerID{} - } - if unmarshal, ok := interface{}(m.CallerId).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { - return err - } - } - iNdEx = postIndex + return fmt.Errorf("proto: UndoDemotePrimaryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UndoDemotePrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11780,7 +19784,7 @@ func (m *ExecuteQueryRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteQueryResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReplicaWasPromotedRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11803,56 +19807,63 @@ func (m *ExecuteQueryResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteQueryResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReplicaWasPromotedRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteQueryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReplicaWasPromotedRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", 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 + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.Result == nil { - m.Result = &dev.QueryResult{} + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicaWasPromotedResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if unmarshal, ok := interface{}(m.Result).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { - return err - } + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicaWasPromotedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicaWasPromotedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11875,7 +19886,7 @@ func (m *ExecuteQueryResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsDbaRequest) UnmarshalVT(dAtA []byte) error { +func (m *ResetReplicationParametersRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11898,137 +19909,114 @@ func (m *ExecuteFetchAsDbaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsDbaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ResetReplicationParametersRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsDbaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ResetReplicationParametersRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLength + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + byteLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) - if m.Query == nil { - m.Query = []byte{} + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetReplicationParametersResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + if iNdEx >= l { + return io.ErrUnexpectedEOF } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetReplicationParametersResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetReplicationParametersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.DbName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) - } - m.MaxRows = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxRows |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FullStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - m.DisableBinlogs = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + if iNdEx >= l { + return io.ErrUnexpectedEOF } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - m.ReloadSchema = bool(v != 0) + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FullStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12051,7 +20039,7 @@ func (m *ExecuteFetchAsDbaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsDbaResponse) UnmarshalVT(dAtA []byte) error { +func (m *FullStatusResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12074,15 +20062,15 @@ func (m *ExecuteFetchAsDbaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsDbaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: FullStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsDbaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FullStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12109,17 +20097,17 @@ func (m *ExecuteFetchAsDbaResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Result == nil { - m.Result = &dev.QueryResult{} + if m.Status == nil { + m.Status = &dev4.FullStatus{} } - if unmarshal, ok := interface{}(m.Result).(interface { + if unmarshal, ok := interface{}(m.Status).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { return err } } @@ -12146,7 +20134,7 @@ func (m *ExecuteFetchAsDbaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { +func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12169,17 +20157,17 @@ func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsAllPrivsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetReplicationSourceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsAllPrivsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetReplicationSourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Parent", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12189,31 +20177,41 @@ func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) - if m.Query == nil { - m.Query = []byte{} + if m.Parent == nil { + m.Parent = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Parent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { + return err + } } iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) } - var stringLen uint64 + m.TimeCreatedNs = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12223,29 +20221,16 @@ func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.TimeCreatedNs |= int64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DbName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ForceStartReplication", wireType) } - m.MaxRows = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12255,14 +20240,47 @@ func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxRows |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + m.ForceStartReplication = bool(v != 0) case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -12279,7 +20297,18 @@ func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { break } } - m.ReloadSchema = bool(v != 0) + m.SemiSync = bool(v != 0) + case 6: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatInterval", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.HeartbeatInterval = float64(math.Float64frombits(v)) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12302,7 +20331,7 @@ func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsAllPrivsResponse) UnmarshalVT(dAtA []byte) error { +func (m *SetReplicationSourceResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12325,56 +20354,12 @@ func (m *ExecuteFetchAsAllPrivsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsAllPrivsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetReplicationSourceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsAllPrivsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetReplicationSourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { - m.Result = &dev.QueryResult{} - } - if unmarshal, ok := interface{}(m.Result).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { - return err - } - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12397,7 +20382,7 @@ func (m *ExecuteFetchAsAllPrivsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { +func (m *ReplicaWasRestartedRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12420,17 +20405,17 @@ func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsAppRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReplicaWasRestartedRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsAppRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReplicaWasRestartedRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Parent", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12440,45 +20425,36 @@ func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) - if m.Query == nil { - m.Query = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + if m.Parent == nil { + m.Parent = &dev1.TabletAlias{} } - m.MaxRows = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.Parent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - m.MaxRows |= uint64(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { + return err } } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12501,7 +20477,7 @@ func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReplicaWasRestartedResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12524,56 +20500,12 @@ func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsAppResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReplicaWasRestartedResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReplicaWasRestartedResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { - m.Result = &dev.QueryResult{} - } - if unmarshal, ok := interface{}(m.Result).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { - return err - } - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12596,7 +20528,7 @@ func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReplicationStatusRequest) UnmarshalVT(dAtA []byte) error { +func (m *StopReplicationAndGetStatusRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12619,12 +20551,31 @@ func (m *ReplicationStatusRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReplicationStatusRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StopReplicationAndGetStatusRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicationStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopReplicationAndGetStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopReplicationMode", wireType) + } + m.StopReplicationMode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StopReplicationMode |= dev4.StopReplicationMode(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12647,7 +20598,7 @@ func (m *ReplicationStatusRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReplicationStatusResponse) UnmarshalVT(dAtA []byte) error { +func (m *StopReplicationAndGetStatusResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12670,13 +20621,13 @@ func (m *ReplicationStatusResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReplicationStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: StopReplicationAndGetStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicationStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopReplicationAndGetStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } @@ -12706,7 +20657,7 @@ func (m *ReplicationStatusResponse) UnmarshalVT(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Status == nil { - m.Status = &dev3.Status{} + m.Status = &dev4.StopReplicationStatus{} } if unmarshal, ok := interface{}(m.Status).(interface { UnmarshalVT([]byte) error @@ -12742,7 +20693,7 @@ func (m *ReplicationStatusResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PrimaryStatusRequest) UnmarshalVT(dAtA []byte) error { +func (m *PromoteReplicaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12765,12 +20716,32 @@ func (m *PrimaryStatusRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrimaryStatusRequest: wiretype end group for non-group") + return fmt.Errorf("proto: PromoteReplicaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrimaryStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PromoteReplicaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12793,7 +20764,7 @@ func (m *PrimaryStatusRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PrimaryStatusResponse) UnmarshalVT(dAtA []byte) error { +func (m *PromoteReplicaResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12816,17 +20787,17 @@ func (m *PrimaryStatusResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrimaryStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: PromoteReplicaResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrimaryStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PromoteReplicaResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12836,35 +20807,23 @@ func (m *PrimaryStatusResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Status == nil { - m.Status = &dev3.PrimaryStatus{} - } - if unmarshal, ok := interface{}(m.Status).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { - return err - } - } + m.Position = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12888,7 +20847,7 @@ func (m *PrimaryStatusResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PrimaryPositionRequest) UnmarshalVT(dAtA []byte) error { +func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12911,12 +20870,136 @@ func (m *PrimaryPositionRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrimaryPositionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: BackupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrimaryPositionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPrimary = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncrementalFromPos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncrementalFromPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UpgradeSafe", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UpgradeSafe = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BackupEngine", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.BackupEngine = &s + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -12939,7 +21022,7 @@ func (m *PrimaryPositionRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PrimaryPositionResponse) UnmarshalVT(dAtA []byte) error { +func (m *BackupResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12962,17 +21045,17 @@ func (m *PrimaryPositionResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrimaryPositionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: BackupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrimaryPositionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12982,23 +21065,35 @@ func (m *PrimaryPositionResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Position = string(dAtA[iNdEx:postIndex]) + if m.Event == nil { + m.Event = &dev5.Event{} + } + if unmarshal, ok := interface{}(m.Event).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -13022,7 +21117,7 @@ func (m *PrimaryPositionResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *WaitForPositionRequest) UnmarshalVT(dAtA []byte) error { +func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13045,15 +21140,59 @@ func (m *WaitForPositionRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: WaitForPositionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RestoreFromBackupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: WaitForPositionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RestoreFromBackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BackupTime", 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.BackupTime == nil { + m.BackupTime = &dev6.Time{} + } + if unmarshal, ok := interface{}(m.BackupTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BackupTime); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RestoreToPos", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13081,110 +21220,104 @@ func (m *WaitForPositionRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Position = string(dAtA[iNdEx:postIndex]) + m.RestoreToPos = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WaitForPositionResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.DryRun = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RestoreToTimestamp", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + 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 + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WaitForPositionResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WaitForPositionResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLength } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + if m.RestoreToTimestamp == nil { + m.RestoreToTimestamp = &dev6.Time{} } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.RestoreToTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RestoreToTimestamp); err != nil { + return err + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowedBackupEngines", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StopReplicationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllowedBackupEngines = append(m.AllowedBackupEngines, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13207,7 +21340,7 @@ func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { +func (m *RestoreFromBackupResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13230,12 +21363,56 @@ func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StopReplicationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RestoreFromBackupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RestoreFromBackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Event", 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.Event == nil { + m.Event = &dev5.Event{} + } + if unmarshal, ok := interface{}(m.Event).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13258,7 +21435,7 @@ func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StopReplicationMinimumRequest) UnmarshalVT(dAtA []byte) error { +func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13281,15 +21458,89 @@ func (m *StopReplicationMinimumRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StopReplicationMinimumRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateVReplicationWorkflowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationMinimumRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogSource", 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 + } + m.BinlogSource = append(m.BinlogSource, &dev7.BinlogSource{}) + if unmarshal, ok := interface{}(m.BinlogSource[len(m.BinlogSource)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BinlogSource[len(m.BinlogSource)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13301,29 +21552,136 @@ func (m *StopReplicationMinimumRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v dev1.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev1.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]dev1.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v dev1.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev1.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + m.WorkflowType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowType |= dev7.VReplicationWorkflowType(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Position = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + case 7: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowSubType", wireType) } - m.WaitTimeout = 0 + m.WorkflowSubType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13333,67 +21691,16 @@ func (m *StopReplicationMinimumRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.WaitTimeout |= int64(b&0x7F) << shift + m.WorkflowSubType |= dev7.VReplicationWorkflowSubType(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StopReplicationMinimumResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StopReplicationMinimumResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationMinimumResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13403,78 +21710,15 @@ func (m *StopReplicationMinimumResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Position = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StartReplicationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.DeferSecondaryKeys = bool(v != 0) + case 9: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -13491,112 +21735,30 @@ func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { break } } - m.SemiSync = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StartReplicationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StartReplicationUntilAfterRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.AutoStart = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StartReplicationUntilAfterRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartReplicationUntilAfterRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.StopAfterCopy = bool(v != 0) + case 11: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13624,27 +21786,8 @@ func (m *StartReplicationUntilAfterRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Position = string(dAtA[iNdEx:postIndex]) + m.Options = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeout", wireType) - } - m.WaitTimeout = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.WaitTimeout |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13667,7 +21810,7 @@ func (m *StartReplicationUntilAfterRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StartReplicationUntilAfterResponse) UnmarshalVT(dAtA []byte) error { +func (m *CreateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13690,63 +21833,56 @@ func (m *StartReplicationUntilAfterResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StartReplicationUntilAfterResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateVReplicationWorkflowResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StartReplicationUntilAfterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength + 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 (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + if msglen < 0 { + return ErrInvalidLength } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetReplicasRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Result == nil { + m.Result = &dev.QueryResult{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetReplicasRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetReplicasRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13769,7 +21905,7 @@ func (m *GetReplicasRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetReplicasResponse) UnmarshalVT(dAtA []byte) error { +func (m *DeleteTableDataRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13792,17 +21928,144 @@ func (m *GetReplicasResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetReplicasResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteTableDataRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetReplicasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteTableDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Addrs", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TableFilters", wireType) } - var stringLen uint64 + 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.TableFilters == nil { + m.TableFilters = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.TableFilters[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BatchSize", wireType) + } + m.BatchSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13812,75 +22075,11 @@ func (m *GetReplicasResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.BatchSize |= int64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Addrs = append(m.Addrs, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResetReplicationRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResetReplicationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResetReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13903,7 +22102,7 @@ func (m *ResetReplicationRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ResetReplicationResponse) UnmarshalVT(dAtA []byte) error { +func (m *DeleteTableDataResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13926,10 +22125,10 @@ func (m *ResetReplicationResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ResetReplicationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteTableDataResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ResetReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteTableDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13954,7 +22153,7 @@ func (m *ResetReplicationResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VReplicationExecRequest) UnmarshalVT(dAtA []byte) error { +func (m *DeleteVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13977,15 +22176,15 @@ func (m *VReplicationExecRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VReplicationExecRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteVReplicationWorkflowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VReplicationExecRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14013,7 +22212,7 @@ func (m *VReplicationExecRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Query = string(dAtA[iNdEx:postIndex]) + m.Workflow = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14037,7 +22236,7 @@ func (m *VReplicationExecRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VReplicationExecResponse) UnmarshalVT(dAtA []byte) error { +func (m *DeleteVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14060,10 +22259,10 @@ func (m *VReplicationExecResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VReplicationExecResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteVReplicationWorkflowResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VReplicationExecResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14132,109 +22331,7 @@ func (m *VReplicationExecResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VReplicationWaitForPosRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: VReplicationWaitForPosRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VReplicationWaitForPosRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - m.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Id |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Position = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VReplicationWaitForPosResponse) UnmarshalVT(dAtA []byte) error { +func (m *HasVReplicationWorkflowsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14257,10 +22354,10 @@ func (m *VReplicationWaitForPosResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VReplicationWaitForPosResponse: wiretype end group for non-group") + return fmt.Errorf("proto: HasVReplicationWorkflowsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VReplicationWaitForPosResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: HasVReplicationWorkflowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -14285,7 +22382,7 @@ func (m *VReplicationWaitForPosResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *InitPrimaryRequest) UnmarshalVT(dAtA []byte) error { +func (m *HasVReplicationWorkflowsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14308,15 +22405,15 @@ func (m *InitPrimaryRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: InitPrimaryRequest: wiretype end group for non-group") + return fmt.Errorf("proto: HasVReplicationWorkflowsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: InitPrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: HasVReplicationWorkflowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Has", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -14333,7 +22430,7 @@ func (m *InitPrimaryRequest) UnmarshalVT(dAtA []byte) error { break } } - m.SemiSync = bool(v != 0) + m.Has = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -14356,7 +22453,7 @@ func (m *InitPrimaryRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *InitPrimaryResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReadVReplicationWorkflowsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14379,15 +22476,91 @@ func (m *InitPrimaryResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: InitPrimaryResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReadVReplicationWorkflowsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: InitPrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadVReplicationWorkflowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType == 0 { + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeIds = append(m.IncludeIds, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.IncludeIds) == 0 { + m.IncludeIds = make([]int32, 0, elementCount) + } + for iNdEx < postIndex { + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeIds = append(m.IncludeIds, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeIds", wireType) + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeWorkflows", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14415,81 +22588,80 @@ func (m *InitPrimaryResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Position = string(dAtA[iNdEx:postIndex]) + m.IncludeWorkflows = append(m.IncludeWorkflows, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PopulateReparentJournalRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PopulateReparentJournalRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PopulateReparentJournalRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) - } - m.TimeCreatedNs = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + case 3: + if wireType == 0 { + var v dev7.VReplicationWorkflowState + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev7.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { + m.IncludeStates = append(m.IncludeStates, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - m.TimeCreatedNs |= int64(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + if elementCount != 0 && len(m.IncludeStates) == 0 { + m.IncludeStates = make([]dev7.VReplicationWorkflowState, 0, elementCount) + } + for iNdEx < postIndex { + var v dev7.VReplicationWorkflowState + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev7.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeStates = append(m.IncludeStates, v) } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeStates", wireType) } - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeWorkflows", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14517,13 +22689,82 @@ func (m *PopulateReparentJournalRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ActionName = string(dAtA[iNdEx:postIndex]) + m.ExcludeWorkflows = append(m.ExcludeWorkflows, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrimaryAlias", wireType) + case 5: + if wireType == 0 { + var v dev7.VReplicationWorkflowState + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev7.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ExcludeStates = append(m.ExcludeStates, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.ExcludeStates) == 0 { + m.ExcludeStates = make([]dev7.VReplicationWorkflowState, 0, elementCount) + } + for iNdEx < postIndex { + var v dev7.VReplicationWorkflowState + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev7.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ExcludeStates = append(m.ExcludeStates, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeStates", wireType) } - var msglen int + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeFrozen", wireType) + } + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -14533,41 +22774,68 @@ func (m *PopulateReparentJournalRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLength + m.ExcludeFrozen = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.PrimaryAlias == nil { - m.PrimaryAlias = &dev1.TabletAlias{} + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadVReplicationWorkflowsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if unmarshal, ok := interface{}(m.PrimaryAlias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryAlias); err != nil { - return err - } + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 4: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadVReplicationWorkflowsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadVReplicationWorkflowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPosition", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Workflows", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -14577,23 +22845,25 @@ func (m *PopulateReparentJournalRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.ReplicationPosition = string(dAtA[iNdEx:postIndex]) + m.Workflows = append(m.Workflows, &ReadVReplicationWorkflowResponse{}) + if err := m.Workflows[len(m.Workflows)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -14617,7 +22887,7 @@ func (m *PopulateReparentJournalRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PopulateReparentJournalResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReadVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14640,12 +22910,44 @@ func (m *PopulateReparentJournalResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PopulateReparentJournalResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReadVReplicationWorkflowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PopulateReparentJournalResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -14668,7 +22970,7 @@ func (m *PopulateReparentJournalResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *InitReplicaRequest) UnmarshalVT(dAtA []byte) error { +func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14691,15 +22993,34 @@ func (m *InitReplicaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: InitReplicaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse_Stream: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: InitReplicaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse_Stream: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Parent", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Bls", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14726,24 +23047,24 @@ func (m *InitReplicaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Parent == nil { - m.Parent = &dev1.TabletAlias{} + if m.Bls == nil { + m.Bls = &dev7.BinlogSource{} } - if unmarshal, ok := interface{}(m.Parent).(interface { + if unmarshal, ok := interface{}(m.Bls).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Bls); err != nil { return err } } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPosition", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14771,32 +23092,13 @@ func (m *InitReplicaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ReplicationPosition = string(dAtA[iNdEx:postIndex]) + m.Pos = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) - } - m.TimeCreatedNs = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TimeCreatedNs |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StopPos", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -14806,168 +23108,65 @@ func (m *InitReplicaRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.SemiSync = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *InitReplicaResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: InitReplicaResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: InitReplicaResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DemotePrimaryRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DemotePrimaryRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DemotePrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DemotePrimaryResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.StopPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTps", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DemotePrimaryResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DemotePrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: + m.MaxTps = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTps |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicationLag", wireType) + } + m.MaxReplicationLag = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxReplicationLag |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrimaryStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TimeUpdated", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14994,77 +23193,26 @@ func (m *DemotePrimaryResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PrimaryStatus == nil { - m.PrimaryStatus = &dev3.PrimaryStatus{} + if m.TimeUpdated == nil { + m.TimeUpdated = &dev6.Time{} } - if unmarshal, ok := interface{}(m.PrimaryStatus).(interface { + if unmarshal, ok := interface{}(m.TimeUpdated).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryStatus); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeUpdated); err != nil { return err } } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UndoDemotePrimaryRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UndoDemotePrimaryRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UndoDemotePrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionTimestamp", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15074,318 +23222,226 @@ func (m *UndoDemotePrimaryRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.SemiSync = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UndoDemotePrimaryResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UndoDemotePrimaryResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UndoDemotePrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + if m.TransactionTimestamp == nil { + m.TransactionTimestamp = &dev6.Time{} } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength + if unmarshal, ok := interface{}(m.TransactionTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TransactionTimestamp); err != nil { + return err + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicaWasPromotedRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= dev7.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReplicaWasPromotedRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicaWasPromotedRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicaWasPromotedResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsCopied", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.RowsCopied = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsCopied |= int64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeHeartbeat", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReplicaWasPromotedResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicaWasPromotedResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + 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 (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResetReplicationParametersRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + if m.TimeHeartbeat == nil { + m.TimeHeartbeat = &dev6.Time{} } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.TimeHeartbeat).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeHeartbeat); err != nil { + return err + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeThrottled", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResetReplicationParametersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResetReplicationParametersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + 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 (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResetReplicationParametersResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + if m.TimeThrottled == nil { + m.TimeThrottled = &dev6.Time{} } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.TimeThrottled).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeThrottled); err != nil { + return err + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ComponentThrottled", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResetReplicationParametersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResetReplicationParametersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FullStatusRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: FullStatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + m.ComponentThrottled = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -15408,7 +23464,7 @@ func (m *FullStatusRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *FullStatusResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15431,17 +23487,17 @@ func (m *FullStatusResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FullStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FullStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15451,92 +23507,181 @@ func (m *FullStatusResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Status == nil { - m.Status = &dev3.FullStatus{} + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } - if unmarshal, ok := interface{}(m.Status).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break } } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + m.Cells = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v dev1.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev1.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]dev1.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v dev1.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev1.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetReplicationSourceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetReplicationSourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Parent", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15546,41 +23691,48 @@ func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Parent == nil { - m.Parent = &dev1.TabletAlias{} + m.Tags = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) } - if unmarshal, ok := interface{}(m.Parent).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.WorkflowType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowType |= dev7.VReplicationWorkflowType(b&0x7F) << shift + if b < 0x80 { + break } } - iNdEx = postIndex - case 2: + case 9: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowSubType", wireType) } - m.TimeCreatedNs = 0 + m.WorkflowSubType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15590,14 +23742,14 @@ func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TimeCreatedNs |= int64(b&0x7F) << shift + m.WorkflowSubType |= dev7.VReplicationWorkflowSubType(b&0x7F) << shift if b < 0x80 { break } } - case 3: + case 10: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ForceStartReplication", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -15614,12 +23766,12 @@ func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { break } } - m.ForceStartReplication = bool(v != 0) - case 4: + m.DeferSecondaryKeys = bool(v != 0) + case 11: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Streams", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15629,29 +23781,31 @@ func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.WaitPosition = string(dAtA[iNdEx:postIndex]) + m.Streams = append(m.Streams, &ReadVReplicationWorkflowResponse_Stream{}) + if err := m.Streams[len(m.Streams)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15661,117 +23815,27 @@ func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.SemiSync = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetReplicationSourceResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetReplicationSourceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetReplicationSourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicaWasRestartedRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReplicaWasRestartedRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicaWasRestartedRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.Options = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Parent", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConfigOverrides", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15798,20 +23862,103 @@ func (m *ReplicaWasRestartedRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Parent == nil { - m.Parent = &dev1.TabletAlias{} + if m.ConfigOverrides == nil { + m.ConfigOverrides = make(map[string]string) } - if unmarshal, ok := interface{}(m.Parent).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { - return err + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } + m.ConfigOverrides[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -15835,7 +23982,7 @@ func (m *ReplicaWasRestartedRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReplicaWasRestartedResponse) UnmarshalVT(dAtA []byte) error { +func (m *ValidateVReplicationPermissionsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15858,10 +24005,10 @@ func (m *ReplicaWasRestartedResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReplicaWasRestartedResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateVReplicationPermissionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicaWasRestartedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateVReplicationPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -15886,7 +24033,7 @@ func (m *ReplicaWasRestartedResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StopReplicationAndGetStatusRequest) UnmarshalVT(dAtA []byte) error { +func (m *ValidateVReplicationPermissionsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15909,87 +24056,17 @@ func (m *StopReplicationAndGetStatusRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StopReplicationAndGetStatusRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateVReplicationPermissionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationAndGetStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateVReplicationPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StopReplicationMode", wireType) - } - m.StopReplicationMode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StopReplicationMode |= dev3.StopReplicationMode(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StopReplicationAndGetStatusResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StopReplicationAndGetStatusResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationAndGetStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15999,90 +24076,27 @@ func (m *StopReplicationAndGetStatusResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Status == nil { - m.Status = &dev3.StopReplicationStatus{} - } - if unmarshal, ok := interface{}(m.Status).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { - return err - } - } + m.User = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PromoteReplicaRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PromoteReplicaRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PromoteReplicaRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ok", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -16099,7 +24113,7 @@ func (m *PromoteReplicaRequest) UnmarshalVT(dAtA []byte) error { break } } - m.SemiSync = bool(v != 0) + m.Ok = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -16122,7 +24136,7 @@ func (m *PromoteReplicaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PromoteReplicaResponse) UnmarshalVT(dAtA []byte) error { +func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16145,15 +24159,15 @@ func (m *PromoteReplicaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PromoteReplicaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PromoteReplicaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16181,64 +24195,45 @@ func (m *PromoteReplicaResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Position = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - if iNdEx >= l { - return io.ErrUnexpectedEOF + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if postIndex > l { + return io.ErrUnexpectedEOF } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BackupRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) } - m.Concurrency = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16248,16 +24243,29 @@ func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Concurrency |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - var v int + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Action = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionArg", wireType) + } + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16267,15 +24275,27 @@ func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.AllowPrimary = bool(v != 0) - case 3: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActionArg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IncrementalFromPos", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field VdiffUuid", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16303,13 +24323,13 @@ func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IncrementalFromPos = string(dAtA[iNdEx:postIndex]) + m.VdiffUuid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UpgradeSafe", wireType) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16319,12 +24339,28 @@ func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.UpgradeSafe = bool(v != 0) + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Options == nil { + m.Options = &VDiffOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -16347,7 +24383,7 @@ func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *BackupResponse) UnmarshalVT(dAtA []byte) error { +func (m *VDiffResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16370,15 +24406,34 @@ func (m *BackupResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BackupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -16405,21 +24460,53 @@ func (m *BackupResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Event == nil { - m.Event = &dev4.Event{} + if m.Output == nil { + m.Output = &dev.QueryResult{} } - if unmarshal, ok := interface{}(m.Event).(interface { + if unmarshal, ok := interface{}(m.Output).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Output); err != nil { return err } } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VdiffUuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VdiffUuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -16442,7 +24529,7 @@ func (m *BackupResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { +func (m *VDiffPickerOptions) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16465,17 +24552,17 @@ func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RestoreFromBackupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffPickerOptions: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RestoreFromBackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffPickerOptions: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BackupTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16485,39 +24572,27 @@ func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.BackupTime == nil { - m.BackupTime = &dev5.Time{} - } - if unmarshal, ok := interface{}(m.BackupTime).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BackupTime); err != nil { - return err - } - } + m.TabletTypes = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RestoreToPos", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SourceCell", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16545,33 +24620,13 @@ func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RestoreToPos = string(dAtA[iNdEx:postIndex]) + m.SourceCell = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DryRun = bool(v != 0) - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RestoreToTimestamp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetCell", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16581,35 +24636,23 @@ func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(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.RestoreToTimestamp == nil { - m.RestoreToTimestamp = &dev5.Time{} - } - if unmarshal, ok := interface{}(m.RestoreToTimestamp).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RestoreToTimestamp); err != nil { - return err - } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.TargetCell = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -16633,7 +24676,7 @@ func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RestoreFromBackupResponse) UnmarshalVT(dAtA []byte) error { +func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16656,17 +24699,57 @@ func (m *RestoreFromBackupResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RestoreFromBackupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffReportOptions: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RestoreFromBackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffReportOptions: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OnlyPks", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.OnlyPks = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DebugQuery", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DebugQuery = bool(v != 0) + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16676,36 +24759,62 @@ func (m *RestoreFromBackupResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Event == nil { - m.Event = &dev4.Event{} + m.Format = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxSampleRows", wireType) } - if unmarshal, ok := interface{}(m.Event).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.MaxSampleRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxSampleRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowDiffColumnTruncateAt", wireType) + } + m.RowDiffColumnTruncateAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowDiffColumnTruncateAt |= int64(b&0x7F) << shift + if b < 0x80 { + break } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -16728,7 +24837,7 @@ func (m *RestoreFromBackupResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { +func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16751,15 +24860,15 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateVReplicationWorkflowRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffCoreOptions: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffCoreOptions: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16787,13 +24896,13 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Workflow = string(dAtA[iNdEx:postIndex]) + m.Tables = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BinlogSource", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoRetry", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16803,39 +24912,17 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= 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 - } - m.BinlogSource = append(m.BinlogSource, &dev6.BinlogSource{}) - if unmarshal, ok := interface{}(m.BinlogSource[len(m.BinlogSource)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BinlogSource[len(m.BinlogSource)-1]); err != nil { - return err - } - } - iNdEx = postIndex + m.AutoRetry = bool(v != 0) case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) } - var stringLen uint64 + m.MaxRows = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16845,98 +24932,36 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.MaxRows |= int64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex case 4: - if wireType == 0 { - var v dev1.TabletType - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= dev1.TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TabletTypes = append(m.TabletTypes, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLength + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - var elementCount int - if elementCount != 0 && len(m.TabletTypes) == 0 { - m.TabletTypes = make([]dev1.TabletType, 0, elementCount) - } - for iNdEx < postIndex { - var v dev1.TabletType - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= dev1.TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TabletTypes = append(m.TabletTypes, v) + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) } + m.Checksum = bool(v != 0) case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SamplePct", wireType) } - m.TabletSelectionPreference = 0 + m.SamplePct = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16946,16 +24971,16 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift + m.SamplePct |= int64(b&0x7F) << shift if b < 0x80 { break } } case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType) } - m.WorkflowType = 0 + m.TimeoutSeconds = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16965,16 +24990,16 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.WorkflowType |= dev6.VReplicationWorkflowType(b&0x7F) << shift + m.TimeoutSeconds |= int64(b&0x7F) << shift if b < 0x80 { break } } case 7: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowSubType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxExtraRowsToCompare", wireType) } - m.WorkflowSubType = 0 + m.MaxExtraRowsToCompare = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16984,14 +25009,14 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.WorkflowSubType |= dev6.VReplicationWorkflowSubType(b&0x7F) << shift + m.MaxExtraRowsToCompare |= int64(b&0x7F) << shift if b < 0x80 { break } } case 8: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UpdateTableStats", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -17008,12 +25033,12 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { break } } - m.DeferSecondaryKeys = bool(v != 0) + m.UpdateTableStats = bool(v != 0) case 9: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxDiffSeconds", wireType) } - var v int + m.MaxDiffSeconds = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17023,15 +25048,14 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.MaxDiffSeconds |= int64(b&0x7F) << shift if b < 0x80 { break } } - m.AutoStart = bool(v != 0) case 10: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -17048,7 +25072,8 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { break } } - m.StopAfterCopy = bool(v != 0) + b := bool(v != 0) + m.AutoStart = &b default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -17071,7 +25096,7 @@ func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { +func (m *VDiffOptions) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17094,15 +25119,15 @@ func (m *CreateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateVReplicationWorkflowResponse: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffOptions: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffOptions: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PickerOptions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17129,20 +25154,84 @@ func (m *CreateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Result == nil { - m.Result = &dev.QueryResult{} + if m.PickerOptions == nil { + m.PickerOptions = &VDiffPickerOptions{} } - if unmarshal, ok := interface{}(m.Result).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if err := m.PickerOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CoreOptions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { - return err + 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.CoreOptions == nil { + m.CoreOptions = &VDiffCoreOptions{} + } + if err := m.CoreOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReportOptions", 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.ReportOptions == nil { + m.ReportOptions = &VDiffReportOptions{} + } + if err := m.ReportOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -17166,7 +25255,7 @@ func (m *CreateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { +func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17189,10 +25278,10 @@ func (m *DeleteVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteVReplicationWorkflowRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateVReplicationWorkflowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17227,60 +25316,170 @@ func (m *DeleteVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } m.Workflow = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType == 0 { + var v dev1.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev1.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]dev1.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v dev1.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev1.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + var v TabletSelectionPreference + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletSelectionPreference = &v + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var v dev7.OnDDLAction + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev7.OnDDLAction(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.OnDdl = &v + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteVReplicationWorkflowResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + var v dev7.VReplicationWorkflowState + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev7.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.State = &v + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConfigOverrides", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17307,20 +25506,103 @@ func (m *DeleteVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Result == nil { - m.Result = &dev.QueryResult{} + if m.ConfigOverrides == nil { + m.ConfigOverrides = make(map[string]string) } - if unmarshal, ok := interface{}(m.Result).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { - return err + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } + m.ConfigOverrides[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -17344,7 +25626,7 @@ func (m *DeleteVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReadVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { +func (m *UpdateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17367,17 +25649,17 @@ func (m *ReadVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReadVReplicationWorkflowRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateVReplicationWorkflowResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReadVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17387,23 +25669,35 @@ func (m *ReadVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Workflow = string(dAtA[iNdEx:postIndex]) + if m.Result == nil { + m.Result = &dev.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -17427,7 +25721,7 @@ func (m *ReadVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error { +func (m *UpdateVReplicationWorkflowsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17450,17 +25744,17 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReadVReplicationWorkflowResponse_Stream: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateVReplicationWorkflowsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReadVReplicationWorkflowResponse_Stream: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateVReplicationWorkflowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllWorkflows", wireType) } - m.Id = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17470,58 +25764,15 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.Id |= int32(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + m.AllWorkflows = bool(v != 0) case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Bls", 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.Bls == nil { - m.Bls = &dev6.BinlogSource{} - } - if unmarshal, ok := interface{}(m.Bls).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Bls); err != nil { - return err - } - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeWorkflows", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17549,11 +25800,11 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - m.Pos = string(dAtA[iNdEx:postIndex]) + m.IncludeWorkflows = append(m.IncludeWorkflows, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StopPos", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeWorkflows", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17581,13 +25832,13 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - m.StopPos = string(dAtA[iNdEx:postIndex]) + m.ExcludeWorkflows = append(m.ExcludeWorkflows, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 5: + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTps", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - m.MaxTps = 0 + var v dev7.VReplicationWorkflowState for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17597,16 +25848,17 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.MaxTps |= int64(b&0x7F) << shift + v |= dev7.VReplicationWorkflowState(b&0x7F) << shift if b < 0x80 { break } } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicationLag", wireType) + m.State = &v + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } - m.MaxReplicationLag = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17616,16 +25868,30 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.MaxReplicationLag |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 7: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.Message = &s + iNdEx = postIndex + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeUpdated", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StopPosition", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17635,39 +25901,79 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.TimeUpdated == nil { - m.TimeUpdated = &dev5.Time{} + s := string(dAtA[iNdEx:postIndex]) + m.StopPosition = &s + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - if unmarshal, ok := interface{}(m.TimeUpdated).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeUpdated); err != nil { - return err - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength } - iNdEx = postIndex - case 8: + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateVReplicationWorkflowsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateVReplicationWorkflowsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateVReplicationWorkflowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransactionTimestamp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17694,26 +26000,77 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - if m.TransactionTimestamp == nil { - m.TransactionTimestamp = &dev5.Time{} + if m.Result == nil { + m.Result = &dev.QueryResult{} } - if unmarshal, ok := interface{}(m.TransactionTimestamp).(interface { + if unmarshal, ok := interface{}(m.Result).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TransactionTimestamp); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { return err } } iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - m.State = 0 + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetSequencesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetSequencesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetSequencesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17723,14 +26080,129 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.State |= dev6.VReplicationWorkflowState(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 10: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetSequencesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetSequencesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetSequencesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CheckThrottlerRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CheckThrottlerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CheckThrottlerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17758,32 +26230,13 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - m.Message = string(dAtA[iNdEx:postIndex]) + m.AppName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RowsCopied", wireType) - } - m.RowsCopied = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RowsCopied |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeHeartbeat", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17793,41 +26246,29 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.TimeHeartbeat == nil { - m.TimeHeartbeat = &dev5.Time{} - } - if unmarshal, ok := interface{}(m.TimeHeartbeat).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeHeartbeat); err != nil { - return err - } - } + m.Scope = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeThrottled", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipRequestHeartbeats", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17837,41 +26278,37 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= 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.TimeThrottled == nil { - m.TimeThrottled = &dev5.Time{} + m.SkipRequestHeartbeats = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OkIfNotExists", wireType) } - if unmarshal, ok := interface{}(m.TimeThrottled).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeThrottled); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break } } - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ComponentThrottled", wireType) + m.OkIfNotExists = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MultiMetricsEnabled", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17881,24 +26318,12 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ComponentThrottled = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.MultiMetricsEnabled = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -17921,7 +26346,7 @@ func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error } return nil } -func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { +func (m *CheckThrottlerResponse_Metric) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17944,15 +26369,15 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReadVReplicationWorkflowResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CheckThrottlerResponse_Metric: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReadVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CheckThrottlerResponse_Metric: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17980,13 +26405,13 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Workflow = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusCode", wireType) } - var stringLen uint64 + m.StatusCode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17996,115 +26421,36 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.StatusCode |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - if postIndex > l { + var v uint64 + if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } - m.Cells = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) case 4: - if wireType == 0 { - var v dev1.TabletType - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= dev1.TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TabletTypes = append(m.TabletTypes, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - if elementCount != 0 && len(m.TabletTypes) == 0 { - m.TabletTypes = make([]dev1.TabletType, 0, elementCount) - } - for iNdEx < postIndex { - var v dev1.TabletType - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= dev1.TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TabletTypes = append(m.TabletTypes, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) } - m.TabletSelectionPreference = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift - if b < 0x80 { - break - } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF } - case 6: + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Threshold = float64(math.Float64frombits(v)) + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18132,11 +26478,11 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DbName = string(dAtA[iNdEx:postIndex]) + m.Error = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 7: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18164,13 +26510,13 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tags = string(dAtA[iNdEx:postIndex]) + m.Message = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) } - m.WorkflowType = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18180,55 +26526,29 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.WorkflowType |= dev6.VReplicationWorkflowType(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowSubType", wireType) - } - m.WorkflowSubType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.WorkflowSubType |= dev6.VReplicationWorkflowSubType(b&0x7F) << shift - if b < 0x80 { - break - } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - case 10: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if postIndex > l { + return io.ErrUnexpectedEOF } - m.DeferSecondaryKeys = bool(v != 0) - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Streams", wireType) + m.Scope = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ResponseCode", wireType) } - var msglen int + m.ResponseCode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18238,26 +26558,11 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.ResponseCode |= CheckThrottlerResponseCode(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 - } - m.Streams = append(m.Streams, &ReadVReplicationWorkflowResponse_Stream{}) - if err := m.Streams[len(m.Streams)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -18280,7 +26585,7 @@ func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { +func (m *CheckThrottlerResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18303,15 +26608,56 @@ func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VDiffRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CheckThrottlerResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VDiffRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CheckThrottlerResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusCode", wireType) + } + m.StatusCode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StatusCode |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Threshold = float64(math.Float64frombits(v)) + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18339,11 +26685,11 @@ func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Error = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18360,22 +26706,171 @@ func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Workflow = string(dAtA[iNdEx:postIndex]) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RecentlyChecked", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RecentlyChecked = bool(v != 0) + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metrics", 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.Metrics == nil { + m.Metrics = make(map[string]*CheckThrottlerResponse_Metric) + } + var mapkey string + var mapvalue *CheckThrottlerResponse_Metric + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &CheckThrottlerResponse_Metric{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Metrics[mapkey] = mapvalue iNdEx = postIndex - case 3: + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18403,11 +26898,11 @@ func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Action = string(dAtA[iNdEx:postIndex]) + m.AppName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 9: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionArg", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18435,13 +26930,13 @@ func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ActionArg = string(dAtA[iNdEx:postIndex]) + m.Summary = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VdiffUuid", wireType) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ResponseCode", wireType) } - var stringLen uint64 + m.ResponseCode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18451,60 +26946,62 @@ func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.ResponseCode |= CheckThrottlerResponseCode(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.VdiffUuid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Options", 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 + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetThrottlerStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.Options == nil { - m.Options = &VDiffOptions{} - } - if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetThrottlerStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetThrottlerStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -18527,7 +27024,7 @@ func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VDiffResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetThrottlerStatusResponse_MetricResult) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18550,78 +27047,26 @@ func (m *VDiffResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VDiffResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetThrottlerStatusResponse_MetricResult: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VDiffResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetThrottlerStatusResponse_MetricResult: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - m.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Id |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output", 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 wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - if postIndex > l { + var v uint64 + if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } - if m.Output == nil { - m.Output = &dev.QueryResult{} - } - if unmarshal, ok := interface{}(m.Output).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Output); err != nil { - return err - } - } - iNdEx = postIndex - case 3: + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VdiffUuid", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18649,7 +27094,7 @@ func (m *VDiffResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.VdiffUuid = string(dAtA[iNdEx:postIndex]) + m.Error = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -18673,7 +27118,7 @@ func (m *VDiffResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VDiffPickerOptions) UnmarshalVT(dAtA []byte) error { +func (m *GetThrottlerStatusResponse_MetricHealth) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18696,49 +27141,17 @@ func (m *VDiffPickerOptions) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VDiffPickerOptions: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VDiffPickerOptions: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetThrottlerStatusResponse_MetricHealth: wiretype end group for non-group") } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TabletTypes = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + if fieldNum <= 0 { + return fmt.Errorf("proto: GetThrottlerStatusResponse_MetricHealth: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceCell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LastHealthyAt", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18748,29 +27161,41 @@ func (m *VDiffPickerOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.SourceCell = string(dAtA[iNdEx:postIndex]) + if m.LastHealthyAt == nil { + m.LastHealthyAt = &dev6.Time{} + } + if unmarshal, ok := interface{}(m.LastHealthyAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.LastHealthyAt); err != nil { + return err + } + } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetCell", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SecondsSinceLastHealthy", wireType) } - var stringLen uint64 + m.SecondsSinceLastHealthy = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18780,24 +27205,11 @@ func (m *VDiffPickerOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.SecondsSinceLastHealthy |= int64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetCell = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -18820,7 +27232,7 @@ func (m *VDiffPickerOptions) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { +func (m *GetThrottlerStatusResponse_RecentApp) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18843,17 +27255,17 @@ func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VDiffReportOptions: wiretype end group for non-group") + return fmt.Errorf("proto: GetThrottlerStatusResponse_RecentApp: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VDiffReportOptions: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetThrottlerStatusResponse_RecentApp: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OnlyPks", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckedAt", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18863,37 +27275,41 @@ func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.OnlyPks = bool(v != 0) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DebugQuery", wireType) + if msglen < 0 { + return ErrInvalidLength } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CheckedAt == nil { + m.CheckedAt = &dev6.Time{} + } + if unmarshal, ok := interface{}(m.CheckedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CheckedAt); err != nil { + return err } } - m.DebugQuery = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusCode", wireType) } - var stringLen uint64 + m.StatusCode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18903,29 +27319,16 @@ func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.StatusCode |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Format = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxSampleRows", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResponseCode", wireType) } - m.MaxSampleRows = 0 + m.ResponseCode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18935,7 +27338,7 @@ func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxSampleRows |= int64(b&0x7F) << shift + m.ResponseCode |= CheckThrottlerResponseCode(b&0x7F) << shift if b < 0x80 { break } @@ -18962,7 +27365,7 @@ func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { +func (m *GetThrottlerStatusResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18985,15 +27388,15 @@ func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VDiffCoreOptions: wiretype end group for non-group") + return fmt.Errorf("proto: GetThrottlerStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VDiffCoreOptions: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetThrottlerStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19021,13 +27424,13 @@ func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tables = string(dAtA[iNdEx:postIndex]) + m.TabletAlias = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AutoRetry", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19037,56 +27440,29 @@ func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.AutoRetry = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) - } - m.MaxRows = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxRows |= int64(b&0x7F) << shift - if b < 0x80 { - break - } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType) + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if postIndex > l { + return io.ErrUnexpectedEOF } - m.Checksum = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SamplePct", wireType) + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } - m.SamplePct = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19096,35 +27472,29 @@ func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SamplePct |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - m.TimeoutSeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TimeoutSeconds |= int64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - case 7: + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxExtraRowsToCompare", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IsLeader", wireType) } - m.MaxExtraRowsToCompare = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19134,14 +27504,15 @@ func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxExtraRowsToCompare |= int64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 8: + m.IsLeader = bool(v != 0) + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UpdateTableStats", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IsOpen", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -19158,63 +27529,52 @@ func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { break } } - m.UpdateTableStats = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + m.IsOpen = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsEnabled", wireType) } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *VDiffOptions) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.IsEnabled = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsDormant", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: VDiffOptions: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: VDiffOptions: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.IsDormant = bool(v != 0) + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PickerOptions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LagMetricQuery", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19224,33 +27584,29 @@ func (m *VDiffOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.PickerOptions == nil { - m.PickerOptions = &VDiffPickerOptions{} - } - if err := m.PickerOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.LagMetricQuery = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 9: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CoreOptions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CustomMetricQuery", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19260,33 +27616,40 @@ func (m *VDiffOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.CoreOptions == nil { - m.CoreOptions = &VDiffCoreOptions{} + m.CustomMetricQuery = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultThreshold", wireType) } - if err := m.CoreOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 3: + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.DefaultThreshold = float64(math.Float64frombits(v)) + case 11: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReportOptions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MetricNameUsedAsDefault", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19296,84 +27659,29 @@ func (m *VDiffOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReportOptions == nil { - m.ReportOptions = &VDiffReportOptions{} - } - if err := m.ReportOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.MetricNameUsedAsDefault = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateVReplicationWorkflowRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 12: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AggregatedMetrics", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19383,29 +27691,126 @@ func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Workflow = string(dAtA[iNdEx:postIndex]) + if m.AggregatedMetrics == nil { + m.AggregatedMetrics = make(map[string]*GetThrottlerStatusResponse_MetricResult) + } + var mapkey string + var mapvalue *GetThrottlerStatusResponse_MetricResult + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &GetThrottlerStatusResponse_MetricResult{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.AggregatedMetrics[mapkey] = mapvalue iNdEx = postIndex - case 2: + case 13: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MetricThresholds", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19415,44 +27820,29 @@ func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType == 0 { - var v dev1.TabletType - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= dev1.TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TabletTypes = append(m.TabletTypes, v) - } else if wireType == 2 { - var packedLen int + if m.MetricThresholds == nil { + m.MetricThresholds = make(map[string]float64) + } + var mapkey string + var mapvalue float64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19462,27 +27852,14 @@ func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= int(b&0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if packedLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - if elementCount != 0 && len(m.TabletTypes) == 0 { - m.TabletTypes = make([]dev1.TabletType, 0, elementCount) - } - for iNdEx < postIndex { - var v dev1.TabletType + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19492,59 +27869,54 @@ func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= dev1.TabletType(b&0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.TabletTypes = append(m.TabletTypes, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) - } - m.TabletSelectionPreference = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) - } - m.OnDdl = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OnDdl |= dev6.OnDDLAction(b&0x7F) << shift - if b < 0x80 { - break + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapvaluetemp uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + mapvaluetemp = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + mapvalue = math.Float64frombits(mapvaluetemp) + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + m.MetricThresholds[mapkey] = mapvalue + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MetricsHealth", wireType) } - m.State = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19554,65 +27926,124 @@ func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= dev6.VReplicationWorkflowState(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLength } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.MetricsHealth == nil { + m.MetricsHealth = make(map[string]*GetThrottlerStatusResponse_MetricHealth) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var mapkey string + var mapvalue *GetThrottlerStatusResponse_MetricHealth + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &GetThrottlerStatusResponse_MetricHealth{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateVReplicationWorkflowResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.MetricsHealth[mapkey] = mapvalue + iNdEx = postIndex + case 15: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ThrottledApps", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19639,77 +28070,266 @@ func (m *UpdateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Result == nil { - m.Result = &dev.QueryResult{} + if m.ThrottledApps == nil { + m.ThrottledApps = make(map[string]*dev1.ThrottledAppRule) } - if unmarshal, ok := interface{}(m.Result).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var mapkey string + var mapvalue *dev1.ThrottledAppRule + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { - return err + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &dev1.ThrottledAppRule{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } + m.ThrottledApps[mapkey] = mapvalue iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppCheckedMetrics", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + 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 } - if (iNdEx + skippy) > l { + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { return io.ErrUnexpectedEOF } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResetSequencesRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + if m.AppCheckedMetrics == nil { + m.AppCheckedMetrics = make(map[string]string) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.AppCheckedMetrics[mapkey] = mapvalue + iNdEx = postIndex + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RecentlyChecked", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResetSequencesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResetSequencesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RecentlyChecked = bool(v != 0) + case 18: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RecentApps", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19719,23 +28339,120 @@ func (m *ResetSequencesRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + if m.RecentApps == nil { + m.RecentApps = make(map[string]*GetThrottlerStatusResponse_RecentApp) + } + var mapkey string + var mapvalue *GetThrottlerStatusResponse_RecentApp + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &GetThrottlerStatusResponse_RecentApp{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RecentApps[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -19759,7 +28476,7 @@ func (m *ResetSequencesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ResetSequencesResponse) UnmarshalVT(dAtA []byte) error { +func (m *ChangeTagsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19782,68 +28499,144 @@ func (m *ResetSequencesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ResetSequencesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ChangeTagsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ResetSequencesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ChangeTagsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength + 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 (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + if msglen < 0 { + return ErrInvalidLength } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CheckThrottlerRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Tags == nil { + m.Tags = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CheckThrottlerRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CheckThrottlerRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) + m.Tags[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Replace", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19853,24 +28646,12 @@ func (m *CheckThrottlerRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AppName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.Replace = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -19893,7 +28674,7 @@ func (m *CheckThrottlerRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CheckThrottlerResponse) UnmarshalVT(dAtA []byte) error { +func (m *ChangeTagsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19916,58 +28697,17 @@ func (m *CheckThrottlerResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CheckThrottlerResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ChangeTagsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CheckThrottlerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ChangeTagsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusCode", wireType) - } - m.StatusCode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StatusCode |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) - case 3: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Threshold = float64(math.Float64frombits(v)) - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19977,76 +28717,119 @@ func (m *CheckThrottlerResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Error = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + if m.Tags == nil { + m.Tags = make(map[string]string) } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) + m.Tags[mapkey] = mapvalue iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RecentlyChecked", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.RecentlyChecked = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) diff --git a/gen/vitess/tabletmanagerdata/v16/tabletmanagerdata.pb.go b/gen/vitess/tabletmanagerdata/v16/tabletmanagerdata.pb.go index 8a836df..ecd8209 100644 --- a/gen/vitess/tabletmanagerdata/v16/tabletmanagerdata.pb.go +++ b/gen/vitess/tabletmanagerdata/v16/tabletmanagerdata.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerdata/v16/tabletmanagerdata.proto @@ -5865,7 +5865,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_rawDescGZIP() []b } var file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 107) -var file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_goTypes = []interface{}{ +var file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_goTypes = []any{ (*TableDefinition)(nil), // 0: vitess.tabletmanagerdata.v16.TableDefinition (*SchemaDefinition)(nil), // 1: vitess.tabletmanagerdata.v16.SchemaDefinition (*SchemaChangeResult)(nil), // 2: vitess.tabletmanagerdata.v16.SchemaChangeResult @@ -6042,7 +6042,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TableDefinition); i { case 0: return &v.state @@ -6054,7 +6054,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SchemaDefinition); i { case 0: return &v.state @@ -6066,7 +6066,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SchemaChangeResult); i { case 0: return &v.state @@ -6078,7 +6078,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*UserPermission); i { case 0: return &v.state @@ -6090,7 +6090,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DbPermission); i { case 0: return &v.state @@ -6102,7 +6102,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*Permissions); i { case 0: return &v.state @@ -6114,7 +6114,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*PingRequest); i { case 0: return &v.state @@ -6126,7 +6126,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*PingResponse); i { case 0: return &v.state @@ -6138,7 +6138,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*SleepRequest); i { case 0: return &v.state @@ -6150,7 +6150,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SleepResponse); i { case 0: return &v.state @@ -6162,7 +6162,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookRequest); i { case 0: return &v.state @@ -6174,7 +6174,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookResponse); i { case 0: return &v.state @@ -6186,7 +6186,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -6198,7 +6198,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -6210,7 +6210,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsRequest); i { case 0: return &v.state @@ -6222,7 +6222,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsResponse); i { case 0: return &v.state @@ -6234,7 +6234,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyRequest); i { case 0: return &v.state @@ -6246,7 +6246,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyResponse); i { case 0: return &v.state @@ -6258,7 +6258,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteRequest); i { case 0: return &v.state @@ -6270,7 +6270,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteResponse); i { case 0: return &v.state @@ -6282,7 +6282,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*ChangeTypeRequest); i { case 0: return &v.state @@ -6294,7 +6294,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*ChangeTypeResponse); i { case 0: return &v.state @@ -6306,7 +6306,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -6318,7 +6318,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -6330,7 +6330,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -6342,7 +6342,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -6354,7 +6354,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaRequest); i { case 0: return &v.state @@ -6366,7 +6366,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state @@ -6378,7 +6378,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*PreflightSchemaRequest); i { case 0: return &v.state @@ -6390,7 +6390,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*PreflightSchemaResponse); i { case 0: return &v.state @@ -6402,7 +6402,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaRequest); i { case 0: return &v.state @@ -6414,7 +6414,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaResponse); i { case 0: return &v.state @@ -6426,7 +6426,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*LockTablesRequest); i { case 0: return &v.state @@ -6438,7 +6438,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*LockTablesResponse); i { case 0: return &v.state @@ -6450,7 +6450,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*UnlockTablesRequest); i { case 0: return &v.state @@ -6462,7 +6462,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*UnlockTablesResponse); i { case 0: return &v.state @@ -6474,7 +6474,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*ExecuteQueryRequest); i { case 0: return &v.state @@ -6486,7 +6486,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*ExecuteQueryResponse); i { case 0: return &v.state @@ -6498,7 +6498,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDbaRequest); i { case 0: return &v.state @@ -6510,7 +6510,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDbaResponse); i { case 0: return &v.state @@ -6522,7 +6522,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAllPrivsRequest); i { case 0: return &v.state @@ -6534,7 +6534,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAllPrivsResponse); i { case 0: return &v.state @@ -6546,7 +6546,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state @@ -6558,7 +6558,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state @@ -6570,7 +6570,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*ReplicationStatusRequest); i { case 0: return &v.state @@ -6582,7 +6582,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*ReplicationStatusResponse); i { case 0: return &v.state @@ -6594,7 +6594,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatusRequest); i { case 0: return &v.state @@ -6606,7 +6606,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatusResponse); i { case 0: return &v.state @@ -6618,7 +6618,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*PrimaryPositionRequest); i { case 0: return &v.state @@ -6630,7 +6630,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*PrimaryPositionResponse); i { case 0: return &v.state @@ -6642,7 +6642,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*WaitForPositionRequest); i { case 0: return &v.state @@ -6654,7 +6654,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*WaitForPositionResponse); i { case 0: return &v.state @@ -6666,7 +6666,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -6678,7 +6678,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -6690,7 +6690,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationMinimumRequest); i { case 0: return &v.state @@ -6702,7 +6702,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationMinimumResponse); i { case 0: return &v.state @@ -6714,7 +6714,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -6726,7 +6726,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -6738,7 +6738,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationUntilAfterRequest); i { case 0: return &v.state @@ -6750,7 +6750,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationUntilAfterResponse); i { case 0: return &v.state @@ -6762,7 +6762,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetReplicasRequest); i { case 0: return &v.state @@ -6774,7 +6774,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetReplicasResponse); i { case 0: return &v.state @@ -6786,7 +6786,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationRequest); i { case 0: return &v.state @@ -6798,7 +6798,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationResponse); i { case 0: return &v.state @@ -6810,7 +6810,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*VReplicationExecRequest); i { case 0: return &v.state @@ -6822,7 +6822,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*VReplicationExecResponse); i { case 0: return &v.state @@ -6834,7 +6834,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*VReplicationWaitForPosRequest); i { case 0: return &v.state @@ -6846,7 +6846,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*VReplicationWaitForPosResponse); i { case 0: return &v.state @@ -6858,7 +6858,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*InitPrimaryRequest); i { case 0: return &v.state @@ -6870,7 +6870,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*InitPrimaryResponse); i { case 0: return &v.state @@ -6882,7 +6882,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*PopulateReparentJournalRequest); i { case 0: return &v.state @@ -6894,7 +6894,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*PopulateReparentJournalResponse); i { case 0: return &v.state @@ -6906,7 +6906,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*InitReplicaRequest); i { case 0: return &v.state @@ -6918,7 +6918,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*InitReplicaResponse); i { case 0: return &v.state @@ -6930,7 +6930,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*DemotePrimaryRequest); i { case 0: return &v.state @@ -6942,7 +6942,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*DemotePrimaryResponse); i { case 0: return &v.state @@ -6954,7 +6954,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*UndoDemotePrimaryRequest); i { case 0: return &v.state @@ -6966,7 +6966,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*UndoDemotePrimaryResponse); i { case 0: return &v.state @@ -6978,7 +6978,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasPromotedRequest); i { case 0: return &v.state @@ -6990,7 +6990,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasPromotedResponse); i { case 0: return &v.state @@ -7002,7 +7002,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationParametersRequest); i { case 0: return &v.state @@ -7014,7 +7014,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationParametersResponse); i { case 0: return &v.state @@ -7026,7 +7026,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*FullStatusRequest); i { case 0: return &v.state @@ -7038,7 +7038,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*FullStatusResponse); i { case 0: return &v.state @@ -7050,7 +7050,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*SetReplicationSourceRequest); i { case 0: return &v.state @@ -7062,7 +7062,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*SetReplicationSourceResponse); i { case 0: return &v.state @@ -7074,7 +7074,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasRestartedRequest); i { case 0: return &v.state @@ -7086,7 +7086,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasRestartedResponse); i { case 0: return &v.state @@ -7098,7 +7098,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationAndGetStatusRequest); i { case 0: return &v.state @@ -7110,7 +7110,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationAndGetStatusResponse); i { case 0: return &v.state @@ -7122,7 +7122,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*PromoteReplicaRequest); i { case 0: return &v.state @@ -7134,7 +7134,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*PromoteReplicaResponse); i { case 0: return &v.state @@ -7146,7 +7146,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*BackupRequest); i { case 0: return &v.state @@ -7158,7 +7158,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*BackupResponse); i { case 0: return &v.state @@ -7170,7 +7170,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state @@ -7182,7 +7182,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state @@ -7194,7 +7194,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*VExecRequest); i { case 0: return &v.state @@ -7206,7 +7206,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*VExecResponse); i { case 0: return &v.state @@ -7218,7 +7218,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*VDiffRequest); i { case 0: return &v.state @@ -7230,7 +7230,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*VDiffResponse); i { case 0: return &v.state @@ -7242,7 +7242,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*VDiffPickerOptions); i { case 0: return &v.state @@ -7254,7 +7254,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v any, i int) any { switch v := v.(*VDiffReportOptions); i { case 0: return &v.state @@ -7266,7 +7266,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v any, i int) any { switch v := v.(*VDiffCoreOptions); i { case 0: return &v.state @@ -7278,7 +7278,7 @@ func file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v16_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*VDiffOptions); i { case 0: return &v.state diff --git a/gen/vitess/tabletmanagerdata/v17/tabletmanagerdata.pb.go b/gen/vitess/tabletmanagerdata/v17/tabletmanagerdata.pb.go index e3c7994..633e38b 100644 --- a/gen/vitess/tabletmanagerdata/v17/tabletmanagerdata.pb.go +++ b/gen/vitess/tabletmanagerdata/v17/tabletmanagerdata.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerdata/v17/tabletmanagerdata.proto @@ -5884,7 +5884,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_rawDescGZIP() []b } var file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 107) -var file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_goTypes = []interface{}{ +var file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_goTypes = []any{ (*TableDefinition)(nil), // 0: vitess.tabletmanagerdata.v17.TableDefinition (*SchemaDefinition)(nil), // 1: vitess.tabletmanagerdata.v17.SchemaDefinition (*SchemaChangeResult)(nil), // 2: vitess.tabletmanagerdata.v17.SchemaChangeResult @@ -6063,7 +6063,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TableDefinition); i { case 0: return &v.state @@ -6075,7 +6075,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SchemaDefinition); i { case 0: return &v.state @@ -6087,7 +6087,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SchemaChangeResult); i { case 0: return &v.state @@ -6099,7 +6099,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*UserPermission); i { case 0: return &v.state @@ -6111,7 +6111,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DbPermission); i { case 0: return &v.state @@ -6123,7 +6123,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*Permissions); i { case 0: return &v.state @@ -6135,7 +6135,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*PingRequest); i { case 0: return &v.state @@ -6147,7 +6147,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*PingResponse); i { case 0: return &v.state @@ -6159,7 +6159,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*SleepRequest); i { case 0: return &v.state @@ -6171,7 +6171,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SleepResponse); i { case 0: return &v.state @@ -6183,7 +6183,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookRequest); i { case 0: return &v.state @@ -6195,7 +6195,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookResponse); i { case 0: return &v.state @@ -6207,7 +6207,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -6219,7 +6219,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -6231,7 +6231,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsRequest); i { case 0: return &v.state @@ -6243,7 +6243,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsResponse); i { case 0: return &v.state @@ -6255,7 +6255,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyRequest); i { case 0: return &v.state @@ -6267,7 +6267,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyResponse); i { case 0: return &v.state @@ -6279,7 +6279,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteRequest); i { case 0: return &v.state @@ -6291,7 +6291,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteResponse); i { case 0: return &v.state @@ -6303,7 +6303,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*ChangeTypeRequest); i { case 0: return &v.state @@ -6315,7 +6315,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*ChangeTypeResponse); i { case 0: return &v.state @@ -6327,7 +6327,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -6339,7 +6339,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -6351,7 +6351,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -6363,7 +6363,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -6375,7 +6375,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaRequest); i { case 0: return &v.state @@ -6387,7 +6387,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state @@ -6399,7 +6399,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*PreflightSchemaRequest); i { case 0: return &v.state @@ -6411,7 +6411,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*PreflightSchemaResponse); i { case 0: return &v.state @@ -6423,7 +6423,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaRequest); i { case 0: return &v.state @@ -6435,7 +6435,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaResponse); i { case 0: return &v.state @@ -6447,7 +6447,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*LockTablesRequest); i { case 0: return &v.state @@ -6459,7 +6459,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*LockTablesResponse); i { case 0: return &v.state @@ -6471,7 +6471,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*UnlockTablesRequest); i { case 0: return &v.state @@ -6483,7 +6483,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*UnlockTablesResponse); i { case 0: return &v.state @@ -6495,7 +6495,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*ExecuteQueryRequest); i { case 0: return &v.state @@ -6507,7 +6507,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*ExecuteQueryResponse); i { case 0: return &v.state @@ -6519,7 +6519,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDbaRequest); i { case 0: return &v.state @@ -6531,7 +6531,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDbaResponse); i { case 0: return &v.state @@ -6543,7 +6543,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAllPrivsRequest); i { case 0: return &v.state @@ -6555,7 +6555,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAllPrivsResponse); i { case 0: return &v.state @@ -6567,7 +6567,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state @@ -6579,7 +6579,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state @@ -6591,7 +6591,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*ReplicationStatusRequest); i { case 0: return &v.state @@ -6603,7 +6603,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*ReplicationStatusResponse); i { case 0: return &v.state @@ -6615,7 +6615,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatusRequest); i { case 0: return &v.state @@ -6627,7 +6627,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatusResponse); i { case 0: return &v.state @@ -6639,7 +6639,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*PrimaryPositionRequest); i { case 0: return &v.state @@ -6651,7 +6651,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*PrimaryPositionResponse); i { case 0: return &v.state @@ -6663,7 +6663,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*WaitForPositionRequest); i { case 0: return &v.state @@ -6675,7 +6675,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*WaitForPositionResponse); i { case 0: return &v.state @@ -6687,7 +6687,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -6699,7 +6699,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -6711,7 +6711,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationMinimumRequest); i { case 0: return &v.state @@ -6723,7 +6723,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationMinimumResponse); i { case 0: return &v.state @@ -6735,7 +6735,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -6747,7 +6747,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -6759,7 +6759,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationUntilAfterRequest); i { case 0: return &v.state @@ -6771,7 +6771,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationUntilAfterResponse); i { case 0: return &v.state @@ -6783,7 +6783,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetReplicasRequest); i { case 0: return &v.state @@ -6795,7 +6795,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetReplicasResponse); i { case 0: return &v.state @@ -6807,7 +6807,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationRequest); i { case 0: return &v.state @@ -6819,7 +6819,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationResponse); i { case 0: return &v.state @@ -6831,7 +6831,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*VReplicationExecRequest); i { case 0: return &v.state @@ -6843,7 +6843,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*VReplicationExecResponse); i { case 0: return &v.state @@ -6855,7 +6855,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*VReplicationWaitForPosRequest); i { case 0: return &v.state @@ -6867,7 +6867,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*VReplicationWaitForPosResponse); i { case 0: return &v.state @@ -6879,7 +6879,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*InitPrimaryRequest); i { case 0: return &v.state @@ -6891,7 +6891,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*InitPrimaryResponse); i { case 0: return &v.state @@ -6903,7 +6903,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*PopulateReparentJournalRequest); i { case 0: return &v.state @@ -6915,7 +6915,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*PopulateReparentJournalResponse); i { case 0: return &v.state @@ -6927,7 +6927,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*InitReplicaRequest); i { case 0: return &v.state @@ -6939,7 +6939,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*InitReplicaResponse); i { case 0: return &v.state @@ -6951,7 +6951,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*DemotePrimaryRequest); i { case 0: return &v.state @@ -6963,7 +6963,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*DemotePrimaryResponse); i { case 0: return &v.state @@ -6975,7 +6975,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*UndoDemotePrimaryRequest); i { case 0: return &v.state @@ -6987,7 +6987,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*UndoDemotePrimaryResponse); i { case 0: return &v.state @@ -6999,7 +6999,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasPromotedRequest); i { case 0: return &v.state @@ -7011,7 +7011,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasPromotedResponse); i { case 0: return &v.state @@ -7023,7 +7023,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationParametersRequest); i { case 0: return &v.state @@ -7035,7 +7035,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationParametersResponse); i { case 0: return &v.state @@ -7047,7 +7047,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*FullStatusRequest); i { case 0: return &v.state @@ -7059,7 +7059,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*FullStatusResponse); i { case 0: return &v.state @@ -7071,7 +7071,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*SetReplicationSourceRequest); i { case 0: return &v.state @@ -7083,7 +7083,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*SetReplicationSourceResponse); i { case 0: return &v.state @@ -7095,7 +7095,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasRestartedRequest); i { case 0: return &v.state @@ -7107,7 +7107,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasRestartedResponse); i { case 0: return &v.state @@ -7119,7 +7119,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationAndGetStatusRequest); i { case 0: return &v.state @@ -7131,7 +7131,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationAndGetStatusResponse); i { case 0: return &v.state @@ -7143,7 +7143,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*PromoteReplicaRequest); i { case 0: return &v.state @@ -7155,7 +7155,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*PromoteReplicaResponse); i { case 0: return &v.state @@ -7167,7 +7167,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*BackupRequest); i { case 0: return &v.state @@ -7179,7 +7179,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*BackupResponse); i { case 0: return &v.state @@ -7191,7 +7191,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state @@ -7203,7 +7203,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state @@ -7215,7 +7215,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*VDiffRequest); i { case 0: return &v.state @@ -7227,7 +7227,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*VDiffResponse); i { case 0: return &v.state @@ -7239,7 +7239,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*VDiffPickerOptions); i { case 0: return &v.state @@ -7251,7 +7251,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*VDiffReportOptions); i { case 0: return &v.state @@ -7263,7 +7263,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*VDiffCoreOptions); i { case 0: return &v.state @@ -7275,7 +7275,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v any, i int) any { switch v := v.(*VDiffOptions); i { case 0: return &v.state @@ -7287,7 +7287,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v any, i int) any { switch v := v.(*UpdateVRWorkflowRequest); i { case 0: return &v.state @@ -7299,7 +7299,7 @@ func file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v17_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*UpdateVRWorkflowResponse); i { case 0: return &v.state diff --git a/gen/vitess/tabletmanagerdata/v18/tabletmanagerdata.pb.go b/gen/vitess/tabletmanagerdata/v18/tabletmanagerdata.pb.go index 482d497..33757ca 100644 --- a/gen/vitess/tabletmanagerdata/v18/tabletmanagerdata.pb.go +++ b/gen/vitess/tabletmanagerdata/v18/tabletmanagerdata.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerdata/v18/tabletmanagerdata.proto @@ -6980,7 +6980,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_rawDescGZIP() []b var file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 118) -var file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_goTypes = []interface{}{ +var file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_goTypes = []any{ (TabletSelectionPreference)(0), // 0: vitess.tabletmanagerdata.v18.TabletSelectionPreference (*TableDefinition)(nil), // 1: vitess.tabletmanagerdata.v18.TableDefinition (*SchemaDefinition)(nil), // 2: vitess.tabletmanagerdata.v18.SchemaDefinition @@ -7197,7 +7197,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TableDefinition); i { case 0: return &v.state @@ -7209,7 +7209,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SchemaDefinition); i { case 0: return &v.state @@ -7221,7 +7221,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SchemaChangeResult); i { case 0: return &v.state @@ -7233,7 +7233,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*UserPermission); i { case 0: return &v.state @@ -7245,7 +7245,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DbPermission); i { case 0: return &v.state @@ -7257,7 +7257,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*Permissions); i { case 0: return &v.state @@ -7269,7 +7269,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*PingRequest); i { case 0: return &v.state @@ -7281,7 +7281,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*PingResponse); i { case 0: return &v.state @@ -7293,7 +7293,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*SleepRequest); i { case 0: return &v.state @@ -7305,7 +7305,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SleepResponse); i { case 0: return &v.state @@ -7317,7 +7317,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookRequest); i { case 0: return &v.state @@ -7329,7 +7329,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookResponse); i { case 0: return &v.state @@ -7341,7 +7341,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -7353,7 +7353,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -7365,7 +7365,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsRequest); i { case 0: return &v.state @@ -7377,7 +7377,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsResponse); i { case 0: return &v.state @@ -7389,7 +7389,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyRequest); i { case 0: return &v.state @@ -7401,7 +7401,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyResponse); i { case 0: return &v.state @@ -7413,7 +7413,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteRequest); i { case 0: return &v.state @@ -7425,7 +7425,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteResponse); i { case 0: return &v.state @@ -7437,7 +7437,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*ChangeTypeRequest); i { case 0: return &v.state @@ -7449,7 +7449,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*ChangeTypeResponse); i { case 0: return &v.state @@ -7461,7 +7461,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -7473,7 +7473,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -7485,7 +7485,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -7497,7 +7497,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -7509,7 +7509,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaRequest); i { case 0: return &v.state @@ -7521,7 +7521,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state @@ -7533,7 +7533,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*PreflightSchemaRequest); i { case 0: return &v.state @@ -7545,7 +7545,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*PreflightSchemaResponse); i { case 0: return &v.state @@ -7557,7 +7557,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaRequest); i { case 0: return &v.state @@ -7569,7 +7569,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaResponse); i { case 0: return &v.state @@ -7581,7 +7581,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*LockTablesRequest); i { case 0: return &v.state @@ -7593,7 +7593,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*LockTablesResponse); i { case 0: return &v.state @@ -7605,7 +7605,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*UnlockTablesRequest); i { case 0: return &v.state @@ -7617,7 +7617,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*UnlockTablesResponse); i { case 0: return &v.state @@ -7629,7 +7629,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*ExecuteQueryRequest); i { case 0: return &v.state @@ -7641,7 +7641,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*ExecuteQueryResponse); i { case 0: return &v.state @@ -7653,7 +7653,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDbaRequest); i { case 0: return &v.state @@ -7665,7 +7665,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDbaResponse); i { case 0: return &v.state @@ -7677,7 +7677,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAllPrivsRequest); i { case 0: return &v.state @@ -7689,7 +7689,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAllPrivsResponse); i { case 0: return &v.state @@ -7701,7 +7701,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state @@ -7713,7 +7713,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state @@ -7725,7 +7725,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*ReplicationStatusRequest); i { case 0: return &v.state @@ -7737,7 +7737,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*ReplicationStatusResponse); i { case 0: return &v.state @@ -7749,7 +7749,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatusRequest); i { case 0: return &v.state @@ -7761,7 +7761,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*PrimaryStatusResponse); i { case 0: return &v.state @@ -7773,7 +7773,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*PrimaryPositionRequest); i { case 0: return &v.state @@ -7785,7 +7785,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*PrimaryPositionResponse); i { case 0: return &v.state @@ -7797,7 +7797,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*WaitForPositionRequest); i { case 0: return &v.state @@ -7809,7 +7809,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*WaitForPositionResponse); i { case 0: return &v.state @@ -7821,7 +7821,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -7833,7 +7833,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -7845,7 +7845,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationMinimumRequest); i { case 0: return &v.state @@ -7857,7 +7857,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationMinimumResponse); i { case 0: return &v.state @@ -7869,7 +7869,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -7881,7 +7881,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -7893,7 +7893,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationUntilAfterRequest); i { case 0: return &v.state @@ -7905,7 +7905,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationUntilAfterResponse); i { case 0: return &v.state @@ -7917,7 +7917,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetReplicasRequest); i { case 0: return &v.state @@ -7929,7 +7929,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetReplicasResponse); i { case 0: return &v.state @@ -7941,7 +7941,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationRequest); i { case 0: return &v.state @@ -7953,7 +7953,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationResponse); i { case 0: return &v.state @@ -7965,7 +7965,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*VReplicationExecRequest); i { case 0: return &v.state @@ -7977,7 +7977,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*VReplicationExecResponse); i { case 0: return &v.state @@ -7989,7 +7989,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*VReplicationWaitForPosRequest); i { case 0: return &v.state @@ -8001,7 +8001,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*VReplicationWaitForPosResponse); i { case 0: return &v.state @@ -8013,7 +8013,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*InitPrimaryRequest); i { case 0: return &v.state @@ -8025,7 +8025,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*InitPrimaryResponse); i { case 0: return &v.state @@ -8037,7 +8037,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*PopulateReparentJournalRequest); i { case 0: return &v.state @@ -8049,7 +8049,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*PopulateReparentJournalResponse); i { case 0: return &v.state @@ -8061,7 +8061,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*InitReplicaRequest); i { case 0: return &v.state @@ -8073,7 +8073,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*InitReplicaResponse); i { case 0: return &v.state @@ -8085,7 +8085,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*DemotePrimaryRequest); i { case 0: return &v.state @@ -8097,7 +8097,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*DemotePrimaryResponse); i { case 0: return &v.state @@ -8109,7 +8109,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*UndoDemotePrimaryRequest); i { case 0: return &v.state @@ -8121,7 +8121,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*UndoDemotePrimaryResponse); i { case 0: return &v.state @@ -8133,7 +8133,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasPromotedRequest); i { case 0: return &v.state @@ -8145,7 +8145,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasPromotedResponse); i { case 0: return &v.state @@ -8157,7 +8157,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationParametersRequest); i { case 0: return &v.state @@ -8169,7 +8169,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*ResetReplicationParametersResponse); i { case 0: return &v.state @@ -8181,7 +8181,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*FullStatusRequest); i { case 0: return &v.state @@ -8193,7 +8193,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*FullStatusResponse); i { case 0: return &v.state @@ -8205,7 +8205,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*SetReplicationSourceRequest); i { case 0: return &v.state @@ -8217,7 +8217,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*SetReplicationSourceResponse); i { case 0: return &v.state @@ -8229,7 +8229,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasRestartedRequest); i { case 0: return &v.state @@ -8241,7 +8241,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*ReplicaWasRestartedResponse); i { case 0: return &v.state @@ -8253,7 +8253,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationAndGetStatusRequest); i { case 0: return &v.state @@ -8265,7 +8265,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationAndGetStatusResponse); i { case 0: return &v.state @@ -8277,7 +8277,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*PromoteReplicaRequest); i { case 0: return &v.state @@ -8289,7 +8289,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*PromoteReplicaResponse); i { case 0: return &v.state @@ -8301,7 +8301,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*BackupRequest); i { case 0: return &v.state @@ -8313,7 +8313,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*BackupResponse); i { case 0: return &v.state @@ -8325,7 +8325,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state @@ -8337,7 +8337,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state @@ -8349,7 +8349,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*CreateVReplicationWorkflowRequest); i { case 0: return &v.state @@ -8361,7 +8361,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*CreateVReplicationWorkflowResponse); i { case 0: return &v.state @@ -8373,7 +8373,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*DeleteVReplicationWorkflowRequest); i { case 0: return &v.state @@ -8385,7 +8385,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*DeleteVReplicationWorkflowResponse); i { case 0: return &v.state @@ -8397,7 +8397,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*ReadVReplicationWorkflowRequest); i { case 0: return &v.state @@ -8409,7 +8409,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v any, i int) any { switch v := v.(*ReadVReplicationWorkflowResponse); i { case 0: return &v.state @@ -8421,7 +8421,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v any, i int) any { switch v := v.(*VDiffRequest); i { case 0: return &v.state @@ -8433,7 +8433,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*VDiffResponse); i { case 0: return &v.state @@ -8445,7 +8445,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*VDiffPickerOptions); i { case 0: return &v.state @@ -8457,7 +8457,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[105].Exporter = func(v any, i int) any { switch v := v.(*VDiffReportOptions); i { case 0: return &v.state @@ -8469,7 +8469,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[106].Exporter = func(v any, i int) any { switch v := v.(*VDiffCoreOptions); i { case 0: return &v.state @@ -8481,7 +8481,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[107].Exporter = func(v any, i int) any { switch v := v.(*VDiffOptions); i { case 0: return &v.state @@ -8493,7 +8493,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[108].Exporter = func(v any, i int) any { switch v := v.(*UpdateVReplicationWorkflowRequest); i { case 0: return &v.state @@ -8505,7 +8505,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[109].Exporter = func(v any, i int) any { switch v := v.(*UpdateVReplicationWorkflowResponse); i { case 0: return &v.state @@ -8517,7 +8517,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[110].Exporter = func(v any, i int) any { switch v := v.(*ResetSequencesRequest); i { case 0: return &v.state @@ -8529,7 +8529,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[111].Exporter = func(v any, i int) any { switch v := v.(*ResetSequencesResponse); i { case 0: return &v.state @@ -8541,7 +8541,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[112].Exporter = func(v any, i int) any { switch v := v.(*CheckThrottlerRequest); i { case 0: return &v.state @@ -8553,7 +8553,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[113].Exporter = func(v any, i int) any { switch v := v.(*CheckThrottlerResponse); i { case 0: return &v.state @@ -8565,7 +8565,7 @@ func file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_init() { return nil } } - file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + file_vitess_tabletmanagerdata_v18_tabletmanagerdata_proto_msgTypes[117].Exporter = func(v any, i int) any { switch v := v.(*ReadVReplicationWorkflowResponse_Stream); i { case 0: return &v.state diff --git a/gen/vitess/tabletmanagerdata/v19/tabletmanagerdata.pb.go b/gen/vitess/tabletmanagerdata/v19/tabletmanagerdata.pb.go new file mode 100644 index 0000000..eda5680 --- /dev/null +++ b/gen/vitess/tabletmanagerdata/v19/tabletmanagerdata.pb.go @@ -0,0 +1,8639 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains all the types and servers necessary to make +// RPC calls to VtTablet for the management API. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/tabletmanagerdata/v19/tabletmanagerdata.proto + +package tabletmanagerdatav19 + +import ( + v196 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v194 "github.com/planetscale/vitess-types/gen/vitess/logutil/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v193 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + v195 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This structure allows us to manage tablet selection preferences +// which are eventually passed to a TabletPicker. +type TabletSelectionPreference int32 + +const ( + TabletSelectionPreference_ANY TabletSelectionPreference = 0 + TabletSelectionPreference_INORDER TabletSelectionPreference = 1 + TabletSelectionPreference_UNKNOWN TabletSelectionPreference = 3 // Don't change any existing value +) + +// Enum value maps for TabletSelectionPreference. +var ( + TabletSelectionPreference_name = map[int32]string{ + 0: "ANY", + 1: "INORDER", + 3: "UNKNOWN", + } + TabletSelectionPreference_value = map[string]int32{ + "ANY": 0, + "INORDER": 1, + "UNKNOWN": 3, + } +) + +func (x TabletSelectionPreference) Enum() *TabletSelectionPreference { + p := new(TabletSelectionPreference) + *p = x + return p +} + +func (x TabletSelectionPreference) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TabletSelectionPreference) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_enumTypes[0].Descriptor() +} + +func (TabletSelectionPreference) Type() protoreflect.EnumType { + return &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_enumTypes[0] +} + +func (x TabletSelectionPreference) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TabletSelectionPreference.Descriptor instead. +func (TabletSelectionPreference) EnumDescriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{0} +} + +type TableDefinition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the table name + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // the SQL to run to create the table + Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` + // the columns in the order that will be used to dump and load the data + Columns []string `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"` + // the primary key columns in the primary key order + PrimaryKeyColumns []string `protobuf:"bytes,4,rep,name=primary_key_columns,json=primaryKeyColumns,proto3" json:"primary_key_columns,omitempty"` + // type is either mysqlctl.TableBaseTable or mysqlctl.TableView + Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` + // how much space the data file takes. + DataLength uint64 `protobuf:"varint,6,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"` + // approximate number of rows + RowCount uint64 `protobuf:"varint,7,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + // column names along with their types. + // NOTE: this is a superset of columns. + Fields []*v19.Field `protobuf:"bytes,8,rep,name=fields,proto3" json:"fields,omitempty"` +} + +func (x *TableDefinition) Reset() { + *x = TableDefinition{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableDefinition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableDefinition) ProtoMessage() {} + +func (x *TableDefinition) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TableDefinition.ProtoReflect.Descriptor instead. +func (*TableDefinition) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{0} +} + +func (x *TableDefinition) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *TableDefinition) GetSchema() string { + if x != nil { + return x.Schema + } + return "" +} + +func (x *TableDefinition) GetColumns() []string { + if x != nil { + return x.Columns + } + return nil +} + +func (x *TableDefinition) GetPrimaryKeyColumns() []string { + if x != nil { + return x.PrimaryKeyColumns + } + return nil +} + +func (x *TableDefinition) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *TableDefinition) GetDataLength() uint64 { + if x != nil { + return x.DataLength + } + return 0 +} + +func (x *TableDefinition) GetRowCount() uint64 { + if x != nil { + return x.RowCount + } + return 0 +} + +func (x *TableDefinition) GetFields() []*v19.Field { + if x != nil { + return x.Fields + } + return nil +} + +type SchemaDefinition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DatabaseSchema string `protobuf:"bytes,1,opt,name=database_schema,json=databaseSchema,proto3" json:"database_schema,omitempty"` + TableDefinitions []*TableDefinition `protobuf:"bytes,2,rep,name=table_definitions,json=tableDefinitions,proto3" json:"table_definitions,omitempty"` +} + +func (x *SchemaDefinition) Reset() { + *x = SchemaDefinition{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SchemaDefinition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SchemaDefinition) ProtoMessage() {} + +func (x *SchemaDefinition) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SchemaDefinition.ProtoReflect.Descriptor instead. +func (*SchemaDefinition) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{1} +} + +func (x *SchemaDefinition) GetDatabaseSchema() string { + if x != nil { + return x.DatabaseSchema + } + return "" +} + +func (x *SchemaDefinition) GetTableDefinitions() []*TableDefinition { + if x != nil { + return x.TableDefinitions + } + return nil +} + +type SchemaChangeResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // before_schema holds the schema before each change. + BeforeSchema *SchemaDefinition `protobuf:"bytes,1,opt,name=before_schema,json=beforeSchema,proto3" json:"before_schema,omitempty"` + // after_schema holds the schema after each change. + AfterSchema *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema,json=afterSchema,proto3" json:"after_schema,omitempty"` +} + +func (x *SchemaChangeResult) Reset() { + *x = SchemaChangeResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SchemaChangeResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SchemaChangeResult) ProtoMessage() {} + +func (x *SchemaChangeResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SchemaChangeResult.ProtoReflect.Descriptor instead. +func (*SchemaChangeResult) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{2} +} + +func (x *SchemaChangeResult) GetBeforeSchema() *SchemaDefinition { + if x != nil { + return x.BeforeSchema + } + return nil +} + +func (x *SchemaChangeResult) GetAfterSchema() *SchemaDefinition { + if x != nil { + return x.AfterSchema + } + return nil +} + +// UserPermission describes a single row in the mysql.user table +// Primary key is Host+User +// PasswordChecksum is the crc64 of the password, for security reasons +type UserPermission struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + PasswordChecksum uint64 `protobuf:"varint,3,opt,name=password_checksum,json=passwordChecksum,proto3" json:"password_checksum,omitempty"` + Privileges map[string]string `protobuf:"bytes,4,rep,name=privileges,proto3" json:"privileges,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *UserPermission) Reset() { + *x = UserPermission{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserPermission) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserPermission) ProtoMessage() {} + +func (x *UserPermission) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserPermission.ProtoReflect.Descriptor instead. +func (*UserPermission) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{3} +} + +func (x *UserPermission) GetHost() string { + if x != nil { + return x.Host + } + return "" +} + +func (x *UserPermission) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +func (x *UserPermission) GetPasswordChecksum() uint64 { + if x != nil { + return x.PasswordChecksum + } + return 0 +} + +func (x *UserPermission) GetPrivileges() map[string]string { + if x != nil { + return x.Privileges + } + return nil +} + +// DbPermission describes a single row in the mysql.db table +// Primary key is Host+Db+User +type DbPermission struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Db string `protobuf:"bytes,2,opt,name=db,proto3" json:"db,omitempty"` + User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + Privileges map[string]string `protobuf:"bytes,4,rep,name=privileges,proto3" json:"privileges,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *DbPermission) Reset() { + *x = DbPermission{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DbPermission) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DbPermission) ProtoMessage() {} + +func (x *DbPermission) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DbPermission.ProtoReflect.Descriptor instead. +func (*DbPermission) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{4} +} + +func (x *DbPermission) GetHost() string { + if x != nil { + return x.Host + } + return "" +} + +func (x *DbPermission) GetDb() string { + if x != nil { + return x.Db + } + return "" +} + +func (x *DbPermission) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +func (x *DbPermission) GetPrivileges() map[string]string { + if x != nil { + return x.Privileges + } + return nil +} + +// Permissions have all the rows in mysql.{user,db} tables, +// (all rows are sorted by primary key) +type Permissions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserPermissions []*UserPermission `protobuf:"bytes,1,rep,name=user_permissions,json=userPermissions,proto3" json:"user_permissions,omitempty"` + DbPermissions []*DbPermission `protobuf:"bytes,2,rep,name=db_permissions,json=dbPermissions,proto3" json:"db_permissions,omitempty"` +} + +func (x *Permissions) Reset() { + *x = Permissions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Permissions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Permissions) ProtoMessage() {} + +func (x *Permissions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Permissions.ProtoReflect.Descriptor instead. +func (*Permissions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{5} +} + +func (x *Permissions) GetUserPermissions() []*UserPermission { + if x != nil { + return x.UserPermissions + } + return nil +} + +func (x *Permissions) GetDbPermissions() []*DbPermission { + if x != nil { + return x.DbPermissions + } + return nil +} + +type PingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (x *PingRequest) Reset() { + *x = PingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingRequest) ProtoMessage() {} + +func (x *PingRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. +func (*PingRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{6} +} + +func (x *PingRequest) GetPayload() string { + if x != nil { + return x.Payload + } + return "" +} + +type PingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (x *PingResponse) Reset() { + *x = PingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingResponse) ProtoMessage() {} + +func (x *PingResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. +func (*PingResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{7} +} + +func (x *PingResponse) GetPayload() string { + if x != nil { + return x.Payload + } + return "" +} + +type SleepRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // duration is in nanoseconds + Duration int64 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"` +} + +func (x *SleepRequest) Reset() { + *x = SleepRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SleepRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SleepRequest) ProtoMessage() {} + +func (x *SleepRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SleepRequest.ProtoReflect.Descriptor instead. +func (*SleepRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{8} +} + +func (x *SleepRequest) GetDuration() int64 { + if x != nil { + return x.Duration + } + return 0 +} + +type SleepResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SleepResponse) Reset() { + *x = SleepResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SleepResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SleepResponse) ProtoMessage() {} + +func (x *SleepResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SleepResponse.ProtoReflect.Descriptor instead. +func (*SleepResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{9} +} + +type ExecuteHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` + ExtraEnv map[string]string `protobuf:"bytes,3,rep,name=extra_env,json=extraEnv,proto3" json:"extra_env,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ExecuteHookRequest) Reset() { + *x = ExecuteHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteHookRequest) ProtoMessage() {} + +func (x *ExecuteHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteHookRequest.ProtoReflect.Descriptor instead. +func (*ExecuteHookRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{10} +} + +func (x *ExecuteHookRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ExecuteHookRequest) GetParameters() []string { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *ExecuteHookRequest) GetExtraEnv() map[string]string { + if x != nil { + return x.ExtraEnv + } + return nil +} + +type ExecuteHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExitStatus int64 `protobuf:"varint,1,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` + Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr string `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"` +} + +func (x *ExecuteHookResponse) Reset() { + *x = ExecuteHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteHookResponse) ProtoMessage() {} + +func (x *ExecuteHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteHookResponse.ProtoReflect.Descriptor instead. +func (*ExecuteHookResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{11} +} + +func (x *ExecuteHookResponse) GetExitStatus() int64 { + if x != nil { + return x.ExitStatus + } + return 0 +} + +func (x *ExecuteHookResponse) GetStdout() string { + if x != nil { + return x.Stdout + } + return "" +} + +func (x *ExecuteHookResponse) GetStderr() string { + if x != nil { + return x.Stderr + } + return "" +} + +type GetSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` + IncludeViews bool `protobuf:"varint,2,opt,name=include_views,json=includeViews,proto3" json:"include_views,omitempty"` + ExcludeTables []string `protobuf:"bytes,3,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + // TableSchemaOnly specifies whether to limit the results to just table/view + // schema definition (CREATE TABLE/VIEW statements) and skip column/field information + TableSchemaOnly bool `protobuf:"varint,4,opt,name=table_schema_only,json=tableSchemaOnly,proto3" json:"table_schema_only,omitempty"` +} + +func (x *GetSchemaRequest) Reset() { + *x = GetSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaRequest) ProtoMessage() {} + +func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{12} +} + +func (x *GetSchemaRequest) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +func (x *GetSchemaRequest) GetIncludeViews() bool { + if x != nil { + return x.IncludeViews + } + return false +} + +func (x *GetSchemaRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables + } + return nil +} + +func (x *GetSchemaRequest) GetTableSchemaOnly() bool { + if x != nil { + return x.TableSchemaOnly + } + return false +} + +type GetSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SchemaDefinition *SchemaDefinition `protobuf:"bytes,1,opt,name=schema_definition,json=schemaDefinition,proto3" json:"schema_definition,omitempty"` +} + +func (x *GetSchemaResponse) Reset() { + *x = GetSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaResponse) ProtoMessage() {} + +func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead. +func (*GetSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{13} +} + +func (x *GetSchemaResponse) GetSchemaDefinition() *SchemaDefinition { + if x != nil { + return x.SchemaDefinition + } + return nil +} + +type GetPermissionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetPermissionsRequest) Reset() { + *x = GetPermissionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPermissionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPermissionsRequest) ProtoMessage() {} + +func (x *GetPermissionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead. +func (*GetPermissionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{14} +} + +type GetPermissionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Permissions *Permissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` +} + +func (x *GetPermissionsResponse) Reset() { + *x = GetPermissionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPermissionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPermissionsResponse) ProtoMessage() {} + +func (x *GetPermissionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead. +func (*GetPermissionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{15} +} + +func (x *GetPermissionsResponse) GetPermissions() *Permissions { + if x != nil { + return x.Permissions + } + return nil +} + +type SetReadOnlyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetReadOnlyRequest) Reset() { + *x = SetReadOnlyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadOnlyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadOnlyRequest) ProtoMessage() {} + +func (x *SetReadOnlyRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadOnlyRequest.ProtoReflect.Descriptor instead. +func (*SetReadOnlyRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{16} +} + +type SetReadOnlyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetReadOnlyResponse) Reset() { + *x = SetReadOnlyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadOnlyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadOnlyResponse) ProtoMessage() {} + +func (x *SetReadOnlyResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadOnlyResponse.ProtoReflect.Descriptor instead. +func (*SetReadOnlyResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{17} +} + +type SetReadWriteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetReadWriteRequest) Reset() { + *x = SetReadWriteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadWriteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadWriteRequest) ProtoMessage() {} + +func (x *SetReadWriteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadWriteRequest.ProtoReflect.Descriptor instead. +func (*SetReadWriteRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{18} +} + +type SetReadWriteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetReadWriteResponse) Reset() { + *x = SetReadWriteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadWriteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadWriteResponse) ProtoMessage() {} + +func (x *SetReadWriteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadWriteResponse.ProtoReflect.Descriptor instead. +func (*SetReadWriteResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{19} +} + +type ChangeTypeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletType v191.TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_type,omitempty"` + SemiSync bool `protobuf:"varint,2,opt,name=semiSync,proto3" json:"semiSync,omitempty"` +} + +func (x *ChangeTypeRequest) Reset() { + *x = ChangeTypeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTypeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTypeRequest) ProtoMessage() {} + +func (x *ChangeTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTypeRequest.ProtoReflect.Descriptor instead. +func (*ChangeTypeRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{20} +} + +func (x *ChangeTypeRequest) GetTabletType() v191.TabletType { + if x != nil { + return x.TabletType + } + return v191.TabletType(0) +} + +func (x *ChangeTypeRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type ChangeTypeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChangeTypeResponse) Reset() { + *x = ChangeTypeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTypeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTypeResponse) ProtoMessage() {} + +func (x *ChangeTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTypeResponse.ProtoReflect.Descriptor instead. +func (*ChangeTypeResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{21} +} + +type RefreshStateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RefreshStateRequest) Reset() { + *x = RefreshStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateRequest) ProtoMessage() {} + +func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. +func (*RefreshStateRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{22} +} + +type RefreshStateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RefreshStateResponse) Reset() { + *x = RefreshStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateResponse) ProtoMessage() {} + +func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. +func (*RefreshStateResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{23} +} + +type RunHealthCheckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RunHealthCheckRequest) Reset() { + *x = RunHealthCheckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunHealthCheckRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunHealthCheckRequest) ProtoMessage() {} + +func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. +func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{24} +} + +type RunHealthCheckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RunHealthCheckResponse) Reset() { + *x = RunHealthCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunHealthCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunHealthCheckResponse) ProtoMessage() {} + +func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. +func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{25} +} + +type ReloadSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // wait_position allows scheduling a schema reload to occur after a + // given DDL has replicated to this server, by specifying a replication + // position to wait for. Leave empty to trigger the reload immediately. + WaitPosition string `protobuf:"bytes,1,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` +} + +func (x *ReloadSchemaRequest) Reset() { + *x = ReloadSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaRequest) ProtoMessage() {} + +func (x *ReloadSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{26} +} + +func (x *ReloadSchemaRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} + +type ReloadSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReloadSchemaResponse) Reset() { + *x = ReloadSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaResponse) ProtoMessage() {} + +func (x *ReloadSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{27} +} + +type PreflightSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Changes []string `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` +} + +func (x *PreflightSchemaRequest) Reset() { + *x = PreflightSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreflightSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreflightSchemaRequest) ProtoMessage() {} + +func (x *PreflightSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreflightSchemaRequest.ProtoReflect.Descriptor instead. +func (*PreflightSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{28} +} + +func (x *PreflightSchemaRequest) GetChanges() []string { + if x != nil { + return x.Changes + } + return nil +} + +type PreflightSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // change_results has for each change the schema before and after it. + // The number of elements is identical to the length of "changes" in the request. + ChangeResults []*SchemaChangeResult `protobuf:"bytes,1,rep,name=change_results,json=changeResults,proto3" json:"change_results,omitempty"` +} + +func (x *PreflightSchemaResponse) Reset() { + *x = PreflightSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreflightSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreflightSchemaResponse) ProtoMessage() {} + +func (x *PreflightSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreflightSchemaResponse.ProtoReflect.Descriptor instead. +func (*PreflightSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{29} +} + +func (x *PreflightSchemaResponse) GetChangeResults() []*SchemaChangeResult { + if x != nil { + return x.ChangeResults + } + return nil +} + +type ApplySchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + AllowReplication bool `protobuf:"varint,3,opt,name=allow_replication,json=allowReplication,proto3" json:"allow_replication,omitempty"` + BeforeSchema *SchemaDefinition `protobuf:"bytes,4,opt,name=before_schema,json=beforeSchema,proto3" json:"before_schema,omitempty"` + AfterSchema *SchemaDefinition `protobuf:"bytes,5,opt,name=after_schema,json=afterSchema,proto3" json:"after_schema,omitempty"` + SqlMode string `protobuf:"bytes,6,opt,name=sql_mode,json=sqlMode,proto3" json:"sql_mode,omitempty"` + // BatchSize indicates how many queries to apply together + BatchSize int64 `protobuf:"varint,7,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` +} + +func (x *ApplySchemaRequest) Reset() { + *x = ApplySchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplySchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplySchemaRequest) ProtoMessage() {} + +func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplySchemaRequest.ProtoReflect.Descriptor instead. +func (*ApplySchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{30} +} + +func (x *ApplySchemaRequest) GetSql() string { + if x != nil { + return x.Sql + } + return "" +} + +func (x *ApplySchemaRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *ApplySchemaRequest) GetAllowReplication() bool { + if x != nil { + return x.AllowReplication + } + return false +} + +func (x *ApplySchemaRequest) GetBeforeSchema() *SchemaDefinition { + if x != nil { + return x.BeforeSchema + } + return nil +} + +func (x *ApplySchemaRequest) GetAfterSchema() *SchemaDefinition { + if x != nil { + return x.AfterSchema + } + return nil +} + +func (x *ApplySchemaRequest) GetSqlMode() string { + if x != nil { + return x.SqlMode + } + return "" +} + +func (x *ApplySchemaRequest) GetBatchSize() int64 { + if x != nil { + return x.BatchSize + } + return 0 +} + +type ApplySchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BeforeSchema *SchemaDefinition `protobuf:"bytes,1,opt,name=before_schema,json=beforeSchema,proto3" json:"before_schema,omitempty"` + AfterSchema *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema,json=afterSchema,proto3" json:"after_schema,omitempty"` +} + +func (x *ApplySchemaResponse) Reset() { + *x = ApplySchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplySchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplySchemaResponse) ProtoMessage() {} + +func (x *ApplySchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplySchemaResponse.ProtoReflect.Descriptor instead. +func (*ApplySchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{31} +} + +func (x *ApplySchemaResponse) GetBeforeSchema() *SchemaDefinition { + if x != nil { + return x.BeforeSchema + } + return nil +} + +func (x *ApplySchemaResponse) GetAfterSchema() *SchemaDefinition { + if x != nil { + return x.AfterSchema + } + return nil +} + +type LockTablesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *LockTablesRequest) Reset() { + *x = LockTablesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LockTablesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LockTablesRequest) ProtoMessage() {} + +func (x *LockTablesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LockTablesRequest.ProtoReflect.Descriptor instead. +func (*LockTablesRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{32} +} + +type LockTablesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *LockTablesResponse) Reset() { + *x = LockTablesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LockTablesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LockTablesResponse) ProtoMessage() {} + +func (x *LockTablesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LockTablesResponse.ProtoReflect.Descriptor instead. +func (*LockTablesResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{33} +} + +type UnlockTablesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *UnlockTablesRequest) Reset() { + *x = UnlockTablesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockTablesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockTablesRequest) ProtoMessage() {} + +func (x *UnlockTablesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockTablesRequest.ProtoReflect.Descriptor instead. +func (*UnlockTablesRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{34} +} + +type UnlockTablesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *UnlockTablesResponse) Reset() { + *x = UnlockTablesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockTablesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockTablesResponse) ProtoMessage() {} + +func (x *UnlockTablesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnlockTablesResponse.ProtoReflect.Descriptor instead. +func (*UnlockTablesResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{35} +} + +type ExecuteQueryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v192.CallerID `protobuf:"bytes,4,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` +} + +func (x *ExecuteQueryRequest) Reset() { + *x = ExecuteQueryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteQueryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteQueryRequest) ProtoMessage() {} + +func (x *ExecuteQueryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteQueryRequest.ProtoReflect.Descriptor instead. +func (*ExecuteQueryRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{36} +} + +func (x *ExecuteQueryRequest) GetQuery() []byte { + if x != nil { + return x.Query + } + return nil +} + +func (x *ExecuteQueryRequest) GetDbName() string { + if x != nil { + return x.DbName + } + return "" +} + +func (x *ExecuteQueryRequest) GetMaxRows() uint64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *ExecuteQueryRequest) GetCallerId() *v192.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +type ExecuteQueryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteQueryResponse) Reset() { + *x = ExecuteQueryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteQueryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteQueryResponse) ProtoMessage() {} + +func (x *ExecuteQueryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteQueryResponse.ProtoReflect.Descriptor instead. +func (*ExecuteQueryResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{37} +} + +func (x *ExecuteQueryResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ExecuteFetchAsDbaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + DisableBinlogs bool `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs,proto3" json:"disable_binlogs,omitempty"` + ReloadSchema bool `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` + DisableForeignKeyChecks bool `protobuf:"varint,6,opt,name=disable_foreign_key_checks,json=disableForeignKeyChecks,proto3" json:"disable_foreign_key_checks,omitempty"` +} + +func (x *ExecuteFetchAsDbaRequest) Reset() { + *x = ExecuteFetchAsDbaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsDbaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsDbaRequest) ProtoMessage() {} + +func (x *ExecuteFetchAsDbaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsDbaRequest.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsDbaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{38} +} + +func (x *ExecuteFetchAsDbaRequest) GetQuery() []byte { + if x != nil { + return x.Query + } + return nil +} + +func (x *ExecuteFetchAsDbaRequest) GetDbName() string { + if x != nil { + return x.DbName + } + return "" +} + +func (x *ExecuteFetchAsDbaRequest) GetMaxRows() uint64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *ExecuteFetchAsDbaRequest) GetDisableBinlogs() bool { + if x != nil { + return x.DisableBinlogs + } + return false +} + +func (x *ExecuteFetchAsDbaRequest) GetReloadSchema() bool { + if x != nil { + return x.ReloadSchema + } + return false +} + +func (x *ExecuteFetchAsDbaRequest) GetDisableForeignKeyChecks() bool { + if x != nil { + return x.DisableForeignKeyChecks + } + return false +} + +type ExecuteFetchAsDbaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteFetchAsDbaResponse) Reset() { + *x = ExecuteFetchAsDbaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsDbaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsDbaResponse) ProtoMessage() {} + +func (x *ExecuteFetchAsDbaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsDbaResponse.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsDbaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{39} +} + +func (x *ExecuteFetchAsDbaResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ExecuteFetchAsAllPrivsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + MaxRows uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + ReloadSchema bool `protobuf:"varint,4,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` +} + +func (x *ExecuteFetchAsAllPrivsRequest) Reset() { + *x = ExecuteFetchAsAllPrivsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsAllPrivsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsAllPrivsRequest) ProtoMessage() {} + +func (x *ExecuteFetchAsAllPrivsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsAllPrivsRequest.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsAllPrivsRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{40} +} + +func (x *ExecuteFetchAsAllPrivsRequest) GetQuery() []byte { + if x != nil { + return x.Query + } + return nil +} + +func (x *ExecuteFetchAsAllPrivsRequest) GetDbName() string { + if x != nil { + return x.DbName + } + return "" +} + +func (x *ExecuteFetchAsAllPrivsRequest) GetMaxRows() uint64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *ExecuteFetchAsAllPrivsRequest) GetReloadSchema() bool { + if x != nil { + return x.ReloadSchema + } + return false +} + +type ExecuteFetchAsAllPrivsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteFetchAsAllPrivsResponse) Reset() { + *x = ExecuteFetchAsAllPrivsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsAllPrivsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsAllPrivsResponse) ProtoMessage() {} + +func (x *ExecuteFetchAsAllPrivsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsAllPrivsResponse.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsAllPrivsResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{41} +} + +func (x *ExecuteFetchAsAllPrivsResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ExecuteFetchAsAppRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + MaxRows uint64 `protobuf:"varint,2,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` +} + +func (x *ExecuteFetchAsAppRequest) Reset() { + *x = ExecuteFetchAsAppRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsAppRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsAppRequest) ProtoMessage() {} + +func (x *ExecuteFetchAsAppRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsAppRequest.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsAppRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{42} +} + +func (x *ExecuteFetchAsAppRequest) GetQuery() []byte { + if x != nil { + return x.Query + } + return nil +} + +func (x *ExecuteFetchAsAppRequest) GetMaxRows() uint64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +type ExecuteFetchAsAppResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteFetchAsAppResponse) Reset() { + *x = ExecuteFetchAsAppResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsAppResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsAppResponse) ProtoMessage() {} + +func (x *ExecuteFetchAsAppResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsAppResponse.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsAppResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{43} +} + +func (x *ExecuteFetchAsAppResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ReplicationStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReplicationStatusRequest) Reset() { + *x = ReplicationStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicationStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicationStatusRequest) ProtoMessage() {} + +func (x *ReplicationStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicationStatusRequest.ProtoReflect.Descriptor instead. +func (*ReplicationStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{44} +} + +type ReplicationStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status *v193.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *ReplicationStatusResponse) Reset() { + *x = ReplicationStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicationStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicationStatusResponse) ProtoMessage() {} + +func (x *ReplicationStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicationStatusResponse.ProtoReflect.Descriptor instead. +func (*ReplicationStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{45} +} + +func (x *ReplicationStatusResponse) GetStatus() *v193.Status { + if x != nil { + return x.Status + } + return nil +} + +type PrimaryStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PrimaryStatusRequest) Reset() { + *x = PrimaryStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrimaryStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrimaryStatusRequest) ProtoMessage() {} + +func (x *PrimaryStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrimaryStatusRequest.ProtoReflect.Descriptor instead. +func (*PrimaryStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{46} +} + +type PrimaryStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status *v193.PrimaryStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *PrimaryStatusResponse) Reset() { + *x = PrimaryStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrimaryStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrimaryStatusResponse) ProtoMessage() {} + +func (x *PrimaryStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrimaryStatusResponse.ProtoReflect.Descriptor instead. +func (*PrimaryStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{47} +} + +func (x *PrimaryStatusResponse) GetStatus() *v193.PrimaryStatus { + if x != nil { + return x.Status + } + return nil +} + +type PrimaryPositionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PrimaryPositionRequest) Reset() { + *x = PrimaryPositionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrimaryPositionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrimaryPositionRequest) ProtoMessage() {} + +func (x *PrimaryPositionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrimaryPositionRequest.ProtoReflect.Descriptor instead. +func (*PrimaryPositionRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{48} +} + +type PrimaryPositionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *PrimaryPositionResponse) Reset() { + *x = PrimaryPositionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrimaryPositionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrimaryPositionResponse) ProtoMessage() {} + +func (x *PrimaryPositionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrimaryPositionResponse.ProtoReflect.Descriptor instead. +func (*PrimaryPositionResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{49} +} + +func (x *PrimaryPositionResponse) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type WaitForPositionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *WaitForPositionRequest) Reset() { + *x = WaitForPositionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForPositionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForPositionRequest) ProtoMessage() {} + +func (x *WaitForPositionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForPositionRequest.ProtoReflect.Descriptor instead. +func (*WaitForPositionRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{50} +} + +func (x *WaitForPositionRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type WaitForPositionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitForPositionResponse) Reset() { + *x = WaitForPositionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForPositionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForPositionResponse) ProtoMessage() {} + +func (x *WaitForPositionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForPositionResponse.ProtoReflect.Descriptor instead. +func (*WaitForPositionResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{51} +} + +type StopReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StopReplicationRequest) Reset() { + *x = StopReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationRequest) ProtoMessage() {} + +func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{52} +} + +type StopReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StopReplicationResponse) Reset() { + *x = StopReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationResponse) ProtoMessage() {} + +func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{53} +} + +type StopReplicationMinimumRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` +} + +func (x *StopReplicationMinimumRequest) Reset() { + *x = StopReplicationMinimumRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationMinimumRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationMinimumRequest) ProtoMessage() {} + +func (x *StopReplicationMinimumRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationMinimumRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationMinimumRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{54} +} + +func (x *StopReplicationMinimumRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *StopReplicationMinimumRequest) GetWaitTimeout() int64 { + if x != nil { + return x.WaitTimeout + } + return 0 +} + +type StopReplicationMinimumResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *StopReplicationMinimumResponse) Reset() { + *x = StopReplicationMinimumResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationMinimumResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationMinimumResponse) ProtoMessage() {} + +func (x *StopReplicationMinimumResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationMinimumResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationMinimumResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{55} +} + +func (x *StopReplicationMinimumResponse) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type StartReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` +} + +func (x *StartReplicationRequest) Reset() { + *x = StartReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationRequest) ProtoMessage() {} + +func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. +func (*StartReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{56} +} + +func (x *StartReplicationRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type StartReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StartReplicationResponse) Reset() { + *x = StartReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationResponse) ProtoMessage() {} + +func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. +func (*StartReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{57} +} + +type StartReplicationUntilAfterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + WaitTimeout int64 `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` +} + +func (x *StartReplicationUntilAfterRequest) Reset() { + *x = StartReplicationUntilAfterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationUntilAfterRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationUntilAfterRequest) ProtoMessage() {} + +func (x *StartReplicationUntilAfterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationUntilAfterRequest.ProtoReflect.Descriptor instead. +func (*StartReplicationUntilAfterRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{58} +} + +func (x *StartReplicationUntilAfterRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *StartReplicationUntilAfterRequest) GetWaitTimeout() int64 { + if x != nil { + return x.WaitTimeout + } + return 0 +} + +type StartReplicationUntilAfterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StartReplicationUntilAfterResponse) Reset() { + *x = StartReplicationUntilAfterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationUntilAfterResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationUntilAfterResponse) ProtoMessage() {} + +func (x *StartReplicationUntilAfterResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationUntilAfterResponse.ProtoReflect.Descriptor instead. +func (*StartReplicationUntilAfterResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{59} +} + +type GetReplicasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetReplicasRequest) Reset() { + *x = GetReplicasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReplicasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReplicasRequest) ProtoMessage() {} + +func (x *GetReplicasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReplicasRequest.ProtoReflect.Descriptor instead. +func (*GetReplicasRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{60} +} + +type GetReplicasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` +} + +func (x *GetReplicasResponse) Reset() { + *x = GetReplicasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReplicasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReplicasResponse) ProtoMessage() {} + +func (x *GetReplicasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReplicasResponse.ProtoReflect.Descriptor instead. +func (*GetReplicasResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{61} +} + +func (x *GetReplicasResponse) GetAddrs() []string { + if x != nil { + return x.Addrs + } + return nil +} + +type ResetReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ResetReplicationRequest) Reset() { + *x = ResetReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetReplicationRequest) ProtoMessage() {} + +func (x *ResetReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetReplicationRequest.ProtoReflect.Descriptor instead. +func (*ResetReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{62} +} + +type ResetReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ResetReplicationResponse) Reset() { + *x = ResetReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetReplicationResponse) ProtoMessage() {} + +func (x *ResetReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetReplicationResponse.ProtoReflect.Descriptor instead. +func (*ResetReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{63} +} + +type VReplicationExecRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` +} + +func (x *VReplicationExecRequest) Reset() { + *x = VReplicationExecRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VReplicationExecRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VReplicationExecRequest) ProtoMessage() {} + +func (x *VReplicationExecRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VReplicationExecRequest.ProtoReflect.Descriptor instead. +func (*VReplicationExecRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{64} +} + +func (x *VReplicationExecRequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +type VReplicationExecResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *VReplicationExecResponse) Reset() { + *x = VReplicationExecResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VReplicationExecResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VReplicationExecResponse) ProtoMessage() {} + +func (x *VReplicationExecResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VReplicationExecResponse.ProtoReflect.Descriptor instead. +func (*VReplicationExecResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{65} +} + +func (x *VReplicationExecResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type VReplicationWaitForPosRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *VReplicationWaitForPosRequest) Reset() { + *x = VReplicationWaitForPosRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VReplicationWaitForPosRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VReplicationWaitForPosRequest) ProtoMessage() {} + +func (x *VReplicationWaitForPosRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VReplicationWaitForPosRequest.ProtoReflect.Descriptor instead. +func (*VReplicationWaitForPosRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{66} +} + +func (x *VReplicationWaitForPosRequest) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *VReplicationWaitForPosRequest) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type VReplicationWaitForPosResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *VReplicationWaitForPosResponse) Reset() { + *x = VReplicationWaitForPosResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VReplicationWaitForPosResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VReplicationWaitForPosResponse) ProtoMessage() {} + +func (x *VReplicationWaitForPosResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VReplicationWaitForPosResponse.ProtoReflect.Descriptor instead. +func (*VReplicationWaitForPosResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{67} +} + +type InitPrimaryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` +} + +func (x *InitPrimaryRequest) Reset() { + *x = InitPrimaryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitPrimaryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitPrimaryRequest) ProtoMessage() {} + +func (x *InitPrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitPrimaryRequest.ProtoReflect.Descriptor instead. +func (*InitPrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{68} +} + +func (x *InitPrimaryRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type InitPrimaryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *InitPrimaryResponse) Reset() { + *x = InitPrimaryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitPrimaryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitPrimaryResponse) ProtoMessage() {} + +func (x *InitPrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitPrimaryResponse.ProtoReflect.Descriptor instead. +func (*InitPrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{69} +} + +func (x *InitPrimaryResponse) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type PopulateReparentJournalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeCreatedNs int64 `protobuf:"varint,1,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` + ActionName string `protobuf:"bytes,2,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"` + PrimaryAlias *v191.TabletAlias `protobuf:"bytes,3,opt,name=primary_alias,json=primaryAlias,proto3" json:"primary_alias,omitempty"` + ReplicationPosition string `protobuf:"bytes,4,opt,name=replication_position,json=replicationPosition,proto3" json:"replication_position,omitempty"` +} + +func (x *PopulateReparentJournalRequest) Reset() { + *x = PopulateReparentJournalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PopulateReparentJournalRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PopulateReparentJournalRequest) ProtoMessage() {} + +func (x *PopulateReparentJournalRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PopulateReparentJournalRequest.ProtoReflect.Descriptor instead. +func (*PopulateReparentJournalRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{70} +} + +func (x *PopulateReparentJournalRequest) GetTimeCreatedNs() int64 { + if x != nil { + return x.TimeCreatedNs + } + return 0 +} + +func (x *PopulateReparentJournalRequest) GetActionName() string { + if x != nil { + return x.ActionName + } + return "" +} + +func (x *PopulateReparentJournalRequest) GetPrimaryAlias() *v191.TabletAlias { + if x != nil { + return x.PrimaryAlias + } + return nil +} + +func (x *PopulateReparentJournalRequest) GetReplicationPosition() string { + if x != nil { + return x.ReplicationPosition + } + return "" +} + +type PopulateReparentJournalResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PopulateReparentJournalResponse) Reset() { + *x = PopulateReparentJournalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PopulateReparentJournalResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PopulateReparentJournalResponse) ProtoMessage() {} + +func (x *PopulateReparentJournalResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PopulateReparentJournalResponse.ProtoReflect.Descriptor instead. +func (*PopulateReparentJournalResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{71} +} + +type InitReplicaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Parent *v191.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + ReplicationPosition string `protobuf:"bytes,2,opt,name=replication_position,json=replicationPosition,proto3" json:"replication_position,omitempty"` + TimeCreatedNs int64 `protobuf:"varint,3,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` + SemiSync bool `protobuf:"varint,4,opt,name=semiSync,proto3" json:"semiSync,omitempty"` +} + +func (x *InitReplicaRequest) Reset() { + *x = InitReplicaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitReplicaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitReplicaRequest) ProtoMessage() {} + +func (x *InitReplicaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitReplicaRequest.ProtoReflect.Descriptor instead. +func (*InitReplicaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{72} +} + +func (x *InitReplicaRequest) GetParent() *v191.TabletAlias { + if x != nil { + return x.Parent + } + return nil +} + +func (x *InitReplicaRequest) GetReplicationPosition() string { + if x != nil { + return x.ReplicationPosition + } + return "" +} + +func (x *InitReplicaRequest) GetTimeCreatedNs() int64 { + if x != nil { + return x.TimeCreatedNs + } + return 0 +} + +func (x *InitReplicaRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type InitReplicaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *InitReplicaResponse) Reset() { + *x = InitReplicaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitReplicaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitReplicaResponse) ProtoMessage() {} + +func (x *InitReplicaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitReplicaResponse.ProtoReflect.Descriptor instead. +func (*InitReplicaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{73} +} + +type DemotePrimaryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DemotePrimaryRequest) Reset() { + *x = DemotePrimaryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DemotePrimaryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DemotePrimaryRequest) ProtoMessage() {} + +func (x *DemotePrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DemotePrimaryRequest.ProtoReflect.Descriptor instead. +func (*DemotePrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{74} +} + +type DemotePrimaryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PrimaryStatus represents the response from calling `SHOW MASTER STATUS` on a primary that has been demoted. + PrimaryStatus *v193.PrimaryStatus `protobuf:"bytes,2,opt,name=primary_status,json=primaryStatus,proto3" json:"primary_status,omitempty"` +} + +func (x *DemotePrimaryResponse) Reset() { + *x = DemotePrimaryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DemotePrimaryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DemotePrimaryResponse) ProtoMessage() {} + +func (x *DemotePrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DemotePrimaryResponse.ProtoReflect.Descriptor instead. +func (*DemotePrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{75} +} + +func (x *DemotePrimaryResponse) GetPrimaryStatus() *v193.PrimaryStatus { + if x != nil { + return x.PrimaryStatus + } + return nil +} + +type UndoDemotePrimaryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` +} + +func (x *UndoDemotePrimaryRequest) Reset() { + *x = UndoDemotePrimaryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UndoDemotePrimaryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UndoDemotePrimaryRequest) ProtoMessage() {} + +func (x *UndoDemotePrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UndoDemotePrimaryRequest.ProtoReflect.Descriptor instead. +func (*UndoDemotePrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{76} +} + +func (x *UndoDemotePrimaryRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type UndoDemotePrimaryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *UndoDemotePrimaryResponse) Reset() { + *x = UndoDemotePrimaryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UndoDemotePrimaryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UndoDemotePrimaryResponse) ProtoMessage() {} + +func (x *UndoDemotePrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UndoDemotePrimaryResponse.ProtoReflect.Descriptor instead. +func (*UndoDemotePrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{77} +} + +type ReplicaWasPromotedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReplicaWasPromotedRequest) Reset() { + *x = ReplicaWasPromotedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicaWasPromotedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicaWasPromotedRequest) ProtoMessage() {} + +func (x *ReplicaWasPromotedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicaWasPromotedRequest.ProtoReflect.Descriptor instead. +func (*ReplicaWasPromotedRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{78} +} + +type ReplicaWasPromotedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReplicaWasPromotedResponse) Reset() { + *x = ReplicaWasPromotedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicaWasPromotedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicaWasPromotedResponse) ProtoMessage() {} + +func (x *ReplicaWasPromotedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicaWasPromotedResponse.ProtoReflect.Descriptor instead. +func (*ReplicaWasPromotedResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{79} +} + +type ResetReplicationParametersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ResetReplicationParametersRequest) Reset() { + *x = ResetReplicationParametersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetReplicationParametersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetReplicationParametersRequest) ProtoMessage() {} + +func (x *ResetReplicationParametersRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetReplicationParametersRequest.ProtoReflect.Descriptor instead. +func (*ResetReplicationParametersRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{80} +} + +type ResetReplicationParametersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ResetReplicationParametersResponse) Reset() { + *x = ResetReplicationParametersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetReplicationParametersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetReplicationParametersResponse) ProtoMessage() {} + +func (x *ResetReplicationParametersResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetReplicationParametersResponse.ProtoReflect.Descriptor instead. +func (*ResetReplicationParametersResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{81} +} + +type FullStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FullStatusRequest) Reset() { + *x = FullStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FullStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FullStatusRequest) ProtoMessage() {} + +func (x *FullStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FullStatusRequest.ProtoReflect.Descriptor instead. +func (*FullStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{82} +} + +type FullStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status *v193.FullStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *FullStatusResponse) Reset() { + *x = FullStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FullStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FullStatusResponse) ProtoMessage() {} + +func (x *FullStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FullStatusResponse.ProtoReflect.Descriptor instead. +func (*FullStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{83} +} + +func (x *FullStatusResponse) GetStatus() *v193.FullStatus { + if x != nil { + return x.Status + } + return nil +} + +type SetReplicationSourceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Parent *v191.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + TimeCreatedNs int64 `protobuf:"varint,2,opt,name=time_created_ns,json=timeCreatedNs,proto3" json:"time_created_ns,omitempty"` + ForceStartReplication bool `protobuf:"varint,3,opt,name=force_start_replication,json=forceStartReplication,proto3" json:"force_start_replication,omitempty"` + WaitPosition string `protobuf:"bytes,4,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + SemiSync bool `protobuf:"varint,5,opt,name=semiSync,proto3" json:"semiSync,omitempty"` +} + +func (x *SetReplicationSourceRequest) Reset() { + *x = SetReplicationSourceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReplicationSourceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReplicationSourceRequest) ProtoMessage() {} + +func (x *SetReplicationSourceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReplicationSourceRequest.ProtoReflect.Descriptor instead. +func (*SetReplicationSourceRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{84} +} + +func (x *SetReplicationSourceRequest) GetParent() *v191.TabletAlias { + if x != nil { + return x.Parent + } + return nil +} + +func (x *SetReplicationSourceRequest) GetTimeCreatedNs() int64 { + if x != nil { + return x.TimeCreatedNs + } + return 0 +} + +func (x *SetReplicationSourceRequest) GetForceStartReplication() bool { + if x != nil { + return x.ForceStartReplication + } + return false +} + +func (x *SetReplicationSourceRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} + +func (x *SetReplicationSourceRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type SetReplicationSourceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetReplicationSourceResponse) Reset() { + *x = SetReplicationSourceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReplicationSourceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReplicationSourceResponse) ProtoMessage() {} + +func (x *SetReplicationSourceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReplicationSourceResponse.ProtoReflect.Descriptor instead. +func (*SetReplicationSourceResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{85} +} + +type ReplicaWasRestartedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the parent alias the tablet should have + Parent *v191.TabletAlias `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` +} + +func (x *ReplicaWasRestartedRequest) Reset() { + *x = ReplicaWasRestartedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicaWasRestartedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicaWasRestartedRequest) ProtoMessage() {} + +func (x *ReplicaWasRestartedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicaWasRestartedRequest.ProtoReflect.Descriptor instead. +func (*ReplicaWasRestartedRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{86} +} + +func (x *ReplicaWasRestartedRequest) GetParent() *v191.TabletAlias { + if x != nil { + return x.Parent + } + return nil +} + +type ReplicaWasRestartedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReplicaWasRestartedResponse) Reset() { + *x = ReplicaWasRestartedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicaWasRestartedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicaWasRestartedResponse) ProtoMessage() {} + +func (x *ReplicaWasRestartedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicaWasRestartedResponse.ProtoReflect.Descriptor instead. +func (*ReplicaWasRestartedResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{87} +} + +type StopReplicationAndGetStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StopReplicationMode v193.StopReplicationMode `protobuf:"varint,1,opt,name=stop_replication_mode,json=stopReplicationMode,proto3,enum=vitess.replicationdata.v19.StopReplicationMode" json:"stop_replication_mode,omitempty"` +} + +func (x *StopReplicationAndGetStatusRequest) Reset() { + *x = StopReplicationAndGetStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationAndGetStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationAndGetStatusRequest) ProtoMessage() {} + +func (x *StopReplicationAndGetStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[88] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationAndGetStatusRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationAndGetStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{88} +} + +func (x *StopReplicationAndGetStatusRequest) GetStopReplicationMode() v193.StopReplicationMode { + if x != nil { + return x.StopReplicationMode + } + return v193.StopReplicationMode(0) +} + +type StopReplicationAndGetStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Status represents the replication status call right before, and right after telling the replica to stop. + Status *v193.StopReplicationStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *StopReplicationAndGetStatusResponse) Reset() { + *x = StopReplicationAndGetStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationAndGetStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationAndGetStatusResponse) ProtoMessage() {} + +func (x *StopReplicationAndGetStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationAndGetStatusResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationAndGetStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{89} +} + +func (x *StopReplicationAndGetStatusResponse) GetStatus() *v193.StopReplicationStatus { + if x != nil { + return x.Status + } + return nil +} + +type PromoteReplicaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SemiSync bool `protobuf:"varint,1,opt,name=semiSync,proto3" json:"semiSync,omitempty"` +} + +func (x *PromoteReplicaRequest) Reset() { + *x = PromoteReplicaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PromoteReplicaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PromoteReplicaRequest) ProtoMessage() {} + +func (x *PromoteReplicaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PromoteReplicaRequest.ProtoReflect.Descriptor instead. +func (*PromoteReplicaRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{90} +} + +func (x *PromoteReplicaRequest) GetSemiSync() bool { + if x != nil { + return x.SemiSync + } + return false +} + +type PromoteReplicaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` +} + +func (x *PromoteReplicaResponse) Reset() { + *x = PromoteReplicaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PromoteReplicaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PromoteReplicaResponse) ProtoMessage() {} + +func (x *PromoteReplicaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[91] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PromoteReplicaResponse.ProtoReflect.Descriptor instead. +func (*PromoteReplicaResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{91} +} + +func (x *PromoteReplicaResponse) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +type BackupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Concurrency int32 `protobuf:"varint,1,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + AllowPrimary bool `protobuf:"varint,2,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` + // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty + // then the backup becomes incremental and applies as of given position. + IncrementalFromPos string `protobuf:"bytes,3,opt,name=incremental_from_pos,json=incrementalFromPos,proto3" json:"incremental_from_pos,omitempty"` + // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 + // so that it's a backup that can be used for an upgrade. + UpgradeSafe bool `protobuf:"varint,4,opt,name=upgrade_safe,json=upgradeSafe,proto3" json:"upgrade_safe,omitempty"` +} + +func (x *BackupRequest) Reset() { + *x = BackupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupRequest) ProtoMessage() {} + +func (x *BackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupRequest.ProtoReflect.Descriptor instead. +func (*BackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{92} +} + +func (x *BackupRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +func (x *BackupRequest) GetAllowPrimary() bool { + if x != nil { + return x.AllowPrimary + } + return false +} + +func (x *BackupRequest) GetIncrementalFromPos() string { + if x != nil { + return x.IncrementalFromPos + } + return "" +} + +func (x *BackupRequest) GetUpgradeSafe() bool { + if x != nil { + return x.UpgradeSafe + } + return false +} + +type BackupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event *v194.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` +} + +func (x *BackupResponse) Reset() { + *x = BackupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupResponse) ProtoMessage() {} + +func (x *BackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupResponse.ProtoReflect.Descriptor instead. +func (*BackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{93} +} + +func (x *BackupResponse) GetEvent() *v194.Event { + if x != nil { + return x.Event + } + return nil +} + +type RestoreFromBackupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BackupTime *v195.Time `protobuf:"bytes,1,opt,name=backup_time,json=backupTime,proto3" json:"backup_time,omitempty"` + // RestoreToPos indicates a position for a point-in-time recovery. The recovery + // is expected to utilize one full backup, followed by zero or more incremental backups, + // that reach the precise desired position + RestoreToPos string `protobuf:"bytes,2,opt,name=restore_to_pos,json=restoreToPos,proto3" json:"restore_to_pos,omitempty"` + // Dry run does not actually performs the restore, but validates the steps and availability of backups + DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. + // RestoreToTimestamp and RestoreToPos are mutually exclusive. + RestoreToTimestamp *v195.Time `protobuf:"bytes,4,opt,name=restore_to_timestamp,json=restoreToTimestamp,proto3" json:"restore_to_timestamp,omitempty"` +} + +func (x *RestoreFromBackupRequest) Reset() { + *x = RestoreFromBackupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestoreFromBackupRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestoreFromBackupRequest) ProtoMessage() {} + +func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestoreFromBackupRequest.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{94} +} + +func (x *RestoreFromBackupRequest) GetBackupTime() *v195.Time { + if x != nil { + return x.BackupTime + } + return nil +} + +func (x *RestoreFromBackupRequest) GetRestoreToPos() string { + if x != nil { + return x.RestoreToPos + } + return "" +} + +func (x *RestoreFromBackupRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *RestoreFromBackupRequest) GetRestoreToTimestamp() *v195.Time { + if x != nil { + return x.RestoreToTimestamp + } + return nil +} + +type RestoreFromBackupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event *v194.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` +} + +func (x *RestoreFromBackupResponse) Reset() { + *x = RestoreFromBackupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestoreFromBackupResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestoreFromBackupResponse) ProtoMessage() {} + +func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestoreFromBackupResponse.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{95} +} + +func (x *RestoreFromBackupResponse) GetEvent() *v194.Event { + if x != nil { + return x.Event + } + return nil +} + +type CreateVReplicationWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + BinlogSource []*v196.BinlogSource `protobuf:"bytes,2,rep,name=binlog_source,json=binlogSource,proto3" json:"binlog_source,omitempty"` + // Optional parameters. + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + // TabletTypes is the list of tablet types to use when selecting source tablets. + TabletTypes []v191.TabletType `protobuf:"varint,4,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,5,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + WorkflowType v196.VReplicationWorkflowType `protobuf:"varint,6,opt,name=workflow_type,json=workflowType,proto3,enum=vitess.binlogdata.v19.VReplicationWorkflowType" json:"workflow_type,omitempty"` + WorkflowSubType v196.VReplicationWorkflowSubType `protobuf:"varint,7,opt,name=workflow_sub_type,json=workflowSubType,proto3,enum=vitess.binlogdata.v19.VReplicationWorkflowSubType" json:"workflow_sub_type,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table + // copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,8,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // AutoStart specifies if the workflow should be started when created. + AutoStart bool `protobuf:"varint,9,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` + // Should the workflow stop after the copy phase. + StopAfterCopy bool `protobuf:"varint,10,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` +} + +func (x *CreateVReplicationWorkflowRequest) Reset() { + *x = CreateVReplicationWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateVReplicationWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateVReplicationWorkflowRequest) ProtoMessage() {} + +func (x *CreateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*CreateVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{96} +} + +func (x *CreateVReplicationWorkflowRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *CreateVReplicationWorkflowRequest) GetBinlogSource() []*v196.BinlogSource { + if x != nil { + return x.BinlogSource + } + return nil +} + +func (x *CreateVReplicationWorkflowRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *CreateVReplicationWorkflowRequest) GetTabletTypes() []v191.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *CreateVReplicationWorkflowRequest) GetTabletSelectionPreference() TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return TabletSelectionPreference_ANY +} + +func (x *CreateVReplicationWorkflowRequest) GetWorkflowType() v196.VReplicationWorkflowType { + if x != nil { + return x.WorkflowType + } + return v196.VReplicationWorkflowType(0) +} + +func (x *CreateVReplicationWorkflowRequest) GetWorkflowSubType() v196.VReplicationWorkflowSubType { + if x != nil { + return x.WorkflowSubType + } + return v196.VReplicationWorkflowSubType(0) +} + +func (x *CreateVReplicationWorkflowRequest) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false +} + +func (x *CreateVReplicationWorkflowRequest) GetAutoStart() bool { + if x != nil { + return x.AutoStart + } + return false +} + +func (x *CreateVReplicationWorkflowRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} + +type CreateVReplicationWorkflowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *CreateVReplicationWorkflowResponse) Reset() { + *x = CreateVReplicationWorkflowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateVReplicationWorkflowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateVReplicationWorkflowResponse) ProtoMessage() {} + +func (x *CreateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*CreateVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{97} +} + +func (x *CreateVReplicationWorkflowResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type DeleteVReplicationWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` +} + +func (x *DeleteVReplicationWorkflowRequest) Reset() { + *x = DeleteVReplicationWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteVReplicationWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteVReplicationWorkflowRequest) ProtoMessage() {} + +func (x *DeleteVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*DeleteVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{98} +} + +func (x *DeleteVReplicationWorkflowRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +type DeleteVReplicationWorkflowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *DeleteVReplicationWorkflowResponse) Reset() { + *x = DeleteVReplicationWorkflowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteVReplicationWorkflowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteVReplicationWorkflowResponse) ProtoMessage() {} + +func (x *DeleteVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[99] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*DeleteVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{99} +} + +func (x *DeleteVReplicationWorkflowResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ReadVReplicationWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` +} + +func (x *ReadVReplicationWorkflowRequest) Reset() { + *x = ReadVReplicationWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadVReplicationWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadVReplicationWorkflowRequest) ProtoMessage() {} + +func (x *ReadVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[100] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{100} +} + +func (x *ReadVReplicationWorkflowRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +type ReadVReplicationWorkflowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Cells string `protobuf:"bytes,3,opt,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []v191.TabletType `protobuf:"varint,4,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,5,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + DbName string `protobuf:"bytes,6,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + Tags string `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"` + WorkflowType v196.VReplicationWorkflowType `protobuf:"varint,8,opt,name=workflow_type,json=workflowType,proto3,enum=vitess.binlogdata.v19.VReplicationWorkflowType" json:"workflow_type,omitempty"` + WorkflowSubType v196.VReplicationWorkflowSubType `protobuf:"varint,9,opt,name=workflow_sub_type,json=workflowSubType,proto3,enum=vitess.binlogdata.v19.VReplicationWorkflowSubType" json:"workflow_sub_type,omitempty"` + DeferSecondaryKeys bool `protobuf:"varint,10,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + Streams []*ReadVReplicationWorkflowResponse_Stream `protobuf:"bytes,11,rep,name=streams,proto3" json:"streams,omitempty"` +} + +func (x *ReadVReplicationWorkflowResponse) Reset() { + *x = ReadVReplicationWorkflowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadVReplicationWorkflowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadVReplicationWorkflowResponse) ProtoMessage() {} + +func (x *ReadVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{101} +} + +func (x *ReadVReplicationWorkflowResponse) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse) GetCells() string { + if x != nil { + return x.Cells + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse) GetTabletTypes() []v191.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse) GetTabletSelectionPreference() TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return TabletSelectionPreference_ANY +} + +func (x *ReadVReplicationWorkflowResponse) GetDbName() string { + if x != nil { + return x.DbName + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse) GetTags() string { + if x != nil { + return x.Tags + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse) GetWorkflowType() v196.VReplicationWorkflowType { + if x != nil { + return x.WorkflowType + } + return v196.VReplicationWorkflowType(0) +} + +func (x *ReadVReplicationWorkflowResponse) GetWorkflowSubType() v196.VReplicationWorkflowSubType { + if x != nil { + return x.WorkflowSubType + } + return v196.VReplicationWorkflowSubType(0) +} + +func (x *ReadVReplicationWorkflowResponse) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false +} + +func (x *ReadVReplicationWorkflowResponse) GetStreams() []*ReadVReplicationWorkflowResponse_Stream { + if x != nil { + return x.Streams + } + return nil +} + +type VDiffRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` + ActionArg string `protobuf:"bytes,4,opt,name=action_arg,json=actionArg,proto3" json:"action_arg,omitempty"` + VdiffUuid string `protobuf:"bytes,5,opt,name=vdiff_uuid,json=vdiffUuid,proto3" json:"vdiff_uuid,omitempty"` + Options *VDiffOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *VDiffRequest) Reset() { + *x = VDiffRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffRequest) ProtoMessage() {} + +func (x *VDiffRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[102] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffRequest.ProtoReflect.Descriptor instead. +func (*VDiffRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{102} +} + +func (x *VDiffRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *VDiffRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *VDiffRequest) GetAction() string { + if x != nil { + return x.Action + } + return "" +} + +func (x *VDiffRequest) GetActionArg() string { + if x != nil { + return x.ActionArg + } + return "" +} + +func (x *VDiffRequest) GetVdiffUuid() string { + if x != nil { + return x.VdiffUuid + } + return "" +} + +func (x *VDiffRequest) GetOptions() *VDiffOptions { + if x != nil { + return x.Options + } + return nil +} + +type VDiffResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Output *v19.QueryResult `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` + VdiffUuid string `protobuf:"bytes,3,opt,name=vdiff_uuid,json=vdiffUuid,proto3" json:"vdiff_uuid,omitempty"` +} + +func (x *VDiffResponse) Reset() { + *x = VDiffResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffResponse) ProtoMessage() {} + +func (x *VDiffResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffResponse.ProtoReflect.Descriptor instead. +func (*VDiffResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{103} +} + +func (x *VDiffResponse) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *VDiffResponse) GetOutput() *v19.QueryResult { + if x != nil { + return x.Output + } + return nil +} + +func (x *VDiffResponse) GetVdiffUuid() string { + if x != nil { + return x.VdiffUuid + } + return "" +} + +// options that influence the tablet selected by the picker for streaming data from +type VDiffPickerOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletTypes string `protobuf:"bytes,1,opt,name=tablet_types,json=tabletTypes,proto3" json:"tablet_types,omitempty"` + SourceCell string `protobuf:"bytes,2,opt,name=source_cell,json=sourceCell,proto3" json:"source_cell,omitempty"` + TargetCell string `protobuf:"bytes,3,opt,name=target_cell,json=targetCell,proto3" json:"target_cell,omitempty"` +} + +func (x *VDiffPickerOptions) Reset() { + *x = VDiffPickerOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffPickerOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffPickerOptions) ProtoMessage() {} + +func (x *VDiffPickerOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[104] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffPickerOptions.ProtoReflect.Descriptor instead. +func (*VDiffPickerOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{104} +} + +func (x *VDiffPickerOptions) GetTabletTypes() string { + if x != nil { + return x.TabletTypes + } + return "" +} + +func (x *VDiffPickerOptions) GetSourceCell() string { + if x != nil { + return x.SourceCell + } + return "" +} + +func (x *VDiffPickerOptions) GetTargetCell() string { + if x != nil { + return x.TargetCell + } + return "" +} + +// options that only influence how vdiff differences are reported +type VDiffReportOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OnlyPks bool `protobuf:"varint,1,opt,name=only_pks,json=onlyPks,proto3" json:"only_pks,omitempty"` + DebugQuery bool `protobuf:"varint,2,opt,name=debug_query,json=debugQuery,proto3" json:"debug_query,omitempty"` + Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` + MaxSampleRows int64 `protobuf:"varint,4,opt,name=max_sample_rows,json=maxSampleRows,proto3" json:"max_sample_rows,omitempty"` +} + +func (x *VDiffReportOptions) Reset() { + *x = VDiffReportOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffReportOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffReportOptions) ProtoMessage() {} + +func (x *VDiffReportOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffReportOptions.ProtoReflect.Descriptor instead. +func (*VDiffReportOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{105} +} + +func (x *VDiffReportOptions) GetOnlyPks() bool { + if x != nil { + return x.OnlyPks + } + return false +} + +func (x *VDiffReportOptions) GetDebugQuery() bool { + if x != nil { + return x.DebugQuery + } + return false +} + +func (x *VDiffReportOptions) GetFormat() string { + if x != nil { + return x.Format + } + return "" +} + +func (x *VDiffReportOptions) GetMaxSampleRows() int64 { + if x != nil { + return x.MaxSampleRows + } + return 0 +} + +type VDiffCoreOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tables string `protobuf:"bytes,1,opt,name=tables,proto3" json:"tables,omitempty"` + AutoRetry bool `protobuf:"varint,2,opt,name=auto_retry,json=autoRetry,proto3" json:"auto_retry,omitempty"` + MaxRows int64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + Checksum bool `protobuf:"varint,4,opt,name=checksum,proto3" json:"checksum,omitempty"` + SamplePct int64 `protobuf:"varint,5,opt,name=sample_pct,json=samplePct,proto3" json:"sample_pct,omitempty"` + TimeoutSeconds int64 `protobuf:"varint,6,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` + MaxExtraRowsToCompare int64 `protobuf:"varint,7,opt,name=max_extra_rows_to_compare,json=maxExtraRowsToCompare,proto3" json:"max_extra_rows_to_compare,omitempty"` + UpdateTableStats bool `protobuf:"varint,8,opt,name=update_table_stats,json=updateTableStats,proto3" json:"update_table_stats,omitempty"` + MaxDiffSeconds int64 `protobuf:"varint,9,opt,name=max_diff_seconds,json=maxDiffSeconds,proto3" json:"max_diff_seconds,omitempty"` +} + +func (x *VDiffCoreOptions) Reset() { + *x = VDiffCoreOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffCoreOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffCoreOptions) ProtoMessage() {} + +func (x *VDiffCoreOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[106] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffCoreOptions.ProtoReflect.Descriptor instead. +func (*VDiffCoreOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{106} +} + +func (x *VDiffCoreOptions) GetTables() string { + if x != nil { + return x.Tables + } + return "" +} + +func (x *VDiffCoreOptions) GetAutoRetry() bool { + if x != nil { + return x.AutoRetry + } + return false +} + +func (x *VDiffCoreOptions) GetMaxRows() int64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *VDiffCoreOptions) GetChecksum() bool { + if x != nil { + return x.Checksum + } + return false +} + +func (x *VDiffCoreOptions) GetSamplePct() int64 { + if x != nil { + return x.SamplePct + } + return 0 +} + +func (x *VDiffCoreOptions) GetTimeoutSeconds() int64 { + if x != nil { + return x.TimeoutSeconds + } + return 0 +} + +func (x *VDiffCoreOptions) GetMaxExtraRowsToCompare() int64 { + if x != nil { + return x.MaxExtraRowsToCompare + } + return 0 +} + +func (x *VDiffCoreOptions) GetUpdateTableStats() bool { + if x != nil { + return x.UpdateTableStats + } + return false +} + +func (x *VDiffCoreOptions) GetMaxDiffSeconds() int64 { + if x != nil { + return x.MaxDiffSeconds + } + return 0 +} + +type VDiffOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PickerOptions *VDiffPickerOptions `protobuf:"bytes,1,opt,name=picker_options,json=pickerOptions,proto3" json:"picker_options,omitempty"` + CoreOptions *VDiffCoreOptions `protobuf:"bytes,2,opt,name=core_options,json=coreOptions,proto3" json:"core_options,omitempty"` + ReportOptions *VDiffReportOptions `protobuf:"bytes,3,opt,name=report_options,json=reportOptions,proto3" json:"report_options,omitempty"` +} + +func (x *VDiffOptions) Reset() { + *x = VDiffOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffOptions) ProtoMessage() {} + +func (x *VDiffOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffOptions.ProtoReflect.Descriptor instead. +func (*VDiffOptions) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{107} +} + +func (x *VDiffOptions) GetPickerOptions() *VDiffPickerOptions { + if x != nil { + return x.PickerOptions + } + return nil +} + +func (x *VDiffOptions) GetCoreOptions() *VDiffCoreOptions { + if x != nil { + return x.CoreOptions + } + return nil +} + +func (x *VDiffOptions) GetReportOptions() *VDiffReportOptions { + if x != nil { + return x.ReportOptions + } + return nil +} + +// UpdateVReplicationWorkflowRequest is used to update an existing VReplication +// workflow. Note that the following fields MUST have an explicit value provided +// if you do NOT wish to update the existing value to the given type's ZeroValue: +// cells, tablet_types, on_ddl, and state. +// TODO: leverage the optional modifier for these fields rather than using SimulatedNull +// values: https://github.com/vitessio/vitess/issues/15627 +type UpdateVReplicationWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []v191.TabletType `protobuf:"varint,3,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference TabletSelectionPreference `protobuf:"varint,4,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + OnDdl v196.OnDDLAction `protobuf:"varint,5,opt,name=on_ddl,json=onDdl,proto3,enum=vitess.binlogdata.v19.OnDDLAction" json:"on_ddl,omitempty"` + State v196.VReplicationWorkflowState `protobuf:"varint,6,opt,name=state,proto3,enum=vitess.binlogdata.v19.VReplicationWorkflowState" json:"state,omitempty"` +} + +func (x *UpdateVReplicationWorkflowRequest) Reset() { + *x = UpdateVReplicationWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateVReplicationWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateVReplicationWorkflowRequest) ProtoMessage() {} + +func (x *UpdateVReplicationWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[108] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateVReplicationWorkflowRequest.ProtoReflect.Descriptor instead. +func (*UpdateVReplicationWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{108} +} + +func (x *UpdateVReplicationWorkflowRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *UpdateVReplicationWorkflowRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *UpdateVReplicationWorkflowRequest) GetTabletTypes() []v191.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *UpdateVReplicationWorkflowRequest) GetTabletSelectionPreference() TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return TabletSelectionPreference_ANY +} + +func (x *UpdateVReplicationWorkflowRequest) GetOnDdl() v196.OnDDLAction { + if x != nil { + return x.OnDdl + } + return v196.OnDDLAction(0) +} + +func (x *UpdateVReplicationWorkflowRequest) GetState() v196.VReplicationWorkflowState { + if x != nil { + return x.State + } + return v196.VReplicationWorkflowState(0) +} + +type UpdateVReplicationWorkflowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *UpdateVReplicationWorkflowResponse) Reset() { + *x = UpdateVReplicationWorkflowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateVReplicationWorkflowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateVReplicationWorkflowResponse) ProtoMessage() {} + +func (x *UpdateVReplicationWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[109] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateVReplicationWorkflowResponse.ProtoReflect.Descriptor instead. +func (*UpdateVReplicationWorkflowResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{109} +} + +func (x *UpdateVReplicationWorkflowResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ResetSequencesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` +} + +func (x *ResetSequencesRequest) Reset() { + *x = ResetSequencesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetSequencesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetSequencesRequest) ProtoMessage() {} + +func (x *ResetSequencesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[110] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetSequencesRequest.ProtoReflect.Descriptor instead. +func (*ResetSequencesRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{110} +} + +func (x *ResetSequencesRequest) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +type ResetSequencesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ResetSequencesResponse) Reset() { + *x = ResetSequencesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetSequencesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetSequencesResponse) ProtoMessage() {} + +func (x *ResetSequencesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[111] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetSequencesResponse.ProtoReflect.Descriptor instead. +func (*ResetSequencesResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{111} +} + +type CheckThrottlerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` +} + +func (x *CheckThrottlerRequest) Reset() { + *x = CheckThrottlerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckThrottlerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckThrottlerRequest) ProtoMessage() {} + +func (x *CheckThrottlerRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckThrottlerRequest.ProtoReflect.Descriptor instead. +func (*CheckThrottlerRequest) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{112} +} + +func (x *CheckThrottlerRequest) GetAppName() string { + if x != nil { + return x.AppName + } + return "" +} + +type CheckThrottlerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // StatusCode is HTTP compliant response code (e.g. 200 for OK) + StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + // Value is the metric value collected by the tablet + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` + // Threshold is the throttling threshold the table was comparing the value with + Threshold float64 `protobuf:"fixed64,3,opt,name=threshold,proto3" json:"threshold,omitempty"` + // Error indicates an error retrieving the value + Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` + // Message + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + // RecentlyChecked indicates that the tablet has been hit with a user-facing check, which can then imply + // that heartbeats lease should be renwed. + RecentlyChecked bool `protobuf:"varint,6,opt,name=recently_checked,json=recentlyChecked,proto3" json:"recently_checked,omitempty"` +} + +func (x *CheckThrottlerResponse) Reset() { + *x = CheckThrottlerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckThrottlerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckThrottlerResponse) ProtoMessage() {} + +func (x *CheckThrottlerResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckThrottlerResponse.ProtoReflect.Descriptor instead. +func (*CheckThrottlerResponse) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{113} +} + +func (x *CheckThrottlerResponse) GetStatusCode() int32 { + if x != nil { + return x.StatusCode + } + return 0 +} + +func (x *CheckThrottlerResponse) GetValue() float64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *CheckThrottlerResponse) GetThreshold() float64 { + if x != nil { + return x.Threshold + } + return 0 +} + +func (x *CheckThrottlerResponse) GetError() string { + if x != nil { + return x.Error + } + return "" +} + +func (x *CheckThrottlerResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *CheckThrottlerResponse) GetRecentlyChecked() bool { + if x != nil { + return x.RecentlyChecked + } + return false +} + +type ReadVReplicationWorkflowResponse_Stream struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Bls *v196.BinlogSource `protobuf:"bytes,2,opt,name=bls,proto3" json:"bls,omitempty"` + Pos string `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` + StopPos string `protobuf:"bytes,4,opt,name=stop_pos,json=stopPos,proto3" json:"stop_pos,omitempty"` + MaxTps int64 `protobuf:"varint,5,opt,name=max_tps,json=maxTps,proto3" json:"max_tps,omitempty"` + MaxReplicationLag int64 `protobuf:"varint,6,opt,name=max_replication_lag,json=maxReplicationLag,proto3" json:"max_replication_lag,omitempty"` + TimeUpdated *v195.Time `protobuf:"bytes,7,opt,name=time_updated,json=timeUpdated,proto3" json:"time_updated,omitempty"` + TransactionTimestamp *v195.Time `protobuf:"bytes,8,opt,name=transaction_timestamp,json=transactionTimestamp,proto3" json:"transaction_timestamp,omitempty"` + State v196.VReplicationWorkflowState `protobuf:"varint,9,opt,name=state,proto3,enum=vitess.binlogdata.v19.VReplicationWorkflowState" json:"state,omitempty"` + Message string `protobuf:"bytes,10,opt,name=message,proto3" json:"message,omitempty"` + RowsCopied int64 `protobuf:"varint,11,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` + TimeHeartbeat *v195.Time `protobuf:"bytes,12,opt,name=time_heartbeat,json=timeHeartbeat,proto3" json:"time_heartbeat,omitempty"` + TimeThrottled *v195.Time `protobuf:"bytes,13,opt,name=time_throttled,json=timeThrottled,proto3" json:"time_throttled,omitempty"` + ComponentThrottled string `protobuf:"bytes,14,opt,name=component_throttled,json=componentThrottled,proto3" json:"component_throttled,omitempty"` +} + +func (x *ReadVReplicationWorkflowResponse_Stream) Reset() { + *x = ReadVReplicationWorkflowResponse_Stream{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadVReplicationWorkflowResponse_Stream) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadVReplicationWorkflowResponse_Stream) ProtoMessage() {} + +func (x *ReadVReplicationWorkflowResponse_Stream) ProtoReflect() protoreflect.Message { + mi := &file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[117] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadVReplicationWorkflowResponse_Stream.ProtoReflect.Descriptor instead. +func (*ReadVReplicationWorkflowResponse_Stream) Descriptor() ([]byte, []int) { + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP(), []int{101, 0} +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetBls() *v196.BinlogSource { + if x != nil { + return x.Bls + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetPos() string { + if x != nil { + return x.Pos + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetStopPos() string { + if x != nil { + return x.StopPos + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetMaxTps() int64 { + if x != nil { + return x.MaxTps + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetMaxReplicationLag() int64 { + if x != nil { + return x.MaxReplicationLag + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeUpdated() *v195.Time { + if x != nil { + return x.TimeUpdated + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTransactionTimestamp() *v195.Time { + if x != nil { + return x.TransactionTimestamp + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetState() v196.VReplicationWorkflowState { + if x != nil { + return x.State + } + return v196.VReplicationWorkflowState(0) +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetRowsCopied() int64 { + if x != nil { + return x.RowsCopied + } + return 0 +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeHeartbeat() *v195.Time { + if x != nil { + return x.TimeHeartbeat + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetTimeThrottled() *v195.Time { + if x != nil { + return x.TimeThrottled + } + return nil +} + +func (x *ReadVReplicationWorkflowResponse_Stream) GetComponentThrottled() string { + if x != nil { + return x.ComponentThrottled + } + return "" +} + +var File_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto protoreflect.FileDescriptor + +var file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDesc = []byte{ + 0x0a, 0x34, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, + 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x8a, 0x02, 0x0a, 0x0f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, + 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x06, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x9d, 0x01, + 0x0a, 0x10, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x61, 0x74, + 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x5a, 0x0a, 0x11, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xbc, 0x01, + 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x53, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x65, 0x66, + 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x82, 0x02, 0x0a, + 0x0e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, + 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x10, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x5c, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, + 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, + 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0xe1, 0x01, 0x0a, 0x0c, 0x44, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x64, 0x62, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x5a, 0x0a, 0x0a, 0x70, 0x72, + 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x62, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, + 0x6c, 0x65, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, + 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, + 0x65, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb9, 0x01, 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x75, + 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, + 0x0a, 0x0e, 0x64, 0x62, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x0d, 0x64, 0x62, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x27, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x2a, 0x0a, 0x0c, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, + 0x6b, 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, 0x1e, 0x0a, 0x0a, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5b, 0x0a, 0x09, + 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x08, 0x65, 0x78, 0x74, 0x72, 0x61, 0x45, 0x6e, 0x76, 0x1a, 0x3b, 0x0a, 0x0d, 0x45, 0x78, 0x74, + 0x72, 0x61, 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x66, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x22, 0xa2, + 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 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, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4f, + 0x6e, 0x6c, 0x79, 0x22, 0x70, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x65, + 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, 0x4b, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x14, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x71, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, + 0x53, 0x79, 0x6e, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, + 0x53, 0x79, 0x6e, 0x63, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 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, 0x17, 0x0a, 0x15, 0x52, 0x75, 0x6e, + 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 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, 0x3a, 0x0a, 0x13, + 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, + 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 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, 0x32, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x22, 0x72, 0x0a, 0x17, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, + 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x57, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xcb, 0x02, 0x0a, 0x12, 0x41, 0x70, 0x70, + 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, + 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x65, 0x66, + 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x19, 0x0a, 0x08, + 0x73, 0x71, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x73, 0x71, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x74, + 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xbd, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, + 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4c, + 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x98, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, + 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, + 0x77, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x14, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xef, 0x01, 0x0a, 0x18, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x0a, + 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, + 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 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, 0x12, + 0x3b, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, + 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x17, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x22, 0x52, 0x0a, 0x19, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x8e, 0x01, 0x0a, 0x1d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, + 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x22, 0x57, 0x0a, 0x1e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x4b, 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, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, + 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x22, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x1a, 0x0a, 0x18, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x57, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0x16, 0x0a, 0x14, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x15, 0x50, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x41, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x35, + 0x0a, 0x17, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x34, 0x0a, 0x16, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, + 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x19, 0x0a, 0x17, 0x57, + 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 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, 0x5e, 0x0a, 0x1d, 0x53, + 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, + 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x69, 0x74, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3c, 0x0a, 0x1e, 0x53, + 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, + 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 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, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, + 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, 0x62, 0x0a, 0x21, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, + 0x0c, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, + 0x22, 0x24, 0x0a, 0x22, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2b, 0x0a, 0x13, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x05, 0x61, 0x64, 0x64, 0x72, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x73, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x2f, 0x0a, 0x17, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x22, 0x51, 0x0a, 0x18, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x22, 0x4b, 0x0a, 0x1d, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x20, 0x0a, 0x1e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, + 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, + 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x31, 0x0a, 0x13, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe3, 0x01, 0x0a, 0x1e, 0x50, 0x6f, 0x70, + 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, + 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x4e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0c, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x21, + 0x0a, 0x1f, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x73, 0x12, 0x1a, 0x0a, + 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x15, 0x0a, 0x13, 0x49, 0x6e, 0x69, + 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6f, 0x0a, 0x15, 0x44, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x36, 0x0a, 0x18, 0x55, 0x6e, 0x64, + 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, + 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, + 0x63, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, + 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, + 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x21, 0x52, 0x65, 0x73, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x24, + 0x0a, 0x22, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, 0x12, 0x46, 0x75, 0x6c, + 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x75, 0x6c, + 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, + 0xf8, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, + 0x73, 0x12, 0x36, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x15, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, + 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x77, 0x61, 0x69, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x1e, 0x0a, 0x1c, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0x0a, 0x1a, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, + 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x89, 0x01, 0x0a, 0x22, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x63, 0x0a, 0x15, 0x73, 0x74, 0x6f, 0x70, + 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x13, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x76, 0x0a, + 0x23, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x33, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x34, 0x0a, 0x16, 0x50, 0x72, + 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0xab, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x63, 0x79, 0x12, 0x23, 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, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x6f, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x61, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x75, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x61, 0x66, 0x65, 0x22, 0x41, + 0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x22, 0xde, 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, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x62, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x50, 0x6f, 0x73, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x49, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x74, 0x6f, + 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x12, + 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x22, 0x4c, 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, + 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x22, 0x8b, 0x05, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x48, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, + 0x54, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, + 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, + 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, + 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x22, 0x5b, + 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3f, 0x0a, 0x21, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x5b, 0x0a, 0x22, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3d, 0x0a, 0x1f, 0x52, 0x65, 0x61, + 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x8d, 0x0a, 0x0a, 0x20, 0x52, 0x65, 0x61, + 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, + 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, + 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x0d, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x5e, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x75, 0x62, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, + 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, + 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, + 0x73, 0x12, 0x5f, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x73, 0x1a, 0x83, 0x05, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, + 0x03, 0x62, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x03, 0x62, 0x6c, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x70, + 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x70, 0x50, 0x6f, + 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x54, 0x70, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x61, + 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, + 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x12, 0x3a, 0x0a, 0x0c, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x14, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, + 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x77, + 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x48, 0x65, + 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x3e, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, + 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, + 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x22, 0xe2, 0x01, 0x0a, 0x0c, 0x56, 0x44, 0x69, + 0x66, 0x66, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64, 0x69, 0x66, + 0x66, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x64, + 0x69, 0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x12, 0x44, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x75, 0x0a, + 0x0d, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, + 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x75, + 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x64, 0x69, 0x66, 0x66, + 0x55, 0x75, 0x69, 0x64, 0x22, 0x79, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x50, 0x69, 0x63, + 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x1f, + 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x22, + 0x90, 0x01, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x70, + 0x6b, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x6c, 0x79, 0x50, 0x6b, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, + 0x78, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x6f, + 0x77, 0x73, 0x22, 0xda, 0x02, 0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, 0x72, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 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, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, + 0x70, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x61, 0x6d, 0x70, 0x6c, + 0x65, 0x50, 0x63, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x38, 0x0a, + 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, + 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x15, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, 0x77, 0x73, 0x54, 0x6f, + 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x69, 0x66, + 0x66, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0e, 0x6d, 0x61, 0x78, 0x44, 0x69, 0x66, 0x66, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, + 0x93, 0x02, 0x0a, 0x0c, 0x56, 0x44, 0x69, 0x66, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x57, 0x0a, 0x0e, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x50, 0x69, 0x63, + 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x70, 0x69, 0x63, 0x6b, + 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x0c, 0x63, 0x6f, 0x72, + 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, + 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x0e, + 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, 0x03, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x6f, 0x6e, + 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x4f, 0x6e, 0x44, 0x44, 0x4c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, + 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4a, 0x04, 0x08, + 0x07, 0x10, 0x08, 0x22, 0x5b, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x2f, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x15, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0xc8, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x6e, + 0x74, 0x6c, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x2a, 0x3e, 0x0a, 0x19, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10, 0x00, + 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, + 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x42, 0x5b, 0x5a, 0x59, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, + 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, + 0x31, 0x39, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescOnce sync.Once + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescData = file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDesc +) + +func file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescGZIP() []byte { + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescOnce.Do(func() { + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescData) + }) + return file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDescData +} + +var file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 118) +var file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_goTypes = []any{ + (TabletSelectionPreference)(0), // 0: vitess.tabletmanagerdata.v19.TabletSelectionPreference + (*TableDefinition)(nil), // 1: vitess.tabletmanagerdata.v19.TableDefinition + (*SchemaDefinition)(nil), // 2: vitess.tabletmanagerdata.v19.SchemaDefinition + (*SchemaChangeResult)(nil), // 3: vitess.tabletmanagerdata.v19.SchemaChangeResult + (*UserPermission)(nil), // 4: vitess.tabletmanagerdata.v19.UserPermission + (*DbPermission)(nil), // 5: vitess.tabletmanagerdata.v19.DbPermission + (*Permissions)(nil), // 6: vitess.tabletmanagerdata.v19.Permissions + (*PingRequest)(nil), // 7: vitess.tabletmanagerdata.v19.PingRequest + (*PingResponse)(nil), // 8: vitess.tabletmanagerdata.v19.PingResponse + (*SleepRequest)(nil), // 9: vitess.tabletmanagerdata.v19.SleepRequest + (*SleepResponse)(nil), // 10: vitess.tabletmanagerdata.v19.SleepResponse + (*ExecuteHookRequest)(nil), // 11: vitess.tabletmanagerdata.v19.ExecuteHookRequest + (*ExecuteHookResponse)(nil), // 12: vitess.tabletmanagerdata.v19.ExecuteHookResponse + (*GetSchemaRequest)(nil), // 13: vitess.tabletmanagerdata.v19.GetSchemaRequest + (*GetSchemaResponse)(nil), // 14: vitess.tabletmanagerdata.v19.GetSchemaResponse + (*GetPermissionsRequest)(nil), // 15: vitess.tabletmanagerdata.v19.GetPermissionsRequest + (*GetPermissionsResponse)(nil), // 16: vitess.tabletmanagerdata.v19.GetPermissionsResponse + (*SetReadOnlyRequest)(nil), // 17: vitess.tabletmanagerdata.v19.SetReadOnlyRequest + (*SetReadOnlyResponse)(nil), // 18: vitess.tabletmanagerdata.v19.SetReadOnlyResponse + (*SetReadWriteRequest)(nil), // 19: vitess.tabletmanagerdata.v19.SetReadWriteRequest + (*SetReadWriteResponse)(nil), // 20: vitess.tabletmanagerdata.v19.SetReadWriteResponse + (*ChangeTypeRequest)(nil), // 21: vitess.tabletmanagerdata.v19.ChangeTypeRequest + (*ChangeTypeResponse)(nil), // 22: vitess.tabletmanagerdata.v19.ChangeTypeResponse + (*RefreshStateRequest)(nil), // 23: vitess.tabletmanagerdata.v19.RefreshStateRequest + (*RefreshStateResponse)(nil), // 24: vitess.tabletmanagerdata.v19.RefreshStateResponse + (*RunHealthCheckRequest)(nil), // 25: vitess.tabletmanagerdata.v19.RunHealthCheckRequest + (*RunHealthCheckResponse)(nil), // 26: vitess.tabletmanagerdata.v19.RunHealthCheckResponse + (*ReloadSchemaRequest)(nil), // 27: vitess.tabletmanagerdata.v19.ReloadSchemaRequest + (*ReloadSchemaResponse)(nil), // 28: vitess.tabletmanagerdata.v19.ReloadSchemaResponse + (*PreflightSchemaRequest)(nil), // 29: vitess.tabletmanagerdata.v19.PreflightSchemaRequest + (*PreflightSchemaResponse)(nil), // 30: vitess.tabletmanagerdata.v19.PreflightSchemaResponse + (*ApplySchemaRequest)(nil), // 31: vitess.tabletmanagerdata.v19.ApplySchemaRequest + (*ApplySchemaResponse)(nil), // 32: vitess.tabletmanagerdata.v19.ApplySchemaResponse + (*LockTablesRequest)(nil), // 33: vitess.tabletmanagerdata.v19.LockTablesRequest + (*LockTablesResponse)(nil), // 34: vitess.tabletmanagerdata.v19.LockTablesResponse + (*UnlockTablesRequest)(nil), // 35: vitess.tabletmanagerdata.v19.UnlockTablesRequest + (*UnlockTablesResponse)(nil), // 36: vitess.tabletmanagerdata.v19.UnlockTablesResponse + (*ExecuteQueryRequest)(nil), // 37: vitess.tabletmanagerdata.v19.ExecuteQueryRequest + (*ExecuteQueryResponse)(nil), // 38: vitess.tabletmanagerdata.v19.ExecuteQueryResponse + (*ExecuteFetchAsDbaRequest)(nil), // 39: vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaRequest + (*ExecuteFetchAsDbaResponse)(nil), // 40: vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaResponse + (*ExecuteFetchAsAllPrivsRequest)(nil), // 41: vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsRequest + (*ExecuteFetchAsAllPrivsResponse)(nil), // 42: vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsResponse + (*ExecuteFetchAsAppRequest)(nil), // 43: vitess.tabletmanagerdata.v19.ExecuteFetchAsAppRequest + (*ExecuteFetchAsAppResponse)(nil), // 44: vitess.tabletmanagerdata.v19.ExecuteFetchAsAppResponse + (*ReplicationStatusRequest)(nil), // 45: vitess.tabletmanagerdata.v19.ReplicationStatusRequest + (*ReplicationStatusResponse)(nil), // 46: vitess.tabletmanagerdata.v19.ReplicationStatusResponse + (*PrimaryStatusRequest)(nil), // 47: vitess.tabletmanagerdata.v19.PrimaryStatusRequest + (*PrimaryStatusResponse)(nil), // 48: vitess.tabletmanagerdata.v19.PrimaryStatusResponse + (*PrimaryPositionRequest)(nil), // 49: vitess.tabletmanagerdata.v19.PrimaryPositionRequest + (*PrimaryPositionResponse)(nil), // 50: vitess.tabletmanagerdata.v19.PrimaryPositionResponse + (*WaitForPositionRequest)(nil), // 51: vitess.tabletmanagerdata.v19.WaitForPositionRequest + (*WaitForPositionResponse)(nil), // 52: vitess.tabletmanagerdata.v19.WaitForPositionResponse + (*StopReplicationRequest)(nil), // 53: vitess.tabletmanagerdata.v19.StopReplicationRequest + (*StopReplicationResponse)(nil), // 54: vitess.tabletmanagerdata.v19.StopReplicationResponse + (*StopReplicationMinimumRequest)(nil), // 55: vitess.tabletmanagerdata.v19.StopReplicationMinimumRequest + (*StopReplicationMinimumResponse)(nil), // 56: vitess.tabletmanagerdata.v19.StopReplicationMinimumResponse + (*StartReplicationRequest)(nil), // 57: vitess.tabletmanagerdata.v19.StartReplicationRequest + (*StartReplicationResponse)(nil), // 58: vitess.tabletmanagerdata.v19.StartReplicationResponse + (*StartReplicationUntilAfterRequest)(nil), // 59: vitess.tabletmanagerdata.v19.StartReplicationUntilAfterRequest + (*StartReplicationUntilAfterResponse)(nil), // 60: vitess.tabletmanagerdata.v19.StartReplicationUntilAfterResponse + (*GetReplicasRequest)(nil), // 61: vitess.tabletmanagerdata.v19.GetReplicasRequest + (*GetReplicasResponse)(nil), // 62: vitess.tabletmanagerdata.v19.GetReplicasResponse + (*ResetReplicationRequest)(nil), // 63: vitess.tabletmanagerdata.v19.ResetReplicationRequest + (*ResetReplicationResponse)(nil), // 64: vitess.tabletmanagerdata.v19.ResetReplicationResponse + (*VReplicationExecRequest)(nil), // 65: vitess.tabletmanagerdata.v19.VReplicationExecRequest + (*VReplicationExecResponse)(nil), // 66: vitess.tabletmanagerdata.v19.VReplicationExecResponse + (*VReplicationWaitForPosRequest)(nil), // 67: vitess.tabletmanagerdata.v19.VReplicationWaitForPosRequest + (*VReplicationWaitForPosResponse)(nil), // 68: vitess.tabletmanagerdata.v19.VReplicationWaitForPosResponse + (*InitPrimaryRequest)(nil), // 69: vitess.tabletmanagerdata.v19.InitPrimaryRequest + (*InitPrimaryResponse)(nil), // 70: vitess.tabletmanagerdata.v19.InitPrimaryResponse + (*PopulateReparentJournalRequest)(nil), // 71: vitess.tabletmanagerdata.v19.PopulateReparentJournalRequest + (*PopulateReparentJournalResponse)(nil), // 72: vitess.tabletmanagerdata.v19.PopulateReparentJournalResponse + (*InitReplicaRequest)(nil), // 73: vitess.tabletmanagerdata.v19.InitReplicaRequest + (*InitReplicaResponse)(nil), // 74: vitess.tabletmanagerdata.v19.InitReplicaResponse + (*DemotePrimaryRequest)(nil), // 75: vitess.tabletmanagerdata.v19.DemotePrimaryRequest + (*DemotePrimaryResponse)(nil), // 76: vitess.tabletmanagerdata.v19.DemotePrimaryResponse + (*UndoDemotePrimaryRequest)(nil), // 77: vitess.tabletmanagerdata.v19.UndoDemotePrimaryRequest + (*UndoDemotePrimaryResponse)(nil), // 78: vitess.tabletmanagerdata.v19.UndoDemotePrimaryResponse + (*ReplicaWasPromotedRequest)(nil), // 79: vitess.tabletmanagerdata.v19.ReplicaWasPromotedRequest + (*ReplicaWasPromotedResponse)(nil), // 80: vitess.tabletmanagerdata.v19.ReplicaWasPromotedResponse + (*ResetReplicationParametersRequest)(nil), // 81: vitess.tabletmanagerdata.v19.ResetReplicationParametersRequest + (*ResetReplicationParametersResponse)(nil), // 82: vitess.tabletmanagerdata.v19.ResetReplicationParametersResponse + (*FullStatusRequest)(nil), // 83: vitess.tabletmanagerdata.v19.FullStatusRequest + (*FullStatusResponse)(nil), // 84: vitess.tabletmanagerdata.v19.FullStatusResponse + (*SetReplicationSourceRequest)(nil), // 85: vitess.tabletmanagerdata.v19.SetReplicationSourceRequest + (*SetReplicationSourceResponse)(nil), // 86: vitess.tabletmanagerdata.v19.SetReplicationSourceResponse + (*ReplicaWasRestartedRequest)(nil), // 87: vitess.tabletmanagerdata.v19.ReplicaWasRestartedRequest + (*ReplicaWasRestartedResponse)(nil), // 88: vitess.tabletmanagerdata.v19.ReplicaWasRestartedResponse + (*StopReplicationAndGetStatusRequest)(nil), // 89: vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusRequest + (*StopReplicationAndGetStatusResponse)(nil), // 90: vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusResponse + (*PromoteReplicaRequest)(nil), // 91: vitess.tabletmanagerdata.v19.PromoteReplicaRequest + (*PromoteReplicaResponse)(nil), // 92: vitess.tabletmanagerdata.v19.PromoteReplicaResponse + (*BackupRequest)(nil), // 93: vitess.tabletmanagerdata.v19.BackupRequest + (*BackupResponse)(nil), // 94: vitess.tabletmanagerdata.v19.BackupResponse + (*RestoreFromBackupRequest)(nil), // 95: vitess.tabletmanagerdata.v19.RestoreFromBackupRequest + (*RestoreFromBackupResponse)(nil), // 96: vitess.tabletmanagerdata.v19.RestoreFromBackupResponse + (*CreateVReplicationWorkflowRequest)(nil), // 97: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest + (*CreateVReplicationWorkflowResponse)(nil), // 98: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowResponse + (*DeleteVReplicationWorkflowRequest)(nil), // 99: vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowRequest + (*DeleteVReplicationWorkflowResponse)(nil), // 100: vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowResponse + (*ReadVReplicationWorkflowRequest)(nil), // 101: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowRequest + (*ReadVReplicationWorkflowResponse)(nil), // 102: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse + (*VDiffRequest)(nil), // 103: vitess.tabletmanagerdata.v19.VDiffRequest + (*VDiffResponse)(nil), // 104: vitess.tabletmanagerdata.v19.VDiffResponse + (*VDiffPickerOptions)(nil), // 105: vitess.tabletmanagerdata.v19.VDiffPickerOptions + (*VDiffReportOptions)(nil), // 106: vitess.tabletmanagerdata.v19.VDiffReportOptions + (*VDiffCoreOptions)(nil), // 107: vitess.tabletmanagerdata.v19.VDiffCoreOptions + (*VDiffOptions)(nil), // 108: vitess.tabletmanagerdata.v19.VDiffOptions + (*UpdateVReplicationWorkflowRequest)(nil), // 109: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest + (*UpdateVReplicationWorkflowResponse)(nil), // 110: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowResponse + (*ResetSequencesRequest)(nil), // 111: vitess.tabletmanagerdata.v19.ResetSequencesRequest + (*ResetSequencesResponse)(nil), // 112: vitess.tabletmanagerdata.v19.ResetSequencesResponse + (*CheckThrottlerRequest)(nil), // 113: vitess.tabletmanagerdata.v19.CheckThrottlerRequest + (*CheckThrottlerResponse)(nil), // 114: vitess.tabletmanagerdata.v19.CheckThrottlerResponse + nil, // 115: vitess.tabletmanagerdata.v19.UserPermission.PrivilegesEntry + nil, // 116: vitess.tabletmanagerdata.v19.DbPermission.PrivilegesEntry + nil, // 117: vitess.tabletmanagerdata.v19.ExecuteHookRequest.ExtraEnvEntry + (*ReadVReplicationWorkflowResponse_Stream)(nil), // 118: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream + (*v19.Field)(nil), // 119: vitess.query.v19.Field + (v191.TabletType)(0), // 120: vitess.topodata.v19.TabletType + (*v192.CallerID)(nil), // 121: vitess.vtrpc.v19.CallerID + (*v19.QueryResult)(nil), // 122: vitess.query.v19.QueryResult + (*v193.Status)(nil), // 123: vitess.replicationdata.v19.Status + (*v193.PrimaryStatus)(nil), // 124: vitess.replicationdata.v19.PrimaryStatus + (*v191.TabletAlias)(nil), // 125: vitess.topodata.v19.TabletAlias + (*v193.FullStatus)(nil), // 126: vitess.replicationdata.v19.FullStatus + (v193.StopReplicationMode)(0), // 127: vitess.replicationdata.v19.StopReplicationMode + (*v193.StopReplicationStatus)(nil), // 128: vitess.replicationdata.v19.StopReplicationStatus + (*v194.Event)(nil), // 129: vitess.logutil.v19.Event + (*v195.Time)(nil), // 130: vitess.vttime.v19.Time + (*v196.BinlogSource)(nil), // 131: vitess.binlogdata.v19.BinlogSource + (v196.VReplicationWorkflowType)(0), // 132: vitess.binlogdata.v19.VReplicationWorkflowType + (v196.VReplicationWorkflowSubType)(0), // 133: vitess.binlogdata.v19.VReplicationWorkflowSubType + (v196.OnDDLAction)(0), // 134: vitess.binlogdata.v19.OnDDLAction + (v196.VReplicationWorkflowState)(0), // 135: vitess.binlogdata.v19.VReplicationWorkflowState +} +var file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_depIdxs = []int32{ + 119, // 0: vitess.tabletmanagerdata.v19.TableDefinition.fields:type_name -> vitess.query.v19.Field + 1, // 1: vitess.tabletmanagerdata.v19.SchemaDefinition.table_definitions:type_name -> vitess.tabletmanagerdata.v19.TableDefinition + 2, // 2: vitess.tabletmanagerdata.v19.SchemaChangeResult.before_schema:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 2, // 3: vitess.tabletmanagerdata.v19.SchemaChangeResult.after_schema:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 115, // 4: vitess.tabletmanagerdata.v19.UserPermission.privileges:type_name -> vitess.tabletmanagerdata.v19.UserPermission.PrivilegesEntry + 116, // 5: vitess.tabletmanagerdata.v19.DbPermission.privileges:type_name -> vitess.tabletmanagerdata.v19.DbPermission.PrivilegesEntry + 4, // 6: vitess.tabletmanagerdata.v19.Permissions.user_permissions:type_name -> vitess.tabletmanagerdata.v19.UserPermission + 5, // 7: vitess.tabletmanagerdata.v19.Permissions.db_permissions:type_name -> vitess.tabletmanagerdata.v19.DbPermission + 117, // 8: vitess.tabletmanagerdata.v19.ExecuteHookRequest.extra_env:type_name -> vitess.tabletmanagerdata.v19.ExecuteHookRequest.ExtraEnvEntry + 2, // 9: vitess.tabletmanagerdata.v19.GetSchemaResponse.schema_definition:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 6, // 10: vitess.tabletmanagerdata.v19.GetPermissionsResponse.permissions:type_name -> vitess.tabletmanagerdata.v19.Permissions + 120, // 11: vitess.tabletmanagerdata.v19.ChangeTypeRequest.tablet_type:type_name -> vitess.topodata.v19.TabletType + 3, // 12: vitess.tabletmanagerdata.v19.PreflightSchemaResponse.change_results:type_name -> vitess.tabletmanagerdata.v19.SchemaChangeResult + 2, // 13: vitess.tabletmanagerdata.v19.ApplySchemaRequest.before_schema:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 2, // 14: vitess.tabletmanagerdata.v19.ApplySchemaRequest.after_schema:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 2, // 15: vitess.tabletmanagerdata.v19.ApplySchemaResponse.before_schema:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 2, // 16: vitess.tabletmanagerdata.v19.ApplySchemaResponse.after_schema:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 121, // 17: vitess.tabletmanagerdata.v19.ExecuteQueryRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 122, // 18: vitess.tabletmanagerdata.v19.ExecuteQueryResponse.result:type_name -> vitess.query.v19.QueryResult + 122, // 19: vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaResponse.result:type_name -> vitess.query.v19.QueryResult + 122, // 20: vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsResponse.result:type_name -> vitess.query.v19.QueryResult + 122, // 21: vitess.tabletmanagerdata.v19.ExecuteFetchAsAppResponse.result:type_name -> vitess.query.v19.QueryResult + 123, // 22: vitess.tabletmanagerdata.v19.ReplicationStatusResponse.status:type_name -> vitess.replicationdata.v19.Status + 124, // 23: vitess.tabletmanagerdata.v19.PrimaryStatusResponse.status:type_name -> vitess.replicationdata.v19.PrimaryStatus + 122, // 24: vitess.tabletmanagerdata.v19.VReplicationExecResponse.result:type_name -> vitess.query.v19.QueryResult + 125, // 25: vitess.tabletmanagerdata.v19.PopulateReparentJournalRequest.primary_alias:type_name -> vitess.topodata.v19.TabletAlias + 125, // 26: vitess.tabletmanagerdata.v19.InitReplicaRequest.parent:type_name -> vitess.topodata.v19.TabletAlias + 124, // 27: vitess.tabletmanagerdata.v19.DemotePrimaryResponse.primary_status:type_name -> vitess.replicationdata.v19.PrimaryStatus + 126, // 28: vitess.tabletmanagerdata.v19.FullStatusResponse.status:type_name -> vitess.replicationdata.v19.FullStatus + 125, // 29: vitess.tabletmanagerdata.v19.SetReplicationSourceRequest.parent:type_name -> vitess.topodata.v19.TabletAlias + 125, // 30: vitess.tabletmanagerdata.v19.ReplicaWasRestartedRequest.parent:type_name -> vitess.topodata.v19.TabletAlias + 127, // 31: vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusRequest.stop_replication_mode:type_name -> vitess.replicationdata.v19.StopReplicationMode + 128, // 32: vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusResponse.status:type_name -> vitess.replicationdata.v19.StopReplicationStatus + 129, // 33: vitess.tabletmanagerdata.v19.BackupResponse.event:type_name -> vitess.logutil.v19.Event + 130, // 34: vitess.tabletmanagerdata.v19.RestoreFromBackupRequest.backup_time:type_name -> vitess.vttime.v19.Time + 130, // 35: vitess.tabletmanagerdata.v19.RestoreFromBackupRequest.restore_to_timestamp:type_name -> vitess.vttime.v19.Time + 129, // 36: vitess.tabletmanagerdata.v19.RestoreFromBackupResponse.event:type_name -> vitess.logutil.v19.Event + 131, // 37: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest.binlog_source:type_name -> vitess.binlogdata.v19.BinlogSource + 120, // 38: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 0, // 39: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 132, // 40: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest.workflow_type:type_name -> vitess.binlogdata.v19.VReplicationWorkflowType + 133, // 41: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest.workflow_sub_type:type_name -> vitess.binlogdata.v19.VReplicationWorkflowSubType + 122, // 42: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowResponse.result:type_name -> vitess.query.v19.QueryResult + 122, // 43: vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowResponse.result:type_name -> vitess.query.v19.QueryResult + 120, // 44: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.tablet_types:type_name -> vitess.topodata.v19.TabletType + 0, // 45: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 132, // 46: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.workflow_type:type_name -> vitess.binlogdata.v19.VReplicationWorkflowType + 133, // 47: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.workflow_sub_type:type_name -> vitess.binlogdata.v19.VReplicationWorkflowSubType + 118, // 48: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.streams:type_name -> vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream + 108, // 49: vitess.tabletmanagerdata.v19.VDiffRequest.options:type_name -> vitess.tabletmanagerdata.v19.VDiffOptions + 122, // 50: vitess.tabletmanagerdata.v19.VDiffResponse.output:type_name -> vitess.query.v19.QueryResult + 105, // 51: vitess.tabletmanagerdata.v19.VDiffOptions.picker_options:type_name -> vitess.tabletmanagerdata.v19.VDiffPickerOptions + 107, // 52: vitess.tabletmanagerdata.v19.VDiffOptions.core_options:type_name -> vitess.tabletmanagerdata.v19.VDiffCoreOptions + 106, // 53: vitess.tabletmanagerdata.v19.VDiffOptions.report_options:type_name -> vitess.tabletmanagerdata.v19.VDiffReportOptions + 120, // 54: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 0, // 55: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 134, // 56: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest.on_ddl:type_name -> vitess.binlogdata.v19.OnDDLAction + 135, // 57: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest.state:type_name -> vitess.binlogdata.v19.VReplicationWorkflowState + 122, // 58: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowResponse.result:type_name -> vitess.query.v19.QueryResult + 131, // 59: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream.bls:type_name -> vitess.binlogdata.v19.BinlogSource + 130, // 60: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream.time_updated:type_name -> vitess.vttime.v19.Time + 130, // 61: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream.transaction_timestamp:type_name -> vitess.vttime.v19.Time + 135, // 62: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream.state:type_name -> vitess.binlogdata.v19.VReplicationWorkflowState + 130, // 63: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream.time_heartbeat:type_name -> vitess.vttime.v19.Time + 130, // 64: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse.Stream.time_throttled:type_name -> vitess.vttime.v19.Time + 65, // [65:65] is the sub-list for method output_type + 65, // [65:65] is the sub-list for method input_type + 65, // [65:65] is the sub-list for extension type_name + 65, // [65:65] is the sub-list for extension extendee + 0, // [0:65] is the sub-list for field type_name +} + +func init() { file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_init() } +func file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_init() { + if File_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*TableDefinition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*SchemaDefinition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*SchemaChangeResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*UserPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*DbPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*Permissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*PingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*PingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*SleepRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*SleepResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*SetReadOnlyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*SetReadOnlyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*SetReadWriteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*SetReadWriteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*PreflightSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*PreflightSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*LockTablesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*LockTablesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*UnlockTablesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[35].Exporter = func(v any, i int) any { + switch v := v.(*UnlockTablesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteQueryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[37].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteQueryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[38].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDbaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDbaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAllPrivsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[41].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAllPrivsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[42].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[43].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[44].Exporter = func(v any, i int) any { + switch v := v.(*ReplicationStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[45].Exporter = func(v any, i int) any { + switch v := v.(*ReplicationStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[46].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[47].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[48].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[49].Exporter = func(v any, i int) any { + switch v := v.(*PrimaryPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[50].Exporter = func(v any, i int) any { + switch v := v.(*WaitForPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[51].Exporter = func(v any, i int) any { + switch v := v.(*WaitForPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[52].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[53].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[54].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationMinimumRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[55].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationMinimumResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[56].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[57].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[58].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationUntilAfterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[59].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationUntilAfterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[60].Exporter = func(v any, i int) any { + switch v := v.(*GetReplicasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[61].Exporter = func(v any, i int) any { + switch v := v.(*GetReplicasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[62].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[63].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[64].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationExecRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationExecResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[66].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationWaitForPosRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[67].Exporter = func(v any, i int) any { + switch v := v.(*VReplicationWaitForPosResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[68].Exporter = func(v any, i int) any { + switch v := v.(*InitPrimaryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[69].Exporter = func(v any, i int) any { + switch v := v.(*InitPrimaryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[70].Exporter = func(v any, i int) any { + switch v := v.(*PopulateReparentJournalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[71].Exporter = func(v any, i int) any { + switch v := v.(*PopulateReparentJournalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[72].Exporter = func(v any, i int) any { + switch v := v.(*InitReplicaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[73].Exporter = func(v any, i int) any { + switch v := v.(*InitReplicaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[74].Exporter = func(v any, i int) any { + switch v := v.(*DemotePrimaryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[75].Exporter = func(v any, i int) any { + switch v := v.(*DemotePrimaryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[76].Exporter = func(v any, i int) any { + switch v := v.(*UndoDemotePrimaryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[77].Exporter = func(v any, i int) any { + switch v := v.(*UndoDemotePrimaryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[78].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasPromotedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[79].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasPromotedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[80].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationParametersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[81].Exporter = func(v any, i int) any { + switch v := v.(*ResetReplicationParametersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[82].Exporter = func(v any, i int) any { + switch v := v.(*FullStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[83].Exporter = func(v any, i int) any { + switch v := v.(*FullStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[84].Exporter = func(v any, i int) any { + switch v := v.(*SetReplicationSourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[85].Exporter = func(v any, i int) any { + switch v := v.(*SetReplicationSourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[86].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasRestartedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[87].Exporter = func(v any, i int) any { + switch v := v.(*ReplicaWasRestartedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[88].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationAndGetStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[89].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationAndGetStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[90].Exporter = func(v any, i int) any { + switch v := v.(*PromoteReplicaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[91].Exporter = func(v any, i int) any { + switch v := v.(*PromoteReplicaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[92].Exporter = func(v any, i int) any { + switch v := v.(*BackupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[93].Exporter = func(v any, i int) any { + switch v := v.(*BackupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[94].Exporter = func(v any, i int) any { + switch v := v.(*RestoreFromBackupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[95].Exporter = func(v any, i int) any { + switch v := v.(*RestoreFromBackupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[96].Exporter = func(v any, i int) any { + switch v := v.(*CreateVReplicationWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[97].Exporter = func(v any, i int) any { + switch v := v.(*CreateVReplicationWorkflowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[98].Exporter = func(v any, i int) any { + switch v := v.(*DeleteVReplicationWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[99].Exporter = func(v any, i int) any { + switch v := v.(*DeleteVReplicationWorkflowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[100].Exporter = func(v any, i int) any { + switch v := v.(*ReadVReplicationWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[101].Exporter = func(v any, i int) any { + switch v := v.(*ReadVReplicationWorkflowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[102].Exporter = func(v any, i int) any { + switch v := v.(*VDiffRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[103].Exporter = func(v any, i int) any { + switch v := v.(*VDiffResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[104].Exporter = func(v any, i int) any { + switch v := v.(*VDiffPickerOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[105].Exporter = func(v any, i int) any { + switch v := v.(*VDiffReportOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[106].Exporter = func(v any, i int) any { + switch v := v.(*VDiffCoreOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[107].Exporter = func(v any, i int) any { + switch v := v.(*VDiffOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[108].Exporter = func(v any, i int) any { + switch v := v.(*UpdateVReplicationWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[109].Exporter = func(v any, i int) any { + switch v := v.(*UpdateVReplicationWorkflowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[110].Exporter = func(v any, i int) any { + switch v := v.(*ResetSequencesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[111].Exporter = func(v any, i int) any { + switch v := v.(*ResetSequencesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[112].Exporter = func(v any, i int) any { + switch v := v.(*CheckThrottlerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[113].Exporter = func(v any, i int) any { + switch v := v.(*CheckThrottlerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes[117].Exporter = func(v any, i int) any { + switch v := v.(*ReadVReplicationWorkflowResponse_Stream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDesc, + NumEnums: 1, + NumMessages: 118, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_goTypes, + DependencyIndexes: file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_depIdxs, + EnumInfos: file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_enumTypes, + MessageInfos: file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_msgTypes, + }.Build() + File_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto = out.File + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_rawDesc = nil + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_goTypes = nil + file_vitess_tabletmanagerdata_v19_tabletmanagerdata_proto_depIdxs = nil +} diff --git a/gen/vitess/tabletmanagerdata/v19/tabletmanagerdata_vtproto.pb.go b/gen/vitess/tabletmanagerdata/v19/tabletmanagerdata_vtproto.pb.go new file mode 100644 index 0000000..e943b3b --- /dev/null +++ b/gen/vitess/tabletmanagerdata/v19/tabletmanagerdata_vtproto.pb.go @@ -0,0 +1,20216 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/tabletmanagerdata/v19/tabletmanagerdata.proto + +package tabletmanagerdatav19 + +import ( + binary "encoding/binary" + fmt "fmt" + v196 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v194 "github.com/planetscale/vitess-types/gen/vitess/logutil/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v193 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + v195 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + math "math" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *TableDefinition) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TableDefinition) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TableDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Fields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Fields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 + } + } + if m.RowCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowCount)) + i-- + dAtA[i] = 0x38 + } + if m.DataLength != 0 { + i = encodeVarint(dAtA, i, uint64(m.DataLength)) + i-- + dAtA[i] = 0x30 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarint(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0x2a + } + if len(m.PrimaryKeyColumns) > 0 { + for iNdEx := len(m.PrimaryKeyColumns) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PrimaryKeyColumns[iNdEx]) + copy(dAtA[i:], m.PrimaryKeyColumns[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.PrimaryKeyColumns[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Columns) > 0 { + for iNdEx := len(m.Columns) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Columns[iNdEx]) + copy(dAtA[i:], m.Columns[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Columns[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Schema) > 0 { + i -= len(m.Schema) + copy(dAtA[i:], m.Schema) + i = encodeVarint(dAtA, i, uint64(len(m.Schema))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SchemaDefinition) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SchemaDefinition) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SchemaDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TableDefinitions) > 0 { + for iNdEx := len(m.TableDefinitions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TableDefinitions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.DatabaseSchema) > 0 { + i -= len(m.DatabaseSchema) + copy(dAtA[i:], m.DatabaseSchema) + i = encodeVarint(dAtA, i, uint64(len(m.DatabaseSchema))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SchemaChangeResult) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SchemaChangeResult) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SchemaChangeResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AfterSchema != nil { + size, err := m.AfterSchema.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.BeforeSchema != nil { + size, err := m.BeforeSchema.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UserPermission) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UserPermission) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UserPermission) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Privileges) > 0 { + for k := range m.Privileges { + v := m.Privileges[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if m.PasswordChecksum != 0 { + i = encodeVarint(dAtA, i, uint64(m.PasswordChecksum)) + i-- + dAtA[i] = 0x18 + } + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarint(dAtA, i, uint64(len(m.User))) + i-- + dAtA[i] = 0x12 + } + if len(m.Host) > 0 { + i -= len(m.Host) + copy(dAtA[i:], m.Host) + i = encodeVarint(dAtA, i, uint64(len(m.Host))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DbPermission) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DbPermission) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DbPermission) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Privileges) > 0 { + for k := range m.Privileges { + v := m.Privileges[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarint(dAtA, i, uint64(len(m.User))) + i-- + dAtA[i] = 0x1a + } + if len(m.Db) > 0 { + i -= len(m.Db) + copy(dAtA[i:], m.Db) + i = encodeVarint(dAtA, i, uint64(len(m.Db))) + i-- + dAtA[i] = 0x12 + } + if len(m.Host) > 0 { + i -= len(m.Host) + copy(dAtA[i:], m.Host) + i = encodeVarint(dAtA, i, uint64(len(m.Host))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Permissions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Permissions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Permissions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.DbPermissions) > 0 { + for iNdEx := len(m.DbPermissions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.DbPermissions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.UserPermissions) > 0 { + for iNdEx := len(m.UserPermissions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.UserPermissions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *PingRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PingRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PingRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Payload) > 0 { + i -= len(m.Payload) + copy(dAtA[i:], m.Payload) + i = encodeVarint(dAtA, i, uint64(len(m.Payload))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PingResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PingResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Payload) > 0 { + i -= len(m.Payload) + copy(dAtA[i:], m.Payload) + i = encodeVarint(dAtA, i, uint64(len(m.Payload))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SleepRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SleepRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SleepRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Duration != 0 { + i = encodeVarint(dAtA, i, uint64(m.Duration)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *SleepResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SleepResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SleepResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ExecuteHookRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteHookRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteHookRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ExtraEnv) > 0 { + for k := range m.ExtraEnv { + v := m.ExtraEnv[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Parameters) > 0 { + for iNdEx := len(m.Parameters) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Parameters[iNdEx]) + copy(dAtA[i:], m.Parameters[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Parameters[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteHookResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteHookResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteHookResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Stderr) > 0 { + i -= len(m.Stderr) + copy(dAtA[i:], m.Stderr) + i = encodeVarint(dAtA, i, uint64(len(m.Stderr))) + i-- + dAtA[i] = 0x1a + } + if len(m.Stdout) > 0 { + i -= len(m.Stdout) + copy(dAtA[i:], m.Stdout) + i = encodeVarint(dAtA, i, uint64(len(m.Stdout))) + i-- + dAtA[i] = 0x12 + } + if m.ExitStatus != 0 { + i = encodeVarint(dAtA, i, uint64(m.ExitStatus)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TableSchemaOnly { + i-- + if m.TableSchemaOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.ExcludeTables) > 0 { + for iNdEx := len(m.ExcludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeTables[iNdEx]) + copy(dAtA[i:], m.ExcludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeTables[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.IncludeViews { + i-- + if m.IncludeViews { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SchemaDefinition != nil { + size, err := m.SchemaDefinition.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetPermissionsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetPermissionsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetPermissionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetPermissionsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetPermissionsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Permissions != nil { + size, err := m.Permissions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetReadOnlyRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadOnlyRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadOnlyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SetReadOnlyResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadOnlyResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadOnlyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SetReadWriteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadWriteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SetReadWriteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadWriteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ChangeTypeRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangeTypeRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTypeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.TabletType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletType)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ChangeTypeResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangeTypeResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTypeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RunHealthCheckRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunHealthCheckRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RunHealthCheckResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunHealthCheckResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunHealthCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *PreflightSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PreflightSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PreflightSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Changes) > 0 { + for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Changes[iNdEx]) + copy(dAtA[i:], m.Changes[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Changes[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *PreflightSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PreflightSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PreflightSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ChangeResults) > 0 { + for iNdEx := len(m.ChangeResults) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ChangeResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ApplySchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplySchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplySchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.BatchSize != 0 { + i = encodeVarint(dAtA, i, uint64(m.BatchSize)) + i-- + dAtA[i] = 0x38 + } + if len(m.SqlMode) > 0 { + i -= len(m.SqlMode) + copy(dAtA[i:], m.SqlMode) + i = encodeVarint(dAtA, i, uint64(len(m.SqlMode))) + i-- + dAtA[i] = 0x32 + } + if m.AfterSchema != nil { + size, err := m.AfterSchema.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.BeforeSchema != nil { + size, err := m.BeforeSchema.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.AllowReplication { + i-- + if m.AllowReplication { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplySchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplySchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplySchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AfterSchema != nil { + size, err := m.AfterSchema.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.BeforeSchema != nil { + size, err := m.BeforeSchema.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *LockTablesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LockTablesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LockTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *LockTablesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LockTablesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LockTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *UnlockTablesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UnlockTablesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UnlockTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *UnlockTablesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UnlockTablesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UnlockTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ExecuteQueryRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteQueryRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteQueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if len(m.DbName) > 0 { + i -= len(m.DbName) + copy(dAtA[i:], m.DbName) + i = encodeVarint(dAtA, i, uint64(len(m.DbName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteQueryResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteQueryResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteQueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsDbaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsDbaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsDbaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DisableForeignKeyChecks { + i-- + if m.DisableForeignKeyChecks { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.ReloadSchema { + i-- + if m.ReloadSchema { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.DisableBinlogs { + i-- + if m.DisableBinlogs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if len(m.DbName) > 0 { + i -= len(m.DbName) + copy(dAtA[i:], m.DbName) + i = encodeVarint(dAtA, i, uint64(len(m.DbName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsDbaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsDbaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsDbaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsAllPrivsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsAllPrivsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsAllPrivsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReloadSchema { + i-- + if m.ReloadSchema { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if len(m.DbName) > 0 { + i -= len(m.DbName) + copy(dAtA[i:], m.DbName) + i = encodeVarint(dAtA, i, uint64(len(m.DbName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsAllPrivsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsAllPrivsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsAllPrivsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsAppRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsAppRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsAppRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x10 + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsAppResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsAppResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsAppResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReplicationStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicationStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReplicationStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReplicationStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicationStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReplicationStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrimaryStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrimaryStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrimaryStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *PrimaryStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrimaryStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrimaryStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrimaryPositionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrimaryPositionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrimaryPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *PrimaryPositionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrimaryPositionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrimaryPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WaitForPositionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WaitForPositionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WaitForPositionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WaitForPositionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WaitForPositionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WaitForPositionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationMinimumRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationMinimumRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationMinimumRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.WaitTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.WaitTimeout)) + i-- + dAtA[i] = 0x10 + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationMinimumResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationMinimumResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationMinimumResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationUntilAfterRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationUntilAfterRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationUntilAfterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.WaitTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.WaitTimeout)) + i-- + dAtA[i] = 0x10 + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationUntilAfterResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationUntilAfterResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationUntilAfterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetReplicasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetReplicasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetReplicasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetReplicasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetReplicasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetReplicasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Addrs) > 0 { + for iNdEx := len(m.Addrs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Addrs[iNdEx]) + copy(dAtA[i:], m.Addrs[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Addrs[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ResetReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ResetReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *VReplicationExecRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VReplicationExecRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VReplicationExecRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VReplicationExecResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VReplicationExecResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VReplicationExecResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VReplicationWaitForPosRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VReplicationWaitForPosRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VReplicationWaitForPosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *VReplicationWaitForPosResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VReplicationWaitForPosResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VReplicationWaitForPosResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *InitPrimaryRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *InitPrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *InitPrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *InitPrimaryResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *InitPrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *InitPrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PopulateReparentJournalRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PopulateReparentJournalRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PopulateReparentJournalRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ReplicationPosition) > 0 { + i -= len(m.ReplicationPosition) + copy(dAtA[i:], m.ReplicationPosition) + i = encodeVarint(dAtA, i, uint64(len(m.ReplicationPosition))) + i-- + dAtA[i] = 0x22 + } + if m.PrimaryAlias != nil { + if vtmsg, ok := interface{}(m.PrimaryAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PrimaryAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.ActionName) > 0 { + i -= len(m.ActionName) + copy(dAtA[i:], m.ActionName) + i = encodeVarint(dAtA, i, uint64(len(m.ActionName))) + i-- + dAtA[i] = 0x12 + } + if m.TimeCreatedNs != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PopulateReparentJournalResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PopulateReparentJournalResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PopulateReparentJournalResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *InitReplicaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *InitReplicaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *InitReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.TimeCreatedNs != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) + i-- + dAtA[i] = 0x18 + } + if len(m.ReplicationPosition) > 0 { + i -= len(m.ReplicationPosition) + copy(dAtA[i:], m.ReplicationPosition) + i = encodeVarint(dAtA, i, uint64(len(m.ReplicationPosition))) + i-- + dAtA[i] = 0x12 + } + if m.Parent != nil { + if vtmsg, ok := interface{}(m.Parent).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Parent) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *InitReplicaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *InitReplicaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *InitReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *DemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DemotePrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *DemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DemotePrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PrimaryStatus != nil { + if vtmsg, ok := interface{}(m.PrimaryStatus).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PrimaryStatus) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} + +func (m *UndoDemotePrimaryRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UndoDemotePrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UndoDemotePrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *UndoDemotePrimaryResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UndoDemotePrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UndoDemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReplicaWasPromotedRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicaWasPromotedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReplicaWasPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReplicaWasPromotedResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicaWasPromotedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReplicaWasPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ResetReplicationParametersRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetReplicationParametersRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetReplicationParametersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ResetReplicationParametersResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetReplicationParametersResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetReplicationParametersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *FullStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FullStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *FullStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FullStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FullStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetReplicationSourceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReplicationSourceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0x22 + } + if m.ForceStartReplication { + i-- + if m.ForceStartReplication { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.TimeCreatedNs != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreatedNs)) + i-- + dAtA[i] = 0x10 + } + if m.Parent != nil { + if vtmsg, ok := interface{}(m.Parent).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Parent) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetReplicationSourceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReplicationSourceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReplicaWasRestartedRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicaWasRestartedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReplicaWasRestartedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Parent != nil { + if vtmsg, ok := interface{}(m.Parent).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Parent) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReplicaWasRestartedResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicaWasRestartedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReplicaWasRestartedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationAndGetStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationAndGetStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationAndGetStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.StopReplicationMode != 0 { + i = encodeVarint(dAtA, i, uint64(m.StopReplicationMode)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationAndGetStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationAndGetStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationAndGetStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} + +func (m *PromoteReplicaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PromoteReplicaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PromoteReplicaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SemiSync { + i-- + if m.SemiSync { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PromoteReplicaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PromoteReplicaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PromoteReplicaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BackupRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BackupRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.UpgradeSafe { + i-- + if m.UpgradeSafe { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.IncrementalFromPos) > 0 { + i -= len(m.IncrementalFromPos) + copy(dAtA[i:], m.IncrementalFromPos) + i = encodeVarint(dAtA, i, uint64(len(m.IncrementalFromPos))) + i-- + dAtA[i] = 0x1a + } + if m.AllowPrimary { + i-- + if m.AllowPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *BackupResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BackupResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Event != nil { + if vtmsg, ok := interface{}(m.Event).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Event) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RestoreFromBackupRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RestoreFromBackupRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RestoreFromBackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RestoreToTimestamp != nil { + if vtmsg, ok := interface{}(m.RestoreToTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RestoreToTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.RestoreToPos) > 0 { + i -= len(m.RestoreToPos) + copy(dAtA[i:], m.RestoreToPos) + i = encodeVarint(dAtA, i, uint64(len(m.RestoreToPos))) + i-- + dAtA[i] = 0x12 + } + if m.BackupTime != nil { + if vtmsg, ok := interface{}(m.BackupTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BackupTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RestoreFromBackupResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RestoreFromBackupResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RestoreFromBackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Event != nil { + if vtmsg, ok := interface{}(m.Event).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Event) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.StopAfterCopy { + i-- + if m.StopAfterCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } + if m.AutoStart { + i-- + if m.AutoStart { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.WorkflowSubType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowSubType)) + i-- + dAtA[i] = 0x38 + } + if m.WorkflowType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowType)) + i-- + dAtA[i] = 0x30 + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x28 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x22 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.BinlogSource) > 0 { + for iNdEx := len(m.BinlogSource) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.BinlogSource[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BinlogSource[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReadVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReadVReplicationWorkflowResponse_Stream) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadVReplicationWorkflowResponse_Stream) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ComponentThrottled) > 0 { + i -= len(m.ComponentThrottled) + copy(dAtA[i:], m.ComponentThrottled) + i = encodeVarint(dAtA, i, uint64(len(m.ComponentThrottled))) + i-- + dAtA[i] = 0x72 + } + if m.TimeThrottled != nil { + if vtmsg, ok := interface{}(m.TimeThrottled).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeThrottled) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x6a + } + if m.TimeHeartbeat != nil { + if vtmsg, ok := interface{}(m.TimeHeartbeat).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeHeartbeat) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x62 + } + if m.RowsCopied != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsCopied)) + i-- + dAtA[i] = 0x58 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x52 + } + if m.State != 0 { + i = encodeVarint(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x48 + } + if m.TransactionTimestamp != nil { + if vtmsg, ok := interface{}(m.TransactionTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TransactionTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 + } + if m.TimeUpdated != nil { + if vtmsg, ok := interface{}(m.TimeUpdated).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeUpdated) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x3a + } + if m.MaxReplicationLag != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxReplicationLag)) + i-- + dAtA[i] = 0x30 + } + if m.MaxTps != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxTps)) + i-- + dAtA[i] = 0x28 + } + if len(m.StopPos) > 0 { + i -= len(m.StopPos) + copy(dAtA[i:], m.StopPos) + i = encodeVarint(dAtA, i, uint64(len(m.StopPos))) + i-- + dAtA[i] = 0x22 + } + if len(m.Pos) > 0 { + i -= len(m.Pos) + copy(dAtA[i:], m.Pos) + i = encodeVarint(dAtA, i, uint64(len(m.Pos))) + i-- + dAtA[i] = 0x1a + } + if m.Bls != nil { + if vtmsg, ok := interface{}(m.Bls).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Bls) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ReadVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Streams) > 0 { + for iNdEx := len(m.Streams) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Streams[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x5a + } + } + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } + if m.WorkflowSubType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowSubType)) + i-- + dAtA[i] = 0x48 + } + if m.WorkflowType != 0 { + i = encodeVarint(dAtA, i, uint64(m.WorkflowType)) + i-- + dAtA[i] = 0x40 + } + if len(m.Tags) > 0 { + i -= len(m.Tags) + copy(dAtA[i:], m.Tags) + i = encodeVarint(dAtA, i, uint64(len(m.Tags))) + i-- + dAtA[i] = 0x3a + } + if len(m.DbName) > 0 { + i -= len(m.DbName) + copy(dAtA[i:], m.DbName) + i = encodeVarint(dAtA, i, uint64(len(m.DbName))) + i-- + dAtA[i] = 0x32 + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x28 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x22 + } + if len(m.Cells) > 0 { + i -= len(m.Cells) + copy(dAtA[i:], m.Cells) + i = encodeVarint(dAtA, i, uint64(len(m.Cells))) + i-- + dAtA[i] = 0x1a + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} + +func (m *VDiffRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if len(m.VdiffUuid) > 0 { + i -= len(m.VdiffUuid) + copy(dAtA[i:], m.VdiffUuid) + i = encodeVarint(dAtA, i, uint64(len(m.VdiffUuid))) + i-- + dAtA[i] = 0x2a + } + if len(m.ActionArg) > 0 { + i -= len(m.ActionArg) + copy(dAtA[i:], m.ActionArg) + i = encodeVarint(dAtA, i, uint64(len(m.ActionArg))) + i-- + dAtA[i] = 0x22 + } + if len(m.Action) > 0 { + i -= len(m.Action) + copy(dAtA[i:], m.Action) + i = encodeVarint(dAtA, i, uint64(len(m.Action))) + i-- + dAtA[i] = 0x1a + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.VdiffUuid) > 0 { + i -= len(m.VdiffUuid) + copy(dAtA[i:], m.VdiffUuid) + i = encodeVarint(dAtA, i, uint64(len(m.VdiffUuid))) + i-- + dAtA[i] = 0x1a + } + if m.Output != nil { + if vtmsg, ok := interface{}(m.Output).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Output) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *VDiffPickerOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffPickerOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffPickerOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TargetCell) > 0 { + i -= len(m.TargetCell) + copy(dAtA[i:], m.TargetCell) + i = encodeVarint(dAtA, i, uint64(len(m.TargetCell))) + i-- + dAtA[i] = 0x1a + } + if len(m.SourceCell) > 0 { + i -= len(m.SourceCell) + copy(dAtA[i:], m.SourceCell) + i = encodeVarint(dAtA, i, uint64(len(m.SourceCell))) + i-- + dAtA[i] = 0x12 + } + if len(m.TabletTypes) > 0 { + i -= len(m.TabletTypes) + copy(dAtA[i:], m.TabletTypes) + i = encodeVarint(dAtA, i, uint64(len(m.TabletTypes))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffReportOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffReportOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffReportOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MaxSampleRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxSampleRows)) + i-- + dAtA[i] = 0x20 + } + if len(m.Format) > 0 { + i -= len(m.Format) + copy(dAtA[i:], m.Format) + i = encodeVarint(dAtA, i, uint64(len(m.Format))) + i-- + dAtA[i] = 0x1a + } + if m.DebugQuery { + i-- + if m.DebugQuery { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.OnlyPks { + i-- + if m.OnlyPks { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *VDiffCoreOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffCoreOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffCoreOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MaxDiffSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxDiffSeconds)) + i-- + dAtA[i] = 0x48 + } + if m.UpdateTableStats { + i-- + if m.UpdateTableStats { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.MaxExtraRowsToCompare != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxExtraRowsToCompare)) + i-- + dAtA[i] = 0x38 + } + if m.TimeoutSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeoutSeconds)) + i-- + dAtA[i] = 0x30 + } + if m.SamplePct != 0 { + i = encodeVarint(dAtA, i, uint64(m.SamplePct)) + i-- + dAtA[i] = 0x28 + } + if m.Checksum { + i-- + if m.Checksum { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if m.AutoRetry { + i-- + if m.AutoRetry { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Tables) > 0 { + i -= len(m.Tables) + copy(dAtA[i:], m.Tables) + i = encodeVarint(dAtA, i, uint64(len(m.Tables))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReportOptions != nil { + size, err := m.ReportOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.CoreOptions != nil { + size, err := m.CoreOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.PickerOptions != nil { + size, err := m.PickerOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateVReplicationWorkflowRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateVReplicationWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateVReplicationWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.State != 0 { + i = encodeVarint(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x30 + } + if m.OnDdl != 0 { + i = encodeVarint(dAtA, i, uint64(m.OnDdl)) + i-- + dAtA[i] = 0x28 + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x20 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1a + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateVReplicationWorkflowResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateVReplicationWorkflowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateVReplicationWorkflowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResetSequencesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetSequencesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetSequencesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ResetSequencesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetSequencesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetSequencesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *CheckThrottlerRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CheckThrottlerRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CheckThrottlerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AppName) > 0 { + i -= len(m.AppName) + copy(dAtA[i:], m.AppName) + i = encodeVarint(dAtA, i, uint64(len(m.AppName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CheckThrottlerResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CheckThrottlerResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CheckThrottlerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RecentlyChecked { + i-- + if m.RecentlyChecked { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x2a + } + if len(m.Error) > 0 { + i -= len(m.Error) + copy(dAtA[i:], m.Error) + i = encodeVarint(dAtA, i, uint64(len(m.Error))) + i-- + dAtA[i] = 0x22 + } + if m.Threshold != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Threshold)))) + i-- + dAtA[i] = 0x19 + } + if m.Value != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x11 + } + if m.StatusCode != 0 { + i = encodeVarint(dAtA, i, uint64(m.StatusCode)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *TableDefinition) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Schema) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Columns) > 0 { + for _, s := range m.Columns { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.PrimaryKeyColumns) > 0 { + for _, s := range m.PrimaryKeyColumns { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Type) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.DataLength != 0 { + n += 1 + sov(uint64(m.DataLength)) + } + if m.RowCount != 0 { + n += 1 + sov(uint64(m.RowCount)) + } + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SchemaDefinition) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.DatabaseSchema) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TableDefinitions) > 0 { + for _, e := range m.TableDefinitions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SchemaChangeResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BeforeSchema != nil { + l = m.BeforeSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.AfterSchema != nil { + l = m.AfterSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UserPermission) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Host) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PasswordChecksum != 0 { + n += 1 + sov(uint64(m.PasswordChecksum)) + } + if len(m.Privileges) > 0 { + for k, v := range m.Privileges { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *DbPermission) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Host) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Db) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Privileges) > 0 { + for k, v := range m.Privileges { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Permissions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.UserPermissions) > 0 { + for _, e := range m.UserPermissions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.DbPermissions) > 0 { + for _, e := range m.DbPermissions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *PingRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Payload) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PingResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Payload) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SleepRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Duration != 0 { + n += 1 + sov(uint64(m.Duration)) + } + n += len(m.unknownFields) + return n +} + +func (m *SleepResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ExecuteHookRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Parameters) > 0 { + for _, s := range m.Parameters { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ExtraEnv) > 0 { + for k, v := range m.ExtraEnv { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteHookResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ExitStatus != 0 { + n += 1 + sov(uint64(m.ExitStatus)) + } + l = len(m.Stdout) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Stderr) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.IncludeViews { + n += 2 + } + if len(m.ExcludeTables) > 0 { + for _, s := range m.ExcludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.TableSchemaOnly { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SchemaDefinition != nil { + l = m.SchemaDefinition.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetPermissionsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetPermissionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Permissions != nil { + l = m.Permissions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ChangeTypeRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ChangeTypeResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *PreflightSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Changes) > 0 { + for _, s := range m.Changes { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *PreflightSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ChangeResults) > 0 { + for _, e := range m.ChangeResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ApplySchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.AllowReplication { + n += 2 + } + if m.BeforeSchema != nil { + l = m.BeforeSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.AfterSchema != nil { + l = m.AfterSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.SqlMode) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.BatchSize != 0 { + n += 1 + sov(uint64(m.BatchSize)) + } + n += len(m.unknownFields) + return n +} + +func (m *ApplySchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BeforeSchema != nil { + l = m.BeforeSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.AfterSchema != nil { + l = m.AfterSchema.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *LockTablesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *LockTablesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *UnlockTablesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *UnlockTablesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ExecuteQueryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteQueryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsDbaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.DisableBinlogs { + n += 2 + } + if m.ReloadSchema { + n += 2 + } + if m.DisableForeignKeyChecks { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsDbaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAllPrivsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.ReloadSchema { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAllPrivsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAppRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAppResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReplicationStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicationStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrimaryStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *PrimaryStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrimaryPositionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *PrimaryPositionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WaitForPositionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WaitForPositionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationMinimumRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.WaitTimeout != 0 { + n += 1 + sov(uint64(m.WaitTimeout)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationMinimumResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationUntilAfterRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.WaitTimeout != 0 { + n += 1 + sov(uint64(m.WaitTimeout)) + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationUntilAfterResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetReplicasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetReplicasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Addrs) > 0 { + for _, s := range m.Addrs { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *VReplicationExecRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VReplicationExecResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VReplicationWaitForPosRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VReplicationWaitForPosResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *InitPrimaryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *InitPrimaryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PopulateReparentJournalRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TimeCreatedNs != 0 { + n += 1 + sov(uint64(m.TimeCreatedNs)) + } + l = len(m.ActionName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PrimaryAlias != nil { + if size, ok := interface{}(m.PrimaryAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PrimaryAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.ReplicationPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PopulateReparentJournalResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *InitReplicaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Parent != nil { + if size, ok := interface{}(m.Parent).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Parent) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.ReplicationPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TimeCreatedNs != 0 { + n += 1 + sov(uint64(m.TimeCreatedNs)) + } + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *InitReplicaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DemotePrimaryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DemotePrimaryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PrimaryStatus != nil { + if size, ok := interface{}(m.PrimaryStatus).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PrimaryStatus) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UndoDemotePrimaryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *UndoDemotePrimaryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasPromotedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasPromotedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationParametersRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ResetReplicationParametersResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *FullStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *FullStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetReplicationSourceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Parent != nil { + if size, ok := interface{}(m.Parent).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Parent) + } + n += 1 + l + sov(uint64(l)) + } + if m.TimeCreatedNs != 0 { + n += 1 + sov(uint64(m.TimeCreatedNs)) + } + if m.ForceStartReplication { + n += 2 + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *SetReplicationSourceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasRestartedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Parent != nil { + if size, ok := interface{}(m.Parent).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Parent) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReplicaWasRestartedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationAndGetStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StopReplicationMode != 0 { + n += 1 + sov(uint64(m.StopReplicationMode)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationAndGetStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PromoteReplicaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SemiSync { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *PromoteReplicaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BackupRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + if m.AllowPrimary { + n += 2 + } + l = len(m.IncrementalFromPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.UpgradeSafe { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *BackupResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Event != nil { + if size, ok := interface{}(m.Event).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Event) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RestoreFromBackupRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BackupTime != nil { + if size, ok := interface{}(m.BackupTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.BackupTime) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.RestoreToPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.DryRun { + n += 2 + } + if m.RestoreToTimestamp != nil { + if size, ok := interface{}(m.RestoreToTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RestoreToTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RestoreFromBackupResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Event != nil { + if size, ok := interface{}(m.Event).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Event) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.BinlogSource) > 0 { + for _, e := range m.BinlogSource { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if m.WorkflowType != 0 { + n += 1 + sov(uint64(m.WorkflowType)) + } + if m.WorkflowSubType != 0 { + n += 1 + sov(uint64(m.WorkflowSubType)) + } + if m.DeferSecondaryKeys { + n += 2 + } + if m.AutoStart { + n += 2 + } + if m.StopAfterCopy { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *CreateVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowResponse_Stream) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + if m.Bls != nil { + if size, ok := interface{}(m.Bls).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Bls) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Pos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.StopPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxTps != 0 { + n += 1 + sov(uint64(m.MaxTps)) + } + if m.MaxReplicationLag != 0 { + n += 1 + sov(uint64(m.MaxReplicationLag)) + } + if m.TimeUpdated != nil { + if size, ok := interface{}(m.TimeUpdated).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeUpdated) + } + n += 1 + l + sov(uint64(l)) + } + if m.TransactionTimestamp != nil { + if size, ok := interface{}(m.TransactionTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TransactionTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + if m.State != 0 { + n += 1 + sov(uint64(m.State)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.RowsCopied != 0 { + n += 1 + sov(uint64(m.RowsCopied)) + } + if m.TimeHeartbeat != nil { + if size, ok := interface{}(m.TimeHeartbeat).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeHeartbeat) + } + n += 1 + l + sov(uint64(l)) + } + if m.TimeThrottled != nil { + if size, ok := interface{}(m.TimeThrottled).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeThrottled) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.ComponentThrottled) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cells) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Tags) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.WorkflowType != 0 { + n += 1 + sov(uint64(m.WorkflowType)) + } + if m.WorkflowSubType != 0 { + n += 1 + sov(uint64(m.WorkflowSubType)) + } + if m.DeferSecondaryKeys { + n += 2 + } + if len(m.Streams) > 0 { + for _, e := range m.Streams { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Action) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ActionArg) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.VdiffUuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + if m.Output != nil { + if size, ok := interface{}(m.Output).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Output) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.VdiffUuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffPickerOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TabletTypes) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceCell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetCell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffReportOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.OnlyPks { + n += 2 + } + if m.DebugQuery { + n += 2 + } + l = len(m.Format) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxSampleRows != 0 { + n += 1 + sov(uint64(m.MaxSampleRows)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffCoreOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Tables) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.AutoRetry { + n += 2 + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.Checksum { + n += 2 + } + if m.SamplePct != 0 { + n += 1 + sov(uint64(m.SamplePct)) + } + if m.TimeoutSeconds != 0 { + n += 1 + sov(uint64(m.TimeoutSeconds)) + } + if m.MaxExtraRowsToCompare != 0 { + n += 1 + sov(uint64(m.MaxExtraRowsToCompare)) + } + if m.UpdateTableStats { + n += 2 + } + if m.MaxDiffSeconds != 0 { + n += 1 + sov(uint64(m.MaxDiffSeconds)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PickerOptions != nil { + l = m.PickerOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.CoreOptions != nil { + l = m.CoreOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ReportOptions != nil { + l = m.ReportOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateVReplicationWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if m.OnDdl != 0 { + n += 1 + sov(uint64(m.OnDdl)) + } + if m.State != 0 { + n += 1 + sov(uint64(m.State)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateVReplicationWorkflowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ResetSequencesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ResetSequencesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *CheckThrottlerRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AppName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CheckThrottlerResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StatusCode != 0 { + n += 1 + sov(uint64(m.StatusCode)) + } + if m.Value != 0 { + n += 9 + } + if m.Threshold != 0 { + n += 9 + } + l = len(m.Error) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.RecentlyChecked { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *TableDefinition) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TableDefinition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TableDefinition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Schema = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Columns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Columns = append(m.Columns, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryKeyColumns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PrimaryKeyColumns = append(m.PrimaryKeyColumns, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + } + m.DataLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DataLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + } + m.RowCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &v19.Field{}) + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SchemaDefinition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SchemaDefinition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DatabaseSchema", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DatabaseSchema = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableDefinitions", 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 + } + m.TableDefinitions = append(m.TableDefinitions, &TableDefinition{}) + if err := m.TableDefinitions[len(m.TableDefinitions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SchemaChangeResult) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SchemaChangeResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SchemaChangeResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", 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.BeforeSchema == nil { + m.BeforeSchema = &SchemaDefinition{} + } + if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", 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.AfterSchema == nil { + m.AfterSchema = &SchemaDefinition{} + } + if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UserPermission) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UserPermission: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UserPermission: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Host = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.User = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PasswordChecksum", wireType) + } + m.PasswordChecksum = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PasswordChecksum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Privileges", 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.Privileges == nil { + m.Privileges = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Privileges[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DbPermission) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DbPermission: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DbPermission: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Host = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Db", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Db = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.User = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Privileges", 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.Privileges == nil { + m.Privileges = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Privileges[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Permissions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Permissions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Permissions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserPermissions", 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 + } + m.UserPermissions = append(m.UserPermissions, &UserPermission{}) + if err := m.UserPermissions[len(m.UserPermissions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbPermissions", 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 + } + m.DbPermissions = append(m.DbPermissions, &DbPermission{}) + if err := m.DbPermissions[len(m.DbPermissions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Payload = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Payload = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SleepRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SleepRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SleepRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) + } + m.Duration = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Duration |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SleepResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SleepResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SleepResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteHookRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteHookRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Parameters = append(m.Parameters, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExtraEnv", 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.ExtraEnv == nil { + m.ExtraEnv = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ExtraEnv[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteHookResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteHookResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType) + } + m.ExitStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ExitStatus |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Stdout = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Stderr = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeViews = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSchemaOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableSchemaOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SchemaDefinition", 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.SchemaDefinition == nil { + m.SchemaDefinition = &SchemaDefinition{} + } + if err := m.SchemaDefinition.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", 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.Permissions == nil { + m.Permissions = &Permissions{} + } + if err := m.Permissions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadOnlyRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadOnlyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadOnlyResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadOnlyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadWriteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadWriteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadWriteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadWriteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangeTypeRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangeTypeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangeTypeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangeTypeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangeTypeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangeTypeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PreflightSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PreflightSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PreflightSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Changes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Changes = append(m.Changes, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PreflightSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PreflightSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PreflightSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChangeResults", 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 + } + m.ChangeResults = append(m.ChangeResults, &SchemaChangeResult{}) + if err := m.ChangeResults[len(m.ChangeResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplySchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplySchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowReplication", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowReplication = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", 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.BeforeSchema == nil { + m.BeforeSchema = &SchemaDefinition{} + } + if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", 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.AfterSchema == nil { + m.AfterSchema = &SchemaDefinition{} + } + if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SqlMode", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SqlMode = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BatchSize", wireType) + } + m.BatchSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BatchSize |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplySchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplySchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeforeSchema", 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.BeforeSchema == nil { + m.BeforeSchema = &SchemaDefinition{} + } + if err := m.BeforeSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AfterSchema", 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.AfterSchema == nil { + m.AfterSchema = &SchemaDefinition{} + } + if err := m.AfterSchema.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LockTablesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LockTablesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LockTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LockTablesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LockTablesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LockTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UnlockTablesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UnlockTablesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UnlockTablesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UnlockTablesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UnlockTablesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UnlockTablesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteQueryRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteQueryRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteQueryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteQueryResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteQueryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteQueryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsDbaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsDbaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsDbaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableBinlogs = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableForeignKeyChecks", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableForeignKeyChecks = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsDbaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsDbaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsDbaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAllPrivsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAllPrivsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAllPrivsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = append(m.Query[:0], dAtA[iNdEx:postIndex]...) + if m.Query == nil { + m.Query = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicationStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicationStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicationStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicationStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicationStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicationStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status == nil { + m.Status = &v193.Status{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrimaryStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrimaryStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrimaryStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrimaryStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrimaryStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrimaryStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status == nil { + m.Status = &v193.PrimaryStatus{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrimaryPositionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrimaryPositionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrimaryPositionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrimaryPositionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrimaryPositionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrimaryPositionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WaitForPositionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WaitForPositionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WaitForPositionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WaitForPositionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WaitForPositionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WaitForPositionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationMinimumRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationMinimumRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationMinimumRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeout", wireType) + } + m.WaitTimeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WaitTimeout |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationMinimumResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationMinimumResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationMinimumResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationUntilAfterRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationUntilAfterRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationUntilAfterRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeout", wireType) + } + m.WaitTimeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WaitTimeout |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationUntilAfterResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationUntilAfterResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationUntilAfterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetReplicasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetReplicasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetReplicasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetReplicasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetReplicasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetReplicasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Addrs", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Addrs = append(m.Addrs, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VReplicationExecRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VReplicationExecRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VReplicationExecRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VReplicationExecResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VReplicationExecResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VReplicationExecResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VReplicationWaitForPosRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VReplicationWaitForPosRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VReplicationWaitForPosRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VReplicationWaitForPosResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VReplicationWaitForPosResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VReplicationWaitForPosResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *InitPrimaryRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: InitPrimaryRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: InitPrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *InitPrimaryResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: InitPrimaryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: InitPrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PopulateReparentJournalRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PopulateReparentJournalRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PopulateReparentJournalRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) + } + m.TimeCreatedNs = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeCreatedNs |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActionName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryAlias", 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.PrimaryAlias == nil { + m.PrimaryAlias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.PrimaryAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReplicationPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PopulateReparentJournalResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PopulateReparentJournalResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PopulateReparentJournalResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *InitReplicaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: InitReplicaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: InitReplicaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parent", 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.Parent == nil { + m.Parent = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Parent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReplicationPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) + } + m.TimeCreatedNs = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeCreatedNs |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *InitReplicaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: InitReplicaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: InitReplicaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DemotePrimaryRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DemotePrimaryRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DemotePrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DemotePrimaryResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DemotePrimaryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DemotePrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryStatus", 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.PrimaryStatus == nil { + m.PrimaryStatus = &v193.PrimaryStatus{} + } + if unmarshal, ok := interface{}(m.PrimaryStatus).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryStatus); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UndoDemotePrimaryRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UndoDemotePrimaryRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UndoDemotePrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UndoDemotePrimaryResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UndoDemotePrimaryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UndoDemotePrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicaWasPromotedRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicaWasPromotedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicaWasPromotedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicaWasPromotedResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicaWasPromotedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicaWasPromotedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetReplicationParametersRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetReplicationParametersRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetReplicationParametersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetReplicationParametersResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetReplicationParametersResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetReplicationParametersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FullStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FullStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FullStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FullStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FullStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status == nil { + m.Status = &v193.FullStatus{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReplicationSourceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReplicationSourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parent", 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.Parent == nil { + m.Parent = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Parent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreatedNs", wireType) + } + m.TimeCreatedNs = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeCreatedNs |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ForceStartReplication", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ForceStartReplication = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReplicationSourceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReplicationSourceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReplicationSourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicaWasRestartedRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicaWasRestartedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicaWasRestartedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parent", 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.Parent == nil { + m.Parent = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Parent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Parent); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicaWasRestartedResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicaWasRestartedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicaWasRestartedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationAndGetStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationAndGetStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationAndGetStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopReplicationMode", wireType) + } + m.StopReplicationMode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StopReplicationMode |= v193.StopReplicationMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationAndGetStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationAndGetStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationAndGetStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status == nil { + m.Status = &v193.StopReplicationStatus{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PromoteReplicaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PromoteReplicaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PromoteReplicaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SemiSync", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SemiSync = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PromoteReplicaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PromoteReplicaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PromoteReplicaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BackupRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPrimary = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncrementalFromPos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncrementalFromPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UpgradeSafe", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UpgradeSafe = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BackupResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BackupResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Event", 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.Event == nil { + m.Event = &v194.Event{} + } + if unmarshal, ok := interface{}(m.Event).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RestoreFromBackupRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RestoreFromBackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BackupTime", 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.BackupTime == nil { + m.BackupTime = &v195.Time{} + } + if unmarshal, ok := interface{}(m.BackupTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BackupTime); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RestoreToPos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RestoreToPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RestoreToTimestamp", 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.RestoreToTimestamp == nil { + m.RestoreToTimestamp = &v195.Time{} + } + if unmarshal, ok := interface{}(m.RestoreToTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RestoreToTimestamp); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RestoreFromBackupResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RestoreFromBackupResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RestoreFromBackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Event", 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.Event == nil { + m.Event = &v194.Event{} + } + if unmarshal, ok := interface{}(m.Event).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateVReplicationWorkflowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogSource", 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 + } + m.BinlogSource = append(m.BinlogSource, &v196.BinlogSource{}) + if unmarshal, ok := interface{}(m.BinlogSource[len(m.BinlogSource)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BinlogSource[len(m.BinlogSource)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v v191.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v191.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v191.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + m.WorkflowType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowType |= v196.VReplicationWorkflowType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowSubType", wireType) + } + m.WorkflowSubType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowSubType |= v196.VReplicationWorkflowSubType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DeferSecondaryKeys = bool(v != 0) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AutoStart = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StopAfterCopy = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateVReplicationWorkflowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteVReplicationWorkflowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteVReplicationWorkflowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadVReplicationWorkflowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadVReplicationWorkflowResponse_Stream) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse_Stream: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse_Stream: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bls", 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.Bls == nil { + m.Bls = &v196.BinlogSource{} + } + if unmarshal, ok := interface{}(m.Bls).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Bls); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Pos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StopPos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StopPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTps", wireType) + } + m.MaxTps = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTps |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicationLag", wireType) + } + m.MaxReplicationLag = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxReplicationLag |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeUpdated", 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.TimeUpdated == nil { + m.TimeUpdated = &v195.Time{} + } + if unmarshal, ok := interface{}(m.TimeUpdated).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeUpdated); err != nil { + return err + } + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionTimestamp", 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.TransactionTimestamp == nil { + m.TransactionTimestamp = &v195.Time{} + } + if unmarshal, ok := interface{}(m.TransactionTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TransactionTimestamp); err != nil { + return err + } + } + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= v196.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsCopied", wireType) + } + m.RowsCopied = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsCopied |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeHeartbeat", 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.TimeHeartbeat == nil { + m.TimeHeartbeat = &v195.Time{} + } + if unmarshal, ok := interface{}(m.TimeHeartbeat).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeHeartbeat); err != nil { + return err + } + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeThrottled", 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.TimeThrottled == nil { + m.TimeThrottled = &v195.Time{} + } + if unmarshal, ok := interface{}(m.TimeThrottled).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeThrottled); err != nil { + return err + } + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ComponentThrottled", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ComponentThrottled = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v v191.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v191.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v191.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tags = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + m.WorkflowType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowType |= v196.VReplicationWorkflowType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowSubType", wireType) + } + m.WorkflowSubType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowSubType |= v196.VReplicationWorkflowSubType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DeferSecondaryKeys = bool(v != 0) + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Streams", 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 + } + m.Streams = append(m.Streams, &ReadVReplicationWorkflowResponse_Stream{}) + if err := m.Streams[len(m.Streams)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Action = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionArg", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActionArg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VdiffUuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VdiffUuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &VDiffOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Output", 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.Output == nil { + m.Output = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Output).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Output); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VdiffUuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VdiffUuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffPickerOptions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffPickerOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffPickerOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TabletTypes = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceCell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceCell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetCell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetCell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffReportOptions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffReportOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffReportOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OnlyPks", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.OnlyPks = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DebugQuery", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DebugQuery = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Format = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxSampleRows", wireType) + } + m.MaxSampleRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxSampleRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffCoreOptions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffCoreOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffCoreOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoRetry", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AutoRetry = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Checksum = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SamplePct", wireType) + } + m.SamplePct = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SamplePct |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType) + } + m.TimeoutSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeoutSeconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxExtraRowsToCompare", wireType) + } + m.MaxExtraRowsToCompare = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxExtraRowsToCompare |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdateTableStats", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UpdateTableStats = bool(v != 0) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxDiffSeconds", wireType) + } + m.MaxDiffSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxDiffSeconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffOptions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PickerOptions", 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.PickerOptions == nil { + m.PickerOptions = &VDiffPickerOptions{} + } + if err := m.PickerOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CoreOptions", 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.CoreOptions == nil { + m.CoreOptions = &VDiffCoreOptions{} + } + if err := m.CoreOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReportOptions", 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.ReportOptions == nil { + m.ReportOptions = &VDiffReportOptions{} + } + if err := m.ReportOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateVReplicationWorkflowRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateVReplicationWorkflowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateVReplicationWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType == 0 { + var v v191.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v191.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v191.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) + } + m.OnDdl = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.OnDdl |= v196.OnDDLAction(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= v196.VReplicationWorkflowState(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateVReplicationWorkflowResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateVReplicationWorkflowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateVReplicationWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetSequencesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetSequencesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetSequencesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetSequencesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetSequencesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetSequencesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CheckThrottlerRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CheckThrottlerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CheckThrottlerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AppName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CheckThrottlerResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CheckThrottlerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CheckThrottlerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusCode", wireType) + } + m.StatusCode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StatusCode |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Threshold = float64(math.Float64frombits(v)) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Error = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RecentlyChecked", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RecentlyChecked = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/tabletmanagerservice/dev/tabletmanagerservice.pb.go b/gen/vitess/tabletmanagerservice/dev/tabletmanagerservice.pb.go index 8fefa3c..e5e7ab3 100644 --- a/gen/vitess/tabletmanagerservice/dev/tabletmanagerservice.pb.go +++ b/gen/vitess/tabletmanagerservice/dev/tabletmanagerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerservice/dev/tabletmanagerservice.proto @@ -50,7 +50,7 @@ var file_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto_rawDesc = [] 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x32, 0xd4, 0x35, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, + 0x6f, 0x74, 0x6f, 0x32, 0xf6, 0x46, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x5f, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x69, 0x6e, @@ -86,220 +86,308 @@ var file_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto_rawDesc = [] 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x74, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x30, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, - 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, - 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, - 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, - 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x8c, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x56, 0x61, 0x72, 0x73, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x56, 0x61, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x2e, 0x47, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x56, 0x61, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, + 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x30, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, + 0x72, 0x69, 0x74, 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0e, 0x52, 0x75, - 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x33, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, - 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x52, 0x65, 0x6c, - 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, + 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, + 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, + 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, - 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x71, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x65, 0x66, - 0x6c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0e, + 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x33, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, + 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x52, + 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x31, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, + 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, + 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, + 0x68, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, + 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, + 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0e, 0x52, - 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x33, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, - 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, + 0x0e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, + 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, + 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x0a, + 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x77, 0x0a, 0x0c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, + 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x0a, 0x4c, 0x6f, - 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x76, 0x2e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, - 0x0c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x31, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x6e, 0x6c, - 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x86, 0x01, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x41, 0x73, 0x44, 0x62, 0x61, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x41, 0x73, 0x44, 0x62, 0x61, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, - 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, - 0x69, 0x76, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, - 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x69, 0x76, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, + 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, - 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x86, 0x01, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, - 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, - 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x9e, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, + 0x61, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x89, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, - 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x8c, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, - 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x48, 0x6f, 0x73, 0x74, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x48, 0x6f, 0x73, 0x74, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, - 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, - 0x75, 0x6d, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x79, + 0x73, 0x71, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x36, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, - 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x83, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, + 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, - 0x66, 0x74, 0x65, 0x72, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x64, 0x65, 0x76, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, + 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, + 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, + 0x6d, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, + 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, + 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, + 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, + 0x74, 0x65, 0x72, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0xa1, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3f, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa1, + 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9b, 0x01, 0x0a, 0x18, 0x48, 0x61, + 0x73, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x48, 0x61, 0x73, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x48, 0x61, 0x73, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9b, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, @@ -310,290 +398,370 @@ var file_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto_rawDesc = [] 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, - 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, - 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, - 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, - 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9e, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6f, 0x77, 0x73, 0x12, 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x05, 0x56, 0x44, 0x69, 0x66, 0x66, - 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa4, 0x01, 0x0a, 0x1b, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x40, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, - 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x10, - 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0xb0, 0x01, 0x0a, 0x1f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x56, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, + 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x98, 0x01, 0x0a, 0x17, 0x50, 0x6f, 0x70, 0x75, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, - 0x6e, 0x61, 0x6c, 0x12, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x44, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x76, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, + 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x62, 0x0a, 0x05, 0x56, 0x44, 0x69, 0x66, 0x66, 0x12, 0x2a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x89, 0x01, - 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, - 0x6f, 0x74, 0x65, 0x64, 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, - 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x52, 0x65, - 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, - 0x0a, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, + 0x76, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, + 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, + 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x98, 0x01, 0x0a, 0x17, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x3c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x6f, + 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, + 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x75, 0x6c, 0x6c, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x8f, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x6f, 0x70, 0x75, + 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, + 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x98, 0x01, + 0x0a, 0x17, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, + 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x8c, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, - 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7a, + 0x0a, 0x0d, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, + 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x55, + 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x89, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, + 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0xa4, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6d, - 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, - 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, - 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, - 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, - 0x12, 0x88, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, - 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, - 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, + 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0xa1, 0x01, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x30, 0x01, 0x12, 0x7d, 0x0a, 0x0e, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, + 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x0a, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x61, 0x5a, 0x5f, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, - 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8c, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, + 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa4, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x6f, 0x70, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, + 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, + 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x74, 0x6f, + 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x36, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x7d, 0x0a, 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x89, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x61, 0x5a, 0x5f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x76, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto_goTypes = []interface{}{ - (*dev.PingRequest)(nil), // 0: vitess.tabletmanagerdata.dev.PingRequest - (*dev.SleepRequest)(nil), // 1: vitess.tabletmanagerdata.dev.SleepRequest - (*dev.ExecuteHookRequest)(nil), // 2: vitess.tabletmanagerdata.dev.ExecuteHookRequest - (*dev.GetSchemaRequest)(nil), // 3: vitess.tabletmanagerdata.dev.GetSchemaRequest - (*dev.GetPermissionsRequest)(nil), // 4: vitess.tabletmanagerdata.dev.GetPermissionsRequest - (*dev.SetReadOnlyRequest)(nil), // 5: vitess.tabletmanagerdata.dev.SetReadOnlyRequest - (*dev.SetReadWriteRequest)(nil), // 6: vitess.tabletmanagerdata.dev.SetReadWriteRequest - (*dev.ChangeTypeRequest)(nil), // 7: vitess.tabletmanagerdata.dev.ChangeTypeRequest - (*dev.RefreshStateRequest)(nil), // 8: vitess.tabletmanagerdata.dev.RefreshStateRequest - (*dev.RunHealthCheckRequest)(nil), // 9: vitess.tabletmanagerdata.dev.RunHealthCheckRequest - (*dev.ReloadSchemaRequest)(nil), // 10: vitess.tabletmanagerdata.dev.ReloadSchemaRequest - (*dev.PreflightSchemaRequest)(nil), // 11: vitess.tabletmanagerdata.dev.PreflightSchemaRequest - (*dev.ApplySchemaRequest)(nil), // 12: vitess.tabletmanagerdata.dev.ApplySchemaRequest - (*dev.ResetSequencesRequest)(nil), // 13: vitess.tabletmanagerdata.dev.ResetSequencesRequest - (*dev.LockTablesRequest)(nil), // 14: vitess.tabletmanagerdata.dev.LockTablesRequest - (*dev.UnlockTablesRequest)(nil), // 15: vitess.tabletmanagerdata.dev.UnlockTablesRequest - (*dev.ExecuteQueryRequest)(nil), // 16: vitess.tabletmanagerdata.dev.ExecuteQueryRequest - (*dev.ExecuteFetchAsDbaRequest)(nil), // 17: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaRequest - (*dev.ExecuteFetchAsAllPrivsRequest)(nil), // 18: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsRequest - (*dev.ExecuteFetchAsAppRequest)(nil), // 19: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppRequest - (*dev.ReplicationStatusRequest)(nil), // 20: vitess.tabletmanagerdata.dev.ReplicationStatusRequest - (*dev.PrimaryStatusRequest)(nil), // 21: vitess.tabletmanagerdata.dev.PrimaryStatusRequest - (*dev.PrimaryPositionRequest)(nil), // 22: vitess.tabletmanagerdata.dev.PrimaryPositionRequest - (*dev.WaitForPositionRequest)(nil), // 23: vitess.tabletmanagerdata.dev.WaitForPositionRequest - (*dev.StopReplicationRequest)(nil), // 24: vitess.tabletmanagerdata.dev.StopReplicationRequest - (*dev.StopReplicationMinimumRequest)(nil), // 25: vitess.tabletmanagerdata.dev.StopReplicationMinimumRequest - (*dev.StartReplicationRequest)(nil), // 26: vitess.tabletmanagerdata.dev.StartReplicationRequest - (*dev.StartReplicationUntilAfterRequest)(nil), // 27: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterRequest - (*dev.GetReplicasRequest)(nil), // 28: vitess.tabletmanagerdata.dev.GetReplicasRequest - (*dev.CreateVReplicationWorkflowRequest)(nil), // 29: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest - (*dev.DeleteVReplicationWorkflowRequest)(nil), // 30: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowRequest - (*dev.ReadVReplicationWorkflowRequest)(nil), // 31: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowRequest - (*dev.VReplicationExecRequest)(nil), // 32: vitess.tabletmanagerdata.dev.VReplicationExecRequest - (*dev.VReplicationWaitForPosRequest)(nil), // 33: vitess.tabletmanagerdata.dev.VReplicationWaitForPosRequest - (*dev.UpdateVReplicationWorkflowRequest)(nil), // 34: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest - (*dev.VDiffRequest)(nil), // 35: vitess.tabletmanagerdata.dev.VDiffRequest - (*dev.ResetReplicationRequest)(nil), // 36: vitess.tabletmanagerdata.dev.ResetReplicationRequest - (*dev.InitPrimaryRequest)(nil), // 37: vitess.tabletmanagerdata.dev.InitPrimaryRequest - (*dev.PopulateReparentJournalRequest)(nil), // 38: vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest - (*dev.InitReplicaRequest)(nil), // 39: vitess.tabletmanagerdata.dev.InitReplicaRequest - (*dev.DemotePrimaryRequest)(nil), // 40: vitess.tabletmanagerdata.dev.DemotePrimaryRequest - (*dev.UndoDemotePrimaryRequest)(nil), // 41: vitess.tabletmanagerdata.dev.UndoDemotePrimaryRequest - (*dev.ReplicaWasPromotedRequest)(nil), // 42: vitess.tabletmanagerdata.dev.ReplicaWasPromotedRequest - (*dev.ResetReplicationParametersRequest)(nil), // 43: vitess.tabletmanagerdata.dev.ResetReplicationParametersRequest - (*dev.FullStatusRequest)(nil), // 44: vitess.tabletmanagerdata.dev.FullStatusRequest - (*dev.SetReplicationSourceRequest)(nil), // 45: vitess.tabletmanagerdata.dev.SetReplicationSourceRequest - (*dev.ReplicaWasRestartedRequest)(nil), // 46: vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest - (*dev.StopReplicationAndGetStatusRequest)(nil), // 47: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest - (*dev.PromoteReplicaRequest)(nil), // 48: vitess.tabletmanagerdata.dev.PromoteReplicaRequest - (*dev.BackupRequest)(nil), // 49: vitess.tabletmanagerdata.dev.BackupRequest - (*dev.RestoreFromBackupRequest)(nil), // 50: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest - (*dev.CheckThrottlerRequest)(nil), // 51: vitess.tabletmanagerdata.dev.CheckThrottlerRequest - (*dev.PingResponse)(nil), // 52: vitess.tabletmanagerdata.dev.PingResponse - (*dev.SleepResponse)(nil), // 53: vitess.tabletmanagerdata.dev.SleepResponse - (*dev.ExecuteHookResponse)(nil), // 54: vitess.tabletmanagerdata.dev.ExecuteHookResponse - (*dev.GetSchemaResponse)(nil), // 55: vitess.tabletmanagerdata.dev.GetSchemaResponse - (*dev.GetPermissionsResponse)(nil), // 56: vitess.tabletmanagerdata.dev.GetPermissionsResponse - (*dev.SetReadOnlyResponse)(nil), // 57: vitess.tabletmanagerdata.dev.SetReadOnlyResponse - (*dev.SetReadWriteResponse)(nil), // 58: vitess.tabletmanagerdata.dev.SetReadWriteResponse - (*dev.ChangeTypeResponse)(nil), // 59: vitess.tabletmanagerdata.dev.ChangeTypeResponse - (*dev.RefreshStateResponse)(nil), // 60: vitess.tabletmanagerdata.dev.RefreshStateResponse - (*dev.RunHealthCheckResponse)(nil), // 61: vitess.tabletmanagerdata.dev.RunHealthCheckResponse - (*dev.ReloadSchemaResponse)(nil), // 62: vitess.tabletmanagerdata.dev.ReloadSchemaResponse - (*dev.PreflightSchemaResponse)(nil), // 63: vitess.tabletmanagerdata.dev.PreflightSchemaResponse - (*dev.ApplySchemaResponse)(nil), // 64: vitess.tabletmanagerdata.dev.ApplySchemaResponse - (*dev.ResetSequencesResponse)(nil), // 65: vitess.tabletmanagerdata.dev.ResetSequencesResponse - (*dev.LockTablesResponse)(nil), // 66: vitess.tabletmanagerdata.dev.LockTablesResponse - (*dev.UnlockTablesResponse)(nil), // 67: vitess.tabletmanagerdata.dev.UnlockTablesResponse - (*dev.ExecuteQueryResponse)(nil), // 68: vitess.tabletmanagerdata.dev.ExecuteQueryResponse - (*dev.ExecuteFetchAsDbaResponse)(nil), // 69: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse - (*dev.ExecuteFetchAsAllPrivsResponse)(nil), // 70: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse - (*dev.ExecuteFetchAsAppResponse)(nil), // 71: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse - (*dev.ReplicationStatusResponse)(nil), // 72: vitess.tabletmanagerdata.dev.ReplicationStatusResponse - (*dev.PrimaryStatusResponse)(nil), // 73: vitess.tabletmanagerdata.dev.PrimaryStatusResponse - (*dev.PrimaryPositionResponse)(nil), // 74: vitess.tabletmanagerdata.dev.PrimaryPositionResponse - (*dev.WaitForPositionResponse)(nil), // 75: vitess.tabletmanagerdata.dev.WaitForPositionResponse - (*dev.StopReplicationResponse)(nil), // 76: vitess.tabletmanagerdata.dev.StopReplicationResponse - (*dev.StopReplicationMinimumResponse)(nil), // 77: vitess.tabletmanagerdata.dev.StopReplicationMinimumResponse - (*dev.StartReplicationResponse)(nil), // 78: vitess.tabletmanagerdata.dev.StartReplicationResponse - (*dev.StartReplicationUntilAfterResponse)(nil), // 79: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterResponse - (*dev.GetReplicasResponse)(nil), // 80: vitess.tabletmanagerdata.dev.GetReplicasResponse - (*dev.CreateVReplicationWorkflowResponse)(nil), // 81: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse - (*dev.DeleteVReplicationWorkflowResponse)(nil), // 82: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse - (*dev.ReadVReplicationWorkflowResponse)(nil), // 83: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse - (*dev.VReplicationExecResponse)(nil), // 84: vitess.tabletmanagerdata.dev.VReplicationExecResponse - (*dev.VReplicationWaitForPosResponse)(nil), // 85: vitess.tabletmanagerdata.dev.VReplicationWaitForPosResponse - (*dev.UpdateVReplicationWorkflowResponse)(nil), // 86: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse - (*dev.VDiffResponse)(nil), // 87: vitess.tabletmanagerdata.dev.VDiffResponse - (*dev.ResetReplicationResponse)(nil), // 88: vitess.tabletmanagerdata.dev.ResetReplicationResponse - (*dev.InitPrimaryResponse)(nil), // 89: vitess.tabletmanagerdata.dev.InitPrimaryResponse - (*dev.PopulateReparentJournalResponse)(nil), // 90: vitess.tabletmanagerdata.dev.PopulateReparentJournalResponse - (*dev.InitReplicaResponse)(nil), // 91: vitess.tabletmanagerdata.dev.InitReplicaResponse - (*dev.DemotePrimaryResponse)(nil), // 92: vitess.tabletmanagerdata.dev.DemotePrimaryResponse - (*dev.UndoDemotePrimaryResponse)(nil), // 93: vitess.tabletmanagerdata.dev.UndoDemotePrimaryResponse - (*dev.ReplicaWasPromotedResponse)(nil), // 94: vitess.tabletmanagerdata.dev.ReplicaWasPromotedResponse - (*dev.ResetReplicationParametersResponse)(nil), // 95: vitess.tabletmanagerdata.dev.ResetReplicationParametersResponse - (*dev.FullStatusResponse)(nil), // 96: vitess.tabletmanagerdata.dev.FullStatusResponse - (*dev.SetReplicationSourceResponse)(nil), // 97: vitess.tabletmanagerdata.dev.SetReplicationSourceResponse - (*dev.ReplicaWasRestartedResponse)(nil), // 98: vitess.tabletmanagerdata.dev.ReplicaWasRestartedResponse - (*dev.StopReplicationAndGetStatusResponse)(nil), // 99: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse - (*dev.PromoteReplicaResponse)(nil), // 100: vitess.tabletmanagerdata.dev.PromoteReplicaResponse - (*dev.BackupResponse)(nil), // 101: vitess.tabletmanagerdata.dev.BackupResponse - (*dev.RestoreFromBackupResponse)(nil), // 102: vitess.tabletmanagerdata.dev.RestoreFromBackupResponse - (*dev.CheckThrottlerResponse)(nil), // 103: vitess.tabletmanagerdata.dev.CheckThrottlerResponse +var file_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto_goTypes = []any{ + (*dev.PingRequest)(nil), // 0: vitess.tabletmanagerdata.dev.PingRequest + (*dev.SleepRequest)(nil), // 1: vitess.tabletmanagerdata.dev.SleepRequest + (*dev.ExecuteHookRequest)(nil), // 2: vitess.tabletmanagerdata.dev.ExecuteHookRequest + (*dev.GetSchemaRequest)(nil), // 3: vitess.tabletmanagerdata.dev.GetSchemaRequest + (*dev.GetPermissionsRequest)(nil), // 4: vitess.tabletmanagerdata.dev.GetPermissionsRequest + (*dev.GetGlobalStatusVarsRequest)(nil), // 5: vitess.tabletmanagerdata.dev.GetGlobalStatusVarsRequest + (*dev.SetReadOnlyRequest)(nil), // 6: vitess.tabletmanagerdata.dev.SetReadOnlyRequest + (*dev.SetReadWriteRequest)(nil), // 7: vitess.tabletmanagerdata.dev.SetReadWriteRequest + (*dev.ChangeTagsRequest)(nil), // 8: vitess.tabletmanagerdata.dev.ChangeTagsRequest + (*dev.ChangeTypeRequest)(nil), // 9: vitess.tabletmanagerdata.dev.ChangeTypeRequest + (*dev.RefreshStateRequest)(nil), // 10: vitess.tabletmanagerdata.dev.RefreshStateRequest + (*dev.RunHealthCheckRequest)(nil), // 11: vitess.tabletmanagerdata.dev.RunHealthCheckRequest + (*dev.ReloadSchemaRequest)(nil), // 12: vitess.tabletmanagerdata.dev.ReloadSchemaRequest + (*dev.PreflightSchemaRequest)(nil), // 13: vitess.tabletmanagerdata.dev.PreflightSchemaRequest + (*dev.ApplySchemaRequest)(nil), // 14: vitess.tabletmanagerdata.dev.ApplySchemaRequest + (*dev.ResetSequencesRequest)(nil), // 15: vitess.tabletmanagerdata.dev.ResetSequencesRequest + (*dev.LockTablesRequest)(nil), // 16: vitess.tabletmanagerdata.dev.LockTablesRequest + (*dev.UnlockTablesRequest)(nil), // 17: vitess.tabletmanagerdata.dev.UnlockTablesRequest + (*dev.ExecuteQueryRequest)(nil), // 18: vitess.tabletmanagerdata.dev.ExecuteQueryRequest + (*dev.ExecuteFetchAsDbaRequest)(nil), // 19: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaRequest + (*dev.ExecuteMultiFetchAsDbaRequest)(nil), // 20: vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaRequest + (*dev.ExecuteFetchAsAllPrivsRequest)(nil), // 21: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsRequest + (*dev.ExecuteFetchAsAppRequest)(nil), // 22: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppRequest + (*dev.GetUnresolvedTransactionsRequest)(nil), // 23: vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsRequest + (*dev.ReadTransactionRequest)(nil), // 24: vitess.tabletmanagerdata.dev.ReadTransactionRequest + (*dev.GetTransactionInfoRequest)(nil), // 25: vitess.tabletmanagerdata.dev.GetTransactionInfoRequest + (*dev.ConcludeTransactionRequest)(nil), // 26: vitess.tabletmanagerdata.dev.ConcludeTransactionRequest + (*dev.MysqlHostMetricsRequest)(nil), // 27: vitess.tabletmanagerdata.dev.MysqlHostMetricsRequest + (*dev.ReplicationStatusRequest)(nil), // 28: vitess.tabletmanagerdata.dev.ReplicationStatusRequest + (*dev.PrimaryStatusRequest)(nil), // 29: vitess.tabletmanagerdata.dev.PrimaryStatusRequest + (*dev.PrimaryPositionRequest)(nil), // 30: vitess.tabletmanagerdata.dev.PrimaryPositionRequest + (*dev.WaitForPositionRequest)(nil), // 31: vitess.tabletmanagerdata.dev.WaitForPositionRequest + (*dev.StopReplicationRequest)(nil), // 32: vitess.tabletmanagerdata.dev.StopReplicationRequest + (*dev.StopReplicationMinimumRequest)(nil), // 33: vitess.tabletmanagerdata.dev.StopReplicationMinimumRequest + (*dev.StartReplicationRequest)(nil), // 34: vitess.tabletmanagerdata.dev.StartReplicationRequest + (*dev.StartReplicationUntilAfterRequest)(nil), // 35: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterRequest + (*dev.GetReplicasRequest)(nil), // 36: vitess.tabletmanagerdata.dev.GetReplicasRequest + (*dev.CreateVReplicationWorkflowRequest)(nil), // 37: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest + (*dev.DeleteTableDataRequest)(nil), // 38: vitess.tabletmanagerdata.dev.DeleteTableDataRequest + (*dev.DeleteVReplicationWorkflowRequest)(nil), // 39: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowRequest + (*dev.HasVReplicationWorkflowsRequest)(nil), // 40: vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsRequest + (*dev.ReadVReplicationWorkflowRequest)(nil), // 41: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowRequest + (*dev.ReadVReplicationWorkflowsRequest)(nil), // 42: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsRequest + (*dev.UpdateVReplicationWorkflowRequest)(nil), // 43: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest + (*dev.UpdateVReplicationWorkflowsRequest)(nil), // 44: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsRequest + (*dev.ValidateVReplicationPermissionsRequest)(nil), // 45: vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsRequest + (*dev.VReplicationExecRequest)(nil), // 46: vitess.tabletmanagerdata.dev.VReplicationExecRequest + (*dev.VReplicationWaitForPosRequest)(nil), // 47: vitess.tabletmanagerdata.dev.VReplicationWaitForPosRequest + (*dev.VDiffRequest)(nil), // 48: vitess.tabletmanagerdata.dev.VDiffRequest + (*dev.ResetReplicationRequest)(nil), // 49: vitess.tabletmanagerdata.dev.ResetReplicationRequest + (*dev.InitPrimaryRequest)(nil), // 50: vitess.tabletmanagerdata.dev.InitPrimaryRequest + (*dev.PopulateReparentJournalRequest)(nil), // 51: vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest + (*dev.ReadReparentJournalInfoRequest)(nil), // 52: vitess.tabletmanagerdata.dev.ReadReparentJournalInfoRequest + (*dev.InitReplicaRequest)(nil), // 53: vitess.tabletmanagerdata.dev.InitReplicaRequest + (*dev.DemotePrimaryRequest)(nil), // 54: vitess.tabletmanagerdata.dev.DemotePrimaryRequest + (*dev.UndoDemotePrimaryRequest)(nil), // 55: vitess.tabletmanagerdata.dev.UndoDemotePrimaryRequest + (*dev.ReplicaWasPromotedRequest)(nil), // 56: vitess.tabletmanagerdata.dev.ReplicaWasPromotedRequest + (*dev.ResetReplicationParametersRequest)(nil), // 57: vitess.tabletmanagerdata.dev.ResetReplicationParametersRequest + (*dev.FullStatusRequest)(nil), // 58: vitess.tabletmanagerdata.dev.FullStatusRequest + (*dev.SetReplicationSourceRequest)(nil), // 59: vitess.tabletmanagerdata.dev.SetReplicationSourceRequest + (*dev.ReplicaWasRestartedRequest)(nil), // 60: vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest + (*dev.StopReplicationAndGetStatusRequest)(nil), // 61: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest + (*dev.PromoteReplicaRequest)(nil), // 62: vitess.tabletmanagerdata.dev.PromoteReplicaRequest + (*dev.BackupRequest)(nil), // 63: vitess.tabletmanagerdata.dev.BackupRequest + (*dev.RestoreFromBackupRequest)(nil), // 64: vitess.tabletmanagerdata.dev.RestoreFromBackupRequest + (*dev.CheckThrottlerRequest)(nil), // 65: vitess.tabletmanagerdata.dev.CheckThrottlerRequest + (*dev.GetThrottlerStatusRequest)(nil), // 66: vitess.tabletmanagerdata.dev.GetThrottlerStatusRequest + (*dev.PingResponse)(nil), // 67: vitess.tabletmanagerdata.dev.PingResponse + (*dev.SleepResponse)(nil), // 68: vitess.tabletmanagerdata.dev.SleepResponse + (*dev.ExecuteHookResponse)(nil), // 69: vitess.tabletmanagerdata.dev.ExecuteHookResponse + (*dev.GetSchemaResponse)(nil), // 70: vitess.tabletmanagerdata.dev.GetSchemaResponse + (*dev.GetPermissionsResponse)(nil), // 71: vitess.tabletmanagerdata.dev.GetPermissionsResponse + (*dev.GetGlobalStatusVarsResponse)(nil), // 72: vitess.tabletmanagerdata.dev.GetGlobalStatusVarsResponse + (*dev.SetReadOnlyResponse)(nil), // 73: vitess.tabletmanagerdata.dev.SetReadOnlyResponse + (*dev.SetReadWriteResponse)(nil), // 74: vitess.tabletmanagerdata.dev.SetReadWriteResponse + (*dev.ChangeTagsResponse)(nil), // 75: vitess.tabletmanagerdata.dev.ChangeTagsResponse + (*dev.ChangeTypeResponse)(nil), // 76: vitess.tabletmanagerdata.dev.ChangeTypeResponse + (*dev.RefreshStateResponse)(nil), // 77: vitess.tabletmanagerdata.dev.RefreshStateResponse + (*dev.RunHealthCheckResponse)(nil), // 78: vitess.tabletmanagerdata.dev.RunHealthCheckResponse + (*dev.ReloadSchemaResponse)(nil), // 79: vitess.tabletmanagerdata.dev.ReloadSchemaResponse + (*dev.PreflightSchemaResponse)(nil), // 80: vitess.tabletmanagerdata.dev.PreflightSchemaResponse + (*dev.ApplySchemaResponse)(nil), // 81: vitess.tabletmanagerdata.dev.ApplySchemaResponse + (*dev.ResetSequencesResponse)(nil), // 82: vitess.tabletmanagerdata.dev.ResetSequencesResponse + (*dev.LockTablesResponse)(nil), // 83: vitess.tabletmanagerdata.dev.LockTablesResponse + (*dev.UnlockTablesResponse)(nil), // 84: vitess.tabletmanagerdata.dev.UnlockTablesResponse + (*dev.ExecuteQueryResponse)(nil), // 85: vitess.tabletmanagerdata.dev.ExecuteQueryResponse + (*dev.ExecuteFetchAsDbaResponse)(nil), // 86: vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse + (*dev.ExecuteMultiFetchAsDbaResponse)(nil), // 87: vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaResponse + (*dev.ExecuteFetchAsAllPrivsResponse)(nil), // 88: vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse + (*dev.ExecuteFetchAsAppResponse)(nil), // 89: vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse + (*dev.GetUnresolvedTransactionsResponse)(nil), // 90: vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsResponse + (*dev.ReadTransactionResponse)(nil), // 91: vitess.tabletmanagerdata.dev.ReadTransactionResponse + (*dev.GetTransactionInfoResponse)(nil), // 92: vitess.tabletmanagerdata.dev.GetTransactionInfoResponse + (*dev.ConcludeTransactionResponse)(nil), // 93: vitess.tabletmanagerdata.dev.ConcludeTransactionResponse + (*dev.MysqlHostMetricsResponse)(nil), // 94: vitess.tabletmanagerdata.dev.MysqlHostMetricsResponse + (*dev.ReplicationStatusResponse)(nil), // 95: vitess.tabletmanagerdata.dev.ReplicationStatusResponse + (*dev.PrimaryStatusResponse)(nil), // 96: vitess.tabletmanagerdata.dev.PrimaryStatusResponse + (*dev.PrimaryPositionResponse)(nil), // 97: vitess.tabletmanagerdata.dev.PrimaryPositionResponse + (*dev.WaitForPositionResponse)(nil), // 98: vitess.tabletmanagerdata.dev.WaitForPositionResponse + (*dev.StopReplicationResponse)(nil), // 99: vitess.tabletmanagerdata.dev.StopReplicationResponse + (*dev.StopReplicationMinimumResponse)(nil), // 100: vitess.tabletmanagerdata.dev.StopReplicationMinimumResponse + (*dev.StartReplicationResponse)(nil), // 101: vitess.tabletmanagerdata.dev.StartReplicationResponse + (*dev.StartReplicationUntilAfterResponse)(nil), // 102: vitess.tabletmanagerdata.dev.StartReplicationUntilAfterResponse + (*dev.GetReplicasResponse)(nil), // 103: vitess.tabletmanagerdata.dev.GetReplicasResponse + (*dev.CreateVReplicationWorkflowResponse)(nil), // 104: vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse + (*dev.DeleteTableDataResponse)(nil), // 105: vitess.tabletmanagerdata.dev.DeleteTableDataResponse + (*dev.DeleteVReplicationWorkflowResponse)(nil), // 106: vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse + (*dev.HasVReplicationWorkflowsResponse)(nil), // 107: vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsResponse + (*dev.ReadVReplicationWorkflowResponse)(nil), // 108: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse + (*dev.ReadVReplicationWorkflowsResponse)(nil), // 109: vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsResponse + (*dev.UpdateVReplicationWorkflowResponse)(nil), // 110: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse + (*dev.UpdateVReplicationWorkflowsResponse)(nil), // 111: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsResponse + (*dev.ValidateVReplicationPermissionsResponse)(nil), // 112: vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsResponse + (*dev.VReplicationExecResponse)(nil), // 113: vitess.tabletmanagerdata.dev.VReplicationExecResponse + (*dev.VReplicationWaitForPosResponse)(nil), // 114: vitess.tabletmanagerdata.dev.VReplicationWaitForPosResponse + (*dev.VDiffResponse)(nil), // 115: vitess.tabletmanagerdata.dev.VDiffResponse + (*dev.ResetReplicationResponse)(nil), // 116: vitess.tabletmanagerdata.dev.ResetReplicationResponse + (*dev.InitPrimaryResponse)(nil), // 117: vitess.tabletmanagerdata.dev.InitPrimaryResponse + (*dev.PopulateReparentJournalResponse)(nil), // 118: vitess.tabletmanagerdata.dev.PopulateReparentJournalResponse + (*dev.ReadReparentJournalInfoResponse)(nil), // 119: vitess.tabletmanagerdata.dev.ReadReparentJournalInfoResponse + (*dev.InitReplicaResponse)(nil), // 120: vitess.tabletmanagerdata.dev.InitReplicaResponse + (*dev.DemotePrimaryResponse)(nil), // 121: vitess.tabletmanagerdata.dev.DemotePrimaryResponse + (*dev.UndoDemotePrimaryResponse)(nil), // 122: vitess.tabletmanagerdata.dev.UndoDemotePrimaryResponse + (*dev.ReplicaWasPromotedResponse)(nil), // 123: vitess.tabletmanagerdata.dev.ReplicaWasPromotedResponse + (*dev.ResetReplicationParametersResponse)(nil), // 124: vitess.tabletmanagerdata.dev.ResetReplicationParametersResponse + (*dev.FullStatusResponse)(nil), // 125: vitess.tabletmanagerdata.dev.FullStatusResponse + (*dev.SetReplicationSourceResponse)(nil), // 126: vitess.tabletmanagerdata.dev.SetReplicationSourceResponse + (*dev.ReplicaWasRestartedResponse)(nil), // 127: vitess.tabletmanagerdata.dev.ReplicaWasRestartedResponse + (*dev.StopReplicationAndGetStatusResponse)(nil), // 128: vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse + (*dev.PromoteReplicaResponse)(nil), // 129: vitess.tabletmanagerdata.dev.PromoteReplicaResponse + (*dev.BackupResponse)(nil), // 130: vitess.tabletmanagerdata.dev.BackupResponse + (*dev.RestoreFromBackupResponse)(nil), // 131: vitess.tabletmanagerdata.dev.RestoreFromBackupResponse + (*dev.CheckThrottlerResponse)(nil), // 132: vitess.tabletmanagerdata.dev.CheckThrottlerResponse + (*dev.GetThrottlerStatusResponse)(nil), // 133: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse } var file_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto_depIdxs = []int32{ 0, // 0: vitess.tabletmanagerservice.dev.TabletManager.Ping:input_type -> vitess.tabletmanagerdata.dev.PingRequest @@ -601,107 +769,137 @@ var file_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto_depIdxs = [] 2, // 2: vitess.tabletmanagerservice.dev.TabletManager.ExecuteHook:input_type -> vitess.tabletmanagerdata.dev.ExecuteHookRequest 3, // 3: vitess.tabletmanagerservice.dev.TabletManager.GetSchema:input_type -> vitess.tabletmanagerdata.dev.GetSchemaRequest 4, // 4: vitess.tabletmanagerservice.dev.TabletManager.GetPermissions:input_type -> vitess.tabletmanagerdata.dev.GetPermissionsRequest - 5, // 5: vitess.tabletmanagerservice.dev.TabletManager.SetReadOnly:input_type -> vitess.tabletmanagerdata.dev.SetReadOnlyRequest - 6, // 6: vitess.tabletmanagerservice.dev.TabletManager.SetReadWrite:input_type -> vitess.tabletmanagerdata.dev.SetReadWriteRequest - 7, // 7: vitess.tabletmanagerservice.dev.TabletManager.ChangeType:input_type -> vitess.tabletmanagerdata.dev.ChangeTypeRequest - 8, // 8: vitess.tabletmanagerservice.dev.TabletManager.RefreshState:input_type -> vitess.tabletmanagerdata.dev.RefreshStateRequest - 9, // 9: vitess.tabletmanagerservice.dev.TabletManager.RunHealthCheck:input_type -> vitess.tabletmanagerdata.dev.RunHealthCheckRequest - 10, // 10: vitess.tabletmanagerservice.dev.TabletManager.ReloadSchema:input_type -> vitess.tabletmanagerdata.dev.ReloadSchemaRequest - 11, // 11: vitess.tabletmanagerservice.dev.TabletManager.PreflightSchema:input_type -> vitess.tabletmanagerdata.dev.PreflightSchemaRequest - 12, // 12: vitess.tabletmanagerservice.dev.TabletManager.ApplySchema:input_type -> vitess.tabletmanagerdata.dev.ApplySchemaRequest - 13, // 13: vitess.tabletmanagerservice.dev.TabletManager.ResetSequences:input_type -> vitess.tabletmanagerdata.dev.ResetSequencesRequest - 14, // 14: vitess.tabletmanagerservice.dev.TabletManager.LockTables:input_type -> vitess.tabletmanagerdata.dev.LockTablesRequest - 15, // 15: vitess.tabletmanagerservice.dev.TabletManager.UnlockTables:input_type -> vitess.tabletmanagerdata.dev.UnlockTablesRequest - 16, // 16: vitess.tabletmanagerservice.dev.TabletManager.ExecuteQuery:input_type -> vitess.tabletmanagerdata.dev.ExecuteQueryRequest - 17, // 17: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsDba:input_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaRequest - 18, // 18: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsAllPrivs:input_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsRequest - 19, // 19: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsApp:input_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAppRequest - 20, // 20: vitess.tabletmanagerservice.dev.TabletManager.ReplicationStatus:input_type -> vitess.tabletmanagerdata.dev.ReplicationStatusRequest - 21, // 21: vitess.tabletmanagerservice.dev.TabletManager.PrimaryStatus:input_type -> vitess.tabletmanagerdata.dev.PrimaryStatusRequest - 22, // 22: vitess.tabletmanagerservice.dev.TabletManager.PrimaryPosition:input_type -> vitess.tabletmanagerdata.dev.PrimaryPositionRequest - 23, // 23: vitess.tabletmanagerservice.dev.TabletManager.WaitForPosition:input_type -> vitess.tabletmanagerdata.dev.WaitForPositionRequest - 24, // 24: vitess.tabletmanagerservice.dev.TabletManager.StopReplication:input_type -> vitess.tabletmanagerdata.dev.StopReplicationRequest - 25, // 25: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationMinimum:input_type -> vitess.tabletmanagerdata.dev.StopReplicationMinimumRequest - 26, // 26: vitess.tabletmanagerservice.dev.TabletManager.StartReplication:input_type -> vitess.tabletmanagerdata.dev.StartReplicationRequest - 27, // 27: vitess.tabletmanagerservice.dev.TabletManager.StartReplicationUntilAfter:input_type -> vitess.tabletmanagerdata.dev.StartReplicationUntilAfterRequest - 28, // 28: vitess.tabletmanagerservice.dev.TabletManager.GetReplicas:input_type -> vitess.tabletmanagerdata.dev.GetReplicasRequest - 29, // 29: vitess.tabletmanagerservice.dev.TabletManager.CreateVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest - 30, // 30: vitess.tabletmanagerservice.dev.TabletManager.DeleteVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowRequest - 31, // 31: vitess.tabletmanagerservice.dev.TabletManager.ReadVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowRequest - 32, // 32: vitess.tabletmanagerservice.dev.TabletManager.VReplicationExec:input_type -> vitess.tabletmanagerdata.dev.VReplicationExecRequest - 33, // 33: vitess.tabletmanagerservice.dev.TabletManager.VReplicationWaitForPos:input_type -> vitess.tabletmanagerdata.dev.VReplicationWaitForPosRequest - 34, // 34: vitess.tabletmanagerservice.dev.TabletManager.UpdateVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest - 35, // 35: vitess.tabletmanagerservice.dev.TabletManager.VDiff:input_type -> vitess.tabletmanagerdata.dev.VDiffRequest - 36, // 36: vitess.tabletmanagerservice.dev.TabletManager.ResetReplication:input_type -> vitess.tabletmanagerdata.dev.ResetReplicationRequest - 37, // 37: vitess.tabletmanagerservice.dev.TabletManager.InitPrimary:input_type -> vitess.tabletmanagerdata.dev.InitPrimaryRequest - 38, // 38: vitess.tabletmanagerservice.dev.TabletManager.PopulateReparentJournal:input_type -> vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest - 39, // 39: vitess.tabletmanagerservice.dev.TabletManager.InitReplica:input_type -> vitess.tabletmanagerdata.dev.InitReplicaRequest - 40, // 40: vitess.tabletmanagerservice.dev.TabletManager.DemotePrimary:input_type -> vitess.tabletmanagerdata.dev.DemotePrimaryRequest - 41, // 41: vitess.tabletmanagerservice.dev.TabletManager.UndoDemotePrimary:input_type -> vitess.tabletmanagerdata.dev.UndoDemotePrimaryRequest - 42, // 42: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasPromoted:input_type -> vitess.tabletmanagerdata.dev.ReplicaWasPromotedRequest - 43, // 43: vitess.tabletmanagerservice.dev.TabletManager.ResetReplicationParameters:input_type -> vitess.tabletmanagerdata.dev.ResetReplicationParametersRequest - 44, // 44: vitess.tabletmanagerservice.dev.TabletManager.FullStatus:input_type -> vitess.tabletmanagerdata.dev.FullStatusRequest - 45, // 45: vitess.tabletmanagerservice.dev.TabletManager.SetReplicationSource:input_type -> vitess.tabletmanagerdata.dev.SetReplicationSourceRequest - 46, // 46: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasRestarted:input_type -> vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest - 47, // 47: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationAndGetStatus:input_type -> vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest - 48, // 48: vitess.tabletmanagerservice.dev.TabletManager.PromoteReplica:input_type -> vitess.tabletmanagerdata.dev.PromoteReplicaRequest - 49, // 49: vitess.tabletmanagerservice.dev.TabletManager.Backup:input_type -> vitess.tabletmanagerdata.dev.BackupRequest - 50, // 50: vitess.tabletmanagerservice.dev.TabletManager.RestoreFromBackup:input_type -> vitess.tabletmanagerdata.dev.RestoreFromBackupRequest - 51, // 51: vitess.tabletmanagerservice.dev.TabletManager.CheckThrottler:input_type -> vitess.tabletmanagerdata.dev.CheckThrottlerRequest - 52, // 52: vitess.tabletmanagerservice.dev.TabletManager.Ping:output_type -> vitess.tabletmanagerdata.dev.PingResponse - 53, // 53: vitess.tabletmanagerservice.dev.TabletManager.Sleep:output_type -> vitess.tabletmanagerdata.dev.SleepResponse - 54, // 54: vitess.tabletmanagerservice.dev.TabletManager.ExecuteHook:output_type -> vitess.tabletmanagerdata.dev.ExecuteHookResponse - 55, // 55: vitess.tabletmanagerservice.dev.TabletManager.GetSchema:output_type -> vitess.tabletmanagerdata.dev.GetSchemaResponse - 56, // 56: vitess.tabletmanagerservice.dev.TabletManager.GetPermissions:output_type -> vitess.tabletmanagerdata.dev.GetPermissionsResponse - 57, // 57: vitess.tabletmanagerservice.dev.TabletManager.SetReadOnly:output_type -> vitess.tabletmanagerdata.dev.SetReadOnlyResponse - 58, // 58: vitess.tabletmanagerservice.dev.TabletManager.SetReadWrite:output_type -> vitess.tabletmanagerdata.dev.SetReadWriteResponse - 59, // 59: vitess.tabletmanagerservice.dev.TabletManager.ChangeType:output_type -> vitess.tabletmanagerdata.dev.ChangeTypeResponse - 60, // 60: vitess.tabletmanagerservice.dev.TabletManager.RefreshState:output_type -> vitess.tabletmanagerdata.dev.RefreshStateResponse - 61, // 61: vitess.tabletmanagerservice.dev.TabletManager.RunHealthCheck:output_type -> vitess.tabletmanagerdata.dev.RunHealthCheckResponse - 62, // 62: vitess.tabletmanagerservice.dev.TabletManager.ReloadSchema:output_type -> vitess.tabletmanagerdata.dev.ReloadSchemaResponse - 63, // 63: vitess.tabletmanagerservice.dev.TabletManager.PreflightSchema:output_type -> vitess.tabletmanagerdata.dev.PreflightSchemaResponse - 64, // 64: vitess.tabletmanagerservice.dev.TabletManager.ApplySchema:output_type -> vitess.tabletmanagerdata.dev.ApplySchemaResponse - 65, // 65: vitess.tabletmanagerservice.dev.TabletManager.ResetSequences:output_type -> vitess.tabletmanagerdata.dev.ResetSequencesResponse - 66, // 66: vitess.tabletmanagerservice.dev.TabletManager.LockTables:output_type -> vitess.tabletmanagerdata.dev.LockTablesResponse - 67, // 67: vitess.tabletmanagerservice.dev.TabletManager.UnlockTables:output_type -> vitess.tabletmanagerdata.dev.UnlockTablesResponse - 68, // 68: vitess.tabletmanagerservice.dev.TabletManager.ExecuteQuery:output_type -> vitess.tabletmanagerdata.dev.ExecuteQueryResponse - 69, // 69: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsDba:output_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse - 70, // 70: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsAllPrivs:output_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse - 71, // 71: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsApp:output_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse - 72, // 72: vitess.tabletmanagerservice.dev.TabletManager.ReplicationStatus:output_type -> vitess.tabletmanagerdata.dev.ReplicationStatusResponse - 73, // 73: vitess.tabletmanagerservice.dev.TabletManager.PrimaryStatus:output_type -> vitess.tabletmanagerdata.dev.PrimaryStatusResponse - 74, // 74: vitess.tabletmanagerservice.dev.TabletManager.PrimaryPosition:output_type -> vitess.tabletmanagerdata.dev.PrimaryPositionResponse - 75, // 75: vitess.tabletmanagerservice.dev.TabletManager.WaitForPosition:output_type -> vitess.tabletmanagerdata.dev.WaitForPositionResponse - 76, // 76: vitess.tabletmanagerservice.dev.TabletManager.StopReplication:output_type -> vitess.tabletmanagerdata.dev.StopReplicationResponse - 77, // 77: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationMinimum:output_type -> vitess.tabletmanagerdata.dev.StopReplicationMinimumResponse - 78, // 78: vitess.tabletmanagerservice.dev.TabletManager.StartReplication:output_type -> vitess.tabletmanagerdata.dev.StartReplicationResponse - 79, // 79: vitess.tabletmanagerservice.dev.TabletManager.StartReplicationUntilAfter:output_type -> vitess.tabletmanagerdata.dev.StartReplicationUntilAfterResponse - 80, // 80: vitess.tabletmanagerservice.dev.TabletManager.GetReplicas:output_type -> vitess.tabletmanagerdata.dev.GetReplicasResponse - 81, // 81: vitess.tabletmanagerservice.dev.TabletManager.CreateVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse - 82, // 82: vitess.tabletmanagerservice.dev.TabletManager.DeleteVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse - 83, // 83: vitess.tabletmanagerservice.dev.TabletManager.ReadVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse - 84, // 84: vitess.tabletmanagerservice.dev.TabletManager.VReplicationExec:output_type -> vitess.tabletmanagerdata.dev.VReplicationExecResponse - 85, // 85: vitess.tabletmanagerservice.dev.TabletManager.VReplicationWaitForPos:output_type -> vitess.tabletmanagerdata.dev.VReplicationWaitForPosResponse - 86, // 86: vitess.tabletmanagerservice.dev.TabletManager.UpdateVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse - 87, // 87: vitess.tabletmanagerservice.dev.TabletManager.VDiff:output_type -> vitess.tabletmanagerdata.dev.VDiffResponse - 88, // 88: vitess.tabletmanagerservice.dev.TabletManager.ResetReplication:output_type -> vitess.tabletmanagerdata.dev.ResetReplicationResponse - 89, // 89: vitess.tabletmanagerservice.dev.TabletManager.InitPrimary:output_type -> vitess.tabletmanagerdata.dev.InitPrimaryResponse - 90, // 90: vitess.tabletmanagerservice.dev.TabletManager.PopulateReparentJournal:output_type -> vitess.tabletmanagerdata.dev.PopulateReparentJournalResponse - 91, // 91: vitess.tabletmanagerservice.dev.TabletManager.InitReplica:output_type -> vitess.tabletmanagerdata.dev.InitReplicaResponse - 92, // 92: vitess.tabletmanagerservice.dev.TabletManager.DemotePrimary:output_type -> vitess.tabletmanagerdata.dev.DemotePrimaryResponse - 93, // 93: vitess.tabletmanagerservice.dev.TabletManager.UndoDemotePrimary:output_type -> vitess.tabletmanagerdata.dev.UndoDemotePrimaryResponse - 94, // 94: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasPromoted:output_type -> vitess.tabletmanagerdata.dev.ReplicaWasPromotedResponse - 95, // 95: vitess.tabletmanagerservice.dev.TabletManager.ResetReplicationParameters:output_type -> vitess.tabletmanagerdata.dev.ResetReplicationParametersResponse - 96, // 96: vitess.tabletmanagerservice.dev.TabletManager.FullStatus:output_type -> vitess.tabletmanagerdata.dev.FullStatusResponse - 97, // 97: vitess.tabletmanagerservice.dev.TabletManager.SetReplicationSource:output_type -> vitess.tabletmanagerdata.dev.SetReplicationSourceResponse - 98, // 98: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasRestarted:output_type -> vitess.tabletmanagerdata.dev.ReplicaWasRestartedResponse - 99, // 99: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationAndGetStatus:output_type -> vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse - 100, // 100: vitess.tabletmanagerservice.dev.TabletManager.PromoteReplica:output_type -> vitess.tabletmanagerdata.dev.PromoteReplicaResponse - 101, // 101: vitess.tabletmanagerservice.dev.TabletManager.Backup:output_type -> vitess.tabletmanagerdata.dev.BackupResponse - 102, // 102: vitess.tabletmanagerservice.dev.TabletManager.RestoreFromBackup:output_type -> vitess.tabletmanagerdata.dev.RestoreFromBackupResponse - 103, // 103: vitess.tabletmanagerservice.dev.TabletManager.CheckThrottler:output_type -> vitess.tabletmanagerdata.dev.CheckThrottlerResponse - 52, // [52:104] is the sub-list for method output_type - 0, // [0:52] is the sub-list for method input_type + 5, // 5: vitess.tabletmanagerservice.dev.TabletManager.GetGlobalStatusVars:input_type -> vitess.tabletmanagerdata.dev.GetGlobalStatusVarsRequest + 6, // 6: vitess.tabletmanagerservice.dev.TabletManager.SetReadOnly:input_type -> vitess.tabletmanagerdata.dev.SetReadOnlyRequest + 7, // 7: vitess.tabletmanagerservice.dev.TabletManager.SetReadWrite:input_type -> vitess.tabletmanagerdata.dev.SetReadWriteRequest + 8, // 8: vitess.tabletmanagerservice.dev.TabletManager.ChangeTags:input_type -> vitess.tabletmanagerdata.dev.ChangeTagsRequest + 9, // 9: vitess.tabletmanagerservice.dev.TabletManager.ChangeType:input_type -> vitess.tabletmanagerdata.dev.ChangeTypeRequest + 10, // 10: vitess.tabletmanagerservice.dev.TabletManager.RefreshState:input_type -> vitess.tabletmanagerdata.dev.RefreshStateRequest + 11, // 11: vitess.tabletmanagerservice.dev.TabletManager.RunHealthCheck:input_type -> vitess.tabletmanagerdata.dev.RunHealthCheckRequest + 12, // 12: vitess.tabletmanagerservice.dev.TabletManager.ReloadSchema:input_type -> vitess.tabletmanagerdata.dev.ReloadSchemaRequest + 13, // 13: vitess.tabletmanagerservice.dev.TabletManager.PreflightSchema:input_type -> vitess.tabletmanagerdata.dev.PreflightSchemaRequest + 14, // 14: vitess.tabletmanagerservice.dev.TabletManager.ApplySchema:input_type -> vitess.tabletmanagerdata.dev.ApplySchemaRequest + 15, // 15: vitess.tabletmanagerservice.dev.TabletManager.ResetSequences:input_type -> vitess.tabletmanagerdata.dev.ResetSequencesRequest + 16, // 16: vitess.tabletmanagerservice.dev.TabletManager.LockTables:input_type -> vitess.tabletmanagerdata.dev.LockTablesRequest + 17, // 17: vitess.tabletmanagerservice.dev.TabletManager.UnlockTables:input_type -> vitess.tabletmanagerdata.dev.UnlockTablesRequest + 18, // 18: vitess.tabletmanagerservice.dev.TabletManager.ExecuteQuery:input_type -> vitess.tabletmanagerdata.dev.ExecuteQueryRequest + 19, // 19: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsDba:input_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaRequest + 20, // 20: vitess.tabletmanagerservice.dev.TabletManager.ExecuteMultiFetchAsDba:input_type -> vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaRequest + 21, // 21: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsAllPrivs:input_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsRequest + 22, // 22: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsApp:input_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAppRequest + 23, // 23: vitess.tabletmanagerservice.dev.TabletManager.GetUnresolvedTransactions:input_type -> vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsRequest + 24, // 24: vitess.tabletmanagerservice.dev.TabletManager.ReadTransaction:input_type -> vitess.tabletmanagerdata.dev.ReadTransactionRequest + 25, // 25: vitess.tabletmanagerservice.dev.TabletManager.GetTransactionInfo:input_type -> vitess.tabletmanagerdata.dev.GetTransactionInfoRequest + 26, // 26: vitess.tabletmanagerservice.dev.TabletManager.ConcludeTransaction:input_type -> vitess.tabletmanagerdata.dev.ConcludeTransactionRequest + 27, // 27: vitess.tabletmanagerservice.dev.TabletManager.MysqlHostMetrics:input_type -> vitess.tabletmanagerdata.dev.MysqlHostMetricsRequest + 28, // 28: vitess.tabletmanagerservice.dev.TabletManager.ReplicationStatus:input_type -> vitess.tabletmanagerdata.dev.ReplicationStatusRequest + 29, // 29: vitess.tabletmanagerservice.dev.TabletManager.PrimaryStatus:input_type -> vitess.tabletmanagerdata.dev.PrimaryStatusRequest + 30, // 30: vitess.tabletmanagerservice.dev.TabletManager.PrimaryPosition:input_type -> vitess.tabletmanagerdata.dev.PrimaryPositionRequest + 31, // 31: vitess.tabletmanagerservice.dev.TabletManager.WaitForPosition:input_type -> vitess.tabletmanagerdata.dev.WaitForPositionRequest + 32, // 32: vitess.tabletmanagerservice.dev.TabletManager.StopReplication:input_type -> vitess.tabletmanagerdata.dev.StopReplicationRequest + 33, // 33: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationMinimum:input_type -> vitess.tabletmanagerdata.dev.StopReplicationMinimumRequest + 34, // 34: vitess.tabletmanagerservice.dev.TabletManager.StartReplication:input_type -> vitess.tabletmanagerdata.dev.StartReplicationRequest + 35, // 35: vitess.tabletmanagerservice.dev.TabletManager.StartReplicationUntilAfter:input_type -> vitess.tabletmanagerdata.dev.StartReplicationUntilAfterRequest + 36, // 36: vitess.tabletmanagerservice.dev.TabletManager.GetReplicas:input_type -> vitess.tabletmanagerdata.dev.GetReplicasRequest + 37, // 37: vitess.tabletmanagerservice.dev.TabletManager.CreateVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest + 38, // 38: vitess.tabletmanagerservice.dev.TabletManager.DeleteTableData:input_type -> vitess.tabletmanagerdata.dev.DeleteTableDataRequest + 39, // 39: vitess.tabletmanagerservice.dev.TabletManager.DeleteVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowRequest + 40, // 40: vitess.tabletmanagerservice.dev.TabletManager.HasVReplicationWorkflows:input_type -> vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsRequest + 41, // 41: vitess.tabletmanagerservice.dev.TabletManager.ReadVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowRequest + 42, // 42: vitess.tabletmanagerservice.dev.TabletManager.ReadVReplicationWorkflows:input_type -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsRequest + 43, // 43: vitess.tabletmanagerservice.dev.TabletManager.UpdateVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest + 44, // 44: vitess.tabletmanagerservice.dev.TabletManager.UpdateVReplicationWorkflows:input_type -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsRequest + 45, // 45: vitess.tabletmanagerservice.dev.TabletManager.ValidateVReplicationPermissions:input_type -> vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsRequest + 46, // 46: vitess.tabletmanagerservice.dev.TabletManager.VReplicationExec:input_type -> vitess.tabletmanagerdata.dev.VReplicationExecRequest + 47, // 47: vitess.tabletmanagerservice.dev.TabletManager.VReplicationWaitForPos:input_type -> vitess.tabletmanagerdata.dev.VReplicationWaitForPosRequest + 48, // 48: vitess.tabletmanagerservice.dev.TabletManager.VDiff:input_type -> vitess.tabletmanagerdata.dev.VDiffRequest + 49, // 49: vitess.tabletmanagerservice.dev.TabletManager.ResetReplication:input_type -> vitess.tabletmanagerdata.dev.ResetReplicationRequest + 50, // 50: vitess.tabletmanagerservice.dev.TabletManager.InitPrimary:input_type -> vitess.tabletmanagerdata.dev.InitPrimaryRequest + 51, // 51: vitess.tabletmanagerservice.dev.TabletManager.PopulateReparentJournal:input_type -> vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest + 52, // 52: vitess.tabletmanagerservice.dev.TabletManager.ReadReparentJournalInfo:input_type -> vitess.tabletmanagerdata.dev.ReadReparentJournalInfoRequest + 53, // 53: vitess.tabletmanagerservice.dev.TabletManager.InitReplica:input_type -> vitess.tabletmanagerdata.dev.InitReplicaRequest + 54, // 54: vitess.tabletmanagerservice.dev.TabletManager.DemotePrimary:input_type -> vitess.tabletmanagerdata.dev.DemotePrimaryRequest + 55, // 55: vitess.tabletmanagerservice.dev.TabletManager.UndoDemotePrimary:input_type -> vitess.tabletmanagerdata.dev.UndoDemotePrimaryRequest + 56, // 56: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasPromoted:input_type -> vitess.tabletmanagerdata.dev.ReplicaWasPromotedRequest + 57, // 57: vitess.tabletmanagerservice.dev.TabletManager.ResetReplicationParameters:input_type -> vitess.tabletmanagerdata.dev.ResetReplicationParametersRequest + 58, // 58: vitess.tabletmanagerservice.dev.TabletManager.FullStatus:input_type -> vitess.tabletmanagerdata.dev.FullStatusRequest + 59, // 59: vitess.tabletmanagerservice.dev.TabletManager.SetReplicationSource:input_type -> vitess.tabletmanagerdata.dev.SetReplicationSourceRequest + 60, // 60: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasRestarted:input_type -> vitess.tabletmanagerdata.dev.ReplicaWasRestartedRequest + 61, // 61: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationAndGetStatus:input_type -> vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusRequest + 62, // 62: vitess.tabletmanagerservice.dev.TabletManager.PromoteReplica:input_type -> vitess.tabletmanagerdata.dev.PromoteReplicaRequest + 63, // 63: vitess.tabletmanagerservice.dev.TabletManager.Backup:input_type -> vitess.tabletmanagerdata.dev.BackupRequest + 64, // 64: vitess.tabletmanagerservice.dev.TabletManager.RestoreFromBackup:input_type -> vitess.tabletmanagerdata.dev.RestoreFromBackupRequest + 65, // 65: vitess.tabletmanagerservice.dev.TabletManager.CheckThrottler:input_type -> vitess.tabletmanagerdata.dev.CheckThrottlerRequest + 66, // 66: vitess.tabletmanagerservice.dev.TabletManager.GetThrottlerStatus:input_type -> vitess.tabletmanagerdata.dev.GetThrottlerStatusRequest + 67, // 67: vitess.tabletmanagerservice.dev.TabletManager.Ping:output_type -> vitess.tabletmanagerdata.dev.PingResponse + 68, // 68: vitess.tabletmanagerservice.dev.TabletManager.Sleep:output_type -> vitess.tabletmanagerdata.dev.SleepResponse + 69, // 69: vitess.tabletmanagerservice.dev.TabletManager.ExecuteHook:output_type -> vitess.tabletmanagerdata.dev.ExecuteHookResponse + 70, // 70: vitess.tabletmanagerservice.dev.TabletManager.GetSchema:output_type -> vitess.tabletmanagerdata.dev.GetSchemaResponse + 71, // 71: vitess.tabletmanagerservice.dev.TabletManager.GetPermissions:output_type -> vitess.tabletmanagerdata.dev.GetPermissionsResponse + 72, // 72: vitess.tabletmanagerservice.dev.TabletManager.GetGlobalStatusVars:output_type -> vitess.tabletmanagerdata.dev.GetGlobalStatusVarsResponse + 73, // 73: vitess.tabletmanagerservice.dev.TabletManager.SetReadOnly:output_type -> vitess.tabletmanagerdata.dev.SetReadOnlyResponse + 74, // 74: vitess.tabletmanagerservice.dev.TabletManager.SetReadWrite:output_type -> vitess.tabletmanagerdata.dev.SetReadWriteResponse + 75, // 75: vitess.tabletmanagerservice.dev.TabletManager.ChangeTags:output_type -> vitess.tabletmanagerdata.dev.ChangeTagsResponse + 76, // 76: vitess.tabletmanagerservice.dev.TabletManager.ChangeType:output_type -> vitess.tabletmanagerdata.dev.ChangeTypeResponse + 77, // 77: vitess.tabletmanagerservice.dev.TabletManager.RefreshState:output_type -> vitess.tabletmanagerdata.dev.RefreshStateResponse + 78, // 78: vitess.tabletmanagerservice.dev.TabletManager.RunHealthCheck:output_type -> vitess.tabletmanagerdata.dev.RunHealthCheckResponse + 79, // 79: vitess.tabletmanagerservice.dev.TabletManager.ReloadSchema:output_type -> vitess.tabletmanagerdata.dev.ReloadSchemaResponse + 80, // 80: vitess.tabletmanagerservice.dev.TabletManager.PreflightSchema:output_type -> vitess.tabletmanagerdata.dev.PreflightSchemaResponse + 81, // 81: vitess.tabletmanagerservice.dev.TabletManager.ApplySchema:output_type -> vitess.tabletmanagerdata.dev.ApplySchemaResponse + 82, // 82: vitess.tabletmanagerservice.dev.TabletManager.ResetSequences:output_type -> vitess.tabletmanagerdata.dev.ResetSequencesResponse + 83, // 83: vitess.tabletmanagerservice.dev.TabletManager.LockTables:output_type -> vitess.tabletmanagerdata.dev.LockTablesResponse + 84, // 84: vitess.tabletmanagerservice.dev.TabletManager.UnlockTables:output_type -> vitess.tabletmanagerdata.dev.UnlockTablesResponse + 85, // 85: vitess.tabletmanagerservice.dev.TabletManager.ExecuteQuery:output_type -> vitess.tabletmanagerdata.dev.ExecuteQueryResponse + 86, // 86: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsDba:output_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse + 87, // 87: vitess.tabletmanagerservice.dev.TabletManager.ExecuteMultiFetchAsDba:output_type -> vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaResponse + 88, // 88: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsAllPrivs:output_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse + 89, // 89: vitess.tabletmanagerservice.dev.TabletManager.ExecuteFetchAsApp:output_type -> vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse + 90, // 90: vitess.tabletmanagerservice.dev.TabletManager.GetUnresolvedTransactions:output_type -> vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsResponse + 91, // 91: vitess.tabletmanagerservice.dev.TabletManager.ReadTransaction:output_type -> vitess.tabletmanagerdata.dev.ReadTransactionResponse + 92, // 92: vitess.tabletmanagerservice.dev.TabletManager.GetTransactionInfo:output_type -> vitess.tabletmanagerdata.dev.GetTransactionInfoResponse + 93, // 93: vitess.tabletmanagerservice.dev.TabletManager.ConcludeTransaction:output_type -> vitess.tabletmanagerdata.dev.ConcludeTransactionResponse + 94, // 94: vitess.tabletmanagerservice.dev.TabletManager.MysqlHostMetrics:output_type -> vitess.tabletmanagerdata.dev.MysqlHostMetricsResponse + 95, // 95: vitess.tabletmanagerservice.dev.TabletManager.ReplicationStatus:output_type -> vitess.tabletmanagerdata.dev.ReplicationStatusResponse + 96, // 96: vitess.tabletmanagerservice.dev.TabletManager.PrimaryStatus:output_type -> vitess.tabletmanagerdata.dev.PrimaryStatusResponse + 97, // 97: vitess.tabletmanagerservice.dev.TabletManager.PrimaryPosition:output_type -> vitess.tabletmanagerdata.dev.PrimaryPositionResponse + 98, // 98: vitess.tabletmanagerservice.dev.TabletManager.WaitForPosition:output_type -> vitess.tabletmanagerdata.dev.WaitForPositionResponse + 99, // 99: vitess.tabletmanagerservice.dev.TabletManager.StopReplication:output_type -> vitess.tabletmanagerdata.dev.StopReplicationResponse + 100, // 100: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationMinimum:output_type -> vitess.tabletmanagerdata.dev.StopReplicationMinimumResponse + 101, // 101: vitess.tabletmanagerservice.dev.TabletManager.StartReplication:output_type -> vitess.tabletmanagerdata.dev.StartReplicationResponse + 102, // 102: vitess.tabletmanagerservice.dev.TabletManager.StartReplicationUntilAfter:output_type -> vitess.tabletmanagerdata.dev.StartReplicationUntilAfterResponse + 103, // 103: vitess.tabletmanagerservice.dev.TabletManager.GetReplicas:output_type -> vitess.tabletmanagerdata.dev.GetReplicasResponse + 104, // 104: vitess.tabletmanagerservice.dev.TabletManager.CreateVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse + 105, // 105: vitess.tabletmanagerservice.dev.TabletManager.DeleteTableData:output_type -> vitess.tabletmanagerdata.dev.DeleteTableDataResponse + 106, // 106: vitess.tabletmanagerservice.dev.TabletManager.DeleteVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse + 107, // 107: vitess.tabletmanagerservice.dev.TabletManager.HasVReplicationWorkflows:output_type -> vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsResponse + 108, // 108: vitess.tabletmanagerservice.dev.TabletManager.ReadVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse + 109, // 109: vitess.tabletmanagerservice.dev.TabletManager.ReadVReplicationWorkflows:output_type -> vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsResponse + 110, // 110: vitess.tabletmanagerservice.dev.TabletManager.UpdateVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse + 111, // 111: vitess.tabletmanagerservice.dev.TabletManager.UpdateVReplicationWorkflows:output_type -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsResponse + 112, // 112: vitess.tabletmanagerservice.dev.TabletManager.ValidateVReplicationPermissions:output_type -> vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsResponse + 113, // 113: vitess.tabletmanagerservice.dev.TabletManager.VReplicationExec:output_type -> vitess.tabletmanagerdata.dev.VReplicationExecResponse + 114, // 114: vitess.tabletmanagerservice.dev.TabletManager.VReplicationWaitForPos:output_type -> vitess.tabletmanagerdata.dev.VReplicationWaitForPosResponse + 115, // 115: vitess.tabletmanagerservice.dev.TabletManager.VDiff:output_type -> vitess.tabletmanagerdata.dev.VDiffResponse + 116, // 116: vitess.tabletmanagerservice.dev.TabletManager.ResetReplication:output_type -> vitess.tabletmanagerdata.dev.ResetReplicationResponse + 117, // 117: vitess.tabletmanagerservice.dev.TabletManager.InitPrimary:output_type -> vitess.tabletmanagerdata.dev.InitPrimaryResponse + 118, // 118: vitess.tabletmanagerservice.dev.TabletManager.PopulateReparentJournal:output_type -> vitess.tabletmanagerdata.dev.PopulateReparentJournalResponse + 119, // 119: vitess.tabletmanagerservice.dev.TabletManager.ReadReparentJournalInfo:output_type -> vitess.tabletmanagerdata.dev.ReadReparentJournalInfoResponse + 120, // 120: vitess.tabletmanagerservice.dev.TabletManager.InitReplica:output_type -> vitess.tabletmanagerdata.dev.InitReplicaResponse + 121, // 121: vitess.tabletmanagerservice.dev.TabletManager.DemotePrimary:output_type -> vitess.tabletmanagerdata.dev.DemotePrimaryResponse + 122, // 122: vitess.tabletmanagerservice.dev.TabletManager.UndoDemotePrimary:output_type -> vitess.tabletmanagerdata.dev.UndoDemotePrimaryResponse + 123, // 123: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasPromoted:output_type -> vitess.tabletmanagerdata.dev.ReplicaWasPromotedResponse + 124, // 124: vitess.tabletmanagerservice.dev.TabletManager.ResetReplicationParameters:output_type -> vitess.tabletmanagerdata.dev.ResetReplicationParametersResponse + 125, // 125: vitess.tabletmanagerservice.dev.TabletManager.FullStatus:output_type -> vitess.tabletmanagerdata.dev.FullStatusResponse + 126, // 126: vitess.tabletmanagerservice.dev.TabletManager.SetReplicationSource:output_type -> vitess.tabletmanagerdata.dev.SetReplicationSourceResponse + 127, // 127: vitess.tabletmanagerservice.dev.TabletManager.ReplicaWasRestarted:output_type -> vitess.tabletmanagerdata.dev.ReplicaWasRestartedResponse + 128, // 128: vitess.tabletmanagerservice.dev.TabletManager.StopReplicationAndGetStatus:output_type -> vitess.tabletmanagerdata.dev.StopReplicationAndGetStatusResponse + 129, // 129: vitess.tabletmanagerservice.dev.TabletManager.PromoteReplica:output_type -> vitess.tabletmanagerdata.dev.PromoteReplicaResponse + 130, // 130: vitess.tabletmanagerservice.dev.TabletManager.Backup:output_type -> vitess.tabletmanagerdata.dev.BackupResponse + 131, // 131: vitess.tabletmanagerservice.dev.TabletManager.RestoreFromBackup:output_type -> vitess.tabletmanagerdata.dev.RestoreFromBackupResponse + 132, // 132: vitess.tabletmanagerservice.dev.TabletManager.CheckThrottler:output_type -> vitess.tabletmanagerdata.dev.CheckThrottlerResponse + 133, // 133: vitess.tabletmanagerservice.dev.TabletManager.GetThrottlerStatus:output_type -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse + 67, // [67:134] is the sub-list for method output_type + 0, // [0:67] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name diff --git a/gen/vitess/tabletmanagerservice/dev/tabletmanagerservicedevconnect/tabletmanagerservice.connect.go b/gen/vitess/tabletmanagerservice/dev/tabletmanagerservicedevconnect/tabletmanagerservice.connect.go index 4b54257..625303c 100644 --- a/gen/vitess/tabletmanagerservice/dev/tabletmanagerservicedevconnect/tabletmanagerservice.connect.go +++ b/gen/vitess/tabletmanagerservice/dev/tabletmanagerservicedevconnect/tabletmanagerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - dev "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/dev" - _ "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/dev" + dev1 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/dev" + dev "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/dev" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // TabletManagerName is the fully-qualified name of the TabletManager service. @@ -63,12 +63,18 @@ const ( // TabletManagerGetPermissionsProcedure is the fully-qualified name of the TabletManager's // GetPermissions RPC. TabletManagerGetPermissionsProcedure = "/tabletmanagerservice.TabletManager/GetPermissions" + // TabletManagerGetGlobalStatusVarsProcedure is the fully-qualified name of the TabletManager's + // GetGlobalStatusVars RPC. + TabletManagerGetGlobalStatusVarsProcedure = "/tabletmanagerservice.TabletManager/GetGlobalStatusVars" // TabletManagerSetReadOnlyProcedure is the fully-qualified name of the TabletManager's SetReadOnly // RPC. TabletManagerSetReadOnlyProcedure = "/tabletmanagerservice.TabletManager/SetReadOnly" // TabletManagerSetReadWriteProcedure is the fully-qualified name of the TabletManager's // SetReadWrite RPC. TabletManagerSetReadWriteProcedure = "/tabletmanagerservice.TabletManager/SetReadWrite" + // TabletManagerChangeTagsProcedure is the fully-qualified name of the TabletManager's ChangeTags + // RPC. + TabletManagerChangeTagsProcedure = "/tabletmanagerservice.TabletManager/ChangeTags" // TabletManagerChangeTypeProcedure is the fully-qualified name of the TabletManager's ChangeType // RPC. TabletManagerChangeTypeProcedure = "/tabletmanagerservice.TabletManager/ChangeType" @@ -102,12 +108,30 @@ const ( // TabletManagerExecuteFetchAsDbaProcedure is the fully-qualified name of the TabletManager's // ExecuteFetchAsDba RPC. TabletManagerExecuteFetchAsDbaProcedure = "/tabletmanagerservice.TabletManager/ExecuteFetchAsDba" + // TabletManagerExecuteMultiFetchAsDbaProcedure is the fully-qualified name of the TabletManager's + // ExecuteMultiFetchAsDba RPC. + TabletManagerExecuteMultiFetchAsDbaProcedure = "/tabletmanagerservice.TabletManager/ExecuteMultiFetchAsDba" // TabletManagerExecuteFetchAsAllPrivsProcedure is the fully-qualified name of the TabletManager's // ExecuteFetchAsAllPrivs RPC. TabletManagerExecuteFetchAsAllPrivsProcedure = "/tabletmanagerservice.TabletManager/ExecuteFetchAsAllPrivs" // TabletManagerExecuteFetchAsAppProcedure is the fully-qualified name of the TabletManager's // ExecuteFetchAsApp RPC. TabletManagerExecuteFetchAsAppProcedure = "/tabletmanagerservice.TabletManager/ExecuteFetchAsApp" + // TabletManagerGetUnresolvedTransactionsProcedure is the fully-qualified name of the + // TabletManager's GetUnresolvedTransactions RPC. + TabletManagerGetUnresolvedTransactionsProcedure = "/tabletmanagerservice.TabletManager/GetUnresolvedTransactions" + // TabletManagerReadTransactionProcedure is the fully-qualified name of the TabletManager's + // ReadTransaction RPC. + TabletManagerReadTransactionProcedure = "/tabletmanagerservice.TabletManager/ReadTransaction" + // TabletManagerGetTransactionInfoProcedure is the fully-qualified name of the TabletManager's + // GetTransactionInfo RPC. + TabletManagerGetTransactionInfoProcedure = "/tabletmanagerservice.TabletManager/GetTransactionInfo" + // TabletManagerConcludeTransactionProcedure is the fully-qualified name of the TabletManager's + // ConcludeTransaction RPC. + TabletManagerConcludeTransactionProcedure = "/tabletmanagerservice.TabletManager/ConcludeTransaction" + // TabletManagerMysqlHostMetricsProcedure is the fully-qualified name of the TabletManager's + // MysqlHostMetrics RPC. + TabletManagerMysqlHostMetricsProcedure = "/tabletmanagerservice.TabletManager/MysqlHostMetrics" // TabletManagerReplicationStatusProcedure is the fully-qualified name of the TabletManager's // ReplicationStatus RPC. TabletManagerReplicationStatusProcedure = "/tabletmanagerservice.TabletManager/ReplicationStatus" @@ -138,21 +162,36 @@ const ( // TabletManagerCreateVReplicationWorkflowProcedure is the fully-qualified name of the // TabletManager's CreateVReplicationWorkflow RPC. TabletManagerCreateVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/CreateVReplicationWorkflow" + // TabletManagerDeleteTableDataProcedure is the fully-qualified name of the TabletManager's + // DeleteTableData RPC. + TabletManagerDeleteTableDataProcedure = "/tabletmanagerservice.TabletManager/DeleteTableData" // TabletManagerDeleteVReplicationWorkflowProcedure is the fully-qualified name of the // TabletManager's DeleteVReplicationWorkflow RPC. TabletManagerDeleteVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/DeleteVReplicationWorkflow" + // TabletManagerHasVReplicationWorkflowsProcedure is the fully-qualified name of the TabletManager's + // HasVReplicationWorkflows RPC. + TabletManagerHasVReplicationWorkflowsProcedure = "/tabletmanagerservice.TabletManager/HasVReplicationWorkflows" // TabletManagerReadVReplicationWorkflowProcedure is the fully-qualified name of the TabletManager's // ReadVReplicationWorkflow RPC. TabletManagerReadVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/ReadVReplicationWorkflow" + // TabletManagerReadVReplicationWorkflowsProcedure is the fully-qualified name of the + // TabletManager's ReadVReplicationWorkflows RPC. + TabletManagerReadVReplicationWorkflowsProcedure = "/tabletmanagerservice.TabletManager/ReadVReplicationWorkflows" + // TabletManagerUpdateVReplicationWorkflowProcedure is the fully-qualified name of the + // TabletManager's UpdateVReplicationWorkflow RPC. + TabletManagerUpdateVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/UpdateVReplicationWorkflow" + // TabletManagerUpdateVReplicationWorkflowsProcedure is the fully-qualified name of the + // TabletManager's UpdateVReplicationWorkflows RPC. + TabletManagerUpdateVReplicationWorkflowsProcedure = "/tabletmanagerservice.TabletManager/UpdateVReplicationWorkflows" + // TabletManagerValidateVReplicationPermissionsProcedure is the fully-qualified name of the + // TabletManager's ValidateVReplicationPermissions RPC. + TabletManagerValidateVReplicationPermissionsProcedure = "/tabletmanagerservice.TabletManager/ValidateVReplicationPermissions" // TabletManagerVReplicationExecProcedure is the fully-qualified name of the TabletManager's // VReplicationExec RPC. TabletManagerVReplicationExecProcedure = "/tabletmanagerservice.TabletManager/VReplicationExec" // TabletManagerVReplicationWaitForPosProcedure is the fully-qualified name of the TabletManager's // VReplicationWaitForPos RPC. TabletManagerVReplicationWaitForPosProcedure = "/tabletmanagerservice.TabletManager/VReplicationWaitForPos" - // TabletManagerUpdateVReplicationWorkflowProcedure is the fully-qualified name of the - // TabletManager's UpdateVReplicationWorkflow RPC. - TabletManagerUpdateVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/UpdateVReplicationWorkflow" // TabletManagerVDiffProcedure is the fully-qualified name of the TabletManager's VDiff RPC. TabletManagerVDiffProcedure = "/tabletmanagerservice.TabletManager/VDiff" // TabletManagerResetReplicationProcedure is the fully-qualified name of the TabletManager's @@ -164,6 +203,9 @@ const ( // TabletManagerPopulateReparentJournalProcedure is the fully-qualified name of the TabletManager's // PopulateReparentJournal RPC. TabletManagerPopulateReparentJournalProcedure = "/tabletmanagerservice.TabletManager/PopulateReparentJournal" + // TabletManagerReadReparentJournalInfoProcedure is the fully-qualified name of the TabletManager's + // ReadReparentJournalInfo RPC. + TabletManagerReadReparentJournalInfoProcedure = "/tabletmanagerservice.TabletManager/ReadReparentJournalInfo" // TabletManagerInitReplicaProcedure is the fully-qualified name of the TabletManager's InitReplica // RPC. TabletManagerInitReplicaProcedure = "/tabletmanagerservice.TabletManager/InitReplica" @@ -202,98 +244,193 @@ const ( // TabletManagerCheckThrottlerProcedure is the fully-qualified name of the TabletManager's // CheckThrottler RPC. TabletManagerCheckThrottlerProcedure = "/tabletmanagerservice.TabletManager/CheckThrottler" + // TabletManagerGetThrottlerStatusProcedure is the fully-qualified name of the TabletManager's + // GetThrottlerStatus RPC. + TabletManagerGetThrottlerStatusProcedure = "/tabletmanagerservice.TabletManager/GetThrottlerStatus" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + tabletManagerServiceDescriptor = dev.File_vitess_tabletmanagerservice_dev_tabletmanagerservice_proto.Services().ByName("TabletManager") + tabletManagerPingMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Ping") + tabletManagerSleepMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Sleep") + tabletManagerExecuteHookMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteHook") + tabletManagerGetSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetSchema") + tabletManagerGetPermissionsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetPermissions") + tabletManagerGetGlobalStatusVarsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetGlobalStatusVars") + tabletManagerSetReadOnlyMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadOnly") + tabletManagerSetReadWriteMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadWrite") + tabletManagerChangeTagsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ChangeTags") + tabletManagerChangeTypeMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ChangeType") + tabletManagerRefreshStateMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RefreshState") + tabletManagerRunHealthCheckMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RunHealthCheck") + tabletManagerReloadSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReloadSchema") + tabletManagerPreflightSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PreflightSchema") + tabletManagerApplySchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ApplySchema") + tabletManagerResetSequencesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetSequences") + tabletManagerLockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("LockTables") + tabletManagerUnlockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UnlockTables") + tabletManagerExecuteQueryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteQuery") + tabletManagerExecuteFetchAsDbaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsDba") + tabletManagerExecuteMultiFetchAsDbaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteMultiFetchAsDba") + tabletManagerExecuteFetchAsAllPrivsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsAllPrivs") + tabletManagerExecuteFetchAsAppMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + tabletManagerGetUnresolvedTransactionsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetUnresolvedTransactions") + tabletManagerReadTransactionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReadTransaction") + tabletManagerGetTransactionInfoMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetTransactionInfo") + tabletManagerConcludeTransactionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ConcludeTransaction") + tabletManagerMysqlHostMetricsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("MysqlHostMetrics") + tabletManagerReplicationStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicationStatus") + tabletManagerPrimaryStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryStatus") + tabletManagerPrimaryPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryPosition") + tabletManagerWaitForPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("WaitForPosition") + tabletManagerStopReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplication") + tabletManagerStopReplicationMinimumMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationMinimum") + tabletManagerStartReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplication") + tabletManagerStartReplicationUntilAfterMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplicationUntilAfter") + tabletManagerGetReplicasMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetReplicas") + tabletManagerCreateVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("CreateVReplicationWorkflow") + tabletManagerDeleteTableDataMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DeleteTableData") + tabletManagerDeleteVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DeleteVReplicationWorkflow") + tabletManagerHasVReplicationWorkflowsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("HasVReplicationWorkflows") + tabletManagerReadVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReadVReplicationWorkflow") + tabletManagerReadVReplicationWorkflowsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReadVReplicationWorkflows") + tabletManagerUpdateVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UpdateVReplicationWorkflow") + tabletManagerUpdateVReplicationWorkflowsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UpdateVReplicationWorkflows") + tabletManagerValidateVReplicationPermissionsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ValidateVReplicationPermissions") + tabletManagerVReplicationExecMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationExec") + tabletManagerVReplicationWaitForPosMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationWaitForPos") + tabletManagerVDiffMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VDiff") + tabletManagerResetReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplication") + tabletManagerInitPrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitPrimary") + tabletManagerPopulateReparentJournalMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PopulateReparentJournal") + tabletManagerReadReparentJournalInfoMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReadReparentJournalInfo") + tabletManagerInitReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitReplica") + tabletManagerDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DemotePrimary") + tabletManagerUndoDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UndoDemotePrimary") + tabletManagerReplicaWasPromotedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasPromoted") + tabletManagerResetReplicationParametersMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplicationParameters") + tabletManagerFullStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("FullStatus") + tabletManagerSetReplicationSourceMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReplicationSource") + tabletManagerReplicaWasRestartedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasRestarted") + tabletManagerStopReplicationAndGetStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationAndGetStatus") + tabletManagerPromoteReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PromoteReplica") + tabletManagerBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Backup") + tabletManagerRestoreFromBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RestoreFromBackup") + tabletManagerCheckThrottlerMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("CheckThrottler") + tabletManagerGetThrottlerStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetThrottlerStatus") ) // TabletManagerClient is a client for the tabletmanagerservice.TabletManager service. type TabletManagerClient interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[dev.PingRequest]) (*connect.Response[dev.PingResponse], error) + Ping(context.Context, *connect.Request[dev1.PingRequest]) (*connect.Response[dev1.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[dev.SleepRequest]) (*connect.Response[dev.SleepResponse], error) + Sleep(context.Context, *connect.Request[dev1.SleepRequest]) (*connect.Response[dev1.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[dev.SetReadWriteRequest]) (*connect.Response[dev.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) + // GetGlobalStatusVars returns the server's global status variables asked for. + // An empty/nil variable name parameter slice means you want all of them. + GetGlobalStatusVars(context.Context, *connect.Request[dev1.GetGlobalStatusVarsRequest]) (*connect.Response[dev1.GetGlobalStatusVarsResponse], error) + SetReadOnly(context.Context, *connect.Request[dev1.SetReadOnlyRequest]) (*connect.Response[dev1.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[dev1.SetReadWriteRequest]) (*connect.Response[dev1.SetReadWriteResponse], error) + // ChangeTags asks the remote tablet to change its tags + ChangeTags(context.Context, *connect.Request[dev1.ChangeTagsRequest]) (*connect.Response[dev1.ChangeTagsResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[dev.ChangeTypeRequest]) (*connect.Response[dev.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[dev.PreflightSchemaRequest]) (*connect.Response[dev.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) - ResetSequences(context.Context, *connect.Request[dev.ResetSequencesRequest]) (*connect.Response[dev.ResetSequencesResponse], error) - LockTables(context.Context, *connect.Request[dev.LockTablesRequest]) (*connect.Response[dev.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[dev.UnlockTablesRequest]) (*connect.Response[dev.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[dev.ExecuteQueryRequest]) (*connect.Response[dev.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[dev.ExecuteFetchAsDbaRequest]) (*connect.Response[dev.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[dev.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[dev1.ChangeTypeRequest]) (*connect.Response[dev1.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[dev1.PreflightSchemaRequest]) (*connect.Response[dev1.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) + ResetSequences(context.Context, *connect.Request[dev1.ResetSequencesRequest]) (*connect.Response[dev1.ResetSequencesResponse], error) + LockTables(context.Context, *connect.Request[dev1.LockTablesRequest]) (*connect.Response[dev1.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[dev1.UnlockTablesRequest]) (*connect.Response[dev1.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[dev1.ExecuteQueryRequest]) (*connect.Response[dev1.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[dev1.ExecuteFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteFetchAsDbaResponse], error) + ExecuteMultiFetchAsDba(context.Context, *connect.Request[dev1.ExecuteMultiFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[dev1.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev1.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) + GetUnresolvedTransactions(context.Context, *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) + ReadTransaction(context.Context, *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) + GetTransactionInfo(context.Context, *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) + ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) + MysqlHostMetrics(context.Context, *connect.Request[dev1.MysqlHostMetricsRequest]) (*connect.Response[dev1.MysqlHostMetricsResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[dev.ReplicationStatusRequest]) (*connect.Response[dev.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[dev1.ReplicationStatusRequest]) (*connect.Response[dev1.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[dev.PrimaryStatusRequest]) (*connect.Response[dev.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[dev1.PrimaryStatusRequest]) (*connect.Response[dev1.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[dev.PrimaryPositionRequest]) (*connect.Response[dev.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[dev1.PrimaryPositionRequest]) (*connect.Response[dev1.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[dev.WaitForPositionRequest]) (*connect.Response[dev.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[dev1.WaitForPositionRequest]) (*connect.Response[dev1.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[dev.StopReplicationMinimumRequest]) (*connect.Response[dev.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[dev1.StopReplicationMinimumRequest]) (*connect.Response[dev1.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[dev.StartReplicationUntilAfterRequest]) (*connect.Response[dev.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[dev1.StartReplicationUntilAfterRequest]) (*connect.Response[dev1.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[dev.GetReplicasRequest]) (*connect.Response[dev.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[dev1.GetReplicasRequest]) (*connect.Response[dev1.GetReplicasResponse], error) // VReplication API - CreateVReplicationWorkflow(context.Context, *connect.Request[dev.CreateVReplicationWorkflowRequest]) (*connect.Response[dev.CreateVReplicationWorkflowResponse], error) - DeleteVReplicationWorkflow(context.Context, *connect.Request[dev.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev.DeleteVReplicationWorkflowResponse], error) - ReadVReplicationWorkflow(context.Context, *connect.Request[dev.ReadVReplicationWorkflowRequest]) (*connect.Response[dev.ReadVReplicationWorkflowResponse], error) - VReplicationExec(context.Context, *connect.Request[dev.VReplicationExecRequest]) (*connect.Response[dev.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[dev.VReplicationWaitForPosRequest]) (*connect.Response[dev.VReplicationWaitForPosResponse], error) - UpdateVReplicationWorkflow(context.Context, *connect.Request[dev.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev.UpdateVReplicationWorkflowResponse], error) + CreateVReplicationWorkflow(context.Context, *connect.Request[dev1.CreateVReplicationWorkflowRequest]) (*connect.Response[dev1.CreateVReplicationWorkflowResponse], error) + DeleteTableData(context.Context, *connect.Request[dev1.DeleteTableDataRequest]) (*connect.Response[dev1.DeleteTableDataResponse], error) + DeleteVReplicationWorkflow(context.Context, *connect.Request[dev1.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev1.DeleteVReplicationWorkflowResponse], error) + HasVReplicationWorkflows(context.Context, *connect.Request[dev1.HasVReplicationWorkflowsRequest]) (*connect.Response[dev1.HasVReplicationWorkflowsResponse], error) + ReadVReplicationWorkflow(context.Context, *connect.Request[dev1.ReadVReplicationWorkflowRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowResponse], error) + ReadVReplicationWorkflows(context.Context, *connect.Request[dev1.ReadVReplicationWorkflowsRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowsResponse], error) + UpdateVReplicationWorkflow(context.Context, *connect.Request[dev1.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowResponse], error) + UpdateVReplicationWorkflows(context.Context, *connect.Request[dev1.UpdateVReplicationWorkflowsRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowsResponse], error) + ValidateVReplicationPermissions(context.Context, *connect.Request[dev1.ValidateVReplicationPermissionsRequest]) (*connect.Response[dev1.ValidateVReplicationPermissionsResponse], error) + VReplicationExec(context.Context, *connect.Request[dev1.VReplicationExecRequest]) (*connect.Response[dev1.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[dev1.VReplicationWaitForPosRequest]) (*connect.Response[dev1.VReplicationWaitForPosResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[dev.VDiffRequest]) (*connect.Response[dev.VDiffResponse], error) + VDiff(context.Context, *connect.Request[dev1.VDiffRequest]) (*connect.Response[dev1.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[dev.ResetReplicationRequest]) (*connect.Response[dev.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[dev1.ResetReplicationRequest]) (*connect.Response[dev1.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[dev.InitPrimaryRequest]) (*connect.Response[dev.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[dev1.InitPrimaryRequest]) (*connect.Response[dev1.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[dev.PopulateReparentJournalRequest]) (*connect.Response[dev.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[dev1.PopulateReparentJournalRequest]) (*connect.Response[dev1.PopulateReparentJournalResponse], error) + // ReadReparentJournalInfo reads the information from reparent journal + ReadReparentJournalInfo(context.Context, *connect.Request[dev1.ReadReparentJournalInfoRequest]) (*connect.Response[dev1.ReadReparentJournalInfoResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[dev.InitReplicaRequest]) (*connect.Response[dev.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[dev1.InitReplicaRequest]) (*connect.Response[dev1.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[dev.DemotePrimaryRequest]) (*connect.Response[dev.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[dev1.DemotePrimaryRequest]) (*connect.Response[dev1.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[dev.UndoDemotePrimaryRequest]) (*connect.Response[dev.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[dev1.UndoDemotePrimaryRequest]) (*connect.Response[dev1.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[dev.ReplicaWasPromotedRequest]) (*connect.Response[dev.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[dev1.ReplicaWasPromotedRequest]) (*connect.Response[dev1.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[dev.ResetReplicationParametersRequest]) (*connect.Response[dev.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[dev1.ResetReplicationParametersRequest]) (*connect.Response[dev1.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[dev.FullStatusRequest]) (*connect.Response[dev.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[dev1.FullStatusRequest]) (*connect.Response[dev1.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[dev.SetReplicationSourceRequest]) (*connect.Response[dev.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[dev1.SetReplicationSourceRequest]) (*connect.Response[dev1.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[dev.ReplicaWasRestartedRequest]) (*connect.Response[dev.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[dev1.ReplicaWasRestartedRequest]) (*connect.Response[dev1.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[dev.StopReplicationAndGetStatusRequest]) (*connect.Response[dev.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[dev1.StopReplicationAndGetStatusRequest]) (*connect.Response[dev1.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[dev.PromoteReplicaRequest]) (*connect.Response[dev.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[dev.BackupRequest]) (*connect.ServerStreamForClient[dev.BackupResponse], error) + PromoteReplica(context.Context, *connect.Request[dev1.PromoteReplicaRequest]) (*connect.Response[dev1.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[dev1.BackupRequest]) (*connect.ServerStreamForClient[dev1.BackupResponse], error) // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[dev.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[dev1.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev1.RestoreFromBackupResponse], error) // CheckThrottler issues a 'check' on a tablet's throttler - CheckThrottler(context.Context, *connect.Request[dev.CheckThrottlerRequest]) (*connect.Response[dev.CheckThrottlerResponse], error) + CheckThrottler(context.Context, *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) + // GetThrottlerStatus gets the status of a tablet throttler + GetThrottlerStatus(context.Context, *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) } // NewTabletManagerClient constructs a client for the tabletmanagerservice.TabletManager @@ -306,687 +443,946 @@ type TabletManagerClient interface { func NewTabletManagerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TabletManagerClient { baseURL = strings.TrimRight(baseURL, "/") return &tabletManagerClient{ - ping: connect.NewClient[dev.PingRequest, dev.PingResponse]( + ping: connect.NewClient[dev1.PingRequest, dev1.PingResponse]( httpClient, baseURL+TabletManagerPingProcedure, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleep: connect.NewClient[dev.SleepRequest, dev.SleepResponse]( + sleep: connect.NewClient[dev1.SleepRequest, dev1.SleepResponse]( httpClient, baseURL+TabletManagerSleepProcedure, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[dev.ExecuteHookRequest, dev.ExecuteHookResponse]( + executeHook: connect.NewClient[dev1.ExecuteHookRequest, dev1.ExecuteHookResponse]( httpClient, baseURL+TabletManagerExecuteHookProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[dev.GetSchemaRequest, dev.GetSchemaResponse]( + getSchema: connect.NewClient[dev1.GetSchemaRequest, dev1.GetSchemaResponse]( httpClient, baseURL+TabletManagerGetSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[dev.GetPermissionsRequest, dev.GetPermissionsResponse]( + getPermissions: connect.NewClient[dev1.GetPermissionsRequest, dev1.GetPermissionsResponse]( httpClient, baseURL+TabletManagerGetPermissionsProcedure, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadOnly: connect.NewClient[dev.SetReadOnlyRequest, dev.SetReadOnlyResponse]( + getGlobalStatusVars: connect.NewClient[dev1.GetGlobalStatusVarsRequest, dev1.GetGlobalStatusVarsResponse]( + httpClient, + baseURL+TabletManagerGetGlobalStatusVarsProcedure, + connect.WithSchema(tabletManagerGetGlobalStatusVarsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setReadOnly: connect.NewClient[dev1.SetReadOnlyRequest, dev1.SetReadOnlyResponse]( httpClient, baseURL+TabletManagerSetReadOnlyProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadWrite: connect.NewClient[dev.SetReadWriteRequest, dev.SetReadWriteResponse]( + setReadWrite: connect.NewClient[dev1.SetReadWriteRequest, dev1.SetReadWriteResponse]( httpClient, baseURL+TabletManagerSetReadWriteProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + changeTags: connect.NewClient[dev1.ChangeTagsRequest, dev1.ChangeTagsResponse]( + httpClient, + baseURL+TabletManagerChangeTagsProcedure, + connect.WithSchema(tabletManagerChangeTagsMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeType: connect.NewClient[dev.ChangeTypeRequest, dev.ChangeTypeResponse]( + changeType: connect.NewClient[dev1.ChangeTypeRequest, dev1.ChangeTypeResponse]( httpClient, baseURL+TabletManagerChangeTypeProcedure, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[dev.RefreshStateRequest, dev.RefreshStateResponse]( + refreshState: connect.NewClient[dev1.RefreshStateRequest, dev1.RefreshStateResponse]( httpClient, baseURL+TabletManagerRefreshStateProcedure, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[dev.RunHealthCheckRequest, dev.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[dev1.RunHealthCheckRequest, dev1.RunHealthCheckResponse]( httpClient, baseURL+TabletManagerRunHealthCheckProcedure, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[dev.ReloadSchemaRequest, dev.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[dev1.ReloadSchemaRequest, dev1.ReloadSchemaResponse]( httpClient, baseURL+TabletManagerReloadSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - preflightSchema: connect.NewClient[dev.PreflightSchemaRequest, dev.PreflightSchemaResponse]( + preflightSchema: connect.NewClient[dev1.PreflightSchemaRequest, dev1.PreflightSchemaResponse]( httpClient, baseURL+TabletManagerPreflightSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[dev.ApplySchemaRequest, dev.ApplySchemaResponse]( + applySchema: connect.NewClient[dev1.ApplySchemaRequest, dev1.ApplySchemaResponse]( httpClient, baseURL+TabletManagerApplySchemaProcedure, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetSequences: connect.NewClient[dev.ResetSequencesRequest, dev.ResetSequencesResponse]( + resetSequences: connect.NewClient[dev1.ResetSequencesRequest, dev1.ResetSequencesResponse]( httpClient, baseURL+TabletManagerResetSequencesProcedure, - opts..., + connect.WithSchema(tabletManagerResetSequencesMethodDescriptor), + connect.WithClientOptions(opts...), ), - lockTables: connect.NewClient[dev.LockTablesRequest, dev.LockTablesResponse]( + lockTables: connect.NewClient[dev1.LockTablesRequest, dev1.LockTablesResponse]( httpClient, baseURL+TabletManagerLockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - unlockTables: connect.NewClient[dev.UnlockTablesRequest, dev.UnlockTablesResponse]( + unlockTables: connect.NewClient[dev1.UnlockTablesRequest, dev1.UnlockTablesResponse]( httpClient, baseURL+TabletManagerUnlockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeQuery: connect.NewClient[dev.ExecuteQueryRequest, dev.ExecuteQueryResponse]( + executeQuery: connect.NewClient[dev1.ExecuteQueryRequest, dev1.ExecuteQueryResponse]( httpClient, baseURL+TabletManagerExecuteQueryProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDba: connect.NewClient[dev.ExecuteFetchAsDbaRequest, dev.ExecuteFetchAsDbaResponse]( + executeFetchAsDba: connect.NewClient[dev1.ExecuteFetchAsDbaRequest, dev1.ExecuteFetchAsDbaResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsDbaProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeMultiFetchAsDba: connect.NewClient[dev1.ExecuteMultiFetchAsDbaRequest, dev1.ExecuteMultiFetchAsDbaResponse]( + httpClient, + baseURL+TabletManagerExecuteMultiFetchAsDbaProcedure, + connect.WithSchema(tabletManagerExecuteMultiFetchAsDbaMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsAllPrivs: connect.NewClient[dev.ExecuteFetchAsAllPrivsRequest, dev.ExecuteFetchAsAllPrivsResponse]( + executeFetchAsAllPrivs: connect.NewClient[dev1.ExecuteFetchAsAllPrivsRequest, dev1.ExecuteFetchAsAllPrivsResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAllPrivsProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[dev.ExecuteFetchAsAppRequest, dev.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[dev1.ExecuteFetchAsAppRequest, dev1.ExecuteFetchAsAppResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getUnresolvedTransactions: connect.NewClient[dev1.GetUnresolvedTransactionsRequest, dev1.GetUnresolvedTransactionsResponse]( + httpClient, + baseURL+TabletManagerGetUnresolvedTransactionsProcedure, + connect.WithSchema(tabletManagerGetUnresolvedTransactionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + readTransaction: connect.NewClient[dev1.ReadTransactionRequest, dev1.ReadTransactionResponse]( + httpClient, + baseURL+TabletManagerReadTransactionProcedure, + connect.WithSchema(tabletManagerReadTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicationStatus: connect.NewClient[dev.ReplicationStatusRequest, dev.ReplicationStatusResponse]( + getTransactionInfo: connect.NewClient[dev1.GetTransactionInfoRequest, dev1.GetTransactionInfoResponse]( + httpClient, + baseURL+TabletManagerGetTransactionInfoProcedure, + connect.WithSchema(tabletManagerGetTransactionInfoMethodDescriptor), + connect.WithClientOptions(opts...), + ), + concludeTransaction: connect.NewClient[dev1.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse]( + httpClient, + baseURL+TabletManagerConcludeTransactionProcedure, + connect.WithSchema(tabletManagerConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + mysqlHostMetrics: connect.NewClient[dev1.MysqlHostMetricsRequest, dev1.MysqlHostMetricsResponse]( + httpClient, + baseURL+TabletManagerMysqlHostMetricsProcedure, + connect.WithSchema(tabletManagerMysqlHostMetricsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + replicationStatus: connect.NewClient[dev1.ReplicationStatusRequest, dev1.ReplicationStatusResponse]( httpClient, baseURL+TabletManagerReplicationStatusProcedure, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryStatus: connect.NewClient[dev.PrimaryStatusRequest, dev.PrimaryStatusResponse]( + primaryStatus: connect.NewClient[dev1.PrimaryStatusRequest, dev1.PrimaryStatusResponse]( httpClient, baseURL+TabletManagerPrimaryStatusProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryPosition: connect.NewClient[dev.PrimaryPositionRequest, dev.PrimaryPositionResponse]( + primaryPosition: connect.NewClient[dev1.PrimaryPositionRequest, dev1.PrimaryPositionResponse]( httpClient, baseURL+TabletManagerPrimaryPositionProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - waitForPosition: connect.NewClient[dev.WaitForPositionRequest, dev.WaitForPositionResponse]( + waitForPosition: connect.NewClient[dev1.WaitForPositionRequest, dev1.WaitForPositionResponse]( httpClient, baseURL+TabletManagerWaitForPositionProcedure, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[dev.StopReplicationRequest, dev.StopReplicationResponse]( + stopReplication: connect.NewClient[dev1.StopReplicationRequest, dev1.StopReplicationResponse]( httpClient, baseURL+TabletManagerStopReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationMinimum: connect.NewClient[dev.StopReplicationMinimumRequest, dev.StopReplicationMinimumResponse]( + stopReplicationMinimum: connect.NewClient[dev1.StopReplicationMinimumRequest, dev1.StopReplicationMinimumResponse]( httpClient, baseURL+TabletManagerStopReplicationMinimumProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[dev.StartReplicationRequest, dev.StartReplicationResponse]( + startReplication: connect.NewClient[dev1.StartReplicationRequest, dev1.StartReplicationResponse]( httpClient, baseURL+TabletManagerStartReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplicationUntilAfter: connect.NewClient[dev.StartReplicationUntilAfterRequest, dev.StartReplicationUntilAfterResponse]( + startReplicationUntilAfter: connect.NewClient[dev1.StartReplicationUntilAfterRequest, dev1.StartReplicationUntilAfterResponse]( httpClient, baseURL+TabletManagerStartReplicationUntilAfterProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithClientOptions(opts...), ), - getReplicas: connect.NewClient[dev.GetReplicasRequest, dev.GetReplicasResponse]( + getReplicas: connect.NewClient[dev1.GetReplicasRequest, dev1.GetReplicasResponse]( httpClient, baseURL+TabletManagerGetReplicasProcedure, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithClientOptions(opts...), ), - createVReplicationWorkflow: connect.NewClient[dev.CreateVReplicationWorkflowRequest, dev.CreateVReplicationWorkflowResponse]( + createVReplicationWorkflow: connect.NewClient[dev1.CreateVReplicationWorkflowRequest, dev1.CreateVReplicationWorkflowResponse]( httpClient, baseURL+TabletManagerCreateVReplicationWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerCreateVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteTableData: connect.NewClient[dev1.DeleteTableDataRequest, dev1.DeleteTableDataResponse]( + httpClient, + baseURL+TabletManagerDeleteTableDataProcedure, + connect.WithSchema(tabletManagerDeleteTableDataMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteVReplicationWorkflow: connect.NewClient[dev.DeleteVReplicationWorkflowRequest, dev.DeleteVReplicationWorkflowResponse]( + deleteVReplicationWorkflow: connect.NewClient[dev1.DeleteVReplicationWorkflowRequest, dev1.DeleteVReplicationWorkflowResponse]( httpClient, baseURL+TabletManagerDeleteVReplicationWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerDeleteVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), - readVReplicationWorkflow: connect.NewClient[dev.ReadVReplicationWorkflowRequest, dev.ReadVReplicationWorkflowResponse]( + hasVReplicationWorkflows: connect.NewClient[dev1.HasVReplicationWorkflowsRequest, dev1.HasVReplicationWorkflowsResponse]( httpClient, - baseURL+TabletManagerReadVReplicationWorkflowProcedure, - opts..., + baseURL+TabletManagerHasVReplicationWorkflowsProcedure, + connect.WithSchema(tabletManagerHasVReplicationWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationExec: connect.NewClient[dev.VReplicationExecRequest, dev.VReplicationExecResponse]( + readVReplicationWorkflow: connect.NewClient[dev1.ReadVReplicationWorkflowRequest, dev1.ReadVReplicationWorkflowResponse]( httpClient, - baseURL+TabletManagerVReplicationExecProcedure, - opts..., + baseURL+TabletManagerReadVReplicationWorkflowProcedure, + connect.WithSchema(tabletManagerReadVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationWaitForPos: connect.NewClient[dev.VReplicationWaitForPosRequest, dev.VReplicationWaitForPosResponse]( + readVReplicationWorkflows: connect.NewClient[dev1.ReadVReplicationWorkflowsRequest, dev1.ReadVReplicationWorkflowsResponse]( httpClient, - baseURL+TabletManagerVReplicationWaitForPosProcedure, - opts..., + baseURL+TabletManagerReadVReplicationWorkflowsProcedure, + connect.WithSchema(tabletManagerReadVReplicationWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateVReplicationWorkflow: connect.NewClient[dev.UpdateVReplicationWorkflowRequest, dev.UpdateVReplicationWorkflowResponse]( + updateVReplicationWorkflow: connect.NewClient[dev1.UpdateVReplicationWorkflowRequest, dev1.UpdateVReplicationWorkflowResponse]( httpClient, baseURL+TabletManagerUpdateVReplicationWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + updateVReplicationWorkflows: connect.NewClient[dev1.UpdateVReplicationWorkflowsRequest, dev1.UpdateVReplicationWorkflowsResponse]( + httpClient, + baseURL+TabletManagerUpdateVReplicationWorkflowsProcedure, + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateVReplicationPermissions: connect.NewClient[dev1.ValidateVReplicationPermissionsRequest, dev1.ValidateVReplicationPermissionsResponse]( + httpClient, + baseURL+TabletManagerValidateVReplicationPermissionsProcedure, + connect.WithSchema(tabletManagerValidateVReplicationPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vReplicationExec: connect.NewClient[dev1.VReplicationExecRequest, dev1.VReplicationExecResponse]( + httpClient, + baseURL+TabletManagerVReplicationExecProcedure, + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiff: connect.NewClient[dev.VDiffRequest, dev.VDiffResponse]( + vReplicationWaitForPos: connect.NewClient[dev1.VReplicationWaitForPosRequest, dev1.VReplicationWaitForPosResponse]( + httpClient, + baseURL+TabletManagerVReplicationWaitForPosProcedure, + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiff: connect.NewClient[dev1.VDiffRequest, dev1.VDiffResponse]( httpClient, baseURL+TabletManagerVDiffProcedure, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplication: connect.NewClient[dev.ResetReplicationRequest, dev.ResetReplicationResponse]( + resetReplication: connect.NewClient[dev1.ResetReplicationRequest, dev1.ResetReplicationResponse]( httpClient, baseURL+TabletManagerResetReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - initPrimary: connect.NewClient[dev.InitPrimaryRequest, dev.InitPrimaryResponse]( + initPrimary: connect.NewClient[dev1.InitPrimaryRequest, dev1.InitPrimaryResponse]( httpClient, baseURL+TabletManagerInitPrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - populateReparentJournal: connect.NewClient[dev.PopulateReparentJournalRequest, dev.PopulateReparentJournalResponse]( + populateReparentJournal: connect.NewClient[dev1.PopulateReparentJournalRequest, dev1.PopulateReparentJournalResponse]( httpClient, baseURL+TabletManagerPopulateReparentJournalProcedure, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithClientOptions(opts...), + ), + readReparentJournalInfo: connect.NewClient[dev1.ReadReparentJournalInfoRequest, dev1.ReadReparentJournalInfoResponse]( + httpClient, + baseURL+TabletManagerReadReparentJournalInfoProcedure, + connect.WithSchema(tabletManagerReadReparentJournalInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - initReplica: connect.NewClient[dev.InitReplicaRequest, dev.InitReplicaResponse]( + initReplica: connect.NewClient[dev1.InitReplicaRequest, dev1.InitReplicaResponse]( httpClient, baseURL+TabletManagerInitReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - demotePrimary: connect.NewClient[dev.DemotePrimaryRequest, dev.DemotePrimaryResponse]( + demotePrimary: connect.NewClient[dev1.DemotePrimaryRequest, dev1.DemotePrimaryResponse]( httpClient, baseURL+TabletManagerDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - undoDemotePrimary: connect.NewClient[dev.UndoDemotePrimaryRequest, dev.UndoDemotePrimaryResponse]( + undoDemotePrimary: connect.NewClient[dev1.UndoDemotePrimaryRequest, dev1.UndoDemotePrimaryResponse]( httpClient, baseURL+TabletManagerUndoDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasPromoted: connect.NewClient[dev.ReplicaWasPromotedRequest, dev.ReplicaWasPromotedResponse]( + replicaWasPromoted: connect.NewClient[dev1.ReplicaWasPromotedRequest, dev1.ReplicaWasPromotedResponse]( httpClient, baseURL+TabletManagerReplicaWasPromotedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplicationParameters: connect.NewClient[dev.ResetReplicationParametersRequest, dev.ResetReplicationParametersResponse]( + resetReplicationParameters: connect.NewClient[dev1.ResetReplicationParametersRequest, dev1.ResetReplicationParametersResponse]( httpClient, baseURL+TabletManagerResetReplicationParametersProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithClientOptions(opts...), ), - fullStatus: connect.NewClient[dev.FullStatusRequest, dev.FullStatusResponse]( + fullStatus: connect.NewClient[dev1.FullStatusRequest, dev1.FullStatusResponse]( httpClient, baseURL+TabletManagerFullStatusProcedure, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReplicationSource: connect.NewClient[dev.SetReplicationSourceRequest, dev.SetReplicationSourceResponse]( + setReplicationSource: connect.NewClient[dev1.SetReplicationSourceRequest, dev1.SetReplicationSourceResponse]( httpClient, baseURL+TabletManagerSetReplicationSourceProcedure, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasRestarted: connect.NewClient[dev.ReplicaWasRestartedRequest, dev.ReplicaWasRestartedResponse]( + replicaWasRestarted: connect.NewClient[dev1.ReplicaWasRestartedRequest, dev1.ReplicaWasRestartedResponse]( httpClient, baseURL+TabletManagerReplicaWasRestartedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationAndGetStatus: connect.NewClient[dev.StopReplicationAndGetStatusRequest, dev.StopReplicationAndGetStatusResponse]( + stopReplicationAndGetStatus: connect.NewClient[dev1.StopReplicationAndGetStatusRequest, dev1.StopReplicationAndGetStatusResponse]( httpClient, baseURL+TabletManagerStopReplicationAndGetStatusProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - promoteReplica: connect.NewClient[dev.PromoteReplicaRequest, dev.PromoteReplicaResponse]( + promoteReplica: connect.NewClient[dev1.PromoteReplicaRequest, dev1.PromoteReplicaResponse]( httpClient, baseURL+TabletManagerPromoteReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[dev.BackupRequest, dev.BackupResponse]( + backup: connect.NewClient[dev1.BackupRequest, dev1.BackupResponse]( httpClient, baseURL+TabletManagerBackupProcedure, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[dev.RestoreFromBackupRequest, dev.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[dev1.RestoreFromBackupRequest, dev1.RestoreFromBackupResponse]( httpClient, baseURL+TabletManagerRestoreFromBackupProcedure, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - checkThrottler: connect.NewClient[dev.CheckThrottlerRequest, dev.CheckThrottlerResponse]( + checkThrottler: connect.NewClient[dev1.CheckThrottlerRequest, dev1.CheckThrottlerResponse]( httpClient, baseURL+TabletManagerCheckThrottlerProcedure, - opts..., + connect.WithSchema(tabletManagerCheckThrottlerMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getThrottlerStatus: connect.NewClient[dev1.GetThrottlerStatusRequest, dev1.GetThrottlerStatusResponse]( + httpClient, + baseURL+TabletManagerGetThrottlerStatusProcedure, + connect.WithSchema(tabletManagerGetThrottlerStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // tabletManagerClient implements TabletManagerClient. type tabletManagerClient struct { - ping *connect.Client[dev.PingRequest, dev.PingResponse] - sleep *connect.Client[dev.SleepRequest, dev.SleepResponse] - executeHook *connect.Client[dev.ExecuteHookRequest, dev.ExecuteHookResponse] - getSchema *connect.Client[dev.GetSchemaRequest, dev.GetSchemaResponse] - getPermissions *connect.Client[dev.GetPermissionsRequest, dev.GetPermissionsResponse] - setReadOnly *connect.Client[dev.SetReadOnlyRequest, dev.SetReadOnlyResponse] - setReadWrite *connect.Client[dev.SetReadWriteRequest, dev.SetReadWriteResponse] - changeType *connect.Client[dev.ChangeTypeRequest, dev.ChangeTypeResponse] - refreshState *connect.Client[dev.RefreshStateRequest, dev.RefreshStateResponse] - runHealthCheck *connect.Client[dev.RunHealthCheckRequest, dev.RunHealthCheckResponse] - reloadSchema *connect.Client[dev.ReloadSchemaRequest, dev.ReloadSchemaResponse] - preflightSchema *connect.Client[dev.PreflightSchemaRequest, dev.PreflightSchemaResponse] - applySchema *connect.Client[dev.ApplySchemaRequest, dev.ApplySchemaResponse] - resetSequences *connect.Client[dev.ResetSequencesRequest, dev.ResetSequencesResponse] - lockTables *connect.Client[dev.LockTablesRequest, dev.LockTablesResponse] - unlockTables *connect.Client[dev.UnlockTablesRequest, dev.UnlockTablesResponse] - executeQuery *connect.Client[dev.ExecuteQueryRequest, dev.ExecuteQueryResponse] - executeFetchAsDba *connect.Client[dev.ExecuteFetchAsDbaRequest, dev.ExecuteFetchAsDbaResponse] - executeFetchAsAllPrivs *connect.Client[dev.ExecuteFetchAsAllPrivsRequest, dev.ExecuteFetchAsAllPrivsResponse] - executeFetchAsApp *connect.Client[dev.ExecuteFetchAsAppRequest, dev.ExecuteFetchAsAppResponse] - replicationStatus *connect.Client[dev.ReplicationStatusRequest, dev.ReplicationStatusResponse] - primaryStatus *connect.Client[dev.PrimaryStatusRequest, dev.PrimaryStatusResponse] - primaryPosition *connect.Client[dev.PrimaryPositionRequest, dev.PrimaryPositionResponse] - waitForPosition *connect.Client[dev.WaitForPositionRequest, dev.WaitForPositionResponse] - stopReplication *connect.Client[dev.StopReplicationRequest, dev.StopReplicationResponse] - stopReplicationMinimum *connect.Client[dev.StopReplicationMinimumRequest, dev.StopReplicationMinimumResponse] - startReplication *connect.Client[dev.StartReplicationRequest, dev.StartReplicationResponse] - startReplicationUntilAfter *connect.Client[dev.StartReplicationUntilAfterRequest, dev.StartReplicationUntilAfterResponse] - getReplicas *connect.Client[dev.GetReplicasRequest, dev.GetReplicasResponse] - createVReplicationWorkflow *connect.Client[dev.CreateVReplicationWorkflowRequest, dev.CreateVReplicationWorkflowResponse] - deleteVReplicationWorkflow *connect.Client[dev.DeleteVReplicationWorkflowRequest, dev.DeleteVReplicationWorkflowResponse] - readVReplicationWorkflow *connect.Client[dev.ReadVReplicationWorkflowRequest, dev.ReadVReplicationWorkflowResponse] - vReplicationExec *connect.Client[dev.VReplicationExecRequest, dev.VReplicationExecResponse] - vReplicationWaitForPos *connect.Client[dev.VReplicationWaitForPosRequest, dev.VReplicationWaitForPosResponse] - updateVReplicationWorkflow *connect.Client[dev.UpdateVReplicationWorkflowRequest, dev.UpdateVReplicationWorkflowResponse] - vDiff *connect.Client[dev.VDiffRequest, dev.VDiffResponse] - resetReplication *connect.Client[dev.ResetReplicationRequest, dev.ResetReplicationResponse] - initPrimary *connect.Client[dev.InitPrimaryRequest, dev.InitPrimaryResponse] - populateReparentJournal *connect.Client[dev.PopulateReparentJournalRequest, dev.PopulateReparentJournalResponse] - initReplica *connect.Client[dev.InitReplicaRequest, dev.InitReplicaResponse] - demotePrimary *connect.Client[dev.DemotePrimaryRequest, dev.DemotePrimaryResponse] - undoDemotePrimary *connect.Client[dev.UndoDemotePrimaryRequest, dev.UndoDemotePrimaryResponse] - replicaWasPromoted *connect.Client[dev.ReplicaWasPromotedRequest, dev.ReplicaWasPromotedResponse] - resetReplicationParameters *connect.Client[dev.ResetReplicationParametersRequest, dev.ResetReplicationParametersResponse] - fullStatus *connect.Client[dev.FullStatusRequest, dev.FullStatusResponse] - setReplicationSource *connect.Client[dev.SetReplicationSourceRequest, dev.SetReplicationSourceResponse] - replicaWasRestarted *connect.Client[dev.ReplicaWasRestartedRequest, dev.ReplicaWasRestartedResponse] - stopReplicationAndGetStatus *connect.Client[dev.StopReplicationAndGetStatusRequest, dev.StopReplicationAndGetStatusResponse] - promoteReplica *connect.Client[dev.PromoteReplicaRequest, dev.PromoteReplicaResponse] - backup *connect.Client[dev.BackupRequest, dev.BackupResponse] - restoreFromBackup *connect.Client[dev.RestoreFromBackupRequest, dev.RestoreFromBackupResponse] - checkThrottler *connect.Client[dev.CheckThrottlerRequest, dev.CheckThrottlerResponse] + ping *connect.Client[dev1.PingRequest, dev1.PingResponse] + sleep *connect.Client[dev1.SleepRequest, dev1.SleepResponse] + executeHook *connect.Client[dev1.ExecuteHookRequest, dev1.ExecuteHookResponse] + getSchema *connect.Client[dev1.GetSchemaRequest, dev1.GetSchemaResponse] + getPermissions *connect.Client[dev1.GetPermissionsRequest, dev1.GetPermissionsResponse] + getGlobalStatusVars *connect.Client[dev1.GetGlobalStatusVarsRequest, dev1.GetGlobalStatusVarsResponse] + setReadOnly *connect.Client[dev1.SetReadOnlyRequest, dev1.SetReadOnlyResponse] + setReadWrite *connect.Client[dev1.SetReadWriteRequest, dev1.SetReadWriteResponse] + changeTags *connect.Client[dev1.ChangeTagsRequest, dev1.ChangeTagsResponse] + changeType *connect.Client[dev1.ChangeTypeRequest, dev1.ChangeTypeResponse] + refreshState *connect.Client[dev1.RefreshStateRequest, dev1.RefreshStateResponse] + runHealthCheck *connect.Client[dev1.RunHealthCheckRequest, dev1.RunHealthCheckResponse] + reloadSchema *connect.Client[dev1.ReloadSchemaRequest, dev1.ReloadSchemaResponse] + preflightSchema *connect.Client[dev1.PreflightSchemaRequest, dev1.PreflightSchemaResponse] + applySchema *connect.Client[dev1.ApplySchemaRequest, dev1.ApplySchemaResponse] + resetSequences *connect.Client[dev1.ResetSequencesRequest, dev1.ResetSequencesResponse] + lockTables *connect.Client[dev1.LockTablesRequest, dev1.LockTablesResponse] + unlockTables *connect.Client[dev1.UnlockTablesRequest, dev1.UnlockTablesResponse] + executeQuery *connect.Client[dev1.ExecuteQueryRequest, dev1.ExecuteQueryResponse] + executeFetchAsDba *connect.Client[dev1.ExecuteFetchAsDbaRequest, dev1.ExecuteFetchAsDbaResponse] + executeMultiFetchAsDba *connect.Client[dev1.ExecuteMultiFetchAsDbaRequest, dev1.ExecuteMultiFetchAsDbaResponse] + executeFetchAsAllPrivs *connect.Client[dev1.ExecuteFetchAsAllPrivsRequest, dev1.ExecuteFetchAsAllPrivsResponse] + executeFetchAsApp *connect.Client[dev1.ExecuteFetchAsAppRequest, dev1.ExecuteFetchAsAppResponse] + getUnresolvedTransactions *connect.Client[dev1.GetUnresolvedTransactionsRequest, dev1.GetUnresolvedTransactionsResponse] + readTransaction *connect.Client[dev1.ReadTransactionRequest, dev1.ReadTransactionResponse] + getTransactionInfo *connect.Client[dev1.GetTransactionInfoRequest, dev1.GetTransactionInfoResponse] + concludeTransaction *connect.Client[dev1.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse] + mysqlHostMetrics *connect.Client[dev1.MysqlHostMetricsRequest, dev1.MysqlHostMetricsResponse] + replicationStatus *connect.Client[dev1.ReplicationStatusRequest, dev1.ReplicationStatusResponse] + primaryStatus *connect.Client[dev1.PrimaryStatusRequest, dev1.PrimaryStatusResponse] + primaryPosition *connect.Client[dev1.PrimaryPositionRequest, dev1.PrimaryPositionResponse] + waitForPosition *connect.Client[dev1.WaitForPositionRequest, dev1.WaitForPositionResponse] + stopReplication *connect.Client[dev1.StopReplicationRequest, dev1.StopReplicationResponse] + stopReplicationMinimum *connect.Client[dev1.StopReplicationMinimumRequest, dev1.StopReplicationMinimumResponse] + startReplication *connect.Client[dev1.StartReplicationRequest, dev1.StartReplicationResponse] + startReplicationUntilAfter *connect.Client[dev1.StartReplicationUntilAfterRequest, dev1.StartReplicationUntilAfterResponse] + getReplicas *connect.Client[dev1.GetReplicasRequest, dev1.GetReplicasResponse] + createVReplicationWorkflow *connect.Client[dev1.CreateVReplicationWorkflowRequest, dev1.CreateVReplicationWorkflowResponse] + deleteTableData *connect.Client[dev1.DeleteTableDataRequest, dev1.DeleteTableDataResponse] + deleteVReplicationWorkflow *connect.Client[dev1.DeleteVReplicationWorkflowRequest, dev1.DeleteVReplicationWorkflowResponse] + hasVReplicationWorkflows *connect.Client[dev1.HasVReplicationWorkflowsRequest, dev1.HasVReplicationWorkflowsResponse] + readVReplicationWorkflow *connect.Client[dev1.ReadVReplicationWorkflowRequest, dev1.ReadVReplicationWorkflowResponse] + readVReplicationWorkflows *connect.Client[dev1.ReadVReplicationWorkflowsRequest, dev1.ReadVReplicationWorkflowsResponse] + updateVReplicationWorkflow *connect.Client[dev1.UpdateVReplicationWorkflowRequest, dev1.UpdateVReplicationWorkflowResponse] + updateVReplicationWorkflows *connect.Client[dev1.UpdateVReplicationWorkflowsRequest, dev1.UpdateVReplicationWorkflowsResponse] + validateVReplicationPermissions *connect.Client[dev1.ValidateVReplicationPermissionsRequest, dev1.ValidateVReplicationPermissionsResponse] + vReplicationExec *connect.Client[dev1.VReplicationExecRequest, dev1.VReplicationExecResponse] + vReplicationWaitForPos *connect.Client[dev1.VReplicationWaitForPosRequest, dev1.VReplicationWaitForPosResponse] + vDiff *connect.Client[dev1.VDiffRequest, dev1.VDiffResponse] + resetReplication *connect.Client[dev1.ResetReplicationRequest, dev1.ResetReplicationResponse] + initPrimary *connect.Client[dev1.InitPrimaryRequest, dev1.InitPrimaryResponse] + populateReparentJournal *connect.Client[dev1.PopulateReparentJournalRequest, dev1.PopulateReparentJournalResponse] + readReparentJournalInfo *connect.Client[dev1.ReadReparentJournalInfoRequest, dev1.ReadReparentJournalInfoResponse] + initReplica *connect.Client[dev1.InitReplicaRequest, dev1.InitReplicaResponse] + demotePrimary *connect.Client[dev1.DemotePrimaryRequest, dev1.DemotePrimaryResponse] + undoDemotePrimary *connect.Client[dev1.UndoDemotePrimaryRequest, dev1.UndoDemotePrimaryResponse] + replicaWasPromoted *connect.Client[dev1.ReplicaWasPromotedRequest, dev1.ReplicaWasPromotedResponse] + resetReplicationParameters *connect.Client[dev1.ResetReplicationParametersRequest, dev1.ResetReplicationParametersResponse] + fullStatus *connect.Client[dev1.FullStatusRequest, dev1.FullStatusResponse] + setReplicationSource *connect.Client[dev1.SetReplicationSourceRequest, dev1.SetReplicationSourceResponse] + replicaWasRestarted *connect.Client[dev1.ReplicaWasRestartedRequest, dev1.ReplicaWasRestartedResponse] + stopReplicationAndGetStatus *connect.Client[dev1.StopReplicationAndGetStatusRequest, dev1.StopReplicationAndGetStatusResponse] + promoteReplica *connect.Client[dev1.PromoteReplicaRequest, dev1.PromoteReplicaResponse] + backup *connect.Client[dev1.BackupRequest, dev1.BackupResponse] + restoreFromBackup *connect.Client[dev1.RestoreFromBackupRequest, dev1.RestoreFromBackupResponse] + checkThrottler *connect.Client[dev1.CheckThrottlerRequest, dev1.CheckThrottlerResponse] + getThrottlerStatus *connect.Client[dev1.GetThrottlerStatusRequest, dev1.GetThrottlerStatusResponse] } // Ping calls tabletmanagerservice.TabletManager.Ping. -func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[dev.PingRequest]) (*connect.Response[dev.PingResponse], error) { +func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[dev1.PingRequest]) (*connect.Response[dev1.PingResponse], error) { return c.ping.CallUnary(ctx, req) } // Sleep calls tabletmanagerservice.TabletManager.Sleep. -func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[dev.SleepRequest]) (*connect.Response[dev.SleepResponse], error) { +func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[dev1.SleepRequest]) (*connect.Response[dev1.SleepResponse], error) { return c.sleep.CallUnary(ctx, req) } // ExecuteHook calls tabletmanagerservice.TabletManager.ExecuteHook. -func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) { +func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } // GetSchema calls tabletmanagerservice.TabletManager.GetSchema. -func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) { +func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetPermissions calls tabletmanagerservice.TabletManager.GetPermissions. -func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) { +func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } +// GetGlobalStatusVars calls tabletmanagerservice.TabletManager.GetGlobalStatusVars. +func (c *tabletManagerClient) GetGlobalStatusVars(ctx context.Context, req *connect.Request[dev1.GetGlobalStatusVarsRequest]) (*connect.Response[dev1.GetGlobalStatusVarsResponse], error) { + return c.getGlobalStatusVars.CallUnary(ctx, req) +} + // SetReadOnly calls tabletmanagerservice.TabletManager.SetReadOnly. -func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) { +func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[dev1.SetReadOnlyRequest]) (*connect.Response[dev1.SetReadOnlyResponse], error) { return c.setReadOnly.CallUnary(ctx, req) } // SetReadWrite calls tabletmanagerservice.TabletManager.SetReadWrite. -func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[dev.SetReadWriteRequest]) (*connect.Response[dev.SetReadWriteResponse], error) { +func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[dev1.SetReadWriteRequest]) (*connect.Response[dev1.SetReadWriteResponse], error) { return c.setReadWrite.CallUnary(ctx, req) } +// ChangeTags calls tabletmanagerservice.TabletManager.ChangeTags. +func (c *tabletManagerClient) ChangeTags(ctx context.Context, req *connect.Request[dev1.ChangeTagsRequest]) (*connect.Response[dev1.ChangeTagsResponse], error) { + return c.changeTags.CallUnary(ctx, req) +} + // ChangeType calls tabletmanagerservice.TabletManager.ChangeType. -func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[dev.ChangeTypeRequest]) (*connect.Response[dev.ChangeTypeResponse], error) { +func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[dev1.ChangeTypeRequest]) (*connect.Response[dev1.ChangeTypeResponse], error) { return c.changeType.CallUnary(ctx, req) } // RefreshState calls tabletmanagerservice.TabletManager.RefreshState. -func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) { +func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RunHealthCheck calls tabletmanagerservice.TabletManager.RunHealthCheck. -func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) { +func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // ReloadSchema calls tabletmanagerservice.TabletManager.ReloadSchema. -func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) { +func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // PreflightSchema calls tabletmanagerservice.TabletManager.PreflightSchema. -func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[dev.PreflightSchemaRequest]) (*connect.Response[dev.PreflightSchemaResponse], error) { +func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[dev1.PreflightSchemaRequest]) (*connect.Response[dev1.PreflightSchemaResponse], error) { return c.preflightSchema.CallUnary(ctx, req) } // ApplySchema calls tabletmanagerservice.TabletManager.ApplySchema. -func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) { +func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } // ResetSequences calls tabletmanagerservice.TabletManager.ResetSequences. -func (c *tabletManagerClient) ResetSequences(ctx context.Context, req *connect.Request[dev.ResetSequencesRequest]) (*connect.Response[dev.ResetSequencesResponse], error) { +func (c *tabletManagerClient) ResetSequences(ctx context.Context, req *connect.Request[dev1.ResetSequencesRequest]) (*connect.Response[dev1.ResetSequencesResponse], error) { return c.resetSequences.CallUnary(ctx, req) } // LockTables calls tabletmanagerservice.TabletManager.LockTables. -func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[dev.LockTablesRequest]) (*connect.Response[dev.LockTablesResponse], error) { +func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[dev1.LockTablesRequest]) (*connect.Response[dev1.LockTablesResponse], error) { return c.lockTables.CallUnary(ctx, req) } // UnlockTables calls tabletmanagerservice.TabletManager.UnlockTables. -func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[dev.UnlockTablesRequest]) (*connect.Response[dev.UnlockTablesResponse], error) { +func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[dev1.UnlockTablesRequest]) (*connect.Response[dev1.UnlockTablesResponse], error) { return c.unlockTables.CallUnary(ctx, req) } // ExecuteQuery calls tabletmanagerservice.TabletManager.ExecuteQuery. -func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[dev.ExecuteQueryRequest]) (*connect.Response[dev.ExecuteQueryResponse], error) { +func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[dev1.ExecuteQueryRequest]) (*connect.Response[dev1.ExecuteQueryResponse], error) { return c.executeQuery.CallUnary(ctx, req) } // ExecuteFetchAsDba calls tabletmanagerservice.TabletManager.ExecuteFetchAsDba. -func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[dev.ExecuteFetchAsDbaRequest]) (*connect.Response[dev.ExecuteFetchAsDbaResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[dev1.ExecuteFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteFetchAsDbaResponse], error) { return c.executeFetchAsDba.CallUnary(ctx, req) } +// ExecuteMultiFetchAsDba calls +// tabletmanagerservice.TabletManager.ExecuteMultiFetchAsDba. +func (c *tabletManagerClient) ExecuteMultiFetchAsDba(ctx context.Context, req *connect.Request[dev1.ExecuteMultiFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDbaResponse], error) { + return c.executeMultiFetchAsDba.CallUnary(ctx, req) +} + // ExecuteFetchAsAllPrivs calls // tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs. -func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[dev.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev.ExecuteFetchAsAllPrivsResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[dev1.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev1.ExecuteFetchAsAllPrivsResponse], error) { return c.executeFetchAsAllPrivs.CallUnary(ctx, req) } // ExecuteFetchAsApp calls tabletmanagerservice.TabletManager.ExecuteFetchAsApp. -func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } +// GetUnresolvedTransactions calls +// tabletmanagerservice.TabletManager.GetUnresolvedTransactions. +func (c *tabletManagerClient) GetUnresolvedTransactions(ctx context.Context, req *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) { + return c.getUnresolvedTransactions.CallUnary(ctx, req) +} + +// ReadTransaction calls tabletmanagerservice.TabletManager.ReadTransaction. +func (c *tabletManagerClient) ReadTransaction(ctx context.Context, req *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) { + return c.readTransaction.CallUnary(ctx, req) +} + +// GetTransactionInfo calls tabletmanagerservice.TabletManager.GetTransactionInfo. +func (c *tabletManagerClient) GetTransactionInfo(ctx context.Context, req *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) { + return c.getTransactionInfo.CallUnary(ctx, req) +} + +// ConcludeTransaction calls tabletmanagerservice.TabletManager.ConcludeTransaction. +func (c *tabletManagerClient) ConcludeTransaction(ctx context.Context, req *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { + return c.concludeTransaction.CallUnary(ctx, req) +} + +// MysqlHostMetrics calls tabletmanagerservice.TabletManager.MysqlHostMetrics. +func (c *tabletManagerClient) MysqlHostMetrics(ctx context.Context, req *connect.Request[dev1.MysqlHostMetricsRequest]) (*connect.Response[dev1.MysqlHostMetricsResponse], error) { + return c.mysqlHostMetrics.CallUnary(ctx, req) +} + // ReplicationStatus calls tabletmanagerservice.TabletManager.ReplicationStatus. -func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[dev.ReplicationStatusRequest]) (*connect.Response[dev.ReplicationStatusResponse], error) { +func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[dev1.ReplicationStatusRequest]) (*connect.Response[dev1.ReplicationStatusResponse], error) { return c.replicationStatus.CallUnary(ctx, req) } // PrimaryStatus calls tabletmanagerservice.TabletManager.PrimaryStatus. -func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[dev.PrimaryStatusRequest]) (*connect.Response[dev.PrimaryStatusResponse], error) { +func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[dev1.PrimaryStatusRequest]) (*connect.Response[dev1.PrimaryStatusResponse], error) { return c.primaryStatus.CallUnary(ctx, req) } // PrimaryPosition calls tabletmanagerservice.TabletManager.PrimaryPosition. -func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[dev.PrimaryPositionRequest]) (*connect.Response[dev.PrimaryPositionResponse], error) { +func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[dev1.PrimaryPositionRequest]) (*connect.Response[dev1.PrimaryPositionResponse], error) { return c.primaryPosition.CallUnary(ctx, req) } // WaitForPosition calls tabletmanagerservice.TabletManager.WaitForPosition. -func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[dev.WaitForPositionRequest]) (*connect.Response[dev.WaitForPositionResponse], error) { +func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[dev1.WaitForPositionRequest]) (*connect.Response[dev1.WaitForPositionResponse], error) { return c.waitForPosition.CallUnary(ctx, req) } // StopReplication calls tabletmanagerservice.TabletManager.StopReplication. -func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) { +func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // StopReplicationMinimum calls // tabletmanagerservice.TabletManager.StopReplicationMinimum. -func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[dev.StopReplicationMinimumRequest]) (*connect.Response[dev.StopReplicationMinimumResponse], error) { +func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[dev1.StopReplicationMinimumRequest]) (*connect.Response[dev1.StopReplicationMinimumResponse], error) { return c.stopReplicationMinimum.CallUnary(ctx, req) } // StartReplication calls tabletmanagerservice.TabletManager.StartReplication. -func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) { +func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StartReplicationUntilAfter calls // tabletmanagerservice.TabletManager.StartReplicationUntilAfter. -func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[dev.StartReplicationUntilAfterRequest]) (*connect.Response[dev.StartReplicationUntilAfterResponse], error) { +func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[dev1.StartReplicationUntilAfterRequest]) (*connect.Response[dev1.StartReplicationUntilAfterResponse], error) { return c.startReplicationUntilAfter.CallUnary(ctx, req) } // GetReplicas calls tabletmanagerservice.TabletManager.GetReplicas. -func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[dev.GetReplicasRequest]) (*connect.Response[dev.GetReplicasResponse], error) { +func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[dev1.GetReplicasRequest]) (*connect.Response[dev1.GetReplicasResponse], error) { return c.getReplicas.CallUnary(ctx, req) } // CreateVReplicationWorkflow calls // tabletmanagerservice.TabletManager.CreateVReplicationWorkflow. -func (c *tabletManagerClient) CreateVReplicationWorkflow(ctx context.Context, req *connect.Request[dev.CreateVReplicationWorkflowRequest]) (*connect.Response[dev.CreateVReplicationWorkflowResponse], error) { +func (c *tabletManagerClient) CreateVReplicationWorkflow(ctx context.Context, req *connect.Request[dev1.CreateVReplicationWorkflowRequest]) (*connect.Response[dev1.CreateVReplicationWorkflowResponse], error) { return c.createVReplicationWorkflow.CallUnary(ctx, req) } +// DeleteTableData calls tabletmanagerservice.TabletManager.DeleteTableData. +func (c *tabletManagerClient) DeleteTableData(ctx context.Context, req *connect.Request[dev1.DeleteTableDataRequest]) (*connect.Response[dev1.DeleteTableDataResponse], error) { + return c.deleteTableData.CallUnary(ctx, req) +} + // DeleteVReplicationWorkflow calls // tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow. -func (c *tabletManagerClient) DeleteVReplicationWorkflow(ctx context.Context, req *connect.Request[dev.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev.DeleteVReplicationWorkflowResponse], error) { +func (c *tabletManagerClient) DeleteVReplicationWorkflow(ctx context.Context, req *connect.Request[dev1.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev1.DeleteVReplicationWorkflowResponse], error) { return c.deleteVReplicationWorkflow.CallUnary(ctx, req) } +// HasVReplicationWorkflows calls +// tabletmanagerservice.TabletManager.HasVReplicationWorkflows. +func (c *tabletManagerClient) HasVReplicationWorkflows(ctx context.Context, req *connect.Request[dev1.HasVReplicationWorkflowsRequest]) (*connect.Response[dev1.HasVReplicationWorkflowsResponse], error) { + return c.hasVReplicationWorkflows.CallUnary(ctx, req) +} + // ReadVReplicationWorkflow calls // tabletmanagerservice.TabletManager.ReadVReplicationWorkflow. -func (c *tabletManagerClient) ReadVReplicationWorkflow(ctx context.Context, req *connect.Request[dev.ReadVReplicationWorkflowRequest]) (*connect.Response[dev.ReadVReplicationWorkflowResponse], error) { +func (c *tabletManagerClient) ReadVReplicationWorkflow(ctx context.Context, req *connect.Request[dev1.ReadVReplicationWorkflowRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowResponse], error) { return c.readVReplicationWorkflow.CallUnary(ctx, req) } +// ReadVReplicationWorkflows calls +// tabletmanagerservice.TabletManager.ReadVReplicationWorkflows. +func (c *tabletManagerClient) ReadVReplicationWorkflows(ctx context.Context, req *connect.Request[dev1.ReadVReplicationWorkflowsRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowsResponse], error) { + return c.readVReplicationWorkflows.CallUnary(ctx, req) +} + +// UpdateVReplicationWorkflow calls +// tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow. +func (c *tabletManagerClient) UpdateVReplicationWorkflow(ctx context.Context, req *connect.Request[dev1.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowResponse], error) { + return c.updateVReplicationWorkflow.CallUnary(ctx, req) +} + +// UpdateVReplicationWorkflows calls +// tabletmanagerservice.TabletManager.UpdateVReplicationWorkflows. +func (c *tabletManagerClient) UpdateVReplicationWorkflows(ctx context.Context, req *connect.Request[dev1.UpdateVReplicationWorkflowsRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowsResponse], error) { + return c.updateVReplicationWorkflows.CallUnary(ctx, req) +} + +// ValidateVReplicationPermissions calls +// tabletmanagerservice.TabletManager.ValidateVReplicationPermissions. +func (c *tabletManagerClient) ValidateVReplicationPermissions(ctx context.Context, req *connect.Request[dev1.ValidateVReplicationPermissionsRequest]) (*connect.Response[dev1.ValidateVReplicationPermissionsResponse], error) { + return c.validateVReplicationPermissions.CallUnary(ctx, req) +} + // VReplicationExec calls tabletmanagerservice.TabletManager.VReplicationExec. -func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[dev.VReplicationExecRequest]) (*connect.Response[dev.VReplicationExecResponse], error) { +func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[dev1.VReplicationExecRequest]) (*connect.Response[dev1.VReplicationExecResponse], error) { return c.vReplicationExec.CallUnary(ctx, req) } // VReplicationWaitForPos calls // tabletmanagerservice.TabletManager.VReplicationWaitForPos. -func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[dev.VReplicationWaitForPosRequest]) (*connect.Response[dev.VReplicationWaitForPosResponse], error) { +func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[dev1.VReplicationWaitForPosRequest]) (*connect.Response[dev1.VReplicationWaitForPosResponse], error) { return c.vReplicationWaitForPos.CallUnary(ctx, req) } -// UpdateVReplicationWorkflow calls -// tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow. -func (c *tabletManagerClient) UpdateVReplicationWorkflow(ctx context.Context, req *connect.Request[dev.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev.UpdateVReplicationWorkflowResponse], error) { - return c.updateVReplicationWorkflow.CallUnary(ctx, req) -} - // VDiff calls tabletmanagerservice.TabletManager.VDiff. -func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[dev.VDiffRequest]) (*connect.Response[dev.VDiffResponse], error) { +func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[dev1.VDiffRequest]) (*connect.Response[dev1.VDiffResponse], error) { return c.vDiff.CallUnary(ctx, req) } // ResetReplication calls tabletmanagerservice.TabletManager.ResetReplication. -func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[dev.ResetReplicationRequest]) (*connect.Response[dev.ResetReplicationResponse], error) { +func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[dev1.ResetReplicationRequest]) (*connect.Response[dev1.ResetReplicationResponse], error) { return c.resetReplication.CallUnary(ctx, req) } // InitPrimary calls tabletmanagerservice.TabletManager.InitPrimary. -func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[dev.InitPrimaryRequest]) (*connect.Response[dev.InitPrimaryResponse], error) { +func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[dev1.InitPrimaryRequest]) (*connect.Response[dev1.InitPrimaryResponse], error) { return c.initPrimary.CallUnary(ctx, req) } // PopulateReparentJournal calls // tabletmanagerservice.TabletManager.PopulateReparentJournal. -func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[dev.PopulateReparentJournalRequest]) (*connect.Response[dev.PopulateReparentJournalResponse], error) { +func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[dev1.PopulateReparentJournalRequest]) (*connect.Response[dev1.PopulateReparentJournalResponse], error) { return c.populateReparentJournal.CallUnary(ctx, req) } +// ReadReparentJournalInfo calls +// tabletmanagerservice.TabletManager.ReadReparentJournalInfo. +func (c *tabletManagerClient) ReadReparentJournalInfo(ctx context.Context, req *connect.Request[dev1.ReadReparentJournalInfoRequest]) (*connect.Response[dev1.ReadReparentJournalInfoResponse], error) { + return c.readReparentJournalInfo.CallUnary(ctx, req) +} + // InitReplica calls tabletmanagerservice.TabletManager.InitReplica. -func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[dev.InitReplicaRequest]) (*connect.Response[dev.InitReplicaResponse], error) { +func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[dev1.InitReplicaRequest]) (*connect.Response[dev1.InitReplicaResponse], error) { return c.initReplica.CallUnary(ctx, req) } // DemotePrimary calls tabletmanagerservice.TabletManager.DemotePrimary. -func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[dev.DemotePrimaryRequest]) (*connect.Response[dev.DemotePrimaryResponse], error) { +func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[dev1.DemotePrimaryRequest]) (*connect.Response[dev1.DemotePrimaryResponse], error) { return c.demotePrimary.CallUnary(ctx, req) } // UndoDemotePrimary calls tabletmanagerservice.TabletManager.UndoDemotePrimary. -func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[dev.UndoDemotePrimaryRequest]) (*connect.Response[dev.UndoDemotePrimaryResponse], error) { +func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[dev1.UndoDemotePrimaryRequest]) (*connect.Response[dev1.UndoDemotePrimaryResponse], error) { return c.undoDemotePrimary.CallUnary(ctx, req) } // ReplicaWasPromoted calls tabletmanagerservice.TabletManager.ReplicaWasPromoted. -func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[dev.ReplicaWasPromotedRequest]) (*connect.Response[dev.ReplicaWasPromotedResponse], error) { +func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[dev1.ReplicaWasPromotedRequest]) (*connect.Response[dev1.ReplicaWasPromotedResponse], error) { return c.replicaWasPromoted.CallUnary(ctx, req) } // ResetReplicationParameters calls // tabletmanagerservice.TabletManager.ResetReplicationParameters. -func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[dev.ResetReplicationParametersRequest]) (*connect.Response[dev.ResetReplicationParametersResponse], error) { +func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[dev1.ResetReplicationParametersRequest]) (*connect.Response[dev1.ResetReplicationParametersResponse], error) { return c.resetReplicationParameters.CallUnary(ctx, req) } // FullStatus calls tabletmanagerservice.TabletManager.FullStatus. -func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[dev.FullStatusRequest]) (*connect.Response[dev.FullStatusResponse], error) { +func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[dev1.FullStatusRequest]) (*connect.Response[dev1.FullStatusResponse], error) { return c.fullStatus.CallUnary(ctx, req) } // SetReplicationSource calls tabletmanagerservice.TabletManager.SetReplicationSource. -func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[dev.SetReplicationSourceRequest]) (*connect.Response[dev.SetReplicationSourceResponse], error) { +func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[dev1.SetReplicationSourceRequest]) (*connect.Response[dev1.SetReplicationSourceResponse], error) { return c.setReplicationSource.CallUnary(ctx, req) } // ReplicaWasRestarted calls tabletmanagerservice.TabletManager.ReplicaWasRestarted. -func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[dev.ReplicaWasRestartedRequest]) (*connect.Response[dev.ReplicaWasRestartedResponse], error) { +func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[dev1.ReplicaWasRestartedRequest]) (*connect.Response[dev1.ReplicaWasRestartedResponse], error) { return c.replicaWasRestarted.CallUnary(ctx, req) } // StopReplicationAndGetStatus calls // tabletmanagerservice.TabletManager.StopReplicationAndGetStatus. -func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[dev.StopReplicationAndGetStatusRequest]) (*connect.Response[dev.StopReplicationAndGetStatusResponse], error) { +func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[dev1.StopReplicationAndGetStatusRequest]) (*connect.Response[dev1.StopReplicationAndGetStatusResponse], error) { return c.stopReplicationAndGetStatus.CallUnary(ctx, req) } // PromoteReplica calls tabletmanagerservice.TabletManager.PromoteReplica. -func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[dev.PromoteReplicaRequest]) (*connect.Response[dev.PromoteReplicaResponse], error) { +func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[dev1.PromoteReplicaRequest]) (*connect.Response[dev1.PromoteReplicaResponse], error) { return c.promoteReplica.CallUnary(ctx, req) } // Backup calls tabletmanagerservice.TabletManager.Backup. -func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[dev.BackupRequest]) (*connect.ServerStreamForClient[dev.BackupResponse], error) { +func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[dev1.BackupRequest]) (*connect.ServerStreamForClient[dev1.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // RestoreFromBackup calls tabletmanagerservice.TabletManager.RestoreFromBackup. -func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[dev.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev.RestoreFromBackupResponse], error) { +func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[dev1.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev1.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } // CheckThrottler calls tabletmanagerservice.TabletManager.CheckThrottler. -func (c *tabletManagerClient) CheckThrottler(ctx context.Context, req *connect.Request[dev.CheckThrottlerRequest]) (*connect.Response[dev.CheckThrottlerResponse], error) { +func (c *tabletManagerClient) CheckThrottler(ctx context.Context, req *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) { return c.checkThrottler.CallUnary(ctx, req) } +// GetThrottlerStatus calls tabletmanagerservice.TabletManager.GetThrottlerStatus. +func (c *tabletManagerClient) GetThrottlerStatus(ctx context.Context, req *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) { + return c.getThrottlerStatus.CallUnary(ctx, req) +} + // TabletManagerHandler is an implementation of the tabletmanagerservice.TabletManager // service. type TabletManagerHandler interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[dev.PingRequest]) (*connect.Response[dev.PingResponse], error) + Ping(context.Context, *connect.Request[dev1.PingRequest]) (*connect.Response[dev1.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[dev.SleepRequest]) (*connect.Response[dev.SleepResponse], error) + Sleep(context.Context, *connect.Request[dev1.SleepRequest]) (*connect.Response[dev1.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[dev.SetReadWriteRequest]) (*connect.Response[dev.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) + // GetGlobalStatusVars returns the server's global status variables asked for. + // An empty/nil variable name parameter slice means you want all of them. + GetGlobalStatusVars(context.Context, *connect.Request[dev1.GetGlobalStatusVarsRequest]) (*connect.Response[dev1.GetGlobalStatusVarsResponse], error) + SetReadOnly(context.Context, *connect.Request[dev1.SetReadOnlyRequest]) (*connect.Response[dev1.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[dev1.SetReadWriteRequest]) (*connect.Response[dev1.SetReadWriteResponse], error) + // ChangeTags asks the remote tablet to change its tags + ChangeTags(context.Context, *connect.Request[dev1.ChangeTagsRequest]) (*connect.Response[dev1.ChangeTagsResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[dev.ChangeTypeRequest]) (*connect.Response[dev.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[dev.PreflightSchemaRequest]) (*connect.Response[dev.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) - ResetSequences(context.Context, *connect.Request[dev.ResetSequencesRequest]) (*connect.Response[dev.ResetSequencesResponse], error) - LockTables(context.Context, *connect.Request[dev.LockTablesRequest]) (*connect.Response[dev.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[dev.UnlockTablesRequest]) (*connect.Response[dev.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[dev.ExecuteQueryRequest]) (*connect.Response[dev.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[dev.ExecuteFetchAsDbaRequest]) (*connect.Response[dev.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[dev.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[dev1.ChangeTypeRequest]) (*connect.Response[dev1.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[dev1.PreflightSchemaRequest]) (*connect.Response[dev1.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) + ResetSequences(context.Context, *connect.Request[dev1.ResetSequencesRequest]) (*connect.Response[dev1.ResetSequencesResponse], error) + LockTables(context.Context, *connect.Request[dev1.LockTablesRequest]) (*connect.Response[dev1.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[dev1.UnlockTablesRequest]) (*connect.Response[dev1.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[dev1.ExecuteQueryRequest]) (*connect.Response[dev1.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[dev1.ExecuteFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteFetchAsDbaResponse], error) + ExecuteMultiFetchAsDba(context.Context, *connect.Request[dev1.ExecuteMultiFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[dev1.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev1.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) + GetUnresolvedTransactions(context.Context, *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) + ReadTransaction(context.Context, *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) + GetTransactionInfo(context.Context, *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) + ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) + MysqlHostMetrics(context.Context, *connect.Request[dev1.MysqlHostMetricsRequest]) (*connect.Response[dev1.MysqlHostMetricsResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[dev.ReplicationStatusRequest]) (*connect.Response[dev.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[dev1.ReplicationStatusRequest]) (*connect.Response[dev1.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[dev.PrimaryStatusRequest]) (*connect.Response[dev.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[dev1.PrimaryStatusRequest]) (*connect.Response[dev1.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[dev.PrimaryPositionRequest]) (*connect.Response[dev.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[dev1.PrimaryPositionRequest]) (*connect.Response[dev1.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[dev.WaitForPositionRequest]) (*connect.Response[dev.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[dev1.WaitForPositionRequest]) (*connect.Response[dev1.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[dev.StopReplicationMinimumRequest]) (*connect.Response[dev.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[dev1.StopReplicationMinimumRequest]) (*connect.Response[dev1.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[dev.StartReplicationUntilAfterRequest]) (*connect.Response[dev.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[dev1.StartReplicationUntilAfterRequest]) (*connect.Response[dev1.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[dev.GetReplicasRequest]) (*connect.Response[dev.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[dev1.GetReplicasRequest]) (*connect.Response[dev1.GetReplicasResponse], error) // VReplication API - CreateVReplicationWorkflow(context.Context, *connect.Request[dev.CreateVReplicationWorkflowRequest]) (*connect.Response[dev.CreateVReplicationWorkflowResponse], error) - DeleteVReplicationWorkflow(context.Context, *connect.Request[dev.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev.DeleteVReplicationWorkflowResponse], error) - ReadVReplicationWorkflow(context.Context, *connect.Request[dev.ReadVReplicationWorkflowRequest]) (*connect.Response[dev.ReadVReplicationWorkflowResponse], error) - VReplicationExec(context.Context, *connect.Request[dev.VReplicationExecRequest]) (*connect.Response[dev.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[dev.VReplicationWaitForPosRequest]) (*connect.Response[dev.VReplicationWaitForPosResponse], error) - UpdateVReplicationWorkflow(context.Context, *connect.Request[dev.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev.UpdateVReplicationWorkflowResponse], error) + CreateVReplicationWorkflow(context.Context, *connect.Request[dev1.CreateVReplicationWorkflowRequest]) (*connect.Response[dev1.CreateVReplicationWorkflowResponse], error) + DeleteTableData(context.Context, *connect.Request[dev1.DeleteTableDataRequest]) (*connect.Response[dev1.DeleteTableDataResponse], error) + DeleteVReplicationWorkflow(context.Context, *connect.Request[dev1.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev1.DeleteVReplicationWorkflowResponse], error) + HasVReplicationWorkflows(context.Context, *connect.Request[dev1.HasVReplicationWorkflowsRequest]) (*connect.Response[dev1.HasVReplicationWorkflowsResponse], error) + ReadVReplicationWorkflow(context.Context, *connect.Request[dev1.ReadVReplicationWorkflowRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowResponse], error) + ReadVReplicationWorkflows(context.Context, *connect.Request[dev1.ReadVReplicationWorkflowsRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowsResponse], error) + UpdateVReplicationWorkflow(context.Context, *connect.Request[dev1.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowResponse], error) + UpdateVReplicationWorkflows(context.Context, *connect.Request[dev1.UpdateVReplicationWorkflowsRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowsResponse], error) + ValidateVReplicationPermissions(context.Context, *connect.Request[dev1.ValidateVReplicationPermissionsRequest]) (*connect.Response[dev1.ValidateVReplicationPermissionsResponse], error) + VReplicationExec(context.Context, *connect.Request[dev1.VReplicationExecRequest]) (*connect.Response[dev1.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[dev1.VReplicationWaitForPosRequest]) (*connect.Response[dev1.VReplicationWaitForPosResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[dev.VDiffRequest]) (*connect.Response[dev.VDiffResponse], error) + VDiff(context.Context, *connect.Request[dev1.VDiffRequest]) (*connect.Response[dev1.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[dev.ResetReplicationRequest]) (*connect.Response[dev.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[dev1.ResetReplicationRequest]) (*connect.Response[dev1.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[dev.InitPrimaryRequest]) (*connect.Response[dev.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[dev1.InitPrimaryRequest]) (*connect.Response[dev1.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[dev.PopulateReparentJournalRequest]) (*connect.Response[dev.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[dev1.PopulateReparentJournalRequest]) (*connect.Response[dev1.PopulateReparentJournalResponse], error) + // ReadReparentJournalInfo reads the information from reparent journal + ReadReparentJournalInfo(context.Context, *connect.Request[dev1.ReadReparentJournalInfoRequest]) (*connect.Response[dev1.ReadReparentJournalInfoResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[dev.InitReplicaRequest]) (*connect.Response[dev.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[dev1.InitReplicaRequest]) (*connect.Response[dev1.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[dev.DemotePrimaryRequest]) (*connect.Response[dev.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[dev1.DemotePrimaryRequest]) (*connect.Response[dev1.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[dev.UndoDemotePrimaryRequest]) (*connect.Response[dev.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[dev1.UndoDemotePrimaryRequest]) (*connect.Response[dev1.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[dev.ReplicaWasPromotedRequest]) (*connect.Response[dev.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[dev1.ReplicaWasPromotedRequest]) (*connect.Response[dev1.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[dev.ResetReplicationParametersRequest]) (*connect.Response[dev.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[dev1.ResetReplicationParametersRequest]) (*connect.Response[dev1.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[dev.FullStatusRequest]) (*connect.Response[dev.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[dev1.FullStatusRequest]) (*connect.Response[dev1.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[dev.SetReplicationSourceRequest]) (*connect.Response[dev.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[dev1.SetReplicationSourceRequest]) (*connect.Response[dev1.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[dev.ReplicaWasRestartedRequest]) (*connect.Response[dev.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[dev1.ReplicaWasRestartedRequest]) (*connect.Response[dev1.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[dev.StopReplicationAndGetStatusRequest]) (*connect.Response[dev.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[dev1.StopReplicationAndGetStatusRequest]) (*connect.Response[dev1.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[dev.PromoteReplicaRequest]) (*connect.Response[dev.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[dev.BackupRequest], *connect.ServerStream[dev.BackupResponse]) error + PromoteReplica(context.Context, *connect.Request[dev1.PromoteReplicaRequest]) (*connect.Response[dev1.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[dev1.BackupRequest], *connect.ServerStream[dev1.BackupResponse]) error // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[dev.RestoreFromBackupRequest], *connect.ServerStream[dev.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[dev1.RestoreFromBackupRequest], *connect.ServerStream[dev1.RestoreFromBackupResponse]) error // CheckThrottler issues a 'check' on a tablet's throttler - CheckThrottler(context.Context, *connect.Request[dev.CheckThrottlerRequest]) (*connect.Response[dev.CheckThrottlerResponse], error) + CheckThrottler(context.Context, *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) + // GetThrottlerStatus gets the status of a tablet throttler + GetThrottlerStatus(context.Context, *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) } // NewTabletManagerHandler builds an HTTP handler from the service implementation. It returns the @@ -998,262 +1394,404 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerPingHandler := connect.NewUnaryHandler( TabletManagerPingProcedure, svc.Ping, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSleepHandler := connect.NewUnaryHandler( TabletManagerSleepProcedure, svc.Sleep, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteHookHandler := connect.NewUnaryHandler( TabletManagerExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetSchemaHandler := connect.NewUnaryHandler( TabletManagerGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetPermissionsHandler := connect.NewUnaryHandler( TabletManagerGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerGetGlobalStatusVarsHandler := connect.NewUnaryHandler( + TabletManagerGetGlobalStatusVarsProcedure, + svc.GetGlobalStatusVars, + connect.WithSchema(tabletManagerGetGlobalStatusVarsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadOnlyHandler := connect.NewUnaryHandler( TabletManagerSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadWriteHandler := connect.NewUnaryHandler( TabletManagerSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerChangeTagsHandler := connect.NewUnaryHandler( + TabletManagerChangeTagsProcedure, + svc.ChangeTags, + connect.WithSchema(tabletManagerChangeTagsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerChangeTypeHandler := connect.NewUnaryHandler( TabletManagerChangeTypeProcedure, svc.ChangeType, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRefreshStateHandler := connect.NewUnaryHandler( TabletManagerRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRunHealthCheckHandler := connect.NewUnaryHandler( TabletManagerRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReloadSchemaHandler := connect.NewUnaryHandler( TabletManagerReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPreflightSchemaHandler := connect.NewUnaryHandler( TabletManagerPreflightSchemaProcedure, svc.PreflightSchema, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerApplySchemaHandler := connect.NewUnaryHandler( TabletManagerApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetSequencesHandler := connect.NewUnaryHandler( TabletManagerResetSequencesProcedure, svc.ResetSequences, - opts..., + connect.WithSchema(tabletManagerResetSequencesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerLockTablesHandler := connect.NewUnaryHandler( TabletManagerLockTablesProcedure, svc.LockTables, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUnlockTablesHandler := connect.NewUnaryHandler( TabletManagerUnlockTablesProcedure, svc.UnlockTables, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteQueryHandler := connect.NewUnaryHandler( TabletManagerExecuteQueryProcedure, svc.ExecuteQuery, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsDbaHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsDbaProcedure, svc.ExecuteFetchAsDba, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerExecuteMultiFetchAsDbaHandler := connect.NewUnaryHandler( + TabletManagerExecuteMultiFetchAsDbaProcedure, + svc.ExecuteMultiFetchAsDba, + connect.WithSchema(tabletManagerExecuteMultiFetchAsDbaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAllPrivsHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAllPrivsProcedure, svc.ExecuteFetchAsAllPrivs, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAppHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerGetUnresolvedTransactionsHandler := connect.NewUnaryHandler( + TabletManagerGetUnresolvedTransactionsProcedure, + svc.GetUnresolvedTransactions, + connect.WithSchema(tabletManagerGetUnresolvedTransactionsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReadTransactionHandler := connect.NewUnaryHandler( + TabletManagerReadTransactionProcedure, + svc.ReadTransaction, + connect.WithSchema(tabletManagerReadTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerGetTransactionInfoHandler := connect.NewUnaryHandler( + TabletManagerGetTransactionInfoProcedure, + svc.GetTransactionInfo, + connect.WithSchema(tabletManagerGetTransactionInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerConcludeTransactionHandler := connect.NewUnaryHandler( + TabletManagerConcludeTransactionProcedure, + svc.ConcludeTransaction, + connect.WithSchema(tabletManagerConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerMysqlHostMetricsHandler := connect.NewUnaryHandler( + TabletManagerMysqlHostMetricsProcedure, + svc.MysqlHostMetrics, + connect.WithSchema(tabletManagerMysqlHostMetricsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicationStatusHandler := connect.NewUnaryHandler( TabletManagerReplicationStatusProcedure, svc.ReplicationStatus, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryStatusHandler := connect.NewUnaryHandler( TabletManagerPrimaryStatusProcedure, svc.PrimaryStatus, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryPositionHandler := connect.NewUnaryHandler( TabletManagerPrimaryPositionProcedure, svc.PrimaryPosition, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerWaitForPositionHandler := connect.NewUnaryHandler( TabletManagerWaitForPositionProcedure, svc.WaitForPosition, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationHandler := connect.NewUnaryHandler( TabletManagerStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationMinimumHandler := connect.NewUnaryHandler( TabletManagerStopReplicationMinimumProcedure, svc.StopReplicationMinimum, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationHandler := connect.NewUnaryHandler( TabletManagerStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationUntilAfterHandler := connect.NewUnaryHandler( TabletManagerStartReplicationUntilAfterProcedure, svc.StartReplicationUntilAfter, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetReplicasHandler := connect.NewUnaryHandler( TabletManagerGetReplicasProcedure, svc.GetReplicas, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerCreateVReplicationWorkflowHandler := connect.NewUnaryHandler( TabletManagerCreateVReplicationWorkflowProcedure, svc.CreateVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerCreateVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerDeleteTableDataHandler := connect.NewUnaryHandler( + TabletManagerDeleteTableDataProcedure, + svc.DeleteTableData, + connect.WithSchema(tabletManagerDeleteTableDataMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerDeleteVReplicationWorkflowHandler := connect.NewUnaryHandler( TabletManagerDeleteVReplicationWorkflowProcedure, svc.DeleteVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerDeleteVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerHasVReplicationWorkflowsHandler := connect.NewUnaryHandler( + TabletManagerHasVReplicationWorkflowsProcedure, + svc.HasVReplicationWorkflows, + connect.WithSchema(tabletManagerHasVReplicationWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReadVReplicationWorkflowHandler := connect.NewUnaryHandler( TabletManagerReadVReplicationWorkflowProcedure, svc.ReadVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerReadVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReadVReplicationWorkflowsHandler := connect.NewUnaryHandler( + TabletManagerReadVReplicationWorkflowsProcedure, + svc.ReadVReplicationWorkflows, + connect.WithSchema(tabletManagerReadVReplicationWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerUpdateVReplicationWorkflowHandler := connect.NewUnaryHandler( + TabletManagerUpdateVReplicationWorkflowProcedure, + svc.UpdateVReplicationWorkflow, + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerUpdateVReplicationWorkflowsHandler := connect.NewUnaryHandler( + TabletManagerUpdateVReplicationWorkflowsProcedure, + svc.UpdateVReplicationWorkflows, + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerValidateVReplicationPermissionsHandler := connect.NewUnaryHandler( + TabletManagerValidateVReplicationPermissionsProcedure, + svc.ValidateVReplicationPermissions, + connect.WithSchema(tabletManagerValidateVReplicationPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationExecHandler := connect.NewUnaryHandler( TabletManagerVReplicationExecProcedure, svc.VReplicationExec, - opts..., + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationWaitForPosHandler := connect.NewUnaryHandler( TabletManagerVReplicationWaitForPosProcedure, svc.VReplicationWaitForPos, - opts..., - ) - tabletManagerUpdateVReplicationWorkflowHandler := connect.NewUnaryHandler( - TabletManagerUpdateVReplicationWorkflowProcedure, - svc.UpdateVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVDiffHandler := connect.NewUnaryHandler( TabletManagerVDiffProcedure, svc.VDiff, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationHandler := connect.NewUnaryHandler( TabletManagerResetReplicationProcedure, svc.ResetReplication, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitPrimaryHandler := connect.NewUnaryHandler( TabletManagerInitPrimaryProcedure, svc.InitPrimary, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPopulateReparentJournalHandler := connect.NewUnaryHandler( TabletManagerPopulateReparentJournalProcedure, svc.PopulateReparentJournal, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReadReparentJournalInfoHandler := connect.NewUnaryHandler( + TabletManagerReadReparentJournalInfoProcedure, + svc.ReadReparentJournalInfo, + connect.WithSchema(tabletManagerReadReparentJournalInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitReplicaHandler := connect.NewUnaryHandler( TabletManagerInitReplicaProcedure, svc.InitReplica, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerDemotePrimaryProcedure, svc.DemotePrimary, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUndoDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerUndoDemotePrimaryProcedure, svc.UndoDemotePrimary, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasPromotedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasPromotedProcedure, svc.ReplicaWasPromoted, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationParametersHandler := connect.NewUnaryHandler( TabletManagerResetReplicationParametersProcedure, svc.ResetReplicationParameters, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerFullStatusHandler := connect.NewUnaryHandler( TabletManagerFullStatusProcedure, svc.FullStatus, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReplicationSourceHandler := connect.NewUnaryHandler( TabletManagerSetReplicationSourceProcedure, svc.SetReplicationSource, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasRestartedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasRestartedProcedure, svc.ReplicaWasRestarted, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationAndGetStatusHandler := connect.NewUnaryHandler( TabletManagerStopReplicationAndGetStatusProcedure, svc.StopReplicationAndGetStatus, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPromoteReplicaHandler := connect.NewUnaryHandler( TabletManagerPromoteReplicaProcedure, svc.PromoteReplica, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerBackupHandler := connect.NewServerStreamHandler( TabletManagerBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRestoreFromBackupHandler := connect.NewServerStreamHandler( TabletManagerRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerCheckThrottlerHandler := connect.NewUnaryHandler( TabletManagerCheckThrottlerProcedure, svc.CheckThrottler, - opts..., + connect.WithSchema(tabletManagerCheckThrottlerMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerGetThrottlerStatusHandler := connect.NewUnaryHandler( + TabletManagerGetThrottlerStatusProcedure, + svc.GetThrottlerStatus, + connect.WithSchema(tabletManagerGetThrottlerStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/tabletmanagerservice.TabletManager/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -1267,10 +1805,14 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerGetSchemaHandler.ServeHTTP(w, r) case TabletManagerGetPermissionsProcedure: tabletManagerGetPermissionsHandler.ServeHTTP(w, r) + case TabletManagerGetGlobalStatusVarsProcedure: + tabletManagerGetGlobalStatusVarsHandler.ServeHTTP(w, r) case TabletManagerSetReadOnlyProcedure: tabletManagerSetReadOnlyHandler.ServeHTTP(w, r) case TabletManagerSetReadWriteProcedure: tabletManagerSetReadWriteHandler.ServeHTTP(w, r) + case TabletManagerChangeTagsProcedure: + tabletManagerChangeTagsHandler.ServeHTTP(w, r) case TabletManagerChangeTypeProcedure: tabletManagerChangeTypeHandler.ServeHTTP(w, r) case TabletManagerRefreshStateProcedure: @@ -1293,10 +1835,22 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerExecuteQueryHandler.ServeHTTP(w, r) case TabletManagerExecuteFetchAsDbaProcedure: tabletManagerExecuteFetchAsDbaHandler.ServeHTTP(w, r) + case TabletManagerExecuteMultiFetchAsDbaProcedure: + tabletManagerExecuteMultiFetchAsDbaHandler.ServeHTTP(w, r) case TabletManagerExecuteFetchAsAllPrivsProcedure: tabletManagerExecuteFetchAsAllPrivsHandler.ServeHTTP(w, r) case TabletManagerExecuteFetchAsAppProcedure: tabletManagerExecuteFetchAsAppHandler.ServeHTTP(w, r) + case TabletManagerGetUnresolvedTransactionsProcedure: + tabletManagerGetUnresolvedTransactionsHandler.ServeHTTP(w, r) + case TabletManagerReadTransactionProcedure: + tabletManagerReadTransactionHandler.ServeHTTP(w, r) + case TabletManagerGetTransactionInfoProcedure: + tabletManagerGetTransactionInfoHandler.ServeHTTP(w, r) + case TabletManagerConcludeTransactionProcedure: + tabletManagerConcludeTransactionHandler.ServeHTTP(w, r) + case TabletManagerMysqlHostMetricsProcedure: + tabletManagerMysqlHostMetricsHandler.ServeHTTP(w, r) case TabletManagerReplicationStatusProcedure: tabletManagerReplicationStatusHandler.ServeHTTP(w, r) case TabletManagerPrimaryStatusProcedure: @@ -1317,16 +1871,26 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerGetReplicasHandler.ServeHTTP(w, r) case TabletManagerCreateVReplicationWorkflowProcedure: tabletManagerCreateVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerDeleteTableDataProcedure: + tabletManagerDeleteTableDataHandler.ServeHTTP(w, r) case TabletManagerDeleteVReplicationWorkflowProcedure: tabletManagerDeleteVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerHasVReplicationWorkflowsProcedure: + tabletManagerHasVReplicationWorkflowsHandler.ServeHTTP(w, r) case TabletManagerReadVReplicationWorkflowProcedure: tabletManagerReadVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerReadVReplicationWorkflowsProcedure: + tabletManagerReadVReplicationWorkflowsHandler.ServeHTTP(w, r) + case TabletManagerUpdateVReplicationWorkflowProcedure: + tabletManagerUpdateVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerUpdateVReplicationWorkflowsProcedure: + tabletManagerUpdateVReplicationWorkflowsHandler.ServeHTTP(w, r) + case TabletManagerValidateVReplicationPermissionsProcedure: + tabletManagerValidateVReplicationPermissionsHandler.ServeHTTP(w, r) case TabletManagerVReplicationExecProcedure: tabletManagerVReplicationExecHandler.ServeHTTP(w, r) case TabletManagerVReplicationWaitForPosProcedure: tabletManagerVReplicationWaitForPosHandler.ServeHTTP(w, r) - case TabletManagerUpdateVReplicationWorkflowProcedure: - tabletManagerUpdateVReplicationWorkflowHandler.ServeHTTP(w, r) case TabletManagerVDiffProcedure: tabletManagerVDiffHandler.ServeHTTP(w, r) case TabletManagerResetReplicationProcedure: @@ -1335,6 +1899,8 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerInitPrimaryHandler.ServeHTTP(w, r) case TabletManagerPopulateReparentJournalProcedure: tabletManagerPopulateReparentJournalHandler.ServeHTTP(w, r) + case TabletManagerReadReparentJournalInfoProcedure: + tabletManagerReadReparentJournalInfoHandler.ServeHTTP(w, r) case TabletManagerInitReplicaProcedure: tabletManagerInitReplicaHandler.ServeHTTP(w, r) case TabletManagerDemotePrimaryProcedure: @@ -1361,6 +1927,8 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerRestoreFromBackupHandler.ServeHTTP(w, r) case TabletManagerCheckThrottlerProcedure: tabletManagerCheckThrottlerHandler.ServeHTTP(w, r) + case TabletManagerGetThrottlerStatusProcedure: + tabletManagerGetThrottlerStatusHandler.ServeHTTP(w, r) default: http.NotFound(w, r) } @@ -1370,210 +1938,270 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp // UnimplementedTabletManagerHandler returns CodeUnimplemented from all methods. type UnimplementedTabletManagerHandler struct{} -func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[dev.PingRequest]) (*connect.Response[dev.PingResponse], error) { +func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[dev1.PingRequest]) (*connect.Response[dev1.PingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Ping is not implemented")) } -func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[dev.SleepRequest]) (*connect.Response[dev.SleepResponse], error) { +func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[dev1.SleepRequest]) (*connect.Response[dev1.SleepResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Sleep is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteHook is not implemented")) } -func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) { +func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetPermissions is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) { +func (UnimplementedTabletManagerHandler) GetGlobalStatusVars(context.Context, *connect.Request[dev1.GetGlobalStatusVarsRequest]) (*connect.Response[dev1.GetGlobalStatusVarsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetGlobalStatusVars is not implemented")) +} + +func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[dev1.SetReadOnlyRequest]) (*connect.Response[dev1.SetReadOnlyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadOnly is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[dev.SetReadWriteRequest]) (*connect.Response[dev.SetReadWriteResponse], error) { +func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[dev1.SetReadWriteRequest]) (*connect.Response[dev1.SetReadWriteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadWrite is not implemented")) } -func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[dev.ChangeTypeRequest]) (*connect.Response[dev.ChangeTypeResponse], error) { +func (UnimplementedTabletManagerHandler) ChangeTags(context.Context, *connect.Request[dev1.ChangeTagsRequest]) (*connect.Response[dev1.ChangeTagsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ChangeTags is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[dev1.ChangeTypeRequest]) (*connect.Response[dev1.ChangeTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ChangeType is not implemented")) } -func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) { +func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RefreshState is not implemented")) } -func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) { +func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RunHealthCheck is not implemented")) } -func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReloadSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[dev.PreflightSchemaRequest]) (*connect.Response[dev.PreflightSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[dev1.PreflightSchemaRequest]) (*connect.Response[dev1.PreflightSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PreflightSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ApplySchema is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetSequences(context.Context, *connect.Request[dev.ResetSequencesRequest]) (*connect.Response[dev.ResetSequencesResponse], error) { +func (UnimplementedTabletManagerHandler) ResetSequences(context.Context, *connect.Request[dev1.ResetSequencesRequest]) (*connect.Response[dev1.ResetSequencesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetSequences is not implemented")) } -func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[dev.LockTablesRequest]) (*connect.Response[dev.LockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[dev1.LockTablesRequest]) (*connect.Response[dev1.LockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.LockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[dev.UnlockTablesRequest]) (*connect.Response[dev.UnlockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[dev1.UnlockTablesRequest]) (*connect.Response[dev1.UnlockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UnlockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[dev.ExecuteQueryRequest]) (*connect.Response[dev.ExecuteQueryResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[dev1.ExecuteQueryRequest]) (*connect.Response[dev1.ExecuteQueryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteQuery is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[dev.ExecuteFetchAsDbaRequest]) (*connect.Response[dev.ExecuteFetchAsDbaResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[dev1.ExecuteFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteFetchAsDbaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsDba is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[dev.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev.ExecuteFetchAsAllPrivsResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteMultiFetchAsDba(context.Context, *connect.Request[dev1.ExecuteMultiFetchAsDbaRequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDbaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteMultiFetchAsDba is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[dev1.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[dev1.ExecuteFetchAsAllPrivsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[dev.ReplicationStatusRequest]) (*connect.Response[dev.ReplicationStatusResponse], error) { +func (UnimplementedTabletManagerHandler) GetUnresolvedTransactions(context.Context, *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetUnresolvedTransactions is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ReadTransaction(context.Context, *connect.Request[dev1.ReadTransactionRequest]) (*connect.Response[dev1.ReadTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReadTransaction is not implemented")) +} + +func (UnimplementedTabletManagerHandler) GetTransactionInfo(context.Context, *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetTransactionInfo is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ConcludeTransaction is not implemented")) +} + +func (UnimplementedTabletManagerHandler) MysqlHostMetrics(context.Context, *connect.Request[dev1.MysqlHostMetricsRequest]) (*connect.Response[dev1.MysqlHostMetricsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.MysqlHostMetrics is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[dev1.ReplicationStatusRequest]) (*connect.Response[dev1.ReplicationStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicationStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[dev.PrimaryStatusRequest]) (*connect.Response[dev.PrimaryStatusResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[dev1.PrimaryStatusRequest]) (*connect.Response[dev1.PrimaryStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[dev.PrimaryPositionRequest]) (*connect.Response[dev.PrimaryPositionResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[dev1.PrimaryPositionRequest]) (*connect.Response[dev1.PrimaryPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[dev.WaitForPositionRequest]) (*connect.Response[dev.WaitForPositionResponse], error) { +func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[dev1.WaitForPositionRequest]) (*connect.Response[dev1.WaitForPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.WaitForPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[dev.StopReplicationMinimumRequest]) (*connect.Response[dev.StopReplicationMinimumResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[dev1.StopReplicationMinimumRequest]) (*connect.Response[dev1.StopReplicationMinimumResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationMinimum is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[dev.StartReplicationUntilAfterRequest]) (*connect.Response[dev.StartReplicationUntilAfterResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[dev1.StartReplicationUntilAfterRequest]) (*connect.Response[dev1.StartReplicationUntilAfterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplicationUntilAfter is not implemented")) } -func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[dev.GetReplicasRequest]) (*connect.Response[dev.GetReplicasResponse], error) { +func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[dev1.GetReplicasRequest]) (*connect.Response[dev1.GetReplicasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetReplicas is not implemented")) } -func (UnimplementedTabletManagerHandler) CreateVReplicationWorkflow(context.Context, *connect.Request[dev.CreateVReplicationWorkflowRequest]) (*connect.Response[dev.CreateVReplicationWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) CreateVReplicationWorkflow(context.Context, *connect.Request[dev1.CreateVReplicationWorkflowRequest]) (*connect.Response[dev1.CreateVReplicationWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.CreateVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) DeleteVReplicationWorkflow(context.Context, *connect.Request[dev.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev.DeleteVReplicationWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) DeleteTableData(context.Context, *connect.Request[dev1.DeleteTableDataRequest]) (*connect.Response[dev1.DeleteTableDataResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DeleteTableData is not implemented")) +} + +func (UnimplementedTabletManagerHandler) DeleteVReplicationWorkflow(context.Context, *connect.Request[dev1.DeleteVReplicationWorkflowRequest]) (*connect.Response[dev1.DeleteVReplicationWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) ReadVReplicationWorkflow(context.Context, *connect.Request[dev.ReadVReplicationWorkflowRequest]) (*connect.Response[dev.ReadVReplicationWorkflowResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReadVReplicationWorkflow is not implemented")) +func (UnimplementedTabletManagerHandler) HasVReplicationWorkflows(context.Context, *connect.Request[dev1.HasVReplicationWorkflowsRequest]) (*connect.Response[dev1.HasVReplicationWorkflowsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.HasVReplicationWorkflows is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[dev.VReplicationExecRequest]) (*connect.Response[dev.VReplicationExecResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationExec is not implemented")) +func (UnimplementedTabletManagerHandler) ReadVReplicationWorkflow(context.Context, *connect.Request[dev1.ReadVReplicationWorkflowRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReadVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[dev.VReplicationWaitForPosRequest]) (*connect.Response[dev.VReplicationWaitForPosResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationWaitForPos is not implemented")) +func (UnimplementedTabletManagerHandler) ReadVReplicationWorkflows(context.Context, *connect.Request[dev1.ReadVReplicationWorkflowsRequest]) (*connect.Response[dev1.ReadVReplicationWorkflowsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReadVReplicationWorkflows is not implemented")) } -func (UnimplementedTabletManagerHandler) UpdateVReplicationWorkflow(context.Context, *connect.Request[dev.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev.UpdateVReplicationWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) UpdateVReplicationWorkflow(context.Context, *connect.Request[dev1.UpdateVReplicationWorkflowRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[dev.VDiffRequest]) (*connect.Response[dev.VDiffResponse], error) { +func (UnimplementedTabletManagerHandler) UpdateVReplicationWorkflows(context.Context, *connect.Request[dev1.UpdateVReplicationWorkflowsRequest]) (*connect.Response[dev1.UpdateVReplicationWorkflowsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UpdateVReplicationWorkflows is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ValidateVReplicationPermissions(context.Context, *connect.Request[dev1.ValidateVReplicationPermissionsRequest]) (*connect.Response[dev1.ValidateVReplicationPermissionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ValidateVReplicationPermissions is not implemented")) +} + +func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[dev1.VReplicationExecRequest]) (*connect.Response[dev1.VReplicationExecResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationExec is not implemented")) +} + +func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[dev1.VReplicationWaitForPosRequest]) (*connect.Response[dev1.VReplicationWaitForPosResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationWaitForPos is not implemented")) +} + +func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[dev1.VDiffRequest]) (*connect.Response[dev1.VDiffResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VDiff is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[dev.ResetReplicationRequest]) (*connect.Response[dev.ResetReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[dev1.ResetReplicationRequest]) (*connect.Response[dev1.ResetReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[dev.InitPrimaryRequest]) (*connect.Response[dev.InitPrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[dev1.InitPrimaryRequest]) (*connect.Response[dev1.InitPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitPrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[dev.PopulateReparentJournalRequest]) (*connect.Response[dev.PopulateReparentJournalResponse], error) { +func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[dev1.PopulateReparentJournalRequest]) (*connect.Response[dev1.PopulateReparentJournalResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PopulateReparentJournal is not implemented")) } -func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[dev.InitReplicaRequest]) (*connect.Response[dev.InitReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) ReadReparentJournalInfo(context.Context, *connect.Request[dev1.ReadReparentJournalInfoRequest]) (*connect.Response[dev1.ReadReparentJournalInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReadReparentJournalInfo is not implemented")) +} + +func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[dev1.InitReplicaRequest]) (*connect.Response[dev1.InitReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[dev.DemotePrimaryRequest]) (*connect.Response[dev.DemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[dev1.DemotePrimaryRequest]) (*connect.Response[dev1.DemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[dev.UndoDemotePrimaryRequest]) (*connect.Response[dev.UndoDemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[dev1.UndoDemotePrimaryRequest]) (*connect.Response[dev1.UndoDemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UndoDemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[dev.ReplicaWasPromotedRequest]) (*connect.Response[dev.ReplicaWasPromotedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[dev1.ReplicaWasPromotedRequest]) (*connect.Response[dev1.ReplicaWasPromotedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasPromoted is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[dev.ResetReplicationParametersRequest]) (*connect.Response[dev.ResetReplicationParametersResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[dev1.ResetReplicationParametersRequest]) (*connect.Response[dev1.ResetReplicationParametersResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplicationParameters is not implemented")) } -func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[dev.FullStatusRequest]) (*connect.Response[dev.FullStatusResponse], error) { +func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[dev1.FullStatusRequest]) (*connect.Response[dev1.FullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.FullStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[dev.SetReplicationSourceRequest]) (*connect.Response[dev.SetReplicationSourceResponse], error) { +func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[dev1.SetReplicationSourceRequest]) (*connect.Response[dev1.SetReplicationSourceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReplicationSource is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[dev.ReplicaWasRestartedRequest]) (*connect.Response[dev.ReplicaWasRestartedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[dev1.ReplicaWasRestartedRequest]) (*connect.Response[dev1.ReplicaWasRestartedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasRestarted is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[dev.StopReplicationAndGetStatusRequest]) (*connect.Response[dev.StopReplicationAndGetStatusResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[dev1.StopReplicationAndGetStatusRequest]) (*connect.Response[dev1.StopReplicationAndGetStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationAndGetStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[dev.PromoteReplicaRequest]) (*connect.Response[dev.PromoteReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[dev1.PromoteReplicaRequest]) (*connect.Response[dev1.PromoteReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PromoteReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[dev.BackupRequest], *connect.ServerStream[dev.BackupResponse]) error { +func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[dev1.BackupRequest], *connect.ServerStream[dev1.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Backup is not implemented")) } -func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[dev.RestoreFromBackupRequest], *connect.ServerStream[dev.RestoreFromBackupResponse]) error { +func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[dev1.RestoreFromBackupRequest], *connect.ServerStream[dev1.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RestoreFromBackup is not implemented")) } -func (UnimplementedTabletManagerHandler) CheckThrottler(context.Context, *connect.Request[dev.CheckThrottlerRequest]) (*connect.Response[dev.CheckThrottlerResponse], error) { +func (UnimplementedTabletManagerHandler) CheckThrottler(context.Context, *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.CheckThrottler is not implemented")) } + +func (UnimplementedTabletManagerHandler) GetThrottlerStatus(context.Context, *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetThrottlerStatus is not implemented")) +} diff --git a/gen/vitess/tabletmanagerservice/v16/tabletmanagerservice.pb.go b/gen/vitess/tabletmanagerservice/v16/tabletmanagerservice.pb.go index 9fa0995..1280872 100644 --- a/gen/vitess/tabletmanagerservice/v16/tabletmanagerservice.pb.go +++ b/gen/vitess/tabletmanagerservice/v16/tabletmanagerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerservice/v16/tabletmanagerservice.proto @@ -439,7 +439,7 @@ var file_vitess_tabletmanagerservice_v16_tabletmanagerservice_proto_rawDesc = [] 0x33, } -var file_vitess_tabletmanagerservice_v16_tabletmanagerservice_proto_goTypes = []interface{}{ +var file_vitess_tabletmanagerservice_v16_tabletmanagerservice_proto_goTypes = []any{ (*v16.PingRequest)(nil), // 0: vitess.tabletmanagerdata.v16.PingRequest (*v16.SleepRequest)(nil), // 1: vitess.tabletmanagerdata.v16.SleepRequest (*v16.ExecuteHookRequest)(nil), // 2: vitess.tabletmanagerdata.v16.ExecuteHookRequest diff --git a/gen/vitess/tabletmanagerservice/v16/tabletmanagerservicev16connect/tabletmanagerservice.connect.go b/gen/vitess/tabletmanagerservice/v16/tabletmanagerservicev16connect/tabletmanagerservice.connect.go index 40e51b9..5b103e8 100644 --- a/gen/vitess/tabletmanagerservice/v16/tabletmanagerservicev16connect/tabletmanagerservice.connect.go +++ b/gen/vitess/tabletmanagerservice/v16/tabletmanagerservicev16connect/tabletmanagerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v16 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v16" - _ "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v16" + v161 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v16" + v16 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v16" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // TabletManagerName is the fully-qualified name of the TabletManager service. @@ -188,91 +188,143 @@ const ( TabletManagerVExecProcedure = "/tabletmanagerservice.TabletManager/VExec" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + tabletManagerServiceDescriptor = v16.File_vitess_tabletmanagerservice_v16_tabletmanagerservice_proto.Services().ByName("TabletManager") + tabletManagerPingMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Ping") + tabletManagerSleepMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Sleep") + tabletManagerExecuteHookMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteHook") + tabletManagerGetSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetSchema") + tabletManagerGetPermissionsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetPermissions") + tabletManagerSetReadOnlyMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadOnly") + tabletManagerSetReadWriteMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadWrite") + tabletManagerChangeTypeMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ChangeType") + tabletManagerRefreshStateMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RefreshState") + tabletManagerRunHealthCheckMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RunHealthCheck") + tabletManagerReloadSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReloadSchema") + tabletManagerPreflightSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PreflightSchema") + tabletManagerApplySchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ApplySchema") + tabletManagerLockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("LockTables") + tabletManagerUnlockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UnlockTables") + tabletManagerExecuteQueryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteQuery") + tabletManagerExecuteFetchAsDbaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsDba") + tabletManagerExecuteFetchAsAllPrivsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsAllPrivs") + tabletManagerExecuteFetchAsAppMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + tabletManagerReplicationStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicationStatus") + tabletManagerPrimaryStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryStatus") + tabletManagerPrimaryPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryPosition") + tabletManagerWaitForPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("WaitForPosition") + tabletManagerStopReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplication") + tabletManagerStopReplicationMinimumMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationMinimum") + tabletManagerStartReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplication") + tabletManagerStartReplicationUntilAfterMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplicationUntilAfter") + tabletManagerGetReplicasMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetReplicas") + tabletManagerVReplicationExecMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationExec") + tabletManagerVReplicationWaitForPosMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationWaitForPos") + tabletManagerVDiffMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VDiff") + tabletManagerResetReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplication") + tabletManagerInitPrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitPrimary") + tabletManagerPopulateReparentJournalMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PopulateReparentJournal") + tabletManagerInitReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitReplica") + tabletManagerDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DemotePrimary") + tabletManagerUndoDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UndoDemotePrimary") + tabletManagerReplicaWasPromotedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasPromoted") + tabletManagerResetReplicationParametersMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplicationParameters") + tabletManagerFullStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("FullStatus") + tabletManagerSetReplicationSourceMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReplicationSource") + tabletManagerReplicaWasRestartedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasRestarted") + tabletManagerStopReplicationAndGetStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationAndGetStatus") + tabletManagerPromoteReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PromoteReplica") + tabletManagerBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Backup") + tabletManagerRestoreFromBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RestoreFromBackup") + tabletManagerVExecMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VExec") +) + // TabletManagerClient is a client for the tabletmanagerservice.TabletManager service. type TabletManagerClient interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[v16.PingRequest]) (*connect.Response[v16.PingResponse], error) + Ping(context.Context, *connect.Request[v161.PingRequest]) (*connect.Response[v161.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[v16.SleepRequest]) (*connect.Response[v16.SleepResponse], error) + Sleep(context.Context, *connect.Request[v161.SleepRequest]) (*connect.Response[v161.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[v16.SetReadOnlyRequest]) (*connect.Response[v16.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[v16.SetReadWriteRequest]) (*connect.Response[v16.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v161.SetReadOnlyRequest]) (*connect.Response[v161.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v161.SetReadWriteRequest]) (*connect.Response[v161.SetReadWriteResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[v16.ChangeTypeRequest]) (*connect.Response[v16.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[v16.PreflightSchemaRequest]) (*connect.Response[v16.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) - LockTables(context.Context, *connect.Request[v16.LockTablesRequest]) (*connect.Response[v16.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[v16.UnlockTablesRequest]) (*connect.Response[v16.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[v16.ExecuteQueryRequest]) (*connect.Response[v16.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[v16.ExecuteFetchAsDbaRequest]) (*connect.Response[v16.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v16.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v16.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[v161.ChangeTypeRequest]) (*connect.Response[v161.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v161.PreflightSchemaRequest]) (*connect.Response[v161.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) + LockTables(context.Context, *connect.Request[v161.LockTablesRequest]) (*connect.Response[v161.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v161.UnlockTablesRequest]) (*connect.Response[v161.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v161.ExecuteQueryRequest]) (*connect.Response[v161.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v161.ExecuteFetchAsDbaRequest]) (*connect.Response[v161.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v161.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v161.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[v16.ReplicationStatusRequest]) (*connect.Response[v16.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[v161.ReplicationStatusRequest]) (*connect.Response[v161.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[v16.PrimaryStatusRequest]) (*connect.Response[v16.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[v161.PrimaryStatusRequest]) (*connect.Response[v161.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[v16.PrimaryPositionRequest]) (*connect.Response[v16.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[v161.PrimaryPositionRequest]) (*connect.Response[v161.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[v16.WaitForPositionRequest]) (*connect.Response[v16.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[v161.WaitForPositionRequest]) (*connect.Response[v161.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[v16.StopReplicationMinimumRequest]) (*connect.Response[v16.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[v161.StopReplicationMinimumRequest]) (*connect.Response[v161.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[v16.StartReplicationUntilAfterRequest]) (*connect.Response[v16.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[v161.StartReplicationUntilAfterRequest]) (*connect.Response[v161.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[v16.GetReplicasRequest]) (*connect.Response[v16.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[v161.GetReplicasRequest]) (*connect.Response[v161.GetReplicasResponse], error) // VReplication API - VReplicationExec(context.Context, *connect.Request[v16.VReplicationExecRequest]) (*connect.Response[v16.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[v16.VReplicationWaitForPosRequest]) (*connect.Response[v16.VReplicationWaitForPosResponse], error) + VReplicationExec(context.Context, *connect.Request[v161.VReplicationExecRequest]) (*connect.Response[v161.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v161.VReplicationWaitForPosRequest]) (*connect.Response[v161.VReplicationWaitForPosResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[v16.VDiffRequest]) (*connect.Response[v16.VDiffResponse], error) + VDiff(context.Context, *connect.Request[v161.VDiffRequest]) (*connect.Response[v161.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[v16.ResetReplicationRequest]) (*connect.Response[v16.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[v161.ResetReplicationRequest]) (*connect.Response[v161.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[v16.InitPrimaryRequest]) (*connect.Response[v16.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[v161.InitPrimaryRequest]) (*connect.Response[v161.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[v16.PopulateReparentJournalRequest]) (*connect.Response[v16.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[v161.PopulateReparentJournalRequest]) (*connect.Response[v161.PopulateReparentJournalResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[v16.InitReplicaRequest]) (*connect.Response[v16.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[v161.InitReplicaRequest]) (*connect.Response[v161.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[v16.DemotePrimaryRequest]) (*connect.Response[v16.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[v161.DemotePrimaryRequest]) (*connect.Response[v161.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[v16.UndoDemotePrimaryRequest]) (*connect.Response[v16.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[v161.UndoDemotePrimaryRequest]) (*connect.Response[v161.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[v16.ReplicaWasPromotedRequest]) (*connect.Response[v16.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[v161.ReplicaWasPromotedRequest]) (*connect.Response[v161.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[v16.ResetReplicationParametersRequest]) (*connect.Response[v16.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[v161.ResetReplicationParametersRequest]) (*connect.Response[v161.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[v16.FullStatusRequest]) (*connect.Response[v16.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[v161.FullStatusRequest]) (*connect.Response[v161.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[v16.SetReplicationSourceRequest]) (*connect.Response[v16.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[v161.SetReplicationSourceRequest]) (*connect.Response[v161.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[v16.ReplicaWasRestartedRequest]) (*connect.Response[v16.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[v161.ReplicaWasRestartedRequest]) (*connect.Response[v161.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[v16.StopReplicationAndGetStatusRequest]) (*connect.Response[v16.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[v161.StopReplicationAndGetStatusRequest]) (*connect.Response[v161.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[v16.PromoteReplicaRequest]) (*connect.Response[v16.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[v16.BackupRequest]) (*connect.ServerStreamForClient[v16.BackupResponse], error) + PromoteReplica(context.Context, *connect.Request[v161.PromoteReplicaRequest]) (*connect.Response[v161.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v161.BackupRequest]) (*connect.ServerStreamForClient[v161.BackupResponse], error) // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[v16.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v16.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[v161.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v161.RestoreFromBackupResponse], error) // Generic VExec request. Can be used for various purposes - VExec(context.Context, *connect.Request[v16.VExecRequest]) (*connect.Response[v16.VExecResponse], error) + VExec(context.Context, *connect.Request[v161.VExecRequest]) (*connect.Response[v161.VExecResponse], error) } // NewTabletManagerClient constructs a client for the tabletmanagerservice.TabletManager @@ -285,534 +337,581 @@ type TabletManagerClient interface { func NewTabletManagerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TabletManagerClient { baseURL = strings.TrimRight(baseURL, "/") return &tabletManagerClient{ - ping: connect.NewClient[v16.PingRequest, v16.PingResponse]( + ping: connect.NewClient[v161.PingRequest, v161.PingResponse]( httpClient, baseURL+TabletManagerPingProcedure, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleep: connect.NewClient[v16.SleepRequest, v16.SleepResponse]( + sleep: connect.NewClient[v161.SleepRequest, v161.SleepResponse]( httpClient, baseURL+TabletManagerSleepProcedure, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[v16.ExecuteHookRequest, v16.ExecuteHookResponse]( + executeHook: connect.NewClient[v161.ExecuteHookRequest, v161.ExecuteHookResponse]( httpClient, baseURL+TabletManagerExecuteHookProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v16.GetSchemaRequest, v16.GetSchemaResponse]( + getSchema: connect.NewClient[v161.GetSchemaRequest, v161.GetSchemaResponse]( httpClient, baseURL+TabletManagerGetSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[v16.GetPermissionsRequest, v16.GetPermissionsResponse]( + getPermissions: connect.NewClient[v161.GetPermissionsRequest, v161.GetPermissionsResponse]( httpClient, baseURL+TabletManagerGetPermissionsProcedure, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadOnly: connect.NewClient[v16.SetReadOnlyRequest, v16.SetReadOnlyResponse]( + setReadOnly: connect.NewClient[v161.SetReadOnlyRequest, v161.SetReadOnlyResponse]( httpClient, baseURL+TabletManagerSetReadOnlyProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadWrite: connect.NewClient[v16.SetReadWriteRequest, v16.SetReadWriteResponse]( + setReadWrite: connect.NewClient[v161.SetReadWriteRequest, v161.SetReadWriteResponse]( httpClient, baseURL+TabletManagerSetReadWriteProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeType: connect.NewClient[v16.ChangeTypeRequest, v16.ChangeTypeResponse]( + changeType: connect.NewClient[v161.ChangeTypeRequest, v161.ChangeTypeResponse]( httpClient, baseURL+TabletManagerChangeTypeProcedure, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[v16.RefreshStateRequest, v16.RefreshStateResponse]( + refreshState: connect.NewClient[v161.RefreshStateRequest, v161.RefreshStateResponse]( httpClient, baseURL+TabletManagerRefreshStateProcedure, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[v16.RunHealthCheckRequest, v16.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[v161.RunHealthCheckRequest, v161.RunHealthCheckResponse]( httpClient, baseURL+TabletManagerRunHealthCheckProcedure, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[v16.ReloadSchemaRequest, v16.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[v161.ReloadSchemaRequest, v161.ReloadSchemaResponse]( httpClient, baseURL+TabletManagerReloadSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - preflightSchema: connect.NewClient[v16.PreflightSchemaRequest, v16.PreflightSchemaResponse]( + preflightSchema: connect.NewClient[v161.PreflightSchemaRequest, v161.PreflightSchemaResponse]( httpClient, baseURL+TabletManagerPreflightSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[v16.ApplySchemaRequest, v16.ApplySchemaResponse]( + applySchema: connect.NewClient[v161.ApplySchemaRequest, v161.ApplySchemaResponse]( httpClient, baseURL+TabletManagerApplySchemaProcedure, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - lockTables: connect.NewClient[v16.LockTablesRequest, v16.LockTablesResponse]( + lockTables: connect.NewClient[v161.LockTablesRequest, v161.LockTablesResponse]( httpClient, baseURL+TabletManagerLockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - unlockTables: connect.NewClient[v16.UnlockTablesRequest, v16.UnlockTablesResponse]( + unlockTables: connect.NewClient[v161.UnlockTablesRequest, v161.UnlockTablesResponse]( httpClient, baseURL+TabletManagerUnlockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeQuery: connect.NewClient[v16.ExecuteQueryRequest, v16.ExecuteQueryResponse]( + executeQuery: connect.NewClient[v161.ExecuteQueryRequest, v161.ExecuteQueryResponse]( httpClient, baseURL+TabletManagerExecuteQueryProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDba: connect.NewClient[v16.ExecuteFetchAsDbaRequest, v16.ExecuteFetchAsDbaResponse]( + executeFetchAsDba: connect.NewClient[v161.ExecuteFetchAsDbaRequest, v161.ExecuteFetchAsDbaResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsDbaProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsAllPrivs: connect.NewClient[v16.ExecuteFetchAsAllPrivsRequest, v16.ExecuteFetchAsAllPrivsResponse]( + executeFetchAsAllPrivs: connect.NewClient[v161.ExecuteFetchAsAllPrivsRequest, v161.ExecuteFetchAsAllPrivsResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAllPrivsProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[v16.ExecuteFetchAsAppRequest, v16.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[v161.ExecuteFetchAsAppRequest, v161.ExecuteFetchAsAppResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicationStatus: connect.NewClient[v16.ReplicationStatusRequest, v16.ReplicationStatusResponse]( + replicationStatus: connect.NewClient[v161.ReplicationStatusRequest, v161.ReplicationStatusResponse]( httpClient, baseURL+TabletManagerReplicationStatusProcedure, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryStatus: connect.NewClient[v16.PrimaryStatusRequest, v16.PrimaryStatusResponse]( + primaryStatus: connect.NewClient[v161.PrimaryStatusRequest, v161.PrimaryStatusResponse]( httpClient, baseURL+TabletManagerPrimaryStatusProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryPosition: connect.NewClient[v16.PrimaryPositionRequest, v16.PrimaryPositionResponse]( + primaryPosition: connect.NewClient[v161.PrimaryPositionRequest, v161.PrimaryPositionResponse]( httpClient, baseURL+TabletManagerPrimaryPositionProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - waitForPosition: connect.NewClient[v16.WaitForPositionRequest, v16.WaitForPositionResponse]( + waitForPosition: connect.NewClient[v161.WaitForPositionRequest, v161.WaitForPositionResponse]( httpClient, baseURL+TabletManagerWaitForPositionProcedure, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[v16.StopReplicationRequest, v16.StopReplicationResponse]( + stopReplication: connect.NewClient[v161.StopReplicationRequest, v161.StopReplicationResponse]( httpClient, baseURL+TabletManagerStopReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationMinimum: connect.NewClient[v16.StopReplicationMinimumRequest, v16.StopReplicationMinimumResponse]( + stopReplicationMinimum: connect.NewClient[v161.StopReplicationMinimumRequest, v161.StopReplicationMinimumResponse]( httpClient, baseURL+TabletManagerStopReplicationMinimumProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[v16.StartReplicationRequest, v16.StartReplicationResponse]( + startReplication: connect.NewClient[v161.StartReplicationRequest, v161.StartReplicationResponse]( httpClient, baseURL+TabletManagerStartReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplicationUntilAfter: connect.NewClient[v16.StartReplicationUntilAfterRequest, v16.StartReplicationUntilAfterResponse]( + startReplicationUntilAfter: connect.NewClient[v161.StartReplicationUntilAfterRequest, v161.StartReplicationUntilAfterResponse]( httpClient, baseURL+TabletManagerStartReplicationUntilAfterProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithClientOptions(opts...), ), - getReplicas: connect.NewClient[v16.GetReplicasRequest, v16.GetReplicasResponse]( + getReplicas: connect.NewClient[v161.GetReplicasRequest, v161.GetReplicasResponse]( httpClient, baseURL+TabletManagerGetReplicasProcedure, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationExec: connect.NewClient[v16.VReplicationExecRequest, v16.VReplicationExecResponse]( + vReplicationExec: connect.NewClient[v161.VReplicationExecRequest, v161.VReplicationExecResponse]( httpClient, baseURL+TabletManagerVReplicationExecProcedure, - opts..., + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationWaitForPos: connect.NewClient[v16.VReplicationWaitForPosRequest, v16.VReplicationWaitForPosResponse]( + vReplicationWaitForPos: connect.NewClient[v161.VReplicationWaitForPosRequest, v161.VReplicationWaitForPosResponse]( httpClient, baseURL+TabletManagerVReplicationWaitForPosProcedure, - opts..., + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiff: connect.NewClient[v16.VDiffRequest, v16.VDiffResponse]( + vDiff: connect.NewClient[v161.VDiffRequest, v161.VDiffResponse]( httpClient, baseURL+TabletManagerVDiffProcedure, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplication: connect.NewClient[v16.ResetReplicationRequest, v16.ResetReplicationResponse]( + resetReplication: connect.NewClient[v161.ResetReplicationRequest, v161.ResetReplicationResponse]( httpClient, baseURL+TabletManagerResetReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - initPrimary: connect.NewClient[v16.InitPrimaryRequest, v16.InitPrimaryResponse]( + initPrimary: connect.NewClient[v161.InitPrimaryRequest, v161.InitPrimaryResponse]( httpClient, baseURL+TabletManagerInitPrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - populateReparentJournal: connect.NewClient[v16.PopulateReparentJournalRequest, v16.PopulateReparentJournalResponse]( + populateReparentJournal: connect.NewClient[v161.PopulateReparentJournalRequest, v161.PopulateReparentJournalResponse]( httpClient, baseURL+TabletManagerPopulateReparentJournalProcedure, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithClientOptions(opts...), ), - initReplica: connect.NewClient[v16.InitReplicaRequest, v16.InitReplicaResponse]( + initReplica: connect.NewClient[v161.InitReplicaRequest, v161.InitReplicaResponse]( httpClient, baseURL+TabletManagerInitReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - demotePrimary: connect.NewClient[v16.DemotePrimaryRequest, v16.DemotePrimaryResponse]( + demotePrimary: connect.NewClient[v161.DemotePrimaryRequest, v161.DemotePrimaryResponse]( httpClient, baseURL+TabletManagerDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - undoDemotePrimary: connect.NewClient[v16.UndoDemotePrimaryRequest, v16.UndoDemotePrimaryResponse]( + undoDemotePrimary: connect.NewClient[v161.UndoDemotePrimaryRequest, v161.UndoDemotePrimaryResponse]( httpClient, baseURL+TabletManagerUndoDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasPromoted: connect.NewClient[v16.ReplicaWasPromotedRequest, v16.ReplicaWasPromotedResponse]( + replicaWasPromoted: connect.NewClient[v161.ReplicaWasPromotedRequest, v161.ReplicaWasPromotedResponse]( httpClient, baseURL+TabletManagerReplicaWasPromotedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplicationParameters: connect.NewClient[v16.ResetReplicationParametersRequest, v16.ResetReplicationParametersResponse]( + resetReplicationParameters: connect.NewClient[v161.ResetReplicationParametersRequest, v161.ResetReplicationParametersResponse]( httpClient, baseURL+TabletManagerResetReplicationParametersProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithClientOptions(opts...), ), - fullStatus: connect.NewClient[v16.FullStatusRequest, v16.FullStatusResponse]( + fullStatus: connect.NewClient[v161.FullStatusRequest, v161.FullStatusResponse]( httpClient, baseURL+TabletManagerFullStatusProcedure, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReplicationSource: connect.NewClient[v16.SetReplicationSourceRequest, v16.SetReplicationSourceResponse]( + setReplicationSource: connect.NewClient[v161.SetReplicationSourceRequest, v161.SetReplicationSourceResponse]( httpClient, baseURL+TabletManagerSetReplicationSourceProcedure, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasRestarted: connect.NewClient[v16.ReplicaWasRestartedRequest, v16.ReplicaWasRestartedResponse]( + replicaWasRestarted: connect.NewClient[v161.ReplicaWasRestartedRequest, v161.ReplicaWasRestartedResponse]( httpClient, baseURL+TabletManagerReplicaWasRestartedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationAndGetStatus: connect.NewClient[v16.StopReplicationAndGetStatusRequest, v16.StopReplicationAndGetStatusResponse]( + stopReplicationAndGetStatus: connect.NewClient[v161.StopReplicationAndGetStatusRequest, v161.StopReplicationAndGetStatusResponse]( httpClient, baseURL+TabletManagerStopReplicationAndGetStatusProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - promoteReplica: connect.NewClient[v16.PromoteReplicaRequest, v16.PromoteReplicaResponse]( + promoteReplica: connect.NewClient[v161.PromoteReplicaRequest, v161.PromoteReplicaResponse]( httpClient, baseURL+TabletManagerPromoteReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[v16.BackupRequest, v16.BackupResponse]( + backup: connect.NewClient[v161.BackupRequest, v161.BackupResponse]( httpClient, baseURL+TabletManagerBackupProcedure, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[v16.RestoreFromBackupRequest, v16.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[v161.RestoreFromBackupRequest, v161.RestoreFromBackupResponse]( httpClient, baseURL+TabletManagerRestoreFromBackupProcedure, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - vExec: connect.NewClient[v16.VExecRequest, v16.VExecResponse]( + vExec: connect.NewClient[v161.VExecRequest, v161.VExecResponse]( httpClient, baseURL+TabletManagerVExecProcedure, - opts..., + connect.WithSchema(tabletManagerVExecMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // tabletManagerClient implements TabletManagerClient. type tabletManagerClient struct { - ping *connect.Client[v16.PingRequest, v16.PingResponse] - sleep *connect.Client[v16.SleepRequest, v16.SleepResponse] - executeHook *connect.Client[v16.ExecuteHookRequest, v16.ExecuteHookResponse] - getSchema *connect.Client[v16.GetSchemaRequest, v16.GetSchemaResponse] - getPermissions *connect.Client[v16.GetPermissionsRequest, v16.GetPermissionsResponse] - setReadOnly *connect.Client[v16.SetReadOnlyRequest, v16.SetReadOnlyResponse] - setReadWrite *connect.Client[v16.SetReadWriteRequest, v16.SetReadWriteResponse] - changeType *connect.Client[v16.ChangeTypeRequest, v16.ChangeTypeResponse] - refreshState *connect.Client[v16.RefreshStateRequest, v16.RefreshStateResponse] - runHealthCheck *connect.Client[v16.RunHealthCheckRequest, v16.RunHealthCheckResponse] - reloadSchema *connect.Client[v16.ReloadSchemaRequest, v16.ReloadSchemaResponse] - preflightSchema *connect.Client[v16.PreflightSchemaRequest, v16.PreflightSchemaResponse] - applySchema *connect.Client[v16.ApplySchemaRequest, v16.ApplySchemaResponse] - lockTables *connect.Client[v16.LockTablesRequest, v16.LockTablesResponse] - unlockTables *connect.Client[v16.UnlockTablesRequest, v16.UnlockTablesResponse] - executeQuery *connect.Client[v16.ExecuteQueryRequest, v16.ExecuteQueryResponse] - executeFetchAsDba *connect.Client[v16.ExecuteFetchAsDbaRequest, v16.ExecuteFetchAsDbaResponse] - executeFetchAsAllPrivs *connect.Client[v16.ExecuteFetchAsAllPrivsRequest, v16.ExecuteFetchAsAllPrivsResponse] - executeFetchAsApp *connect.Client[v16.ExecuteFetchAsAppRequest, v16.ExecuteFetchAsAppResponse] - replicationStatus *connect.Client[v16.ReplicationStatusRequest, v16.ReplicationStatusResponse] - primaryStatus *connect.Client[v16.PrimaryStatusRequest, v16.PrimaryStatusResponse] - primaryPosition *connect.Client[v16.PrimaryPositionRequest, v16.PrimaryPositionResponse] - waitForPosition *connect.Client[v16.WaitForPositionRequest, v16.WaitForPositionResponse] - stopReplication *connect.Client[v16.StopReplicationRequest, v16.StopReplicationResponse] - stopReplicationMinimum *connect.Client[v16.StopReplicationMinimumRequest, v16.StopReplicationMinimumResponse] - startReplication *connect.Client[v16.StartReplicationRequest, v16.StartReplicationResponse] - startReplicationUntilAfter *connect.Client[v16.StartReplicationUntilAfterRequest, v16.StartReplicationUntilAfterResponse] - getReplicas *connect.Client[v16.GetReplicasRequest, v16.GetReplicasResponse] - vReplicationExec *connect.Client[v16.VReplicationExecRequest, v16.VReplicationExecResponse] - vReplicationWaitForPos *connect.Client[v16.VReplicationWaitForPosRequest, v16.VReplicationWaitForPosResponse] - vDiff *connect.Client[v16.VDiffRequest, v16.VDiffResponse] - resetReplication *connect.Client[v16.ResetReplicationRequest, v16.ResetReplicationResponse] - initPrimary *connect.Client[v16.InitPrimaryRequest, v16.InitPrimaryResponse] - populateReparentJournal *connect.Client[v16.PopulateReparentJournalRequest, v16.PopulateReparentJournalResponse] - initReplica *connect.Client[v16.InitReplicaRequest, v16.InitReplicaResponse] - demotePrimary *connect.Client[v16.DemotePrimaryRequest, v16.DemotePrimaryResponse] - undoDemotePrimary *connect.Client[v16.UndoDemotePrimaryRequest, v16.UndoDemotePrimaryResponse] - replicaWasPromoted *connect.Client[v16.ReplicaWasPromotedRequest, v16.ReplicaWasPromotedResponse] - resetReplicationParameters *connect.Client[v16.ResetReplicationParametersRequest, v16.ResetReplicationParametersResponse] - fullStatus *connect.Client[v16.FullStatusRequest, v16.FullStatusResponse] - setReplicationSource *connect.Client[v16.SetReplicationSourceRequest, v16.SetReplicationSourceResponse] - replicaWasRestarted *connect.Client[v16.ReplicaWasRestartedRequest, v16.ReplicaWasRestartedResponse] - stopReplicationAndGetStatus *connect.Client[v16.StopReplicationAndGetStatusRequest, v16.StopReplicationAndGetStatusResponse] - promoteReplica *connect.Client[v16.PromoteReplicaRequest, v16.PromoteReplicaResponse] - backup *connect.Client[v16.BackupRequest, v16.BackupResponse] - restoreFromBackup *connect.Client[v16.RestoreFromBackupRequest, v16.RestoreFromBackupResponse] - vExec *connect.Client[v16.VExecRequest, v16.VExecResponse] + ping *connect.Client[v161.PingRequest, v161.PingResponse] + sleep *connect.Client[v161.SleepRequest, v161.SleepResponse] + executeHook *connect.Client[v161.ExecuteHookRequest, v161.ExecuteHookResponse] + getSchema *connect.Client[v161.GetSchemaRequest, v161.GetSchemaResponse] + getPermissions *connect.Client[v161.GetPermissionsRequest, v161.GetPermissionsResponse] + setReadOnly *connect.Client[v161.SetReadOnlyRequest, v161.SetReadOnlyResponse] + setReadWrite *connect.Client[v161.SetReadWriteRequest, v161.SetReadWriteResponse] + changeType *connect.Client[v161.ChangeTypeRequest, v161.ChangeTypeResponse] + refreshState *connect.Client[v161.RefreshStateRequest, v161.RefreshStateResponse] + runHealthCheck *connect.Client[v161.RunHealthCheckRequest, v161.RunHealthCheckResponse] + reloadSchema *connect.Client[v161.ReloadSchemaRequest, v161.ReloadSchemaResponse] + preflightSchema *connect.Client[v161.PreflightSchemaRequest, v161.PreflightSchemaResponse] + applySchema *connect.Client[v161.ApplySchemaRequest, v161.ApplySchemaResponse] + lockTables *connect.Client[v161.LockTablesRequest, v161.LockTablesResponse] + unlockTables *connect.Client[v161.UnlockTablesRequest, v161.UnlockTablesResponse] + executeQuery *connect.Client[v161.ExecuteQueryRequest, v161.ExecuteQueryResponse] + executeFetchAsDba *connect.Client[v161.ExecuteFetchAsDbaRequest, v161.ExecuteFetchAsDbaResponse] + executeFetchAsAllPrivs *connect.Client[v161.ExecuteFetchAsAllPrivsRequest, v161.ExecuteFetchAsAllPrivsResponse] + executeFetchAsApp *connect.Client[v161.ExecuteFetchAsAppRequest, v161.ExecuteFetchAsAppResponse] + replicationStatus *connect.Client[v161.ReplicationStatusRequest, v161.ReplicationStatusResponse] + primaryStatus *connect.Client[v161.PrimaryStatusRequest, v161.PrimaryStatusResponse] + primaryPosition *connect.Client[v161.PrimaryPositionRequest, v161.PrimaryPositionResponse] + waitForPosition *connect.Client[v161.WaitForPositionRequest, v161.WaitForPositionResponse] + stopReplication *connect.Client[v161.StopReplicationRequest, v161.StopReplicationResponse] + stopReplicationMinimum *connect.Client[v161.StopReplicationMinimumRequest, v161.StopReplicationMinimumResponse] + startReplication *connect.Client[v161.StartReplicationRequest, v161.StartReplicationResponse] + startReplicationUntilAfter *connect.Client[v161.StartReplicationUntilAfterRequest, v161.StartReplicationUntilAfterResponse] + getReplicas *connect.Client[v161.GetReplicasRequest, v161.GetReplicasResponse] + vReplicationExec *connect.Client[v161.VReplicationExecRequest, v161.VReplicationExecResponse] + vReplicationWaitForPos *connect.Client[v161.VReplicationWaitForPosRequest, v161.VReplicationWaitForPosResponse] + vDiff *connect.Client[v161.VDiffRequest, v161.VDiffResponse] + resetReplication *connect.Client[v161.ResetReplicationRequest, v161.ResetReplicationResponse] + initPrimary *connect.Client[v161.InitPrimaryRequest, v161.InitPrimaryResponse] + populateReparentJournal *connect.Client[v161.PopulateReparentJournalRequest, v161.PopulateReparentJournalResponse] + initReplica *connect.Client[v161.InitReplicaRequest, v161.InitReplicaResponse] + demotePrimary *connect.Client[v161.DemotePrimaryRequest, v161.DemotePrimaryResponse] + undoDemotePrimary *connect.Client[v161.UndoDemotePrimaryRequest, v161.UndoDemotePrimaryResponse] + replicaWasPromoted *connect.Client[v161.ReplicaWasPromotedRequest, v161.ReplicaWasPromotedResponse] + resetReplicationParameters *connect.Client[v161.ResetReplicationParametersRequest, v161.ResetReplicationParametersResponse] + fullStatus *connect.Client[v161.FullStatusRequest, v161.FullStatusResponse] + setReplicationSource *connect.Client[v161.SetReplicationSourceRequest, v161.SetReplicationSourceResponse] + replicaWasRestarted *connect.Client[v161.ReplicaWasRestartedRequest, v161.ReplicaWasRestartedResponse] + stopReplicationAndGetStatus *connect.Client[v161.StopReplicationAndGetStatusRequest, v161.StopReplicationAndGetStatusResponse] + promoteReplica *connect.Client[v161.PromoteReplicaRequest, v161.PromoteReplicaResponse] + backup *connect.Client[v161.BackupRequest, v161.BackupResponse] + restoreFromBackup *connect.Client[v161.RestoreFromBackupRequest, v161.RestoreFromBackupResponse] + vExec *connect.Client[v161.VExecRequest, v161.VExecResponse] } // Ping calls tabletmanagerservice.TabletManager.Ping. -func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[v16.PingRequest]) (*connect.Response[v16.PingResponse], error) { +func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[v161.PingRequest]) (*connect.Response[v161.PingResponse], error) { return c.ping.CallUnary(ctx, req) } // Sleep calls tabletmanagerservice.TabletManager.Sleep. -func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[v16.SleepRequest]) (*connect.Response[v16.SleepResponse], error) { +func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[v161.SleepRequest]) (*connect.Response[v161.SleepResponse], error) { return c.sleep.CallUnary(ctx, req) } // ExecuteHook calls tabletmanagerservice.TabletManager.ExecuteHook. -func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) { +func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } // GetSchema calls tabletmanagerservice.TabletManager.GetSchema. -func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) { +func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetPermissions calls tabletmanagerservice.TabletManager.GetPermissions. -func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) { +func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } // SetReadOnly calls tabletmanagerservice.TabletManager.SetReadOnly. -func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[v16.SetReadOnlyRequest]) (*connect.Response[v16.SetReadOnlyResponse], error) { +func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[v161.SetReadOnlyRequest]) (*connect.Response[v161.SetReadOnlyResponse], error) { return c.setReadOnly.CallUnary(ctx, req) } // SetReadWrite calls tabletmanagerservice.TabletManager.SetReadWrite. -func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[v16.SetReadWriteRequest]) (*connect.Response[v16.SetReadWriteResponse], error) { +func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[v161.SetReadWriteRequest]) (*connect.Response[v161.SetReadWriteResponse], error) { return c.setReadWrite.CallUnary(ctx, req) } // ChangeType calls tabletmanagerservice.TabletManager.ChangeType. -func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[v16.ChangeTypeRequest]) (*connect.Response[v16.ChangeTypeResponse], error) { +func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[v161.ChangeTypeRequest]) (*connect.Response[v161.ChangeTypeResponse], error) { return c.changeType.CallUnary(ctx, req) } // RefreshState calls tabletmanagerservice.TabletManager.RefreshState. -func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) { +func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RunHealthCheck calls tabletmanagerservice.TabletManager.RunHealthCheck. -func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) { +func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // ReloadSchema calls tabletmanagerservice.TabletManager.ReloadSchema. -func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) { +func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // PreflightSchema calls tabletmanagerservice.TabletManager.PreflightSchema. -func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[v16.PreflightSchemaRequest]) (*connect.Response[v16.PreflightSchemaResponse], error) { +func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[v161.PreflightSchemaRequest]) (*connect.Response[v161.PreflightSchemaResponse], error) { return c.preflightSchema.CallUnary(ctx, req) } // ApplySchema calls tabletmanagerservice.TabletManager.ApplySchema. -func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) { +func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } // LockTables calls tabletmanagerservice.TabletManager.LockTables. -func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[v16.LockTablesRequest]) (*connect.Response[v16.LockTablesResponse], error) { +func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[v161.LockTablesRequest]) (*connect.Response[v161.LockTablesResponse], error) { return c.lockTables.CallUnary(ctx, req) } // UnlockTables calls tabletmanagerservice.TabletManager.UnlockTables. -func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[v16.UnlockTablesRequest]) (*connect.Response[v16.UnlockTablesResponse], error) { +func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[v161.UnlockTablesRequest]) (*connect.Response[v161.UnlockTablesResponse], error) { return c.unlockTables.CallUnary(ctx, req) } // ExecuteQuery calls tabletmanagerservice.TabletManager.ExecuteQuery. -func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[v16.ExecuteQueryRequest]) (*connect.Response[v16.ExecuteQueryResponse], error) { +func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[v161.ExecuteQueryRequest]) (*connect.Response[v161.ExecuteQueryResponse], error) { return c.executeQuery.CallUnary(ctx, req) } // ExecuteFetchAsDba calls tabletmanagerservice.TabletManager.ExecuteFetchAsDba. -func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[v16.ExecuteFetchAsDbaRequest]) (*connect.Response[v16.ExecuteFetchAsDbaResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[v161.ExecuteFetchAsDbaRequest]) (*connect.Response[v161.ExecuteFetchAsDbaResponse], error) { return c.executeFetchAsDba.CallUnary(ctx, req) } // ExecuteFetchAsAllPrivs calls // tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs. -func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[v16.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v16.ExecuteFetchAsAllPrivsResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[v161.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v161.ExecuteFetchAsAllPrivsResponse], error) { return c.executeFetchAsAllPrivs.CallUnary(ctx, req) } // ExecuteFetchAsApp calls tabletmanagerservice.TabletManager.ExecuteFetchAsApp. -func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } // ReplicationStatus calls tabletmanagerservice.TabletManager.ReplicationStatus. -func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[v16.ReplicationStatusRequest]) (*connect.Response[v16.ReplicationStatusResponse], error) { +func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[v161.ReplicationStatusRequest]) (*connect.Response[v161.ReplicationStatusResponse], error) { return c.replicationStatus.CallUnary(ctx, req) } // PrimaryStatus calls tabletmanagerservice.TabletManager.PrimaryStatus. -func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[v16.PrimaryStatusRequest]) (*connect.Response[v16.PrimaryStatusResponse], error) { +func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[v161.PrimaryStatusRequest]) (*connect.Response[v161.PrimaryStatusResponse], error) { return c.primaryStatus.CallUnary(ctx, req) } // PrimaryPosition calls tabletmanagerservice.TabletManager.PrimaryPosition. -func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[v16.PrimaryPositionRequest]) (*connect.Response[v16.PrimaryPositionResponse], error) { +func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[v161.PrimaryPositionRequest]) (*connect.Response[v161.PrimaryPositionResponse], error) { return c.primaryPosition.CallUnary(ctx, req) } // WaitForPosition calls tabletmanagerservice.TabletManager.WaitForPosition. -func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[v16.WaitForPositionRequest]) (*connect.Response[v16.WaitForPositionResponse], error) { +func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[v161.WaitForPositionRequest]) (*connect.Response[v161.WaitForPositionResponse], error) { return c.waitForPosition.CallUnary(ctx, req) } // StopReplication calls tabletmanagerservice.TabletManager.StopReplication. -func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) { +func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // StopReplicationMinimum calls // tabletmanagerservice.TabletManager.StopReplicationMinimum. -func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[v16.StopReplicationMinimumRequest]) (*connect.Response[v16.StopReplicationMinimumResponse], error) { +func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[v161.StopReplicationMinimumRequest]) (*connect.Response[v161.StopReplicationMinimumResponse], error) { return c.stopReplicationMinimum.CallUnary(ctx, req) } // StartReplication calls tabletmanagerservice.TabletManager.StartReplication. -func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) { +func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StartReplicationUntilAfter calls // tabletmanagerservice.TabletManager.StartReplicationUntilAfter. -func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[v16.StartReplicationUntilAfterRequest]) (*connect.Response[v16.StartReplicationUntilAfterResponse], error) { +func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[v161.StartReplicationUntilAfterRequest]) (*connect.Response[v161.StartReplicationUntilAfterResponse], error) { return c.startReplicationUntilAfter.CallUnary(ctx, req) } // GetReplicas calls tabletmanagerservice.TabletManager.GetReplicas. -func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[v16.GetReplicasRequest]) (*connect.Response[v16.GetReplicasResponse], error) { +func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[v161.GetReplicasRequest]) (*connect.Response[v161.GetReplicasResponse], error) { return c.getReplicas.CallUnary(ctx, req) } // VReplicationExec calls tabletmanagerservice.TabletManager.VReplicationExec. -func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[v16.VReplicationExecRequest]) (*connect.Response[v16.VReplicationExecResponse], error) { +func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[v161.VReplicationExecRequest]) (*connect.Response[v161.VReplicationExecResponse], error) { return c.vReplicationExec.CallUnary(ctx, req) } // VReplicationWaitForPos calls // tabletmanagerservice.TabletManager.VReplicationWaitForPos. -func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[v16.VReplicationWaitForPosRequest]) (*connect.Response[v16.VReplicationWaitForPosResponse], error) { +func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[v161.VReplicationWaitForPosRequest]) (*connect.Response[v161.VReplicationWaitForPosResponse], error) { return c.vReplicationWaitForPos.CallUnary(ctx, req) } // VDiff calls tabletmanagerservice.TabletManager.VDiff. -func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[v16.VDiffRequest]) (*connect.Response[v16.VDiffResponse], error) { +func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[v161.VDiffRequest]) (*connect.Response[v161.VDiffResponse], error) { return c.vDiff.CallUnary(ctx, req) } // ResetReplication calls tabletmanagerservice.TabletManager.ResetReplication. -func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[v16.ResetReplicationRequest]) (*connect.Response[v16.ResetReplicationResponse], error) { +func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[v161.ResetReplicationRequest]) (*connect.Response[v161.ResetReplicationResponse], error) { return c.resetReplication.CallUnary(ctx, req) } // InitPrimary calls tabletmanagerservice.TabletManager.InitPrimary. -func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[v16.InitPrimaryRequest]) (*connect.Response[v16.InitPrimaryResponse], error) { +func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[v161.InitPrimaryRequest]) (*connect.Response[v161.InitPrimaryResponse], error) { return c.initPrimary.CallUnary(ctx, req) } // PopulateReparentJournal calls // tabletmanagerservice.TabletManager.PopulateReparentJournal. -func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[v16.PopulateReparentJournalRequest]) (*connect.Response[v16.PopulateReparentJournalResponse], error) { +func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[v161.PopulateReparentJournalRequest]) (*connect.Response[v161.PopulateReparentJournalResponse], error) { return c.populateReparentJournal.CallUnary(ctx, req) } // InitReplica calls tabletmanagerservice.TabletManager.InitReplica. -func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[v16.InitReplicaRequest]) (*connect.Response[v16.InitReplicaResponse], error) { +func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[v161.InitReplicaRequest]) (*connect.Response[v161.InitReplicaResponse], error) { return c.initReplica.CallUnary(ctx, req) } // DemotePrimary calls tabletmanagerservice.TabletManager.DemotePrimary. -func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[v16.DemotePrimaryRequest]) (*connect.Response[v16.DemotePrimaryResponse], error) { +func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[v161.DemotePrimaryRequest]) (*connect.Response[v161.DemotePrimaryResponse], error) { return c.demotePrimary.CallUnary(ctx, req) } // UndoDemotePrimary calls tabletmanagerservice.TabletManager.UndoDemotePrimary. -func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[v16.UndoDemotePrimaryRequest]) (*connect.Response[v16.UndoDemotePrimaryResponse], error) { +func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[v161.UndoDemotePrimaryRequest]) (*connect.Response[v161.UndoDemotePrimaryResponse], error) { return c.undoDemotePrimary.CallUnary(ctx, req) } // ReplicaWasPromoted calls tabletmanagerservice.TabletManager.ReplicaWasPromoted. -func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[v16.ReplicaWasPromotedRequest]) (*connect.Response[v16.ReplicaWasPromotedResponse], error) { +func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[v161.ReplicaWasPromotedRequest]) (*connect.Response[v161.ReplicaWasPromotedResponse], error) { return c.replicaWasPromoted.CallUnary(ctx, req) } // ResetReplicationParameters calls // tabletmanagerservice.TabletManager.ResetReplicationParameters. -func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[v16.ResetReplicationParametersRequest]) (*connect.Response[v16.ResetReplicationParametersResponse], error) { +func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[v161.ResetReplicationParametersRequest]) (*connect.Response[v161.ResetReplicationParametersResponse], error) { return c.resetReplicationParameters.CallUnary(ctx, req) } // FullStatus calls tabletmanagerservice.TabletManager.FullStatus. -func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[v16.FullStatusRequest]) (*connect.Response[v16.FullStatusResponse], error) { +func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[v161.FullStatusRequest]) (*connect.Response[v161.FullStatusResponse], error) { return c.fullStatus.CallUnary(ctx, req) } // SetReplicationSource calls tabletmanagerservice.TabletManager.SetReplicationSource. -func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[v16.SetReplicationSourceRequest]) (*connect.Response[v16.SetReplicationSourceResponse], error) { +func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[v161.SetReplicationSourceRequest]) (*connect.Response[v161.SetReplicationSourceResponse], error) { return c.setReplicationSource.CallUnary(ctx, req) } // ReplicaWasRestarted calls tabletmanagerservice.TabletManager.ReplicaWasRestarted. -func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[v16.ReplicaWasRestartedRequest]) (*connect.Response[v16.ReplicaWasRestartedResponse], error) { +func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[v161.ReplicaWasRestartedRequest]) (*connect.Response[v161.ReplicaWasRestartedResponse], error) { return c.replicaWasRestarted.CallUnary(ctx, req) } // StopReplicationAndGetStatus calls // tabletmanagerservice.TabletManager.StopReplicationAndGetStatus. -func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[v16.StopReplicationAndGetStatusRequest]) (*connect.Response[v16.StopReplicationAndGetStatusResponse], error) { +func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[v161.StopReplicationAndGetStatusRequest]) (*connect.Response[v161.StopReplicationAndGetStatusResponse], error) { return c.stopReplicationAndGetStatus.CallUnary(ctx, req) } // PromoteReplica calls tabletmanagerservice.TabletManager.PromoteReplica. -func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[v16.PromoteReplicaRequest]) (*connect.Response[v16.PromoteReplicaResponse], error) { +func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[v161.PromoteReplicaRequest]) (*connect.Response[v161.PromoteReplicaResponse], error) { return c.promoteReplica.CallUnary(ctx, req) } // Backup calls tabletmanagerservice.TabletManager.Backup. -func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[v16.BackupRequest]) (*connect.ServerStreamForClient[v16.BackupResponse], error) { +func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[v161.BackupRequest]) (*connect.ServerStreamForClient[v161.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // RestoreFromBackup calls tabletmanagerservice.TabletManager.RestoreFromBackup. -func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v16.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v16.RestoreFromBackupResponse], error) { +func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v161.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v161.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } // VExec calls tabletmanagerservice.TabletManager.VExec. -func (c *tabletManagerClient) VExec(ctx context.Context, req *connect.Request[v16.VExecRequest]) (*connect.Response[v16.VExecResponse], error) { +func (c *tabletManagerClient) VExec(ctx context.Context, req *connect.Request[v161.VExecRequest]) (*connect.Response[v161.VExecResponse], error) { return c.vExec.CallUnary(ctx, req) } @@ -820,88 +919,88 @@ func (c *tabletManagerClient) VExec(ctx context.Context, req *connect.Request[v1 // service. type TabletManagerHandler interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[v16.PingRequest]) (*connect.Response[v16.PingResponse], error) + Ping(context.Context, *connect.Request[v161.PingRequest]) (*connect.Response[v161.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[v16.SleepRequest]) (*connect.Response[v16.SleepResponse], error) + Sleep(context.Context, *connect.Request[v161.SleepRequest]) (*connect.Response[v161.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[v16.SetReadOnlyRequest]) (*connect.Response[v16.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[v16.SetReadWriteRequest]) (*connect.Response[v16.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v161.SetReadOnlyRequest]) (*connect.Response[v161.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v161.SetReadWriteRequest]) (*connect.Response[v161.SetReadWriteResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[v16.ChangeTypeRequest]) (*connect.Response[v16.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[v16.PreflightSchemaRequest]) (*connect.Response[v16.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) - LockTables(context.Context, *connect.Request[v16.LockTablesRequest]) (*connect.Response[v16.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[v16.UnlockTablesRequest]) (*connect.Response[v16.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[v16.ExecuteQueryRequest]) (*connect.Response[v16.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[v16.ExecuteFetchAsDbaRequest]) (*connect.Response[v16.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v16.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v16.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[v161.ChangeTypeRequest]) (*connect.Response[v161.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v161.PreflightSchemaRequest]) (*connect.Response[v161.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) + LockTables(context.Context, *connect.Request[v161.LockTablesRequest]) (*connect.Response[v161.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v161.UnlockTablesRequest]) (*connect.Response[v161.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v161.ExecuteQueryRequest]) (*connect.Response[v161.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v161.ExecuteFetchAsDbaRequest]) (*connect.Response[v161.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v161.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v161.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[v16.ReplicationStatusRequest]) (*connect.Response[v16.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[v161.ReplicationStatusRequest]) (*connect.Response[v161.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[v16.PrimaryStatusRequest]) (*connect.Response[v16.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[v161.PrimaryStatusRequest]) (*connect.Response[v161.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[v16.PrimaryPositionRequest]) (*connect.Response[v16.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[v161.PrimaryPositionRequest]) (*connect.Response[v161.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[v16.WaitForPositionRequest]) (*connect.Response[v16.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[v161.WaitForPositionRequest]) (*connect.Response[v161.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[v16.StopReplicationMinimumRequest]) (*connect.Response[v16.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[v161.StopReplicationMinimumRequest]) (*connect.Response[v161.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[v16.StartReplicationUntilAfterRequest]) (*connect.Response[v16.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[v161.StartReplicationUntilAfterRequest]) (*connect.Response[v161.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[v16.GetReplicasRequest]) (*connect.Response[v16.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[v161.GetReplicasRequest]) (*connect.Response[v161.GetReplicasResponse], error) // VReplication API - VReplicationExec(context.Context, *connect.Request[v16.VReplicationExecRequest]) (*connect.Response[v16.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[v16.VReplicationWaitForPosRequest]) (*connect.Response[v16.VReplicationWaitForPosResponse], error) + VReplicationExec(context.Context, *connect.Request[v161.VReplicationExecRequest]) (*connect.Response[v161.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v161.VReplicationWaitForPosRequest]) (*connect.Response[v161.VReplicationWaitForPosResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[v16.VDiffRequest]) (*connect.Response[v16.VDiffResponse], error) + VDiff(context.Context, *connect.Request[v161.VDiffRequest]) (*connect.Response[v161.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[v16.ResetReplicationRequest]) (*connect.Response[v16.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[v161.ResetReplicationRequest]) (*connect.Response[v161.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[v16.InitPrimaryRequest]) (*connect.Response[v16.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[v161.InitPrimaryRequest]) (*connect.Response[v161.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[v16.PopulateReparentJournalRequest]) (*connect.Response[v16.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[v161.PopulateReparentJournalRequest]) (*connect.Response[v161.PopulateReparentJournalResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[v16.InitReplicaRequest]) (*connect.Response[v16.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[v161.InitReplicaRequest]) (*connect.Response[v161.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[v16.DemotePrimaryRequest]) (*connect.Response[v16.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[v161.DemotePrimaryRequest]) (*connect.Response[v161.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[v16.UndoDemotePrimaryRequest]) (*connect.Response[v16.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[v161.UndoDemotePrimaryRequest]) (*connect.Response[v161.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[v16.ReplicaWasPromotedRequest]) (*connect.Response[v16.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[v161.ReplicaWasPromotedRequest]) (*connect.Response[v161.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[v16.ResetReplicationParametersRequest]) (*connect.Response[v16.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[v161.ResetReplicationParametersRequest]) (*connect.Response[v161.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[v16.FullStatusRequest]) (*connect.Response[v16.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[v161.FullStatusRequest]) (*connect.Response[v161.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[v16.SetReplicationSourceRequest]) (*connect.Response[v16.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[v161.SetReplicationSourceRequest]) (*connect.Response[v161.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[v16.ReplicaWasRestartedRequest]) (*connect.Response[v16.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[v161.ReplicaWasRestartedRequest]) (*connect.Response[v161.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[v16.StopReplicationAndGetStatusRequest]) (*connect.Response[v16.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[v161.StopReplicationAndGetStatusRequest]) (*connect.Response[v161.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[v16.PromoteReplicaRequest]) (*connect.Response[v16.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[v16.BackupRequest], *connect.ServerStream[v16.BackupResponse]) error + PromoteReplica(context.Context, *connect.Request[v161.PromoteReplicaRequest]) (*connect.Response[v161.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v161.BackupRequest], *connect.ServerStream[v161.BackupResponse]) error // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[v16.RestoreFromBackupRequest], *connect.ServerStream[v16.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[v161.RestoreFromBackupRequest], *connect.ServerStream[v161.RestoreFromBackupResponse]) error // Generic VExec request. Can be used for various purposes - VExec(context.Context, *connect.Request[v16.VExecRequest]) (*connect.Response[v16.VExecResponse], error) + VExec(context.Context, *connect.Request[v161.VExecRequest]) (*connect.Response[v161.VExecResponse], error) } // NewTabletManagerHandler builds an HTTP handler from the service implementation. It returns the @@ -913,237 +1012,284 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerPingHandler := connect.NewUnaryHandler( TabletManagerPingProcedure, svc.Ping, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSleepHandler := connect.NewUnaryHandler( TabletManagerSleepProcedure, svc.Sleep, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteHookHandler := connect.NewUnaryHandler( TabletManagerExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetSchemaHandler := connect.NewUnaryHandler( TabletManagerGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetPermissionsHandler := connect.NewUnaryHandler( TabletManagerGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadOnlyHandler := connect.NewUnaryHandler( TabletManagerSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadWriteHandler := connect.NewUnaryHandler( TabletManagerSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerChangeTypeHandler := connect.NewUnaryHandler( TabletManagerChangeTypeProcedure, svc.ChangeType, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRefreshStateHandler := connect.NewUnaryHandler( TabletManagerRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRunHealthCheckHandler := connect.NewUnaryHandler( TabletManagerRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReloadSchemaHandler := connect.NewUnaryHandler( TabletManagerReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPreflightSchemaHandler := connect.NewUnaryHandler( TabletManagerPreflightSchemaProcedure, svc.PreflightSchema, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerApplySchemaHandler := connect.NewUnaryHandler( TabletManagerApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerLockTablesHandler := connect.NewUnaryHandler( TabletManagerLockTablesProcedure, svc.LockTables, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUnlockTablesHandler := connect.NewUnaryHandler( TabletManagerUnlockTablesProcedure, svc.UnlockTables, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteQueryHandler := connect.NewUnaryHandler( TabletManagerExecuteQueryProcedure, svc.ExecuteQuery, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsDbaHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsDbaProcedure, svc.ExecuteFetchAsDba, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAllPrivsHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAllPrivsProcedure, svc.ExecuteFetchAsAllPrivs, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAppHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicationStatusHandler := connect.NewUnaryHandler( TabletManagerReplicationStatusProcedure, svc.ReplicationStatus, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryStatusHandler := connect.NewUnaryHandler( TabletManagerPrimaryStatusProcedure, svc.PrimaryStatus, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryPositionHandler := connect.NewUnaryHandler( TabletManagerPrimaryPositionProcedure, svc.PrimaryPosition, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerWaitForPositionHandler := connect.NewUnaryHandler( TabletManagerWaitForPositionProcedure, svc.WaitForPosition, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationHandler := connect.NewUnaryHandler( TabletManagerStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationMinimumHandler := connect.NewUnaryHandler( TabletManagerStopReplicationMinimumProcedure, svc.StopReplicationMinimum, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationHandler := connect.NewUnaryHandler( TabletManagerStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationUntilAfterHandler := connect.NewUnaryHandler( TabletManagerStartReplicationUntilAfterProcedure, svc.StartReplicationUntilAfter, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetReplicasHandler := connect.NewUnaryHandler( TabletManagerGetReplicasProcedure, svc.GetReplicas, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationExecHandler := connect.NewUnaryHandler( TabletManagerVReplicationExecProcedure, svc.VReplicationExec, - opts..., + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationWaitForPosHandler := connect.NewUnaryHandler( TabletManagerVReplicationWaitForPosProcedure, svc.VReplicationWaitForPos, - opts..., + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVDiffHandler := connect.NewUnaryHandler( TabletManagerVDiffProcedure, svc.VDiff, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationHandler := connect.NewUnaryHandler( TabletManagerResetReplicationProcedure, svc.ResetReplication, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitPrimaryHandler := connect.NewUnaryHandler( TabletManagerInitPrimaryProcedure, svc.InitPrimary, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPopulateReparentJournalHandler := connect.NewUnaryHandler( TabletManagerPopulateReparentJournalProcedure, svc.PopulateReparentJournal, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitReplicaHandler := connect.NewUnaryHandler( TabletManagerInitReplicaProcedure, svc.InitReplica, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerDemotePrimaryProcedure, svc.DemotePrimary, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUndoDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerUndoDemotePrimaryProcedure, svc.UndoDemotePrimary, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasPromotedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasPromotedProcedure, svc.ReplicaWasPromoted, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationParametersHandler := connect.NewUnaryHandler( TabletManagerResetReplicationParametersProcedure, svc.ResetReplicationParameters, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerFullStatusHandler := connect.NewUnaryHandler( TabletManagerFullStatusProcedure, svc.FullStatus, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReplicationSourceHandler := connect.NewUnaryHandler( TabletManagerSetReplicationSourceProcedure, svc.SetReplicationSource, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasRestartedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasRestartedProcedure, svc.ReplicaWasRestarted, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationAndGetStatusHandler := connect.NewUnaryHandler( TabletManagerStopReplicationAndGetStatusProcedure, svc.StopReplicationAndGetStatus, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPromoteReplicaHandler := connect.NewUnaryHandler( TabletManagerPromoteReplicaProcedure, svc.PromoteReplica, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerBackupHandler := connect.NewServerStreamHandler( TabletManagerBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRestoreFromBackupHandler := connect.NewServerStreamHandler( TabletManagerRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVExecHandler := connect.NewUnaryHandler( TabletManagerVExecProcedure, svc.VExec, - opts..., + connect.WithSchema(tabletManagerVExecMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/tabletmanagerservice.TabletManager/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -1250,190 +1396,190 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp // UnimplementedTabletManagerHandler returns CodeUnimplemented from all methods. type UnimplementedTabletManagerHandler struct{} -func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[v16.PingRequest]) (*connect.Response[v16.PingResponse], error) { +func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[v161.PingRequest]) (*connect.Response[v161.PingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Ping is not implemented")) } -func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[v16.SleepRequest]) (*connect.Response[v16.SleepResponse], error) { +func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[v161.SleepRequest]) (*connect.Response[v161.SleepResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Sleep is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteHook is not implemented")) } -func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) { +func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetPermissions is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[v16.SetReadOnlyRequest]) (*connect.Response[v16.SetReadOnlyResponse], error) { +func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[v161.SetReadOnlyRequest]) (*connect.Response[v161.SetReadOnlyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadOnly is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[v16.SetReadWriteRequest]) (*connect.Response[v16.SetReadWriteResponse], error) { +func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[v161.SetReadWriteRequest]) (*connect.Response[v161.SetReadWriteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadWrite is not implemented")) } -func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[v16.ChangeTypeRequest]) (*connect.Response[v16.ChangeTypeResponse], error) { +func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[v161.ChangeTypeRequest]) (*connect.Response[v161.ChangeTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ChangeType is not implemented")) } -func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) { +func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RefreshState is not implemented")) } -func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) { +func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RunHealthCheck is not implemented")) } -func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReloadSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[v16.PreflightSchemaRequest]) (*connect.Response[v16.PreflightSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[v161.PreflightSchemaRequest]) (*connect.Response[v161.PreflightSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PreflightSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ApplySchema is not implemented")) } -func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[v16.LockTablesRequest]) (*connect.Response[v16.LockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[v161.LockTablesRequest]) (*connect.Response[v161.LockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.LockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[v16.UnlockTablesRequest]) (*connect.Response[v16.UnlockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[v161.UnlockTablesRequest]) (*connect.Response[v161.UnlockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UnlockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[v16.ExecuteQueryRequest]) (*connect.Response[v16.ExecuteQueryResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[v161.ExecuteQueryRequest]) (*connect.Response[v161.ExecuteQueryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteQuery is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[v16.ExecuteFetchAsDbaRequest]) (*connect.Response[v16.ExecuteFetchAsDbaResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[v161.ExecuteFetchAsDbaRequest]) (*connect.Response[v161.ExecuteFetchAsDbaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsDba is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v16.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v16.ExecuteFetchAsAllPrivsResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v161.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v161.ExecuteFetchAsAllPrivsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[v16.ReplicationStatusRequest]) (*connect.Response[v16.ReplicationStatusResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[v161.ReplicationStatusRequest]) (*connect.Response[v161.ReplicationStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicationStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[v16.PrimaryStatusRequest]) (*connect.Response[v16.PrimaryStatusResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[v161.PrimaryStatusRequest]) (*connect.Response[v161.PrimaryStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[v16.PrimaryPositionRequest]) (*connect.Response[v16.PrimaryPositionResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[v161.PrimaryPositionRequest]) (*connect.Response[v161.PrimaryPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[v16.WaitForPositionRequest]) (*connect.Response[v16.WaitForPositionResponse], error) { +func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[v161.WaitForPositionRequest]) (*connect.Response[v161.WaitForPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.WaitForPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[v16.StopReplicationMinimumRequest]) (*connect.Response[v16.StopReplicationMinimumResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[v161.StopReplicationMinimumRequest]) (*connect.Response[v161.StopReplicationMinimumResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationMinimum is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[v16.StartReplicationUntilAfterRequest]) (*connect.Response[v16.StartReplicationUntilAfterResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[v161.StartReplicationUntilAfterRequest]) (*connect.Response[v161.StartReplicationUntilAfterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplicationUntilAfter is not implemented")) } -func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[v16.GetReplicasRequest]) (*connect.Response[v16.GetReplicasResponse], error) { +func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[v161.GetReplicasRequest]) (*connect.Response[v161.GetReplicasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetReplicas is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[v16.VReplicationExecRequest]) (*connect.Response[v16.VReplicationExecResponse], error) { +func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[v161.VReplicationExecRequest]) (*connect.Response[v161.VReplicationExecResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationExec is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[v16.VReplicationWaitForPosRequest]) (*connect.Response[v16.VReplicationWaitForPosResponse], error) { +func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[v161.VReplicationWaitForPosRequest]) (*connect.Response[v161.VReplicationWaitForPosResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationWaitForPos is not implemented")) } -func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[v16.VDiffRequest]) (*connect.Response[v16.VDiffResponse], error) { +func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[v161.VDiffRequest]) (*connect.Response[v161.VDiffResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VDiff is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[v16.ResetReplicationRequest]) (*connect.Response[v16.ResetReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[v161.ResetReplicationRequest]) (*connect.Response[v161.ResetReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[v16.InitPrimaryRequest]) (*connect.Response[v16.InitPrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[v161.InitPrimaryRequest]) (*connect.Response[v161.InitPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitPrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[v16.PopulateReparentJournalRequest]) (*connect.Response[v16.PopulateReparentJournalResponse], error) { +func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[v161.PopulateReparentJournalRequest]) (*connect.Response[v161.PopulateReparentJournalResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PopulateReparentJournal is not implemented")) } -func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[v16.InitReplicaRequest]) (*connect.Response[v16.InitReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[v161.InitReplicaRequest]) (*connect.Response[v161.InitReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[v16.DemotePrimaryRequest]) (*connect.Response[v16.DemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[v161.DemotePrimaryRequest]) (*connect.Response[v161.DemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[v16.UndoDemotePrimaryRequest]) (*connect.Response[v16.UndoDemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[v161.UndoDemotePrimaryRequest]) (*connect.Response[v161.UndoDemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UndoDemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[v16.ReplicaWasPromotedRequest]) (*connect.Response[v16.ReplicaWasPromotedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[v161.ReplicaWasPromotedRequest]) (*connect.Response[v161.ReplicaWasPromotedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasPromoted is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[v16.ResetReplicationParametersRequest]) (*connect.Response[v16.ResetReplicationParametersResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[v161.ResetReplicationParametersRequest]) (*connect.Response[v161.ResetReplicationParametersResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplicationParameters is not implemented")) } -func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[v16.FullStatusRequest]) (*connect.Response[v16.FullStatusResponse], error) { +func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[v161.FullStatusRequest]) (*connect.Response[v161.FullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.FullStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[v16.SetReplicationSourceRequest]) (*connect.Response[v16.SetReplicationSourceResponse], error) { +func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[v161.SetReplicationSourceRequest]) (*connect.Response[v161.SetReplicationSourceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReplicationSource is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[v16.ReplicaWasRestartedRequest]) (*connect.Response[v16.ReplicaWasRestartedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[v161.ReplicaWasRestartedRequest]) (*connect.Response[v161.ReplicaWasRestartedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasRestarted is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[v16.StopReplicationAndGetStatusRequest]) (*connect.Response[v16.StopReplicationAndGetStatusResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[v161.StopReplicationAndGetStatusRequest]) (*connect.Response[v161.StopReplicationAndGetStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationAndGetStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[v16.PromoteReplicaRequest]) (*connect.Response[v16.PromoteReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[v161.PromoteReplicaRequest]) (*connect.Response[v161.PromoteReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PromoteReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[v16.BackupRequest], *connect.ServerStream[v16.BackupResponse]) error { +func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[v161.BackupRequest], *connect.ServerStream[v161.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Backup is not implemented")) } -func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[v16.RestoreFromBackupRequest], *connect.ServerStream[v16.RestoreFromBackupResponse]) error { +func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[v161.RestoreFromBackupRequest], *connect.ServerStream[v161.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RestoreFromBackup is not implemented")) } -func (UnimplementedTabletManagerHandler) VExec(context.Context, *connect.Request[v16.VExecRequest]) (*connect.Response[v16.VExecResponse], error) { +func (UnimplementedTabletManagerHandler) VExec(context.Context, *connect.Request[v161.VExecRequest]) (*connect.Response[v161.VExecResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VExec is not implemented")) } diff --git a/gen/vitess/tabletmanagerservice/v17/tabletmanagerservice.pb.go b/gen/vitess/tabletmanagerservice/v17/tabletmanagerservice.pb.go index 22bed77..1aff35f 100644 --- a/gen/vitess/tabletmanagerservice/v17/tabletmanagerservice.pb.go +++ b/gen/vitess/tabletmanagerservice/v17/tabletmanagerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerservice/v17/tabletmanagerservice.proto @@ -441,7 +441,7 @@ var file_vitess_tabletmanagerservice_v17_tabletmanagerservice_proto_rawDesc = [] 0x74, 0x6f, 0x33, } -var file_vitess_tabletmanagerservice_v17_tabletmanagerservice_proto_goTypes = []interface{}{ +var file_vitess_tabletmanagerservice_v17_tabletmanagerservice_proto_goTypes = []any{ (*v17.PingRequest)(nil), // 0: vitess.tabletmanagerdata.v17.PingRequest (*v17.SleepRequest)(nil), // 1: vitess.tabletmanagerdata.v17.SleepRequest (*v17.ExecuteHookRequest)(nil), // 2: vitess.tabletmanagerdata.v17.ExecuteHookRequest diff --git a/gen/vitess/tabletmanagerservice/v17/tabletmanagerservicev17connect/tabletmanagerservice.connect.go b/gen/vitess/tabletmanagerservice/v17/tabletmanagerservicev17connect/tabletmanagerservice.connect.go index 3b07f6a..74171f7 100644 --- a/gen/vitess/tabletmanagerservice/v17/tabletmanagerservicev17connect/tabletmanagerservice.connect.go +++ b/gen/vitess/tabletmanagerservice/v17/tabletmanagerservicev17connect/tabletmanagerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v17 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v17" - _ "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v17" + v171 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v17" + v17 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v17" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // TabletManagerName is the fully-qualified name of the TabletManager service. @@ -189,90 +189,142 @@ const ( TabletManagerRestoreFromBackupProcedure = "/tabletmanagerservice.TabletManager/RestoreFromBackup" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + tabletManagerServiceDescriptor = v17.File_vitess_tabletmanagerservice_v17_tabletmanagerservice_proto.Services().ByName("TabletManager") + tabletManagerPingMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Ping") + tabletManagerSleepMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Sleep") + tabletManagerExecuteHookMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteHook") + tabletManagerGetSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetSchema") + tabletManagerGetPermissionsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetPermissions") + tabletManagerSetReadOnlyMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadOnly") + tabletManagerSetReadWriteMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadWrite") + tabletManagerChangeTypeMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ChangeType") + tabletManagerRefreshStateMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RefreshState") + tabletManagerRunHealthCheckMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RunHealthCheck") + tabletManagerReloadSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReloadSchema") + tabletManagerPreflightSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PreflightSchema") + tabletManagerApplySchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ApplySchema") + tabletManagerLockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("LockTables") + tabletManagerUnlockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UnlockTables") + tabletManagerExecuteQueryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteQuery") + tabletManagerExecuteFetchAsDbaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsDba") + tabletManagerExecuteFetchAsAllPrivsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsAllPrivs") + tabletManagerExecuteFetchAsAppMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + tabletManagerReplicationStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicationStatus") + tabletManagerPrimaryStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryStatus") + tabletManagerPrimaryPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryPosition") + tabletManagerWaitForPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("WaitForPosition") + tabletManagerStopReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplication") + tabletManagerStopReplicationMinimumMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationMinimum") + tabletManagerStartReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplication") + tabletManagerStartReplicationUntilAfterMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplicationUntilAfter") + tabletManagerGetReplicasMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetReplicas") + tabletManagerVReplicationExecMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationExec") + tabletManagerVReplicationWaitForPosMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationWaitForPos") + tabletManagerUpdateVRWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UpdateVRWorkflow") + tabletManagerVDiffMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VDiff") + tabletManagerResetReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplication") + tabletManagerInitPrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitPrimary") + tabletManagerPopulateReparentJournalMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PopulateReparentJournal") + tabletManagerInitReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitReplica") + tabletManagerDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DemotePrimary") + tabletManagerUndoDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UndoDemotePrimary") + tabletManagerReplicaWasPromotedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasPromoted") + tabletManagerResetReplicationParametersMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplicationParameters") + tabletManagerFullStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("FullStatus") + tabletManagerSetReplicationSourceMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReplicationSource") + tabletManagerReplicaWasRestartedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasRestarted") + tabletManagerStopReplicationAndGetStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationAndGetStatus") + tabletManagerPromoteReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PromoteReplica") + tabletManagerBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Backup") + tabletManagerRestoreFromBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RestoreFromBackup") +) + // TabletManagerClient is a client for the tabletmanagerservice.TabletManager service. type TabletManagerClient interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[v17.PingRequest]) (*connect.Response[v17.PingResponse], error) + Ping(context.Context, *connect.Request[v171.PingRequest]) (*connect.Response[v171.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[v17.SleepRequest]) (*connect.Response[v17.SleepResponse], error) + Sleep(context.Context, *connect.Request[v171.SleepRequest]) (*connect.Response[v171.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[v17.SetReadOnlyRequest]) (*connect.Response[v17.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[v17.SetReadWriteRequest]) (*connect.Response[v17.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v171.SetReadOnlyRequest]) (*connect.Response[v171.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v171.SetReadWriteRequest]) (*connect.Response[v171.SetReadWriteResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[v17.ChangeTypeRequest]) (*connect.Response[v17.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[v17.PreflightSchemaRequest]) (*connect.Response[v17.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) - LockTables(context.Context, *connect.Request[v17.LockTablesRequest]) (*connect.Response[v17.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[v17.UnlockTablesRequest]) (*connect.Response[v17.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[v17.ExecuteQueryRequest]) (*connect.Response[v17.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[v17.ExecuteFetchAsDbaRequest]) (*connect.Response[v17.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v17.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v17.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[v171.ChangeTypeRequest]) (*connect.Response[v171.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v171.PreflightSchemaRequest]) (*connect.Response[v171.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) + LockTables(context.Context, *connect.Request[v171.LockTablesRequest]) (*connect.Response[v171.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v171.UnlockTablesRequest]) (*connect.Response[v171.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v171.ExecuteQueryRequest]) (*connect.Response[v171.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v171.ExecuteFetchAsDbaRequest]) (*connect.Response[v171.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v171.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v171.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[v17.ReplicationStatusRequest]) (*connect.Response[v17.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[v171.ReplicationStatusRequest]) (*connect.Response[v171.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[v17.PrimaryStatusRequest]) (*connect.Response[v17.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[v171.PrimaryStatusRequest]) (*connect.Response[v171.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[v17.PrimaryPositionRequest]) (*connect.Response[v17.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[v171.PrimaryPositionRequest]) (*connect.Response[v171.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[v17.WaitForPositionRequest]) (*connect.Response[v17.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[v171.WaitForPositionRequest]) (*connect.Response[v171.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[v17.StopReplicationMinimumRequest]) (*connect.Response[v17.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[v171.StopReplicationMinimumRequest]) (*connect.Response[v171.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[v17.StartReplicationUntilAfterRequest]) (*connect.Response[v17.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[v171.StartReplicationUntilAfterRequest]) (*connect.Response[v171.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[v17.GetReplicasRequest]) (*connect.Response[v17.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[v171.GetReplicasRequest]) (*connect.Response[v171.GetReplicasResponse], error) // VReplication API - VReplicationExec(context.Context, *connect.Request[v17.VReplicationExecRequest]) (*connect.Response[v17.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[v17.VReplicationWaitForPosRequest]) (*connect.Response[v17.VReplicationWaitForPosResponse], error) - UpdateVRWorkflow(context.Context, *connect.Request[v17.UpdateVRWorkflowRequest]) (*connect.Response[v17.UpdateVRWorkflowResponse], error) + VReplicationExec(context.Context, *connect.Request[v171.VReplicationExecRequest]) (*connect.Response[v171.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v171.VReplicationWaitForPosRequest]) (*connect.Response[v171.VReplicationWaitForPosResponse], error) + UpdateVRWorkflow(context.Context, *connect.Request[v171.UpdateVRWorkflowRequest]) (*connect.Response[v171.UpdateVRWorkflowResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[v17.VDiffRequest]) (*connect.Response[v17.VDiffResponse], error) + VDiff(context.Context, *connect.Request[v171.VDiffRequest]) (*connect.Response[v171.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[v17.ResetReplicationRequest]) (*connect.Response[v17.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[v171.ResetReplicationRequest]) (*connect.Response[v171.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[v17.InitPrimaryRequest]) (*connect.Response[v17.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[v171.InitPrimaryRequest]) (*connect.Response[v171.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[v17.PopulateReparentJournalRequest]) (*connect.Response[v17.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[v171.PopulateReparentJournalRequest]) (*connect.Response[v171.PopulateReparentJournalResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[v17.InitReplicaRequest]) (*connect.Response[v17.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[v171.InitReplicaRequest]) (*connect.Response[v171.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[v17.DemotePrimaryRequest]) (*connect.Response[v17.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[v171.DemotePrimaryRequest]) (*connect.Response[v171.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[v17.UndoDemotePrimaryRequest]) (*connect.Response[v17.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[v171.UndoDemotePrimaryRequest]) (*connect.Response[v171.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[v17.ReplicaWasPromotedRequest]) (*connect.Response[v17.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[v171.ReplicaWasPromotedRequest]) (*connect.Response[v171.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[v17.ResetReplicationParametersRequest]) (*connect.Response[v17.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[v171.ResetReplicationParametersRequest]) (*connect.Response[v171.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[v17.FullStatusRequest]) (*connect.Response[v17.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[v171.FullStatusRequest]) (*connect.Response[v171.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[v17.SetReplicationSourceRequest]) (*connect.Response[v17.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[v171.SetReplicationSourceRequest]) (*connect.Response[v171.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[v17.ReplicaWasRestartedRequest]) (*connect.Response[v17.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[v171.ReplicaWasRestartedRequest]) (*connect.Response[v171.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[v17.StopReplicationAndGetStatusRequest]) (*connect.Response[v17.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[v171.StopReplicationAndGetStatusRequest]) (*connect.Response[v171.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[v17.PromoteReplicaRequest]) (*connect.Response[v17.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[v17.BackupRequest]) (*connect.ServerStreamForClient[v17.BackupResponse], error) + PromoteReplica(context.Context, *connect.Request[v171.PromoteReplicaRequest]) (*connect.Response[v171.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v171.BackupRequest]) (*connect.ServerStreamForClient[v171.BackupResponse], error) // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[v17.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v17.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[v171.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v171.RestoreFromBackupResponse], error) } // NewTabletManagerClient constructs a client for the tabletmanagerservice.TabletManager @@ -285,534 +337,581 @@ type TabletManagerClient interface { func NewTabletManagerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TabletManagerClient { baseURL = strings.TrimRight(baseURL, "/") return &tabletManagerClient{ - ping: connect.NewClient[v17.PingRequest, v17.PingResponse]( + ping: connect.NewClient[v171.PingRequest, v171.PingResponse]( httpClient, baseURL+TabletManagerPingProcedure, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleep: connect.NewClient[v17.SleepRequest, v17.SleepResponse]( + sleep: connect.NewClient[v171.SleepRequest, v171.SleepResponse]( httpClient, baseURL+TabletManagerSleepProcedure, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[v17.ExecuteHookRequest, v17.ExecuteHookResponse]( + executeHook: connect.NewClient[v171.ExecuteHookRequest, v171.ExecuteHookResponse]( httpClient, baseURL+TabletManagerExecuteHookProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v17.GetSchemaRequest, v17.GetSchemaResponse]( + getSchema: connect.NewClient[v171.GetSchemaRequest, v171.GetSchemaResponse]( httpClient, baseURL+TabletManagerGetSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[v17.GetPermissionsRequest, v17.GetPermissionsResponse]( + getPermissions: connect.NewClient[v171.GetPermissionsRequest, v171.GetPermissionsResponse]( httpClient, baseURL+TabletManagerGetPermissionsProcedure, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadOnly: connect.NewClient[v17.SetReadOnlyRequest, v17.SetReadOnlyResponse]( + setReadOnly: connect.NewClient[v171.SetReadOnlyRequest, v171.SetReadOnlyResponse]( httpClient, baseURL+TabletManagerSetReadOnlyProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadWrite: connect.NewClient[v17.SetReadWriteRequest, v17.SetReadWriteResponse]( + setReadWrite: connect.NewClient[v171.SetReadWriteRequest, v171.SetReadWriteResponse]( httpClient, baseURL+TabletManagerSetReadWriteProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeType: connect.NewClient[v17.ChangeTypeRequest, v17.ChangeTypeResponse]( + changeType: connect.NewClient[v171.ChangeTypeRequest, v171.ChangeTypeResponse]( httpClient, baseURL+TabletManagerChangeTypeProcedure, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[v17.RefreshStateRequest, v17.RefreshStateResponse]( + refreshState: connect.NewClient[v171.RefreshStateRequest, v171.RefreshStateResponse]( httpClient, baseURL+TabletManagerRefreshStateProcedure, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[v17.RunHealthCheckRequest, v17.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[v171.RunHealthCheckRequest, v171.RunHealthCheckResponse]( httpClient, baseURL+TabletManagerRunHealthCheckProcedure, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[v17.ReloadSchemaRequest, v17.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[v171.ReloadSchemaRequest, v171.ReloadSchemaResponse]( httpClient, baseURL+TabletManagerReloadSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - preflightSchema: connect.NewClient[v17.PreflightSchemaRequest, v17.PreflightSchemaResponse]( + preflightSchema: connect.NewClient[v171.PreflightSchemaRequest, v171.PreflightSchemaResponse]( httpClient, baseURL+TabletManagerPreflightSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[v17.ApplySchemaRequest, v17.ApplySchemaResponse]( + applySchema: connect.NewClient[v171.ApplySchemaRequest, v171.ApplySchemaResponse]( httpClient, baseURL+TabletManagerApplySchemaProcedure, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - lockTables: connect.NewClient[v17.LockTablesRequest, v17.LockTablesResponse]( + lockTables: connect.NewClient[v171.LockTablesRequest, v171.LockTablesResponse]( httpClient, baseURL+TabletManagerLockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - unlockTables: connect.NewClient[v17.UnlockTablesRequest, v17.UnlockTablesResponse]( + unlockTables: connect.NewClient[v171.UnlockTablesRequest, v171.UnlockTablesResponse]( httpClient, baseURL+TabletManagerUnlockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeQuery: connect.NewClient[v17.ExecuteQueryRequest, v17.ExecuteQueryResponse]( + executeQuery: connect.NewClient[v171.ExecuteQueryRequest, v171.ExecuteQueryResponse]( httpClient, baseURL+TabletManagerExecuteQueryProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDba: connect.NewClient[v17.ExecuteFetchAsDbaRequest, v17.ExecuteFetchAsDbaResponse]( + executeFetchAsDba: connect.NewClient[v171.ExecuteFetchAsDbaRequest, v171.ExecuteFetchAsDbaResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsDbaProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsAllPrivs: connect.NewClient[v17.ExecuteFetchAsAllPrivsRequest, v17.ExecuteFetchAsAllPrivsResponse]( + executeFetchAsAllPrivs: connect.NewClient[v171.ExecuteFetchAsAllPrivsRequest, v171.ExecuteFetchAsAllPrivsResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAllPrivsProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[v17.ExecuteFetchAsAppRequest, v17.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[v171.ExecuteFetchAsAppRequest, v171.ExecuteFetchAsAppResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicationStatus: connect.NewClient[v17.ReplicationStatusRequest, v17.ReplicationStatusResponse]( + replicationStatus: connect.NewClient[v171.ReplicationStatusRequest, v171.ReplicationStatusResponse]( httpClient, baseURL+TabletManagerReplicationStatusProcedure, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryStatus: connect.NewClient[v17.PrimaryStatusRequest, v17.PrimaryStatusResponse]( + primaryStatus: connect.NewClient[v171.PrimaryStatusRequest, v171.PrimaryStatusResponse]( httpClient, baseURL+TabletManagerPrimaryStatusProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryPosition: connect.NewClient[v17.PrimaryPositionRequest, v17.PrimaryPositionResponse]( + primaryPosition: connect.NewClient[v171.PrimaryPositionRequest, v171.PrimaryPositionResponse]( httpClient, baseURL+TabletManagerPrimaryPositionProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - waitForPosition: connect.NewClient[v17.WaitForPositionRequest, v17.WaitForPositionResponse]( + waitForPosition: connect.NewClient[v171.WaitForPositionRequest, v171.WaitForPositionResponse]( httpClient, baseURL+TabletManagerWaitForPositionProcedure, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[v17.StopReplicationRequest, v17.StopReplicationResponse]( + stopReplication: connect.NewClient[v171.StopReplicationRequest, v171.StopReplicationResponse]( httpClient, baseURL+TabletManagerStopReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationMinimum: connect.NewClient[v17.StopReplicationMinimumRequest, v17.StopReplicationMinimumResponse]( + stopReplicationMinimum: connect.NewClient[v171.StopReplicationMinimumRequest, v171.StopReplicationMinimumResponse]( httpClient, baseURL+TabletManagerStopReplicationMinimumProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[v17.StartReplicationRequest, v17.StartReplicationResponse]( + startReplication: connect.NewClient[v171.StartReplicationRequest, v171.StartReplicationResponse]( httpClient, baseURL+TabletManagerStartReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplicationUntilAfter: connect.NewClient[v17.StartReplicationUntilAfterRequest, v17.StartReplicationUntilAfterResponse]( + startReplicationUntilAfter: connect.NewClient[v171.StartReplicationUntilAfterRequest, v171.StartReplicationUntilAfterResponse]( httpClient, baseURL+TabletManagerStartReplicationUntilAfterProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithClientOptions(opts...), ), - getReplicas: connect.NewClient[v17.GetReplicasRequest, v17.GetReplicasResponse]( + getReplicas: connect.NewClient[v171.GetReplicasRequest, v171.GetReplicasResponse]( httpClient, baseURL+TabletManagerGetReplicasProcedure, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationExec: connect.NewClient[v17.VReplicationExecRequest, v17.VReplicationExecResponse]( + vReplicationExec: connect.NewClient[v171.VReplicationExecRequest, v171.VReplicationExecResponse]( httpClient, baseURL+TabletManagerVReplicationExecProcedure, - opts..., + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationWaitForPos: connect.NewClient[v17.VReplicationWaitForPosRequest, v17.VReplicationWaitForPosResponse]( + vReplicationWaitForPos: connect.NewClient[v171.VReplicationWaitForPosRequest, v171.VReplicationWaitForPosResponse]( httpClient, baseURL+TabletManagerVReplicationWaitForPosProcedure, - opts..., + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateVRWorkflow: connect.NewClient[v17.UpdateVRWorkflowRequest, v17.UpdateVRWorkflowResponse]( + updateVRWorkflow: connect.NewClient[v171.UpdateVRWorkflowRequest, v171.UpdateVRWorkflowResponse]( httpClient, baseURL+TabletManagerUpdateVRWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerUpdateVRWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiff: connect.NewClient[v17.VDiffRequest, v17.VDiffResponse]( + vDiff: connect.NewClient[v171.VDiffRequest, v171.VDiffResponse]( httpClient, baseURL+TabletManagerVDiffProcedure, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplication: connect.NewClient[v17.ResetReplicationRequest, v17.ResetReplicationResponse]( + resetReplication: connect.NewClient[v171.ResetReplicationRequest, v171.ResetReplicationResponse]( httpClient, baseURL+TabletManagerResetReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - initPrimary: connect.NewClient[v17.InitPrimaryRequest, v17.InitPrimaryResponse]( + initPrimary: connect.NewClient[v171.InitPrimaryRequest, v171.InitPrimaryResponse]( httpClient, baseURL+TabletManagerInitPrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - populateReparentJournal: connect.NewClient[v17.PopulateReparentJournalRequest, v17.PopulateReparentJournalResponse]( + populateReparentJournal: connect.NewClient[v171.PopulateReparentJournalRequest, v171.PopulateReparentJournalResponse]( httpClient, baseURL+TabletManagerPopulateReparentJournalProcedure, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithClientOptions(opts...), ), - initReplica: connect.NewClient[v17.InitReplicaRequest, v17.InitReplicaResponse]( + initReplica: connect.NewClient[v171.InitReplicaRequest, v171.InitReplicaResponse]( httpClient, baseURL+TabletManagerInitReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - demotePrimary: connect.NewClient[v17.DemotePrimaryRequest, v17.DemotePrimaryResponse]( + demotePrimary: connect.NewClient[v171.DemotePrimaryRequest, v171.DemotePrimaryResponse]( httpClient, baseURL+TabletManagerDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - undoDemotePrimary: connect.NewClient[v17.UndoDemotePrimaryRequest, v17.UndoDemotePrimaryResponse]( + undoDemotePrimary: connect.NewClient[v171.UndoDemotePrimaryRequest, v171.UndoDemotePrimaryResponse]( httpClient, baseURL+TabletManagerUndoDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasPromoted: connect.NewClient[v17.ReplicaWasPromotedRequest, v17.ReplicaWasPromotedResponse]( + replicaWasPromoted: connect.NewClient[v171.ReplicaWasPromotedRequest, v171.ReplicaWasPromotedResponse]( httpClient, baseURL+TabletManagerReplicaWasPromotedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplicationParameters: connect.NewClient[v17.ResetReplicationParametersRequest, v17.ResetReplicationParametersResponse]( + resetReplicationParameters: connect.NewClient[v171.ResetReplicationParametersRequest, v171.ResetReplicationParametersResponse]( httpClient, baseURL+TabletManagerResetReplicationParametersProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithClientOptions(opts...), ), - fullStatus: connect.NewClient[v17.FullStatusRequest, v17.FullStatusResponse]( + fullStatus: connect.NewClient[v171.FullStatusRequest, v171.FullStatusResponse]( httpClient, baseURL+TabletManagerFullStatusProcedure, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReplicationSource: connect.NewClient[v17.SetReplicationSourceRequest, v17.SetReplicationSourceResponse]( + setReplicationSource: connect.NewClient[v171.SetReplicationSourceRequest, v171.SetReplicationSourceResponse]( httpClient, baseURL+TabletManagerSetReplicationSourceProcedure, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasRestarted: connect.NewClient[v17.ReplicaWasRestartedRequest, v17.ReplicaWasRestartedResponse]( + replicaWasRestarted: connect.NewClient[v171.ReplicaWasRestartedRequest, v171.ReplicaWasRestartedResponse]( httpClient, baseURL+TabletManagerReplicaWasRestartedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationAndGetStatus: connect.NewClient[v17.StopReplicationAndGetStatusRequest, v17.StopReplicationAndGetStatusResponse]( + stopReplicationAndGetStatus: connect.NewClient[v171.StopReplicationAndGetStatusRequest, v171.StopReplicationAndGetStatusResponse]( httpClient, baseURL+TabletManagerStopReplicationAndGetStatusProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - promoteReplica: connect.NewClient[v17.PromoteReplicaRequest, v17.PromoteReplicaResponse]( + promoteReplica: connect.NewClient[v171.PromoteReplicaRequest, v171.PromoteReplicaResponse]( httpClient, baseURL+TabletManagerPromoteReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[v17.BackupRequest, v17.BackupResponse]( + backup: connect.NewClient[v171.BackupRequest, v171.BackupResponse]( httpClient, baseURL+TabletManagerBackupProcedure, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[v17.RestoreFromBackupRequest, v17.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[v171.RestoreFromBackupRequest, v171.RestoreFromBackupResponse]( httpClient, baseURL+TabletManagerRestoreFromBackupProcedure, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // tabletManagerClient implements TabletManagerClient. type tabletManagerClient struct { - ping *connect.Client[v17.PingRequest, v17.PingResponse] - sleep *connect.Client[v17.SleepRequest, v17.SleepResponse] - executeHook *connect.Client[v17.ExecuteHookRequest, v17.ExecuteHookResponse] - getSchema *connect.Client[v17.GetSchemaRequest, v17.GetSchemaResponse] - getPermissions *connect.Client[v17.GetPermissionsRequest, v17.GetPermissionsResponse] - setReadOnly *connect.Client[v17.SetReadOnlyRequest, v17.SetReadOnlyResponse] - setReadWrite *connect.Client[v17.SetReadWriteRequest, v17.SetReadWriteResponse] - changeType *connect.Client[v17.ChangeTypeRequest, v17.ChangeTypeResponse] - refreshState *connect.Client[v17.RefreshStateRequest, v17.RefreshStateResponse] - runHealthCheck *connect.Client[v17.RunHealthCheckRequest, v17.RunHealthCheckResponse] - reloadSchema *connect.Client[v17.ReloadSchemaRequest, v17.ReloadSchemaResponse] - preflightSchema *connect.Client[v17.PreflightSchemaRequest, v17.PreflightSchemaResponse] - applySchema *connect.Client[v17.ApplySchemaRequest, v17.ApplySchemaResponse] - lockTables *connect.Client[v17.LockTablesRequest, v17.LockTablesResponse] - unlockTables *connect.Client[v17.UnlockTablesRequest, v17.UnlockTablesResponse] - executeQuery *connect.Client[v17.ExecuteQueryRequest, v17.ExecuteQueryResponse] - executeFetchAsDba *connect.Client[v17.ExecuteFetchAsDbaRequest, v17.ExecuteFetchAsDbaResponse] - executeFetchAsAllPrivs *connect.Client[v17.ExecuteFetchAsAllPrivsRequest, v17.ExecuteFetchAsAllPrivsResponse] - executeFetchAsApp *connect.Client[v17.ExecuteFetchAsAppRequest, v17.ExecuteFetchAsAppResponse] - replicationStatus *connect.Client[v17.ReplicationStatusRequest, v17.ReplicationStatusResponse] - primaryStatus *connect.Client[v17.PrimaryStatusRequest, v17.PrimaryStatusResponse] - primaryPosition *connect.Client[v17.PrimaryPositionRequest, v17.PrimaryPositionResponse] - waitForPosition *connect.Client[v17.WaitForPositionRequest, v17.WaitForPositionResponse] - stopReplication *connect.Client[v17.StopReplicationRequest, v17.StopReplicationResponse] - stopReplicationMinimum *connect.Client[v17.StopReplicationMinimumRequest, v17.StopReplicationMinimumResponse] - startReplication *connect.Client[v17.StartReplicationRequest, v17.StartReplicationResponse] - startReplicationUntilAfter *connect.Client[v17.StartReplicationUntilAfterRequest, v17.StartReplicationUntilAfterResponse] - getReplicas *connect.Client[v17.GetReplicasRequest, v17.GetReplicasResponse] - vReplicationExec *connect.Client[v17.VReplicationExecRequest, v17.VReplicationExecResponse] - vReplicationWaitForPos *connect.Client[v17.VReplicationWaitForPosRequest, v17.VReplicationWaitForPosResponse] - updateVRWorkflow *connect.Client[v17.UpdateVRWorkflowRequest, v17.UpdateVRWorkflowResponse] - vDiff *connect.Client[v17.VDiffRequest, v17.VDiffResponse] - resetReplication *connect.Client[v17.ResetReplicationRequest, v17.ResetReplicationResponse] - initPrimary *connect.Client[v17.InitPrimaryRequest, v17.InitPrimaryResponse] - populateReparentJournal *connect.Client[v17.PopulateReparentJournalRequest, v17.PopulateReparentJournalResponse] - initReplica *connect.Client[v17.InitReplicaRequest, v17.InitReplicaResponse] - demotePrimary *connect.Client[v17.DemotePrimaryRequest, v17.DemotePrimaryResponse] - undoDemotePrimary *connect.Client[v17.UndoDemotePrimaryRequest, v17.UndoDemotePrimaryResponse] - replicaWasPromoted *connect.Client[v17.ReplicaWasPromotedRequest, v17.ReplicaWasPromotedResponse] - resetReplicationParameters *connect.Client[v17.ResetReplicationParametersRequest, v17.ResetReplicationParametersResponse] - fullStatus *connect.Client[v17.FullStatusRequest, v17.FullStatusResponse] - setReplicationSource *connect.Client[v17.SetReplicationSourceRequest, v17.SetReplicationSourceResponse] - replicaWasRestarted *connect.Client[v17.ReplicaWasRestartedRequest, v17.ReplicaWasRestartedResponse] - stopReplicationAndGetStatus *connect.Client[v17.StopReplicationAndGetStatusRequest, v17.StopReplicationAndGetStatusResponse] - promoteReplica *connect.Client[v17.PromoteReplicaRequest, v17.PromoteReplicaResponse] - backup *connect.Client[v17.BackupRequest, v17.BackupResponse] - restoreFromBackup *connect.Client[v17.RestoreFromBackupRequest, v17.RestoreFromBackupResponse] + ping *connect.Client[v171.PingRequest, v171.PingResponse] + sleep *connect.Client[v171.SleepRequest, v171.SleepResponse] + executeHook *connect.Client[v171.ExecuteHookRequest, v171.ExecuteHookResponse] + getSchema *connect.Client[v171.GetSchemaRequest, v171.GetSchemaResponse] + getPermissions *connect.Client[v171.GetPermissionsRequest, v171.GetPermissionsResponse] + setReadOnly *connect.Client[v171.SetReadOnlyRequest, v171.SetReadOnlyResponse] + setReadWrite *connect.Client[v171.SetReadWriteRequest, v171.SetReadWriteResponse] + changeType *connect.Client[v171.ChangeTypeRequest, v171.ChangeTypeResponse] + refreshState *connect.Client[v171.RefreshStateRequest, v171.RefreshStateResponse] + runHealthCheck *connect.Client[v171.RunHealthCheckRequest, v171.RunHealthCheckResponse] + reloadSchema *connect.Client[v171.ReloadSchemaRequest, v171.ReloadSchemaResponse] + preflightSchema *connect.Client[v171.PreflightSchemaRequest, v171.PreflightSchemaResponse] + applySchema *connect.Client[v171.ApplySchemaRequest, v171.ApplySchemaResponse] + lockTables *connect.Client[v171.LockTablesRequest, v171.LockTablesResponse] + unlockTables *connect.Client[v171.UnlockTablesRequest, v171.UnlockTablesResponse] + executeQuery *connect.Client[v171.ExecuteQueryRequest, v171.ExecuteQueryResponse] + executeFetchAsDba *connect.Client[v171.ExecuteFetchAsDbaRequest, v171.ExecuteFetchAsDbaResponse] + executeFetchAsAllPrivs *connect.Client[v171.ExecuteFetchAsAllPrivsRequest, v171.ExecuteFetchAsAllPrivsResponse] + executeFetchAsApp *connect.Client[v171.ExecuteFetchAsAppRequest, v171.ExecuteFetchAsAppResponse] + replicationStatus *connect.Client[v171.ReplicationStatusRequest, v171.ReplicationStatusResponse] + primaryStatus *connect.Client[v171.PrimaryStatusRequest, v171.PrimaryStatusResponse] + primaryPosition *connect.Client[v171.PrimaryPositionRequest, v171.PrimaryPositionResponse] + waitForPosition *connect.Client[v171.WaitForPositionRequest, v171.WaitForPositionResponse] + stopReplication *connect.Client[v171.StopReplicationRequest, v171.StopReplicationResponse] + stopReplicationMinimum *connect.Client[v171.StopReplicationMinimumRequest, v171.StopReplicationMinimumResponse] + startReplication *connect.Client[v171.StartReplicationRequest, v171.StartReplicationResponse] + startReplicationUntilAfter *connect.Client[v171.StartReplicationUntilAfterRequest, v171.StartReplicationUntilAfterResponse] + getReplicas *connect.Client[v171.GetReplicasRequest, v171.GetReplicasResponse] + vReplicationExec *connect.Client[v171.VReplicationExecRequest, v171.VReplicationExecResponse] + vReplicationWaitForPos *connect.Client[v171.VReplicationWaitForPosRequest, v171.VReplicationWaitForPosResponse] + updateVRWorkflow *connect.Client[v171.UpdateVRWorkflowRequest, v171.UpdateVRWorkflowResponse] + vDiff *connect.Client[v171.VDiffRequest, v171.VDiffResponse] + resetReplication *connect.Client[v171.ResetReplicationRequest, v171.ResetReplicationResponse] + initPrimary *connect.Client[v171.InitPrimaryRequest, v171.InitPrimaryResponse] + populateReparentJournal *connect.Client[v171.PopulateReparentJournalRequest, v171.PopulateReparentJournalResponse] + initReplica *connect.Client[v171.InitReplicaRequest, v171.InitReplicaResponse] + demotePrimary *connect.Client[v171.DemotePrimaryRequest, v171.DemotePrimaryResponse] + undoDemotePrimary *connect.Client[v171.UndoDemotePrimaryRequest, v171.UndoDemotePrimaryResponse] + replicaWasPromoted *connect.Client[v171.ReplicaWasPromotedRequest, v171.ReplicaWasPromotedResponse] + resetReplicationParameters *connect.Client[v171.ResetReplicationParametersRequest, v171.ResetReplicationParametersResponse] + fullStatus *connect.Client[v171.FullStatusRequest, v171.FullStatusResponse] + setReplicationSource *connect.Client[v171.SetReplicationSourceRequest, v171.SetReplicationSourceResponse] + replicaWasRestarted *connect.Client[v171.ReplicaWasRestartedRequest, v171.ReplicaWasRestartedResponse] + stopReplicationAndGetStatus *connect.Client[v171.StopReplicationAndGetStatusRequest, v171.StopReplicationAndGetStatusResponse] + promoteReplica *connect.Client[v171.PromoteReplicaRequest, v171.PromoteReplicaResponse] + backup *connect.Client[v171.BackupRequest, v171.BackupResponse] + restoreFromBackup *connect.Client[v171.RestoreFromBackupRequest, v171.RestoreFromBackupResponse] } // Ping calls tabletmanagerservice.TabletManager.Ping. -func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[v17.PingRequest]) (*connect.Response[v17.PingResponse], error) { +func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[v171.PingRequest]) (*connect.Response[v171.PingResponse], error) { return c.ping.CallUnary(ctx, req) } // Sleep calls tabletmanagerservice.TabletManager.Sleep. -func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[v17.SleepRequest]) (*connect.Response[v17.SleepResponse], error) { +func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[v171.SleepRequest]) (*connect.Response[v171.SleepResponse], error) { return c.sleep.CallUnary(ctx, req) } // ExecuteHook calls tabletmanagerservice.TabletManager.ExecuteHook. -func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) { +func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } // GetSchema calls tabletmanagerservice.TabletManager.GetSchema. -func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) { +func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetPermissions calls tabletmanagerservice.TabletManager.GetPermissions. -func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) { +func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } // SetReadOnly calls tabletmanagerservice.TabletManager.SetReadOnly. -func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[v17.SetReadOnlyRequest]) (*connect.Response[v17.SetReadOnlyResponse], error) { +func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[v171.SetReadOnlyRequest]) (*connect.Response[v171.SetReadOnlyResponse], error) { return c.setReadOnly.CallUnary(ctx, req) } // SetReadWrite calls tabletmanagerservice.TabletManager.SetReadWrite. -func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[v17.SetReadWriteRequest]) (*connect.Response[v17.SetReadWriteResponse], error) { +func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[v171.SetReadWriteRequest]) (*connect.Response[v171.SetReadWriteResponse], error) { return c.setReadWrite.CallUnary(ctx, req) } // ChangeType calls tabletmanagerservice.TabletManager.ChangeType. -func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[v17.ChangeTypeRequest]) (*connect.Response[v17.ChangeTypeResponse], error) { +func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[v171.ChangeTypeRequest]) (*connect.Response[v171.ChangeTypeResponse], error) { return c.changeType.CallUnary(ctx, req) } // RefreshState calls tabletmanagerservice.TabletManager.RefreshState. -func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) { +func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RunHealthCheck calls tabletmanagerservice.TabletManager.RunHealthCheck. -func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) { +func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // ReloadSchema calls tabletmanagerservice.TabletManager.ReloadSchema. -func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) { +func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // PreflightSchema calls tabletmanagerservice.TabletManager.PreflightSchema. -func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[v17.PreflightSchemaRequest]) (*connect.Response[v17.PreflightSchemaResponse], error) { +func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[v171.PreflightSchemaRequest]) (*connect.Response[v171.PreflightSchemaResponse], error) { return c.preflightSchema.CallUnary(ctx, req) } // ApplySchema calls tabletmanagerservice.TabletManager.ApplySchema. -func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) { +func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } // LockTables calls tabletmanagerservice.TabletManager.LockTables. -func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[v17.LockTablesRequest]) (*connect.Response[v17.LockTablesResponse], error) { +func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[v171.LockTablesRequest]) (*connect.Response[v171.LockTablesResponse], error) { return c.lockTables.CallUnary(ctx, req) } // UnlockTables calls tabletmanagerservice.TabletManager.UnlockTables. -func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[v17.UnlockTablesRequest]) (*connect.Response[v17.UnlockTablesResponse], error) { +func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[v171.UnlockTablesRequest]) (*connect.Response[v171.UnlockTablesResponse], error) { return c.unlockTables.CallUnary(ctx, req) } // ExecuteQuery calls tabletmanagerservice.TabletManager.ExecuteQuery. -func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[v17.ExecuteQueryRequest]) (*connect.Response[v17.ExecuteQueryResponse], error) { +func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[v171.ExecuteQueryRequest]) (*connect.Response[v171.ExecuteQueryResponse], error) { return c.executeQuery.CallUnary(ctx, req) } // ExecuteFetchAsDba calls tabletmanagerservice.TabletManager.ExecuteFetchAsDba. -func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[v17.ExecuteFetchAsDbaRequest]) (*connect.Response[v17.ExecuteFetchAsDbaResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[v171.ExecuteFetchAsDbaRequest]) (*connect.Response[v171.ExecuteFetchAsDbaResponse], error) { return c.executeFetchAsDba.CallUnary(ctx, req) } // ExecuteFetchAsAllPrivs calls // tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs. -func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[v17.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v17.ExecuteFetchAsAllPrivsResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[v171.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v171.ExecuteFetchAsAllPrivsResponse], error) { return c.executeFetchAsAllPrivs.CallUnary(ctx, req) } // ExecuteFetchAsApp calls tabletmanagerservice.TabletManager.ExecuteFetchAsApp. -func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } // ReplicationStatus calls tabletmanagerservice.TabletManager.ReplicationStatus. -func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[v17.ReplicationStatusRequest]) (*connect.Response[v17.ReplicationStatusResponse], error) { +func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[v171.ReplicationStatusRequest]) (*connect.Response[v171.ReplicationStatusResponse], error) { return c.replicationStatus.CallUnary(ctx, req) } // PrimaryStatus calls tabletmanagerservice.TabletManager.PrimaryStatus. -func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[v17.PrimaryStatusRequest]) (*connect.Response[v17.PrimaryStatusResponse], error) { +func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[v171.PrimaryStatusRequest]) (*connect.Response[v171.PrimaryStatusResponse], error) { return c.primaryStatus.CallUnary(ctx, req) } // PrimaryPosition calls tabletmanagerservice.TabletManager.PrimaryPosition. -func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[v17.PrimaryPositionRequest]) (*connect.Response[v17.PrimaryPositionResponse], error) { +func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[v171.PrimaryPositionRequest]) (*connect.Response[v171.PrimaryPositionResponse], error) { return c.primaryPosition.CallUnary(ctx, req) } // WaitForPosition calls tabletmanagerservice.TabletManager.WaitForPosition. -func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[v17.WaitForPositionRequest]) (*connect.Response[v17.WaitForPositionResponse], error) { +func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[v171.WaitForPositionRequest]) (*connect.Response[v171.WaitForPositionResponse], error) { return c.waitForPosition.CallUnary(ctx, req) } // StopReplication calls tabletmanagerservice.TabletManager.StopReplication. -func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) { +func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // StopReplicationMinimum calls // tabletmanagerservice.TabletManager.StopReplicationMinimum. -func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[v17.StopReplicationMinimumRequest]) (*connect.Response[v17.StopReplicationMinimumResponse], error) { +func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[v171.StopReplicationMinimumRequest]) (*connect.Response[v171.StopReplicationMinimumResponse], error) { return c.stopReplicationMinimum.CallUnary(ctx, req) } // StartReplication calls tabletmanagerservice.TabletManager.StartReplication. -func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) { +func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StartReplicationUntilAfter calls // tabletmanagerservice.TabletManager.StartReplicationUntilAfter. -func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[v17.StartReplicationUntilAfterRequest]) (*connect.Response[v17.StartReplicationUntilAfterResponse], error) { +func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[v171.StartReplicationUntilAfterRequest]) (*connect.Response[v171.StartReplicationUntilAfterResponse], error) { return c.startReplicationUntilAfter.CallUnary(ctx, req) } // GetReplicas calls tabletmanagerservice.TabletManager.GetReplicas. -func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[v17.GetReplicasRequest]) (*connect.Response[v17.GetReplicasResponse], error) { +func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[v171.GetReplicasRequest]) (*connect.Response[v171.GetReplicasResponse], error) { return c.getReplicas.CallUnary(ctx, req) } // VReplicationExec calls tabletmanagerservice.TabletManager.VReplicationExec. -func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[v17.VReplicationExecRequest]) (*connect.Response[v17.VReplicationExecResponse], error) { +func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[v171.VReplicationExecRequest]) (*connect.Response[v171.VReplicationExecResponse], error) { return c.vReplicationExec.CallUnary(ctx, req) } // VReplicationWaitForPos calls // tabletmanagerservice.TabletManager.VReplicationWaitForPos. -func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[v17.VReplicationWaitForPosRequest]) (*connect.Response[v17.VReplicationWaitForPosResponse], error) { +func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[v171.VReplicationWaitForPosRequest]) (*connect.Response[v171.VReplicationWaitForPosResponse], error) { return c.vReplicationWaitForPos.CallUnary(ctx, req) } // UpdateVRWorkflow calls tabletmanagerservice.TabletManager.UpdateVRWorkflow. -func (c *tabletManagerClient) UpdateVRWorkflow(ctx context.Context, req *connect.Request[v17.UpdateVRWorkflowRequest]) (*connect.Response[v17.UpdateVRWorkflowResponse], error) { +func (c *tabletManagerClient) UpdateVRWorkflow(ctx context.Context, req *connect.Request[v171.UpdateVRWorkflowRequest]) (*connect.Response[v171.UpdateVRWorkflowResponse], error) { return c.updateVRWorkflow.CallUnary(ctx, req) } // VDiff calls tabletmanagerservice.TabletManager.VDiff. -func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[v17.VDiffRequest]) (*connect.Response[v17.VDiffResponse], error) { +func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[v171.VDiffRequest]) (*connect.Response[v171.VDiffResponse], error) { return c.vDiff.CallUnary(ctx, req) } // ResetReplication calls tabletmanagerservice.TabletManager.ResetReplication. -func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[v17.ResetReplicationRequest]) (*connect.Response[v17.ResetReplicationResponse], error) { +func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[v171.ResetReplicationRequest]) (*connect.Response[v171.ResetReplicationResponse], error) { return c.resetReplication.CallUnary(ctx, req) } // InitPrimary calls tabletmanagerservice.TabletManager.InitPrimary. -func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[v17.InitPrimaryRequest]) (*connect.Response[v17.InitPrimaryResponse], error) { +func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[v171.InitPrimaryRequest]) (*connect.Response[v171.InitPrimaryResponse], error) { return c.initPrimary.CallUnary(ctx, req) } // PopulateReparentJournal calls // tabletmanagerservice.TabletManager.PopulateReparentJournal. -func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[v17.PopulateReparentJournalRequest]) (*connect.Response[v17.PopulateReparentJournalResponse], error) { +func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[v171.PopulateReparentJournalRequest]) (*connect.Response[v171.PopulateReparentJournalResponse], error) { return c.populateReparentJournal.CallUnary(ctx, req) } // InitReplica calls tabletmanagerservice.TabletManager.InitReplica. -func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[v17.InitReplicaRequest]) (*connect.Response[v17.InitReplicaResponse], error) { +func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[v171.InitReplicaRequest]) (*connect.Response[v171.InitReplicaResponse], error) { return c.initReplica.CallUnary(ctx, req) } // DemotePrimary calls tabletmanagerservice.TabletManager.DemotePrimary. -func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[v17.DemotePrimaryRequest]) (*connect.Response[v17.DemotePrimaryResponse], error) { +func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[v171.DemotePrimaryRequest]) (*connect.Response[v171.DemotePrimaryResponse], error) { return c.demotePrimary.CallUnary(ctx, req) } // UndoDemotePrimary calls tabletmanagerservice.TabletManager.UndoDemotePrimary. -func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[v17.UndoDemotePrimaryRequest]) (*connect.Response[v17.UndoDemotePrimaryResponse], error) { +func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[v171.UndoDemotePrimaryRequest]) (*connect.Response[v171.UndoDemotePrimaryResponse], error) { return c.undoDemotePrimary.CallUnary(ctx, req) } // ReplicaWasPromoted calls tabletmanagerservice.TabletManager.ReplicaWasPromoted. -func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[v17.ReplicaWasPromotedRequest]) (*connect.Response[v17.ReplicaWasPromotedResponse], error) { +func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[v171.ReplicaWasPromotedRequest]) (*connect.Response[v171.ReplicaWasPromotedResponse], error) { return c.replicaWasPromoted.CallUnary(ctx, req) } // ResetReplicationParameters calls // tabletmanagerservice.TabletManager.ResetReplicationParameters. -func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[v17.ResetReplicationParametersRequest]) (*connect.Response[v17.ResetReplicationParametersResponse], error) { +func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[v171.ResetReplicationParametersRequest]) (*connect.Response[v171.ResetReplicationParametersResponse], error) { return c.resetReplicationParameters.CallUnary(ctx, req) } // FullStatus calls tabletmanagerservice.TabletManager.FullStatus. -func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[v17.FullStatusRequest]) (*connect.Response[v17.FullStatusResponse], error) { +func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[v171.FullStatusRequest]) (*connect.Response[v171.FullStatusResponse], error) { return c.fullStatus.CallUnary(ctx, req) } // SetReplicationSource calls tabletmanagerservice.TabletManager.SetReplicationSource. -func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[v17.SetReplicationSourceRequest]) (*connect.Response[v17.SetReplicationSourceResponse], error) { +func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[v171.SetReplicationSourceRequest]) (*connect.Response[v171.SetReplicationSourceResponse], error) { return c.setReplicationSource.CallUnary(ctx, req) } // ReplicaWasRestarted calls tabletmanagerservice.TabletManager.ReplicaWasRestarted. -func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[v17.ReplicaWasRestartedRequest]) (*connect.Response[v17.ReplicaWasRestartedResponse], error) { +func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[v171.ReplicaWasRestartedRequest]) (*connect.Response[v171.ReplicaWasRestartedResponse], error) { return c.replicaWasRestarted.CallUnary(ctx, req) } // StopReplicationAndGetStatus calls // tabletmanagerservice.TabletManager.StopReplicationAndGetStatus. -func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[v17.StopReplicationAndGetStatusRequest]) (*connect.Response[v17.StopReplicationAndGetStatusResponse], error) { +func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[v171.StopReplicationAndGetStatusRequest]) (*connect.Response[v171.StopReplicationAndGetStatusResponse], error) { return c.stopReplicationAndGetStatus.CallUnary(ctx, req) } // PromoteReplica calls tabletmanagerservice.TabletManager.PromoteReplica. -func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[v17.PromoteReplicaRequest]) (*connect.Response[v17.PromoteReplicaResponse], error) { +func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[v171.PromoteReplicaRequest]) (*connect.Response[v171.PromoteReplicaResponse], error) { return c.promoteReplica.CallUnary(ctx, req) } // Backup calls tabletmanagerservice.TabletManager.Backup. -func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[v17.BackupRequest]) (*connect.ServerStreamForClient[v17.BackupResponse], error) { +func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[v171.BackupRequest]) (*connect.ServerStreamForClient[v171.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // RestoreFromBackup calls tabletmanagerservice.TabletManager.RestoreFromBackup. -func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v17.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v17.RestoreFromBackupResponse], error) { +func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v171.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v171.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } @@ -820,87 +919,87 @@ func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connec // service. type TabletManagerHandler interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[v17.PingRequest]) (*connect.Response[v17.PingResponse], error) + Ping(context.Context, *connect.Request[v171.PingRequest]) (*connect.Response[v171.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[v17.SleepRequest]) (*connect.Response[v17.SleepResponse], error) + Sleep(context.Context, *connect.Request[v171.SleepRequest]) (*connect.Response[v171.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[v17.SetReadOnlyRequest]) (*connect.Response[v17.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[v17.SetReadWriteRequest]) (*connect.Response[v17.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v171.SetReadOnlyRequest]) (*connect.Response[v171.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v171.SetReadWriteRequest]) (*connect.Response[v171.SetReadWriteResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[v17.ChangeTypeRequest]) (*connect.Response[v17.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[v17.PreflightSchemaRequest]) (*connect.Response[v17.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) - LockTables(context.Context, *connect.Request[v17.LockTablesRequest]) (*connect.Response[v17.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[v17.UnlockTablesRequest]) (*connect.Response[v17.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[v17.ExecuteQueryRequest]) (*connect.Response[v17.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[v17.ExecuteFetchAsDbaRequest]) (*connect.Response[v17.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v17.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v17.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[v171.ChangeTypeRequest]) (*connect.Response[v171.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v171.PreflightSchemaRequest]) (*connect.Response[v171.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) + LockTables(context.Context, *connect.Request[v171.LockTablesRequest]) (*connect.Response[v171.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v171.UnlockTablesRequest]) (*connect.Response[v171.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v171.ExecuteQueryRequest]) (*connect.Response[v171.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v171.ExecuteFetchAsDbaRequest]) (*connect.Response[v171.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v171.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v171.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[v17.ReplicationStatusRequest]) (*connect.Response[v17.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[v171.ReplicationStatusRequest]) (*connect.Response[v171.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[v17.PrimaryStatusRequest]) (*connect.Response[v17.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[v171.PrimaryStatusRequest]) (*connect.Response[v171.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[v17.PrimaryPositionRequest]) (*connect.Response[v17.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[v171.PrimaryPositionRequest]) (*connect.Response[v171.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[v17.WaitForPositionRequest]) (*connect.Response[v17.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[v171.WaitForPositionRequest]) (*connect.Response[v171.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[v17.StopReplicationMinimumRequest]) (*connect.Response[v17.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[v171.StopReplicationMinimumRequest]) (*connect.Response[v171.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[v17.StartReplicationUntilAfterRequest]) (*connect.Response[v17.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[v171.StartReplicationUntilAfterRequest]) (*connect.Response[v171.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[v17.GetReplicasRequest]) (*connect.Response[v17.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[v171.GetReplicasRequest]) (*connect.Response[v171.GetReplicasResponse], error) // VReplication API - VReplicationExec(context.Context, *connect.Request[v17.VReplicationExecRequest]) (*connect.Response[v17.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[v17.VReplicationWaitForPosRequest]) (*connect.Response[v17.VReplicationWaitForPosResponse], error) - UpdateVRWorkflow(context.Context, *connect.Request[v17.UpdateVRWorkflowRequest]) (*connect.Response[v17.UpdateVRWorkflowResponse], error) + VReplicationExec(context.Context, *connect.Request[v171.VReplicationExecRequest]) (*connect.Response[v171.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v171.VReplicationWaitForPosRequest]) (*connect.Response[v171.VReplicationWaitForPosResponse], error) + UpdateVRWorkflow(context.Context, *connect.Request[v171.UpdateVRWorkflowRequest]) (*connect.Response[v171.UpdateVRWorkflowResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[v17.VDiffRequest]) (*connect.Response[v17.VDiffResponse], error) + VDiff(context.Context, *connect.Request[v171.VDiffRequest]) (*connect.Response[v171.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[v17.ResetReplicationRequest]) (*connect.Response[v17.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[v171.ResetReplicationRequest]) (*connect.Response[v171.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[v17.InitPrimaryRequest]) (*connect.Response[v17.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[v171.InitPrimaryRequest]) (*connect.Response[v171.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[v17.PopulateReparentJournalRequest]) (*connect.Response[v17.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[v171.PopulateReparentJournalRequest]) (*connect.Response[v171.PopulateReparentJournalResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[v17.InitReplicaRequest]) (*connect.Response[v17.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[v171.InitReplicaRequest]) (*connect.Response[v171.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[v17.DemotePrimaryRequest]) (*connect.Response[v17.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[v171.DemotePrimaryRequest]) (*connect.Response[v171.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[v17.UndoDemotePrimaryRequest]) (*connect.Response[v17.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[v171.UndoDemotePrimaryRequest]) (*connect.Response[v171.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[v17.ReplicaWasPromotedRequest]) (*connect.Response[v17.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[v171.ReplicaWasPromotedRequest]) (*connect.Response[v171.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[v17.ResetReplicationParametersRequest]) (*connect.Response[v17.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[v171.ResetReplicationParametersRequest]) (*connect.Response[v171.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[v17.FullStatusRequest]) (*connect.Response[v17.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[v171.FullStatusRequest]) (*connect.Response[v171.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[v17.SetReplicationSourceRequest]) (*connect.Response[v17.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[v171.SetReplicationSourceRequest]) (*connect.Response[v171.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[v17.ReplicaWasRestartedRequest]) (*connect.Response[v17.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[v171.ReplicaWasRestartedRequest]) (*connect.Response[v171.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[v17.StopReplicationAndGetStatusRequest]) (*connect.Response[v17.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[v171.StopReplicationAndGetStatusRequest]) (*connect.Response[v171.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[v17.PromoteReplicaRequest]) (*connect.Response[v17.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[v17.BackupRequest], *connect.ServerStream[v17.BackupResponse]) error + PromoteReplica(context.Context, *connect.Request[v171.PromoteReplicaRequest]) (*connect.Response[v171.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v171.BackupRequest], *connect.ServerStream[v171.BackupResponse]) error // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[v17.RestoreFromBackupRequest], *connect.ServerStream[v17.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[v171.RestoreFromBackupRequest], *connect.ServerStream[v171.RestoreFromBackupResponse]) error } // NewTabletManagerHandler builds an HTTP handler from the service implementation. It returns the @@ -912,237 +1011,284 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerPingHandler := connect.NewUnaryHandler( TabletManagerPingProcedure, svc.Ping, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSleepHandler := connect.NewUnaryHandler( TabletManagerSleepProcedure, svc.Sleep, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteHookHandler := connect.NewUnaryHandler( TabletManagerExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetSchemaHandler := connect.NewUnaryHandler( TabletManagerGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetPermissionsHandler := connect.NewUnaryHandler( TabletManagerGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadOnlyHandler := connect.NewUnaryHandler( TabletManagerSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadWriteHandler := connect.NewUnaryHandler( TabletManagerSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerChangeTypeHandler := connect.NewUnaryHandler( TabletManagerChangeTypeProcedure, svc.ChangeType, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRefreshStateHandler := connect.NewUnaryHandler( TabletManagerRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRunHealthCheckHandler := connect.NewUnaryHandler( TabletManagerRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReloadSchemaHandler := connect.NewUnaryHandler( TabletManagerReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPreflightSchemaHandler := connect.NewUnaryHandler( TabletManagerPreflightSchemaProcedure, svc.PreflightSchema, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerApplySchemaHandler := connect.NewUnaryHandler( TabletManagerApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerLockTablesHandler := connect.NewUnaryHandler( TabletManagerLockTablesProcedure, svc.LockTables, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUnlockTablesHandler := connect.NewUnaryHandler( TabletManagerUnlockTablesProcedure, svc.UnlockTables, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteQueryHandler := connect.NewUnaryHandler( TabletManagerExecuteQueryProcedure, svc.ExecuteQuery, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsDbaHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsDbaProcedure, svc.ExecuteFetchAsDba, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAllPrivsHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAllPrivsProcedure, svc.ExecuteFetchAsAllPrivs, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAppHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicationStatusHandler := connect.NewUnaryHandler( TabletManagerReplicationStatusProcedure, svc.ReplicationStatus, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryStatusHandler := connect.NewUnaryHandler( TabletManagerPrimaryStatusProcedure, svc.PrimaryStatus, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryPositionHandler := connect.NewUnaryHandler( TabletManagerPrimaryPositionProcedure, svc.PrimaryPosition, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerWaitForPositionHandler := connect.NewUnaryHandler( TabletManagerWaitForPositionProcedure, svc.WaitForPosition, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationHandler := connect.NewUnaryHandler( TabletManagerStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationMinimumHandler := connect.NewUnaryHandler( TabletManagerStopReplicationMinimumProcedure, svc.StopReplicationMinimum, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationHandler := connect.NewUnaryHandler( TabletManagerStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationUntilAfterHandler := connect.NewUnaryHandler( TabletManagerStartReplicationUntilAfterProcedure, svc.StartReplicationUntilAfter, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetReplicasHandler := connect.NewUnaryHandler( TabletManagerGetReplicasProcedure, svc.GetReplicas, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationExecHandler := connect.NewUnaryHandler( TabletManagerVReplicationExecProcedure, svc.VReplicationExec, - opts..., + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationWaitForPosHandler := connect.NewUnaryHandler( TabletManagerVReplicationWaitForPosProcedure, svc.VReplicationWaitForPos, - opts..., + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUpdateVRWorkflowHandler := connect.NewUnaryHandler( TabletManagerUpdateVRWorkflowProcedure, svc.UpdateVRWorkflow, - opts..., + connect.WithSchema(tabletManagerUpdateVRWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVDiffHandler := connect.NewUnaryHandler( TabletManagerVDiffProcedure, svc.VDiff, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationHandler := connect.NewUnaryHandler( TabletManagerResetReplicationProcedure, svc.ResetReplication, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitPrimaryHandler := connect.NewUnaryHandler( TabletManagerInitPrimaryProcedure, svc.InitPrimary, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPopulateReparentJournalHandler := connect.NewUnaryHandler( TabletManagerPopulateReparentJournalProcedure, svc.PopulateReparentJournal, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitReplicaHandler := connect.NewUnaryHandler( TabletManagerInitReplicaProcedure, svc.InitReplica, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerDemotePrimaryProcedure, svc.DemotePrimary, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUndoDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerUndoDemotePrimaryProcedure, svc.UndoDemotePrimary, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasPromotedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasPromotedProcedure, svc.ReplicaWasPromoted, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationParametersHandler := connect.NewUnaryHandler( TabletManagerResetReplicationParametersProcedure, svc.ResetReplicationParameters, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerFullStatusHandler := connect.NewUnaryHandler( TabletManagerFullStatusProcedure, svc.FullStatus, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReplicationSourceHandler := connect.NewUnaryHandler( TabletManagerSetReplicationSourceProcedure, svc.SetReplicationSource, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasRestartedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasRestartedProcedure, svc.ReplicaWasRestarted, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationAndGetStatusHandler := connect.NewUnaryHandler( TabletManagerStopReplicationAndGetStatusProcedure, svc.StopReplicationAndGetStatus, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPromoteReplicaHandler := connect.NewUnaryHandler( TabletManagerPromoteReplicaProcedure, svc.PromoteReplica, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerBackupHandler := connect.NewServerStreamHandler( TabletManagerBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRestoreFromBackupHandler := connect.NewServerStreamHandler( TabletManagerRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/tabletmanagerservice.TabletManager/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -1249,190 +1395,190 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp // UnimplementedTabletManagerHandler returns CodeUnimplemented from all methods. type UnimplementedTabletManagerHandler struct{} -func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[v17.PingRequest]) (*connect.Response[v17.PingResponse], error) { +func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[v171.PingRequest]) (*connect.Response[v171.PingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Ping is not implemented")) } -func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[v17.SleepRequest]) (*connect.Response[v17.SleepResponse], error) { +func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[v171.SleepRequest]) (*connect.Response[v171.SleepResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Sleep is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteHook is not implemented")) } -func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) { +func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetPermissions is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[v17.SetReadOnlyRequest]) (*connect.Response[v17.SetReadOnlyResponse], error) { +func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[v171.SetReadOnlyRequest]) (*connect.Response[v171.SetReadOnlyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadOnly is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[v17.SetReadWriteRequest]) (*connect.Response[v17.SetReadWriteResponse], error) { +func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[v171.SetReadWriteRequest]) (*connect.Response[v171.SetReadWriteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadWrite is not implemented")) } -func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[v17.ChangeTypeRequest]) (*connect.Response[v17.ChangeTypeResponse], error) { +func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[v171.ChangeTypeRequest]) (*connect.Response[v171.ChangeTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ChangeType is not implemented")) } -func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) { +func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RefreshState is not implemented")) } -func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) { +func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RunHealthCheck is not implemented")) } -func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReloadSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[v17.PreflightSchemaRequest]) (*connect.Response[v17.PreflightSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[v171.PreflightSchemaRequest]) (*connect.Response[v171.PreflightSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PreflightSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ApplySchema is not implemented")) } -func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[v17.LockTablesRequest]) (*connect.Response[v17.LockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[v171.LockTablesRequest]) (*connect.Response[v171.LockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.LockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[v17.UnlockTablesRequest]) (*connect.Response[v17.UnlockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[v171.UnlockTablesRequest]) (*connect.Response[v171.UnlockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UnlockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[v17.ExecuteQueryRequest]) (*connect.Response[v17.ExecuteQueryResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[v171.ExecuteQueryRequest]) (*connect.Response[v171.ExecuteQueryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteQuery is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[v17.ExecuteFetchAsDbaRequest]) (*connect.Response[v17.ExecuteFetchAsDbaResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[v171.ExecuteFetchAsDbaRequest]) (*connect.Response[v171.ExecuteFetchAsDbaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsDba is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v17.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v17.ExecuteFetchAsAllPrivsResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v171.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v171.ExecuteFetchAsAllPrivsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[v17.ReplicationStatusRequest]) (*connect.Response[v17.ReplicationStatusResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[v171.ReplicationStatusRequest]) (*connect.Response[v171.ReplicationStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicationStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[v17.PrimaryStatusRequest]) (*connect.Response[v17.PrimaryStatusResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[v171.PrimaryStatusRequest]) (*connect.Response[v171.PrimaryStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[v17.PrimaryPositionRequest]) (*connect.Response[v17.PrimaryPositionResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[v171.PrimaryPositionRequest]) (*connect.Response[v171.PrimaryPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[v17.WaitForPositionRequest]) (*connect.Response[v17.WaitForPositionResponse], error) { +func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[v171.WaitForPositionRequest]) (*connect.Response[v171.WaitForPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.WaitForPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[v17.StopReplicationMinimumRequest]) (*connect.Response[v17.StopReplicationMinimumResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[v171.StopReplicationMinimumRequest]) (*connect.Response[v171.StopReplicationMinimumResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationMinimum is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[v17.StartReplicationUntilAfterRequest]) (*connect.Response[v17.StartReplicationUntilAfterResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[v171.StartReplicationUntilAfterRequest]) (*connect.Response[v171.StartReplicationUntilAfterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplicationUntilAfter is not implemented")) } -func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[v17.GetReplicasRequest]) (*connect.Response[v17.GetReplicasResponse], error) { +func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[v171.GetReplicasRequest]) (*connect.Response[v171.GetReplicasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetReplicas is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[v17.VReplicationExecRequest]) (*connect.Response[v17.VReplicationExecResponse], error) { +func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[v171.VReplicationExecRequest]) (*connect.Response[v171.VReplicationExecResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationExec is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[v17.VReplicationWaitForPosRequest]) (*connect.Response[v17.VReplicationWaitForPosResponse], error) { +func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[v171.VReplicationWaitForPosRequest]) (*connect.Response[v171.VReplicationWaitForPosResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationWaitForPos is not implemented")) } -func (UnimplementedTabletManagerHandler) UpdateVRWorkflow(context.Context, *connect.Request[v17.UpdateVRWorkflowRequest]) (*connect.Response[v17.UpdateVRWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) UpdateVRWorkflow(context.Context, *connect.Request[v171.UpdateVRWorkflowRequest]) (*connect.Response[v171.UpdateVRWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UpdateVRWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[v17.VDiffRequest]) (*connect.Response[v17.VDiffResponse], error) { +func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[v171.VDiffRequest]) (*connect.Response[v171.VDiffResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VDiff is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[v17.ResetReplicationRequest]) (*connect.Response[v17.ResetReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[v171.ResetReplicationRequest]) (*connect.Response[v171.ResetReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[v17.InitPrimaryRequest]) (*connect.Response[v17.InitPrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[v171.InitPrimaryRequest]) (*connect.Response[v171.InitPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitPrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[v17.PopulateReparentJournalRequest]) (*connect.Response[v17.PopulateReparentJournalResponse], error) { +func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[v171.PopulateReparentJournalRequest]) (*connect.Response[v171.PopulateReparentJournalResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PopulateReparentJournal is not implemented")) } -func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[v17.InitReplicaRequest]) (*connect.Response[v17.InitReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[v171.InitReplicaRequest]) (*connect.Response[v171.InitReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[v17.DemotePrimaryRequest]) (*connect.Response[v17.DemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[v171.DemotePrimaryRequest]) (*connect.Response[v171.DemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[v17.UndoDemotePrimaryRequest]) (*connect.Response[v17.UndoDemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[v171.UndoDemotePrimaryRequest]) (*connect.Response[v171.UndoDemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UndoDemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[v17.ReplicaWasPromotedRequest]) (*connect.Response[v17.ReplicaWasPromotedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[v171.ReplicaWasPromotedRequest]) (*connect.Response[v171.ReplicaWasPromotedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasPromoted is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[v17.ResetReplicationParametersRequest]) (*connect.Response[v17.ResetReplicationParametersResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[v171.ResetReplicationParametersRequest]) (*connect.Response[v171.ResetReplicationParametersResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplicationParameters is not implemented")) } -func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[v17.FullStatusRequest]) (*connect.Response[v17.FullStatusResponse], error) { +func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[v171.FullStatusRequest]) (*connect.Response[v171.FullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.FullStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[v17.SetReplicationSourceRequest]) (*connect.Response[v17.SetReplicationSourceResponse], error) { +func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[v171.SetReplicationSourceRequest]) (*connect.Response[v171.SetReplicationSourceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReplicationSource is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[v17.ReplicaWasRestartedRequest]) (*connect.Response[v17.ReplicaWasRestartedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[v171.ReplicaWasRestartedRequest]) (*connect.Response[v171.ReplicaWasRestartedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasRestarted is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[v17.StopReplicationAndGetStatusRequest]) (*connect.Response[v17.StopReplicationAndGetStatusResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[v171.StopReplicationAndGetStatusRequest]) (*connect.Response[v171.StopReplicationAndGetStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationAndGetStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[v17.PromoteReplicaRequest]) (*connect.Response[v17.PromoteReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[v171.PromoteReplicaRequest]) (*connect.Response[v171.PromoteReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PromoteReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[v17.BackupRequest], *connect.ServerStream[v17.BackupResponse]) error { +func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[v171.BackupRequest], *connect.ServerStream[v171.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Backup is not implemented")) } -func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[v17.RestoreFromBackupRequest], *connect.ServerStream[v17.RestoreFromBackupResponse]) error { +func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[v171.RestoreFromBackupRequest], *connect.ServerStream[v171.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RestoreFromBackup is not implemented")) } diff --git a/gen/vitess/tabletmanagerservice/v18/tabletmanagerservice.pb.go b/gen/vitess/tabletmanagerservice/v18/tabletmanagerservice.pb.go index 3d92657..bdc9593 100644 --- a/gen/vitess/tabletmanagerservice/v18/tabletmanagerservice.pb.go +++ b/gen/vitess/tabletmanagerservice/v18/tabletmanagerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/tabletmanagerservice/v18/tabletmanagerservice.proto @@ -489,7 +489,7 @@ var file_vitess_tabletmanagerservice_v18_tabletmanagerservice_proto_rawDesc = [] 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_tabletmanagerservice_v18_tabletmanagerservice_proto_goTypes = []interface{}{ +var file_vitess_tabletmanagerservice_v18_tabletmanagerservice_proto_goTypes = []any{ (*v18.PingRequest)(nil), // 0: vitess.tabletmanagerdata.v18.PingRequest (*v18.SleepRequest)(nil), // 1: vitess.tabletmanagerdata.v18.SleepRequest (*v18.ExecuteHookRequest)(nil), // 2: vitess.tabletmanagerdata.v18.ExecuteHookRequest diff --git a/gen/vitess/tabletmanagerservice/v18/tabletmanagerservicev18connect/tabletmanagerservice.connect.go b/gen/vitess/tabletmanagerservice/v18/tabletmanagerservicev18connect/tabletmanagerservice.connect.go index 0dcdb22..ee031ca 100644 --- a/gen/vitess/tabletmanagerservice/v18/tabletmanagerservicev18connect/tabletmanagerservice.connect.go +++ b/gen/vitess/tabletmanagerservice/v18/tabletmanagerservicev18connect/tabletmanagerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v18 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v18" - _ "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v18" + v181 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v18" + v18 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v18" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // TabletManagerName is the fully-qualified name of the TabletManager service. @@ -204,96 +204,153 @@ const ( TabletManagerCheckThrottlerProcedure = "/tabletmanagerservice.TabletManager/CheckThrottler" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + tabletManagerServiceDescriptor = v18.File_vitess_tabletmanagerservice_v18_tabletmanagerservice_proto.Services().ByName("TabletManager") + tabletManagerPingMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Ping") + tabletManagerSleepMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Sleep") + tabletManagerExecuteHookMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteHook") + tabletManagerGetSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetSchema") + tabletManagerGetPermissionsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetPermissions") + tabletManagerSetReadOnlyMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadOnly") + tabletManagerSetReadWriteMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadWrite") + tabletManagerChangeTypeMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ChangeType") + tabletManagerRefreshStateMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RefreshState") + tabletManagerRunHealthCheckMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RunHealthCheck") + tabletManagerReloadSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReloadSchema") + tabletManagerPreflightSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PreflightSchema") + tabletManagerApplySchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ApplySchema") + tabletManagerResetSequencesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetSequences") + tabletManagerLockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("LockTables") + tabletManagerUnlockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UnlockTables") + tabletManagerExecuteQueryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteQuery") + tabletManagerExecuteFetchAsDbaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsDba") + tabletManagerExecuteFetchAsAllPrivsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsAllPrivs") + tabletManagerExecuteFetchAsAppMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + tabletManagerReplicationStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicationStatus") + tabletManagerPrimaryStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryStatus") + tabletManagerPrimaryPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryPosition") + tabletManagerWaitForPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("WaitForPosition") + tabletManagerStopReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplication") + tabletManagerStopReplicationMinimumMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationMinimum") + tabletManagerStartReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplication") + tabletManagerStartReplicationUntilAfterMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplicationUntilAfter") + tabletManagerGetReplicasMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetReplicas") + tabletManagerCreateVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("CreateVReplicationWorkflow") + tabletManagerDeleteVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DeleteVReplicationWorkflow") + tabletManagerReadVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReadVReplicationWorkflow") + tabletManagerVReplicationExecMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationExec") + tabletManagerVReplicationWaitForPosMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationWaitForPos") + tabletManagerUpdateVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UpdateVReplicationWorkflow") + tabletManagerVDiffMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VDiff") + tabletManagerResetReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplication") + tabletManagerInitPrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitPrimary") + tabletManagerPopulateReparentJournalMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PopulateReparentJournal") + tabletManagerInitReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitReplica") + tabletManagerDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DemotePrimary") + tabletManagerUndoDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UndoDemotePrimary") + tabletManagerReplicaWasPromotedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasPromoted") + tabletManagerResetReplicationParametersMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplicationParameters") + tabletManagerFullStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("FullStatus") + tabletManagerSetReplicationSourceMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReplicationSource") + tabletManagerReplicaWasRestartedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasRestarted") + tabletManagerStopReplicationAndGetStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationAndGetStatus") + tabletManagerPromoteReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PromoteReplica") + tabletManagerBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Backup") + tabletManagerRestoreFromBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RestoreFromBackup") + tabletManagerCheckThrottlerMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("CheckThrottler") +) + // TabletManagerClient is a client for the tabletmanagerservice.TabletManager service. type TabletManagerClient interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[v18.PingRequest]) (*connect.Response[v18.PingResponse], error) + Ping(context.Context, *connect.Request[v181.PingRequest]) (*connect.Response[v181.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[v18.SleepRequest]) (*connect.Response[v18.SleepResponse], error) + Sleep(context.Context, *connect.Request[v181.SleepRequest]) (*connect.Response[v181.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[v18.SetReadOnlyRequest]) (*connect.Response[v18.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[v18.SetReadWriteRequest]) (*connect.Response[v18.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v181.SetReadOnlyRequest]) (*connect.Response[v181.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v181.SetReadWriteRequest]) (*connect.Response[v181.SetReadWriteResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[v18.ChangeTypeRequest]) (*connect.Response[v18.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[v18.PreflightSchemaRequest]) (*connect.Response[v18.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) - ResetSequences(context.Context, *connect.Request[v18.ResetSequencesRequest]) (*connect.Response[v18.ResetSequencesResponse], error) - LockTables(context.Context, *connect.Request[v18.LockTablesRequest]) (*connect.Response[v18.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[v18.UnlockTablesRequest]) (*connect.Response[v18.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[v18.ExecuteQueryRequest]) (*connect.Response[v18.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[v18.ExecuteFetchAsDbaRequest]) (*connect.Response[v18.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v18.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v18.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[v181.ChangeTypeRequest]) (*connect.Response[v181.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v181.PreflightSchemaRequest]) (*connect.Response[v181.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) + ResetSequences(context.Context, *connect.Request[v181.ResetSequencesRequest]) (*connect.Response[v181.ResetSequencesResponse], error) + LockTables(context.Context, *connect.Request[v181.LockTablesRequest]) (*connect.Response[v181.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v181.UnlockTablesRequest]) (*connect.Response[v181.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v181.ExecuteQueryRequest]) (*connect.Response[v181.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v181.ExecuteFetchAsDbaRequest]) (*connect.Response[v181.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v181.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v181.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[v18.ReplicationStatusRequest]) (*connect.Response[v18.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[v181.ReplicationStatusRequest]) (*connect.Response[v181.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[v18.PrimaryStatusRequest]) (*connect.Response[v18.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[v181.PrimaryStatusRequest]) (*connect.Response[v181.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[v18.PrimaryPositionRequest]) (*connect.Response[v18.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[v181.PrimaryPositionRequest]) (*connect.Response[v181.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[v18.WaitForPositionRequest]) (*connect.Response[v18.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[v181.WaitForPositionRequest]) (*connect.Response[v181.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[v18.StopReplicationMinimumRequest]) (*connect.Response[v18.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[v181.StopReplicationMinimumRequest]) (*connect.Response[v181.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[v18.StartReplicationUntilAfterRequest]) (*connect.Response[v18.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[v181.StartReplicationUntilAfterRequest]) (*connect.Response[v181.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[v18.GetReplicasRequest]) (*connect.Response[v18.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[v181.GetReplicasRequest]) (*connect.Response[v181.GetReplicasResponse], error) // VReplication API - CreateVReplicationWorkflow(context.Context, *connect.Request[v18.CreateVReplicationWorkflowRequest]) (*connect.Response[v18.CreateVReplicationWorkflowResponse], error) - DeleteVReplicationWorkflow(context.Context, *connect.Request[v18.DeleteVReplicationWorkflowRequest]) (*connect.Response[v18.DeleteVReplicationWorkflowResponse], error) - ReadVReplicationWorkflow(context.Context, *connect.Request[v18.ReadVReplicationWorkflowRequest]) (*connect.Response[v18.ReadVReplicationWorkflowResponse], error) - VReplicationExec(context.Context, *connect.Request[v18.VReplicationExecRequest]) (*connect.Response[v18.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[v18.VReplicationWaitForPosRequest]) (*connect.Response[v18.VReplicationWaitForPosResponse], error) - UpdateVReplicationWorkflow(context.Context, *connect.Request[v18.UpdateVReplicationWorkflowRequest]) (*connect.Response[v18.UpdateVReplicationWorkflowResponse], error) + CreateVReplicationWorkflow(context.Context, *connect.Request[v181.CreateVReplicationWorkflowRequest]) (*connect.Response[v181.CreateVReplicationWorkflowResponse], error) + DeleteVReplicationWorkflow(context.Context, *connect.Request[v181.DeleteVReplicationWorkflowRequest]) (*connect.Response[v181.DeleteVReplicationWorkflowResponse], error) + ReadVReplicationWorkflow(context.Context, *connect.Request[v181.ReadVReplicationWorkflowRequest]) (*connect.Response[v181.ReadVReplicationWorkflowResponse], error) + VReplicationExec(context.Context, *connect.Request[v181.VReplicationExecRequest]) (*connect.Response[v181.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v181.VReplicationWaitForPosRequest]) (*connect.Response[v181.VReplicationWaitForPosResponse], error) + UpdateVReplicationWorkflow(context.Context, *connect.Request[v181.UpdateVReplicationWorkflowRequest]) (*connect.Response[v181.UpdateVReplicationWorkflowResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[v18.VDiffRequest]) (*connect.Response[v18.VDiffResponse], error) + VDiff(context.Context, *connect.Request[v181.VDiffRequest]) (*connect.Response[v181.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[v18.ResetReplicationRequest]) (*connect.Response[v18.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[v181.ResetReplicationRequest]) (*connect.Response[v181.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[v18.InitPrimaryRequest]) (*connect.Response[v18.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[v181.InitPrimaryRequest]) (*connect.Response[v181.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[v18.PopulateReparentJournalRequest]) (*connect.Response[v18.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[v181.PopulateReparentJournalRequest]) (*connect.Response[v181.PopulateReparentJournalResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[v18.InitReplicaRequest]) (*connect.Response[v18.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[v181.InitReplicaRequest]) (*connect.Response[v181.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[v18.DemotePrimaryRequest]) (*connect.Response[v18.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[v181.DemotePrimaryRequest]) (*connect.Response[v181.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[v18.UndoDemotePrimaryRequest]) (*connect.Response[v18.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[v181.UndoDemotePrimaryRequest]) (*connect.Response[v181.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[v18.ReplicaWasPromotedRequest]) (*connect.Response[v18.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[v181.ReplicaWasPromotedRequest]) (*connect.Response[v181.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[v18.ResetReplicationParametersRequest]) (*connect.Response[v18.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[v181.ResetReplicationParametersRequest]) (*connect.Response[v181.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[v18.FullStatusRequest]) (*connect.Response[v18.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[v181.FullStatusRequest]) (*connect.Response[v181.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[v18.SetReplicationSourceRequest]) (*connect.Response[v18.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[v181.SetReplicationSourceRequest]) (*connect.Response[v181.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[v18.ReplicaWasRestartedRequest]) (*connect.Response[v18.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[v181.ReplicaWasRestartedRequest]) (*connect.Response[v181.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[v18.StopReplicationAndGetStatusRequest]) (*connect.Response[v18.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[v181.StopReplicationAndGetStatusRequest]) (*connect.Response[v181.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[v18.PromoteReplicaRequest]) (*connect.Response[v18.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[v18.BackupRequest]) (*connect.ServerStreamForClient[v18.BackupResponse], error) + PromoteReplica(context.Context, *connect.Request[v181.PromoteReplicaRequest]) (*connect.Response[v181.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v181.BackupRequest]) (*connect.ServerStreamForClient[v181.BackupResponse], error) // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[v18.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v18.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[v181.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v181.RestoreFromBackupResponse], error) // CheckThrottler issues a 'check' on a tablet's throttler - CheckThrottler(context.Context, *connect.Request[v18.CheckThrottlerRequest]) (*connect.Response[v18.CheckThrottlerResponse], error) + CheckThrottler(context.Context, *connect.Request[v181.CheckThrottlerRequest]) (*connect.Response[v181.CheckThrottlerResponse], error) } // NewTabletManagerClient constructs a client for the tabletmanagerservice.TabletManager @@ -306,593 +363,645 @@ type TabletManagerClient interface { func NewTabletManagerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TabletManagerClient { baseURL = strings.TrimRight(baseURL, "/") return &tabletManagerClient{ - ping: connect.NewClient[v18.PingRequest, v18.PingResponse]( + ping: connect.NewClient[v181.PingRequest, v181.PingResponse]( httpClient, baseURL+TabletManagerPingProcedure, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleep: connect.NewClient[v18.SleepRequest, v18.SleepResponse]( + sleep: connect.NewClient[v181.SleepRequest, v181.SleepResponse]( httpClient, baseURL+TabletManagerSleepProcedure, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[v18.ExecuteHookRequest, v18.ExecuteHookResponse]( + executeHook: connect.NewClient[v181.ExecuteHookRequest, v181.ExecuteHookResponse]( httpClient, baseURL+TabletManagerExecuteHookProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v18.GetSchemaRequest, v18.GetSchemaResponse]( + getSchema: connect.NewClient[v181.GetSchemaRequest, v181.GetSchemaResponse]( httpClient, baseURL+TabletManagerGetSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[v18.GetPermissionsRequest, v18.GetPermissionsResponse]( + getPermissions: connect.NewClient[v181.GetPermissionsRequest, v181.GetPermissionsResponse]( httpClient, baseURL+TabletManagerGetPermissionsProcedure, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadOnly: connect.NewClient[v18.SetReadOnlyRequest, v18.SetReadOnlyResponse]( + setReadOnly: connect.NewClient[v181.SetReadOnlyRequest, v181.SetReadOnlyResponse]( httpClient, baseURL+TabletManagerSetReadOnlyProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReadWrite: connect.NewClient[v18.SetReadWriteRequest, v18.SetReadWriteResponse]( + setReadWrite: connect.NewClient[v181.SetReadWriteRequest, v181.SetReadWriteResponse]( httpClient, baseURL+TabletManagerSetReadWriteProcedure, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeType: connect.NewClient[v18.ChangeTypeRequest, v18.ChangeTypeResponse]( + changeType: connect.NewClient[v181.ChangeTypeRequest, v181.ChangeTypeResponse]( httpClient, baseURL+TabletManagerChangeTypeProcedure, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[v18.RefreshStateRequest, v18.RefreshStateResponse]( + refreshState: connect.NewClient[v181.RefreshStateRequest, v181.RefreshStateResponse]( httpClient, baseURL+TabletManagerRefreshStateProcedure, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[v18.RunHealthCheckRequest, v18.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[v181.RunHealthCheckRequest, v181.RunHealthCheckResponse]( httpClient, baseURL+TabletManagerRunHealthCheckProcedure, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[v18.ReloadSchemaRequest, v18.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[v181.ReloadSchemaRequest, v181.ReloadSchemaResponse]( httpClient, baseURL+TabletManagerReloadSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - preflightSchema: connect.NewClient[v18.PreflightSchemaRequest, v18.PreflightSchemaResponse]( + preflightSchema: connect.NewClient[v181.PreflightSchemaRequest, v181.PreflightSchemaResponse]( httpClient, baseURL+TabletManagerPreflightSchemaProcedure, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[v18.ApplySchemaRequest, v18.ApplySchemaResponse]( + applySchema: connect.NewClient[v181.ApplySchemaRequest, v181.ApplySchemaResponse]( httpClient, baseURL+TabletManagerApplySchemaProcedure, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetSequences: connect.NewClient[v18.ResetSequencesRequest, v18.ResetSequencesResponse]( + resetSequences: connect.NewClient[v181.ResetSequencesRequest, v181.ResetSequencesResponse]( httpClient, baseURL+TabletManagerResetSequencesProcedure, - opts..., + connect.WithSchema(tabletManagerResetSequencesMethodDescriptor), + connect.WithClientOptions(opts...), ), - lockTables: connect.NewClient[v18.LockTablesRequest, v18.LockTablesResponse]( + lockTables: connect.NewClient[v181.LockTablesRequest, v181.LockTablesResponse]( httpClient, baseURL+TabletManagerLockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - unlockTables: connect.NewClient[v18.UnlockTablesRequest, v18.UnlockTablesResponse]( + unlockTables: connect.NewClient[v181.UnlockTablesRequest, v181.UnlockTablesResponse]( httpClient, baseURL+TabletManagerUnlockTablesProcedure, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeQuery: connect.NewClient[v18.ExecuteQueryRequest, v18.ExecuteQueryResponse]( + executeQuery: connect.NewClient[v181.ExecuteQueryRequest, v181.ExecuteQueryResponse]( httpClient, baseURL+TabletManagerExecuteQueryProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDba: connect.NewClient[v18.ExecuteFetchAsDbaRequest, v18.ExecuteFetchAsDbaResponse]( + executeFetchAsDba: connect.NewClient[v181.ExecuteFetchAsDbaRequest, v181.ExecuteFetchAsDbaResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsDbaProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsAllPrivs: connect.NewClient[v18.ExecuteFetchAsAllPrivsRequest, v18.ExecuteFetchAsAllPrivsResponse]( + executeFetchAsAllPrivs: connect.NewClient[v181.ExecuteFetchAsAllPrivsRequest, v181.ExecuteFetchAsAllPrivsResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAllPrivsProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[v18.ExecuteFetchAsAppRequest, v18.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[v181.ExecuteFetchAsAppRequest, v181.ExecuteFetchAsAppResponse]( httpClient, baseURL+TabletManagerExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicationStatus: connect.NewClient[v18.ReplicationStatusRequest, v18.ReplicationStatusResponse]( + replicationStatus: connect.NewClient[v181.ReplicationStatusRequest, v181.ReplicationStatusResponse]( httpClient, baseURL+TabletManagerReplicationStatusProcedure, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryStatus: connect.NewClient[v18.PrimaryStatusRequest, v18.PrimaryStatusResponse]( + primaryStatus: connect.NewClient[v181.PrimaryStatusRequest, v181.PrimaryStatusResponse]( httpClient, baseURL+TabletManagerPrimaryStatusProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - primaryPosition: connect.NewClient[v18.PrimaryPositionRequest, v18.PrimaryPositionResponse]( + primaryPosition: connect.NewClient[v181.PrimaryPositionRequest, v181.PrimaryPositionResponse]( httpClient, baseURL+TabletManagerPrimaryPositionProcedure, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - waitForPosition: connect.NewClient[v18.WaitForPositionRequest, v18.WaitForPositionResponse]( + waitForPosition: connect.NewClient[v181.WaitForPositionRequest, v181.WaitForPositionResponse]( httpClient, baseURL+TabletManagerWaitForPositionProcedure, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[v18.StopReplicationRequest, v18.StopReplicationResponse]( + stopReplication: connect.NewClient[v181.StopReplicationRequest, v181.StopReplicationResponse]( httpClient, baseURL+TabletManagerStopReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationMinimum: connect.NewClient[v18.StopReplicationMinimumRequest, v18.StopReplicationMinimumResponse]( + stopReplicationMinimum: connect.NewClient[v181.StopReplicationMinimumRequest, v181.StopReplicationMinimumResponse]( httpClient, baseURL+TabletManagerStopReplicationMinimumProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[v18.StartReplicationRequest, v18.StartReplicationResponse]( + startReplication: connect.NewClient[v181.StartReplicationRequest, v181.StartReplicationResponse]( httpClient, baseURL+TabletManagerStartReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplicationUntilAfter: connect.NewClient[v18.StartReplicationUntilAfterRequest, v18.StartReplicationUntilAfterResponse]( + startReplicationUntilAfter: connect.NewClient[v181.StartReplicationUntilAfterRequest, v181.StartReplicationUntilAfterResponse]( httpClient, baseURL+TabletManagerStartReplicationUntilAfterProcedure, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithClientOptions(opts...), ), - getReplicas: connect.NewClient[v18.GetReplicasRequest, v18.GetReplicasResponse]( + getReplicas: connect.NewClient[v181.GetReplicasRequest, v181.GetReplicasResponse]( httpClient, baseURL+TabletManagerGetReplicasProcedure, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithClientOptions(opts...), ), - createVReplicationWorkflow: connect.NewClient[v18.CreateVReplicationWorkflowRequest, v18.CreateVReplicationWorkflowResponse]( + createVReplicationWorkflow: connect.NewClient[v181.CreateVReplicationWorkflowRequest, v181.CreateVReplicationWorkflowResponse]( httpClient, baseURL+TabletManagerCreateVReplicationWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerCreateVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteVReplicationWorkflow: connect.NewClient[v18.DeleteVReplicationWorkflowRequest, v18.DeleteVReplicationWorkflowResponse]( + deleteVReplicationWorkflow: connect.NewClient[v181.DeleteVReplicationWorkflowRequest, v181.DeleteVReplicationWorkflowResponse]( httpClient, baseURL+TabletManagerDeleteVReplicationWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerDeleteVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), - readVReplicationWorkflow: connect.NewClient[v18.ReadVReplicationWorkflowRequest, v18.ReadVReplicationWorkflowResponse]( + readVReplicationWorkflow: connect.NewClient[v181.ReadVReplicationWorkflowRequest, v181.ReadVReplicationWorkflowResponse]( httpClient, baseURL+TabletManagerReadVReplicationWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerReadVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationExec: connect.NewClient[v18.VReplicationExecRequest, v18.VReplicationExecResponse]( + vReplicationExec: connect.NewClient[v181.VReplicationExecRequest, v181.VReplicationExecResponse]( httpClient, baseURL+TabletManagerVReplicationExecProcedure, - opts..., + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithClientOptions(opts...), ), - vReplicationWaitForPos: connect.NewClient[v18.VReplicationWaitForPosRequest, v18.VReplicationWaitForPosResponse]( + vReplicationWaitForPos: connect.NewClient[v181.VReplicationWaitForPosRequest, v181.VReplicationWaitForPosResponse]( httpClient, baseURL+TabletManagerVReplicationWaitForPosProcedure, - opts..., + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateVReplicationWorkflow: connect.NewClient[v18.UpdateVReplicationWorkflowRequest, v18.UpdateVReplicationWorkflowResponse]( + updateVReplicationWorkflow: connect.NewClient[v181.UpdateVReplicationWorkflowRequest, v181.UpdateVReplicationWorkflowResponse]( httpClient, baseURL+TabletManagerUpdateVReplicationWorkflowProcedure, - opts..., + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiff: connect.NewClient[v18.VDiffRequest, v18.VDiffResponse]( + vDiff: connect.NewClient[v181.VDiffRequest, v181.VDiffResponse]( httpClient, baseURL+TabletManagerVDiffProcedure, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplication: connect.NewClient[v18.ResetReplicationRequest, v18.ResetReplicationResponse]( + resetReplication: connect.NewClient[v181.ResetReplicationRequest, v181.ResetReplicationResponse]( httpClient, baseURL+TabletManagerResetReplicationProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - initPrimary: connect.NewClient[v18.InitPrimaryRequest, v18.InitPrimaryResponse]( + initPrimary: connect.NewClient[v181.InitPrimaryRequest, v181.InitPrimaryResponse]( httpClient, baseURL+TabletManagerInitPrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - populateReparentJournal: connect.NewClient[v18.PopulateReparentJournalRequest, v18.PopulateReparentJournalResponse]( + populateReparentJournal: connect.NewClient[v181.PopulateReparentJournalRequest, v181.PopulateReparentJournalResponse]( httpClient, baseURL+TabletManagerPopulateReparentJournalProcedure, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithClientOptions(opts...), ), - initReplica: connect.NewClient[v18.InitReplicaRequest, v18.InitReplicaResponse]( + initReplica: connect.NewClient[v181.InitReplicaRequest, v181.InitReplicaResponse]( httpClient, baseURL+TabletManagerInitReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - demotePrimary: connect.NewClient[v18.DemotePrimaryRequest, v18.DemotePrimaryResponse]( + demotePrimary: connect.NewClient[v181.DemotePrimaryRequest, v181.DemotePrimaryResponse]( httpClient, baseURL+TabletManagerDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - undoDemotePrimary: connect.NewClient[v18.UndoDemotePrimaryRequest, v18.UndoDemotePrimaryResponse]( + undoDemotePrimary: connect.NewClient[v181.UndoDemotePrimaryRequest, v181.UndoDemotePrimaryResponse]( httpClient, baseURL+TabletManagerUndoDemotePrimaryProcedure, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasPromoted: connect.NewClient[v18.ReplicaWasPromotedRequest, v18.ReplicaWasPromotedResponse]( + replicaWasPromoted: connect.NewClient[v181.ReplicaWasPromotedRequest, v181.ReplicaWasPromotedResponse]( httpClient, baseURL+TabletManagerReplicaWasPromotedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetReplicationParameters: connect.NewClient[v18.ResetReplicationParametersRequest, v18.ResetReplicationParametersResponse]( + resetReplicationParameters: connect.NewClient[v181.ResetReplicationParametersRequest, v181.ResetReplicationParametersResponse]( httpClient, baseURL+TabletManagerResetReplicationParametersProcedure, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithClientOptions(opts...), ), - fullStatus: connect.NewClient[v18.FullStatusRequest, v18.FullStatusResponse]( + fullStatus: connect.NewClient[v181.FullStatusRequest, v181.FullStatusResponse]( httpClient, baseURL+TabletManagerFullStatusProcedure, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - setReplicationSource: connect.NewClient[v18.SetReplicationSourceRequest, v18.SetReplicationSourceResponse]( + setReplicationSource: connect.NewClient[v181.SetReplicationSourceRequest, v181.SetReplicationSourceResponse]( httpClient, baseURL+TabletManagerSetReplicationSourceProcedure, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), - replicaWasRestarted: connect.NewClient[v18.ReplicaWasRestartedRequest, v18.ReplicaWasRestartedResponse]( + replicaWasRestarted: connect.NewClient[v181.ReplicaWasRestartedRequest, v181.ReplicaWasRestartedResponse]( httpClient, baseURL+TabletManagerReplicaWasRestartedProcedure, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplicationAndGetStatus: connect.NewClient[v18.StopReplicationAndGetStatusRequest, v18.StopReplicationAndGetStatusResponse]( + stopReplicationAndGetStatus: connect.NewClient[v181.StopReplicationAndGetStatusRequest, v181.StopReplicationAndGetStatusResponse]( httpClient, baseURL+TabletManagerStopReplicationAndGetStatusProcedure, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - promoteReplica: connect.NewClient[v18.PromoteReplicaRequest, v18.PromoteReplicaResponse]( + promoteReplica: connect.NewClient[v181.PromoteReplicaRequest, v181.PromoteReplicaResponse]( httpClient, baseURL+TabletManagerPromoteReplicaProcedure, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[v18.BackupRequest, v18.BackupResponse]( + backup: connect.NewClient[v181.BackupRequest, v181.BackupResponse]( httpClient, baseURL+TabletManagerBackupProcedure, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[v18.RestoreFromBackupRequest, v18.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[v181.RestoreFromBackupRequest, v181.RestoreFromBackupResponse]( httpClient, baseURL+TabletManagerRestoreFromBackupProcedure, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - checkThrottler: connect.NewClient[v18.CheckThrottlerRequest, v18.CheckThrottlerResponse]( + checkThrottler: connect.NewClient[v181.CheckThrottlerRequest, v181.CheckThrottlerResponse]( httpClient, baseURL+TabletManagerCheckThrottlerProcedure, - opts..., + connect.WithSchema(tabletManagerCheckThrottlerMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // tabletManagerClient implements TabletManagerClient. type tabletManagerClient struct { - ping *connect.Client[v18.PingRequest, v18.PingResponse] - sleep *connect.Client[v18.SleepRequest, v18.SleepResponse] - executeHook *connect.Client[v18.ExecuteHookRequest, v18.ExecuteHookResponse] - getSchema *connect.Client[v18.GetSchemaRequest, v18.GetSchemaResponse] - getPermissions *connect.Client[v18.GetPermissionsRequest, v18.GetPermissionsResponse] - setReadOnly *connect.Client[v18.SetReadOnlyRequest, v18.SetReadOnlyResponse] - setReadWrite *connect.Client[v18.SetReadWriteRequest, v18.SetReadWriteResponse] - changeType *connect.Client[v18.ChangeTypeRequest, v18.ChangeTypeResponse] - refreshState *connect.Client[v18.RefreshStateRequest, v18.RefreshStateResponse] - runHealthCheck *connect.Client[v18.RunHealthCheckRequest, v18.RunHealthCheckResponse] - reloadSchema *connect.Client[v18.ReloadSchemaRequest, v18.ReloadSchemaResponse] - preflightSchema *connect.Client[v18.PreflightSchemaRequest, v18.PreflightSchemaResponse] - applySchema *connect.Client[v18.ApplySchemaRequest, v18.ApplySchemaResponse] - resetSequences *connect.Client[v18.ResetSequencesRequest, v18.ResetSequencesResponse] - lockTables *connect.Client[v18.LockTablesRequest, v18.LockTablesResponse] - unlockTables *connect.Client[v18.UnlockTablesRequest, v18.UnlockTablesResponse] - executeQuery *connect.Client[v18.ExecuteQueryRequest, v18.ExecuteQueryResponse] - executeFetchAsDba *connect.Client[v18.ExecuteFetchAsDbaRequest, v18.ExecuteFetchAsDbaResponse] - executeFetchAsAllPrivs *connect.Client[v18.ExecuteFetchAsAllPrivsRequest, v18.ExecuteFetchAsAllPrivsResponse] - executeFetchAsApp *connect.Client[v18.ExecuteFetchAsAppRequest, v18.ExecuteFetchAsAppResponse] - replicationStatus *connect.Client[v18.ReplicationStatusRequest, v18.ReplicationStatusResponse] - primaryStatus *connect.Client[v18.PrimaryStatusRequest, v18.PrimaryStatusResponse] - primaryPosition *connect.Client[v18.PrimaryPositionRequest, v18.PrimaryPositionResponse] - waitForPosition *connect.Client[v18.WaitForPositionRequest, v18.WaitForPositionResponse] - stopReplication *connect.Client[v18.StopReplicationRequest, v18.StopReplicationResponse] - stopReplicationMinimum *connect.Client[v18.StopReplicationMinimumRequest, v18.StopReplicationMinimumResponse] - startReplication *connect.Client[v18.StartReplicationRequest, v18.StartReplicationResponse] - startReplicationUntilAfter *connect.Client[v18.StartReplicationUntilAfterRequest, v18.StartReplicationUntilAfterResponse] - getReplicas *connect.Client[v18.GetReplicasRequest, v18.GetReplicasResponse] - createVReplicationWorkflow *connect.Client[v18.CreateVReplicationWorkflowRequest, v18.CreateVReplicationWorkflowResponse] - deleteVReplicationWorkflow *connect.Client[v18.DeleteVReplicationWorkflowRequest, v18.DeleteVReplicationWorkflowResponse] - readVReplicationWorkflow *connect.Client[v18.ReadVReplicationWorkflowRequest, v18.ReadVReplicationWorkflowResponse] - vReplicationExec *connect.Client[v18.VReplicationExecRequest, v18.VReplicationExecResponse] - vReplicationWaitForPos *connect.Client[v18.VReplicationWaitForPosRequest, v18.VReplicationWaitForPosResponse] - updateVReplicationWorkflow *connect.Client[v18.UpdateVReplicationWorkflowRequest, v18.UpdateVReplicationWorkflowResponse] - vDiff *connect.Client[v18.VDiffRequest, v18.VDiffResponse] - resetReplication *connect.Client[v18.ResetReplicationRequest, v18.ResetReplicationResponse] - initPrimary *connect.Client[v18.InitPrimaryRequest, v18.InitPrimaryResponse] - populateReparentJournal *connect.Client[v18.PopulateReparentJournalRequest, v18.PopulateReparentJournalResponse] - initReplica *connect.Client[v18.InitReplicaRequest, v18.InitReplicaResponse] - demotePrimary *connect.Client[v18.DemotePrimaryRequest, v18.DemotePrimaryResponse] - undoDemotePrimary *connect.Client[v18.UndoDemotePrimaryRequest, v18.UndoDemotePrimaryResponse] - replicaWasPromoted *connect.Client[v18.ReplicaWasPromotedRequest, v18.ReplicaWasPromotedResponse] - resetReplicationParameters *connect.Client[v18.ResetReplicationParametersRequest, v18.ResetReplicationParametersResponse] - fullStatus *connect.Client[v18.FullStatusRequest, v18.FullStatusResponse] - setReplicationSource *connect.Client[v18.SetReplicationSourceRequest, v18.SetReplicationSourceResponse] - replicaWasRestarted *connect.Client[v18.ReplicaWasRestartedRequest, v18.ReplicaWasRestartedResponse] - stopReplicationAndGetStatus *connect.Client[v18.StopReplicationAndGetStatusRequest, v18.StopReplicationAndGetStatusResponse] - promoteReplica *connect.Client[v18.PromoteReplicaRequest, v18.PromoteReplicaResponse] - backup *connect.Client[v18.BackupRequest, v18.BackupResponse] - restoreFromBackup *connect.Client[v18.RestoreFromBackupRequest, v18.RestoreFromBackupResponse] - checkThrottler *connect.Client[v18.CheckThrottlerRequest, v18.CheckThrottlerResponse] + ping *connect.Client[v181.PingRequest, v181.PingResponse] + sleep *connect.Client[v181.SleepRequest, v181.SleepResponse] + executeHook *connect.Client[v181.ExecuteHookRequest, v181.ExecuteHookResponse] + getSchema *connect.Client[v181.GetSchemaRequest, v181.GetSchemaResponse] + getPermissions *connect.Client[v181.GetPermissionsRequest, v181.GetPermissionsResponse] + setReadOnly *connect.Client[v181.SetReadOnlyRequest, v181.SetReadOnlyResponse] + setReadWrite *connect.Client[v181.SetReadWriteRequest, v181.SetReadWriteResponse] + changeType *connect.Client[v181.ChangeTypeRequest, v181.ChangeTypeResponse] + refreshState *connect.Client[v181.RefreshStateRequest, v181.RefreshStateResponse] + runHealthCheck *connect.Client[v181.RunHealthCheckRequest, v181.RunHealthCheckResponse] + reloadSchema *connect.Client[v181.ReloadSchemaRequest, v181.ReloadSchemaResponse] + preflightSchema *connect.Client[v181.PreflightSchemaRequest, v181.PreflightSchemaResponse] + applySchema *connect.Client[v181.ApplySchemaRequest, v181.ApplySchemaResponse] + resetSequences *connect.Client[v181.ResetSequencesRequest, v181.ResetSequencesResponse] + lockTables *connect.Client[v181.LockTablesRequest, v181.LockTablesResponse] + unlockTables *connect.Client[v181.UnlockTablesRequest, v181.UnlockTablesResponse] + executeQuery *connect.Client[v181.ExecuteQueryRequest, v181.ExecuteQueryResponse] + executeFetchAsDba *connect.Client[v181.ExecuteFetchAsDbaRequest, v181.ExecuteFetchAsDbaResponse] + executeFetchAsAllPrivs *connect.Client[v181.ExecuteFetchAsAllPrivsRequest, v181.ExecuteFetchAsAllPrivsResponse] + executeFetchAsApp *connect.Client[v181.ExecuteFetchAsAppRequest, v181.ExecuteFetchAsAppResponse] + replicationStatus *connect.Client[v181.ReplicationStatusRequest, v181.ReplicationStatusResponse] + primaryStatus *connect.Client[v181.PrimaryStatusRequest, v181.PrimaryStatusResponse] + primaryPosition *connect.Client[v181.PrimaryPositionRequest, v181.PrimaryPositionResponse] + waitForPosition *connect.Client[v181.WaitForPositionRequest, v181.WaitForPositionResponse] + stopReplication *connect.Client[v181.StopReplicationRequest, v181.StopReplicationResponse] + stopReplicationMinimum *connect.Client[v181.StopReplicationMinimumRequest, v181.StopReplicationMinimumResponse] + startReplication *connect.Client[v181.StartReplicationRequest, v181.StartReplicationResponse] + startReplicationUntilAfter *connect.Client[v181.StartReplicationUntilAfterRequest, v181.StartReplicationUntilAfterResponse] + getReplicas *connect.Client[v181.GetReplicasRequest, v181.GetReplicasResponse] + createVReplicationWorkflow *connect.Client[v181.CreateVReplicationWorkflowRequest, v181.CreateVReplicationWorkflowResponse] + deleteVReplicationWorkflow *connect.Client[v181.DeleteVReplicationWorkflowRequest, v181.DeleteVReplicationWorkflowResponse] + readVReplicationWorkflow *connect.Client[v181.ReadVReplicationWorkflowRequest, v181.ReadVReplicationWorkflowResponse] + vReplicationExec *connect.Client[v181.VReplicationExecRequest, v181.VReplicationExecResponse] + vReplicationWaitForPos *connect.Client[v181.VReplicationWaitForPosRequest, v181.VReplicationWaitForPosResponse] + updateVReplicationWorkflow *connect.Client[v181.UpdateVReplicationWorkflowRequest, v181.UpdateVReplicationWorkflowResponse] + vDiff *connect.Client[v181.VDiffRequest, v181.VDiffResponse] + resetReplication *connect.Client[v181.ResetReplicationRequest, v181.ResetReplicationResponse] + initPrimary *connect.Client[v181.InitPrimaryRequest, v181.InitPrimaryResponse] + populateReparentJournal *connect.Client[v181.PopulateReparentJournalRequest, v181.PopulateReparentJournalResponse] + initReplica *connect.Client[v181.InitReplicaRequest, v181.InitReplicaResponse] + demotePrimary *connect.Client[v181.DemotePrimaryRequest, v181.DemotePrimaryResponse] + undoDemotePrimary *connect.Client[v181.UndoDemotePrimaryRequest, v181.UndoDemotePrimaryResponse] + replicaWasPromoted *connect.Client[v181.ReplicaWasPromotedRequest, v181.ReplicaWasPromotedResponse] + resetReplicationParameters *connect.Client[v181.ResetReplicationParametersRequest, v181.ResetReplicationParametersResponse] + fullStatus *connect.Client[v181.FullStatusRequest, v181.FullStatusResponse] + setReplicationSource *connect.Client[v181.SetReplicationSourceRequest, v181.SetReplicationSourceResponse] + replicaWasRestarted *connect.Client[v181.ReplicaWasRestartedRequest, v181.ReplicaWasRestartedResponse] + stopReplicationAndGetStatus *connect.Client[v181.StopReplicationAndGetStatusRequest, v181.StopReplicationAndGetStatusResponse] + promoteReplica *connect.Client[v181.PromoteReplicaRequest, v181.PromoteReplicaResponse] + backup *connect.Client[v181.BackupRequest, v181.BackupResponse] + restoreFromBackup *connect.Client[v181.RestoreFromBackupRequest, v181.RestoreFromBackupResponse] + checkThrottler *connect.Client[v181.CheckThrottlerRequest, v181.CheckThrottlerResponse] } // Ping calls tabletmanagerservice.TabletManager.Ping. -func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[v18.PingRequest]) (*connect.Response[v18.PingResponse], error) { +func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[v181.PingRequest]) (*connect.Response[v181.PingResponse], error) { return c.ping.CallUnary(ctx, req) } // Sleep calls tabletmanagerservice.TabletManager.Sleep. -func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[v18.SleepRequest]) (*connect.Response[v18.SleepResponse], error) { +func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[v181.SleepRequest]) (*connect.Response[v181.SleepResponse], error) { return c.sleep.CallUnary(ctx, req) } // ExecuteHook calls tabletmanagerservice.TabletManager.ExecuteHook. -func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) { +func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } // GetSchema calls tabletmanagerservice.TabletManager.GetSchema. -func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) { +func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetPermissions calls tabletmanagerservice.TabletManager.GetPermissions. -func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) { +func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } // SetReadOnly calls tabletmanagerservice.TabletManager.SetReadOnly. -func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[v18.SetReadOnlyRequest]) (*connect.Response[v18.SetReadOnlyResponse], error) { +func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[v181.SetReadOnlyRequest]) (*connect.Response[v181.SetReadOnlyResponse], error) { return c.setReadOnly.CallUnary(ctx, req) } // SetReadWrite calls tabletmanagerservice.TabletManager.SetReadWrite. -func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[v18.SetReadWriteRequest]) (*connect.Response[v18.SetReadWriteResponse], error) { +func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[v181.SetReadWriteRequest]) (*connect.Response[v181.SetReadWriteResponse], error) { return c.setReadWrite.CallUnary(ctx, req) } // ChangeType calls tabletmanagerservice.TabletManager.ChangeType. -func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[v18.ChangeTypeRequest]) (*connect.Response[v18.ChangeTypeResponse], error) { +func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[v181.ChangeTypeRequest]) (*connect.Response[v181.ChangeTypeResponse], error) { return c.changeType.CallUnary(ctx, req) } // RefreshState calls tabletmanagerservice.TabletManager.RefreshState. -func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) { +func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RunHealthCheck calls tabletmanagerservice.TabletManager.RunHealthCheck. -func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) { +func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // ReloadSchema calls tabletmanagerservice.TabletManager.ReloadSchema. -func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) { +func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // PreflightSchema calls tabletmanagerservice.TabletManager.PreflightSchema. -func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[v18.PreflightSchemaRequest]) (*connect.Response[v18.PreflightSchemaResponse], error) { +func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[v181.PreflightSchemaRequest]) (*connect.Response[v181.PreflightSchemaResponse], error) { return c.preflightSchema.CallUnary(ctx, req) } // ApplySchema calls tabletmanagerservice.TabletManager.ApplySchema. -func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) { +func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } // ResetSequences calls tabletmanagerservice.TabletManager.ResetSequences. -func (c *tabletManagerClient) ResetSequences(ctx context.Context, req *connect.Request[v18.ResetSequencesRequest]) (*connect.Response[v18.ResetSequencesResponse], error) { +func (c *tabletManagerClient) ResetSequences(ctx context.Context, req *connect.Request[v181.ResetSequencesRequest]) (*connect.Response[v181.ResetSequencesResponse], error) { return c.resetSequences.CallUnary(ctx, req) } // LockTables calls tabletmanagerservice.TabletManager.LockTables. -func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[v18.LockTablesRequest]) (*connect.Response[v18.LockTablesResponse], error) { +func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[v181.LockTablesRequest]) (*connect.Response[v181.LockTablesResponse], error) { return c.lockTables.CallUnary(ctx, req) } // UnlockTables calls tabletmanagerservice.TabletManager.UnlockTables. -func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[v18.UnlockTablesRequest]) (*connect.Response[v18.UnlockTablesResponse], error) { +func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[v181.UnlockTablesRequest]) (*connect.Response[v181.UnlockTablesResponse], error) { return c.unlockTables.CallUnary(ctx, req) } // ExecuteQuery calls tabletmanagerservice.TabletManager.ExecuteQuery. -func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[v18.ExecuteQueryRequest]) (*connect.Response[v18.ExecuteQueryResponse], error) { +func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[v181.ExecuteQueryRequest]) (*connect.Response[v181.ExecuteQueryResponse], error) { return c.executeQuery.CallUnary(ctx, req) } // ExecuteFetchAsDba calls tabletmanagerservice.TabletManager.ExecuteFetchAsDba. -func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[v18.ExecuteFetchAsDbaRequest]) (*connect.Response[v18.ExecuteFetchAsDbaResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[v181.ExecuteFetchAsDbaRequest]) (*connect.Response[v181.ExecuteFetchAsDbaResponse], error) { return c.executeFetchAsDba.CallUnary(ctx, req) } // ExecuteFetchAsAllPrivs calls // tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs. -func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[v18.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v18.ExecuteFetchAsAllPrivsResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[v181.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v181.ExecuteFetchAsAllPrivsResponse], error) { return c.executeFetchAsAllPrivs.CallUnary(ctx, req) } // ExecuteFetchAsApp calls tabletmanagerservice.TabletManager.ExecuteFetchAsApp. -func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) { +func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } // ReplicationStatus calls tabletmanagerservice.TabletManager.ReplicationStatus. -func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[v18.ReplicationStatusRequest]) (*connect.Response[v18.ReplicationStatusResponse], error) { +func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[v181.ReplicationStatusRequest]) (*connect.Response[v181.ReplicationStatusResponse], error) { return c.replicationStatus.CallUnary(ctx, req) } // PrimaryStatus calls tabletmanagerservice.TabletManager.PrimaryStatus. -func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[v18.PrimaryStatusRequest]) (*connect.Response[v18.PrimaryStatusResponse], error) { +func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[v181.PrimaryStatusRequest]) (*connect.Response[v181.PrimaryStatusResponse], error) { return c.primaryStatus.CallUnary(ctx, req) } // PrimaryPosition calls tabletmanagerservice.TabletManager.PrimaryPosition. -func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[v18.PrimaryPositionRequest]) (*connect.Response[v18.PrimaryPositionResponse], error) { +func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[v181.PrimaryPositionRequest]) (*connect.Response[v181.PrimaryPositionResponse], error) { return c.primaryPosition.CallUnary(ctx, req) } // WaitForPosition calls tabletmanagerservice.TabletManager.WaitForPosition. -func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[v18.WaitForPositionRequest]) (*connect.Response[v18.WaitForPositionResponse], error) { +func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[v181.WaitForPositionRequest]) (*connect.Response[v181.WaitForPositionResponse], error) { return c.waitForPosition.CallUnary(ctx, req) } // StopReplication calls tabletmanagerservice.TabletManager.StopReplication. -func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) { +func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // StopReplicationMinimum calls // tabletmanagerservice.TabletManager.StopReplicationMinimum. -func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[v18.StopReplicationMinimumRequest]) (*connect.Response[v18.StopReplicationMinimumResponse], error) { +func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[v181.StopReplicationMinimumRequest]) (*connect.Response[v181.StopReplicationMinimumResponse], error) { return c.stopReplicationMinimum.CallUnary(ctx, req) } // StartReplication calls tabletmanagerservice.TabletManager.StartReplication. -func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) { +func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StartReplicationUntilAfter calls // tabletmanagerservice.TabletManager.StartReplicationUntilAfter. -func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[v18.StartReplicationUntilAfterRequest]) (*connect.Response[v18.StartReplicationUntilAfterResponse], error) { +func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[v181.StartReplicationUntilAfterRequest]) (*connect.Response[v181.StartReplicationUntilAfterResponse], error) { return c.startReplicationUntilAfter.CallUnary(ctx, req) } // GetReplicas calls tabletmanagerservice.TabletManager.GetReplicas. -func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[v18.GetReplicasRequest]) (*connect.Response[v18.GetReplicasResponse], error) { +func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[v181.GetReplicasRequest]) (*connect.Response[v181.GetReplicasResponse], error) { return c.getReplicas.CallUnary(ctx, req) } // CreateVReplicationWorkflow calls // tabletmanagerservice.TabletManager.CreateVReplicationWorkflow. -func (c *tabletManagerClient) CreateVReplicationWorkflow(ctx context.Context, req *connect.Request[v18.CreateVReplicationWorkflowRequest]) (*connect.Response[v18.CreateVReplicationWorkflowResponse], error) { +func (c *tabletManagerClient) CreateVReplicationWorkflow(ctx context.Context, req *connect.Request[v181.CreateVReplicationWorkflowRequest]) (*connect.Response[v181.CreateVReplicationWorkflowResponse], error) { return c.createVReplicationWorkflow.CallUnary(ctx, req) } // DeleteVReplicationWorkflow calls // tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow. -func (c *tabletManagerClient) DeleteVReplicationWorkflow(ctx context.Context, req *connect.Request[v18.DeleteVReplicationWorkflowRequest]) (*connect.Response[v18.DeleteVReplicationWorkflowResponse], error) { +func (c *tabletManagerClient) DeleteVReplicationWorkflow(ctx context.Context, req *connect.Request[v181.DeleteVReplicationWorkflowRequest]) (*connect.Response[v181.DeleteVReplicationWorkflowResponse], error) { return c.deleteVReplicationWorkflow.CallUnary(ctx, req) } // ReadVReplicationWorkflow calls // tabletmanagerservice.TabletManager.ReadVReplicationWorkflow. -func (c *tabletManagerClient) ReadVReplicationWorkflow(ctx context.Context, req *connect.Request[v18.ReadVReplicationWorkflowRequest]) (*connect.Response[v18.ReadVReplicationWorkflowResponse], error) { +func (c *tabletManagerClient) ReadVReplicationWorkflow(ctx context.Context, req *connect.Request[v181.ReadVReplicationWorkflowRequest]) (*connect.Response[v181.ReadVReplicationWorkflowResponse], error) { return c.readVReplicationWorkflow.CallUnary(ctx, req) } // VReplicationExec calls tabletmanagerservice.TabletManager.VReplicationExec. -func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[v18.VReplicationExecRequest]) (*connect.Response[v18.VReplicationExecResponse], error) { +func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[v181.VReplicationExecRequest]) (*connect.Response[v181.VReplicationExecResponse], error) { return c.vReplicationExec.CallUnary(ctx, req) } // VReplicationWaitForPos calls // tabletmanagerservice.TabletManager.VReplicationWaitForPos. -func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[v18.VReplicationWaitForPosRequest]) (*connect.Response[v18.VReplicationWaitForPosResponse], error) { +func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[v181.VReplicationWaitForPosRequest]) (*connect.Response[v181.VReplicationWaitForPosResponse], error) { return c.vReplicationWaitForPos.CallUnary(ctx, req) } // UpdateVReplicationWorkflow calls // tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow. -func (c *tabletManagerClient) UpdateVReplicationWorkflow(ctx context.Context, req *connect.Request[v18.UpdateVReplicationWorkflowRequest]) (*connect.Response[v18.UpdateVReplicationWorkflowResponse], error) { +func (c *tabletManagerClient) UpdateVReplicationWorkflow(ctx context.Context, req *connect.Request[v181.UpdateVReplicationWorkflowRequest]) (*connect.Response[v181.UpdateVReplicationWorkflowResponse], error) { return c.updateVReplicationWorkflow.CallUnary(ctx, req) } // VDiff calls tabletmanagerservice.TabletManager.VDiff. -func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[v18.VDiffRequest]) (*connect.Response[v18.VDiffResponse], error) { +func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[v181.VDiffRequest]) (*connect.Response[v181.VDiffResponse], error) { return c.vDiff.CallUnary(ctx, req) } // ResetReplication calls tabletmanagerservice.TabletManager.ResetReplication. -func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[v18.ResetReplicationRequest]) (*connect.Response[v18.ResetReplicationResponse], error) { +func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[v181.ResetReplicationRequest]) (*connect.Response[v181.ResetReplicationResponse], error) { return c.resetReplication.CallUnary(ctx, req) } // InitPrimary calls tabletmanagerservice.TabletManager.InitPrimary. -func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[v18.InitPrimaryRequest]) (*connect.Response[v18.InitPrimaryResponse], error) { +func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[v181.InitPrimaryRequest]) (*connect.Response[v181.InitPrimaryResponse], error) { return c.initPrimary.CallUnary(ctx, req) } // PopulateReparentJournal calls // tabletmanagerservice.TabletManager.PopulateReparentJournal. -func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[v18.PopulateReparentJournalRequest]) (*connect.Response[v18.PopulateReparentJournalResponse], error) { +func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[v181.PopulateReparentJournalRequest]) (*connect.Response[v181.PopulateReparentJournalResponse], error) { return c.populateReparentJournal.CallUnary(ctx, req) } // InitReplica calls tabletmanagerservice.TabletManager.InitReplica. -func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[v18.InitReplicaRequest]) (*connect.Response[v18.InitReplicaResponse], error) { +func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[v181.InitReplicaRequest]) (*connect.Response[v181.InitReplicaResponse], error) { return c.initReplica.CallUnary(ctx, req) } // DemotePrimary calls tabletmanagerservice.TabletManager.DemotePrimary. -func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[v18.DemotePrimaryRequest]) (*connect.Response[v18.DemotePrimaryResponse], error) { +func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[v181.DemotePrimaryRequest]) (*connect.Response[v181.DemotePrimaryResponse], error) { return c.demotePrimary.CallUnary(ctx, req) } // UndoDemotePrimary calls tabletmanagerservice.TabletManager.UndoDemotePrimary. -func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[v18.UndoDemotePrimaryRequest]) (*connect.Response[v18.UndoDemotePrimaryResponse], error) { +func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[v181.UndoDemotePrimaryRequest]) (*connect.Response[v181.UndoDemotePrimaryResponse], error) { return c.undoDemotePrimary.CallUnary(ctx, req) } // ReplicaWasPromoted calls tabletmanagerservice.TabletManager.ReplicaWasPromoted. -func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[v18.ReplicaWasPromotedRequest]) (*connect.Response[v18.ReplicaWasPromotedResponse], error) { +func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[v181.ReplicaWasPromotedRequest]) (*connect.Response[v181.ReplicaWasPromotedResponse], error) { return c.replicaWasPromoted.CallUnary(ctx, req) } // ResetReplicationParameters calls // tabletmanagerservice.TabletManager.ResetReplicationParameters. -func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[v18.ResetReplicationParametersRequest]) (*connect.Response[v18.ResetReplicationParametersResponse], error) { +func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[v181.ResetReplicationParametersRequest]) (*connect.Response[v181.ResetReplicationParametersResponse], error) { return c.resetReplicationParameters.CallUnary(ctx, req) } // FullStatus calls tabletmanagerservice.TabletManager.FullStatus. -func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[v18.FullStatusRequest]) (*connect.Response[v18.FullStatusResponse], error) { +func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[v181.FullStatusRequest]) (*connect.Response[v181.FullStatusResponse], error) { return c.fullStatus.CallUnary(ctx, req) } // SetReplicationSource calls tabletmanagerservice.TabletManager.SetReplicationSource. -func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[v18.SetReplicationSourceRequest]) (*connect.Response[v18.SetReplicationSourceResponse], error) { +func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[v181.SetReplicationSourceRequest]) (*connect.Response[v181.SetReplicationSourceResponse], error) { return c.setReplicationSource.CallUnary(ctx, req) } // ReplicaWasRestarted calls tabletmanagerservice.TabletManager.ReplicaWasRestarted. -func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[v18.ReplicaWasRestartedRequest]) (*connect.Response[v18.ReplicaWasRestartedResponse], error) { +func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[v181.ReplicaWasRestartedRequest]) (*connect.Response[v181.ReplicaWasRestartedResponse], error) { return c.replicaWasRestarted.CallUnary(ctx, req) } // StopReplicationAndGetStatus calls // tabletmanagerservice.TabletManager.StopReplicationAndGetStatus. -func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[v18.StopReplicationAndGetStatusRequest]) (*connect.Response[v18.StopReplicationAndGetStatusResponse], error) { +func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[v181.StopReplicationAndGetStatusRequest]) (*connect.Response[v181.StopReplicationAndGetStatusResponse], error) { return c.stopReplicationAndGetStatus.CallUnary(ctx, req) } // PromoteReplica calls tabletmanagerservice.TabletManager.PromoteReplica. -func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[v18.PromoteReplicaRequest]) (*connect.Response[v18.PromoteReplicaResponse], error) { +func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[v181.PromoteReplicaRequest]) (*connect.Response[v181.PromoteReplicaResponse], error) { return c.promoteReplica.CallUnary(ctx, req) } // Backup calls tabletmanagerservice.TabletManager.Backup. -func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[v18.BackupRequest]) (*connect.ServerStreamForClient[v18.BackupResponse], error) { +func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[v181.BackupRequest]) (*connect.ServerStreamForClient[v181.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // RestoreFromBackup calls tabletmanagerservice.TabletManager.RestoreFromBackup. -func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v18.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v18.RestoreFromBackupResponse], error) { +func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v181.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v181.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } // CheckThrottler calls tabletmanagerservice.TabletManager.CheckThrottler. -func (c *tabletManagerClient) CheckThrottler(ctx context.Context, req *connect.Request[v18.CheckThrottlerRequest]) (*connect.Response[v18.CheckThrottlerResponse], error) { +func (c *tabletManagerClient) CheckThrottler(ctx context.Context, req *connect.Request[v181.CheckThrottlerRequest]) (*connect.Response[v181.CheckThrottlerResponse], error) { return c.checkThrottler.CallUnary(ctx, req) } @@ -900,93 +1009,93 @@ func (c *tabletManagerClient) CheckThrottler(ctx context.Context, req *connect.R // service. type TabletManagerHandler interface { // Ping returns the input payload - Ping(context.Context, *connect.Request[v18.PingRequest]) (*connect.Response[v18.PingResponse], error) + Ping(context.Context, *connect.Request[v181.PingRequest]) (*connect.Response[v181.PingResponse], error) // Sleep sleeps for the provided duration - Sleep(context.Context, *connect.Request[v18.SleepRequest]) (*connect.Response[v18.SleepResponse], error) + Sleep(context.Context, *connect.Request[v181.SleepRequest]) (*connect.Response[v181.SleepResponse], error) // ExecuteHook executes the hook remotely - ExecuteHook(context.Context, *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) // GetSchema asks the tablet for its schema - GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) // GetPermissions asks the tablet for its permissions - GetPermissions(context.Context, *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) - SetReadOnly(context.Context, *connect.Request[v18.SetReadOnlyRequest]) (*connect.Response[v18.SetReadOnlyResponse], error) - SetReadWrite(context.Context, *connect.Request[v18.SetReadWriteRequest]) (*connect.Response[v18.SetReadWriteResponse], error) + GetPermissions(context.Context, *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v181.SetReadOnlyRequest]) (*connect.Response[v181.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v181.SetReadWriteRequest]) (*connect.Response[v181.SetReadWriteResponse], error) // ChangeType asks the remote tablet to change its type - ChangeType(context.Context, *connect.Request[v18.ChangeTypeRequest]) (*connect.Response[v18.ChangeTypeResponse], error) - RefreshState(context.Context, *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) - RunHealthCheck(context.Context, *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) - ReloadSchema(context.Context, *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) - PreflightSchema(context.Context, *connect.Request[v18.PreflightSchemaRequest]) (*connect.Response[v18.PreflightSchemaResponse], error) - ApplySchema(context.Context, *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) - ResetSequences(context.Context, *connect.Request[v18.ResetSequencesRequest]) (*connect.Response[v18.ResetSequencesResponse], error) - LockTables(context.Context, *connect.Request[v18.LockTablesRequest]) (*connect.Response[v18.LockTablesResponse], error) - UnlockTables(context.Context, *connect.Request[v18.UnlockTablesRequest]) (*connect.Response[v18.UnlockTablesResponse], error) - ExecuteQuery(context.Context, *connect.Request[v18.ExecuteQueryRequest]) (*connect.Response[v18.ExecuteQueryResponse], error) - ExecuteFetchAsDba(context.Context, *connect.Request[v18.ExecuteFetchAsDbaRequest]) (*connect.Response[v18.ExecuteFetchAsDbaResponse], error) - ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v18.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v18.ExecuteFetchAsAllPrivsResponse], error) - ExecuteFetchAsApp(context.Context, *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) + ChangeType(context.Context, *connect.Request[v181.ChangeTypeRequest]) (*connect.Response[v181.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v181.PreflightSchemaRequest]) (*connect.Response[v181.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) + ResetSequences(context.Context, *connect.Request[v181.ResetSequencesRequest]) (*connect.Response[v181.ResetSequencesResponse], error) + LockTables(context.Context, *connect.Request[v181.LockTablesRequest]) (*connect.Response[v181.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v181.UnlockTablesRequest]) (*connect.Response[v181.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v181.ExecuteQueryRequest]) (*connect.Response[v181.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v181.ExecuteFetchAsDbaRequest]) (*connect.Response[v181.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v181.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v181.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) // ReplicationStatus returns the current replication status. - ReplicationStatus(context.Context, *connect.Request[v18.ReplicationStatusRequest]) (*connect.Response[v18.ReplicationStatusResponse], error) + ReplicationStatus(context.Context, *connect.Request[v181.ReplicationStatusRequest]) (*connect.Response[v181.ReplicationStatusResponse], error) // PrimaryStatus returns the current primary status. - PrimaryStatus(context.Context, *connect.Request[v18.PrimaryStatusRequest]) (*connect.Response[v18.PrimaryStatusResponse], error) + PrimaryStatus(context.Context, *connect.Request[v181.PrimaryStatusRequest]) (*connect.Response[v181.PrimaryStatusResponse], error) // PrimaryPosition returns the current primary position - PrimaryPosition(context.Context, *connect.Request[v18.PrimaryPositionRequest]) (*connect.Response[v18.PrimaryPositionResponse], error) + PrimaryPosition(context.Context, *connect.Request[v181.PrimaryPositionRequest]) (*connect.Response[v181.PrimaryPositionResponse], error) // WaitForPosition waits for the position to be reached - WaitForPosition(context.Context, *connect.Request[v18.WaitForPositionRequest]) (*connect.Response[v18.WaitForPositionResponse], error) + WaitForPosition(context.Context, *connect.Request[v181.WaitForPositionRequest]) (*connect.Response[v181.WaitForPositionResponse], error) // StopReplication makes mysql stop its replication - StopReplication(context.Context, *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) // StopReplicationMinimum stops the mysql replication after it reaches // the provided minimum point - StopReplicationMinimum(context.Context, *connect.Request[v18.StopReplicationMinimumRequest]) (*connect.Response[v18.StopReplicationMinimumResponse], error) + StopReplicationMinimum(context.Context, *connect.Request[v181.StopReplicationMinimumRequest]) (*connect.Response[v181.StopReplicationMinimumResponse], error) // StartReplication starts the mysql replication - StartReplication(context.Context, *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) // StartReplicationUnitAfter starts the mysql replication until and including // the provided position - StartReplicationUntilAfter(context.Context, *connect.Request[v18.StartReplicationUntilAfterRequest]) (*connect.Response[v18.StartReplicationUntilAfterResponse], error) + StartReplicationUntilAfter(context.Context, *connect.Request[v181.StartReplicationUntilAfterRequest]) (*connect.Response[v181.StartReplicationUntilAfterResponse], error) // GetReplicas asks for the list of mysql replicas - GetReplicas(context.Context, *connect.Request[v18.GetReplicasRequest]) (*connect.Response[v18.GetReplicasResponse], error) + GetReplicas(context.Context, *connect.Request[v181.GetReplicasRequest]) (*connect.Response[v181.GetReplicasResponse], error) // VReplication API - CreateVReplicationWorkflow(context.Context, *connect.Request[v18.CreateVReplicationWorkflowRequest]) (*connect.Response[v18.CreateVReplicationWorkflowResponse], error) - DeleteVReplicationWorkflow(context.Context, *connect.Request[v18.DeleteVReplicationWorkflowRequest]) (*connect.Response[v18.DeleteVReplicationWorkflowResponse], error) - ReadVReplicationWorkflow(context.Context, *connect.Request[v18.ReadVReplicationWorkflowRequest]) (*connect.Response[v18.ReadVReplicationWorkflowResponse], error) - VReplicationExec(context.Context, *connect.Request[v18.VReplicationExecRequest]) (*connect.Response[v18.VReplicationExecResponse], error) - VReplicationWaitForPos(context.Context, *connect.Request[v18.VReplicationWaitForPosRequest]) (*connect.Response[v18.VReplicationWaitForPosResponse], error) - UpdateVReplicationWorkflow(context.Context, *connect.Request[v18.UpdateVReplicationWorkflowRequest]) (*connect.Response[v18.UpdateVReplicationWorkflowResponse], error) + CreateVReplicationWorkflow(context.Context, *connect.Request[v181.CreateVReplicationWorkflowRequest]) (*connect.Response[v181.CreateVReplicationWorkflowResponse], error) + DeleteVReplicationWorkflow(context.Context, *connect.Request[v181.DeleteVReplicationWorkflowRequest]) (*connect.Response[v181.DeleteVReplicationWorkflowResponse], error) + ReadVReplicationWorkflow(context.Context, *connect.Request[v181.ReadVReplicationWorkflowRequest]) (*connect.Response[v181.ReadVReplicationWorkflowResponse], error) + VReplicationExec(context.Context, *connect.Request[v181.VReplicationExecRequest]) (*connect.Response[v181.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v181.VReplicationWaitForPosRequest]) (*connect.Response[v181.VReplicationWaitForPosResponse], error) + UpdateVReplicationWorkflow(context.Context, *connect.Request[v181.UpdateVReplicationWorkflowRequest]) (*connect.Response[v181.UpdateVReplicationWorkflowResponse], error) // VDiff API - VDiff(context.Context, *connect.Request[v18.VDiffRequest]) (*connect.Response[v18.VDiffResponse], error) + VDiff(context.Context, *connect.Request[v181.VDiffRequest]) (*connect.Response[v181.VDiffResponse], error) // ResetReplication makes the target not replicating - ResetReplication(context.Context, *connect.Request[v18.ResetReplicationRequest]) (*connect.Response[v18.ResetReplicationResponse], error) + ResetReplication(context.Context, *connect.Request[v181.ResetReplicationRequest]) (*connect.Response[v181.ResetReplicationResponse], error) // InitPrimary initializes the tablet as a primary - InitPrimary(context.Context, *connect.Request[v18.InitPrimaryRequest]) (*connect.Response[v18.InitPrimaryResponse], error) + InitPrimary(context.Context, *connect.Request[v181.InitPrimaryRequest]) (*connect.Response[v181.InitPrimaryResponse], error) // PopulateReparentJournal tells the tablet to add an entry to its // reparent journal - PopulateReparentJournal(context.Context, *connect.Request[v18.PopulateReparentJournalRequest]) (*connect.Response[v18.PopulateReparentJournalResponse], error) + PopulateReparentJournal(context.Context, *connect.Request[v181.PopulateReparentJournalRequest]) (*connect.Response[v181.PopulateReparentJournalResponse], error) // InitReplica tells the tablet to reparent to the primary unconditionally - InitReplica(context.Context, *connect.Request[v18.InitReplicaRequest]) (*connect.Response[v18.InitReplicaResponse], error) + InitReplica(context.Context, *connect.Request[v181.InitReplicaRequest]) (*connect.Response[v181.InitReplicaResponse], error) // DemotePrimary tells the soon-to-be-former primary it's gonna change - DemotePrimary(context.Context, *connect.Request[v18.DemotePrimaryRequest]) (*connect.Response[v18.DemotePrimaryResponse], error) + DemotePrimary(context.Context, *connect.Request[v181.DemotePrimaryRequest]) (*connect.Response[v181.DemotePrimaryResponse], error) // UndoDemotePrimary reverts all changes made by DemotePrimary - UndoDemotePrimary(context.Context, *connect.Request[v18.UndoDemotePrimaryRequest]) (*connect.Response[v18.UndoDemotePrimaryResponse], error) + UndoDemotePrimary(context.Context, *connect.Request[v181.UndoDemotePrimaryRequest]) (*connect.Response[v181.UndoDemotePrimaryResponse], error) // ReplicaWasPromoted tells the remote tablet it is now the primary - ReplicaWasPromoted(context.Context, *connect.Request[v18.ReplicaWasPromotedRequest]) (*connect.Response[v18.ReplicaWasPromotedResponse], error) + ReplicaWasPromoted(context.Context, *connect.Request[v181.ReplicaWasPromotedRequest]) (*connect.Response[v181.ReplicaWasPromotedResponse], error) // ResetReplicationParameters resets the replica replication parameters - ResetReplicationParameters(context.Context, *connect.Request[v18.ResetReplicationParametersRequest]) (*connect.Response[v18.ResetReplicationParametersResponse], error) + ResetReplicationParameters(context.Context, *connect.Request[v181.ResetReplicationParametersRequest]) (*connect.Response[v181.ResetReplicationParametersResponse], error) // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - FullStatus(context.Context, *connect.Request[v18.FullStatusRequest]) (*connect.Response[v18.FullStatusResponse], error) + FullStatus(context.Context, *connect.Request[v181.FullStatusRequest]) (*connect.Response[v181.FullStatusResponse], error) // SetReplicationSource tells the replica to reparent - SetReplicationSource(context.Context, *connect.Request[v18.SetReplicationSourceRequest]) (*connect.Response[v18.SetReplicationSourceResponse], error) + SetReplicationSource(context.Context, *connect.Request[v181.SetReplicationSourceRequest]) (*connect.Response[v181.SetReplicationSourceResponse], error) // ReplicaWasRestarted tells the remote tablet its primary has changed - ReplicaWasRestarted(context.Context, *connect.Request[v18.ReplicaWasRestartedRequest]) (*connect.Response[v18.ReplicaWasRestartedResponse], error) + ReplicaWasRestarted(context.Context, *connect.Request[v181.ReplicaWasRestartedRequest]) (*connect.Response[v181.ReplicaWasRestartedResponse], error) // StopReplicationAndGetStatus stops MySQL replication, and returns the // replication status - StopReplicationAndGetStatus(context.Context, *connect.Request[v18.StopReplicationAndGetStatusRequest]) (*connect.Response[v18.StopReplicationAndGetStatusResponse], error) + StopReplicationAndGetStatus(context.Context, *connect.Request[v181.StopReplicationAndGetStatusRequest]) (*connect.Response[v181.StopReplicationAndGetStatusResponse], error) // PromoteReplica makes the replica the new primary - PromoteReplica(context.Context, *connect.Request[v18.PromoteReplicaRequest]) (*connect.Response[v18.PromoteReplicaResponse], error) - Backup(context.Context, *connect.Request[v18.BackupRequest], *connect.ServerStream[v18.BackupResponse]) error + PromoteReplica(context.Context, *connect.Request[v181.PromoteReplicaRequest]) (*connect.Response[v181.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v181.BackupRequest], *connect.ServerStream[v181.BackupResponse]) error // RestoreFromBackup deletes all local data and restores it from the latest backup. - RestoreFromBackup(context.Context, *connect.Request[v18.RestoreFromBackupRequest], *connect.ServerStream[v18.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[v181.RestoreFromBackupRequest], *connect.ServerStream[v181.RestoreFromBackupResponse]) error // CheckThrottler issues a 'check' on a tablet's throttler - CheckThrottler(context.Context, *connect.Request[v18.CheckThrottlerRequest]) (*connect.Response[v18.CheckThrottlerResponse], error) + CheckThrottler(context.Context, *connect.Request[v181.CheckThrottlerRequest]) (*connect.Response[v181.CheckThrottlerResponse], error) } // NewTabletManagerHandler builds an HTTP handler from the service implementation. It returns the @@ -998,262 +1107,314 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp tabletManagerPingHandler := connect.NewUnaryHandler( TabletManagerPingProcedure, svc.Ping, - opts..., + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSleepHandler := connect.NewUnaryHandler( TabletManagerSleepProcedure, svc.Sleep, - opts..., + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteHookHandler := connect.NewUnaryHandler( TabletManagerExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetSchemaHandler := connect.NewUnaryHandler( TabletManagerGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetPermissionsHandler := connect.NewUnaryHandler( TabletManagerGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadOnlyHandler := connect.NewUnaryHandler( TabletManagerSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReadWriteHandler := connect.NewUnaryHandler( TabletManagerSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerChangeTypeHandler := connect.NewUnaryHandler( TabletManagerChangeTypeProcedure, svc.ChangeType, - opts..., + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRefreshStateHandler := connect.NewUnaryHandler( TabletManagerRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRunHealthCheckHandler := connect.NewUnaryHandler( TabletManagerRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReloadSchemaHandler := connect.NewUnaryHandler( TabletManagerReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPreflightSchemaHandler := connect.NewUnaryHandler( TabletManagerPreflightSchemaProcedure, svc.PreflightSchema, - opts..., + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerApplySchemaHandler := connect.NewUnaryHandler( TabletManagerApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetSequencesHandler := connect.NewUnaryHandler( TabletManagerResetSequencesProcedure, svc.ResetSequences, - opts..., + connect.WithSchema(tabletManagerResetSequencesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerLockTablesHandler := connect.NewUnaryHandler( TabletManagerLockTablesProcedure, svc.LockTables, - opts..., + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUnlockTablesHandler := connect.NewUnaryHandler( TabletManagerUnlockTablesProcedure, svc.UnlockTables, - opts..., + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteQueryHandler := connect.NewUnaryHandler( TabletManagerExecuteQueryProcedure, svc.ExecuteQuery, - opts..., + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsDbaHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsDbaProcedure, svc.ExecuteFetchAsDba, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAllPrivsHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAllPrivsProcedure, svc.ExecuteFetchAsAllPrivs, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerExecuteFetchAsAppHandler := connect.NewUnaryHandler( TabletManagerExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicationStatusHandler := connect.NewUnaryHandler( TabletManagerReplicationStatusProcedure, svc.ReplicationStatus, - opts..., + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryStatusHandler := connect.NewUnaryHandler( TabletManagerPrimaryStatusProcedure, svc.PrimaryStatus, - opts..., + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPrimaryPositionHandler := connect.NewUnaryHandler( TabletManagerPrimaryPositionProcedure, svc.PrimaryPosition, - opts..., + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerWaitForPositionHandler := connect.NewUnaryHandler( TabletManagerWaitForPositionProcedure, svc.WaitForPosition, - opts..., + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationHandler := connect.NewUnaryHandler( TabletManagerStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationMinimumHandler := connect.NewUnaryHandler( TabletManagerStopReplicationMinimumProcedure, svc.StopReplicationMinimum, - opts..., + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationHandler := connect.NewUnaryHandler( TabletManagerStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStartReplicationUntilAfterHandler := connect.NewUnaryHandler( TabletManagerStartReplicationUntilAfterProcedure, svc.StartReplicationUntilAfter, - opts..., + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerGetReplicasHandler := connect.NewUnaryHandler( TabletManagerGetReplicasProcedure, svc.GetReplicas, - opts..., + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerCreateVReplicationWorkflowHandler := connect.NewUnaryHandler( TabletManagerCreateVReplicationWorkflowProcedure, svc.CreateVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerCreateVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerDeleteVReplicationWorkflowHandler := connect.NewUnaryHandler( TabletManagerDeleteVReplicationWorkflowProcedure, svc.DeleteVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerDeleteVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReadVReplicationWorkflowHandler := connect.NewUnaryHandler( TabletManagerReadVReplicationWorkflowProcedure, svc.ReadVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerReadVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationExecHandler := connect.NewUnaryHandler( TabletManagerVReplicationExecProcedure, svc.VReplicationExec, - opts..., + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVReplicationWaitForPosHandler := connect.NewUnaryHandler( TabletManagerVReplicationWaitForPosProcedure, svc.VReplicationWaitForPos, - opts..., + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUpdateVReplicationWorkflowHandler := connect.NewUnaryHandler( TabletManagerUpdateVReplicationWorkflowProcedure, svc.UpdateVReplicationWorkflow, - opts..., + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerVDiffHandler := connect.NewUnaryHandler( TabletManagerVDiffProcedure, svc.VDiff, - opts..., + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationHandler := connect.NewUnaryHandler( TabletManagerResetReplicationProcedure, svc.ResetReplication, - opts..., + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitPrimaryHandler := connect.NewUnaryHandler( TabletManagerInitPrimaryProcedure, svc.InitPrimary, - opts..., + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPopulateReparentJournalHandler := connect.NewUnaryHandler( TabletManagerPopulateReparentJournalProcedure, svc.PopulateReparentJournal, - opts..., + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerInitReplicaHandler := connect.NewUnaryHandler( TabletManagerInitReplicaProcedure, svc.InitReplica, - opts..., + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerDemotePrimaryProcedure, svc.DemotePrimary, - opts..., + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerUndoDemotePrimaryHandler := connect.NewUnaryHandler( TabletManagerUndoDemotePrimaryProcedure, svc.UndoDemotePrimary, - opts..., + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasPromotedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasPromotedProcedure, svc.ReplicaWasPromoted, - opts..., + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerResetReplicationParametersHandler := connect.NewUnaryHandler( TabletManagerResetReplicationParametersProcedure, svc.ResetReplicationParameters, - opts..., + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerFullStatusHandler := connect.NewUnaryHandler( TabletManagerFullStatusProcedure, svc.FullStatus, - opts..., + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerSetReplicationSourceHandler := connect.NewUnaryHandler( TabletManagerSetReplicationSourceProcedure, svc.SetReplicationSource, - opts..., + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerReplicaWasRestartedHandler := connect.NewUnaryHandler( TabletManagerReplicaWasRestartedProcedure, svc.ReplicaWasRestarted, - opts..., + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerStopReplicationAndGetStatusHandler := connect.NewUnaryHandler( TabletManagerStopReplicationAndGetStatusProcedure, svc.StopReplicationAndGetStatus, - opts..., + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerPromoteReplicaHandler := connect.NewUnaryHandler( TabletManagerPromoteReplicaProcedure, svc.PromoteReplica, - opts..., + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerBackupHandler := connect.NewServerStreamHandler( TabletManagerBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerRestoreFromBackupHandler := connect.NewServerStreamHandler( TabletManagerRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) tabletManagerCheckThrottlerHandler := connect.NewUnaryHandler( TabletManagerCheckThrottlerProcedure, svc.CheckThrottler, - opts..., + connect.WithSchema(tabletManagerCheckThrottlerMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/tabletmanagerservice.TabletManager/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -1370,210 +1531,210 @@ func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOp // UnimplementedTabletManagerHandler returns CodeUnimplemented from all methods. type UnimplementedTabletManagerHandler struct{} -func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[v18.PingRequest]) (*connect.Response[v18.PingResponse], error) { +func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[v181.PingRequest]) (*connect.Response[v181.PingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Ping is not implemented")) } -func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[v18.SleepRequest]) (*connect.Response[v18.SleepResponse], error) { +func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[v181.SleepRequest]) (*connect.Response[v181.SleepResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Sleep is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteHook is not implemented")) } -func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) { +func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetPermissions is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[v18.SetReadOnlyRequest]) (*connect.Response[v18.SetReadOnlyResponse], error) { +func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[v181.SetReadOnlyRequest]) (*connect.Response[v181.SetReadOnlyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadOnly is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[v18.SetReadWriteRequest]) (*connect.Response[v18.SetReadWriteResponse], error) { +func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[v181.SetReadWriteRequest]) (*connect.Response[v181.SetReadWriteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadWrite is not implemented")) } -func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[v18.ChangeTypeRequest]) (*connect.Response[v18.ChangeTypeResponse], error) { +func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[v181.ChangeTypeRequest]) (*connect.Response[v181.ChangeTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ChangeType is not implemented")) } -func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) { +func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RefreshState is not implemented")) } -func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) { +func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RunHealthCheck is not implemented")) } -func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReloadSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[v18.PreflightSchemaRequest]) (*connect.Response[v18.PreflightSchemaResponse], error) { +func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[v181.PreflightSchemaRequest]) (*connect.Response[v181.PreflightSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PreflightSchema is not implemented")) } -func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) { +func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ApplySchema is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetSequences(context.Context, *connect.Request[v18.ResetSequencesRequest]) (*connect.Response[v18.ResetSequencesResponse], error) { +func (UnimplementedTabletManagerHandler) ResetSequences(context.Context, *connect.Request[v181.ResetSequencesRequest]) (*connect.Response[v181.ResetSequencesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetSequences is not implemented")) } -func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[v18.LockTablesRequest]) (*connect.Response[v18.LockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[v181.LockTablesRequest]) (*connect.Response[v181.LockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.LockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[v18.UnlockTablesRequest]) (*connect.Response[v18.UnlockTablesResponse], error) { +func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[v181.UnlockTablesRequest]) (*connect.Response[v181.UnlockTablesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UnlockTables is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[v18.ExecuteQueryRequest]) (*connect.Response[v18.ExecuteQueryResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[v181.ExecuteQueryRequest]) (*connect.Response[v181.ExecuteQueryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteQuery is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[v18.ExecuteFetchAsDbaRequest]) (*connect.Response[v18.ExecuteFetchAsDbaResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[v181.ExecuteFetchAsDbaRequest]) (*connect.Response[v181.ExecuteFetchAsDbaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsDba is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v18.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v18.ExecuteFetchAsAllPrivsResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v181.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v181.ExecuteFetchAsAllPrivsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs is not implemented")) } -func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) { +func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[v18.ReplicationStatusRequest]) (*connect.Response[v18.ReplicationStatusResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[v181.ReplicationStatusRequest]) (*connect.Response[v181.ReplicationStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicationStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[v18.PrimaryStatusRequest]) (*connect.Response[v18.PrimaryStatusResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[v181.PrimaryStatusRequest]) (*connect.Response[v181.PrimaryStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[v18.PrimaryPositionRequest]) (*connect.Response[v18.PrimaryPositionResponse], error) { +func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[v181.PrimaryPositionRequest]) (*connect.Response[v181.PrimaryPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[v18.WaitForPositionRequest]) (*connect.Response[v18.WaitForPositionResponse], error) { +func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[v181.WaitForPositionRequest]) (*connect.Response[v181.WaitForPositionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.WaitForPosition is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[v18.StopReplicationMinimumRequest]) (*connect.Response[v18.StopReplicationMinimumResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[v181.StopReplicationMinimumRequest]) (*connect.Response[v181.StopReplicationMinimumResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationMinimum is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[v18.StartReplicationUntilAfterRequest]) (*connect.Response[v18.StartReplicationUntilAfterResponse], error) { +func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[v181.StartReplicationUntilAfterRequest]) (*connect.Response[v181.StartReplicationUntilAfterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplicationUntilAfter is not implemented")) } -func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[v18.GetReplicasRequest]) (*connect.Response[v18.GetReplicasResponse], error) { +func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[v181.GetReplicasRequest]) (*connect.Response[v181.GetReplicasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetReplicas is not implemented")) } -func (UnimplementedTabletManagerHandler) CreateVReplicationWorkflow(context.Context, *connect.Request[v18.CreateVReplicationWorkflowRequest]) (*connect.Response[v18.CreateVReplicationWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) CreateVReplicationWorkflow(context.Context, *connect.Request[v181.CreateVReplicationWorkflowRequest]) (*connect.Response[v181.CreateVReplicationWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.CreateVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) DeleteVReplicationWorkflow(context.Context, *connect.Request[v18.DeleteVReplicationWorkflowRequest]) (*connect.Response[v18.DeleteVReplicationWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) DeleteVReplicationWorkflow(context.Context, *connect.Request[v181.DeleteVReplicationWorkflowRequest]) (*connect.Response[v181.DeleteVReplicationWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) ReadVReplicationWorkflow(context.Context, *connect.Request[v18.ReadVReplicationWorkflowRequest]) (*connect.Response[v18.ReadVReplicationWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) ReadVReplicationWorkflow(context.Context, *connect.Request[v181.ReadVReplicationWorkflowRequest]) (*connect.Response[v181.ReadVReplicationWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReadVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[v18.VReplicationExecRequest]) (*connect.Response[v18.VReplicationExecResponse], error) { +func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[v181.VReplicationExecRequest]) (*connect.Response[v181.VReplicationExecResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationExec is not implemented")) } -func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[v18.VReplicationWaitForPosRequest]) (*connect.Response[v18.VReplicationWaitForPosResponse], error) { +func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[v181.VReplicationWaitForPosRequest]) (*connect.Response[v181.VReplicationWaitForPosResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationWaitForPos is not implemented")) } -func (UnimplementedTabletManagerHandler) UpdateVReplicationWorkflow(context.Context, *connect.Request[v18.UpdateVReplicationWorkflowRequest]) (*connect.Response[v18.UpdateVReplicationWorkflowResponse], error) { +func (UnimplementedTabletManagerHandler) UpdateVReplicationWorkflow(context.Context, *connect.Request[v181.UpdateVReplicationWorkflowRequest]) (*connect.Response[v181.UpdateVReplicationWorkflowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow is not implemented")) } -func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[v18.VDiffRequest]) (*connect.Response[v18.VDiffResponse], error) { +func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[v181.VDiffRequest]) (*connect.Response[v181.VDiffResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VDiff is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[v18.ResetReplicationRequest]) (*connect.Response[v18.ResetReplicationResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[v181.ResetReplicationRequest]) (*connect.Response[v181.ResetReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplication is not implemented")) } -func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[v18.InitPrimaryRequest]) (*connect.Response[v18.InitPrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[v181.InitPrimaryRequest]) (*connect.Response[v181.InitPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitPrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[v18.PopulateReparentJournalRequest]) (*connect.Response[v18.PopulateReparentJournalResponse], error) { +func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[v181.PopulateReparentJournalRequest]) (*connect.Response[v181.PopulateReparentJournalResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PopulateReparentJournal is not implemented")) } -func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[v18.InitReplicaRequest]) (*connect.Response[v18.InitReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[v181.InitReplicaRequest]) (*connect.Response[v181.InitReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[v18.DemotePrimaryRequest]) (*connect.Response[v18.DemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[v181.DemotePrimaryRequest]) (*connect.Response[v181.DemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[v18.UndoDemotePrimaryRequest]) (*connect.Response[v18.UndoDemotePrimaryResponse], error) { +func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[v181.UndoDemotePrimaryRequest]) (*connect.Response[v181.UndoDemotePrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UndoDemotePrimary is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[v18.ReplicaWasPromotedRequest]) (*connect.Response[v18.ReplicaWasPromotedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[v181.ReplicaWasPromotedRequest]) (*connect.Response[v181.ReplicaWasPromotedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasPromoted is not implemented")) } -func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[v18.ResetReplicationParametersRequest]) (*connect.Response[v18.ResetReplicationParametersResponse], error) { +func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[v181.ResetReplicationParametersRequest]) (*connect.Response[v181.ResetReplicationParametersResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplicationParameters is not implemented")) } -func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[v18.FullStatusRequest]) (*connect.Response[v18.FullStatusResponse], error) { +func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[v181.FullStatusRequest]) (*connect.Response[v181.FullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.FullStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[v18.SetReplicationSourceRequest]) (*connect.Response[v18.SetReplicationSourceResponse], error) { +func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[v181.SetReplicationSourceRequest]) (*connect.Response[v181.SetReplicationSourceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReplicationSource is not implemented")) } -func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[v18.ReplicaWasRestartedRequest]) (*connect.Response[v18.ReplicaWasRestartedResponse], error) { +func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[v181.ReplicaWasRestartedRequest]) (*connect.Response[v181.ReplicaWasRestartedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasRestarted is not implemented")) } -func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[v18.StopReplicationAndGetStatusRequest]) (*connect.Response[v18.StopReplicationAndGetStatusResponse], error) { +func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[v181.StopReplicationAndGetStatusRequest]) (*connect.Response[v181.StopReplicationAndGetStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationAndGetStatus is not implemented")) } -func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[v18.PromoteReplicaRequest]) (*connect.Response[v18.PromoteReplicaResponse], error) { +func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[v181.PromoteReplicaRequest]) (*connect.Response[v181.PromoteReplicaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PromoteReplica is not implemented")) } -func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[v18.BackupRequest], *connect.ServerStream[v18.BackupResponse]) error { +func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[v181.BackupRequest], *connect.ServerStream[v181.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Backup is not implemented")) } -func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[v18.RestoreFromBackupRequest], *connect.ServerStream[v18.RestoreFromBackupResponse]) error { +func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[v181.RestoreFromBackupRequest], *connect.ServerStream[v181.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RestoreFromBackup is not implemented")) } -func (UnimplementedTabletManagerHandler) CheckThrottler(context.Context, *connect.Request[v18.CheckThrottlerRequest]) (*connect.Response[v18.CheckThrottlerResponse], error) { +func (UnimplementedTabletManagerHandler) CheckThrottler(context.Context, *connect.Request[v181.CheckThrottlerRequest]) (*connect.Response[v181.CheckThrottlerResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.CheckThrottler is not implemented")) } diff --git a/gen/vitess/tabletmanagerservice/v19/tabletmanagerservice.pb.go b/gen/vitess/tabletmanagerservice/v19/tabletmanagerservice.pb.go new file mode 100644 index 0000000..0a4758f --- /dev/null +++ b/gen/vitess/tabletmanagerservice/v19/tabletmanagerservice.pb.go @@ -0,0 +1,732 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains the service definition for making management API +// calls to VtTablet. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/tabletmanagerservice/v19/tabletmanagerservice.proto + +package tabletmanagerservicev19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto protoreflect.FileDescriptor + +var file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_rawDesc = []byte{ + 0x0a, 0x3a, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, + 0x39, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x34, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x32, 0xd4, 0x35, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x5f, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x29, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x05, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x12, + 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x6c, 0x65, 0x65, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x6e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2e, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x7d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x74, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x30, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, + 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, + 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0e, 0x52, 0x75, + 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x33, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6e, 0x48, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x52, 0x65, 0x6c, + 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x6f, + 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x65, 0x66, + 0x6c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0e, 0x52, + 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x33, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, + 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x0a, 0x4c, 0x6f, + 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, + 0x0c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x31, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x55, 0x6e, 0x6c, + 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x86, 0x01, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x41, 0x73, 0x44, 0x62, 0x61, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x62, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, + 0x69, 0x76, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, + 0x73, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x6c, + 0x6c, 0x50, 0x72, 0x69, 0x76, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x86, 0x01, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, + 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x50, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, + 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, + 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, + 0x75, 0x6d, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, + 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x83, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, + 0x66, 0x74, 0x65, 0x72, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0xa1, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9b, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x61, 0x64, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x10, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, + 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x95, 0x01, 0x0a, 0x16, + 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, + 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x12, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x05, 0x56, 0x44, 0x69, 0x66, 0x66, + 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, + 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x10, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x98, 0x01, 0x0a, 0x17, 0x50, 0x6f, 0x70, 0x75, + 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, + 0x6e, 0x61, 0x6c, 0x12, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x44, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x55, 0x6e, 0x64, 0x6f, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x89, 0x01, + 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, + 0x6f, 0x74, 0x65, 0x64, 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, + 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x1a, 0x52, 0x65, + 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, + 0x0a, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x75, 0x6c, 0x6c, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x8f, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x8c, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, + 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x57, 0x61, 0x73, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0xa4, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6d, + 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, + 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, + 0x12, 0x88, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, + 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x30, 0x01, 0x12, 0x7d, 0x0a, 0x0e, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x61, 0x5a, 0x5f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, + 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_goTypes = []any{ + (*v19.PingRequest)(nil), // 0: vitess.tabletmanagerdata.v19.PingRequest + (*v19.SleepRequest)(nil), // 1: vitess.tabletmanagerdata.v19.SleepRequest + (*v19.ExecuteHookRequest)(nil), // 2: vitess.tabletmanagerdata.v19.ExecuteHookRequest + (*v19.GetSchemaRequest)(nil), // 3: vitess.tabletmanagerdata.v19.GetSchemaRequest + (*v19.GetPermissionsRequest)(nil), // 4: vitess.tabletmanagerdata.v19.GetPermissionsRequest + (*v19.SetReadOnlyRequest)(nil), // 5: vitess.tabletmanagerdata.v19.SetReadOnlyRequest + (*v19.SetReadWriteRequest)(nil), // 6: vitess.tabletmanagerdata.v19.SetReadWriteRequest + (*v19.ChangeTypeRequest)(nil), // 7: vitess.tabletmanagerdata.v19.ChangeTypeRequest + (*v19.RefreshStateRequest)(nil), // 8: vitess.tabletmanagerdata.v19.RefreshStateRequest + (*v19.RunHealthCheckRequest)(nil), // 9: vitess.tabletmanagerdata.v19.RunHealthCheckRequest + (*v19.ReloadSchemaRequest)(nil), // 10: vitess.tabletmanagerdata.v19.ReloadSchemaRequest + (*v19.PreflightSchemaRequest)(nil), // 11: vitess.tabletmanagerdata.v19.PreflightSchemaRequest + (*v19.ApplySchemaRequest)(nil), // 12: vitess.tabletmanagerdata.v19.ApplySchemaRequest + (*v19.ResetSequencesRequest)(nil), // 13: vitess.tabletmanagerdata.v19.ResetSequencesRequest + (*v19.LockTablesRequest)(nil), // 14: vitess.tabletmanagerdata.v19.LockTablesRequest + (*v19.UnlockTablesRequest)(nil), // 15: vitess.tabletmanagerdata.v19.UnlockTablesRequest + (*v19.ExecuteQueryRequest)(nil), // 16: vitess.tabletmanagerdata.v19.ExecuteQueryRequest + (*v19.ExecuteFetchAsDbaRequest)(nil), // 17: vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaRequest + (*v19.ExecuteFetchAsAllPrivsRequest)(nil), // 18: vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsRequest + (*v19.ExecuteFetchAsAppRequest)(nil), // 19: vitess.tabletmanagerdata.v19.ExecuteFetchAsAppRequest + (*v19.ReplicationStatusRequest)(nil), // 20: vitess.tabletmanagerdata.v19.ReplicationStatusRequest + (*v19.PrimaryStatusRequest)(nil), // 21: vitess.tabletmanagerdata.v19.PrimaryStatusRequest + (*v19.PrimaryPositionRequest)(nil), // 22: vitess.tabletmanagerdata.v19.PrimaryPositionRequest + (*v19.WaitForPositionRequest)(nil), // 23: vitess.tabletmanagerdata.v19.WaitForPositionRequest + (*v19.StopReplicationRequest)(nil), // 24: vitess.tabletmanagerdata.v19.StopReplicationRequest + (*v19.StopReplicationMinimumRequest)(nil), // 25: vitess.tabletmanagerdata.v19.StopReplicationMinimumRequest + (*v19.StartReplicationRequest)(nil), // 26: vitess.tabletmanagerdata.v19.StartReplicationRequest + (*v19.StartReplicationUntilAfterRequest)(nil), // 27: vitess.tabletmanagerdata.v19.StartReplicationUntilAfterRequest + (*v19.GetReplicasRequest)(nil), // 28: vitess.tabletmanagerdata.v19.GetReplicasRequest + (*v19.CreateVReplicationWorkflowRequest)(nil), // 29: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest + (*v19.DeleteVReplicationWorkflowRequest)(nil), // 30: vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowRequest + (*v19.ReadVReplicationWorkflowRequest)(nil), // 31: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowRequest + (*v19.VReplicationExecRequest)(nil), // 32: vitess.tabletmanagerdata.v19.VReplicationExecRequest + (*v19.VReplicationWaitForPosRequest)(nil), // 33: vitess.tabletmanagerdata.v19.VReplicationWaitForPosRequest + (*v19.UpdateVReplicationWorkflowRequest)(nil), // 34: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest + (*v19.VDiffRequest)(nil), // 35: vitess.tabletmanagerdata.v19.VDiffRequest + (*v19.ResetReplicationRequest)(nil), // 36: vitess.tabletmanagerdata.v19.ResetReplicationRequest + (*v19.InitPrimaryRequest)(nil), // 37: vitess.tabletmanagerdata.v19.InitPrimaryRequest + (*v19.PopulateReparentJournalRequest)(nil), // 38: vitess.tabletmanagerdata.v19.PopulateReparentJournalRequest + (*v19.InitReplicaRequest)(nil), // 39: vitess.tabletmanagerdata.v19.InitReplicaRequest + (*v19.DemotePrimaryRequest)(nil), // 40: vitess.tabletmanagerdata.v19.DemotePrimaryRequest + (*v19.UndoDemotePrimaryRequest)(nil), // 41: vitess.tabletmanagerdata.v19.UndoDemotePrimaryRequest + (*v19.ReplicaWasPromotedRequest)(nil), // 42: vitess.tabletmanagerdata.v19.ReplicaWasPromotedRequest + (*v19.ResetReplicationParametersRequest)(nil), // 43: vitess.tabletmanagerdata.v19.ResetReplicationParametersRequest + (*v19.FullStatusRequest)(nil), // 44: vitess.tabletmanagerdata.v19.FullStatusRequest + (*v19.SetReplicationSourceRequest)(nil), // 45: vitess.tabletmanagerdata.v19.SetReplicationSourceRequest + (*v19.ReplicaWasRestartedRequest)(nil), // 46: vitess.tabletmanagerdata.v19.ReplicaWasRestartedRequest + (*v19.StopReplicationAndGetStatusRequest)(nil), // 47: vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusRequest + (*v19.PromoteReplicaRequest)(nil), // 48: vitess.tabletmanagerdata.v19.PromoteReplicaRequest + (*v19.BackupRequest)(nil), // 49: vitess.tabletmanagerdata.v19.BackupRequest + (*v19.RestoreFromBackupRequest)(nil), // 50: vitess.tabletmanagerdata.v19.RestoreFromBackupRequest + (*v19.CheckThrottlerRequest)(nil), // 51: vitess.tabletmanagerdata.v19.CheckThrottlerRequest + (*v19.PingResponse)(nil), // 52: vitess.tabletmanagerdata.v19.PingResponse + (*v19.SleepResponse)(nil), // 53: vitess.tabletmanagerdata.v19.SleepResponse + (*v19.ExecuteHookResponse)(nil), // 54: vitess.tabletmanagerdata.v19.ExecuteHookResponse + (*v19.GetSchemaResponse)(nil), // 55: vitess.tabletmanagerdata.v19.GetSchemaResponse + (*v19.GetPermissionsResponse)(nil), // 56: vitess.tabletmanagerdata.v19.GetPermissionsResponse + (*v19.SetReadOnlyResponse)(nil), // 57: vitess.tabletmanagerdata.v19.SetReadOnlyResponse + (*v19.SetReadWriteResponse)(nil), // 58: vitess.tabletmanagerdata.v19.SetReadWriteResponse + (*v19.ChangeTypeResponse)(nil), // 59: vitess.tabletmanagerdata.v19.ChangeTypeResponse + (*v19.RefreshStateResponse)(nil), // 60: vitess.tabletmanagerdata.v19.RefreshStateResponse + (*v19.RunHealthCheckResponse)(nil), // 61: vitess.tabletmanagerdata.v19.RunHealthCheckResponse + (*v19.ReloadSchemaResponse)(nil), // 62: vitess.tabletmanagerdata.v19.ReloadSchemaResponse + (*v19.PreflightSchemaResponse)(nil), // 63: vitess.tabletmanagerdata.v19.PreflightSchemaResponse + (*v19.ApplySchemaResponse)(nil), // 64: vitess.tabletmanagerdata.v19.ApplySchemaResponse + (*v19.ResetSequencesResponse)(nil), // 65: vitess.tabletmanagerdata.v19.ResetSequencesResponse + (*v19.LockTablesResponse)(nil), // 66: vitess.tabletmanagerdata.v19.LockTablesResponse + (*v19.UnlockTablesResponse)(nil), // 67: vitess.tabletmanagerdata.v19.UnlockTablesResponse + (*v19.ExecuteQueryResponse)(nil), // 68: vitess.tabletmanagerdata.v19.ExecuteQueryResponse + (*v19.ExecuteFetchAsDbaResponse)(nil), // 69: vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaResponse + (*v19.ExecuteFetchAsAllPrivsResponse)(nil), // 70: vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsResponse + (*v19.ExecuteFetchAsAppResponse)(nil), // 71: vitess.tabletmanagerdata.v19.ExecuteFetchAsAppResponse + (*v19.ReplicationStatusResponse)(nil), // 72: vitess.tabletmanagerdata.v19.ReplicationStatusResponse + (*v19.PrimaryStatusResponse)(nil), // 73: vitess.tabletmanagerdata.v19.PrimaryStatusResponse + (*v19.PrimaryPositionResponse)(nil), // 74: vitess.tabletmanagerdata.v19.PrimaryPositionResponse + (*v19.WaitForPositionResponse)(nil), // 75: vitess.tabletmanagerdata.v19.WaitForPositionResponse + (*v19.StopReplicationResponse)(nil), // 76: vitess.tabletmanagerdata.v19.StopReplicationResponse + (*v19.StopReplicationMinimumResponse)(nil), // 77: vitess.tabletmanagerdata.v19.StopReplicationMinimumResponse + (*v19.StartReplicationResponse)(nil), // 78: vitess.tabletmanagerdata.v19.StartReplicationResponse + (*v19.StartReplicationUntilAfterResponse)(nil), // 79: vitess.tabletmanagerdata.v19.StartReplicationUntilAfterResponse + (*v19.GetReplicasResponse)(nil), // 80: vitess.tabletmanagerdata.v19.GetReplicasResponse + (*v19.CreateVReplicationWorkflowResponse)(nil), // 81: vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowResponse + (*v19.DeleteVReplicationWorkflowResponse)(nil), // 82: vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowResponse + (*v19.ReadVReplicationWorkflowResponse)(nil), // 83: vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse + (*v19.VReplicationExecResponse)(nil), // 84: vitess.tabletmanagerdata.v19.VReplicationExecResponse + (*v19.VReplicationWaitForPosResponse)(nil), // 85: vitess.tabletmanagerdata.v19.VReplicationWaitForPosResponse + (*v19.UpdateVReplicationWorkflowResponse)(nil), // 86: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowResponse + (*v19.VDiffResponse)(nil), // 87: vitess.tabletmanagerdata.v19.VDiffResponse + (*v19.ResetReplicationResponse)(nil), // 88: vitess.tabletmanagerdata.v19.ResetReplicationResponse + (*v19.InitPrimaryResponse)(nil), // 89: vitess.tabletmanagerdata.v19.InitPrimaryResponse + (*v19.PopulateReparentJournalResponse)(nil), // 90: vitess.tabletmanagerdata.v19.PopulateReparentJournalResponse + (*v19.InitReplicaResponse)(nil), // 91: vitess.tabletmanagerdata.v19.InitReplicaResponse + (*v19.DemotePrimaryResponse)(nil), // 92: vitess.tabletmanagerdata.v19.DemotePrimaryResponse + (*v19.UndoDemotePrimaryResponse)(nil), // 93: vitess.tabletmanagerdata.v19.UndoDemotePrimaryResponse + (*v19.ReplicaWasPromotedResponse)(nil), // 94: vitess.tabletmanagerdata.v19.ReplicaWasPromotedResponse + (*v19.ResetReplicationParametersResponse)(nil), // 95: vitess.tabletmanagerdata.v19.ResetReplicationParametersResponse + (*v19.FullStatusResponse)(nil), // 96: vitess.tabletmanagerdata.v19.FullStatusResponse + (*v19.SetReplicationSourceResponse)(nil), // 97: vitess.tabletmanagerdata.v19.SetReplicationSourceResponse + (*v19.ReplicaWasRestartedResponse)(nil), // 98: vitess.tabletmanagerdata.v19.ReplicaWasRestartedResponse + (*v19.StopReplicationAndGetStatusResponse)(nil), // 99: vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusResponse + (*v19.PromoteReplicaResponse)(nil), // 100: vitess.tabletmanagerdata.v19.PromoteReplicaResponse + (*v19.BackupResponse)(nil), // 101: vitess.tabletmanagerdata.v19.BackupResponse + (*v19.RestoreFromBackupResponse)(nil), // 102: vitess.tabletmanagerdata.v19.RestoreFromBackupResponse + (*v19.CheckThrottlerResponse)(nil), // 103: vitess.tabletmanagerdata.v19.CheckThrottlerResponse +} +var file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_depIdxs = []int32{ + 0, // 0: vitess.tabletmanagerservice.v19.TabletManager.Ping:input_type -> vitess.tabletmanagerdata.v19.PingRequest + 1, // 1: vitess.tabletmanagerservice.v19.TabletManager.Sleep:input_type -> vitess.tabletmanagerdata.v19.SleepRequest + 2, // 2: vitess.tabletmanagerservice.v19.TabletManager.ExecuteHook:input_type -> vitess.tabletmanagerdata.v19.ExecuteHookRequest + 3, // 3: vitess.tabletmanagerservice.v19.TabletManager.GetSchema:input_type -> vitess.tabletmanagerdata.v19.GetSchemaRequest + 4, // 4: vitess.tabletmanagerservice.v19.TabletManager.GetPermissions:input_type -> vitess.tabletmanagerdata.v19.GetPermissionsRequest + 5, // 5: vitess.tabletmanagerservice.v19.TabletManager.SetReadOnly:input_type -> vitess.tabletmanagerdata.v19.SetReadOnlyRequest + 6, // 6: vitess.tabletmanagerservice.v19.TabletManager.SetReadWrite:input_type -> vitess.tabletmanagerdata.v19.SetReadWriteRequest + 7, // 7: vitess.tabletmanagerservice.v19.TabletManager.ChangeType:input_type -> vitess.tabletmanagerdata.v19.ChangeTypeRequest + 8, // 8: vitess.tabletmanagerservice.v19.TabletManager.RefreshState:input_type -> vitess.tabletmanagerdata.v19.RefreshStateRequest + 9, // 9: vitess.tabletmanagerservice.v19.TabletManager.RunHealthCheck:input_type -> vitess.tabletmanagerdata.v19.RunHealthCheckRequest + 10, // 10: vitess.tabletmanagerservice.v19.TabletManager.ReloadSchema:input_type -> vitess.tabletmanagerdata.v19.ReloadSchemaRequest + 11, // 11: vitess.tabletmanagerservice.v19.TabletManager.PreflightSchema:input_type -> vitess.tabletmanagerdata.v19.PreflightSchemaRequest + 12, // 12: vitess.tabletmanagerservice.v19.TabletManager.ApplySchema:input_type -> vitess.tabletmanagerdata.v19.ApplySchemaRequest + 13, // 13: vitess.tabletmanagerservice.v19.TabletManager.ResetSequences:input_type -> vitess.tabletmanagerdata.v19.ResetSequencesRequest + 14, // 14: vitess.tabletmanagerservice.v19.TabletManager.LockTables:input_type -> vitess.tabletmanagerdata.v19.LockTablesRequest + 15, // 15: vitess.tabletmanagerservice.v19.TabletManager.UnlockTables:input_type -> vitess.tabletmanagerdata.v19.UnlockTablesRequest + 16, // 16: vitess.tabletmanagerservice.v19.TabletManager.ExecuteQuery:input_type -> vitess.tabletmanagerdata.v19.ExecuteQueryRequest + 17, // 17: vitess.tabletmanagerservice.v19.TabletManager.ExecuteFetchAsDba:input_type -> vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaRequest + 18, // 18: vitess.tabletmanagerservice.v19.TabletManager.ExecuteFetchAsAllPrivs:input_type -> vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsRequest + 19, // 19: vitess.tabletmanagerservice.v19.TabletManager.ExecuteFetchAsApp:input_type -> vitess.tabletmanagerdata.v19.ExecuteFetchAsAppRequest + 20, // 20: vitess.tabletmanagerservice.v19.TabletManager.ReplicationStatus:input_type -> vitess.tabletmanagerdata.v19.ReplicationStatusRequest + 21, // 21: vitess.tabletmanagerservice.v19.TabletManager.PrimaryStatus:input_type -> vitess.tabletmanagerdata.v19.PrimaryStatusRequest + 22, // 22: vitess.tabletmanagerservice.v19.TabletManager.PrimaryPosition:input_type -> vitess.tabletmanagerdata.v19.PrimaryPositionRequest + 23, // 23: vitess.tabletmanagerservice.v19.TabletManager.WaitForPosition:input_type -> vitess.tabletmanagerdata.v19.WaitForPositionRequest + 24, // 24: vitess.tabletmanagerservice.v19.TabletManager.StopReplication:input_type -> vitess.tabletmanagerdata.v19.StopReplicationRequest + 25, // 25: vitess.tabletmanagerservice.v19.TabletManager.StopReplicationMinimum:input_type -> vitess.tabletmanagerdata.v19.StopReplicationMinimumRequest + 26, // 26: vitess.tabletmanagerservice.v19.TabletManager.StartReplication:input_type -> vitess.tabletmanagerdata.v19.StartReplicationRequest + 27, // 27: vitess.tabletmanagerservice.v19.TabletManager.StartReplicationUntilAfter:input_type -> vitess.tabletmanagerdata.v19.StartReplicationUntilAfterRequest + 28, // 28: vitess.tabletmanagerservice.v19.TabletManager.GetReplicas:input_type -> vitess.tabletmanagerdata.v19.GetReplicasRequest + 29, // 29: vitess.tabletmanagerservice.v19.TabletManager.CreateVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest + 30, // 30: vitess.tabletmanagerservice.v19.TabletManager.DeleteVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowRequest + 31, // 31: vitess.tabletmanagerservice.v19.TabletManager.ReadVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowRequest + 32, // 32: vitess.tabletmanagerservice.v19.TabletManager.VReplicationExec:input_type -> vitess.tabletmanagerdata.v19.VReplicationExecRequest + 33, // 33: vitess.tabletmanagerservice.v19.TabletManager.VReplicationWaitForPos:input_type -> vitess.tabletmanagerdata.v19.VReplicationWaitForPosRequest + 34, // 34: vitess.tabletmanagerservice.v19.TabletManager.UpdateVReplicationWorkflow:input_type -> vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest + 35, // 35: vitess.tabletmanagerservice.v19.TabletManager.VDiff:input_type -> vitess.tabletmanagerdata.v19.VDiffRequest + 36, // 36: vitess.tabletmanagerservice.v19.TabletManager.ResetReplication:input_type -> vitess.tabletmanagerdata.v19.ResetReplicationRequest + 37, // 37: vitess.tabletmanagerservice.v19.TabletManager.InitPrimary:input_type -> vitess.tabletmanagerdata.v19.InitPrimaryRequest + 38, // 38: vitess.tabletmanagerservice.v19.TabletManager.PopulateReparentJournal:input_type -> vitess.tabletmanagerdata.v19.PopulateReparentJournalRequest + 39, // 39: vitess.tabletmanagerservice.v19.TabletManager.InitReplica:input_type -> vitess.tabletmanagerdata.v19.InitReplicaRequest + 40, // 40: vitess.tabletmanagerservice.v19.TabletManager.DemotePrimary:input_type -> vitess.tabletmanagerdata.v19.DemotePrimaryRequest + 41, // 41: vitess.tabletmanagerservice.v19.TabletManager.UndoDemotePrimary:input_type -> vitess.tabletmanagerdata.v19.UndoDemotePrimaryRequest + 42, // 42: vitess.tabletmanagerservice.v19.TabletManager.ReplicaWasPromoted:input_type -> vitess.tabletmanagerdata.v19.ReplicaWasPromotedRequest + 43, // 43: vitess.tabletmanagerservice.v19.TabletManager.ResetReplicationParameters:input_type -> vitess.tabletmanagerdata.v19.ResetReplicationParametersRequest + 44, // 44: vitess.tabletmanagerservice.v19.TabletManager.FullStatus:input_type -> vitess.tabletmanagerdata.v19.FullStatusRequest + 45, // 45: vitess.tabletmanagerservice.v19.TabletManager.SetReplicationSource:input_type -> vitess.tabletmanagerdata.v19.SetReplicationSourceRequest + 46, // 46: vitess.tabletmanagerservice.v19.TabletManager.ReplicaWasRestarted:input_type -> vitess.tabletmanagerdata.v19.ReplicaWasRestartedRequest + 47, // 47: vitess.tabletmanagerservice.v19.TabletManager.StopReplicationAndGetStatus:input_type -> vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusRequest + 48, // 48: vitess.tabletmanagerservice.v19.TabletManager.PromoteReplica:input_type -> vitess.tabletmanagerdata.v19.PromoteReplicaRequest + 49, // 49: vitess.tabletmanagerservice.v19.TabletManager.Backup:input_type -> vitess.tabletmanagerdata.v19.BackupRequest + 50, // 50: vitess.tabletmanagerservice.v19.TabletManager.RestoreFromBackup:input_type -> vitess.tabletmanagerdata.v19.RestoreFromBackupRequest + 51, // 51: vitess.tabletmanagerservice.v19.TabletManager.CheckThrottler:input_type -> vitess.tabletmanagerdata.v19.CheckThrottlerRequest + 52, // 52: vitess.tabletmanagerservice.v19.TabletManager.Ping:output_type -> vitess.tabletmanagerdata.v19.PingResponse + 53, // 53: vitess.tabletmanagerservice.v19.TabletManager.Sleep:output_type -> vitess.tabletmanagerdata.v19.SleepResponse + 54, // 54: vitess.tabletmanagerservice.v19.TabletManager.ExecuteHook:output_type -> vitess.tabletmanagerdata.v19.ExecuteHookResponse + 55, // 55: vitess.tabletmanagerservice.v19.TabletManager.GetSchema:output_type -> vitess.tabletmanagerdata.v19.GetSchemaResponse + 56, // 56: vitess.tabletmanagerservice.v19.TabletManager.GetPermissions:output_type -> vitess.tabletmanagerdata.v19.GetPermissionsResponse + 57, // 57: vitess.tabletmanagerservice.v19.TabletManager.SetReadOnly:output_type -> vitess.tabletmanagerdata.v19.SetReadOnlyResponse + 58, // 58: vitess.tabletmanagerservice.v19.TabletManager.SetReadWrite:output_type -> vitess.tabletmanagerdata.v19.SetReadWriteResponse + 59, // 59: vitess.tabletmanagerservice.v19.TabletManager.ChangeType:output_type -> vitess.tabletmanagerdata.v19.ChangeTypeResponse + 60, // 60: vitess.tabletmanagerservice.v19.TabletManager.RefreshState:output_type -> vitess.tabletmanagerdata.v19.RefreshStateResponse + 61, // 61: vitess.tabletmanagerservice.v19.TabletManager.RunHealthCheck:output_type -> vitess.tabletmanagerdata.v19.RunHealthCheckResponse + 62, // 62: vitess.tabletmanagerservice.v19.TabletManager.ReloadSchema:output_type -> vitess.tabletmanagerdata.v19.ReloadSchemaResponse + 63, // 63: vitess.tabletmanagerservice.v19.TabletManager.PreflightSchema:output_type -> vitess.tabletmanagerdata.v19.PreflightSchemaResponse + 64, // 64: vitess.tabletmanagerservice.v19.TabletManager.ApplySchema:output_type -> vitess.tabletmanagerdata.v19.ApplySchemaResponse + 65, // 65: vitess.tabletmanagerservice.v19.TabletManager.ResetSequences:output_type -> vitess.tabletmanagerdata.v19.ResetSequencesResponse + 66, // 66: vitess.tabletmanagerservice.v19.TabletManager.LockTables:output_type -> vitess.tabletmanagerdata.v19.LockTablesResponse + 67, // 67: vitess.tabletmanagerservice.v19.TabletManager.UnlockTables:output_type -> vitess.tabletmanagerdata.v19.UnlockTablesResponse + 68, // 68: vitess.tabletmanagerservice.v19.TabletManager.ExecuteQuery:output_type -> vitess.tabletmanagerdata.v19.ExecuteQueryResponse + 69, // 69: vitess.tabletmanagerservice.v19.TabletManager.ExecuteFetchAsDba:output_type -> vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaResponse + 70, // 70: vitess.tabletmanagerservice.v19.TabletManager.ExecuteFetchAsAllPrivs:output_type -> vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsResponse + 71, // 71: vitess.tabletmanagerservice.v19.TabletManager.ExecuteFetchAsApp:output_type -> vitess.tabletmanagerdata.v19.ExecuteFetchAsAppResponse + 72, // 72: vitess.tabletmanagerservice.v19.TabletManager.ReplicationStatus:output_type -> vitess.tabletmanagerdata.v19.ReplicationStatusResponse + 73, // 73: vitess.tabletmanagerservice.v19.TabletManager.PrimaryStatus:output_type -> vitess.tabletmanagerdata.v19.PrimaryStatusResponse + 74, // 74: vitess.tabletmanagerservice.v19.TabletManager.PrimaryPosition:output_type -> vitess.tabletmanagerdata.v19.PrimaryPositionResponse + 75, // 75: vitess.tabletmanagerservice.v19.TabletManager.WaitForPosition:output_type -> vitess.tabletmanagerdata.v19.WaitForPositionResponse + 76, // 76: vitess.tabletmanagerservice.v19.TabletManager.StopReplication:output_type -> vitess.tabletmanagerdata.v19.StopReplicationResponse + 77, // 77: vitess.tabletmanagerservice.v19.TabletManager.StopReplicationMinimum:output_type -> vitess.tabletmanagerdata.v19.StopReplicationMinimumResponse + 78, // 78: vitess.tabletmanagerservice.v19.TabletManager.StartReplication:output_type -> vitess.tabletmanagerdata.v19.StartReplicationResponse + 79, // 79: vitess.tabletmanagerservice.v19.TabletManager.StartReplicationUntilAfter:output_type -> vitess.tabletmanagerdata.v19.StartReplicationUntilAfterResponse + 80, // 80: vitess.tabletmanagerservice.v19.TabletManager.GetReplicas:output_type -> vitess.tabletmanagerdata.v19.GetReplicasResponse + 81, // 81: vitess.tabletmanagerservice.v19.TabletManager.CreateVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowResponse + 82, // 82: vitess.tabletmanagerservice.v19.TabletManager.DeleteVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowResponse + 83, // 83: vitess.tabletmanagerservice.v19.TabletManager.ReadVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse + 84, // 84: vitess.tabletmanagerservice.v19.TabletManager.VReplicationExec:output_type -> vitess.tabletmanagerdata.v19.VReplicationExecResponse + 85, // 85: vitess.tabletmanagerservice.v19.TabletManager.VReplicationWaitForPos:output_type -> vitess.tabletmanagerdata.v19.VReplicationWaitForPosResponse + 86, // 86: vitess.tabletmanagerservice.v19.TabletManager.UpdateVReplicationWorkflow:output_type -> vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowResponse + 87, // 87: vitess.tabletmanagerservice.v19.TabletManager.VDiff:output_type -> vitess.tabletmanagerdata.v19.VDiffResponse + 88, // 88: vitess.tabletmanagerservice.v19.TabletManager.ResetReplication:output_type -> vitess.tabletmanagerdata.v19.ResetReplicationResponse + 89, // 89: vitess.tabletmanagerservice.v19.TabletManager.InitPrimary:output_type -> vitess.tabletmanagerdata.v19.InitPrimaryResponse + 90, // 90: vitess.tabletmanagerservice.v19.TabletManager.PopulateReparentJournal:output_type -> vitess.tabletmanagerdata.v19.PopulateReparentJournalResponse + 91, // 91: vitess.tabletmanagerservice.v19.TabletManager.InitReplica:output_type -> vitess.tabletmanagerdata.v19.InitReplicaResponse + 92, // 92: vitess.tabletmanagerservice.v19.TabletManager.DemotePrimary:output_type -> vitess.tabletmanagerdata.v19.DemotePrimaryResponse + 93, // 93: vitess.tabletmanagerservice.v19.TabletManager.UndoDemotePrimary:output_type -> vitess.tabletmanagerdata.v19.UndoDemotePrimaryResponse + 94, // 94: vitess.tabletmanagerservice.v19.TabletManager.ReplicaWasPromoted:output_type -> vitess.tabletmanagerdata.v19.ReplicaWasPromotedResponse + 95, // 95: vitess.tabletmanagerservice.v19.TabletManager.ResetReplicationParameters:output_type -> vitess.tabletmanagerdata.v19.ResetReplicationParametersResponse + 96, // 96: vitess.tabletmanagerservice.v19.TabletManager.FullStatus:output_type -> vitess.tabletmanagerdata.v19.FullStatusResponse + 97, // 97: vitess.tabletmanagerservice.v19.TabletManager.SetReplicationSource:output_type -> vitess.tabletmanagerdata.v19.SetReplicationSourceResponse + 98, // 98: vitess.tabletmanagerservice.v19.TabletManager.ReplicaWasRestarted:output_type -> vitess.tabletmanagerdata.v19.ReplicaWasRestartedResponse + 99, // 99: vitess.tabletmanagerservice.v19.TabletManager.StopReplicationAndGetStatus:output_type -> vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusResponse + 100, // 100: vitess.tabletmanagerservice.v19.TabletManager.PromoteReplica:output_type -> vitess.tabletmanagerdata.v19.PromoteReplicaResponse + 101, // 101: vitess.tabletmanagerservice.v19.TabletManager.Backup:output_type -> vitess.tabletmanagerdata.v19.BackupResponse + 102, // 102: vitess.tabletmanagerservice.v19.TabletManager.RestoreFromBackup:output_type -> vitess.tabletmanagerdata.v19.RestoreFromBackupResponse + 103, // 103: vitess.tabletmanagerservice.v19.TabletManager.CheckThrottler:output_type -> vitess.tabletmanagerdata.v19.CheckThrottlerResponse + 52, // [52:104] is the sub-list for method output_type + 0, // [0:52] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_init() } +func file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_init() { + if File_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_goTypes, + DependencyIndexes: file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_depIdxs, + }.Build() + File_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto = out.File + file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_rawDesc = nil + file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_goTypes = nil + file_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto_depIdxs = nil +} diff --git a/gen/vitess/tabletmanagerservice/v19/tabletmanagerservicev19connect/tabletmanagerservice.connect.go b/gen/vitess/tabletmanagerservice/v19/tabletmanagerservicev19connect/tabletmanagerservice.connect.go new file mode 100644 index 0000000..089cd2e --- /dev/null +++ b/gen/vitess/tabletmanagerservice/v19/tabletmanagerservicev19connect/tabletmanagerservice.connect.go @@ -0,0 +1,1740 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// This file contains the service definition for making management API +// calls to VtTablet. + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/tabletmanagerservice/v19/tabletmanagerservice.proto + +package tabletmanagerservicev19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v191 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // TabletManagerName is the fully-qualified name of the TabletManager service. + TabletManagerName = "tabletmanagerservice.TabletManager" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // TabletManagerPingProcedure is the fully-qualified name of the TabletManager's Ping RPC. + TabletManagerPingProcedure = "/tabletmanagerservice.TabletManager/Ping" + // TabletManagerSleepProcedure is the fully-qualified name of the TabletManager's Sleep RPC. + TabletManagerSleepProcedure = "/tabletmanagerservice.TabletManager/Sleep" + // TabletManagerExecuteHookProcedure is the fully-qualified name of the TabletManager's ExecuteHook + // RPC. + TabletManagerExecuteHookProcedure = "/tabletmanagerservice.TabletManager/ExecuteHook" + // TabletManagerGetSchemaProcedure is the fully-qualified name of the TabletManager's GetSchema RPC. + TabletManagerGetSchemaProcedure = "/tabletmanagerservice.TabletManager/GetSchema" + // TabletManagerGetPermissionsProcedure is the fully-qualified name of the TabletManager's + // GetPermissions RPC. + TabletManagerGetPermissionsProcedure = "/tabletmanagerservice.TabletManager/GetPermissions" + // TabletManagerSetReadOnlyProcedure is the fully-qualified name of the TabletManager's SetReadOnly + // RPC. + TabletManagerSetReadOnlyProcedure = "/tabletmanagerservice.TabletManager/SetReadOnly" + // TabletManagerSetReadWriteProcedure is the fully-qualified name of the TabletManager's + // SetReadWrite RPC. + TabletManagerSetReadWriteProcedure = "/tabletmanagerservice.TabletManager/SetReadWrite" + // TabletManagerChangeTypeProcedure is the fully-qualified name of the TabletManager's ChangeType + // RPC. + TabletManagerChangeTypeProcedure = "/tabletmanagerservice.TabletManager/ChangeType" + // TabletManagerRefreshStateProcedure is the fully-qualified name of the TabletManager's + // RefreshState RPC. + TabletManagerRefreshStateProcedure = "/tabletmanagerservice.TabletManager/RefreshState" + // TabletManagerRunHealthCheckProcedure is the fully-qualified name of the TabletManager's + // RunHealthCheck RPC. + TabletManagerRunHealthCheckProcedure = "/tabletmanagerservice.TabletManager/RunHealthCheck" + // TabletManagerReloadSchemaProcedure is the fully-qualified name of the TabletManager's + // ReloadSchema RPC. + TabletManagerReloadSchemaProcedure = "/tabletmanagerservice.TabletManager/ReloadSchema" + // TabletManagerPreflightSchemaProcedure is the fully-qualified name of the TabletManager's + // PreflightSchema RPC. + TabletManagerPreflightSchemaProcedure = "/tabletmanagerservice.TabletManager/PreflightSchema" + // TabletManagerApplySchemaProcedure is the fully-qualified name of the TabletManager's ApplySchema + // RPC. + TabletManagerApplySchemaProcedure = "/tabletmanagerservice.TabletManager/ApplySchema" + // TabletManagerResetSequencesProcedure is the fully-qualified name of the TabletManager's + // ResetSequences RPC. + TabletManagerResetSequencesProcedure = "/tabletmanagerservice.TabletManager/ResetSequences" + // TabletManagerLockTablesProcedure is the fully-qualified name of the TabletManager's LockTables + // RPC. + TabletManagerLockTablesProcedure = "/tabletmanagerservice.TabletManager/LockTables" + // TabletManagerUnlockTablesProcedure is the fully-qualified name of the TabletManager's + // UnlockTables RPC. + TabletManagerUnlockTablesProcedure = "/tabletmanagerservice.TabletManager/UnlockTables" + // TabletManagerExecuteQueryProcedure is the fully-qualified name of the TabletManager's + // ExecuteQuery RPC. + TabletManagerExecuteQueryProcedure = "/tabletmanagerservice.TabletManager/ExecuteQuery" + // TabletManagerExecuteFetchAsDbaProcedure is the fully-qualified name of the TabletManager's + // ExecuteFetchAsDba RPC. + TabletManagerExecuteFetchAsDbaProcedure = "/tabletmanagerservice.TabletManager/ExecuteFetchAsDba" + // TabletManagerExecuteFetchAsAllPrivsProcedure is the fully-qualified name of the TabletManager's + // ExecuteFetchAsAllPrivs RPC. + TabletManagerExecuteFetchAsAllPrivsProcedure = "/tabletmanagerservice.TabletManager/ExecuteFetchAsAllPrivs" + // TabletManagerExecuteFetchAsAppProcedure is the fully-qualified name of the TabletManager's + // ExecuteFetchAsApp RPC. + TabletManagerExecuteFetchAsAppProcedure = "/tabletmanagerservice.TabletManager/ExecuteFetchAsApp" + // TabletManagerReplicationStatusProcedure is the fully-qualified name of the TabletManager's + // ReplicationStatus RPC. + TabletManagerReplicationStatusProcedure = "/tabletmanagerservice.TabletManager/ReplicationStatus" + // TabletManagerPrimaryStatusProcedure is the fully-qualified name of the TabletManager's + // PrimaryStatus RPC. + TabletManagerPrimaryStatusProcedure = "/tabletmanagerservice.TabletManager/PrimaryStatus" + // TabletManagerPrimaryPositionProcedure is the fully-qualified name of the TabletManager's + // PrimaryPosition RPC. + TabletManagerPrimaryPositionProcedure = "/tabletmanagerservice.TabletManager/PrimaryPosition" + // TabletManagerWaitForPositionProcedure is the fully-qualified name of the TabletManager's + // WaitForPosition RPC. + TabletManagerWaitForPositionProcedure = "/tabletmanagerservice.TabletManager/WaitForPosition" + // TabletManagerStopReplicationProcedure is the fully-qualified name of the TabletManager's + // StopReplication RPC. + TabletManagerStopReplicationProcedure = "/tabletmanagerservice.TabletManager/StopReplication" + // TabletManagerStopReplicationMinimumProcedure is the fully-qualified name of the TabletManager's + // StopReplicationMinimum RPC. + TabletManagerStopReplicationMinimumProcedure = "/tabletmanagerservice.TabletManager/StopReplicationMinimum" + // TabletManagerStartReplicationProcedure is the fully-qualified name of the TabletManager's + // StartReplication RPC. + TabletManagerStartReplicationProcedure = "/tabletmanagerservice.TabletManager/StartReplication" + // TabletManagerStartReplicationUntilAfterProcedure is the fully-qualified name of the + // TabletManager's StartReplicationUntilAfter RPC. + TabletManagerStartReplicationUntilAfterProcedure = "/tabletmanagerservice.TabletManager/StartReplicationUntilAfter" + // TabletManagerGetReplicasProcedure is the fully-qualified name of the TabletManager's GetReplicas + // RPC. + TabletManagerGetReplicasProcedure = "/tabletmanagerservice.TabletManager/GetReplicas" + // TabletManagerCreateVReplicationWorkflowProcedure is the fully-qualified name of the + // TabletManager's CreateVReplicationWorkflow RPC. + TabletManagerCreateVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/CreateVReplicationWorkflow" + // TabletManagerDeleteVReplicationWorkflowProcedure is the fully-qualified name of the + // TabletManager's DeleteVReplicationWorkflow RPC. + TabletManagerDeleteVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/DeleteVReplicationWorkflow" + // TabletManagerReadVReplicationWorkflowProcedure is the fully-qualified name of the TabletManager's + // ReadVReplicationWorkflow RPC. + TabletManagerReadVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/ReadVReplicationWorkflow" + // TabletManagerVReplicationExecProcedure is the fully-qualified name of the TabletManager's + // VReplicationExec RPC. + TabletManagerVReplicationExecProcedure = "/tabletmanagerservice.TabletManager/VReplicationExec" + // TabletManagerVReplicationWaitForPosProcedure is the fully-qualified name of the TabletManager's + // VReplicationWaitForPos RPC. + TabletManagerVReplicationWaitForPosProcedure = "/tabletmanagerservice.TabletManager/VReplicationWaitForPos" + // TabletManagerUpdateVReplicationWorkflowProcedure is the fully-qualified name of the + // TabletManager's UpdateVReplicationWorkflow RPC. + TabletManagerUpdateVReplicationWorkflowProcedure = "/tabletmanagerservice.TabletManager/UpdateVReplicationWorkflow" + // TabletManagerVDiffProcedure is the fully-qualified name of the TabletManager's VDiff RPC. + TabletManagerVDiffProcedure = "/tabletmanagerservice.TabletManager/VDiff" + // TabletManagerResetReplicationProcedure is the fully-qualified name of the TabletManager's + // ResetReplication RPC. + TabletManagerResetReplicationProcedure = "/tabletmanagerservice.TabletManager/ResetReplication" + // TabletManagerInitPrimaryProcedure is the fully-qualified name of the TabletManager's InitPrimary + // RPC. + TabletManagerInitPrimaryProcedure = "/tabletmanagerservice.TabletManager/InitPrimary" + // TabletManagerPopulateReparentJournalProcedure is the fully-qualified name of the TabletManager's + // PopulateReparentJournal RPC. + TabletManagerPopulateReparentJournalProcedure = "/tabletmanagerservice.TabletManager/PopulateReparentJournal" + // TabletManagerInitReplicaProcedure is the fully-qualified name of the TabletManager's InitReplica + // RPC. + TabletManagerInitReplicaProcedure = "/tabletmanagerservice.TabletManager/InitReplica" + // TabletManagerDemotePrimaryProcedure is the fully-qualified name of the TabletManager's + // DemotePrimary RPC. + TabletManagerDemotePrimaryProcedure = "/tabletmanagerservice.TabletManager/DemotePrimary" + // TabletManagerUndoDemotePrimaryProcedure is the fully-qualified name of the TabletManager's + // UndoDemotePrimary RPC. + TabletManagerUndoDemotePrimaryProcedure = "/tabletmanagerservice.TabletManager/UndoDemotePrimary" + // TabletManagerReplicaWasPromotedProcedure is the fully-qualified name of the TabletManager's + // ReplicaWasPromoted RPC. + TabletManagerReplicaWasPromotedProcedure = "/tabletmanagerservice.TabletManager/ReplicaWasPromoted" + // TabletManagerResetReplicationParametersProcedure is the fully-qualified name of the + // TabletManager's ResetReplicationParameters RPC. + TabletManagerResetReplicationParametersProcedure = "/tabletmanagerservice.TabletManager/ResetReplicationParameters" + // TabletManagerFullStatusProcedure is the fully-qualified name of the TabletManager's FullStatus + // RPC. + TabletManagerFullStatusProcedure = "/tabletmanagerservice.TabletManager/FullStatus" + // TabletManagerSetReplicationSourceProcedure is the fully-qualified name of the TabletManager's + // SetReplicationSource RPC. + TabletManagerSetReplicationSourceProcedure = "/tabletmanagerservice.TabletManager/SetReplicationSource" + // TabletManagerReplicaWasRestartedProcedure is the fully-qualified name of the TabletManager's + // ReplicaWasRestarted RPC. + TabletManagerReplicaWasRestartedProcedure = "/tabletmanagerservice.TabletManager/ReplicaWasRestarted" + // TabletManagerStopReplicationAndGetStatusProcedure is the fully-qualified name of the + // TabletManager's StopReplicationAndGetStatus RPC. + TabletManagerStopReplicationAndGetStatusProcedure = "/tabletmanagerservice.TabletManager/StopReplicationAndGetStatus" + // TabletManagerPromoteReplicaProcedure is the fully-qualified name of the TabletManager's + // PromoteReplica RPC. + TabletManagerPromoteReplicaProcedure = "/tabletmanagerservice.TabletManager/PromoteReplica" + // TabletManagerBackupProcedure is the fully-qualified name of the TabletManager's Backup RPC. + TabletManagerBackupProcedure = "/tabletmanagerservice.TabletManager/Backup" + // TabletManagerRestoreFromBackupProcedure is the fully-qualified name of the TabletManager's + // RestoreFromBackup RPC. + TabletManagerRestoreFromBackupProcedure = "/tabletmanagerservice.TabletManager/RestoreFromBackup" + // TabletManagerCheckThrottlerProcedure is the fully-qualified name of the TabletManager's + // CheckThrottler RPC. + TabletManagerCheckThrottlerProcedure = "/tabletmanagerservice.TabletManager/CheckThrottler" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + tabletManagerServiceDescriptor = v19.File_vitess_tabletmanagerservice_v19_tabletmanagerservice_proto.Services().ByName("TabletManager") + tabletManagerPingMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Ping") + tabletManagerSleepMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Sleep") + tabletManagerExecuteHookMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteHook") + tabletManagerGetSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetSchema") + tabletManagerGetPermissionsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetPermissions") + tabletManagerSetReadOnlyMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadOnly") + tabletManagerSetReadWriteMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReadWrite") + tabletManagerChangeTypeMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ChangeType") + tabletManagerRefreshStateMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RefreshState") + tabletManagerRunHealthCheckMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RunHealthCheck") + tabletManagerReloadSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReloadSchema") + tabletManagerPreflightSchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PreflightSchema") + tabletManagerApplySchemaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ApplySchema") + tabletManagerResetSequencesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetSequences") + tabletManagerLockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("LockTables") + tabletManagerUnlockTablesMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UnlockTables") + tabletManagerExecuteQueryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteQuery") + tabletManagerExecuteFetchAsDbaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsDba") + tabletManagerExecuteFetchAsAllPrivsMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsAllPrivs") + tabletManagerExecuteFetchAsAppMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + tabletManagerReplicationStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicationStatus") + tabletManagerPrimaryStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryStatus") + tabletManagerPrimaryPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PrimaryPosition") + tabletManagerWaitForPositionMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("WaitForPosition") + tabletManagerStopReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplication") + tabletManagerStopReplicationMinimumMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationMinimum") + tabletManagerStartReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplication") + tabletManagerStartReplicationUntilAfterMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StartReplicationUntilAfter") + tabletManagerGetReplicasMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("GetReplicas") + tabletManagerCreateVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("CreateVReplicationWorkflow") + tabletManagerDeleteVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DeleteVReplicationWorkflow") + tabletManagerReadVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReadVReplicationWorkflow") + tabletManagerVReplicationExecMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationExec") + tabletManagerVReplicationWaitForPosMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VReplicationWaitForPos") + tabletManagerUpdateVReplicationWorkflowMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UpdateVReplicationWorkflow") + tabletManagerVDiffMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("VDiff") + tabletManagerResetReplicationMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplication") + tabletManagerInitPrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitPrimary") + tabletManagerPopulateReparentJournalMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PopulateReparentJournal") + tabletManagerInitReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("InitReplica") + tabletManagerDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("DemotePrimary") + tabletManagerUndoDemotePrimaryMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("UndoDemotePrimary") + tabletManagerReplicaWasPromotedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasPromoted") + tabletManagerResetReplicationParametersMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ResetReplicationParameters") + tabletManagerFullStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("FullStatus") + tabletManagerSetReplicationSourceMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("SetReplicationSource") + tabletManagerReplicaWasRestartedMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("ReplicaWasRestarted") + tabletManagerStopReplicationAndGetStatusMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("StopReplicationAndGetStatus") + tabletManagerPromoteReplicaMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("PromoteReplica") + tabletManagerBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("Backup") + tabletManagerRestoreFromBackupMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("RestoreFromBackup") + tabletManagerCheckThrottlerMethodDescriptor = tabletManagerServiceDescriptor.Methods().ByName("CheckThrottler") +) + +// TabletManagerClient is a client for the tabletmanagerservice.TabletManager service. +type TabletManagerClient interface { + // Ping returns the input payload + Ping(context.Context, *connect.Request[v191.PingRequest]) (*connect.Response[v191.PingResponse], error) + // Sleep sleeps for the provided duration + Sleep(context.Context, *connect.Request[v191.SleepRequest]) (*connect.Response[v191.SleepResponse], error) + // ExecuteHook executes the hook remotely + ExecuteHook(context.Context, *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) + // GetSchema asks the tablet for its schema + GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) + // GetPermissions asks the tablet for its permissions + GetPermissions(context.Context, *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v191.SetReadOnlyRequest]) (*connect.Response[v191.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v191.SetReadWriteRequest]) (*connect.Response[v191.SetReadWriteResponse], error) + // ChangeType asks the remote tablet to change its type + ChangeType(context.Context, *connect.Request[v191.ChangeTypeRequest]) (*connect.Response[v191.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v191.PreflightSchemaRequest]) (*connect.Response[v191.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) + ResetSequences(context.Context, *connect.Request[v191.ResetSequencesRequest]) (*connect.Response[v191.ResetSequencesResponse], error) + LockTables(context.Context, *connect.Request[v191.LockTablesRequest]) (*connect.Response[v191.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v191.UnlockTablesRequest]) (*connect.Response[v191.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v191.ExecuteQueryRequest]) (*connect.Response[v191.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v191.ExecuteFetchAsDbaRequest]) (*connect.Response[v191.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v191.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v191.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) + // ReplicationStatus returns the current replication status. + ReplicationStatus(context.Context, *connect.Request[v191.ReplicationStatusRequest]) (*connect.Response[v191.ReplicationStatusResponse], error) + // PrimaryStatus returns the current primary status. + PrimaryStatus(context.Context, *connect.Request[v191.PrimaryStatusRequest]) (*connect.Response[v191.PrimaryStatusResponse], error) + // PrimaryPosition returns the current primary position + PrimaryPosition(context.Context, *connect.Request[v191.PrimaryPositionRequest]) (*connect.Response[v191.PrimaryPositionResponse], error) + // WaitForPosition waits for the position to be reached + WaitForPosition(context.Context, *connect.Request[v191.WaitForPositionRequest]) (*connect.Response[v191.WaitForPositionResponse], error) + // StopReplication makes mysql stop its replication + StopReplication(context.Context, *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) + // StopReplicationMinimum stops the mysql replication after it reaches + // the provided minimum point + StopReplicationMinimum(context.Context, *connect.Request[v191.StopReplicationMinimumRequest]) (*connect.Response[v191.StopReplicationMinimumResponse], error) + // StartReplication starts the mysql replication + StartReplication(context.Context, *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) + // StartReplicationUnitAfter starts the mysql replication until and including + // the provided position + StartReplicationUntilAfter(context.Context, *connect.Request[v191.StartReplicationUntilAfterRequest]) (*connect.Response[v191.StartReplicationUntilAfterResponse], error) + // GetReplicas asks for the list of mysql replicas + GetReplicas(context.Context, *connect.Request[v191.GetReplicasRequest]) (*connect.Response[v191.GetReplicasResponse], error) + // VReplication API + CreateVReplicationWorkflow(context.Context, *connect.Request[v191.CreateVReplicationWorkflowRequest]) (*connect.Response[v191.CreateVReplicationWorkflowResponse], error) + DeleteVReplicationWorkflow(context.Context, *connect.Request[v191.DeleteVReplicationWorkflowRequest]) (*connect.Response[v191.DeleteVReplicationWorkflowResponse], error) + ReadVReplicationWorkflow(context.Context, *connect.Request[v191.ReadVReplicationWorkflowRequest]) (*connect.Response[v191.ReadVReplicationWorkflowResponse], error) + VReplicationExec(context.Context, *connect.Request[v191.VReplicationExecRequest]) (*connect.Response[v191.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v191.VReplicationWaitForPosRequest]) (*connect.Response[v191.VReplicationWaitForPosResponse], error) + UpdateVReplicationWorkflow(context.Context, *connect.Request[v191.UpdateVReplicationWorkflowRequest]) (*connect.Response[v191.UpdateVReplicationWorkflowResponse], error) + // VDiff API + VDiff(context.Context, *connect.Request[v191.VDiffRequest]) (*connect.Response[v191.VDiffResponse], error) + // ResetReplication makes the target not replicating + ResetReplication(context.Context, *connect.Request[v191.ResetReplicationRequest]) (*connect.Response[v191.ResetReplicationResponse], error) + // InitPrimary initializes the tablet as a primary + InitPrimary(context.Context, *connect.Request[v191.InitPrimaryRequest]) (*connect.Response[v191.InitPrimaryResponse], error) + // PopulateReparentJournal tells the tablet to add an entry to its + // reparent journal + PopulateReparentJournal(context.Context, *connect.Request[v191.PopulateReparentJournalRequest]) (*connect.Response[v191.PopulateReparentJournalResponse], error) + // InitReplica tells the tablet to reparent to the primary unconditionally + InitReplica(context.Context, *connect.Request[v191.InitReplicaRequest]) (*connect.Response[v191.InitReplicaResponse], error) + // DemotePrimary tells the soon-to-be-former primary it's gonna change + DemotePrimary(context.Context, *connect.Request[v191.DemotePrimaryRequest]) (*connect.Response[v191.DemotePrimaryResponse], error) + // UndoDemotePrimary reverts all changes made by DemotePrimary + UndoDemotePrimary(context.Context, *connect.Request[v191.UndoDemotePrimaryRequest]) (*connect.Response[v191.UndoDemotePrimaryResponse], error) + // ReplicaWasPromoted tells the remote tablet it is now the primary + ReplicaWasPromoted(context.Context, *connect.Request[v191.ReplicaWasPromotedRequest]) (*connect.Response[v191.ReplicaWasPromotedResponse], error) + // ResetReplicationParameters resets the replica replication parameters + ResetReplicationParameters(context.Context, *connect.Request[v191.ResetReplicationParametersRequest]) (*connect.Response[v191.ResetReplicationParametersResponse], error) + // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + FullStatus(context.Context, *connect.Request[v191.FullStatusRequest]) (*connect.Response[v191.FullStatusResponse], error) + // SetReplicationSource tells the replica to reparent + SetReplicationSource(context.Context, *connect.Request[v191.SetReplicationSourceRequest]) (*connect.Response[v191.SetReplicationSourceResponse], error) + // ReplicaWasRestarted tells the remote tablet its primary has changed + ReplicaWasRestarted(context.Context, *connect.Request[v191.ReplicaWasRestartedRequest]) (*connect.Response[v191.ReplicaWasRestartedResponse], error) + // StopReplicationAndGetStatus stops MySQL replication, and returns the + // replication status + StopReplicationAndGetStatus(context.Context, *connect.Request[v191.StopReplicationAndGetStatusRequest]) (*connect.Response[v191.StopReplicationAndGetStatusResponse], error) + // PromoteReplica makes the replica the new primary + PromoteReplica(context.Context, *connect.Request[v191.PromoteReplicaRequest]) (*connect.Response[v191.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v191.BackupRequest]) (*connect.ServerStreamForClient[v191.BackupResponse], error) + // RestoreFromBackup deletes all local data and restores it from the latest backup. + RestoreFromBackup(context.Context, *connect.Request[v191.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v191.RestoreFromBackupResponse], error) + // CheckThrottler issues a 'check' on a tablet's throttler + CheckThrottler(context.Context, *connect.Request[v191.CheckThrottlerRequest]) (*connect.Response[v191.CheckThrottlerResponse], error) +} + +// NewTabletManagerClient constructs a client for the tabletmanagerservice.TabletManager +// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for +// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply +// the connect.WithGRPC() or connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewTabletManagerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TabletManagerClient { + baseURL = strings.TrimRight(baseURL, "/") + return &tabletManagerClient{ + ping: connect.NewClient[v191.PingRequest, v191.PingResponse]( + httpClient, + baseURL+TabletManagerPingProcedure, + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithClientOptions(opts...), + ), + sleep: connect.NewClient[v191.SleepRequest, v191.SleepResponse]( + httpClient, + baseURL+TabletManagerSleepProcedure, + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeHook: connect.NewClient[v191.ExecuteHookRequest, v191.ExecuteHookResponse]( + httpClient, + baseURL+TabletManagerExecuteHookProcedure, + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchema: connect.NewClient[v191.GetSchemaRequest, v191.GetSchemaResponse]( + httpClient, + baseURL+TabletManagerGetSchemaProcedure, + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getPermissions: connect.NewClient[v191.GetPermissionsRequest, v191.GetPermissionsResponse]( + httpClient, + baseURL+TabletManagerGetPermissionsProcedure, + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setReadOnly: connect.NewClient[v191.SetReadOnlyRequest, v191.SetReadOnlyResponse]( + httpClient, + baseURL+TabletManagerSetReadOnlyProcedure, + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setReadWrite: connect.NewClient[v191.SetReadWriteRequest, v191.SetReadWriteResponse]( + httpClient, + baseURL+TabletManagerSetReadWriteProcedure, + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + changeType: connect.NewClient[v191.ChangeTypeRequest, v191.ChangeTypeResponse]( + httpClient, + baseURL+TabletManagerChangeTypeProcedure, + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithClientOptions(opts...), + ), + refreshState: connect.NewClient[v191.RefreshStateRequest, v191.RefreshStateResponse]( + httpClient, + baseURL+TabletManagerRefreshStateProcedure, + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + runHealthCheck: connect.NewClient[v191.RunHealthCheckRequest, v191.RunHealthCheckResponse]( + httpClient, + baseURL+TabletManagerRunHealthCheckProcedure, + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reloadSchema: connect.NewClient[v191.ReloadSchemaRequest, v191.ReloadSchemaResponse]( + httpClient, + baseURL+TabletManagerReloadSchemaProcedure, + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + preflightSchema: connect.NewClient[v191.PreflightSchemaRequest, v191.PreflightSchemaResponse]( + httpClient, + baseURL+TabletManagerPreflightSchemaProcedure, + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + applySchema: connect.NewClient[v191.ApplySchemaRequest, v191.ApplySchemaResponse]( + httpClient, + baseURL+TabletManagerApplySchemaProcedure, + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + resetSequences: connect.NewClient[v191.ResetSequencesRequest, v191.ResetSequencesResponse]( + httpClient, + baseURL+TabletManagerResetSequencesProcedure, + connect.WithSchema(tabletManagerResetSequencesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + lockTables: connect.NewClient[v191.LockTablesRequest, v191.LockTablesResponse]( + httpClient, + baseURL+TabletManagerLockTablesProcedure, + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + unlockTables: connect.NewClient[v191.UnlockTablesRequest, v191.UnlockTablesResponse]( + httpClient, + baseURL+TabletManagerUnlockTablesProcedure, + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeQuery: connect.NewClient[v191.ExecuteQueryRequest, v191.ExecuteQueryResponse]( + httpClient, + baseURL+TabletManagerExecuteQueryProcedure, + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeFetchAsDba: connect.NewClient[v191.ExecuteFetchAsDbaRequest, v191.ExecuteFetchAsDbaResponse]( + httpClient, + baseURL+TabletManagerExecuteFetchAsDbaProcedure, + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeFetchAsAllPrivs: connect.NewClient[v191.ExecuteFetchAsAllPrivsRequest, v191.ExecuteFetchAsAllPrivsResponse]( + httpClient, + baseURL+TabletManagerExecuteFetchAsAllPrivsProcedure, + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeFetchAsApp: connect.NewClient[v191.ExecuteFetchAsAppRequest, v191.ExecuteFetchAsAppResponse]( + httpClient, + baseURL+TabletManagerExecuteFetchAsAppProcedure, + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), + ), + replicationStatus: connect.NewClient[v191.ReplicationStatusRequest, v191.ReplicationStatusResponse]( + httpClient, + baseURL+TabletManagerReplicationStatusProcedure, + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + primaryStatus: connect.NewClient[v191.PrimaryStatusRequest, v191.PrimaryStatusResponse]( + httpClient, + baseURL+TabletManagerPrimaryStatusProcedure, + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + primaryPosition: connect.NewClient[v191.PrimaryPositionRequest, v191.PrimaryPositionResponse]( + httpClient, + baseURL+TabletManagerPrimaryPositionProcedure, + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + waitForPosition: connect.NewClient[v191.WaitForPositionRequest, v191.WaitForPositionResponse]( + httpClient, + baseURL+TabletManagerWaitForPositionProcedure, + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + stopReplication: connect.NewClient[v191.StopReplicationRequest, v191.StopReplicationResponse]( + httpClient, + baseURL+TabletManagerStopReplicationProcedure, + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + stopReplicationMinimum: connect.NewClient[v191.StopReplicationMinimumRequest, v191.StopReplicationMinimumResponse]( + httpClient, + baseURL+TabletManagerStopReplicationMinimumProcedure, + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithClientOptions(opts...), + ), + startReplication: connect.NewClient[v191.StartReplicationRequest, v191.StartReplicationResponse]( + httpClient, + baseURL+TabletManagerStartReplicationProcedure, + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + startReplicationUntilAfter: connect.NewClient[v191.StartReplicationUntilAfterRequest, v191.StartReplicationUntilAfterResponse]( + httpClient, + baseURL+TabletManagerStartReplicationUntilAfterProcedure, + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getReplicas: connect.NewClient[v191.GetReplicasRequest, v191.GetReplicasResponse]( + httpClient, + baseURL+TabletManagerGetReplicasProcedure, + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + createVReplicationWorkflow: connect.NewClient[v191.CreateVReplicationWorkflowRequest, v191.CreateVReplicationWorkflowResponse]( + httpClient, + baseURL+TabletManagerCreateVReplicationWorkflowProcedure, + connect.WithSchema(tabletManagerCreateVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteVReplicationWorkflow: connect.NewClient[v191.DeleteVReplicationWorkflowRequest, v191.DeleteVReplicationWorkflowResponse]( + httpClient, + baseURL+TabletManagerDeleteVReplicationWorkflowProcedure, + connect.WithSchema(tabletManagerDeleteVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + readVReplicationWorkflow: connect.NewClient[v191.ReadVReplicationWorkflowRequest, v191.ReadVReplicationWorkflowResponse]( + httpClient, + baseURL+TabletManagerReadVReplicationWorkflowProcedure, + connect.WithSchema(tabletManagerReadVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vReplicationExec: connect.NewClient[v191.VReplicationExecRequest, v191.VReplicationExecResponse]( + httpClient, + baseURL+TabletManagerVReplicationExecProcedure, + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vReplicationWaitForPos: connect.NewClient[v191.VReplicationWaitForPosRequest, v191.VReplicationWaitForPosResponse]( + httpClient, + baseURL+TabletManagerVReplicationWaitForPosProcedure, + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithClientOptions(opts...), + ), + updateVReplicationWorkflow: connect.NewClient[v191.UpdateVReplicationWorkflowRequest, v191.UpdateVReplicationWorkflowResponse]( + httpClient, + baseURL+TabletManagerUpdateVReplicationWorkflowProcedure, + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiff: connect.NewClient[v191.VDiffRequest, v191.VDiffResponse]( + httpClient, + baseURL+TabletManagerVDiffProcedure, + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithClientOptions(opts...), + ), + resetReplication: connect.NewClient[v191.ResetReplicationRequest, v191.ResetReplicationResponse]( + httpClient, + baseURL+TabletManagerResetReplicationProcedure, + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + initPrimary: connect.NewClient[v191.InitPrimaryRequest, v191.InitPrimaryResponse]( + httpClient, + baseURL+TabletManagerInitPrimaryProcedure, + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), + ), + populateReparentJournal: connect.NewClient[v191.PopulateReparentJournalRequest, v191.PopulateReparentJournalResponse]( + httpClient, + baseURL+TabletManagerPopulateReparentJournalProcedure, + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithClientOptions(opts...), + ), + initReplica: connect.NewClient[v191.InitReplicaRequest, v191.InitReplicaResponse]( + httpClient, + baseURL+TabletManagerInitReplicaProcedure, + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + demotePrimary: connect.NewClient[v191.DemotePrimaryRequest, v191.DemotePrimaryResponse]( + httpClient, + baseURL+TabletManagerDemotePrimaryProcedure, + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), + ), + undoDemotePrimary: connect.NewClient[v191.UndoDemotePrimaryRequest, v191.UndoDemotePrimaryResponse]( + httpClient, + baseURL+TabletManagerUndoDemotePrimaryProcedure, + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithClientOptions(opts...), + ), + replicaWasPromoted: connect.NewClient[v191.ReplicaWasPromotedRequest, v191.ReplicaWasPromotedResponse]( + httpClient, + baseURL+TabletManagerReplicaWasPromotedProcedure, + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithClientOptions(opts...), + ), + resetReplicationParameters: connect.NewClient[v191.ResetReplicationParametersRequest, v191.ResetReplicationParametersResponse]( + httpClient, + baseURL+TabletManagerResetReplicationParametersProcedure, + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithClientOptions(opts...), + ), + fullStatus: connect.NewClient[v191.FullStatusRequest, v191.FullStatusResponse]( + httpClient, + baseURL+TabletManagerFullStatusProcedure, + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setReplicationSource: connect.NewClient[v191.SetReplicationSourceRequest, v191.SetReplicationSourceResponse]( + httpClient, + baseURL+TabletManagerSetReplicationSourceProcedure, + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + replicaWasRestarted: connect.NewClient[v191.ReplicaWasRestartedRequest, v191.ReplicaWasRestartedResponse]( + httpClient, + baseURL+TabletManagerReplicaWasRestartedProcedure, + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithClientOptions(opts...), + ), + stopReplicationAndGetStatus: connect.NewClient[v191.StopReplicationAndGetStatusRequest, v191.StopReplicationAndGetStatusResponse]( + httpClient, + baseURL+TabletManagerStopReplicationAndGetStatusProcedure, + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + promoteReplica: connect.NewClient[v191.PromoteReplicaRequest, v191.PromoteReplicaResponse]( + httpClient, + baseURL+TabletManagerPromoteReplicaProcedure, + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + backup: connect.NewClient[v191.BackupRequest, v191.BackupResponse]( + httpClient, + baseURL+TabletManagerBackupProcedure, + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithClientOptions(opts...), + ), + restoreFromBackup: connect.NewClient[v191.RestoreFromBackupRequest, v191.RestoreFromBackupResponse]( + httpClient, + baseURL+TabletManagerRestoreFromBackupProcedure, + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), + ), + checkThrottler: connect.NewClient[v191.CheckThrottlerRequest, v191.CheckThrottlerResponse]( + httpClient, + baseURL+TabletManagerCheckThrottlerProcedure, + connect.WithSchema(tabletManagerCheckThrottlerMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// tabletManagerClient implements TabletManagerClient. +type tabletManagerClient struct { + ping *connect.Client[v191.PingRequest, v191.PingResponse] + sleep *connect.Client[v191.SleepRequest, v191.SleepResponse] + executeHook *connect.Client[v191.ExecuteHookRequest, v191.ExecuteHookResponse] + getSchema *connect.Client[v191.GetSchemaRequest, v191.GetSchemaResponse] + getPermissions *connect.Client[v191.GetPermissionsRequest, v191.GetPermissionsResponse] + setReadOnly *connect.Client[v191.SetReadOnlyRequest, v191.SetReadOnlyResponse] + setReadWrite *connect.Client[v191.SetReadWriteRequest, v191.SetReadWriteResponse] + changeType *connect.Client[v191.ChangeTypeRequest, v191.ChangeTypeResponse] + refreshState *connect.Client[v191.RefreshStateRequest, v191.RefreshStateResponse] + runHealthCheck *connect.Client[v191.RunHealthCheckRequest, v191.RunHealthCheckResponse] + reloadSchema *connect.Client[v191.ReloadSchemaRequest, v191.ReloadSchemaResponse] + preflightSchema *connect.Client[v191.PreflightSchemaRequest, v191.PreflightSchemaResponse] + applySchema *connect.Client[v191.ApplySchemaRequest, v191.ApplySchemaResponse] + resetSequences *connect.Client[v191.ResetSequencesRequest, v191.ResetSequencesResponse] + lockTables *connect.Client[v191.LockTablesRequest, v191.LockTablesResponse] + unlockTables *connect.Client[v191.UnlockTablesRequest, v191.UnlockTablesResponse] + executeQuery *connect.Client[v191.ExecuteQueryRequest, v191.ExecuteQueryResponse] + executeFetchAsDba *connect.Client[v191.ExecuteFetchAsDbaRequest, v191.ExecuteFetchAsDbaResponse] + executeFetchAsAllPrivs *connect.Client[v191.ExecuteFetchAsAllPrivsRequest, v191.ExecuteFetchAsAllPrivsResponse] + executeFetchAsApp *connect.Client[v191.ExecuteFetchAsAppRequest, v191.ExecuteFetchAsAppResponse] + replicationStatus *connect.Client[v191.ReplicationStatusRequest, v191.ReplicationStatusResponse] + primaryStatus *connect.Client[v191.PrimaryStatusRequest, v191.PrimaryStatusResponse] + primaryPosition *connect.Client[v191.PrimaryPositionRequest, v191.PrimaryPositionResponse] + waitForPosition *connect.Client[v191.WaitForPositionRequest, v191.WaitForPositionResponse] + stopReplication *connect.Client[v191.StopReplicationRequest, v191.StopReplicationResponse] + stopReplicationMinimum *connect.Client[v191.StopReplicationMinimumRequest, v191.StopReplicationMinimumResponse] + startReplication *connect.Client[v191.StartReplicationRequest, v191.StartReplicationResponse] + startReplicationUntilAfter *connect.Client[v191.StartReplicationUntilAfterRequest, v191.StartReplicationUntilAfterResponse] + getReplicas *connect.Client[v191.GetReplicasRequest, v191.GetReplicasResponse] + createVReplicationWorkflow *connect.Client[v191.CreateVReplicationWorkflowRequest, v191.CreateVReplicationWorkflowResponse] + deleteVReplicationWorkflow *connect.Client[v191.DeleteVReplicationWorkflowRequest, v191.DeleteVReplicationWorkflowResponse] + readVReplicationWorkflow *connect.Client[v191.ReadVReplicationWorkflowRequest, v191.ReadVReplicationWorkflowResponse] + vReplicationExec *connect.Client[v191.VReplicationExecRequest, v191.VReplicationExecResponse] + vReplicationWaitForPos *connect.Client[v191.VReplicationWaitForPosRequest, v191.VReplicationWaitForPosResponse] + updateVReplicationWorkflow *connect.Client[v191.UpdateVReplicationWorkflowRequest, v191.UpdateVReplicationWorkflowResponse] + vDiff *connect.Client[v191.VDiffRequest, v191.VDiffResponse] + resetReplication *connect.Client[v191.ResetReplicationRequest, v191.ResetReplicationResponse] + initPrimary *connect.Client[v191.InitPrimaryRequest, v191.InitPrimaryResponse] + populateReparentJournal *connect.Client[v191.PopulateReparentJournalRequest, v191.PopulateReparentJournalResponse] + initReplica *connect.Client[v191.InitReplicaRequest, v191.InitReplicaResponse] + demotePrimary *connect.Client[v191.DemotePrimaryRequest, v191.DemotePrimaryResponse] + undoDemotePrimary *connect.Client[v191.UndoDemotePrimaryRequest, v191.UndoDemotePrimaryResponse] + replicaWasPromoted *connect.Client[v191.ReplicaWasPromotedRequest, v191.ReplicaWasPromotedResponse] + resetReplicationParameters *connect.Client[v191.ResetReplicationParametersRequest, v191.ResetReplicationParametersResponse] + fullStatus *connect.Client[v191.FullStatusRequest, v191.FullStatusResponse] + setReplicationSource *connect.Client[v191.SetReplicationSourceRequest, v191.SetReplicationSourceResponse] + replicaWasRestarted *connect.Client[v191.ReplicaWasRestartedRequest, v191.ReplicaWasRestartedResponse] + stopReplicationAndGetStatus *connect.Client[v191.StopReplicationAndGetStatusRequest, v191.StopReplicationAndGetStatusResponse] + promoteReplica *connect.Client[v191.PromoteReplicaRequest, v191.PromoteReplicaResponse] + backup *connect.Client[v191.BackupRequest, v191.BackupResponse] + restoreFromBackup *connect.Client[v191.RestoreFromBackupRequest, v191.RestoreFromBackupResponse] + checkThrottler *connect.Client[v191.CheckThrottlerRequest, v191.CheckThrottlerResponse] +} + +// Ping calls tabletmanagerservice.TabletManager.Ping. +func (c *tabletManagerClient) Ping(ctx context.Context, req *connect.Request[v191.PingRequest]) (*connect.Response[v191.PingResponse], error) { + return c.ping.CallUnary(ctx, req) +} + +// Sleep calls tabletmanagerservice.TabletManager.Sleep. +func (c *tabletManagerClient) Sleep(ctx context.Context, req *connect.Request[v191.SleepRequest]) (*connect.Response[v191.SleepResponse], error) { + return c.sleep.CallUnary(ctx, req) +} + +// ExecuteHook calls tabletmanagerservice.TabletManager.ExecuteHook. +func (c *tabletManagerClient) ExecuteHook(ctx context.Context, req *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) { + return c.executeHook.CallUnary(ctx, req) +} + +// GetSchema calls tabletmanagerservice.TabletManager.GetSchema. +func (c *tabletManagerClient) GetSchema(ctx context.Context, req *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) { + return c.getSchema.CallUnary(ctx, req) +} + +// GetPermissions calls tabletmanagerservice.TabletManager.GetPermissions. +func (c *tabletManagerClient) GetPermissions(ctx context.Context, req *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) { + return c.getPermissions.CallUnary(ctx, req) +} + +// SetReadOnly calls tabletmanagerservice.TabletManager.SetReadOnly. +func (c *tabletManagerClient) SetReadOnly(ctx context.Context, req *connect.Request[v191.SetReadOnlyRequest]) (*connect.Response[v191.SetReadOnlyResponse], error) { + return c.setReadOnly.CallUnary(ctx, req) +} + +// SetReadWrite calls tabletmanagerservice.TabletManager.SetReadWrite. +func (c *tabletManagerClient) SetReadWrite(ctx context.Context, req *connect.Request[v191.SetReadWriteRequest]) (*connect.Response[v191.SetReadWriteResponse], error) { + return c.setReadWrite.CallUnary(ctx, req) +} + +// ChangeType calls tabletmanagerservice.TabletManager.ChangeType. +func (c *tabletManagerClient) ChangeType(ctx context.Context, req *connect.Request[v191.ChangeTypeRequest]) (*connect.Response[v191.ChangeTypeResponse], error) { + return c.changeType.CallUnary(ctx, req) +} + +// RefreshState calls tabletmanagerservice.TabletManager.RefreshState. +func (c *tabletManagerClient) RefreshState(ctx context.Context, req *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) { + return c.refreshState.CallUnary(ctx, req) +} + +// RunHealthCheck calls tabletmanagerservice.TabletManager.RunHealthCheck. +func (c *tabletManagerClient) RunHealthCheck(ctx context.Context, req *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) { + return c.runHealthCheck.CallUnary(ctx, req) +} + +// ReloadSchema calls tabletmanagerservice.TabletManager.ReloadSchema. +func (c *tabletManagerClient) ReloadSchema(ctx context.Context, req *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) { + return c.reloadSchema.CallUnary(ctx, req) +} + +// PreflightSchema calls tabletmanagerservice.TabletManager.PreflightSchema. +func (c *tabletManagerClient) PreflightSchema(ctx context.Context, req *connect.Request[v191.PreflightSchemaRequest]) (*connect.Response[v191.PreflightSchemaResponse], error) { + return c.preflightSchema.CallUnary(ctx, req) +} + +// ApplySchema calls tabletmanagerservice.TabletManager.ApplySchema. +func (c *tabletManagerClient) ApplySchema(ctx context.Context, req *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) { + return c.applySchema.CallUnary(ctx, req) +} + +// ResetSequences calls tabletmanagerservice.TabletManager.ResetSequences. +func (c *tabletManagerClient) ResetSequences(ctx context.Context, req *connect.Request[v191.ResetSequencesRequest]) (*connect.Response[v191.ResetSequencesResponse], error) { + return c.resetSequences.CallUnary(ctx, req) +} + +// LockTables calls tabletmanagerservice.TabletManager.LockTables. +func (c *tabletManagerClient) LockTables(ctx context.Context, req *connect.Request[v191.LockTablesRequest]) (*connect.Response[v191.LockTablesResponse], error) { + return c.lockTables.CallUnary(ctx, req) +} + +// UnlockTables calls tabletmanagerservice.TabletManager.UnlockTables. +func (c *tabletManagerClient) UnlockTables(ctx context.Context, req *connect.Request[v191.UnlockTablesRequest]) (*connect.Response[v191.UnlockTablesResponse], error) { + return c.unlockTables.CallUnary(ctx, req) +} + +// ExecuteQuery calls tabletmanagerservice.TabletManager.ExecuteQuery. +func (c *tabletManagerClient) ExecuteQuery(ctx context.Context, req *connect.Request[v191.ExecuteQueryRequest]) (*connect.Response[v191.ExecuteQueryResponse], error) { + return c.executeQuery.CallUnary(ctx, req) +} + +// ExecuteFetchAsDba calls tabletmanagerservice.TabletManager.ExecuteFetchAsDba. +func (c *tabletManagerClient) ExecuteFetchAsDba(ctx context.Context, req *connect.Request[v191.ExecuteFetchAsDbaRequest]) (*connect.Response[v191.ExecuteFetchAsDbaResponse], error) { + return c.executeFetchAsDba.CallUnary(ctx, req) +} + +// ExecuteFetchAsAllPrivs calls +// tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs. +func (c *tabletManagerClient) ExecuteFetchAsAllPrivs(ctx context.Context, req *connect.Request[v191.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v191.ExecuteFetchAsAllPrivsResponse], error) { + return c.executeFetchAsAllPrivs.CallUnary(ctx, req) +} + +// ExecuteFetchAsApp calls tabletmanagerservice.TabletManager.ExecuteFetchAsApp. +func (c *tabletManagerClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) { + return c.executeFetchAsApp.CallUnary(ctx, req) +} + +// ReplicationStatus calls tabletmanagerservice.TabletManager.ReplicationStatus. +func (c *tabletManagerClient) ReplicationStatus(ctx context.Context, req *connect.Request[v191.ReplicationStatusRequest]) (*connect.Response[v191.ReplicationStatusResponse], error) { + return c.replicationStatus.CallUnary(ctx, req) +} + +// PrimaryStatus calls tabletmanagerservice.TabletManager.PrimaryStatus. +func (c *tabletManagerClient) PrimaryStatus(ctx context.Context, req *connect.Request[v191.PrimaryStatusRequest]) (*connect.Response[v191.PrimaryStatusResponse], error) { + return c.primaryStatus.CallUnary(ctx, req) +} + +// PrimaryPosition calls tabletmanagerservice.TabletManager.PrimaryPosition. +func (c *tabletManagerClient) PrimaryPosition(ctx context.Context, req *connect.Request[v191.PrimaryPositionRequest]) (*connect.Response[v191.PrimaryPositionResponse], error) { + return c.primaryPosition.CallUnary(ctx, req) +} + +// WaitForPosition calls tabletmanagerservice.TabletManager.WaitForPosition. +func (c *tabletManagerClient) WaitForPosition(ctx context.Context, req *connect.Request[v191.WaitForPositionRequest]) (*connect.Response[v191.WaitForPositionResponse], error) { + return c.waitForPosition.CallUnary(ctx, req) +} + +// StopReplication calls tabletmanagerservice.TabletManager.StopReplication. +func (c *tabletManagerClient) StopReplication(ctx context.Context, req *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) { + return c.stopReplication.CallUnary(ctx, req) +} + +// StopReplicationMinimum calls +// tabletmanagerservice.TabletManager.StopReplicationMinimum. +func (c *tabletManagerClient) StopReplicationMinimum(ctx context.Context, req *connect.Request[v191.StopReplicationMinimumRequest]) (*connect.Response[v191.StopReplicationMinimumResponse], error) { + return c.stopReplicationMinimum.CallUnary(ctx, req) +} + +// StartReplication calls tabletmanagerservice.TabletManager.StartReplication. +func (c *tabletManagerClient) StartReplication(ctx context.Context, req *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) { + return c.startReplication.CallUnary(ctx, req) +} + +// StartReplicationUntilAfter calls +// tabletmanagerservice.TabletManager.StartReplicationUntilAfter. +func (c *tabletManagerClient) StartReplicationUntilAfter(ctx context.Context, req *connect.Request[v191.StartReplicationUntilAfterRequest]) (*connect.Response[v191.StartReplicationUntilAfterResponse], error) { + return c.startReplicationUntilAfter.CallUnary(ctx, req) +} + +// GetReplicas calls tabletmanagerservice.TabletManager.GetReplicas. +func (c *tabletManagerClient) GetReplicas(ctx context.Context, req *connect.Request[v191.GetReplicasRequest]) (*connect.Response[v191.GetReplicasResponse], error) { + return c.getReplicas.CallUnary(ctx, req) +} + +// CreateVReplicationWorkflow calls +// tabletmanagerservice.TabletManager.CreateVReplicationWorkflow. +func (c *tabletManagerClient) CreateVReplicationWorkflow(ctx context.Context, req *connect.Request[v191.CreateVReplicationWorkflowRequest]) (*connect.Response[v191.CreateVReplicationWorkflowResponse], error) { + return c.createVReplicationWorkflow.CallUnary(ctx, req) +} + +// DeleteVReplicationWorkflow calls +// tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow. +func (c *tabletManagerClient) DeleteVReplicationWorkflow(ctx context.Context, req *connect.Request[v191.DeleteVReplicationWorkflowRequest]) (*connect.Response[v191.DeleteVReplicationWorkflowResponse], error) { + return c.deleteVReplicationWorkflow.CallUnary(ctx, req) +} + +// ReadVReplicationWorkflow calls +// tabletmanagerservice.TabletManager.ReadVReplicationWorkflow. +func (c *tabletManagerClient) ReadVReplicationWorkflow(ctx context.Context, req *connect.Request[v191.ReadVReplicationWorkflowRequest]) (*connect.Response[v191.ReadVReplicationWorkflowResponse], error) { + return c.readVReplicationWorkflow.CallUnary(ctx, req) +} + +// VReplicationExec calls tabletmanagerservice.TabletManager.VReplicationExec. +func (c *tabletManagerClient) VReplicationExec(ctx context.Context, req *connect.Request[v191.VReplicationExecRequest]) (*connect.Response[v191.VReplicationExecResponse], error) { + return c.vReplicationExec.CallUnary(ctx, req) +} + +// VReplicationWaitForPos calls +// tabletmanagerservice.TabletManager.VReplicationWaitForPos. +func (c *tabletManagerClient) VReplicationWaitForPos(ctx context.Context, req *connect.Request[v191.VReplicationWaitForPosRequest]) (*connect.Response[v191.VReplicationWaitForPosResponse], error) { + return c.vReplicationWaitForPos.CallUnary(ctx, req) +} + +// UpdateVReplicationWorkflow calls +// tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow. +func (c *tabletManagerClient) UpdateVReplicationWorkflow(ctx context.Context, req *connect.Request[v191.UpdateVReplicationWorkflowRequest]) (*connect.Response[v191.UpdateVReplicationWorkflowResponse], error) { + return c.updateVReplicationWorkflow.CallUnary(ctx, req) +} + +// VDiff calls tabletmanagerservice.TabletManager.VDiff. +func (c *tabletManagerClient) VDiff(ctx context.Context, req *connect.Request[v191.VDiffRequest]) (*connect.Response[v191.VDiffResponse], error) { + return c.vDiff.CallUnary(ctx, req) +} + +// ResetReplication calls tabletmanagerservice.TabletManager.ResetReplication. +func (c *tabletManagerClient) ResetReplication(ctx context.Context, req *connect.Request[v191.ResetReplicationRequest]) (*connect.Response[v191.ResetReplicationResponse], error) { + return c.resetReplication.CallUnary(ctx, req) +} + +// InitPrimary calls tabletmanagerservice.TabletManager.InitPrimary. +func (c *tabletManagerClient) InitPrimary(ctx context.Context, req *connect.Request[v191.InitPrimaryRequest]) (*connect.Response[v191.InitPrimaryResponse], error) { + return c.initPrimary.CallUnary(ctx, req) +} + +// PopulateReparentJournal calls +// tabletmanagerservice.TabletManager.PopulateReparentJournal. +func (c *tabletManagerClient) PopulateReparentJournal(ctx context.Context, req *connect.Request[v191.PopulateReparentJournalRequest]) (*connect.Response[v191.PopulateReparentJournalResponse], error) { + return c.populateReparentJournal.CallUnary(ctx, req) +} + +// InitReplica calls tabletmanagerservice.TabletManager.InitReplica. +func (c *tabletManagerClient) InitReplica(ctx context.Context, req *connect.Request[v191.InitReplicaRequest]) (*connect.Response[v191.InitReplicaResponse], error) { + return c.initReplica.CallUnary(ctx, req) +} + +// DemotePrimary calls tabletmanagerservice.TabletManager.DemotePrimary. +func (c *tabletManagerClient) DemotePrimary(ctx context.Context, req *connect.Request[v191.DemotePrimaryRequest]) (*connect.Response[v191.DemotePrimaryResponse], error) { + return c.demotePrimary.CallUnary(ctx, req) +} + +// UndoDemotePrimary calls tabletmanagerservice.TabletManager.UndoDemotePrimary. +func (c *tabletManagerClient) UndoDemotePrimary(ctx context.Context, req *connect.Request[v191.UndoDemotePrimaryRequest]) (*connect.Response[v191.UndoDemotePrimaryResponse], error) { + return c.undoDemotePrimary.CallUnary(ctx, req) +} + +// ReplicaWasPromoted calls tabletmanagerservice.TabletManager.ReplicaWasPromoted. +func (c *tabletManagerClient) ReplicaWasPromoted(ctx context.Context, req *connect.Request[v191.ReplicaWasPromotedRequest]) (*connect.Response[v191.ReplicaWasPromotedResponse], error) { + return c.replicaWasPromoted.CallUnary(ctx, req) +} + +// ResetReplicationParameters calls +// tabletmanagerservice.TabletManager.ResetReplicationParameters. +func (c *tabletManagerClient) ResetReplicationParameters(ctx context.Context, req *connect.Request[v191.ResetReplicationParametersRequest]) (*connect.Response[v191.ResetReplicationParametersResponse], error) { + return c.resetReplicationParameters.CallUnary(ctx, req) +} + +// FullStatus calls tabletmanagerservice.TabletManager.FullStatus. +func (c *tabletManagerClient) FullStatus(ctx context.Context, req *connect.Request[v191.FullStatusRequest]) (*connect.Response[v191.FullStatusResponse], error) { + return c.fullStatus.CallUnary(ctx, req) +} + +// SetReplicationSource calls tabletmanagerservice.TabletManager.SetReplicationSource. +func (c *tabletManagerClient) SetReplicationSource(ctx context.Context, req *connect.Request[v191.SetReplicationSourceRequest]) (*connect.Response[v191.SetReplicationSourceResponse], error) { + return c.setReplicationSource.CallUnary(ctx, req) +} + +// ReplicaWasRestarted calls tabletmanagerservice.TabletManager.ReplicaWasRestarted. +func (c *tabletManagerClient) ReplicaWasRestarted(ctx context.Context, req *connect.Request[v191.ReplicaWasRestartedRequest]) (*connect.Response[v191.ReplicaWasRestartedResponse], error) { + return c.replicaWasRestarted.CallUnary(ctx, req) +} + +// StopReplicationAndGetStatus calls +// tabletmanagerservice.TabletManager.StopReplicationAndGetStatus. +func (c *tabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, req *connect.Request[v191.StopReplicationAndGetStatusRequest]) (*connect.Response[v191.StopReplicationAndGetStatusResponse], error) { + return c.stopReplicationAndGetStatus.CallUnary(ctx, req) +} + +// PromoteReplica calls tabletmanagerservice.TabletManager.PromoteReplica. +func (c *tabletManagerClient) PromoteReplica(ctx context.Context, req *connect.Request[v191.PromoteReplicaRequest]) (*connect.Response[v191.PromoteReplicaResponse], error) { + return c.promoteReplica.CallUnary(ctx, req) +} + +// Backup calls tabletmanagerservice.TabletManager.Backup. +func (c *tabletManagerClient) Backup(ctx context.Context, req *connect.Request[v191.BackupRequest]) (*connect.ServerStreamForClient[v191.BackupResponse], error) { + return c.backup.CallServerStream(ctx, req) +} + +// RestoreFromBackup calls tabletmanagerservice.TabletManager.RestoreFromBackup. +func (c *tabletManagerClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v191.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v191.RestoreFromBackupResponse], error) { + return c.restoreFromBackup.CallServerStream(ctx, req) +} + +// CheckThrottler calls tabletmanagerservice.TabletManager.CheckThrottler. +func (c *tabletManagerClient) CheckThrottler(ctx context.Context, req *connect.Request[v191.CheckThrottlerRequest]) (*connect.Response[v191.CheckThrottlerResponse], error) { + return c.checkThrottler.CallUnary(ctx, req) +} + +// TabletManagerHandler is an implementation of the tabletmanagerservice.TabletManager +// service. +type TabletManagerHandler interface { + // Ping returns the input payload + Ping(context.Context, *connect.Request[v191.PingRequest]) (*connect.Response[v191.PingResponse], error) + // Sleep sleeps for the provided duration + Sleep(context.Context, *connect.Request[v191.SleepRequest]) (*connect.Response[v191.SleepResponse], error) + // ExecuteHook executes the hook remotely + ExecuteHook(context.Context, *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) + // GetSchema asks the tablet for its schema + GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) + // GetPermissions asks the tablet for its permissions + GetPermissions(context.Context, *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) + SetReadOnly(context.Context, *connect.Request[v191.SetReadOnlyRequest]) (*connect.Response[v191.SetReadOnlyResponse], error) + SetReadWrite(context.Context, *connect.Request[v191.SetReadWriteRequest]) (*connect.Response[v191.SetReadWriteResponse], error) + // ChangeType asks the remote tablet to change its type + ChangeType(context.Context, *connect.Request[v191.ChangeTypeRequest]) (*connect.Response[v191.ChangeTypeResponse], error) + RefreshState(context.Context, *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) + RunHealthCheck(context.Context, *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) + ReloadSchema(context.Context, *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) + PreflightSchema(context.Context, *connect.Request[v191.PreflightSchemaRequest]) (*connect.Response[v191.PreflightSchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) + ResetSequences(context.Context, *connect.Request[v191.ResetSequencesRequest]) (*connect.Response[v191.ResetSequencesResponse], error) + LockTables(context.Context, *connect.Request[v191.LockTablesRequest]) (*connect.Response[v191.LockTablesResponse], error) + UnlockTables(context.Context, *connect.Request[v191.UnlockTablesRequest]) (*connect.Response[v191.UnlockTablesResponse], error) + ExecuteQuery(context.Context, *connect.Request[v191.ExecuteQueryRequest]) (*connect.Response[v191.ExecuteQueryResponse], error) + ExecuteFetchAsDba(context.Context, *connect.Request[v191.ExecuteFetchAsDbaRequest]) (*connect.Response[v191.ExecuteFetchAsDbaResponse], error) + ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v191.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v191.ExecuteFetchAsAllPrivsResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) + // ReplicationStatus returns the current replication status. + ReplicationStatus(context.Context, *connect.Request[v191.ReplicationStatusRequest]) (*connect.Response[v191.ReplicationStatusResponse], error) + // PrimaryStatus returns the current primary status. + PrimaryStatus(context.Context, *connect.Request[v191.PrimaryStatusRequest]) (*connect.Response[v191.PrimaryStatusResponse], error) + // PrimaryPosition returns the current primary position + PrimaryPosition(context.Context, *connect.Request[v191.PrimaryPositionRequest]) (*connect.Response[v191.PrimaryPositionResponse], error) + // WaitForPosition waits for the position to be reached + WaitForPosition(context.Context, *connect.Request[v191.WaitForPositionRequest]) (*connect.Response[v191.WaitForPositionResponse], error) + // StopReplication makes mysql stop its replication + StopReplication(context.Context, *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) + // StopReplicationMinimum stops the mysql replication after it reaches + // the provided minimum point + StopReplicationMinimum(context.Context, *connect.Request[v191.StopReplicationMinimumRequest]) (*connect.Response[v191.StopReplicationMinimumResponse], error) + // StartReplication starts the mysql replication + StartReplication(context.Context, *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) + // StartReplicationUnitAfter starts the mysql replication until and including + // the provided position + StartReplicationUntilAfter(context.Context, *connect.Request[v191.StartReplicationUntilAfterRequest]) (*connect.Response[v191.StartReplicationUntilAfterResponse], error) + // GetReplicas asks for the list of mysql replicas + GetReplicas(context.Context, *connect.Request[v191.GetReplicasRequest]) (*connect.Response[v191.GetReplicasResponse], error) + // VReplication API + CreateVReplicationWorkflow(context.Context, *connect.Request[v191.CreateVReplicationWorkflowRequest]) (*connect.Response[v191.CreateVReplicationWorkflowResponse], error) + DeleteVReplicationWorkflow(context.Context, *connect.Request[v191.DeleteVReplicationWorkflowRequest]) (*connect.Response[v191.DeleteVReplicationWorkflowResponse], error) + ReadVReplicationWorkflow(context.Context, *connect.Request[v191.ReadVReplicationWorkflowRequest]) (*connect.Response[v191.ReadVReplicationWorkflowResponse], error) + VReplicationExec(context.Context, *connect.Request[v191.VReplicationExecRequest]) (*connect.Response[v191.VReplicationExecResponse], error) + VReplicationWaitForPos(context.Context, *connect.Request[v191.VReplicationWaitForPosRequest]) (*connect.Response[v191.VReplicationWaitForPosResponse], error) + UpdateVReplicationWorkflow(context.Context, *connect.Request[v191.UpdateVReplicationWorkflowRequest]) (*connect.Response[v191.UpdateVReplicationWorkflowResponse], error) + // VDiff API + VDiff(context.Context, *connect.Request[v191.VDiffRequest]) (*connect.Response[v191.VDiffResponse], error) + // ResetReplication makes the target not replicating + ResetReplication(context.Context, *connect.Request[v191.ResetReplicationRequest]) (*connect.Response[v191.ResetReplicationResponse], error) + // InitPrimary initializes the tablet as a primary + InitPrimary(context.Context, *connect.Request[v191.InitPrimaryRequest]) (*connect.Response[v191.InitPrimaryResponse], error) + // PopulateReparentJournal tells the tablet to add an entry to its + // reparent journal + PopulateReparentJournal(context.Context, *connect.Request[v191.PopulateReparentJournalRequest]) (*connect.Response[v191.PopulateReparentJournalResponse], error) + // InitReplica tells the tablet to reparent to the primary unconditionally + InitReplica(context.Context, *connect.Request[v191.InitReplicaRequest]) (*connect.Response[v191.InitReplicaResponse], error) + // DemotePrimary tells the soon-to-be-former primary it's gonna change + DemotePrimary(context.Context, *connect.Request[v191.DemotePrimaryRequest]) (*connect.Response[v191.DemotePrimaryResponse], error) + // UndoDemotePrimary reverts all changes made by DemotePrimary + UndoDemotePrimary(context.Context, *connect.Request[v191.UndoDemotePrimaryRequest]) (*connect.Response[v191.UndoDemotePrimaryResponse], error) + // ReplicaWasPromoted tells the remote tablet it is now the primary + ReplicaWasPromoted(context.Context, *connect.Request[v191.ReplicaWasPromotedRequest]) (*connect.Response[v191.ReplicaWasPromotedResponse], error) + // ResetReplicationParameters resets the replica replication parameters + ResetReplicationParameters(context.Context, *connect.Request[v191.ResetReplicationParametersRequest]) (*connect.Response[v191.ResetReplicationParametersResponse], error) + // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + FullStatus(context.Context, *connect.Request[v191.FullStatusRequest]) (*connect.Response[v191.FullStatusResponse], error) + // SetReplicationSource tells the replica to reparent + SetReplicationSource(context.Context, *connect.Request[v191.SetReplicationSourceRequest]) (*connect.Response[v191.SetReplicationSourceResponse], error) + // ReplicaWasRestarted tells the remote tablet its primary has changed + ReplicaWasRestarted(context.Context, *connect.Request[v191.ReplicaWasRestartedRequest]) (*connect.Response[v191.ReplicaWasRestartedResponse], error) + // StopReplicationAndGetStatus stops MySQL replication, and returns the + // replication status + StopReplicationAndGetStatus(context.Context, *connect.Request[v191.StopReplicationAndGetStatusRequest]) (*connect.Response[v191.StopReplicationAndGetStatusResponse], error) + // PromoteReplica makes the replica the new primary + PromoteReplica(context.Context, *connect.Request[v191.PromoteReplicaRequest]) (*connect.Response[v191.PromoteReplicaResponse], error) + Backup(context.Context, *connect.Request[v191.BackupRequest], *connect.ServerStream[v191.BackupResponse]) error + // RestoreFromBackup deletes all local data and restores it from the latest backup. + RestoreFromBackup(context.Context, *connect.Request[v191.RestoreFromBackupRequest], *connect.ServerStream[v191.RestoreFromBackupResponse]) error + // CheckThrottler issues a 'check' on a tablet's throttler + CheckThrottler(context.Context, *connect.Request[v191.CheckThrottlerRequest]) (*connect.Response[v191.CheckThrottlerResponse], error) +} + +// NewTabletManagerHandler builds an HTTP handler from the service implementation. It returns the +// path on which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewTabletManagerHandler(svc TabletManagerHandler, opts ...connect.HandlerOption) (string, http.Handler) { + tabletManagerPingHandler := connect.NewUnaryHandler( + TabletManagerPingProcedure, + svc.Ping, + connect.WithSchema(tabletManagerPingMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerSleepHandler := connect.NewUnaryHandler( + TabletManagerSleepProcedure, + svc.Sleep, + connect.WithSchema(tabletManagerSleepMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerExecuteHookHandler := connect.NewUnaryHandler( + TabletManagerExecuteHookProcedure, + svc.ExecuteHook, + connect.WithSchema(tabletManagerExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerGetSchemaHandler := connect.NewUnaryHandler( + TabletManagerGetSchemaProcedure, + svc.GetSchema, + connect.WithSchema(tabletManagerGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerGetPermissionsHandler := connect.NewUnaryHandler( + TabletManagerGetPermissionsProcedure, + svc.GetPermissions, + connect.WithSchema(tabletManagerGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerSetReadOnlyHandler := connect.NewUnaryHandler( + TabletManagerSetReadOnlyProcedure, + svc.SetReadOnly, + connect.WithSchema(tabletManagerSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerSetReadWriteHandler := connect.NewUnaryHandler( + TabletManagerSetReadWriteProcedure, + svc.SetReadWrite, + connect.WithSchema(tabletManagerSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerChangeTypeHandler := connect.NewUnaryHandler( + TabletManagerChangeTypeProcedure, + svc.ChangeType, + connect.WithSchema(tabletManagerChangeTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerRefreshStateHandler := connect.NewUnaryHandler( + TabletManagerRefreshStateProcedure, + svc.RefreshState, + connect.WithSchema(tabletManagerRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerRunHealthCheckHandler := connect.NewUnaryHandler( + TabletManagerRunHealthCheckProcedure, + svc.RunHealthCheck, + connect.WithSchema(tabletManagerRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReloadSchemaHandler := connect.NewUnaryHandler( + TabletManagerReloadSchemaProcedure, + svc.ReloadSchema, + connect.WithSchema(tabletManagerReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerPreflightSchemaHandler := connect.NewUnaryHandler( + TabletManagerPreflightSchemaProcedure, + svc.PreflightSchema, + connect.WithSchema(tabletManagerPreflightSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerApplySchemaHandler := connect.NewUnaryHandler( + TabletManagerApplySchemaProcedure, + svc.ApplySchema, + connect.WithSchema(tabletManagerApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerResetSequencesHandler := connect.NewUnaryHandler( + TabletManagerResetSequencesProcedure, + svc.ResetSequences, + connect.WithSchema(tabletManagerResetSequencesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerLockTablesHandler := connect.NewUnaryHandler( + TabletManagerLockTablesProcedure, + svc.LockTables, + connect.WithSchema(tabletManagerLockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerUnlockTablesHandler := connect.NewUnaryHandler( + TabletManagerUnlockTablesProcedure, + svc.UnlockTables, + connect.WithSchema(tabletManagerUnlockTablesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerExecuteQueryHandler := connect.NewUnaryHandler( + TabletManagerExecuteQueryProcedure, + svc.ExecuteQuery, + connect.WithSchema(tabletManagerExecuteQueryMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerExecuteFetchAsDbaHandler := connect.NewUnaryHandler( + TabletManagerExecuteFetchAsDbaProcedure, + svc.ExecuteFetchAsDba, + connect.WithSchema(tabletManagerExecuteFetchAsDbaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerExecuteFetchAsAllPrivsHandler := connect.NewUnaryHandler( + TabletManagerExecuteFetchAsAllPrivsProcedure, + svc.ExecuteFetchAsAllPrivs, + connect.WithSchema(tabletManagerExecuteFetchAsAllPrivsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerExecuteFetchAsAppHandler := connect.NewUnaryHandler( + TabletManagerExecuteFetchAsAppProcedure, + svc.ExecuteFetchAsApp, + connect.WithSchema(tabletManagerExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReplicationStatusHandler := connect.NewUnaryHandler( + TabletManagerReplicationStatusProcedure, + svc.ReplicationStatus, + connect.WithSchema(tabletManagerReplicationStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerPrimaryStatusHandler := connect.NewUnaryHandler( + TabletManagerPrimaryStatusProcedure, + svc.PrimaryStatus, + connect.WithSchema(tabletManagerPrimaryStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerPrimaryPositionHandler := connect.NewUnaryHandler( + TabletManagerPrimaryPositionProcedure, + svc.PrimaryPosition, + connect.WithSchema(tabletManagerPrimaryPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerWaitForPositionHandler := connect.NewUnaryHandler( + TabletManagerWaitForPositionProcedure, + svc.WaitForPosition, + connect.WithSchema(tabletManagerWaitForPositionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerStopReplicationHandler := connect.NewUnaryHandler( + TabletManagerStopReplicationProcedure, + svc.StopReplication, + connect.WithSchema(tabletManagerStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerStopReplicationMinimumHandler := connect.NewUnaryHandler( + TabletManagerStopReplicationMinimumProcedure, + svc.StopReplicationMinimum, + connect.WithSchema(tabletManagerStopReplicationMinimumMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerStartReplicationHandler := connect.NewUnaryHandler( + TabletManagerStartReplicationProcedure, + svc.StartReplication, + connect.WithSchema(tabletManagerStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerStartReplicationUntilAfterHandler := connect.NewUnaryHandler( + TabletManagerStartReplicationUntilAfterProcedure, + svc.StartReplicationUntilAfter, + connect.WithSchema(tabletManagerStartReplicationUntilAfterMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerGetReplicasHandler := connect.NewUnaryHandler( + TabletManagerGetReplicasProcedure, + svc.GetReplicas, + connect.WithSchema(tabletManagerGetReplicasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerCreateVReplicationWorkflowHandler := connect.NewUnaryHandler( + TabletManagerCreateVReplicationWorkflowProcedure, + svc.CreateVReplicationWorkflow, + connect.WithSchema(tabletManagerCreateVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerDeleteVReplicationWorkflowHandler := connect.NewUnaryHandler( + TabletManagerDeleteVReplicationWorkflowProcedure, + svc.DeleteVReplicationWorkflow, + connect.WithSchema(tabletManagerDeleteVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReadVReplicationWorkflowHandler := connect.NewUnaryHandler( + TabletManagerReadVReplicationWorkflowProcedure, + svc.ReadVReplicationWorkflow, + connect.WithSchema(tabletManagerReadVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerVReplicationExecHandler := connect.NewUnaryHandler( + TabletManagerVReplicationExecProcedure, + svc.VReplicationExec, + connect.WithSchema(tabletManagerVReplicationExecMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerVReplicationWaitForPosHandler := connect.NewUnaryHandler( + TabletManagerVReplicationWaitForPosProcedure, + svc.VReplicationWaitForPos, + connect.WithSchema(tabletManagerVReplicationWaitForPosMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerUpdateVReplicationWorkflowHandler := connect.NewUnaryHandler( + TabletManagerUpdateVReplicationWorkflowProcedure, + svc.UpdateVReplicationWorkflow, + connect.WithSchema(tabletManagerUpdateVReplicationWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerVDiffHandler := connect.NewUnaryHandler( + TabletManagerVDiffProcedure, + svc.VDiff, + connect.WithSchema(tabletManagerVDiffMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerResetReplicationHandler := connect.NewUnaryHandler( + TabletManagerResetReplicationProcedure, + svc.ResetReplication, + connect.WithSchema(tabletManagerResetReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerInitPrimaryHandler := connect.NewUnaryHandler( + TabletManagerInitPrimaryProcedure, + svc.InitPrimary, + connect.WithSchema(tabletManagerInitPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerPopulateReparentJournalHandler := connect.NewUnaryHandler( + TabletManagerPopulateReparentJournalProcedure, + svc.PopulateReparentJournal, + connect.WithSchema(tabletManagerPopulateReparentJournalMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerInitReplicaHandler := connect.NewUnaryHandler( + TabletManagerInitReplicaProcedure, + svc.InitReplica, + connect.WithSchema(tabletManagerInitReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerDemotePrimaryHandler := connect.NewUnaryHandler( + TabletManagerDemotePrimaryProcedure, + svc.DemotePrimary, + connect.WithSchema(tabletManagerDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerUndoDemotePrimaryHandler := connect.NewUnaryHandler( + TabletManagerUndoDemotePrimaryProcedure, + svc.UndoDemotePrimary, + connect.WithSchema(tabletManagerUndoDemotePrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReplicaWasPromotedHandler := connect.NewUnaryHandler( + TabletManagerReplicaWasPromotedProcedure, + svc.ReplicaWasPromoted, + connect.WithSchema(tabletManagerReplicaWasPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerResetReplicationParametersHandler := connect.NewUnaryHandler( + TabletManagerResetReplicationParametersProcedure, + svc.ResetReplicationParameters, + connect.WithSchema(tabletManagerResetReplicationParametersMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerFullStatusHandler := connect.NewUnaryHandler( + TabletManagerFullStatusProcedure, + svc.FullStatus, + connect.WithSchema(tabletManagerFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerSetReplicationSourceHandler := connect.NewUnaryHandler( + TabletManagerSetReplicationSourceProcedure, + svc.SetReplicationSource, + connect.WithSchema(tabletManagerSetReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerReplicaWasRestartedHandler := connect.NewUnaryHandler( + TabletManagerReplicaWasRestartedProcedure, + svc.ReplicaWasRestarted, + connect.WithSchema(tabletManagerReplicaWasRestartedMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerStopReplicationAndGetStatusHandler := connect.NewUnaryHandler( + TabletManagerStopReplicationAndGetStatusProcedure, + svc.StopReplicationAndGetStatus, + connect.WithSchema(tabletManagerStopReplicationAndGetStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerPromoteReplicaHandler := connect.NewUnaryHandler( + TabletManagerPromoteReplicaProcedure, + svc.PromoteReplica, + connect.WithSchema(tabletManagerPromoteReplicaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerBackupHandler := connect.NewServerStreamHandler( + TabletManagerBackupProcedure, + svc.Backup, + connect.WithSchema(tabletManagerBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerRestoreFromBackupHandler := connect.NewServerStreamHandler( + TabletManagerRestoreFromBackupProcedure, + svc.RestoreFromBackup, + connect.WithSchema(tabletManagerRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + tabletManagerCheckThrottlerHandler := connect.NewUnaryHandler( + TabletManagerCheckThrottlerProcedure, + svc.CheckThrottler, + connect.WithSchema(tabletManagerCheckThrottlerMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/tabletmanagerservice.TabletManager/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case TabletManagerPingProcedure: + tabletManagerPingHandler.ServeHTTP(w, r) + case TabletManagerSleepProcedure: + tabletManagerSleepHandler.ServeHTTP(w, r) + case TabletManagerExecuteHookProcedure: + tabletManagerExecuteHookHandler.ServeHTTP(w, r) + case TabletManagerGetSchemaProcedure: + tabletManagerGetSchemaHandler.ServeHTTP(w, r) + case TabletManagerGetPermissionsProcedure: + tabletManagerGetPermissionsHandler.ServeHTTP(w, r) + case TabletManagerSetReadOnlyProcedure: + tabletManagerSetReadOnlyHandler.ServeHTTP(w, r) + case TabletManagerSetReadWriteProcedure: + tabletManagerSetReadWriteHandler.ServeHTTP(w, r) + case TabletManagerChangeTypeProcedure: + tabletManagerChangeTypeHandler.ServeHTTP(w, r) + case TabletManagerRefreshStateProcedure: + tabletManagerRefreshStateHandler.ServeHTTP(w, r) + case TabletManagerRunHealthCheckProcedure: + tabletManagerRunHealthCheckHandler.ServeHTTP(w, r) + case TabletManagerReloadSchemaProcedure: + tabletManagerReloadSchemaHandler.ServeHTTP(w, r) + case TabletManagerPreflightSchemaProcedure: + tabletManagerPreflightSchemaHandler.ServeHTTP(w, r) + case TabletManagerApplySchemaProcedure: + tabletManagerApplySchemaHandler.ServeHTTP(w, r) + case TabletManagerResetSequencesProcedure: + tabletManagerResetSequencesHandler.ServeHTTP(w, r) + case TabletManagerLockTablesProcedure: + tabletManagerLockTablesHandler.ServeHTTP(w, r) + case TabletManagerUnlockTablesProcedure: + tabletManagerUnlockTablesHandler.ServeHTTP(w, r) + case TabletManagerExecuteQueryProcedure: + tabletManagerExecuteQueryHandler.ServeHTTP(w, r) + case TabletManagerExecuteFetchAsDbaProcedure: + tabletManagerExecuteFetchAsDbaHandler.ServeHTTP(w, r) + case TabletManagerExecuteFetchAsAllPrivsProcedure: + tabletManagerExecuteFetchAsAllPrivsHandler.ServeHTTP(w, r) + case TabletManagerExecuteFetchAsAppProcedure: + tabletManagerExecuteFetchAsAppHandler.ServeHTTP(w, r) + case TabletManagerReplicationStatusProcedure: + tabletManagerReplicationStatusHandler.ServeHTTP(w, r) + case TabletManagerPrimaryStatusProcedure: + tabletManagerPrimaryStatusHandler.ServeHTTP(w, r) + case TabletManagerPrimaryPositionProcedure: + tabletManagerPrimaryPositionHandler.ServeHTTP(w, r) + case TabletManagerWaitForPositionProcedure: + tabletManagerWaitForPositionHandler.ServeHTTP(w, r) + case TabletManagerStopReplicationProcedure: + tabletManagerStopReplicationHandler.ServeHTTP(w, r) + case TabletManagerStopReplicationMinimumProcedure: + tabletManagerStopReplicationMinimumHandler.ServeHTTP(w, r) + case TabletManagerStartReplicationProcedure: + tabletManagerStartReplicationHandler.ServeHTTP(w, r) + case TabletManagerStartReplicationUntilAfterProcedure: + tabletManagerStartReplicationUntilAfterHandler.ServeHTTP(w, r) + case TabletManagerGetReplicasProcedure: + tabletManagerGetReplicasHandler.ServeHTTP(w, r) + case TabletManagerCreateVReplicationWorkflowProcedure: + tabletManagerCreateVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerDeleteVReplicationWorkflowProcedure: + tabletManagerDeleteVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerReadVReplicationWorkflowProcedure: + tabletManagerReadVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerVReplicationExecProcedure: + tabletManagerVReplicationExecHandler.ServeHTTP(w, r) + case TabletManagerVReplicationWaitForPosProcedure: + tabletManagerVReplicationWaitForPosHandler.ServeHTTP(w, r) + case TabletManagerUpdateVReplicationWorkflowProcedure: + tabletManagerUpdateVReplicationWorkflowHandler.ServeHTTP(w, r) + case TabletManagerVDiffProcedure: + tabletManagerVDiffHandler.ServeHTTP(w, r) + case TabletManagerResetReplicationProcedure: + tabletManagerResetReplicationHandler.ServeHTTP(w, r) + case TabletManagerInitPrimaryProcedure: + tabletManagerInitPrimaryHandler.ServeHTTP(w, r) + case TabletManagerPopulateReparentJournalProcedure: + tabletManagerPopulateReparentJournalHandler.ServeHTTP(w, r) + case TabletManagerInitReplicaProcedure: + tabletManagerInitReplicaHandler.ServeHTTP(w, r) + case TabletManagerDemotePrimaryProcedure: + tabletManagerDemotePrimaryHandler.ServeHTTP(w, r) + case TabletManagerUndoDemotePrimaryProcedure: + tabletManagerUndoDemotePrimaryHandler.ServeHTTP(w, r) + case TabletManagerReplicaWasPromotedProcedure: + tabletManagerReplicaWasPromotedHandler.ServeHTTP(w, r) + case TabletManagerResetReplicationParametersProcedure: + tabletManagerResetReplicationParametersHandler.ServeHTTP(w, r) + case TabletManagerFullStatusProcedure: + tabletManagerFullStatusHandler.ServeHTTP(w, r) + case TabletManagerSetReplicationSourceProcedure: + tabletManagerSetReplicationSourceHandler.ServeHTTP(w, r) + case TabletManagerReplicaWasRestartedProcedure: + tabletManagerReplicaWasRestartedHandler.ServeHTTP(w, r) + case TabletManagerStopReplicationAndGetStatusProcedure: + tabletManagerStopReplicationAndGetStatusHandler.ServeHTTP(w, r) + case TabletManagerPromoteReplicaProcedure: + tabletManagerPromoteReplicaHandler.ServeHTTP(w, r) + case TabletManagerBackupProcedure: + tabletManagerBackupHandler.ServeHTTP(w, r) + case TabletManagerRestoreFromBackupProcedure: + tabletManagerRestoreFromBackupHandler.ServeHTTP(w, r) + case TabletManagerCheckThrottlerProcedure: + tabletManagerCheckThrottlerHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedTabletManagerHandler returns CodeUnimplemented from all methods. +type UnimplementedTabletManagerHandler struct{} + +func (UnimplementedTabletManagerHandler) Ping(context.Context, *connect.Request[v191.PingRequest]) (*connect.Response[v191.PingResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Ping is not implemented")) +} + +func (UnimplementedTabletManagerHandler) Sleep(context.Context, *connect.Request[v191.SleepRequest]) (*connect.Response[v191.SleepResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Sleep is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ExecuteHook(context.Context, *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteHook is not implemented")) +} + +func (UnimplementedTabletManagerHandler) GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetSchema is not implemented")) +} + +func (UnimplementedTabletManagerHandler) GetPermissions(context.Context, *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetPermissions is not implemented")) +} + +func (UnimplementedTabletManagerHandler) SetReadOnly(context.Context, *connect.Request[v191.SetReadOnlyRequest]) (*connect.Response[v191.SetReadOnlyResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadOnly is not implemented")) +} + +func (UnimplementedTabletManagerHandler) SetReadWrite(context.Context, *connect.Request[v191.SetReadWriteRequest]) (*connect.Response[v191.SetReadWriteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReadWrite is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ChangeType(context.Context, *connect.Request[v191.ChangeTypeRequest]) (*connect.Response[v191.ChangeTypeResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ChangeType is not implemented")) +} + +func (UnimplementedTabletManagerHandler) RefreshState(context.Context, *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RefreshState is not implemented")) +} + +func (UnimplementedTabletManagerHandler) RunHealthCheck(context.Context, *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RunHealthCheck is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ReloadSchema(context.Context, *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReloadSchema is not implemented")) +} + +func (UnimplementedTabletManagerHandler) PreflightSchema(context.Context, *connect.Request[v191.PreflightSchemaRequest]) (*connect.Response[v191.PreflightSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PreflightSchema is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ApplySchema(context.Context, *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ApplySchema is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ResetSequences(context.Context, *connect.Request[v191.ResetSequencesRequest]) (*connect.Response[v191.ResetSequencesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetSequences is not implemented")) +} + +func (UnimplementedTabletManagerHandler) LockTables(context.Context, *connect.Request[v191.LockTablesRequest]) (*connect.Response[v191.LockTablesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.LockTables is not implemented")) +} + +func (UnimplementedTabletManagerHandler) UnlockTables(context.Context, *connect.Request[v191.UnlockTablesRequest]) (*connect.Response[v191.UnlockTablesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UnlockTables is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ExecuteQuery(context.Context, *connect.Request[v191.ExecuteQueryRequest]) (*connect.Response[v191.ExecuteQueryResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteQuery is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ExecuteFetchAsDba(context.Context, *connect.Request[v191.ExecuteFetchAsDbaRequest]) (*connect.Response[v191.ExecuteFetchAsDbaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsDba is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ExecuteFetchAsAllPrivs(context.Context, *connect.Request[v191.ExecuteFetchAsAllPrivsRequest]) (*connect.Response[v191.ExecuteFetchAsAllPrivsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ExecuteFetchAsApp is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ReplicationStatus(context.Context, *connect.Request[v191.ReplicationStatusRequest]) (*connect.Response[v191.ReplicationStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicationStatus is not implemented")) +} + +func (UnimplementedTabletManagerHandler) PrimaryStatus(context.Context, *connect.Request[v191.PrimaryStatusRequest]) (*connect.Response[v191.PrimaryStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryStatus is not implemented")) +} + +func (UnimplementedTabletManagerHandler) PrimaryPosition(context.Context, *connect.Request[v191.PrimaryPositionRequest]) (*connect.Response[v191.PrimaryPositionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PrimaryPosition is not implemented")) +} + +func (UnimplementedTabletManagerHandler) WaitForPosition(context.Context, *connect.Request[v191.WaitForPositionRequest]) (*connect.Response[v191.WaitForPositionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.WaitForPosition is not implemented")) +} + +func (UnimplementedTabletManagerHandler) StopReplication(context.Context, *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplication is not implemented")) +} + +func (UnimplementedTabletManagerHandler) StopReplicationMinimum(context.Context, *connect.Request[v191.StopReplicationMinimumRequest]) (*connect.Response[v191.StopReplicationMinimumResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationMinimum is not implemented")) +} + +func (UnimplementedTabletManagerHandler) StartReplication(context.Context, *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplication is not implemented")) +} + +func (UnimplementedTabletManagerHandler) StartReplicationUntilAfter(context.Context, *connect.Request[v191.StartReplicationUntilAfterRequest]) (*connect.Response[v191.StartReplicationUntilAfterResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StartReplicationUntilAfter is not implemented")) +} + +func (UnimplementedTabletManagerHandler) GetReplicas(context.Context, *connect.Request[v191.GetReplicasRequest]) (*connect.Response[v191.GetReplicasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.GetReplicas is not implemented")) +} + +func (UnimplementedTabletManagerHandler) CreateVReplicationWorkflow(context.Context, *connect.Request[v191.CreateVReplicationWorkflowRequest]) (*connect.Response[v191.CreateVReplicationWorkflowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.CreateVReplicationWorkflow is not implemented")) +} + +func (UnimplementedTabletManagerHandler) DeleteVReplicationWorkflow(context.Context, *connect.Request[v191.DeleteVReplicationWorkflowRequest]) (*connect.Response[v191.DeleteVReplicationWorkflowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ReadVReplicationWorkflow(context.Context, *connect.Request[v191.ReadVReplicationWorkflowRequest]) (*connect.Response[v191.ReadVReplicationWorkflowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReadVReplicationWorkflow is not implemented")) +} + +func (UnimplementedTabletManagerHandler) VReplicationExec(context.Context, *connect.Request[v191.VReplicationExecRequest]) (*connect.Response[v191.VReplicationExecResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationExec is not implemented")) +} + +func (UnimplementedTabletManagerHandler) VReplicationWaitForPos(context.Context, *connect.Request[v191.VReplicationWaitForPosRequest]) (*connect.Response[v191.VReplicationWaitForPosResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VReplicationWaitForPos is not implemented")) +} + +func (UnimplementedTabletManagerHandler) UpdateVReplicationWorkflow(context.Context, *connect.Request[v191.UpdateVReplicationWorkflowRequest]) (*connect.Response[v191.UpdateVReplicationWorkflowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow is not implemented")) +} + +func (UnimplementedTabletManagerHandler) VDiff(context.Context, *connect.Request[v191.VDiffRequest]) (*connect.Response[v191.VDiffResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.VDiff is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ResetReplication(context.Context, *connect.Request[v191.ResetReplicationRequest]) (*connect.Response[v191.ResetReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplication is not implemented")) +} + +func (UnimplementedTabletManagerHandler) InitPrimary(context.Context, *connect.Request[v191.InitPrimaryRequest]) (*connect.Response[v191.InitPrimaryResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitPrimary is not implemented")) +} + +func (UnimplementedTabletManagerHandler) PopulateReparentJournal(context.Context, *connect.Request[v191.PopulateReparentJournalRequest]) (*connect.Response[v191.PopulateReparentJournalResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PopulateReparentJournal is not implemented")) +} + +func (UnimplementedTabletManagerHandler) InitReplica(context.Context, *connect.Request[v191.InitReplicaRequest]) (*connect.Response[v191.InitReplicaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.InitReplica is not implemented")) +} + +func (UnimplementedTabletManagerHandler) DemotePrimary(context.Context, *connect.Request[v191.DemotePrimaryRequest]) (*connect.Response[v191.DemotePrimaryResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.DemotePrimary is not implemented")) +} + +func (UnimplementedTabletManagerHandler) UndoDemotePrimary(context.Context, *connect.Request[v191.UndoDemotePrimaryRequest]) (*connect.Response[v191.UndoDemotePrimaryResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.UndoDemotePrimary is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ReplicaWasPromoted(context.Context, *connect.Request[v191.ReplicaWasPromotedRequest]) (*connect.Response[v191.ReplicaWasPromotedResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasPromoted is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ResetReplicationParameters(context.Context, *connect.Request[v191.ResetReplicationParametersRequest]) (*connect.Response[v191.ResetReplicationParametersResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ResetReplicationParameters is not implemented")) +} + +func (UnimplementedTabletManagerHandler) FullStatus(context.Context, *connect.Request[v191.FullStatusRequest]) (*connect.Response[v191.FullStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.FullStatus is not implemented")) +} + +func (UnimplementedTabletManagerHandler) SetReplicationSource(context.Context, *connect.Request[v191.SetReplicationSourceRequest]) (*connect.Response[v191.SetReplicationSourceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.SetReplicationSource is not implemented")) +} + +func (UnimplementedTabletManagerHandler) ReplicaWasRestarted(context.Context, *connect.Request[v191.ReplicaWasRestartedRequest]) (*connect.Response[v191.ReplicaWasRestartedResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.ReplicaWasRestarted is not implemented")) +} + +func (UnimplementedTabletManagerHandler) StopReplicationAndGetStatus(context.Context, *connect.Request[v191.StopReplicationAndGetStatusRequest]) (*connect.Response[v191.StopReplicationAndGetStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.StopReplicationAndGetStatus is not implemented")) +} + +func (UnimplementedTabletManagerHandler) PromoteReplica(context.Context, *connect.Request[v191.PromoteReplicaRequest]) (*connect.Response[v191.PromoteReplicaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.PromoteReplica is not implemented")) +} + +func (UnimplementedTabletManagerHandler) Backup(context.Context, *connect.Request[v191.BackupRequest], *connect.ServerStream[v191.BackupResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.Backup is not implemented")) +} + +func (UnimplementedTabletManagerHandler) RestoreFromBackup(context.Context, *connect.Request[v191.RestoreFromBackupRequest], *connect.ServerStream[v191.RestoreFromBackupResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.RestoreFromBackup is not implemented")) +} + +func (UnimplementedTabletManagerHandler) CheckThrottler(context.Context, *connect.Request[v191.CheckThrottlerRequest]) (*connect.Response[v191.CheckThrottlerResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("tabletmanagerservice.TabletManager.CheckThrottler is not implemented")) +} diff --git a/gen/vitess/throttlerdata/dev/throttlerdata.pb.go b/gen/vitess/throttlerdata/dev/throttlerdata.pb.go index 0dbe8e4..27642f8 100644 --- a/gen/vitess/throttlerdata/dev/throttlerdata.pb.go +++ b/gen/vitess/throttlerdata/dev/throttlerdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerdata/dev/throttlerdata.proto @@ -895,7 +895,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_rawDescGZIP() []byte { } var file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_vitess_throttlerdata_dev_throttlerdata_proto_goTypes = []interface{}{ +var file_vitess_throttlerdata_dev_throttlerdata_proto_goTypes = []any{ (*MaxRatesRequest)(nil), // 0: vitess.throttlerdata.dev.MaxRatesRequest (*MaxRatesResponse)(nil), // 1: vitess.throttlerdata.dev.MaxRatesResponse (*SetMaxRateRequest)(nil), // 2: vitess.throttlerdata.dev.SetMaxRateRequest @@ -928,7 +928,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesRequest); i { case 0: return &v.state @@ -940,7 +940,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesResponse); i { case 0: return &v.state @@ -952,7 +952,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateRequest); i { case 0: return &v.state @@ -964,7 +964,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateResponse); i { case 0: return &v.state @@ -976,7 +976,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Configuration); i { case 0: return &v.state @@ -988,7 +988,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationRequest); i { case 0: return &v.state @@ -1000,7 +1000,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationResponse); i { case 0: return &v.state @@ -1012,7 +1012,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationRequest); i { case 0: return &v.state @@ -1024,7 +1024,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationResponse); i { case 0: return &v.state @@ -1036,7 +1036,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationRequest); i { case 0: return &v.state @@ -1048,7 +1048,7 @@ func file_vitess_throttlerdata_dev_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_dev_throttlerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationResponse); i { case 0: return &v.state diff --git a/gen/vitess/throttlerdata/v16/throttlerdata.pb.go b/gen/vitess/throttlerdata/v16/throttlerdata.pb.go index d4a9733..c10ad22 100644 --- a/gen/vitess/throttlerdata/v16/throttlerdata.pb.go +++ b/gen/vitess/throttlerdata/v16/throttlerdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerdata/v16/throttlerdata.proto @@ -895,7 +895,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_rawDescGZIP() []byte { } var file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_vitess_throttlerdata_v16_throttlerdata_proto_goTypes = []interface{}{ +var file_vitess_throttlerdata_v16_throttlerdata_proto_goTypes = []any{ (*MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v16.MaxRatesRequest (*MaxRatesResponse)(nil), // 1: vitess.throttlerdata.v16.MaxRatesResponse (*SetMaxRateRequest)(nil), // 2: vitess.throttlerdata.v16.SetMaxRateRequest @@ -928,7 +928,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesRequest); i { case 0: return &v.state @@ -940,7 +940,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesResponse); i { case 0: return &v.state @@ -952,7 +952,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateRequest); i { case 0: return &v.state @@ -964,7 +964,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateResponse); i { case 0: return &v.state @@ -976,7 +976,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Configuration); i { case 0: return &v.state @@ -988,7 +988,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationRequest); i { case 0: return &v.state @@ -1000,7 +1000,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationResponse); i { case 0: return &v.state @@ -1012,7 +1012,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationRequest); i { case 0: return &v.state @@ -1024,7 +1024,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationResponse); i { case 0: return &v.state @@ -1036,7 +1036,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationRequest); i { case 0: return &v.state @@ -1048,7 +1048,7 @@ func file_vitess_throttlerdata_v16_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v16_throttlerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationResponse); i { case 0: return &v.state diff --git a/gen/vitess/throttlerdata/v17/throttlerdata.pb.go b/gen/vitess/throttlerdata/v17/throttlerdata.pb.go index 6ad34d0..2ad94e4 100644 --- a/gen/vitess/throttlerdata/v17/throttlerdata.pb.go +++ b/gen/vitess/throttlerdata/v17/throttlerdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerdata/v17/throttlerdata.proto @@ -895,7 +895,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_rawDescGZIP() []byte { } var file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_vitess_throttlerdata_v17_throttlerdata_proto_goTypes = []interface{}{ +var file_vitess_throttlerdata_v17_throttlerdata_proto_goTypes = []any{ (*MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v17.MaxRatesRequest (*MaxRatesResponse)(nil), // 1: vitess.throttlerdata.v17.MaxRatesResponse (*SetMaxRateRequest)(nil), // 2: vitess.throttlerdata.v17.SetMaxRateRequest @@ -928,7 +928,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesRequest); i { case 0: return &v.state @@ -940,7 +940,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesResponse); i { case 0: return &v.state @@ -952,7 +952,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateRequest); i { case 0: return &v.state @@ -964,7 +964,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateResponse); i { case 0: return &v.state @@ -976,7 +976,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Configuration); i { case 0: return &v.state @@ -988,7 +988,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationRequest); i { case 0: return &v.state @@ -1000,7 +1000,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationResponse); i { case 0: return &v.state @@ -1012,7 +1012,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationRequest); i { case 0: return &v.state @@ -1024,7 +1024,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationResponse); i { case 0: return &v.state @@ -1036,7 +1036,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationRequest); i { case 0: return &v.state @@ -1048,7 +1048,7 @@ func file_vitess_throttlerdata_v17_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v17_throttlerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationResponse); i { case 0: return &v.state diff --git a/gen/vitess/throttlerdata/v18/throttlerdata.pb.go b/gen/vitess/throttlerdata/v18/throttlerdata.pb.go index 40270ca..8d79dc1 100644 --- a/gen/vitess/throttlerdata/v18/throttlerdata.pb.go +++ b/gen/vitess/throttlerdata/v18/throttlerdata.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerdata/v18/throttlerdata.proto @@ -895,7 +895,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_rawDescGZIP() []byte { } var file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_vitess_throttlerdata_v18_throttlerdata_proto_goTypes = []interface{}{ +var file_vitess_throttlerdata_v18_throttlerdata_proto_goTypes = []any{ (*MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v18.MaxRatesRequest (*MaxRatesResponse)(nil), // 1: vitess.throttlerdata.v18.MaxRatesResponse (*SetMaxRateRequest)(nil), // 2: vitess.throttlerdata.v18.SetMaxRateRequest @@ -928,7 +928,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesRequest); i { case 0: return &v.state @@ -940,7 +940,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*MaxRatesResponse); i { case 0: return &v.state @@ -952,7 +952,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateRequest); i { case 0: return &v.state @@ -964,7 +964,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SetMaxRateResponse); i { case 0: return &v.state @@ -976,7 +976,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Configuration); i { case 0: return &v.state @@ -988,7 +988,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationRequest); i { case 0: return &v.state @@ -1000,7 +1000,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetConfigurationResponse); i { case 0: return &v.state @@ -1012,7 +1012,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationRequest); i { case 0: return &v.state @@ -1024,7 +1024,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*UpdateConfigurationResponse); i { case 0: return &v.state @@ -1036,7 +1036,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationRequest); i { case 0: return &v.state @@ -1048,7 +1048,7 @@ func file_vitess_throttlerdata_v18_throttlerdata_proto_init() { return nil } } - file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_throttlerdata_v18_throttlerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ResetConfigurationResponse); i { case 0: return &v.state diff --git a/gen/vitess/throttlerdata/v19/throttlerdata.pb.go b/gen/vitess/throttlerdata/v19/throttlerdata.pb.go new file mode 100644 index 0000000..b567a1d --- /dev/null +++ b/gen/vitess/throttlerdata/v19/throttlerdata.pb.go @@ -0,0 +1,1082 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// Data structures for the throttler RPC interface. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/throttlerdata/v19/throttlerdata.proto + +package throttlerdatav19 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MaxRatesRequest is the payload for the MaxRates RPC. +type MaxRatesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MaxRatesRequest) Reset() { + *x = MaxRatesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaxRatesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaxRatesRequest) ProtoMessage() {} + +func (x *MaxRatesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaxRatesRequest.ProtoReflect.Descriptor instead. +func (*MaxRatesRequest) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{0} +} + +// MaxRatesResponse is returned by the MaxRates RPC. +type MaxRatesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // max_rates returns the max rate for each throttler. It's keyed by the + // throttler name. + Rates map[string]int64 `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *MaxRatesResponse) Reset() { + *x = MaxRatesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaxRatesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaxRatesResponse) ProtoMessage() {} + +func (x *MaxRatesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaxRatesResponse.ProtoReflect.Descriptor instead. +func (*MaxRatesResponse) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{1} +} + +func (x *MaxRatesResponse) GetRates() map[string]int64 { + if x != nil { + return x.Rates + } + return nil +} + +// SetMaxRateRequest is the payload for the SetMaxRate RPC. +type SetMaxRateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rate int64 `protobuf:"varint,1,opt,name=rate,proto3" json:"rate,omitempty"` +} + +func (x *SetMaxRateRequest) Reset() { + *x = SetMaxRateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMaxRateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMaxRateRequest) ProtoMessage() {} + +func (x *SetMaxRateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetMaxRateRequest.ProtoReflect.Descriptor instead. +func (*SetMaxRateRequest) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{2} +} + +func (x *SetMaxRateRequest) GetRate() int64 { + if x != nil { + return x.Rate + } + return 0 +} + +// SetMaxRateResponse is returned by the SetMaxRate RPC. +type SetMaxRateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // names is the list of throttler names which were updated. + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *SetMaxRateResponse) Reset() { + *x = SetMaxRateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMaxRateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMaxRateResponse) ProtoMessage() {} + +func (x *SetMaxRateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetMaxRateResponse.ProtoReflect.Descriptor instead. +func (*SetMaxRateResponse) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{3} +} + +func (x *SetMaxRateResponse) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +// Configuration holds the configuration parameters for the +// MaxReplicationLagModule which adaptively adjusts the throttling rate based on +// the observed replication lag across all replicas. +type Configuration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // target_replication_lag_sec is the replication lag (in seconds) the + // MaxReplicationLagModule tries to aim for. + // If it is within the target, it tries to increase the throttler + // rate, otherwise it will lower it based on an educated guess of the + // replica's throughput. + TargetReplicationLagSec int64 `protobuf:"varint,1,opt,name=target_replication_lag_sec,json=targetReplicationLagSec,proto3" json:"target_replication_lag_sec,omitempty"` + // max_replication_lag_sec is meant as a last resort. + // By default, the module tries to find out the system maximum capacity while + // trying to keep the replication lag around "target_replication_lag_sec". + // Usually, we'll wait min_duration_between_(increases|decreases)_sec to see + // the effect of a throttler rate change on the replication lag. + // But if the lag goes above this field's value we will go into an "emergency" + // state and throttle more aggressively (see "emergency_decrease" below). + // This is the only way to ensure that the system will recover. + MaxReplicationLagSec int64 `protobuf:"varint,2,opt,name=max_replication_lag_sec,json=maxReplicationLagSec,proto3" json:"max_replication_lag_sec,omitempty"` + // initial_rate is the rate at which the module will start. + InitialRate int64 `protobuf:"varint,3,opt,name=initial_rate,json=initialRate,proto3" json:"initial_rate,omitempty"` + // max_increase defines by how much we will increase the rate + // e.g. 0.05 increases the rate by 5% while 1.0 by 100%. + // Note that any increase will let the system wait for at least + // (1 / MaxIncrease) seconds. If we wait for shorter periods of time, we + // won't notice if the rate increase also increases the replication lag. + // (If the system was already at its maximum capacity (e.g. 1k QPS) and we + // increase the rate by e.g. 5% to 1050 QPS, it will take 20 seconds until + // 1000 extra queries are buffered and the lag increases by 1 second.) + MaxIncrease float64 `protobuf:"fixed64,4,opt,name=max_increase,json=maxIncrease,proto3" json:"max_increase,omitempty"` + // emergency_decrease defines by how much we will decrease the current rate + // if the observed replication lag is above "max_replication_lag_sec". + // E.g. 0.50 decreases the current rate by 50%. + EmergencyDecrease float64 `protobuf:"fixed64,5,opt,name=emergency_decrease,json=emergencyDecrease,proto3" json:"emergency_decrease,omitempty"` + // min_duration_between_increases_sec specifies how long we'll wait at least + // for the last rate increase to have an effect on the system. + MinDurationBetweenIncreasesSec int64 `protobuf:"varint,6,opt,name=min_duration_between_increases_sec,json=minDurationBetweenIncreasesSec,proto3" json:"min_duration_between_increases_sec,omitempty"` + // max_duration_between_increases_sec specifies how long we'll wait at most + // for the last rate increase to have an effect on the system. + MaxDurationBetweenIncreasesSec int64 `protobuf:"varint,7,opt,name=max_duration_between_increases_sec,json=maxDurationBetweenIncreasesSec,proto3" json:"max_duration_between_increases_sec,omitempty"` + // min_duration_between_decreases_sec specifies how long we'll wait at least + // for the last rate decrease to have an effect on the system. + MinDurationBetweenDecreasesSec int64 `protobuf:"varint,8,opt,name=min_duration_between_decreases_sec,json=minDurationBetweenDecreasesSec,proto3" json:"min_duration_between_decreases_sec,omitempty"` + // spread_backlog_across_sec is used when we set the throttler rate after + // we guessed the rate of a replica and determined its backlog. + // For example, at a guessed rate of 100 QPS and a lag of 10s, the replica has + // a backlog of 1000 queries. + // When we set the new, decreased throttler rate, we factor in how long it + // will take the replica to go through the backlog (in addition to new + // requests). This field specifies over which timespan we plan to spread this. + // For example, for a backlog of 1000 queries spread over 5s means that we + // have to further reduce the rate by 200 QPS or the backlog will not be + // processed within the 5 seconds. + SpreadBacklogAcrossSec int64 `protobuf:"varint,9,opt,name=spread_backlog_across_sec,json=spreadBacklogAcrossSec,proto3" json:"spread_backlog_across_sec,omitempty"` + // ignore_n_slowest_replicas will ignore replication lag updates from the + // N slowest REPLICA tablets. Under certain circumstances, replicas are still + // considered e.g. a) if the lag is at most max_replication_lag_sec, b) there + // are less than N+1 replicas or c) the lag increased on each replica such + // that all replicas were ignored in a row. + IgnoreNSlowestReplicas int32 `protobuf:"varint,10,opt,name=ignore_n_slowest_replicas,json=ignoreNSlowestReplicas,proto3" json:"ignore_n_slowest_replicas,omitempty"` + // ignore_n_slowest_rdonlys does the same thing as ignore_n_slowest_replicas + // but for RDONLY tablets. Note that these two settings are independent. + IgnoreNSlowestRdonlys int32 `protobuf:"varint,11,opt,name=ignore_n_slowest_rdonlys,json=ignoreNSlowestRdonlys,proto3" json:"ignore_n_slowest_rdonlys,omitempty"` + // age_bad_rate_after_sec is the duration after which an unchanged bad rate + // will "age out" and increase by "bad_rate_increase". + // Bad rates are tracked by the code in memory.go and serve as an upper bound + // for future rate changes. This ensures that the adaptive throttler does not + // try known too high (bad) rates over and over again. + // To avoid that temporary degradations permanently reduce the maximum rate, + // a stable bad rate "ages out" after "age_bad_rate_after_sec". + AgeBadRateAfterSec int64 `protobuf:"varint,12,opt,name=age_bad_rate_after_sec,json=ageBadRateAfterSec,proto3" json:"age_bad_rate_after_sec,omitempty"` + // bad_rate_increase defines the percentage by which a bad rate will be + // increased when it's aging out. + BadRateIncrease float64 `protobuf:"fixed64,13,opt,name=bad_rate_increase,json=badRateIncrease,proto3" json:"bad_rate_increase,omitempty"` + // max_rate_approach_threshold is the fraction of the current rate limit that the actual + // rate must exceed for the throttler to increase the limit when the replication lag + // is below target_replication_lag_sec. For example, assuming the actual replication lag + // is below target_replication_lag_sec, if the current rate limit is 100, then the actual + // rate must exceed 100*max_rate_approach_threshold for the throttler to increase the current + // limit. + MaxRateApproachThreshold float64 `protobuf:"fixed64,14,opt,name=max_rate_approach_threshold,json=maxRateApproachThreshold,proto3" json:"max_rate_approach_threshold,omitempty"` +} + +func (x *Configuration) Reset() { + *x = Configuration{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Configuration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Configuration) ProtoMessage() {} + +func (x *Configuration) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Configuration.ProtoReflect.Descriptor instead. +func (*Configuration) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{4} +} + +func (x *Configuration) GetTargetReplicationLagSec() int64 { + if x != nil { + return x.TargetReplicationLagSec + } + return 0 +} + +func (x *Configuration) GetMaxReplicationLagSec() int64 { + if x != nil { + return x.MaxReplicationLagSec + } + return 0 +} + +func (x *Configuration) GetInitialRate() int64 { + if x != nil { + return x.InitialRate + } + return 0 +} + +func (x *Configuration) GetMaxIncrease() float64 { + if x != nil { + return x.MaxIncrease + } + return 0 +} + +func (x *Configuration) GetEmergencyDecrease() float64 { + if x != nil { + return x.EmergencyDecrease + } + return 0 +} + +func (x *Configuration) GetMinDurationBetweenIncreasesSec() int64 { + if x != nil { + return x.MinDurationBetweenIncreasesSec + } + return 0 +} + +func (x *Configuration) GetMaxDurationBetweenIncreasesSec() int64 { + if x != nil { + return x.MaxDurationBetweenIncreasesSec + } + return 0 +} + +func (x *Configuration) GetMinDurationBetweenDecreasesSec() int64 { + if x != nil { + return x.MinDurationBetweenDecreasesSec + } + return 0 +} + +func (x *Configuration) GetSpreadBacklogAcrossSec() int64 { + if x != nil { + return x.SpreadBacklogAcrossSec + } + return 0 +} + +func (x *Configuration) GetIgnoreNSlowestReplicas() int32 { + if x != nil { + return x.IgnoreNSlowestReplicas + } + return 0 +} + +func (x *Configuration) GetIgnoreNSlowestRdonlys() int32 { + if x != nil { + return x.IgnoreNSlowestRdonlys + } + return 0 +} + +func (x *Configuration) GetAgeBadRateAfterSec() int64 { + if x != nil { + return x.AgeBadRateAfterSec + } + return 0 +} + +func (x *Configuration) GetBadRateIncrease() float64 { + if x != nil { + return x.BadRateIncrease + } + return 0 +} + +func (x *Configuration) GetMaxRateApproachThreshold() float64 { + if x != nil { + return x.MaxRateApproachThreshold + } + return 0 +} + +// GetConfigurationRequest is the payload for the GetConfiguration RPC. +type GetConfigurationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // throttler_name specifies which throttler to select. If empty, all active + // throttlers will be selected. + ThrottlerName string `protobuf:"bytes,1,opt,name=throttler_name,json=throttlerName,proto3" json:"throttler_name,omitempty"` +} + +func (x *GetConfigurationRequest) Reset() { + *x = GetConfigurationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetConfigurationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetConfigurationRequest) ProtoMessage() {} + +func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead. +func (*GetConfigurationRequest) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{5} +} + +func (x *GetConfigurationRequest) GetThrottlerName() string { + if x != nil { + return x.ThrottlerName + } + return "" +} + +// GetConfigurationResponse is returned by the GetConfiguration RPC. +type GetConfigurationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // max_rates returns the configurations for each throttler. + // It's keyed by the throttler name. + Configurations map[string]*Configuration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetConfigurationResponse) Reset() { + *x = GetConfigurationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetConfigurationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetConfigurationResponse) ProtoMessage() {} + +func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetConfigurationResponse.ProtoReflect.Descriptor instead. +func (*GetConfigurationResponse) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{6} +} + +func (x *GetConfigurationResponse) GetConfigurations() map[string]*Configuration { + if x != nil { + return x.Configurations + } + return nil +} + +// UpdateConfigurationRequest is the payload for the UpdateConfiguration RPC. +type UpdateConfigurationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // throttler_name specifies which throttler to update. If empty, all active + // throttlers will be updated. + ThrottlerName string `protobuf:"bytes,1,opt,name=throttler_name,json=throttlerName,proto3" json:"throttler_name,omitempty"` + // configuration is the new (partial) configuration. + Configuration *Configuration `protobuf:"bytes,2,opt,name=configuration,proto3" json:"configuration,omitempty"` + // copy_zero_values specifies whether fields with zero values should be copied + // as well. + CopyZeroValues bool `protobuf:"varint,3,opt,name=copy_zero_values,json=copyZeroValues,proto3" json:"copy_zero_values,omitempty"` +} + +func (x *UpdateConfigurationRequest) Reset() { + *x = UpdateConfigurationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateConfigurationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateConfigurationRequest) ProtoMessage() {} + +func (x *UpdateConfigurationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateConfigurationRequest.ProtoReflect.Descriptor instead. +func (*UpdateConfigurationRequest) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{7} +} + +func (x *UpdateConfigurationRequest) GetThrottlerName() string { + if x != nil { + return x.ThrottlerName + } + return "" +} + +func (x *UpdateConfigurationRequest) GetConfiguration() *Configuration { + if x != nil { + return x.Configuration + } + return nil +} + +func (x *UpdateConfigurationRequest) GetCopyZeroValues() bool { + if x != nil { + return x.CopyZeroValues + } + return false +} + +// UpdateConfigurationResponse is returned by the UpdateConfiguration RPC. +type UpdateConfigurationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // names is the list of throttler names which were updated. + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *UpdateConfigurationResponse) Reset() { + *x = UpdateConfigurationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateConfigurationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateConfigurationResponse) ProtoMessage() {} + +func (x *UpdateConfigurationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateConfigurationResponse.ProtoReflect.Descriptor instead. +func (*UpdateConfigurationResponse) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{8} +} + +func (x *UpdateConfigurationResponse) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +// ResetConfigurationRequest is the payload for the ResetConfiguration RPC. +type ResetConfigurationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // throttler_name specifies which throttler to reset. If empty, all active + // throttlers will be reset. + ThrottlerName string `protobuf:"bytes,1,opt,name=throttler_name,json=throttlerName,proto3" json:"throttler_name,omitempty"` +} + +func (x *ResetConfigurationRequest) Reset() { + *x = ResetConfigurationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetConfigurationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetConfigurationRequest) ProtoMessage() {} + +func (x *ResetConfigurationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetConfigurationRequest.ProtoReflect.Descriptor instead. +func (*ResetConfigurationRequest) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{9} +} + +func (x *ResetConfigurationRequest) GetThrottlerName() string { + if x != nil { + return x.ThrottlerName + } + return "" +} + +// ResetConfigurationResponse is returned by the ResetConfiguration RPC. +type ResetConfigurationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // names is the list of throttler names which were updated. + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *ResetConfigurationResponse) Reset() { + *x = ResetConfigurationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetConfigurationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetConfigurationResponse) ProtoMessage() {} + +func (x *ResetConfigurationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetConfigurationResponse.ProtoReflect.Descriptor instead. +func (*ResetConfigurationResponse) Descriptor() ([]byte, []int) { + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP(), []int{10} +} + +func (x *ResetConfigurationResponse) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +var File_vitess_throttlerdata_v19_throttlerdata_proto protoreflect.FileDescriptor + +var file_vitess_throttlerdata_v19_throttlerdata_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x22, 0x11, 0x0a, 0x0f, 0x4d, 0x61, 0x78, 0x52, + 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x10, + 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4b, 0x0a, 0x05, 0x72, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x61, 0x78, 0x52, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x61, 0x74, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x72, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x38, 0x0a, + 0x0a, 0x52, 0x61, 0x74, 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, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x27, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x4d, 0x61, + 0x78, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x61, 0x74, 0x65, + 0x22, 0x2a, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 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, 0xaa, 0x06, 0x0a, + 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, + 0x0a, 0x1a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, 0x65, 0x63, 0x12, 0x35, 0x0a, 0x17, 0x6d, + 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, + 0x61, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x6d, 0x61, + 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x53, + 0x65, 0x63, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x61, + 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, + 0x6c, 0x52, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x63, + 0x72, 0x65, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x6d, 0x61, 0x78, + 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x6d, 0x65, 0x72, + 0x67, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x64, 0x65, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x44, + 0x65, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x22, 0x6d, 0x69, 0x6e, 0x5f, 0x64, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x5f, + 0x69, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x1e, 0x6d, 0x69, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x73, + 0x53, 0x65, 0x63, 0x12, 0x4a, 0x0a, 0x22, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x63, 0x72, + 0x65, 0x61, 0x73, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x1e, 0x6d, 0x61, 0x78, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x65, 0x74, 0x77, + 0x65, 0x65, 0x6e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x73, 0x53, 0x65, 0x63, 0x12, + 0x4a, 0x0a, 0x22, 0x6d, 0x69, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x62, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x5f, 0x64, 0x65, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, + 0x73, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x6d, 0x69, 0x6e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x44, + 0x65, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x73, 0x53, 0x65, 0x63, 0x12, 0x39, 0x0a, 0x19, 0x73, + 0x70, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x6c, 0x6f, 0x67, 0x5f, 0x61, 0x63, + 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, + 0x73, 0x70, 0x72, 0x65, 0x61, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x6c, 0x6f, 0x67, 0x41, 0x63, 0x72, + 0x6f, 0x73, 0x73, 0x53, 0x65, 0x63, 0x12, 0x39, 0x0a, 0x19, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, + 0x5f, 0x6e, 0x5f, 0x73, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72, + 0x65, 0x4e, 0x53, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x6e, 0x5f, 0x73, 0x6c, + 0x6f, 0x77, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x73, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x15, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x4e, 0x53, 0x6c, 0x6f, 0x77, + 0x65, 0x73, 0x74, 0x52, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x73, 0x12, 0x32, 0x0a, 0x16, 0x61, 0x67, + 0x65, 0x5f, 0x62, 0x61, 0x64, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x5f, 0x73, 0x65, 0x63, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x61, 0x67, 0x65, 0x42, + 0x61, 0x64, 0x52, 0x61, 0x74, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x53, 0x65, 0x63, 0x12, 0x2a, + 0x0a, 0x11, 0x62, 0x61, 0x64, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, + 0x61, 0x73, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x62, 0x61, 0x64, 0x52, 0x61, + 0x74, 0x65, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x6d, 0x61, + 0x78, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x61, 0x63, 0x68, 0x5f, + 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x18, 0x6d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x61, 0x63, 0x68, + 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0x40, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf6, 0x01, 0x0a, 0x18, + 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x46, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x6a, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0d, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x6f, 0x70, + 0x79, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0e, 0x63, 0x6f, 0x70, 0x79, 0x5a, 0x65, 0x72, 0x6f, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x42, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, + 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x32, 0x0a, 0x1a, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 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, + 0x42, 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescOnce sync.Once + file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescData = file_vitess_throttlerdata_v19_throttlerdata_proto_rawDesc +) + +func file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescGZIP() []byte { + file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescOnce.Do(func() { + file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescData) + }) + return file_vitess_throttlerdata_v19_throttlerdata_proto_rawDescData +} + +var file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_vitess_throttlerdata_v19_throttlerdata_proto_goTypes = []any{ + (*MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v19.MaxRatesRequest + (*MaxRatesResponse)(nil), // 1: vitess.throttlerdata.v19.MaxRatesResponse + (*SetMaxRateRequest)(nil), // 2: vitess.throttlerdata.v19.SetMaxRateRequest + (*SetMaxRateResponse)(nil), // 3: vitess.throttlerdata.v19.SetMaxRateResponse + (*Configuration)(nil), // 4: vitess.throttlerdata.v19.Configuration + (*GetConfigurationRequest)(nil), // 5: vitess.throttlerdata.v19.GetConfigurationRequest + (*GetConfigurationResponse)(nil), // 6: vitess.throttlerdata.v19.GetConfigurationResponse + (*UpdateConfigurationRequest)(nil), // 7: vitess.throttlerdata.v19.UpdateConfigurationRequest + (*UpdateConfigurationResponse)(nil), // 8: vitess.throttlerdata.v19.UpdateConfigurationResponse + (*ResetConfigurationRequest)(nil), // 9: vitess.throttlerdata.v19.ResetConfigurationRequest + (*ResetConfigurationResponse)(nil), // 10: vitess.throttlerdata.v19.ResetConfigurationResponse + nil, // 11: vitess.throttlerdata.v19.MaxRatesResponse.RatesEntry + nil, // 12: vitess.throttlerdata.v19.GetConfigurationResponse.ConfigurationsEntry +} +var file_vitess_throttlerdata_v19_throttlerdata_proto_depIdxs = []int32{ + 11, // 0: vitess.throttlerdata.v19.MaxRatesResponse.rates:type_name -> vitess.throttlerdata.v19.MaxRatesResponse.RatesEntry + 12, // 1: vitess.throttlerdata.v19.GetConfigurationResponse.configurations:type_name -> vitess.throttlerdata.v19.GetConfigurationResponse.ConfigurationsEntry + 4, // 2: vitess.throttlerdata.v19.UpdateConfigurationRequest.configuration:type_name -> vitess.throttlerdata.v19.Configuration + 4, // 3: vitess.throttlerdata.v19.GetConfigurationResponse.ConfigurationsEntry.value:type_name -> vitess.throttlerdata.v19.Configuration + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_vitess_throttlerdata_v19_throttlerdata_proto_init() } +func file_vitess_throttlerdata_v19_throttlerdata_proto_init() { + if File_vitess_throttlerdata_v19_throttlerdata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*MaxRatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*MaxRatesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*SetMaxRateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*SetMaxRateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*Configuration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*GetConfigurationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*GetConfigurationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*UpdateConfigurationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*UpdateConfigurationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*ResetConfigurationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ResetConfigurationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_throttlerdata_v19_throttlerdata_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_throttlerdata_v19_throttlerdata_proto_goTypes, + DependencyIndexes: file_vitess_throttlerdata_v19_throttlerdata_proto_depIdxs, + MessageInfos: file_vitess_throttlerdata_v19_throttlerdata_proto_msgTypes, + }.Build() + File_vitess_throttlerdata_v19_throttlerdata_proto = out.File + file_vitess_throttlerdata_v19_throttlerdata_proto_rawDesc = nil + file_vitess_throttlerdata_v19_throttlerdata_proto_goTypes = nil + file_vitess_throttlerdata_v19_throttlerdata_proto_depIdxs = nil +} diff --git a/gen/vitess/throttlerdata/v19/throttlerdata_vtproto.pb.go b/gen/vitess/throttlerdata/v19/throttlerdata_vtproto.pb.go new file mode 100644 index 0000000..62c2347 --- /dev/null +++ b/gen/vitess/throttlerdata/v19/throttlerdata_vtproto.pb.go @@ -0,0 +1,2190 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/throttlerdata/v19/throttlerdata.proto + +package throttlerdatav19 + +import ( + binary "encoding/binary" + fmt "fmt" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + math "math" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *MaxRatesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MaxRatesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MaxRatesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *MaxRatesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MaxRatesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MaxRatesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Rates) > 0 { + for k := range m.Rates { + v := m.Rates[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *SetMaxRateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetMaxRateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetMaxRateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Rate != 0 { + i = encodeVarint(dAtA, i, uint64(m.Rate)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *SetMaxRateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetMaxRateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetMaxRateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Configuration) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Configuration) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Configuration) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MaxRateApproachThreshold != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MaxRateApproachThreshold)))) + i-- + dAtA[i] = 0x71 + } + if m.BadRateIncrease != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.BadRateIncrease)))) + i-- + dAtA[i] = 0x69 + } + if m.AgeBadRateAfterSec != 0 { + i = encodeVarint(dAtA, i, uint64(m.AgeBadRateAfterSec)) + i-- + dAtA[i] = 0x60 + } + if m.IgnoreNSlowestRdonlys != 0 { + i = encodeVarint(dAtA, i, uint64(m.IgnoreNSlowestRdonlys)) + i-- + dAtA[i] = 0x58 + } + if m.IgnoreNSlowestReplicas != 0 { + i = encodeVarint(dAtA, i, uint64(m.IgnoreNSlowestReplicas)) + i-- + dAtA[i] = 0x50 + } + if m.SpreadBacklogAcrossSec != 0 { + i = encodeVarint(dAtA, i, uint64(m.SpreadBacklogAcrossSec)) + i-- + dAtA[i] = 0x48 + } + if m.MinDurationBetweenDecreasesSec != 0 { + i = encodeVarint(dAtA, i, uint64(m.MinDurationBetweenDecreasesSec)) + i-- + dAtA[i] = 0x40 + } + if m.MaxDurationBetweenIncreasesSec != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxDurationBetweenIncreasesSec)) + i-- + dAtA[i] = 0x38 + } + if m.MinDurationBetweenIncreasesSec != 0 { + i = encodeVarint(dAtA, i, uint64(m.MinDurationBetweenIncreasesSec)) + i-- + dAtA[i] = 0x30 + } + if m.EmergencyDecrease != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.EmergencyDecrease)))) + i-- + dAtA[i] = 0x29 + } + if m.MaxIncrease != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MaxIncrease)))) + i-- + dAtA[i] = 0x21 + } + if m.InitialRate != 0 { + i = encodeVarint(dAtA, i, uint64(m.InitialRate)) + i-- + dAtA[i] = 0x18 + } + if m.MaxReplicationLagSec != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxReplicationLagSec)) + i-- + dAtA[i] = 0x10 + } + if m.TargetReplicationLagSec != 0 { + i = encodeVarint(dAtA, i, uint64(m.TargetReplicationLagSec)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GetConfigurationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetConfigurationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetConfigurationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ThrottlerName) > 0 { + i -= len(m.ThrottlerName) + copy(dAtA[i:], m.ThrottlerName) + i = encodeVarint(dAtA, i, uint64(len(m.ThrottlerName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetConfigurationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetConfigurationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetConfigurationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Configurations) > 0 { + for k := range m.Configurations { + v := m.Configurations[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *UpdateConfigurationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateConfigurationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateConfigurationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CopyZeroValues { + i-- + if m.CopyZeroValues { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Configuration != nil { + size, err := m.Configuration.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.ThrottlerName) > 0 { + i -= len(m.ThrottlerName) + copy(dAtA[i:], m.ThrottlerName) + i = encodeVarint(dAtA, i, uint64(len(m.ThrottlerName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateConfigurationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateConfigurationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateConfigurationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ResetConfigurationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetConfigurationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetConfigurationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ThrottlerName) > 0 { + i -= len(m.ThrottlerName) + copy(dAtA[i:], m.ThrottlerName) + i = encodeVarint(dAtA, i, uint64(len(m.ThrottlerName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResetConfigurationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetConfigurationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResetConfigurationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MaxRatesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *MaxRatesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Rates) > 0 { + for k, v := range m.Rates { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SetMaxRateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Rate != 0 { + n += 1 + sov(uint64(m.Rate)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetMaxRateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Configuration) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TargetReplicationLagSec != 0 { + n += 1 + sov(uint64(m.TargetReplicationLagSec)) + } + if m.MaxReplicationLagSec != 0 { + n += 1 + sov(uint64(m.MaxReplicationLagSec)) + } + if m.InitialRate != 0 { + n += 1 + sov(uint64(m.InitialRate)) + } + if m.MaxIncrease != 0 { + n += 9 + } + if m.EmergencyDecrease != 0 { + n += 9 + } + if m.MinDurationBetweenIncreasesSec != 0 { + n += 1 + sov(uint64(m.MinDurationBetweenIncreasesSec)) + } + if m.MaxDurationBetweenIncreasesSec != 0 { + n += 1 + sov(uint64(m.MaxDurationBetweenIncreasesSec)) + } + if m.MinDurationBetweenDecreasesSec != 0 { + n += 1 + sov(uint64(m.MinDurationBetweenDecreasesSec)) + } + if m.SpreadBacklogAcrossSec != 0 { + n += 1 + sov(uint64(m.SpreadBacklogAcrossSec)) + } + if m.IgnoreNSlowestReplicas != 0 { + n += 1 + sov(uint64(m.IgnoreNSlowestReplicas)) + } + if m.IgnoreNSlowestRdonlys != 0 { + n += 1 + sov(uint64(m.IgnoreNSlowestRdonlys)) + } + if m.AgeBadRateAfterSec != 0 { + n += 1 + sov(uint64(m.AgeBadRateAfterSec)) + } + if m.BadRateIncrease != 0 { + n += 9 + } + if m.MaxRateApproachThreshold != 0 { + n += 9 + } + n += len(m.unknownFields) + return n +} + +func (m *GetConfigurationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ThrottlerName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetConfigurationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Configurations) > 0 { + for k, v := range m.Configurations { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateConfigurationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ThrottlerName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Configuration != nil { + l = m.Configuration.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.CopyZeroValues { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateConfigurationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ResetConfigurationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ThrottlerName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ResetConfigurationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MaxRatesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MaxRatesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MaxRatesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MaxRatesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MaxRatesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MaxRatesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rates", 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.Rates == nil { + m.Rates = make(map[string]int64) + } + var mapkey string + var mapvalue int64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Rates[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetMaxRateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetMaxRateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetMaxRateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Rate", wireType) + } + m.Rate = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Rate |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetMaxRateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetMaxRateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetMaxRateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Configuration) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Configuration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Configuration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetReplicationLagSec", wireType) + } + m.TargetReplicationLagSec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TargetReplicationLagSec |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicationLagSec", wireType) + } + m.MaxReplicationLagSec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxReplicationLagSec |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitialRate", wireType) + } + m.InitialRate = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitialRate |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxIncrease", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.MaxIncrease = float64(math.Float64frombits(v)) + case 5: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field EmergencyDecrease", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.EmergencyDecrease = float64(math.Float64frombits(v)) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinDurationBetweenIncreasesSec", wireType) + } + m.MinDurationBetweenIncreasesSec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinDurationBetweenIncreasesSec |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxDurationBetweenIncreasesSec", wireType) + } + m.MaxDurationBetweenIncreasesSec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxDurationBetweenIncreasesSec |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinDurationBetweenDecreasesSec", wireType) + } + m.MinDurationBetweenDecreasesSec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinDurationBetweenDecreasesSec |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SpreadBacklogAcrossSec", wireType) + } + m.SpreadBacklogAcrossSec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SpreadBacklogAcrossSec |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IgnoreNSlowestReplicas", wireType) + } + m.IgnoreNSlowestReplicas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IgnoreNSlowestReplicas |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IgnoreNSlowestRdonlys", wireType) + } + m.IgnoreNSlowestRdonlys = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IgnoreNSlowestRdonlys |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AgeBadRateAfterSec", wireType) + } + m.AgeBadRateAfterSec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AgeBadRateAfterSec |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 13: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field BadRateIncrease", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.BadRateIncrease = float64(math.Float64frombits(v)) + case 14: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRateApproachThreshold", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.MaxRateApproachThreshold = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetConfigurationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetConfigurationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetConfigurationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottlerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ThrottlerName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetConfigurationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetConfigurationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetConfigurationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Configurations", 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.Configurations == nil { + m.Configurations = make(map[string]*Configuration) + } + var mapkey string + var mapvalue *Configuration + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Configuration{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Configurations[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateConfigurationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateConfigurationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateConfigurationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottlerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ThrottlerName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Configuration", 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.Configuration == nil { + m.Configuration = &Configuration{} + } + if err := m.Configuration.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CopyZeroValues", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CopyZeroValues = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateConfigurationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateConfigurationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateConfigurationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetConfigurationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetConfigurationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetConfigurationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottlerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ThrottlerName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetConfigurationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetConfigurationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetConfigurationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/throttlerservice/dev/throttlerservice.pb.go b/gen/vitess/throttlerservice/dev/throttlerservice.pb.go index 6ae2b13..b29fade 100644 --- a/gen/vitess/throttlerservice/dev/throttlerservice.pb.go +++ b/gen/vitess/throttlerservice/dev/throttlerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerservice/dev/throttlerservice.proto @@ -96,7 +96,7 @@ var file_vitess_throttlerservice_dev_throttlerservice_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_throttlerservice_dev_throttlerservice_proto_goTypes = []interface{}{ +var file_vitess_throttlerservice_dev_throttlerservice_proto_goTypes = []any{ (*dev.MaxRatesRequest)(nil), // 0: vitess.throttlerdata.dev.MaxRatesRequest (*dev.SetMaxRateRequest)(nil), // 1: vitess.throttlerdata.dev.SetMaxRateRequest (*dev.GetConfigurationRequest)(nil), // 2: vitess.throttlerdata.dev.GetConfigurationRequest diff --git a/gen/vitess/throttlerservice/dev/throttlerservicedevconnect/throttlerservice.connect.go b/gen/vitess/throttlerservice/dev/throttlerservicedevconnect/throttlerservice.connect.go index d20462a..01a4c0f 100644 --- a/gen/vitess/throttlerservice/dev/throttlerservicedevconnect/throttlerservice.connect.go +++ b/gen/vitess/throttlerservice/dev/throttlerservicedevconnect/throttlerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - dev "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/dev" - _ "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/dev" + dev1 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/dev" + dev "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/dev" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // ThrottlerName is the fully-qualified name of the Throttler service. @@ -66,26 +66,36 @@ const ( ThrottlerResetConfigurationProcedure = "/throttlerservice.Throttler/ResetConfiguration" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + throttlerServiceDescriptor = dev.File_vitess_throttlerservice_dev_throttlerservice_proto.Services().ByName("Throttler") + throttlerMaxRatesMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("MaxRates") + throttlerSetMaxRateMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("SetMaxRate") + throttlerGetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("GetConfiguration") + throttlerUpdateConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("UpdateConfiguration") + throttlerResetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("ResetConfiguration") +) + // ThrottlerClient is a client for the throttlerservice.Throttler service. type ThrottlerClient interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[dev.MaxRatesRequest]) (*connect.Response[dev.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[dev1.MaxRatesRequest]) (*connect.Response[dev1.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[dev.SetMaxRateRequest]) (*connect.Response[dev.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[dev1.SetMaxRateRequest]) (*connect.Response[dev1.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[dev.GetConfigurationRequest]) (*connect.Response[dev.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[dev1.GetConfigurationRequest]) (*connect.Response[dev1.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[dev.UpdateConfigurationRequest]) (*connect.Response[dev.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[dev1.UpdateConfigurationRequest]) (*connect.Response[dev1.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[dev.ResetConfigurationRequest]) (*connect.Response[dev.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[dev1.ResetConfigurationRequest]) (*connect.Response[dev1.ResetConfigurationResponse], error) } // NewThrottlerClient constructs a client for the throttlerservice.Throttler service. By @@ -98,88 +108,93 @@ type ThrottlerClient interface { func NewThrottlerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ThrottlerClient { baseURL = strings.TrimRight(baseURL, "/") return &throttlerClient{ - maxRates: connect.NewClient[dev.MaxRatesRequest, dev.MaxRatesResponse]( + maxRates: connect.NewClient[dev1.MaxRatesRequest, dev1.MaxRatesResponse]( httpClient, baseURL+ThrottlerMaxRatesProcedure, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithClientOptions(opts...), ), - setMaxRate: connect.NewClient[dev.SetMaxRateRequest, dev.SetMaxRateResponse]( + setMaxRate: connect.NewClient[dev1.SetMaxRateRequest, dev1.SetMaxRateResponse]( httpClient, baseURL+ThrottlerSetMaxRateProcedure, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithClientOptions(opts...), ), - getConfiguration: connect.NewClient[dev.GetConfigurationRequest, dev.GetConfigurationResponse]( + getConfiguration: connect.NewClient[dev1.GetConfigurationRequest, dev1.GetConfigurationResponse]( httpClient, baseURL+ThrottlerGetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateConfiguration: connect.NewClient[dev.UpdateConfigurationRequest, dev.UpdateConfigurationResponse]( + updateConfiguration: connect.NewClient[dev1.UpdateConfigurationRequest, dev1.UpdateConfigurationResponse]( httpClient, baseURL+ThrottlerUpdateConfigurationProcedure, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetConfiguration: connect.NewClient[dev.ResetConfigurationRequest, dev.ResetConfigurationResponse]( + resetConfiguration: connect.NewClient[dev1.ResetConfigurationRequest, dev1.ResetConfigurationResponse]( httpClient, baseURL+ThrottlerResetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // throttlerClient implements ThrottlerClient. type throttlerClient struct { - maxRates *connect.Client[dev.MaxRatesRequest, dev.MaxRatesResponse] - setMaxRate *connect.Client[dev.SetMaxRateRequest, dev.SetMaxRateResponse] - getConfiguration *connect.Client[dev.GetConfigurationRequest, dev.GetConfigurationResponse] - updateConfiguration *connect.Client[dev.UpdateConfigurationRequest, dev.UpdateConfigurationResponse] - resetConfiguration *connect.Client[dev.ResetConfigurationRequest, dev.ResetConfigurationResponse] + maxRates *connect.Client[dev1.MaxRatesRequest, dev1.MaxRatesResponse] + setMaxRate *connect.Client[dev1.SetMaxRateRequest, dev1.SetMaxRateResponse] + getConfiguration *connect.Client[dev1.GetConfigurationRequest, dev1.GetConfigurationResponse] + updateConfiguration *connect.Client[dev1.UpdateConfigurationRequest, dev1.UpdateConfigurationResponse] + resetConfiguration *connect.Client[dev1.ResetConfigurationRequest, dev1.ResetConfigurationResponse] } // MaxRates calls throttlerservice.Throttler.MaxRates. -func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[dev.MaxRatesRequest]) (*connect.Response[dev.MaxRatesResponse], error) { +func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[dev1.MaxRatesRequest]) (*connect.Response[dev1.MaxRatesResponse], error) { return c.maxRates.CallUnary(ctx, req) } // SetMaxRate calls throttlerservice.Throttler.SetMaxRate. -func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[dev.SetMaxRateRequest]) (*connect.Response[dev.SetMaxRateResponse], error) { +func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[dev1.SetMaxRateRequest]) (*connect.Response[dev1.SetMaxRateResponse], error) { return c.setMaxRate.CallUnary(ctx, req) } // GetConfiguration calls throttlerservice.Throttler.GetConfiguration. -func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[dev.GetConfigurationRequest]) (*connect.Response[dev.GetConfigurationResponse], error) { +func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[dev1.GetConfigurationRequest]) (*connect.Response[dev1.GetConfigurationResponse], error) { return c.getConfiguration.CallUnary(ctx, req) } // UpdateConfiguration calls throttlerservice.Throttler.UpdateConfiguration. -func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[dev.UpdateConfigurationRequest]) (*connect.Response[dev.UpdateConfigurationResponse], error) { +func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[dev1.UpdateConfigurationRequest]) (*connect.Response[dev1.UpdateConfigurationResponse], error) { return c.updateConfiguration.CallUnary(ctx, req) } // ResetConfiguration calls throttlerservice.Throttler.ResetConfiguration. -func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[dev.ResetConfigurationRequest]) (*connect.Response[dev.ResetConfigurationResponse], error) { +func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[dev1.ResetConfigurationRequest]) (*connect.Response[dev1.ResetConfigurationResponse], error) { return c.resetConfiguration.CallUnary(ctx, req) } // ThrottlerHandler is an implementation of the throttlerservice.Throttler service. type ThrottlerHandler interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[dev.MaxRatesRequest]) (*connect.Response[dev.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[dev1.MaxRatesRequest]) (*connect.Response[dev1.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[dev.SetMaxRateRequest]) (*connect.Response[dev.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[dev1.SetMaxRateRequest]) (*connect.Response[dev1.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[dev.GetConfigurationRequest]) (*connect.Response[dev.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[dev1.GetConfigurationRequest]) (*connect.Response[dev1.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[dev.UpdateConfigurationRequest]) (*connect.Response[dev.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[dev1.UpdateConfigurationRequest]) (*connect.Response[dev1.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[dev.ResetConfigurationRequest]) (*connect.Response[dev.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[dev1.ResetConfigurationRequest]) (*connect.Response[dev1.ResetConfigurationResponse], error) } // NewThrottlerHandler builds an HTTP handler from the service implementation. It returns the path @@ -191,27 +206,32 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s throttlerMaxRatesHandler := connect.NewUnaryHandler( ThrottlerMaxRatesProcedure, svc.MaxRates, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerSetMaxRateHandler := connect.NewUnaryHandler( ThrottlerSetMaxRateProcedure, svc.SetMaxRate, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerGetConfigurationHandler := connect.NewUnaryHandler( ThrottlerGetConfigurationProcedure, svc.GetConfiguration, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerUpdateConfigurationHandler := connect.NewUnaryHandler( ThrottlerUpdateConfigurationProcedure, svc.UpdateConfiguration, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerResetConfigurationHandler := connect.NewUnaryHandler( ThrottlerResetConfigurationProcedure, svc.ResetConfiguration, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/throttlerservice.Throttler/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -234,22 +254,22 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s // UnimplementedThrottlerHandler returns CodeUnimplemented from all methods. type UnimplementedThrottlerHandler struct{} -func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[dev.MaxRatesRequest]) (*connect.Response[dev.MaxRatesResponse], error) { +func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[dev1.MaxRatesRequest]) (*connect.Response[dev1.MaxRatesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.MaxRates is not implemented")) } -func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[dev.SetMaxRateRequest]) (*connect.Response[dev.SetMaxRateResponse], error) { +func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[dev1.SetMaxRateRequest]) (*connect.Response[dev1.SetMaxRateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.SetMaxRate is not implemented")) } -func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[dev.GetConfigurationRequest]) (*connect.Response[dev.GetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[dev1.GetConfigurationRequest]) (*connect.Response[dev1.GetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.GetConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[dev.UpdateConfigurationRequest]) (*connect.Response[dev.UpdateConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[dev1.UpdateConfigurationRequest]) (*connect.Response[dev1.UpdateConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.UpdateConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[dev.ResetConfigurationRequest]) (*connect.Response[dev.ResetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[dev1.ResetConfigurationRequest]) (*connect.Response[dev1.ResetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.ResetConfiguration is not implemented")) } diff --git a/gen/vitess/throttlerservice/v16/throttlerservice.pb.go b/gen/vitess/throttlerservice/v16/throttlerservice.pb.go index b693dd9..4d4ce9b 100644 --- a/gen/vitess/throttlerservice/v16/throttlerservice.pb.go +++ b/gen/vitess/throttlerservice/v16/throttlerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerservice/v16/throttlerservice.proto @@ -96,7 +96,7 @@ var file_vitess_throttlerservice_v16_throttlerservice_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_throttlerservice_v16_throttlerservice_proto_goTypes = []interface{}{ +var file_vitess_throttlerservice_v16_throttlerservice_proto_goTypes = []any{ (*v16.MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v16.MaxRatesRequest (*v16.SetMaxRateRequest)(nil), // 1: vitess.throttlerdata.v16.SetMaxRateRequest (*v16.GetConfigurationRequest)(nil), // 2: vitess.throttlerdata.v16.GetConfigurationRequest diff --git a/gen/vitess/throttlerservice/v16/throttlerservicev16connect/throttlerservice.connect.go b/gen/vitess/throttlerservice/v16/throttlerservicev16connect/throttlerservice.connect.go index 67bb6dc..8fbcea7 100644 --- a/gen/vitess/throttlerservice/v16/throttlerservicev16connect/throttlerservice.connect.go +++ b/gen/vitess/throttlerservice/v16/throttlerservicev16connect/throttlerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v16 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v16" - _ "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v16" + v161 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v16" + v16 "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v16" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // ThrottlerName is the fully-qualified name of the Throttler service. @@ -66,26 +66,36 @@ const ( ThrottlerResetConfigurationProcedure = "/throttlerservice.Throttler/ResetConfiguration" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + throttlerServiceDescriptor = v16.File_vitess_throttlerservice_v16_throttlerservice_proto.Services().ByName("Throttler") + throttlerMaxRatesMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("MaxRates") + throttlerSetMaxRateMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("SetMaxRate") + throttlerGetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("GetConfiguration") + throttlerUpdateConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("UpdateConfiguration") + throttlerResetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("ResetConfiguration") +) + // ThrottlerClient is a client for the throttlerservice.Throttler service. type ThrottlerClient interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[v16.MaxRatesRequest]) (*connect.Response[v16.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[v161.MaxRatesRequest]) (*connect.Response[v161.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[v16.SetMaxRateRequest]) (*connect.Response[v16.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[v161.SetMaxRateRequest]) (*connect.Response[v161.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[v16.GetConfigurationRequest]) (*connect.Response[v16.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[v161.GetConfigurationRequest]) (*connect.Response[v161.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[v16.UpdateConfigurationRequest]) (*connect.Response[v16.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[v161.UpdateConfigurationRequest]) (*connect.Response[v161.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[v16.ResetConfigurationRequest]) (*connect.Response[v16.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[v161.ResetConfigurationRequest]) (*connect.Response[v161.ResetConfigurationResponse], error) } // NewThrottlerClient constructs a client for the throttlerservice.Throttler service. By @@ -98,88 +108,93 @@ type ThrottlerClient interface { func NewThrottlerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ThrottlerClient { baseURL = strings.TrimRight(baseURL, "/") return &throttlerClient{ - maxRates: connect.NewClient[v16.MaxRatesRequest, v16.MaxRatesResponse]( + maxRates: connect.NewClient[v161.MaxRatesRequest, v161.MaxRatesResponse]( httpClient, baseURL+ThrottlerMaxRatesProcedure, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithClientOptions(opts...), ), - setMaxRate: connect.NewClient[v16.SetMaxRateRequest, v16.SetMaxRateResponse]( + setMaxRate: connect.NewClient[v161.SetMaxRateRequest, v161.SetMaxRateResponse]( httpClient, baseURL+ThrottlerSetMaxRateProcedure, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithClientOptions(opts...), ), - getConfiguration: connect.NewClient[v16.GetConfigurationRequest, v16.GetConfigurationResponse]( + getConfiguration: connect.NewClient[v161.GetConfigurationRequest, v161.GetConfigurationResponse]( httpClient, baseURL+ThrottlerGetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateConfiguration: connect.NewClient[v16.UpdateConfigurationRequest, v16.UpdateConfigurationResponse]( + updateConfiguration: connect.NewClient[v161.UpdateConfigurationRequest, v161.UpdateConfigurationResponse]( httpClient, baseURL+ThrottlerUpdateConfigurationProcedure, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetConfiguration: connect.NewClient[v16.ResetConfigurationRequest, v16.ResetConfigurationResponse]( + resetConfiguration: connect.NewClient[v161.ResetConfigurationRequest, v161.ResetConfigurationResponse]( httpClient, baseURL+ThrottlerResetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // throttlerClient implements ThrottlerClient. type throttlerClient struct { - maxRates *connect.Client[v16.MaxRatesRequest, v16.MaxRatesResponse] - setMaxRate *connect.Client[v16.SetMaxRateRequest, v16.SetMaxRateResponse] - getConfiguration *connect.Client[v16.GetConfigurationRequest, v16.GetConfigurationResponse] - updateConfiguration *connect.Client[v16.UpdateConfigurationRequest, v16.UpdateConfigurationResponse] - resetConfiguration *connect.Client[v16.ResetConfigurationRequest, v16.ResetConfigurationResponse] + maxRates *connect.Client[v161.MaxRatesRequest, v161.MaxRatesResponse] + setMaxRate *connect.Client[v161.SetMaxRateRequest, v161.SetMaxRateResponse] + getConfiguration *connect.Client[v161.GetConfigurationRequest, v161.GetConfigurationResponse] + updateConfiguration *connect.Client[v161.UpdateConfigurationRequest, v161.UpdateConfigurationResponse] + resetConfiguration *connect.Client[v161.ResetConfigurationRequest, v161.ResetConfigurationResponse] } // MaxRates calls throttlerservice.Throttler.MaxRates. -func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[v16.MaxRatesRequest]) (*connect.Response[v16.MaxRatesResponse], error) { +func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[v161.MaxRatesRequest]) (*connect.Response[v161.MaxRatesResponse], error) { return c.maxRates.CallUnary(ctx, req) } // SetMaxRate calls throttlerservice.Throttler.SetMaxRate. -func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[v16.SetMaxRateRequest]) (*connect.Response[v16.SetMaxRateResponse], error) { +func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[v161.SetMaxRateRequest]) (*connect.Response[v161.SetMaxRateResponse], error) { return c.setMaxRate.CallUnary(ctx, req) } // GetConfiguration calls throttlerservice.Throttler.GetConfiguration. -func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[v16.GetConfigurationRequest]) (*connect.Response[v16.GetConfigurationResponse], error) { +func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[v161.GetConfigurationRequest]) (*connect.Response[v161.GetConfigurationResponse], error) { return c.getConfiguration.CallUnary(ctx, req) } // UpdateConfiguration calls throttlerservice.Throttler.UpdateConfiguration. -func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[v16.UpdateConfigurationRequest]) (*connect.Response[v16.UpdateConfigurationResponse], error) { +func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[v161.UpdateConfigurationRequest]) (*connect.Response[v161.UpdateConfigurationResponse], error) { return c.updateConfiguration.CallUnary(ctx, req) } // ResetConfiguration calls throttlerservice.Throttler.ResetConfiguration. -func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[v16.ResetConfigurationRequest]) (*connect.Response[v16.ResetConfigurationResponse], error) { +func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[v161.ResetConfigurationRequest]) (*connect.Response[v161.ResetConfigurationResponse], error) { return c.resetConfiguration.CallUnary(ctx, req) } // ThrottlerHandler is an implementation of the throttlerservice.Throttler service. type ThrottlerHandler interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[v16.MaxRatesRequest]) (*connect.Response[v16.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[v161.MaxRatesRequest]) (*connect.Response[v161.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[v16.SetMaxRateRequest]) (*connect.Response[v16.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[v161.SetMaxRateRequest]) (*connect.Response[v161.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[v16.GetConfigurationRequest]) (*connect.Response[v16.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[v161.GetConfigurationRequest]) (*connect.Response[v161.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[v16.UpdateConfigurationRequest]) (*connect.Response[v16.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[v161.UpdateConfigurationRequest]) (*connect.Response[v161.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[v16.ResetConfigurationRequest]) (*connect.Response[v16.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[v161.ResetConfigurationRequest]) (*connect.Response[v161.ResetConfigurationResponse], error) } // NewThrottlerHandler builds an HTTP handler from the service implementation. It returns the path @@ -191,27 +206,32 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s throttlerMaxRatesHandler := connect.NewUnaryHandler( ThrottlerMaxRatesProcedure, svc.MaxRates, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerSetMaxRateHandler := connect.NewUnaryHandler( ThrottlerSetMaxRateProcedure, svc.SetMaxRate, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerGetConfigurationHandler := connect.NewUnaryHandler( ThrottlerGetConfigurationProcedure, svc.GetConfiguration, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerUpdateConfigurationHandler := connect.NewUnaryHandler( ThrottlerUpdateConfigurationProcedure, svc.UpdateConfiguration, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerResetConfigurationHandler := connect.NewUnaryHandler( ThrottlerResetConfigurationProcedure, svc.ResetConfiguration, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/throttlerservice.Throttler/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -234,22 +254,22 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s // UnimplementedThrottlerHandler returns CodeUnimplemented from all methods. type UnimplementedThrottlerHandler struct{} -func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[v16.MaxRatesRequest]) (*connect.Response[v16.MaxRatesResponse], error) { +func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[v161.MaxRatesRequest]) (*connect.Response[v161.MaxRatesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.MaxRates is not implemented")) } -func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[v16.SetMaxRateRequest]) (*connect.Response[v16.SetMaxRateResponse], error) { +func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[v161.SetMaxRateRequest]) (*connect.Response[v161.SetMaxRateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.SetMaxRate is not implemented")) } -func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[v16.GetConfigurationRequest]) (*connect.Response[v16.GetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[v161.GetConfigurationRequest]) (*connect.Response[v161.GetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.GetConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[v16.UpdateConfigurationRequest]) (*connect.Response[v16.UpdateConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[v161.UpdateConfigurationRequest]) (*connect.Response[v161.UpdateConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.UpdateConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[v16.ResetConfigurationRequest]) (*connect.Response[v16.ResetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[v161.ResetConfigurationRequest]) (*connect.Response[v161.ResetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.ResetConfiguration is not implemented")) } diff --git a/gen/vitess/throttlerservice/v17/throttlerservice.pb.go b/gen/vitess/throttlerservice/v17/throttlerservice.pb.go index 081ef42..b6fe86b 100644 --- a/gen/vitess/throttlerservice/v17/throttlerservice.pb.go +++ b/gen/vitess/throttlerservice/v17/throttlerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerservice/v17/throttlerservice.proto @@ -96,7 +96,7 @@ var file_vitess_throttlerservice_v17_throttlerservice_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_throttlerservice_v17_throttlerservice_proto_goTypes = []interface{}{ +var file_vitess_throttlerservice_v17_throttlerservice_proto_goTypes = []any{ (*v17.MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v17.MaxRatesRequest (*v17.SetMaxRateRequest)(nil), // 1: vitess.throttlerdata.v17.SetMaxRateRequest (*v17.GetConfigurationRequest)(nil), // 2: vitess.throttlerdata.v17.GetConfigurationRequest diff --git a/gen/vitess/throttlerservice/v17/throttlerservicev17connect/throttlerservice.connect.go b/gen/vitess/throttlerservice/v17/throttlerservicev17connect/throttlerservice.connect.go index 979fa4e..fd5655a 100644 --- a/gen/vitess/throttlerservice/v17/throttlerservicev17connect/throttlerservice.connect.go +++ b/gen/vitess/throttlerservice/v17/throttlerservicev17connect/throttlerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v17 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v17" - _ "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v17" + v171 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v17" + v17 "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v17" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // ThrottlerName is the fully-qualified name of the Throttler service. @@ -66,26 +66,36 @@ const ( ThrottlerResetConfigurationProcedure = "/throttlerservice.Throttler/ResetConfiguration" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + throttlerServiceDescriptor = v17.File_vitess_throttlerservice_v17_throttlerservice_proto.Services().ByName("Throttler") + throttlerMaxRatesMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("MaxRates") + throttlerSetMaxRateMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("SetMaxRate") + throttlerGetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("GetConfiguration") + throttlerUpdateConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("UpdateConfiguration") + throttlerResetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("ResetConfiguration") +) + // ThrottlerClient is a client for the throttlerservice.Throttler service. type ThrottlerClient interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[v17.MaxRatesRequest]) (*connect.Response[v17.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[v171.MaxRatesRequest]) (*connect.Response[v171.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[v17.SetMaxRateRequest]) (*connect.Response[v17.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[v171.SetMaxRateRequest]) (*connect.Response[v171.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[v17.GetConfigurationRequest]) (*connect.Response[v17.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[v171.GetConfigurationRequest]) (*connect.Response[v171.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[v17.UpdateConfigurationRequest]) (*connect.Response[v17.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[v171.UpdateConfigurationRequest]) (*connect.Response[v171.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[v17.ResetConfigurationRequest]) (*connect.Response[v17.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[v171.ResetConfigurationRequest]) (*connect.Response[v171.ResetConfigurationResponse], error) } // NewThrottlerClient constructs a client for the throttlerservice.Throttler service. By @@ -98,88 +108,93 @@ type ThrottlerClient interface { func NewThrottlerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ThrottlerClient { baseURL = strings.TrimRight(baseURL, "/") return &throttlerClient{ - maxRates: connect.NewClient[v17.MaxRatesRequest, v17.MaxRatesResponse]( + maxRates: connect.NewClient[v171.MaxRatesRequest, v171.MaxRatesResponse]( httpClient, baseURL+ThrottlerMaxRatesProcedure, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithClientOptions(opts...), ), - setMaxRate: connect.NewClient[v17.SetMaxRateRequest, v17.SetMaxRateResponse]( + setMaxRate: connect.NewClient[v171.SetMaxRateRequest, v171.SetMaxRateResponse]( httpClient, baseURL+ThrottlerSetMaxRateProcedure, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithClientOptions(opts...), ), - getConfiguration: connect.NewClient[v17.GetConfigurationRequest, v17.GetConfigurationResponse]( + getConfiguration: connect.NewClient[v171.GetConfigurationRequest, v171.GetConfigurationResponse]( httpClient, baseURL+ThrottlerGetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateConfiguration: connect.NewClient[v17.UpdateConfigurationRequest, v17.UpdateConfigurationResponse]( + updateConfiguration: connect.NewClient[v171.UpdateConfigurationRequest, v171.UpdateConfigurationResponse]( httpClient, baseURL+ThrottlerUpdateConfigurationProcedure, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetConfiguration: connect.NewClient[v17.ResetConfigurationRequest, v17.ResetConfigurationResponse]( + resetConfiguration: connect.NewClient[v171.ResetConfigurationRequest, v171.ResetConfigurationResponse]( httpClient, baseURL+ThrottlerResetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // throttlerClient implements ThrottlerClient. type throttlerClient struct { - maxRates *connect.Client[v17.MaxRatesRequest, v17.MaxRatesResponse] - setMaxRate *connect.Client[v17.SetMaxRateRequest, v17.SetMaxRateResponse] - getConfiguration *connect.Client[v17.GetConfigurationRequest, v17.GetConfigurationResponse] - updateConfiguration *connect.Client[v17.UpdateConfigurationRequest, v17.UpdateConfigurationResponse] - resetConfiguration *connect.Client[v17.ResetConfigurationRequest, v17.ResetConfigurationResponse] + maxRates *connect.Client[v171.MaxRatesRequest, v171.MaxRatesResponse] + setMaxRate *connect.Client[v171.SetMaxRateRequest, v171.SetMaxRateResponse] + getConfiguration *connect.Client[v171.GetConfigurationRequest, v171.GetConfigurationResponse] + updateConfiguration *connect.Client[v171.UpdateConfigurationRequest, v171.UpdateConfigurationResponse] + resetConfiguration *connect.Client[v171.ResetConfigurationRequest, v171.ResetConfigurationResponse] } // MaxRates calls throttlerservice.Throttler.MaxRates. -func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[v17.MaxRatesRequest]) (*connect.Response[v17.MaxRatesResponse], error) { +func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[v171.MaxRatesRequest]) (*connect.Response[v171.MaxRatesResponse], error) { return c.maxRates.CallUnary(ctx, req) } // SetMaxRate calls throttlerservice.Throttler.SetMaxRate. -func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[v17.SetMaxRateRequest]) (*connect.Response[v17.SetMaxRateResponse], error) { +func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[v171.SetMaxRateRequest]) (*connect.Response[v171.SetMaxRateResponse], error) { return c.setMaxRate.CallUnary(ctx, req) } // GetConfiguration calls throttlerservice.Throttler.GetConfiguration. -func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[v17.GetConfigurationRequest]) (*connect.Response[v17.GetConfigurationResponse], error) { +func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[v171.GetConfigurationRequest]) (*connect.Response[v171.GetConfigurationResponse], error) { return c.getConfiguration.CallUnary(ctx, req) } // UpdateConfiguration calls throttlerservice.Throttler.UpdateConfiguration. -func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[v17.UpdateConfigurationRequest]) (*connect.Response[v17.UpdateConfigurationResponse], error) { +func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[v171.UpdateConfigurationRequest]) (*connect.Response[v171.UpdateConfigurationResponse], error) { return c.updateConfiguration.CallUnary(ctx, req) } // ResetConfiguration calls throttlerservice.Throttler.ResetConfiguration. -func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[v17.ResetConfigurationRequest]) (*connect.Response[v17.ResetConfigurationResponse], error) { +func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[v171.ResetConfigurationRequest]) (*connect.Response[v171.ResetConfigurationResponse], error) { return c.resetConfiguration.CallUnary(ctx, req) } // ThrottlerHandler is an implementation of the throttlerservice.Throttler service. type ThrottlerHandler interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[v17.MaxRatesRequest]) (*connect.Response[v17.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[v171.MaxRatesRequest]) (*connect.Response[v171.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[v17.SetMaxRateRequest]) (*connect.Response[v17.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[v171.SetMaxRateRequest]) (*connect.Response[v171.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[v17.GetConfigurationRequest]) (*connect.Response[v17.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[v171.GetConfigurationRequest]) (*connect.Response[v171.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[v17.UpdateConfigurationRequest]) (*connect.Response[v17.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[v171.UpdateConfigurationRequest]) (*connect.Response[v171.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[v17.ResetConfigurationRequest]) (*connect.Response[v17.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[v171.ResetConfigurationRequest]) (*connect.Response[v171.ResetConfigurationResponse], error) } // NewThrottlerHandler builds an HTTP handler from the service implementation. It returns the path @@ -191,27 +206,32 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s throttlerMaxRatesHandler := connect.NewUnaryHandler( ThrottlerMaxRatesProcedure, svc.MaxRates, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerSetMaxRateHandler := connect.NewUnaryHandler( ThrottlerSetMaxRateProcedure, svc.SetMaxRate, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerGetConfigurationHandler := connect.NewUnaryHandler( ThrottlerGetConfigurationProcedure, svc.GetConfiguration, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerUpdateConfigurationHandler := connect.NewUnaryHandler( ThrottlerUpdateConfigurationProcedure, svc.UpdateConfiguration, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerResetConfigurationHandler := connect.NewUnaryHandler( ThrottlerResetConfigurationProcedure, svc.ResetConfiguration, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/throttlerservice.Throttler/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -234,22 +254,22 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s // UnimplementedThrottlerHandler returns CodeUnimplemented from all methods. type UnimplementedThrottlerHandler struct{} -func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[v17.MaxRatesRequest]) (*connect.Response[v17.MaxRatesResponse], error) { +func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[v171.MaxRatesRequest]) (*connect.Response[v171.MaxRatesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.MaxRates is not implemented")) } -func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[v17.SetMaxRateRequest]) (*connect.Response[v17.SetMaxRateResponse], error) { +func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[v171.SetMaxRateRequest]) (*connect.Response[v171.SetMaxRateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.SetMaxRate is not implemented")) } -func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[v17.GetConfigurationRequest]) (*connect.Response[v17.GetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[v171.GetConfigurationRequest]) (*connect.Response[v171.GetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.GetConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[v17.UpdateConfigurationRequest]) (*connect.Response[v17.UpdateConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[v171.UpdateConfigurationRequest]) (*connect.Response[v171.UpdateConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.UpdateConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[v17.ResetConfigurationRequest]) (*connect.Response[v17.ResetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[v171.ResetConfigurationRequest]) (*connect.Response[v171.ResetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.ResetConfiguration is not implemented")) } diff --git a/gen/vitess/throttlerservice/v18/throttlerservice.pb.go b/gen/vitess/throttlerservice/v18/throttlerservice.pb.go index aa4a5bc..362310d 100644 --- a/gen/vitess/throttlerservice/v18/throttlerservice.pb.go +++ b/gen/vitess/throttlerservice/v18/throttlerservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/throttlerservice/v18/throttlerservice.proto @@ -96,7 +96,7 @@ var file_vitess_throttlerservice_v18_throttlerservice_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_throttlerservice_v18_throttlerservice_proto_goTypes = []interface{}{ +var file_vitess_throttlerservice_v18_throttlerservice_proto_goTypes = []any{ (*v18.MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v18.MaxRatesRequest (*v18.SetMaxRateRequest)(nil), // 1: vitess.throttlerdata.v18.SetMaxRateRequest (*v18.GetConfigurationRequest)(nil), // 2: vitess.throttlerdata.v18.GetConfigurationRequest diff --git a/gen/vitess/throttlerservice/v18/throttlerservicev18connect/throttlerservice.connect.go b/gen/vitess/throttlerservice/v18/throttlerservicev18connect/throttlerservice.connect.go index 0f08ae5..c117558 100644 --- a/gen/vitess/throttlerservice/v18/throttlerservicev18connect/throttlerservice.connect.go +++ b/gen/vitess/throttlerservice/v18/throttlerservicev18connect/throttlerservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v18 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v18" - _ "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v18" + v181 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v18" + v18 "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v18" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // ThrottlerName is the fully-qualified name of the Throttler service. @@ -66,26 +66,36 @@ const ( ThrottlerResetConfigurationProcedure = "/throttlerservice.Throttler/ResetConfiguration" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + throttlerServiceDescriptor = v18.File_vitess_throttlerservice_v18_throttlerservice_proto.Services().ByName("Throttler") + throttlerMaxRatesMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("MaxRates") + throttlerSetMaxRateMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("SetMaxRate") + throttlerGetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("GetConfiguration") + throttlerUpdateConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("UpdateConfiguration") + throttlerResetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("ResetConfiguration") +) + // ThrottlerClient is a client for the throttlerservice.Throttler service. type ThrottlerClient interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[v18.MaxRatesRequest]) (*connect.Response[v18.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[v181.MaxRatesRequest]) (*connect.Response[v181.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[v18.SetMaxRateRequest]) (*connect.Response[v18.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[v181.SetMaxRateRequest]) (*connect.Response[v181.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[v18.GetConfigurationRequest]) (*connect.Response[v18.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[v181.GetConfigurationRequest]) (*connect.Response[v181.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[v18.UpdateConfigurationRequest]) (*connect.Response[v18.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[v181.UpdateConfigurationRequest]) (*connect.Response[v181.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[v18.ResetConfigurationRequest]) (*connect.Response[v18.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[v181.ResetConfigurationRequest]) (*connect.Response[v181.ResetConfigurationResponse], error) } // NewThrottlerClient constructs a client for the throttlerservice.Throttler service. By @@ -98,88 +108,93 @@ type ThrottlerClient interface { func NewThrottlerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ThrottlerClient { baseURL = strings.TrimRight(baseURL, "/") return &throttlerClient{ - maxRates: connect.NewClient[v18.MaxRatesRequest, v18.MaxRatesResponse]( + maxRates: connect.NewClient[v181.MaxRatesRequest, v181.MaxRatesResponse]( httpClient, baseURL+ThrottlerMaxRatesProcedure, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithClientOptions(opts...), ), - setMaxRate: connect.NewClient[v18.SetMaxRateRequest, v18.SetMaxRateResponse]( + setMaxRate: connect.NewClient[v181.SetMaxRateRequest, v181.SetMaxRateResponse]( httpClient, baseURL+ThrottlerSetMaxRateProcedure, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithClientOptions(opts...), ), - getConfiguration: connect.NewClient[v18.GetConfigurationRequest, v18.GetConfigurationResponse]( + getConfiguration: connect.NewClient[v181.GetConfigurationRequest, v181.GetConfigurationResponse]( httpClient, baseURL+ThrottlerGetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateConfiguration: connect.NewClient[v18.UpdateConfigurationRequest, v18.UpdateConfigurationResponse]( + updateConfiguration: connect.NewClient[v181.UpdateConfigurationRequest, v181.UpdateConfigurationResponse]( httpClient, baseURL+ThrottlerUpdateConfigurationProcedure, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), - resetConfiguration: connect.NewClient[v18.ResetConfigurationRequest, v18.ResetConfigurationResponse]( + resetConfiguration: connect.NewClient[v181.ResetConfigurationRequest, v181.ResetConfigurationResponse]( httpClient, baseURL+ThrottlerResetConfigurationProcedure, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // throttlerClient implements ThrottlerClient. type throttlerClient struct { - maxRates *connect.Client[v18.MaxRatesRequest, v18.MaxRatesResponse] - setMaxRate *connect.Client[v18.SetMaxRateRequest, v18.SetMaxRateResponse] - getConfiguration *connect.Client[v18.GetConfigurationRequest, v18.GetConfigurationResponse] - updateConfiguration *connect.Client[v18.UpdateConfigurationRequest, v18.UpdateConfigurationResponse] - resetConfiguration *connect.Client[v18.ResetConfigurationRequest, v18.ResetConfigurationResponse] + maxRates *connect.Client[v181.MaxRatesRequest, v181.MaxRatesResponse] + setMaxRate *connect.Client[v181.SetMaxRateRequest, v181.SetMaxRateResponse] + getConfiguration *connect.Client[v181.GetConfigurationRequest, v181.GetConfigurationResponse] + updateConfiguration *connect.Client[v181.UpdateConfigurationRequest, v181.UpdateConfigurationResponse] + resetConfiguration *connect.Client[v181.ResetConfigurationRequest, v181.ResetConfigurationResponse] } // MaxRates calls throttlerservice.Throttler.MaxRates. -func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[v18.MaxRatesRequest]) (*connect.Response[v18.MaxRatesResponse], error) { +func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[v181.MaxRatesRequest]) (*connect.Response[v181.MaxRatesResponse], error) { return c.maxRates.CallUnary(ctx, req) } // SetMaxRate calls throttlerservice.Throttler.SetMaxRate. -func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[v18.SetMaxRateRequest]) (*connect.Response[v18.SetMaxRateResponse], error) { +func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[v181.SetMaxRateRequest]) (*connect.Response[v181.SetMaxRateResponse], error) { return c.setMaxRate.CallUnary(ctx, req) } // GetConfiguration calls throttlerservice.Throttler.GetConfiguration. -func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[v18.GetConfigurationRequest]) (*connect.Response[v18.GetConfigurationResponse], error) { +func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[v181.GetConfigurationRequest]) (*connect.Response[v181.GetConfigurationResponse], error) { return c.getConfiguration.CallUnary(ctx, req) } // UpdateConfiguration calls throttlerservice.Throttler.UpdateConfiguration. -func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[v18.UpdateConfigurationRequest]) (*connect.Response[v18.UpdateConfigurationResponse], error) { +func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[v181.UpdateConfigurationRequest]) (*connect.Response[v181.UpdateConfigurationResponse], error) { return c.updateConfiguration.CallUnary(ctx, req) } // ResetConfiguration calls throttlerservice.Throttler.ResetConfiguration. -func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[v18.ResetConfigurationRequest]) (*connect.Response[v18.ResetConfigurationResponse], error) { +func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[v181.ResetConfigurationRequest]) (*connect.Response[v181.ResetConfigurationResponse], error) { return c.resetConfiguration.CallUnary(ctx, req) } // ThrottlerHandler is an implementation of the throttlerservice.Throttler service. type ThrottlerHandler interface { // MaxRates returns the current max rate for each throttler of the process. - MaxRates(context.Context, *connect.Request[v18.MaxRatesRequest]) (*connect.Response[v18.MaxRatesResponse], error) + MaxRates(context.Context, *connect.Request[v181.MaxRatesRequest]) (*connect.Response[v181.MaxRatesResponse], error) // SetMaxRate allows to change the current max rate for all throttlers // of the process. - SetMaxRate(context.Context, *connect.Request[v18.SetMaxRateRequest]) (*connect.Response[v18.SetMaxRateResponse], error) + SetMaxRate(context.Context, *connect.Request[v181.SetMaxRateRequest]) (*connect.Response[v181.SetMaxRateResponse], error) // GetConfiguration returns the configuration of the MaxReplicationlag module // for the given throttler or all throttlers if "throttler_name" is empty. - GetConfiguration(context.Context, *connect.Request[v18.GetConfigurationRequest]) (*connect.Response[v18.GetConfigurationResponse], error) + GetConfiguration(context.Context, *connect.Request[v181.GetConfigurationRequest]) (*connect.Response[v181.GetConfigurationResponse], error) // UpdateConfiguration (partially) updates the configuration of the // MaxReplicationlag module for the given throttler or all throttlers if // "throttler_name" is empty. // If "copy_zero_values" is true, fields with zero values will be copied // as well. - UpdateConfiguration(context.Context, *connect.Request[v18.UpdateConfigurationRequest]) (*connect.Response[v18.UpdateConfigurationResponse], error) + UpdateConfiguration(context.Context, *connect.Request[v181.UpdateConfigurationRequest]) (*connect.Response[v181.UpdateConfigurationResponse], error) // ResetConfiguration resets the configuration of the MaxReplicationlag module // to the initial configuration for the given throttler or all throttlers if // "throttler_name" is empty. - ResetConfiguration(context.Context, *connect.Request[v18.ResetConfigurationRequest]) (*connect.Response[v18.ResetConfigurationResponse], error) + ResetConfiguration(context.Context, *connect.Request[v181.ResetConfigurationRequest]) (*connect.Response[v181.ResetConfigurationResponse], error) } // NewThrottlerHandler builds an HTTP handler from the service implementation. It returns the path @@ -191,27 +206,32 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s throttlerMaxRatesHandler := connect.NewUnaryHandler( ThrottlerMaxRatesProcedure, svc.MaxRates, - opts..., + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerSetMaxRateHandler := connect.NewUnaryHandler( ThrottlerSetMaxRateProcedure, svc.SetMaxRate, - opts..., + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerGetConfigurationHandler := connect.NewUnaryHandler( ThrottlerGetConfigurationProcedure, svc.GetConfiguration, - opts..., + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerUpdateConfigurationHandler := connect.NewUnaryHandler( ThrottlerUpdateConfigurationProcedure, svc.UpdateConfiguration, - opts..., + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) throttlerResetConfigurationHandler := connect.NewUnaryHandler( ThrottlerResetConfigurationProcedure, svc.ResetConfiguration, - opts..., + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/throttlerservice.Throttler/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -234,22 +254,22 @@ func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (s // UnimplementedThrottlerHandler returns CodeUnimplemented from all methods. type UnimplementedThrottlerHandler struct{} -func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[v18.MaxRatesRequest]) (*connect.Response[v18.MaxRatesResponse], error) { +func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[v181.MaxRatesRequest]) (*connect.Response[v181.MaxRatesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.MaxRates is not implemented")) } -func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[v18.SetMaxRateRequest]) (*connect.Response[v18.SetMaxRateResponse], error) { +func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[v181.SetMaxRateRequest]) (*connect.Response[v181.SetMaxRateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.SetMaxRate is not implemented")) } -func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[v18.GetConfigurationRequest]) (*connect.Response[v18.GetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[v181.GetConfigurationRequest]) (*connect.Response[v181.GetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.GetConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[v18.UpdateConfigurationRequest]) (*connect.Response[v18.UpdateConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[v181.UpdateConfigurationRequest]) (*connect.Response[v181.UpdateConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.UpdateConfiguration is not implemented")) } -func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[v18.ResetConfigurationRequest]) (*connect.Response[v18.ResetConfigurationResponse], error) { +func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[v181.ResetConfigurationRequest]) (*connect.Response[v181.ResetConfigurationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.ResetConfiguration is not implemented")) } diff --git a/gen/vitess/throttlerservice/v19/throttlerservice.pb.go b/gen/vitess/throttlerservice/v19/throttlerservice.pb.go new file mode 100644 index 0000000..547a984 --- /dev/null +++ b/gen/vitess/throttlerservice/v19/throttlerservice.pb.go @@ -0,0 +1,151 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// gRPC RPC interface for the internal resharding throttler (go/vt/throttler) +// which is used by vreplication. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/throttlerservice/v19/throttlerservice.proto + +package throttlerservicev19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_vitess_throttlerservice_v19_throttlerservice_proto protoreflect.FileDescriptor + +var file_vitess_throttlerservice_v19_throttlerservice_proto_rawDesc = []byte{ + 0x0a, 0x32, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x39, 0x1a, 0x2c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, + 0xe3, 0x04, 0x0a, 0x09, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x12, 0x63, 0x0a, + 0x08, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, + 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x4d, + 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x52, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x13, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x81, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x59, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x74, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x76, 0x31, 0x39, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_vitess_throttlerservice_v19_throttlerservice_proto_goTypes = []any{ + (*v19.MaxRatesRequest)(nil), // 0: vitess.throttlerdata.v19.MaxRatesRequest + (*v19.SetMaxRateRequest)(nil), // 1: vitess.throttlerdata.v19.SetMaxRateRequest + (*v19.GetConfigurationRequest)(nil), // 2: vitess.throttlerdata.v19.GetConfigurationRequest + (*v19.UpdateConfigurationRequest)(nil), // 3: vitess.throttlerdata.v19.UpdateConfigurationRequest + (*v19.ResetConfigurationRequest)(nil), // 4: vitess.throttlerdata.v19.ResetConfigurationRequest + (*v19.MaxRatesResponse)(nil), // 5: vitess.throttlerdata.v19.MaxRatesResponse + (*v19.SetMaxRateResponse)(nil), // 6: vitess.throttlerdata.v19.SetMaxRateResponse + (*v19.GetConfigurationResponse)(nil), // 7: vitess.throttlerdata.v19.GetConfigurationResponse + (*v19.UpdateConfigurationResponse)(nil), // 8: vitess.throttlerdata.v19.UpdateConfigurationResponse + (*v19.ResetConfigurationResponse)(nil), // 9: vitess.throttlerdata.v19.ResetConfigurationResponse +} +var file_vitess_throttlerservice_v19_throttlerservice_proto_depIdxs = []int32{ + 0, // 0: vitess.throttlerservice.v19.Throttler.MaxRates:input_type -> vitess.throttlerdata.v19.MaxRatesRequest + 1, // 1: vitess.throttlerservice.v19.Throttler.SetMaxRate:input_type -> vitess.throttlerdata.v19.SetMaxRateRequest + 2, // 2: vitess.throttlerservice.v19.Throttler.GetConfiguration:input_type -> vitess.throttlerdata.v19.GetConfigurationRequest + 3, // 3: vitess.throttlerservice.v19.Throttler.UpdateConfiguration:input_type -> vitess.throttlerdata.v19.UpdateConfigurationRequest + 4, // 4: vitess.throttlerservice.v19.Throttler.ResetConfiguration:input_type -> vitess.throttlerdata.v19.ResetConfigurationRequest + 5, // 5: vitess.throttlerservice.v19.Throttler.MaxRates:output_type -> vitess.throttlerdata.v19.MaxRatesResponse + 6, // 6: vitess.throttlerservice.v19.Throttler.SetMaxRate:output_type -> vitess.throttlerdata.v19.SetMaxRateResponse + 7, // 7: vitess.throttlerservice.v19.Throttler.GetConfiguration:output_type -> vitess.throttlerdata.v19.GetConfigurationResponse + 8, // 8: vitess.throttlerservice.v19.Throttler.UpdateConfiguration:output_type -> vitess.throttlerdata.v19.UpdateConfigurationResponse + 9, // 9: vitess.throttlerservice.v19.Throttler.ResetConfiguration:output_type -> vitess.throttlerdata.v19.ResetConfigurationResponse + 5, // [5:10] is the sub-list for method output_type + 0, // [0:5] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_vitess_throttlerservice_v19_throttlerservice_proto_init() } +func file_vitess_throttlerservice_v19_throttlerservice_proto_init() { + if File_vitess_throttlerservice_v19_throttlerservice_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_throttlerservice_v19_throttlerservice_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_vitess_throttlerservice_v19_throttlerservice_proto_goTypes, + DependencyIndexes: file_vitess_throttlerservice_v19_throttlerservice_proto_depIdxs, + }.Build() + File_vitess_throttlerservice_v19_throttlerservice_proto = out.File + file_vitess_throttlerservice_v19_throttlerservice_proto_rawDesc = nil + file_vitess_throttlerservice_v19_throttlerservice_proto_goTypes = nil + file_vitess_throttlerservice_v19_throttlerservice_proto_depIdxs = nil +} diff --git a/gen/vitess/throttlerservice/v19/throttlerservicev19connect/throttlerservice.connect.go b/gen/vitess/throttlerservice/v19/throttlerservicev19connect/throttlerservice.connect.go new file mode 100644 index 0000000..1c871cf --- /dev/null +++ b/gen/vitess/throttlerservice/v19/throttlerservicev19connect/throttlerservice.connect.go @@ -0,0 +1,275 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// gRPC RPC interface for the internal resharding throttler (go/vt/throttler) +// which is used by vreplication. + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/throttlerservice/v19/throttlerservice.proto + +package throttlerservicev19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v191 "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // ThrottlerName is the fully-qualified name of the Throttler service. + ThrottlerName = "throttlerservice.Throttler" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // ThrottlerMaxRatesProcedure is the fully-qualified name of the Throttler's MaxRates RPC. + ThrottlerMaxRatesProcedure = "/throttlerservice.Throttler/MaxRates" + // ThrottlerSetMaxRateProcedure is the fully-qualified name of the Throttler's SetMaxRate RPC. + ThrottlerSetMaxRateProcedure = "/throttlerservice.Throttler/SetMaxRate" + // ThrottlerGetConfigurationProcedure is the fully-qualified name of the Throttler's + // GetConfiguration RPC. + ThrottlerGetConfigurationProcedure = "/throttlerservice.Throttler/GetConfiguration" + // ThrottlerUpdateConfigurationProcedure is the fully-qualified name of the Throttler's + // UpdateConfiguration RPC. + ThrottlerUpdateConfigurationProcedure = "/throttlerservice.Throttler/UpdateConfiguration" + // ThrottlerResetConfigurationProcedure is the fully-qualified name of the Throttler's + // ResetConfiguration RPC. + ThrottlerResetConfigurationProcedure = "/throttlerservice.Throttler/ResetConfiguration" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + throttlerServiceDescriptor = v19.File_vitess_throttlerservice_v19_throttlerservice_proto.Services().ByName("Throttler") + throttlerMaxRatesMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("MaxRates") + throttlerSetMaxRateMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("SetMaxRate") + throttlerGetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("GetConfiguration") + throttlerUpdateConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("UpdateConfiguration") + throttlerResetConfigurationMethodDescriptor = throttlerServiceDescriptor.Methods().ByName("ResetConfiguration") +) + +// ThrottlerClient is a client for the throttlerservice.Throttler service. +type ThrottlerClient interface { + // MaxRates returns the current max rate for each throttler of the process. + MaxRates(context.Context, *connect.Request[v191.MaxRatesRequest]) (*connect.Response[v191.MaxRatesResponse], error) + // SetMaxRate allows to change the current max rate for all throttlers + // of the process. + SetMaxRate(context.Context, *connect.Request[v191.SetMaxRateRequest]) (*connect.Response[v191.SetMaxRateResponse], error) + // GetConfiguration returns the configuration of the MaxReplicationlag module + // for the given throttler or all throttlers if "throttler_name" is empty. + GetConfiguration(context.Context, *connect.Request[v191.GetConfigurationRequest]) (*connect.Response[v191.GetConfigurationResponse], error) + // UpdateConfiguration (partially) updates the configuration of the + // MaxReplicationlag module for the given throttler or all throttlers if + // "throttler_name" is empty. + // If "copy_zero_values" is true, fields with zero values will be copied + // as well. + UpdateConfiguration(context.Context, *connect.Request[v191.UpdateConfigurationRequest]) (*connect.Response[v191.UpdateConfigurationResponse], error) + // ResetConfiguration resets the configuration of the MaxReplicationlag module + // to the initial configuration for the given throttler or all throttlers if + // "throttler_name" is empty. + ResetConfiguration(context.Context, *connect.Request[v191.ResetConfigurationRequest]) (*connect.Response[v191.ResetConfigurationResponse], error) +} + +// NewThrottlerClient constructs a client for the throttlerservice.Throttler service. By +// default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, +// and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the +// connect.WithGRPC() or connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewThrottlerClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ThrottlerClient { + baseURL = strings.TrimRight(baseURL, "/") + return &throttlerClient{ + maxRates: connect.NewClient[v191.MaxRatesRequest, v191.MaxRatesResponse]( + httpClient, + baseURL+ThrottlerMaxRatesProcedure, + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setMaxRate: connect.NewClient[v191.SetMaxRateRequest, v191.SetMaxRateResponse]( + httpClient, + baseURL+ThrottlerSetMaxRateProcedure, + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getConfiguration: connect.NewClient[v191.GetConfigurationRequest, v191.GetConfigurationResponse]( + httpClient, + baseURL+ThrottlerGetConfigurationProcedure, + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + updateConfiguration: connect.NewClient[v191.UpdateConfigurationRequest, v191.UpdateConfigurationResponse]( + httpClient, + baseURL+ThrottlerUpdateConfigurationProcedure, + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + resetConfiguration: connect.NewClient[v191.ResetConfigurationRequest, v191.ResetConfigurationResponse]( + httpClient, + baseURL+ThrottlerResetConfigurationProcedure, + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// throttlerClient implements ThrottlerClient. +type throttlerClient struct { + maxRates *connect.Client[v191.MaxRatesRequest, v191.MaxRatesResponse] + setMaxRate *connect.Client[v191.SetMaxRateRequest, v191.SetMaxRateResponse] + getConfiguration *connect.Client[v191.GetConfigurationRequest, v191.GetConfigurationResponse] + updateConfiguration *connect.Client[v191.UpdateConfigurationRequest, v191.UpdateConfigurationResponse] + resetConfiguration *connect.Client[v191.ResetConfigurationRequest, v191.ResetConfigurationResponse] +} + +// MaxRates calls throttlerservice.Throttler.MaxRates. +func (c *throttlerClient) MaxRates(ctx context.Context, req *connect.Request[v191.MaxRatesRequest]) (*connect.Response[v191.MaxRatesResponse], error) { + return c.maxRates.CallUnary(ctx, req) +} + +// SetMaxRate calls throttlerservice.Throttler.SetMaxRate. +func (c *throttlerClient) SetMaxRate(ctx context.Context, req *connect.Request[v191.SetMaxRateRequest]) (*connect.Response[v191.SetMaxRateResponse], error) { + return c.setMaxRate.CallUnary(ctx, req) +} + +// GetConfiguration calls throttlerservice.Throttler.GetConfiguration. +func (c *throttlerClient) GetConfiguration(ctx context.Context, req *connect.Request[v191.GetConfigurationRequest]) (*connect.Response[v191.GetConfigurationResponse], error) { + return c.getConfiguration.CallUnary(ctx, req) +} + +// UpdateConfiguration calls throttlerservice.Throttler.UpdateConfiguration. +func (c *throttlerClient) UpdateConfiguration(ctx context.Context, req *connect.Request[v191.UpdateConfigurationRequest]) (*connect.Response[v191.UpdateConfigurationResponse], error) { + return c.updateConfiguration.CallUnary(ctx, req) +} + +// ResetConfiguration calls throttlerservice.Throttler.ResetConfiguration. +func (c *throttlerClient) ResetConfiguration(ctx context.Context, req *connect.Request[v191.ResetConfigurationRequest]) (*connect.Response[v191.ResetConfigurationResponse], error) { + return c.resetConfiguration.CallUnary(ctx, req) +} + +// ThrottlerHandler is an implementation of the throttlerservice.Throttler service. +type ThrottlerHandler interface { + // MaxRates returns the current max rate for each throttler of the process. + MaxRates(context.Context, *connect.Request[v191.MaxRatesRequest]) (*connect.Response[v191.MaxRatesResponse], error) + // SetMaxRate allows to change the current max rate for all throttlers + // of the process. + SetMaxRate(context.Context, *connect.Request[v191.SetMaxRateRequest]) (*connect.Response[v191.SetMaxRateResponse], error) + // GetConfiguration returns the configuration of the MaxReplicationlag module + // for the given throttler or all throttlers if "throttler_name" is empty. + GetConfiguration(context.Context, *connect.Request[v191.GetConfigurationRequest]) (*connect.Response[v191.GetConfigurationResponse], error) + // UpdateConfiguration (partially) updates the configuration of the + // MaxReplicationlag module for the given throttler or all throttlers if + // "throttler_name" is empty. + // If "copy_zero_values" is true, fields with zero values will be copied + // as well. + UpdateConfiguration(context.Context, *connect.Request[v191.UpdateConfigurationRequest]) (*connect.Response[v191.UpdateConfigurationResponse], error) + // ResetConfiguration resets the configuration of the MaxReplicationlag module + // to the initial configuration for the given throttler or all throttlers if + // "throttler_name" is empty. + ResetConfiguration(context.Context, *connect.Request[v191.ResetConfigurationRequest]) (*connect.Response[v191.ResetConfigurationResponse], error) +} + +// NewThrottlerHandler builds an HTTP handler from the service implementation. It returns the path +// on which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewThrottlerHandler(svc ThrottlerHandler, opts ...connect.HandlerOption) (string, http.Handler) { + throttlerMaxRatesHandler := connect.NewUnaryHandler( + ThrottlerMaxRatesProcedure, + svc.MaxRates, + connect.WithSchema(throttlerMaxRatesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + throttlerSetMaxRateHandler := connect.NewUnaryHandler( + ThrottlerSetMaxRateProcedure, + svc.SetMaxRate, + connect.WithSchema(throttlerSetMaxRateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + throttlerGetConfigurationHandler := connect.NewUnaryHandler( + ThrottlerGetConfigurationProcedure, + svc.GetConfiguration, + connect.WithSchema(throttlerGetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + throttlerUpdateConfigurationHandler := connect.NewUnaryHandler( + ThrottlerUpdateConfigurationProcedure, + svc.UpdateConfiguration, + connect.WithSchema(throttlerUpdateConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + throttlerResetConfigurationHandler := connect.NewUnaryHandler( + ThrottlerResetConfigurationProcedure, + svc.ResetConfiguration, + connect.WithSchema(throttlerResetConfigurationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/throttlerservice.Throttler/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case ThrottlerMaxRatesProcedure: + throttlerMaxRatesHandler.ServeHTTP(w, r) + case ThrottlerSetMaxRateProcedure: + throttlerSetMaxRateHandler.ServeHTTP(w, r) + case ThrottlerGetConfigurationProcedure: + throttlerGetConfigurationHandler.ServeHTTP(w, r) + case ThrottlerUpdateConfigurationProcedure: + throttlerUpdateConfigurationHandler.ServeHTTP(w, r) + case ThrottlerResetConfigurationProcedure: + throttlerResetConfigurationHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedThrottlerHandler returns CodeUnimplemented from all methods. +type UnimplementedThrottlerHandler struct{} + +func (UnimplementedThrottlerHandler) MaxRates(context.Context, *connect.Request[v191.MaxRatesRequest]) (*connect.Response[v191.MaxRatesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.MaxRates is not implemented")) +} + +func (UnimplementedThrottlerHandler) SetMaxRate(context.Context, *connect.Request[v191.SetMaxRateRequest]) (*connect.Response[v191.SetMaxRateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.SetMaxRate is not implemented")) +} + +func (UnimplementedThrottlerHandler) GetConfiguration(context.Context, *connect.Request[v191.GetConfigurationRequest]) (*connect.Response[v191.GetConfigurationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.GetConfiguration is not implemented")) +} + +func (UnimplementedThrottlerHandler) UpdateConfiguration(context.Context, *connect.Request[v191.UpdateConfigurationRequest]) (*connect.Response[v191.UpdateConfigurationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.UpdateConfiguration is not implemented")) +} + +func (UnimplementedThrottlerHandler) ResetConfiguration(context.Context, *connect.Request[v191.ResetConfigurationRequest]) (*connect.Response[v191.ResetConfigurationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("throttlerservice.Throttler.ResetConfiguration is not implemented")) +} diff --git a/gen/vitess/topodata/dev/topodata.pb.go b/gen/vitess/topodata/dev/topodata.pb.go index dfb14c4..ad3980c 100644 --- a/gen/vitess/topodata/dev/topodata.pb.go +++ b/gen/vitess/topodata/dev/topodata.pb.go @@ -20,7 +20,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/topodata/dev/topodata.proto @@ -658,9 +658,6 @@ type Keyspace struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // ServedFrom will redirect the appropriate traffic to - // another keyspace. - ServedFroms []*Keyspace_ServedFrom `protobuf:"bytes,4,rep,name=served_froms,json=servedFroms,proto3" json:"served_froms,omitempty"` // keyspace_type will determine how this keyspace is treated by // vtgate / vschema. Normal keyspaces are routable by // any query. Snapshot keyspaces are only accessible @@ -718,13 +715,6 @@ func (*Keyspace) Descriptor() ([]byte, []int) { return file_vitess_topodata_dev_topodata_proto_rawDescGZIP(), []int{4} } -func (x *Keyspace) GetServedFroms() []*Keyspace_ServedFrom { - if x != nil { - return x.ServedFroms - } - return nil -} - func (x *Keyspace) GetKeyspaceType() KeyspaceType { if x != nil { return x.KeyspaceType @@ -1097,6 +1087,10 @@ type ThrottlerConfig struct { CheckAsCheckSelf bool `protobuf:"varint,4,opt,name=check_as_check_self,json=checkAsCheckSelf,proto3" json:"check_as_check_self,omitempty"` // ThrottledApps is a map of rules for app-specific throttling ThrottledApps map[string]*ThrottledAppRule `protobuf:"bytes,5,rep,name=throttled_apps,json=throttledApps,proto3" json:"throttled_apps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // AppCheckedMetrics maps app names to the list of metrics that should be checked for that app + AppCheckedMetrics map[string]*ThrottlerConfig_MetricNames `protobuf:"bytes,6,rep,name=app_checked_metrics,json=appCheckedMetrics,proto3" json:"app_checked_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // MetricThresholds maps metric names to the threshold values that should be used for that metric + MetricThresholds map[string]float64 `protobuf:"bytes,7,rep,name=metric_thresholds,json=metricThresholds,proto3" json:"metric_thresholds,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` } func (x *ThrottlerConfig) Reset() { @@ -1166,6 +1160,20 @@ func (x *ThrottlerConfig) GetThrottledApps() map[string]*ThrottledAppRule { return nil } +func (x *ThrottlerConfig) GetAppCheckedMetrics() map[string]*ThrottlerConfig_MetricNames { + if x != nil { + return x.AppCheckedMetrics + } + return nil +} + +func (x *ThrottlerConfig) GetMetricThresholds() map[string]float64 { + if x != nil { + return x.MetricThresholds + } + return nil +} + // SrvKeyspace is a rollup node for the keyspace itself. type SrvKeyspace struct { state protoimpl.MessageState @@ -1174,7 +1182,6 @@ type SrvKeyspace struct { // The partitions this keyspace is serving, per tablet type. Partitions []*SrvKeyspace_KeyspacePartition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"` - ServedFrom []*SrvKeyspace_ServedFrom `protobuf:"bytes,4,rep,name=served_from,json=servedFrom,proto3" json:"served_from,omitempty"` // ThrottlerConfig has the configuration for the tablet server's // lag throttler, and applies to the entire keyspace, across all // shards and tablets. This is copied from the global keyspace @@ -1221,13 +1228,6 @@ func (x *SrvKeyspace) GetPartitions() []*SrvKeyspace_KeyspacePartition { return nil } -func (x *SrvKeyspace) GetServedFrom() []*SrvKeyspace_ServedFrom { - if x != nil { - return x.ServedFrom - } - return nil -} - func (x *SrvKeyspace) GetThrottlerConfig() *ThrottlerConfig { if x != nil { return x.ThrottlerConfig @@ -1668,23 +1668,17 @@ func (x *Shard_TabletControl) GetFrozen() bool { return false } -// ServedFrom indicates a relationship between a TabletType and the -// keyspace name that's serving it. -type Keyspace_ServedFrom struct { +// Node describes a tablet instance within the cell +type ShardReplication_Node struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // the tablet type (key for the map) - TabletType TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_type,omitempty"` - // the cells to limit this to - Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` - // the keyspace name that's serving it - Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + TabletAlias *TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` } -func (x *Keyspace_ServedFrom) Reset() { - *x = Keyspace_ServedFrom{} +func (x *ShardReplication_Node) Reset() { + *x = ShardReplication_Node{} if protoimpl.UnsafeEnabled { mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1692,13 +1686,13 @@ func (x *Keyspace_ServedFrom) Reset() { } } -func (x *Keyspace_ServedFrom) String() string { +func (x *ShardReplication_Node) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Keyspace_ServedFrom) ProtoMessage() {} +func (*ShardReplication_Node) ProtoMessage() {} -func (x *Keyspace_ServedFrom) ProtoReflect() protoreflect.Message { +func (x *ShardReplication_Node) ProtoReflect() protoreflect.Message { mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1710,58 +1704,43 @@ func (x *Keyspace_ServedFrom) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Keyspace_ServedFrom.ProtoReflect.Descriptor instead. -func (*Keyspace_ServedFrom) Descriptor() ([]byte, []int) { - return file_vitess_topodata_dev_topodata_proto_rawDescGZIP(), []int{4, 0} -} - -func (x *Keyspace_ServedFrom) GetTabletType() TabletType { - if x != nil { - return x.TabletType - } - return TabletType_UNKNOWN +// Deprecated: Use ShardReplication_Node.ProtoReflect.Descriptor instead. +func (*ShardReplication_Node) Descriptor() ([]byte, []int) { + return file_vitess_topodata_dev_topodata_proto_rawDescGZIP(), []int{5, 0} } -func (x *Keyspace_ServedFrom) GetCells() []string { +func (x *ShardReplication_Node) GetTabletAlias() *TabletAlias { if x != nil { - return x.Cells + return x.TabletAlias } return nil } -func (x *Keyspace_ServedFrom) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -// Node describes a tablet instance within the cell -type ShardReplication_Node struct { +type ThrottlerConfig_MetricNames struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletAlias *TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` } -func (x *ShardReplication_Node) Reset() { - *x = ShardReplication_Node{} +func (x *ThrottlerConfig_MetricNames) Reset() { + *x = ThrottlerConfig_MetricNames{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[22] + mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ShardReplication_Node) String() string { +func (x *ThrottlerConfig_MetricNames) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ShardReplication_Node) ProtoMessage() {} +func (*ThrottlerConfig_MetricNames) ProtoMessage() {} -func (x *ShardReplication_Node) ProtoReflect() protoreflect.Message { - mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[22] +func (x *ThrottlerConfig_MetricNames) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1772,14 +1751,14 @@ func (x *ShardReplication_Node) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ShardReplication_Node.ProtoReflect.Descriptor instead. -func (*ShardReplication_Node) Descriptor() ([]byte, []int) { - return file_vitess_topodata_dev_topodata_proto_rawDescGZIP(), []int{5, 0} +// Deprecated: Use ThrottlerConfig_MetricNames.ProtoReflect.Descriptor instead. +func (*ThrottlerConfig_MetricNames) Descriptor() ([]byte, []int) { + return file_vitess_topodata_dev_topodata_proto_rawDescGZIP(), []int{10, 1} } -func (x *ShardReplication_Node) GetTabletAlias() *TabletAlias { +func (x *ThrottlerConfig_MetricNames) GetNames() []string { if x != nil { - return x.TabletAlias + return x.Names } return nil } @@ -1800,7 +1779,7 @@ type SrvKeyspace_KeyspacePartition struct { func (x *SrvKeyspace_KeyspacePartition) Reset() { *x = SrvKeyspace_KeyspacePartition{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[24] + mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1813,7 +1792,7 @@ func (x *SrvKeyspace_KeyspacePartition) String() string { func (*SrvKeyspace_KeyspacePartition) ProtoMessage() {} func (x *SrvKeyspace_KeyspacePartition) ProtoReflect() protoreflect.Message { - mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[24] + mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1850,65 +1829,6 @@ func (x *SrvKeyspace_KeyspacePartition) GetShardTabletControls() []*ShardTabletC return nil } -// ServedFrom indicates a relationship between a TabletType and the -// keyspace name that's serving it. -type SrvKeyspace_ServedFrom struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // the tablet type - TabletType TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_type,omitempty"` - // the keyspace name that's serving it - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` -} - -func (x *SrvKeyspace_ServedFrom) Reset() { - *x = SrvKeyspace_ServedFrom{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SrvKeyspace_ServedFrom) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SrvKeyspace_ServedFrom) ProtoMessage() {} - -func (x *SrvKeyspace_ServedFrom) ProtoReflect() protoreflect.Message { - mi := &file_vitess_topodata_dev_topodata_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SrvKeyspace_ServedFrom.ProtoReflect.Descriptor instead. -func (*SrvKeyspace_ServedFrom) Descriptor() ([]byte, []int) { - return file_vitess_topodata_dev_topodata_proto_rawDescGZIP(), []int{11, 1} -} - -func (x *SrvKeyspace_ServedFrom) GetTabletType() TabletType { - if x != nil { - return x.TabletType - } - return TabletType_UNKNOWN -} - -func (x *SrvKeyspace_ServedFrom) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - var File_vitess_topodata_dev_topodata_proto protoreflect.FileDescriptor var file_vitess_topodata_dev_topodata_proto_rawDesc = []byte{ @@ -2020,126 +1940,136 @@ var file_vitess_topodata_dev_topodata_proto_rawDesc = []byte{ 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, - 0x04, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xbd, 0x04, - 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, - 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, - 0x4f, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5f, 0x64, 0x62, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x69, 0x64, 0x65, 0x63, - 0x61, 0x72, 0x44, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x80, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, + 0x04, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xf3, 0x02, + 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, + 0x68, 0x6f, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x12, 0x4f, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, - 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, - 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xa1, 0x01, - 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, - 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x4b, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x43, 0x0a, 0x0c, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xdc, 0x01, 0x0a, 0x15, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x39, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, - 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, - 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x4f, 0x50, - 0x4f, 0x4c, 0x4f, 0x47, 0x59, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x02, - 0x22, 0x60, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, - 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, - 0x67, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x12, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, - 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, - 0x08, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, - 0x8c, 0x01, 0x0a, 0x10, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, - 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x36, - 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x74, 0x22, 0xe4, - 0x02, 0x0a, 0x0f, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2d, 0x0a, - 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, - 0x73, 0x65, 0x6c, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, - 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x6c, 0x66, 0x12, 0x5e, 0x0a, 0x0e, - 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, - 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, - 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x74, - 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x73, 0x1a, 0x67, 0x0a, 0x12, - 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 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, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, - 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, - 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x83, 0x05, 0x0a, 0x0b, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x0a, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x4f, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5f, 0x64, + 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x44, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, + 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x22, 0xa1, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x4b, 0x0a, 0x04, 0x4e, 0x6f, + 0x64, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xdc, 0x01, 0x0a, 0x15, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 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, 0x39, 0x0a, 0x04, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, + 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, + 0x15, 0x0a, 0x11, 0x54, 0x4f, 0x50, 0x4f, 0x4c, 0x4f, 0x47, 0x59, 0x5f, 0x4d, 0x49, 0x53, 0x4d, + 0x41, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, 0x60, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, + 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, + 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x12, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, + 0x34, 0x0a, 0x16, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x14, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x8c, 0x01, 0x0a, 0x10, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, + 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x65, 0x78, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, + 0x65, 0x6d, 0x70, 0x74, 0x22, 0x9c, 0x06, 0x0a, 0x0f, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x2d, 0x0a, 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x61, 0x73, 0x5f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, + 0x6c, 0x66, 0x12, 0x5e, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, + 0x61, 0x70, 0x70, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, + 0x70, 0x73, 0x12, 0x6b, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, + 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x70, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x61, 0x70, + 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, + 0x67, 0x0a, 0x11, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, + 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x68, + 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x1a, 0x67, 0x0a, 0x12, 0x54, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 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, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, + 0x70, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0x23, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x76, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x46, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, + 0x0a, 0x15, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0xcf, 0x03, 0x0a, 0x0b, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, + 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4f, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, @@ -2160,58 +2090,51 @@ var file_vitess_topodata_dev_topodata_proto_rawDesc = []byte{ 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x1a, 0x6a, 0x0a, - 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x40, 0x0a, 0x0b, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 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, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, - 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x4b, 0x0a, 0x08, 0x43, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, - 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, - 0x6f, 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x22, 0x0a, 0x0a, 0x43, 0x65, 0x6c, 0x6c, - 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x55, 0x0a, 0x0a, - 0x54, 0x6f, 0x70, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, - 0x70, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, - 0x6f, 0x70, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, - 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, - 0x6f, 0x6f, 0x74, 0x22, 0x59, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0b, - 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x0a, 0x74, 0x6f, 0x70, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x65, - 0x0a, 0x10, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x69, 0x74, 0x65, 0x73, 0x73, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0d, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x2a, 0x28, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, - 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x01, 0x2a, - 0x9d, 0x01, 0x0a, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, - 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, - 0x52, 0x49, 0x4d, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x53, 0x54, - 0x45, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x10, - 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x44, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x12, 0x09, 0x0a, - 0x05, 0x42, 0x41, 0x54, 0x43, 0x48, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 0x41, 0x52, - 0x45, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x58, 0x50, 0x45, 0x52, 0x49, 0x4d, 0x45, 0x4e, - 0x54, 0x41, 0x4c, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x10, - 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x10, 0x07, 0x12, 0x0b, - 0x0a, 0x07, 0x44, 0x52, 0x41, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x08, 0x1a, 0x02, 0x10, 0x01, 0x42, - 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x74, - 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x4a, 0x04, 0x08, + 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, + 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x4b, 0x0a, 0x08, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x4a, 0x04, 0x08, 0x03, + 0x10, 0x04, 0x22, 0x22, 0x0a, 0x0a, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x55, 0x0a, 0x0a, 0x54, 0x6f, 0x70, 0x6f, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x59, 0x0a, + 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x69, 0x74, 0x65, 0x73, 0x73, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x74, 0x6f, + 0x70, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x65, 0x0a, 0x10, 0x45, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x0e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x56, 0x69, 0x74, 0x65, 0x73, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x0d, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2a, + 0x28, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, + 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x01, 0x2a, 0x9d, 0x01, 0x0a, 0x0a, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x49, 0x4d, 0x41, 0x52, 0x59, + 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x53, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0b, + 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, + 0x44, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, 0x54, 0x43, 0x48, + 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 0x41, 0x52, 0x45, 0x10, 0x04, 0x12, 0x10, 0x0a, + 0x0c, 0x45, 0x58, 0x50, 0x45, 0x52, 0x49, 0x4d, 0x45, 0x4e, 0x54, 0x41, 0x4c, 0x10, 0x05, 0x12, + 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x52, + 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x52, 0x41, 0x49, + 0x4e, 0x45, 0x44, 0x10, 0x08, 0x1a, 0x02, 0x10, 0x01, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2227,8 +2150,8 @@ func file_vitess_topodata_dev_topodata_proto_rawDescGZIP() []byte { } var file_vitess_topodata_dev_topodata_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_vitess_topodata_dev_topodata_proto_msgTypes = make([]protoimpl.MessageInfo, 26) -var file_vitess_topodata_dev_topodata_proto_goTypes = []interface{}{ +var file_vitess_topodata_dev_topodata_proto_msgTypes = make([]protoimpl.MessageInfo, 27) +var file_vitess_topodata_dev_topodata_proto_goTypes = []any{ (KeyspaceType)(0), // 0: vitess.topodata.dev.KeyspaceType (TabletType)(0), // 1: vitess.topodata.dev.TabletType (ShardReplicationError_Type)(0), // 2: vitess.topodata.dev.ShardReplicationError.Type @@ -2253,12 +2176,13 @@ var file_vitess_topodata_dev_topodata_proto_goTypes = []interface{}{ nil, // 21: vitess.topodata.dev.Tablet.TagsEntry (*Shard_SourceShard)(nil), // 22: vitess.topodata.dev.Shard.SourceShard (*Shard_TabletControl)(nil), // 23: vitess.topodata.dev.Shard.TabletControl - (*Keyspace_ServedFrom)(nil), // 24: vitess.topodata.dev.Keyspace.ServedFrom - (*ShardReplication_Node)(nil), // 25: vitess.topodata.dev.ShardReplication.Node - nil, // 26: vitess.topodata.dev.ThrottlerConfig.ThrottledAppsEntry - (*SrvKeyspace_KeyspacePartition)(nil), // 27: vitess.topodata.dev.SrvKeyspace.KeyspacePartition - (*SrvKeyspace_ServedFrom)(nil), // 28: vitess.topodata.dev.SrvKeyspace.ServedFrom - (*dev.Time)(nil), // 29: vitess.vttime.dev.Time + (*ShardReplication_Node)(nil), // 24: vitess.topodata.dev.ShardReplication.Node + nil, // 25: vitess.topodata.dev.ThrottlerConfig.ThrottledAppsEntry + (*ThrottlerConfig_MetricNames)(nil), // 26: vitess.topodata.dev.ThrottlerConfig.MetricNames + nil, // 27: vitess.topodata.dev.ThrottlerConfig.AppCheckedMetricsEntry + nil, // 28: vitess.topodata.dev.ThrottlerConfig.MetricThresholdsEntry + (*SrvKeyspace_KeyspacePartition)(nil), // 29: vitess.topodata.dev.SrvKeyspace.KeyspacePartition + (*dev.Time)(nil), // 30: vitess.vttime.dev.Time } var file_vitess_topodata_dev_topodata_proto_depIdxs = []int32{ 4, // 0: vitess.topodata.dev.Tablet.alias:type_name -> vitess.topodata.dev.TabletAlias @@ -2266,42 +2190,41 @@ var file_vitess_topodata_dev_topodata_proto_depIdxs = []int32{ 3, // 2: vitess.topodata.dev.Tablet.key_range:type_name -> vitess.topodata.dev.KeyRange 1, // 3: vitess.topodata.dev.Tablet.type:type_name -> vitess.topodata.dev.TabletType 21, // 4: vitess.topodata.dev.Tablet.tags:type_name -> vitess.topodata.dev.Tablet.TagsEntry - 29, // 5: vitess.topodata.dev.Tablet.primary_term_start_time:type_name -> vitess.vttime.dev.Time + 30, // 5: vitess.topodata.dev.Tablet.primary_term_start_time:type_name -> vitess.vttime.dev.Time 4, // 6: vitess.topodata.dev.Shard.primary_alias:type_name -> vitess.topodata.dev.TabletAlias - 29, // 7: vitess.topodata.dev.Shard.primary_term_start_time:type_name -> vitess.vttime.dev.Time + 30, // 7: vitess.topodata.dev.Shard.primary_term_start_time:type_name -> vitess.vttime.dev.Time 3, // 8: vitess.topodata.dev.Shard.key_range:type_name -> vitess.topodata.dev.KeyRange 22, // 9: vitess.topodata.dev.Shard.source_shards:type_name -> vitess.topodata.dev.Shard.SourceShard 23, // 10: vitess.topodata.dev.Shard.tablet_controls:type_name -> vitess.topodata.dev.Shard.TabletControl - 24, // 11: vitess.topodata.dev.Keyspace.served_froms:type_name -> vitess.topodata.dev.Keyspace.ServedFrom - 0, // 12: vitess.topodata.dev.Keyspace.keyspace_type:type_name -> vitess.topodata.dev.KeyspaceType - 29, // 13: vitess.topodata.dev.Keyspace.snapshot_time:type_name -> vitess.vttime.dev.Time - 13, // 14: vitess.topodata.dev.Keyspace.throttler_config:type_name -> vitess.topodata.dev.ThrottlerConfig - 25, // 15: vitess.topodata.dev.ShardReplication.nodes:type_name -> vitess.topodata.dev.ShardReplication.Node - 2, // 16: vitess.topodata.dev.ShardReplicationError.type:type_name -> vitess.topodata.dev.ShardReplicationError.Type - 4, // 17: vitess.topodata.dev.ShardReplicationError.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 3, // 18: vitess.topodata.dev.ShardReference.key_range:type_name -> vitess.topodata.dev.KeyRange - 3, // 19: vitess.topodata.dev.ShardTabletControl.key_range:type_name -> vitess.topodata.dev.KeyRange - 29, // 20: vitess.topodata.dev.ThrottledAppRule.expires_at:type_name -> vitess.vttime.dev.Time - 26, // 21: vitess.topodata.dev.ThrottlerConfig.throttled_apps:type_name -> vitess.topodata.dev.ThrottlerConfig.ThrottledAppsEntry - 27, // 22: vitess.topodata.dev.SrvKeyspace.partitions:type_name -> vitess.topodata.dev.SrvKeyspace.KeyspacePartition - 28, // 23: vitess.topodata.dev.SrvKeyspace.served_from:type_name -> vitess.topodata.dev.SrvKeyspace.ServedFrom + 0, // 11: vitess.topodata.dev.Keyspace.keyspace_type:type_name -> vitess.topodata.dev.KeyspaceType + 30, // 12: vitess.topodata.dev.Keyspace.snapshot_time:type_name -> vitess.vttime.dev.Time + 13, // 13: vitess.topodata.dev.Keyspace.throttler_config:type_name -> vitess.topodata.dev.ThrottlerConfig + 24, // 14: vitess.topodata.dev.ShardReplication.nodes:type_name -> vitess.topodata.dev.ShardReplication.Node + 2, // 15: vitess.topodata.dev.ShardReplicationError.type:type_name -> vitess.topodata.dev.ShardReplicationError.Type + 4, // 16: vitess.topodata.dev.ShardReplicationError.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 3, // 17: vitess.topodata.dev.ShardReference.key_range:type_name -> vitess.topodata.dev.KeyRange + 3, // 18: vitess.topodata.dev.ShardTabletControl.key_range:type_name -> vitess.topodata.dev.KeyRange + 30, // 19: vitess.topodata.dev.ThrottledAppRule.expires_at:type_name -> vitess.vttime.dev.Time + 25, // 20: vitess.topodata.dev.ThrottlerConfig.throttled_apps:type_name -> vitess.topodata.dev.ThrottlerConfig.ThrottledAppsEntry + 27, // 21: vitess.topodata.dev.ThrottlerConfig.app_checked_metrics:type_name -> vitess.topodata.dev.ThrottlerConfig.AppCheckedMetricsEntry + 28, // 22: vitess.topodata.dev.ThrottlerConfig.metric_thresholds:type_name -> vitess.topodata.dev.ThrottlerConfig.MetricThresholdsEntry + 29, // 23: vitess.topodata.dev.SrvKeyspace.partitions:type_name -> vitess.topodata.dev.SrvKeyspace.KeyspacePartition 13, // 24: vitess.topodata.dev.SrvKeyspace.throttler_config:type_name -> vitess.topodata.dev.ThrottlerConfig 17, // 25: vitess.topodata.dev.ExternalVitessCluster.topo_config:type_name -> vitess.topodata.dev.TopoConfig 18, // 26: vitess.topodata.dev.ExternalClusters.vitess_cluster:type_name -> vitess.topodata.dev.ExternalVitessCluster 3, // 27: vitess.topodata.dev.Shard.SourceShard.key_range:type_name -> vitess.topodata.dev.KeyRange 1, // 28: vitess.topodata.dev.Shard.TabletControl.tablet_type:type_name -> vitess.topodata.dev.TabletType - 1, // 29: vitess.topodata.dev.Keyspace.ServedFrom.tablet_type:type_name -> vitess.topodata.dev.TabletType - 4, // 30: vitess.topodata.dev.ShardReplication.Node.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 12, // 31: vitess.topodata.dev.ThrottlerConfig.ThrottledAppsEntry.value:type_name -> vitess.topodata.dev.ThrottledAppRule + 4, // 29: vitess.topodata.dev.ShardReplication.Node.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 12, // 30: vitess.topodata.dev.ThrottlerConfig.ThrottledAppsEntry.value:type_name -> vitess.topodata.dev.ThrottledAppRule + 26, // 31: vitess.topodata.dev.ThrottlerConfig.AppCheckedMetricsEntry.value:type_name -> vitess.topodata.dev.ThrottlerConfig.MetricNames 1, // 32: vitess.topodata.dev.SrvKeyspace.KeyspacePartition.served_type:type_name -> vitess.topodata.dev.TabletType 10, // 33: vitess.topodata.dev.SrvKeyspace.KeyspacePartition.shard_references:type_name -> vitess.topodata.dev.ShardReference 11, // 34: vitess.topodata.dev.SrvKeyspace.KeyspacePartition.shard_tablet_controls:type_name -> vitess.topodata.dev.ShardTabletControl - 1, // 35: vitess.topodata.dev.SrvKeyspace.ServedFrom.tablet_type:type_name -> vitess.topodata.dev.TabletType - 36, // [36:36] is the sub-list for method output_type - 36, // [36:36] is the sub-list for method input_type - 36, // [36:36] is the sub-list for extension type_name - 36, // [36:36] is the sub-list for extension extendee - 0, // [0:36] is the sub-list for field type_name + 35, // [35:35] is the sub-list for method output_type + 35, // [35:35] is the sub-list for method input_type + 35, // [35:35] is the sub-list for extension type_name + 35, // [35:35] is the sub-list for extension extendee + 0, // [0:35] is the sub-list for field type_name } func init() { file_vitess_topodata_dev_topodata_proto_init() } @@ -2310,7 +2233,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_topodata_dev_topodata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*KeyRange); i { case 0: return &v.state @@ -2322,7 +2245,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*TabletAlias); i { case 0: return &v.state @@ -2334,7 +2257,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Tablet); i { case 0: return &v.state @@ -2346,7 +2269,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -2358,7 +2281,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -2370,7 +2293,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication); i { case 0: return &v.state @@ -2382,7 +2305,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationError); i { case 0: return &v.state @@ -2394,7 +2317,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ShardReference); i { case 0: return &v.state @@ -2406,7 +2329,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ShardTabletControl); i { case 0: return &v.state @@ -2418,7 +2341,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ThrottledAppRule); i { case 0: return &v.state @@ -2430,7 +2353,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ThrottlerConfig); i { case 0: return &v.state @@ -2442,7 +2365,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace); i { case 0: return &v.state @@ -2454,7 +2377,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*CellInfo); i { case 0: return &v.state @@ -2466,7 +2389,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*CellsAlias); i { case 0: return &v.state @@ -2478,7 +2401,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*TopoConfig); i { case 0: return &v.state @@ -2490,7 +2413,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ExternalVitessCluster); i { case 0: return &v.state @@ -2502,7 +2425,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ExternalClusters); i { case 0: return &v.state @@ -2514,7 +2437,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*Shard_SourceShard); i { case 0: return &v.state @@ -2526,7 +2449,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*Shard_TabletControl); i { case 0: return &v.state @@ -2538,19 +2461,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Keyspace_ServedFrom); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_vitess_topodata_dev_topodata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_dev_topodata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication_Node); i { case 0: return &v.state @@ -2562,8 +2473,8 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SrvKeyspace_KeyspacePartition); i { + file_vitess_topodata_dev_topodata_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*ThrottlerConfig_MetricNames); i { case 0: return &v.state case 1: @@ -2574,8 +2485,8 @@ func file_vitess_topodata_dev_topodata_proto_init() { return nil } } - file_vitess_topodata_dev_topodata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SrvKeyspace_ServedFrom); i { + file_vitess_topodata_dev_topodata_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*SrvKeyspace_KeyspacePartition); i { case 0: return &v.state case 1: @@ -2593,7 +2504,7 @@ func file_vitess_topodata_dev_topodata_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_topodata_dev_topodata_proto_rawDesc, NumEnums: 3, - NumMessages: 26, + NumMessages: 27, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/vitess/topodata/dev/topodata_vtproto.pb.go b/gen/vitess/topodata/dev/topodata_vtproto.pb.go index c2ea2aa..c1d53a2 100644 --- a/gen/vitess/topodata/dev/topodata_vtproto.pb.go +++ b/gen/vitess/topodata/dev/topodata_vtproto.pb.go @@ -523,60 +523,6 @@ func (m *Shard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Keyspace_ServedFrom) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Keyspace_ServedFrom) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *Keyspace_ServedFrom) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x1a - } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.TabletType != 0 { - i = encodeVarint(dAtA, i, uint64(m.TabletType)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - func (m *Keyspace) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -665,18 +611,6 @@ func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i-- dAtA[i] = 0x28 } - if len(m.ServedFroms) > 0 { - for iNdEx := len(m.ServedFroms) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.ServedFroms[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x22 - } - } return len(dAtA) - i, nil } @@ -1004,6 +938,48 @@ func (m *ThrottledAppRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ThrottlerConfig_MetricNames) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ThrottlerConfig_MetricNames) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ThrottlerConfig_MetricNames) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *ThrottlerConfig) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1034,6 +1010,46 @@ func (m *ThrottlerConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.MetricThresholds) > 0 { + for k := range m.MetricThresholds { + v := m.MetricThresholds[k] + baseI := i + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) + i-- + dAtA[i] = 0x11 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x3a + } + } + if len(m.AppCheckedMetrics) > 0 { + for k := range m.AppCheckedMetrics { + v := m.AppCheckedMetrics[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x32 + } + } if len(m.ThrottledApps) > 0 { for k := range m.ThrottledApps { v := m.ThrottledApps[k] @@ -1154,51 +1170,6 @@ func (m *SrvKeyspace_KeyspacePartition) MarshalToSizedBufferVT(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *SrvKeyspace_ServedFrom) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SrvKeyspace_ServedFrom) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *SrvKeyspace_ServedFrom) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if m.TabletType != 0 { - i = encodeVarint(dAtA, i, uint64(m.TabletType)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - func (m *SrvKeyspace) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1239,18 +1210,6 @@ func (m *SrvKeyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i-- dAtA[i] = 0x32 } - if len(m.ServedFrom) > 0 { - for iNdEx := len(m.ServedFrom) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.ServedFrom[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x22 - } - } if len(m.Partitions) > 0 { for iNdEx := len(m.Partitions) - 1; iNdEx >= 0; iNdEx-- { size, err := m.Partitions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) @@ -1718,41 +1677,12 @@ func (m *Shard) SizeVT() (n int) { return n } -func (m *Keyspace_ServedFrom) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TabletType != 0 { - n += 1 + sov(uint64(m.TabletType)) - } - if len(m.Cells) > 0 { - for _, s := range m.Cells { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} - func (m *Keyspace) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ServedFroms) > 0 { - for _, e := range m.ServedFroms { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } - } if m.KeyspaceType != 0 { n += 1 + sov(uint64(m.KeyspaceType)) } @@ -1902,6 +1832,22 @@ func (m *ThrottledAppRule) SizeVT() (n int) { return n } +func (m *ThrottlerConfig_MetricNames) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + func (m *ThrottlerConfig) SizeVT() (n int) { if m == nil { return 0 @@ -1934,6 +1880,27 @@ func (m *ThrottlerConfig) SizeVT() (n int) { n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) } } + if len(m.AppCheckedMetrics) > 0 { + for k, v := range m.AppCheckedMetrics { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.MetricThresholds) > 0 { + for k, v := range m.MetricThresholds { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + 8 + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } n += len(m.unknownFields) return n } @@ -1963,23 +1930,6 @@ func (m *SrvKeyspace_KeyspacePartition) SizeVT() (n int) { return n } -func (m *SrvKeyspace_ServedFrom) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TabletType != 0 { - n += 1 + sov(uint64(m.TabletType)) - } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} - func (m *SrvKeyspace) SizeVT() (n int) { if m == nil { return 0 @@ -1992,12 +1942,6 @@ func (m *SrvKeyspace) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } - if len(m.ServedFrom) > 0 { - for _, e := range m.ServedFrom { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } - } if m.ThrottlerConfig != nil { l = m.ThrottlerConfig.SizeVT() n += 1 + l + sov(uint64(l)) @@ -3554,7 +3498,7 @@ func (m *Shard) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Keyspace_ServedFrom) UnmarshalVT(dAtA []byte) error { +func (m *Keyspace) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3577,181 +3521,13 @@ func (m *Keyspace_ServedFrom) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Keyspace_ServedFrom: wiretype end group for non-group") + return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Keyspace_ServedFrom: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) - } - m.TabletType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TabletType |= TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Keyspace) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServedFroms", 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 - } - m.ServedFroms = append(m.ServedFroms, &Keyspace_ServedFrom{}) - if err := m.ServedFroms[len(m.ServedFroms)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: + case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceType", wireType) } @@ -4662,6 +4438,89 @@ func (m *ThrottledAppRule) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *ThrottlerConfig_MetricNames) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ThrottlerConfig_MetricNames: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ThrottlerConfig_MetricNames: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *ThrottlerConfig) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4903,79 +4762,9 @@ func (m *ThrottlerConfig) UnmarshalVT(dAtA []byte) error { } m.ThrottledApps[mapkey] = mapvalue iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SrvKeyspace_KeyspacePartition: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SrvKeyspace_KeyspacePartition: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ServedType", wireType) - } - m.ServedType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ServedType |= TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardReferences", wireType) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppCheckedMetrics", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5002,14 +4791,109 @@ func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ShardReferences = append(m.ShardReferences, &ShardReference{}) - if err := m.ShardReferences[len(m.ShardReferences)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.AppCheckedMetrics == nil { + m.AppCheckedMetrics = make(map[string]*ThrottlerConfig_MetricNames) + } + var mapkey string + var mapvalue *ThrottlerConfig_MetricNames + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ThrottlerConfig_MetricNames{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } + m.AppCheckedMetrics[mapkey] = mapvalue iNdEx = postIndex - case 3: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardTabletControls", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MetricThresholds", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5036,10 +4920,82 @@ func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ShardTabletControls = append(m.ShardTabletControls, &ShardTabletControl{}) - if err := m.ShardTabletControls[len(m.ShardTabletControls)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.MetricThresholds == nil { + m.MetricThresholds = make(map[string]float64) + } + var mapkey string + var mapvalue float64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapvaluetemp uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + mapvaluetemp = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + mapvalue = math.Float64frombits(mapvaluetemp) + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } + m.MetricThresholds[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -5063,7 +5019,7 @@ func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SrvKeyspace_ServedFrom) UnmarshalVT(dAtA []byte) error { +func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5086,17 +5042,17 @@ func (m *SrvKeyspace_ServedFrom) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SrvKeyspace_ServedFrom: wiretype end group for non-group") + return fmt.Errorf("proto: SrvKeyspace_KeyspacePartition: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SrvKeyspace_ServedFrom: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SrvKeyspace_KeyspacePartition: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServedType", wireType) } - m.TabletType = 0 + m.ServedType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -5106,16 +5062,16 @@ func (m *SrvKeyspace_ServedFrom) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TabletType |= TabletType(b&0x7F) << shift + m.ServedType |= TabletType(b&0x7F) << shift if b < 0x80 { break } } case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ShardReferences", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -5125,23 +5081,59 @@ func (m *SrvKeyspace_ServedFrom) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.ShardReferences = append(m.ShardReferences, &ShardReference{}) + if err := m.ShardReferences[len(m.ShardReferences)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardTabletControls", 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 + } + m.ShardTabletControls = append(m.ShardTabletControls, &ShardTabletControl{}) + if err := m.ShardTabletControls[len(m.ShardTabletControls)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -5228,40 +5220,6 @@ func (m *SrvKeyspace) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServedFrom", 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 - } - m.ServedFrom = append(m.ServedFrom, &SrvKeyspace_ServedFrom{}) - if err := m.ServedFrom[len(m.ServedFrom)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ThrottlerConfig", wireType) diff --git a/gen/vitess/topodata/v16/topodata.pb.go b/gen/vitess/topodata/v16/topodata.pb.go index 7e99356..095a54f 100644 --- a/gen/vitess/topodata/v16/topodata.pb.go +++ b/gen/vitess/topodata/v16/topodata.pb.go @@ -20,7 +20,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/topodata/v16/topodata.proto @@ -2118,7 +2118,7 @@ func file_vitess_topodata_v16_topodata_proto_rawDescGZIP() []byte { var file_vitess_topodata_v16_topodata_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_vitess_topodata_v16_topodata_proto_msgTypes = make([]protoimpl.MessageInfo, 24) -var file_vitess_topodata_v16_topodata_proto_goTypes = []interface{}{ +var file_vitess_topodata_v16_topodata_proto_goTypes = []any{ (KeyspaceType)(0), // 0: vitess.topodata.v16.KeyspaceType (TabletType)(0), // 1: vitess.topodata.v16.TabletType (ShardReplicationError_Type)(0), // 2: vitess.topodata.v16.ShardReplicationError.Type @@ -2195,7 +2195,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_topodata_v16_topodata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*KeyRange); i { case 0: return &v.state @@ -2207,7 +2207,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*TabletAlias); i { case 0: return &v.state @@ -2219,7 +2219,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Tablet); i { case 0: return &v.state @@ -2231,7 +2231,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -2243,7 +2243,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -2255,7 +2255,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication); i { case 0: return &v.state @@ -2267,7 +2267,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationError); i { case 0: return &v.state @@ -2279,7 +2279,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ShardReference); i { case 0: return &v.state @@ -2291,7 +2291,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ShardTabletControl); i { case 0: return &v.state @@ -2303,7 +2303,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ThrottlerConfig); i { case 0: return &v.state @@ -2315,7 +2315,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace); i { case 0: return &v.state @@ -2327,7 +2327,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*CellInfo); i { case 0: return &v.state @@ -2339,7 +2339,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*CellsAlias); i { case 0: return &v.state @@ -2351,7 +2351,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*TopoConfig); i { case 0: return &v.state @@ -2363,7 +2363,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ExternalVitessCluster); i { case 0: return &v.state @@ -2375,7 +2375,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ExternalClusters); i { case 0: return &v.state @@ -2387,7 +2387,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*Shard_SourceShard); i { case 0: return &v.state @@ -2399,7 +2399,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*Shard_TabletControl); i { case 0: return &v.state @@ -2411,7 +2411,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*Keyspace_ServedFrom); i { case 0: return &v.state @@ -2423,7 +2423,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication_Node); i { case 0: return &v.state @@ -2435,7 +2435,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace_KeyspacePartition); i { case 0: return &v.state @@ -2447,7 +2447,7 @@ func file_vitess_topodata_v16_topodata_proto_init() { return nil } } - file_vitess_topodata_v16_topodata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v16_topodata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace_ServedFrom); i { case 0: return &v.state diff --git a/gen/vitess/topodata/v17/topodata.pb.go b/gen/vitess/topodata/v17/topodata.pb.go index c220478..e118b98 100644 --- a/gen/vitess/topodata/v17/topodata.pb.go +++ b/gen/vitess/topodata/v17/topodata.pb.go @@ -20,7 +20,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/topodata/v17/topodata.proto @@ -2120,7 +2120,7 @@ func file_vitess_topodata_v17_topodata_proto_rawDescGZIP() []byte { var file_vitess_topodata_v17_topodata_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_vitess_topodata_v17_topodata_proto_msgTypes = make([]protoimpl.MessageInfo, 24) -var file_vitess_topodata_v17_topodata_proto_goTypes = []interface{}{ +var file_vitess_topodata_v17_topodata_proto_goTypes = []any{ (KeyspaceType)(0), // 0: vitess.topodata.v17.KeyspaceType (TabletType)(0), // 1: vitess.topodata.v17.TabletType (ShardReplicationError_Type)(0), // 2: vitess.topodata.v17.ShardReplicationError.Type @@ -2197,7 +2197,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_topodata_v17_topodata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*KeyRange); i { case 0: return &v.state @@ -2209,7 +2209,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*TabletAlias); i { case 0: return &v.state @@ -2221,7 +2221,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Tablet); i { case 0: return &v.state @@ -2233,7 +2233,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -2245,7 +2245,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -2257,7 +2257,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication); i { case 0: return &v.state @@ -2269,7 +2269,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationError); i { case 0: return &v.state @@ -2281,7 +2281,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ShardReference); i { case 0: return &v.state @@ -2293,7 +2293,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ShardTabletControl); i { case 0: return &v.state @@ -2305,7 +2305,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ThrottlerConfig); i { case 0: return &v.state @@ -2317,7 +2317,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace); i { case 0: return &v.state @@ -2329,7 +2329,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*CellInfo); i { case 0: return &v.state @@ -2341,7 +2341,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*CellsAlias); i { case 0: return &v.state @@ -2353,7 +2353,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*TopoConfig); i { case 0: return &v.state @@ -2365,7 +2365,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ExternalVitessCluster); i { case 0: return &v.state @@ -2377,7 +2377,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ExternalClusters); i { case 0: return &v.state @@ -2389,7 +2389,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*Shard_SourceShard); i { case 0: return &v.state @@ -2401,7 +2401,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*Shard_TabletControl); i { case 0: return &v.state @@ -2413,7 +2413,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*Keyspace_ServedFrom); i { case 0: return &v.state @@ -2425,7 +2425,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication_Node); i { case 0: return &v.state @@ -2437,7 +2437,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace_KeyspacePartition); i { case 0: return &v.state @@ -2449,7 +2449,7 @@ func file_vitess_topodata_v17_topodata_proto_init() { return nil } } - file_vitess_topodata_v17_topodata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v17_topodata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace_ServedFrom); i { case 0: return &v.state diff --git a/gen/vitess/topodata/v18/topodata.pb.go b/gen/vitess/topodata/v18/topodata.pb.go index 560711a..70362c6 100644 --- a/gen/vitess/topodata/v18/topodata.pb.go +++ b/gen/vitess/topodata/v18/topodata.pb.go @@ -20,7 +20,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/topodata/v18/topodata.proto @@ -2228,7 +2228,7 @@ func file_vitess_topodata_v18_topodata_proto_rawDescGZIP() []byte { var file_vitess_topodata_v18_topodata_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_vitess_topodata_v18_topodata_proto_msgTypes = make([]protoimpl.MessageInfo, 26) -var file_vitess_topodata_v18_topodata_proto_goTypes = []interface{}{ +var file_vitess_topodata_v18_topodata_proto_goTypes = []any{ (KeyspaceType)(0), // 0: vitess.topodata.v18.KeyspaceType (TabletType)(0), // 1: vitess.topodata.v18.TabletType (ShardReplicationError_Type)(0), // 2: vitess.topodata.v18.ShardReplicationError.Type @@ -2310,7 +2310,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_topodata_v18_topodata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*KeyRange); i { case 0: return &v.state @@ -2322,7 +2322,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*TabletAlias); i { case 0: return &v.state @@ -2334,7 +2334,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Tablet); i { case 0: return &v.state @@ -2346,7 +2346,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -2358,7 +2358,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -2370,7 +2370,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication); i { case 0: return &v.state @@ -2382,7 +2382,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationError); i { case 0: return &v.state @@ -2394,7 +2394,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ShardReference); i { case 0: return &v.state @@ -2406,7 +2406,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ShardTabletControl); i { case 0: return &v.state @@ -2418,7 +2418,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ThrottledAppRule); i { case 0: return &v.state @@ -2430,7 +2430,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ThrottlerConfig); i { case 0: return &v.state @@ -2442,7 +2442,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace); i { case 0: return &v.state @@ -2454,7 +2454,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*CellInfo); i { case 0: return &v.state @@ -2466,7 +2466,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*CellsAlias); i { case 0: return &v.state @@ -2478,7 +2478,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*TopoConfig); i { case 0: return &v.state @@ -2490,7 +2490,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ExternalVitessCluster); i { case 0: return &v.state @@ -2502,7 +2502,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ExternalClusters); i { case 0: return &v.state @@ -2514,7 +2514,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*Shard_SourceShard); i { case 0: return &v.state @@ -2526,7 +2526,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*Shard_TabletControl); i { case 0: return &v.state @@ -2538,7 +2538,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*Keyspace_ServedFrom); i { case 0: return &v.state @@ -2550,7 +2550,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*ShardReplication_Node); i { case 0: return &v.state @@ -2562,7 +2562,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace_KeyspacePartition); i { case 0: return &v.state @@ -2574,7 +2574,7 @@ func file_vitess_topodata_v18_topodata_proto_init() { return nil } } - file_vitess_topodata_v18_topodata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_topodata_v18_topodata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*SrvKeyspace_ServedFrom); i { case 0: return &v.state diff --git a/gen/vitess/topodata/v19/topodata.pb.go b/gen/vitess/topodata/v19/topodata.pb.go new file mode 100644 index 0000000..553b239 --- /dev/null +++ b/gen/vitess/topodata/v19/topodata.pb.go @@ -0,0 +1,2410 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains the Vitess topology related data structures. +// Very few of these structures are exchanged over the wire (only +// TabletType and KeyRange), but they are all used by the topology +// service. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/topodata/v19/topodata.proto + +// option java_package="io.vitess.proto"; + +package topodatav19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// KeyspaceType describes the type of the keyspace +type KeyspaceType int32 + +const ( + // NORMAL is the default value + KeyspaceType_NORMAL KeyspaceType = 0 + // SNAPSHOT is when we are creating a snapshot keyspace + KeyspaceType_SNAPSHOT KeyspaceType = 1 +) + +// Enum value maps for KeyspaceType. +var ( + KeyspaceType_name = map[int32]string{ + 0: "NORMAL", + 1: "SNAPSHOT", + } + KeyspaceType_value = map[string]int32{ + "NORMAL": 0, + "SNAPSHOT": 1, + } +) + +func (x KeyspaceType) Enum() *KeyspaceType { + p := new(KeyspaceType) + *p = x + return p +} + +func (x KeyspaceType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (KeyspaceType) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_topodata_v19_topodata_proto_enumTypes[0].Descriptor() +} + +func (KeyspaceType) Type() protoreflect.EnumType { + return &file_vitess_topodata_v19_topodata_proto_enumTypes[0] +} + +func (x KeyspaceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use KeyspaceType.Descriptor instead. +func (KeyspaceType) EnumDescriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{0} +} + +// TabletType represents the type of a given tablet. +type TabletType int32 + +const ( + // UNKNOWN is not a valid value. + TabletType_UNKNOWN TabletType = 0 + // PRIMARY is the primary server for the shard. Only PRIMARY allows DMLs. + TabletType_PRIMARY TabletType = 1 + // DEPRECATED + TabletType_MASTER TabletType = 1 + // REPLICA replicates from primary. It is used to serve live traffic. + // A REPLICA can be promoted to PRIMARY. A demoted PRIMARY will go to REPLICA. + TabletType_REPLICA TabletType = 2 + // RDONLY (old name) / BATCH (new name) is used to serve traffic for + // long-running jobs. It is a separate type from REPLICA so + // long-running queries don't affect web-like traffic. + TabletType_RDONLY TabletType = 3 + TabletType_BATCH TabletType = 3 + // SPARE is a type of servers that cannot serve queries, but is available + // in case an extra server is needed. + TabletType_SPARE TabletType = 4 + // EXPERIMENTAL is like SPARE, except it can serve queries. This + // type can be used for usages not planned by Vitess, like online + // export to another storage engine. + TabletType_EXPERIMENTAL TabletType = 5 + // BACKUP is the type a server goes to when taking a backup. No queries + // can be served in BACKUP mode. + TabletType_BACKUP TabletType = 6 + // RESTORE is the type a server uses when restoring a backup, at + // startup time. No queries can be served in RESTORE mode. + TabletType_RESTORE TabletType = 7 + // DRAINED is the type a server goes into when used by Vitess tools + // to perform an offline action. It is a serving type (as + // the tools processes may need to run queries), but it's not used + // to route queries from Vitess users. In this state, + // this tablet is dedicated to the process that uses it. + TabletType_DRAINED TabletType = 8 +) + +// Enum value maps for TabletType. +var ( + TabletType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "PRIMARY", + // Duplicate value: 1: "MASTER", + 2: "REPLICA", + 3: "RDONLY", + // Duplicate value: 3: "BATCH", + 4: "SPARE", + 5: "EXPERIMENTAL", + 6: "BACKUP", + 7: "RESTORE", + 8: "DRAINED", + } + TabletType_value = map[string]int32{ + "UNKNOWN": 0, + "PRIMARY": 1, + "MASTER": 1, + "REPLICA": 2, + "RDONLY": 3, + "BATCH": 3, + "SPARE": 4, + "EXPERIMENTAL": 5, + "BACKUP": 6, + "RESTORE": 7, + "DRAINED": 8, + } +) + +func (x TabletType) Enum() *TabletType { + p := new(TabletType) + *p = x + return p +} + +func (x TabletType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TabletType) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_topodata_v19_topodata_proto_enumTypes[1].Descriptor() +} + +func (TabletType) Type() protoreflect.EnumType { + return &file_vitess_topodata_v19_topodata_proto_enumTypes[1] +} + +func (x TabletType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TabletType.Descriptor instead. +func (TabletType) EnumDescriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{1} +} + +type ShardReplicationError_Type int32 + +const ( + // UNKNOWN is not a valid value. + ShardReplicationError_UNKNOWN ShardReplicationError_Type = 0 + // NOT_FOUND occurs when a tablet is in the ShardReplication record + // but does not exist in the topology. + ShardReplicationError_NOT_FOUND ShardReplicationError_Type = 1 + // TOPOLOGY_MISMATCH occurs when a tablet is in the replication graph and + // exists in the topology, but at least one of the Keyspace, Shard, or Cell + // fields for that tablet does not match the ShardReplication record. + ShardReplicationError_TOPOLOGY_MISMATCH ShardReplicationError_Type = 2 +) + +// Enum value maps for ShardReplicationError_Type. +var ( + ShardReplicationError_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "NOT_FOUND", + 2: "TOPOLOGY_MISMATCH", + } + ShardReplicationError_Type_value = map[string]int32{ + "UNKNOWN": 0, + "NOT_FOUND": 1, + "TOPOLOGY_MISMATCH": 2, + } +) + +func (x ShardReplicationError_Type) Enum() *ShardReplicationError_Type { + p := new(ShardReplicationError_Type) + *p = x + return p +} + +func (x ShardReplicationError_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ShardReplicationError_Type) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_topodata_v19_topodata_proto_enumTypes[2].Descriptor() +} + +func (ShardReplicationError_Type) Type() protoreflect.EnumType { + return &file_vitess_topodata_v19_topodata_proto_enumTypes[2] +} + +func (x ShardReplicationError_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ShardReplicationError_Type.Descriptor instead. +func (ShardReplicationError_Type) EnumDescriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{6, 0} +} + +// KeyRange describes a range of sharding keys, when range-based +// sharding is used. +type KeyRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Start []byte `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End []byte `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` +} + +func (x *KeyRange) Reset() { + *x = KeyRange{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyRange) ProtoMessage() {} + +func (x *KeyRange) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyRange.ProtoReflect.Descriptor instead. +func (*KeyRange) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{0} +} + +func (x *KeyRange) GetStart() []byte { + if x != nil { + return x.Start + } + return nil +} + +func (x *KeyRange) GetEnd() []byte { + if x != nil { + return x.End + } + return nil +} + +// TabletAlias is a globally unique tablet identifier. +type TabletAlias struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // cell is the cell (or datacenter) the tablet is in + Cell string `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` + // uid is a unique id for this tablet within the shard + // (this is the MySQL server id as well). + Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *TabletAlias) Reset() { + *x = TabletAlias{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletAlias) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletAlias) ProtoMessage() {} + +func (x *TabletAlias) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletAlias.ProtoReflect.Descriptor instead. +func (*TabletAlias) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{1} +} + +func (x *TabletAlias) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *TabletAlias) GetUid() uint32 { + if x != nil { + return x.Uid + } + return 0 +} + +// Tablet represents information about a running instance of vttablet. +type Tablet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // alias is the unique name of the tablet. + Alias *TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + // Fully qualified domain name of the host. + Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` + // Map of named ports. Normally this should include vt and grpc. + // Going forward, the mysql port will be stored in mysql_port + // instead of here. + // For accessing mysql port, use topoproto.MysqlPort to fetch, and + // topoproto.SetMysqlPort to set. These wrappers will ensure + // legacy behavior is supported. + PortMap map[string]int32 `protobuf:"bytes,4,rep,name=port_map,json=portMap,proto3" json:"port_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // Keyspace name. + Keyspace string `protobuf:"bytes,5,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard name. If range based sharding is used, it should match + // key_range. + Shard string `protobuf:"bytes,6,opt,name=shard,proto3" json:"shard,omitempty"` + // If range based sharding is used, range for the tablet's shard. + KeyRange *KeyRange `protobuf:"bytes,7,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` + // type is the current type of the tablet. + Type TabletType `protobuf:"varint,8,opt,name=type,proto3,enum=vitess.topodata.v19.TabletType" json:"type,omitempty"` + // It this is set, it is used as the database name instead of the + // normal "vt_" + keyspace. + DbNameOverride string `protobuf:"bytes,9,opt,name=db_name_override,json=dbNameOverride,proto3" json:"db_name_override,omitempty"` + // tablet tags + Tags map[string]string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // MySQL hostname. + MysqlHostname string `protobuf:"bytes,12,opt,name=mysql_hostname,json=mysqlHostname,proto3" json:"mysql_hostname,omitempty"` + // MySQL port. Use topoproto.MysqlPort and topoproto.SetMysqlPort + // to access this variable. The functions provide support + // for legacy behavior. + MysqlPort int32 `protobuf:"varint,13,opt,name=mysql_port,json=mysqlPort,proto3" json:"mysql_port,omitempty"` + // primary_term_start_time is the time (in UTC) at which the current term of + // the current tablet began as primary. If this tablet is not currently the + // primary, this value is ignored. + // + // A new primary term begins any time an authoritative decision is communicated + // about which tablet should be the primary, such as via Vitess + // replication-management commands like PlannedReparentShard, + // EmergencyReparentShard, and TabletExternallyReparented. + PrimaryTermStartTime *v19.Time `protobuf:"bytes,14,opt,name=primary_term_start_time,json=primaryTermStartTime,proto3" json:"primary_term_start_time,omitempty"` + // default_conn_collation is the default connection collation used by this tablet. + DefaultConnCollation uint32 `protobuf:"varint,16,opt,name=default_conn_collation,json=defaultConnCollation,proto3" json:"default_conn_collation,omitempty"` +} + +func (x *Tablet) Reset() { + *x = Tablet{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Tablet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Tablet) ProtoMessage() {} + +func (x *Tablet) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Tablet.ProtoReflect.Descriptor instead. +func (*Tablet) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{2} +} + +func (x *Tablet) GetAlias() *TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *Tablet) GetHostname() string { + if x != nil { + return x.Hostname + } + return "" +} + +func (x *Tablet) GetPortMap() map[string]int32 { + if x != nil { + return x.PortMap + } + return nil +} + +func (x *Tablet) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *Tablet) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *Tablet) GetKeyRange() *KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +func (x *Tablet) GetType() TabletType { + if x != nil { + return x.Type + } + return TabletType_UNKNOWN +} + +func (x *Tablet) GetDbNameOverride() string { + if x != nil { + return x.DbNameOverride + } + return "" +} + +func (x *Tablet) GetTags() map[string]string { + if x != nil { + return x.Tags + } + return nil +} + +func (x *Tablet) GetMysqlHostname() string { + if x != nil { + return x.MysqlHostname + } + return "" +} + +func (x *Tablet) GetMysqlPort() int32 { + if x != nil { + return x.MysqlPort + } + return 0 +} + +func (x *Tablet) GetPrimaryTermStartTime() *v19.Time { + if x != nil { + return x.PrimaryTermStartTime + } + return nil +} + +func (x *Tablet) GetDefaultConnCollation() uint32 { + if x != nil { + return x.DefaultConnCollation + } + return 0 +} + +// A Shard contains data about a subset of the data whithin a keyspace. +type Shard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // primary_alias is the tablet alias of the primary for the shard. + // If it is unset, then there is no primary in this shard yet. + // No lock is necessary to update this field, when for instance + // TabletExternallyReparented updates this. However, we lock the + // shard for reparenting operations (InitShardPrimary, + // PlannedReparentShard,EmergencyReparentShard), to guarantee + // exclusive operation. + PrimaryAlias *TabletAlias `protobuf:"bytes,1,opt,name=primary_alias,json=primaryAlias,proto3" json:"primary_alias,omitempty"` + // primary_term_start_time is the time (in UTC) at which the current term of + // the primary specified in primary_alias began. + // + // A new primary term begins any time an authoritative decision is communicated + // about which tablet should be the primary, such as via Vitess + // replication-management commands like PlannedReparentShard, + // EmergencyReparentShard, and TabletExternallyReparented. + // + // The primary_alias should only ever be changed if the new primary's term began + // at a later time than this. Note that a new term can start for the tablet + // that is already the primary. In that case, the primary_term_start_time would + // be increased without changing the primary_alias. + PrimaryTermStartTime *v19.Time `protobuf:"bytes,8,opt,name=primary_term_start_time,json=primaryTermStartTime,proto3" json:"primary_term_start_time,omitempty"` + // key_range is the KeyRange for this shard. It can be unset if: + // - we are not using range-based sharding in this shard. + // - the shard covers the entire keyrange. + // This must match the shard name based on our other conventions, but + // helpful to have it decomposed here. + // Once set at creation time, it is never changed. + KeyRange *KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` + // SourceShards is the list of shards we're replicating from, + // using filtered replication. + // The keyspace lock is always taken when changing this. + SourceShards []*Shard_SourceShard `protobuf:"bytes,4,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` + // tablet_controls has at most one entry per TabletType. + // The keyspace lock is always taken when changing this. + TabletControls []*Shard_TabletControl `protobuf:"bytes,6,rep,name=tablet_controls,json=tabletControls,proto3" json:"tablet_controls,omitempty"` + // is_primary_serving sets whether this shard primary is serving traffic or not. + // The keyspace lock is always taken when changing this. + IsPrimaryServing bool `protobuf:"varint,7,opt,name=is_primary_serving,json=isPrimaryServing,proto3" json:"is_primary_serving,omitempty"` +} + +func (x *Shard) Reset() { + *x = Shard{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shard) ProtoMessage() {} + +func (x *Shard) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Shard.ProtoReflect.Descriptor instead. +func (*Shard) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{3} +} + +func (x *Shard) GetPrimaryAlias() *TabletAlias { + if x != nil { + return x.PrimaryAlias + } + return nil +} + +func (x *Shard) GetPrimaryTermStartTime() *v19.Time { + if x != nil { + return x.PrimaryTermStartTime + } + return nil +} + +func (x *Shard) GetKeyRange() *KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +func (x *Shard) GetSourceShards() []*Shard_SourceShard { + if x != nil { + return x.SourceShards + } + return nil +} + +func (x *Shard) GetTabletControls() []*Shard_TabletControl { + if x != nil { + return x.TabletControls + } + return nil +} + +func (x *Shard) GetIsPrimaryServing() bool { + if x != nil { + return x.IsPrimaryServing + } + return false +} + +// A Keyspace contains data about a keyspace. +type Keyspace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // keyspace_type will determine how this keyspace is treated by + // vtgate / vschema. Normal keyspaces are routable by + // any query. Snapshot keyspaces are only accessible + // by explicit addresssing or by calling "use keyspace" first + KeyspaceType KeyspaceType `protobuf:"varint,5,opt,name=keyspace_type,json=keyspaceType,proto3,enum=vitess.topodata.v19.KeyspaceType" json:"keyspace_type,omitempty"` + // base_keyspace is the base keyspace from which a snapshot + // keyspace is created. empty for normal keyspaces + BaseKeyspace string `protobuf:"bytes,6,opt,name=base_keyspace,json=baseKeyspace,proto3" json:"base_keyspace,omitempty"` + // snapshot_time (in UTC) is a property of snapshot + // keyspaces which tells us what point in time + // the snapshot is of + SnapshotTime *v19.Time `protobuf:"bytes,7,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` + // DurabilityPolicy is the durability policy to be + // used for the keyspace. + DurabilityPolicy string `protobuf:"bytes,8,opt,name=durability_policy,json=durabilityPolicy,proto3" json:"durability_policy,omitempty"` + // ThrottlerConfig has the configuration for the tablet + // server's lag throttler, and applies to the entire + // keyspace, across all shards and tablets. + ThrottlerConfig *ThrottlerConfig `protobuf:"bytes,9,opt,name=throttler_config,json=throttlerConfig,proto3" json:"throttler_config,omitempty"` + // SidecarDBName is the name of the Vitess sidecar database + // used for various system metadata that is stored in each + // tablet's mysqld instance. + SidecarDbName string `protobuf:"bytes,10,opt,name=sidecar_db_name,json=sidecarDbName,proto3" json:"sidecar_db_name,omitempty"` +} + +func (x *Keyspace) Reset() { + *x = Keyspace{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Keyspace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Keyspace) ProtoMessage() {} + +func (x *Keyspace) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Keyspace.ProtoReflect.Descriptor instead. +func (*Keyspace) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{4} +} + +func (x *Keyspace) GetKeyspaceType() KeyspaceType { + if x != nil { + return x.KeyspaceType + } + return KeyspaceType_NORMAL +} + +func (x *Keyspace) GetBaseKeyspace() string { + if x != nil { + return x.BaseKeyspace + } + return "" +} + +func (x *Keyspace) GetSnapshotTime() *v19.Time { + if x != nil { + return x.SnapshotTime + } + return nil +} + +func (x *Keyspace) GetDurabilityPolicy() string { + if x != nil { + return x.DurabilityPolicy + } + return "" +} + +func (x *Keyspace) GetThrottlerConfig() *ThrottlerConfig { + if x != nil { + return x.ThrottlerConfig + } + return nil +} + +func (x *Keyspace) GetSidecarDbName() string { + if x != nil { + return x.SidecarDbName + } + return "" +} + +// ShardReplication describes the MySQL replication relationships +// whithin a cell. +type ShardReplication struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Note there can be only one Node in this array + // for a given tablet. + Nodes []*ShardReplication_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` +} + +func (x *ShardReplication) Reset() { + *x = ShardReplication{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplication) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplication) ProtoMessage() {} + +func (x *ShardReplication) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplication.ProtoReflect.Descriptor instead. +func (*ShardReplication) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{5} +} + +func (x *ShardReplication) GetNodes() []*ShardReplication_Node { + if x != nil { + return x.Nodes + } + return nil +} + +// ShardReplicationError describes the error being fixed by +// ShardReplicationFix. +type ShardReplicationError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Type is the category of problem being fixed. + Type ShardReplicationError_Type `protobuf:"varint,1,opt,name=type,proto3,enum=vitess.topodata.v19.ShardReplicationError_Type" json:"type,omitempty"` + // TabletAlias is the tablet record that has the problem. + TabletAlias *TabletAlias `protobuf:"bytes,2,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ShardReplicationError) Reset() { + *x = ShardReplicationError{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationError) ProtoMessage() {} + +func (x *ShardReplicationError) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationError.ProtoReflect.Descriptor instead. +func (*ShardReplicationError) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{6} +} + +func (x *ShardReplicationError) GetType() ShardReplicationError_Type { + if x != nil { + return x.Type + } + return ShardReplicationError_UNKNOWN +} + +func (x *ShardReplicationError) GetTabletAlias() *TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +// ShardReference is used as a pointer from a SrvKeyspace to a Shard +type ShardReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Copied from Shard. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + KeyRange *KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // Disable query serving in this shard +} + +func (x *ShardReference) Reset() { + *x = ShardReference{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReference) ProtoMessage() {} + +func (x *ShardReference) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReference.ProtoReflect.Descriptor instead. +func (*ShardReference) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{7} +} + +func (x *ShardReference) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ShardReference) GetKeyRange() *KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +// ShardTabletControl is used as a pointer from a SrvKeyspace to a Shard +type ShardTabletControl struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Copied from Shard. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + KeyRange *KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` + // Disable query serving in this shard + QueryServiceDisabled bool `protobuf:"varint,3,opt,name=query_service_disabled,json=queryServiceDisabled,proto3" json:"query_service_disabled,omitempty"` +} + +func (x *ShardTabletControl) Reset() { + *x = ShardTabletControl{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardTabletControl) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardTabletControl) ProtoMessage() {} + +func (x *ShardTabletControl) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardTabletControl.ProtoReflect.Descriptor instead. +func (*ShardTabletControl) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{8} +} + +func (x *ShardTabletControl) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ShardTabletControl) GetKeyRange() *KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +func (x *ShardTabletControl) GetQueryServiceDisabled() bool { + if x != nil { + return x.QueryServiceDisabled + } + return false +} + +// ThrottledAppRule defines an app-specific throttling rule, with expiration. +type ThrottledAppRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the app to be throttled, e.g. "vreplication" or "online-ddl" + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Ratio defines how much the app should be throttled, range [0.0...1.0]. 1.0 means fully throttled. 0.0 means not throttled at all. + // Negative values are reserved for a future implementation. + Ratio float64 `protobuf:"fixed64,2,opt,name=ratio,proto3" json:"ratio,omitempty"` + // ExpiresAt is the time at which the rule expires. + ExpiresAt *v19.Time `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` + // Exempt indicates the app should never be throttled, even if the throttler is, in general, throttling other apps. + Exempt bool `protobuf:"varint,4,opt,name=exempt,proto3" json:"exempt,omitempty"` +} + +func (x *ThrottledAppRule) Reset() { + *x = ThrottledAppRule{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ThrottledAppRule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ThrottledAppRule) ProtoMessage() {} + +func (x *ThrottledAppRule) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ThrottledAppRule.ProtoReflect.Descriptor instead. +func (*ThrottledAppRule) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{9} +} + +func (x *ThrottledAppRule) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ThrottledAppRule) GetRatio() float64 { + if x != nil { + return x.Ratio + } + return 0 +} + +func (x *ThrottledAppRule) GetExpiresAt() *v19.Time { + if x != nil { + return x.ExpiresAt + } + return nil +} + +func (x *ThrottledAppRule) GetExempt() bool { + if x != nil { + return x.Exempt + } + return false +} + +type ThrottlerConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Enabled indicates that the throttler is actually checking state for + // requests. When disabled, it automatically returns 200 OK for all + // checks. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + // Threshold is the threshold for either the default check (heartbeat + // lag) or custom check. + Threshold float64 `protobuf:"fixed64,2,opt,name=threshold,proto3" json:"threshold,omitempty"` + // CustomQuery is an optional query that overrides the default check + // query. + CustomQuery string `protobuf:"bytes,3,opt,name=custom_query,json=customQuery,proto3" json:"custom_query,omitempty"` + // CheckAsCheckSelf indicates whether a throttler /check request + // should behave like a /check-self. + CheckAsCheckSelf bool `protobuf:"varint,4,opt,name=check_as_check_self,json=checkAsCheckSelf,proto3" json:"check_as_check_self,omitempty"` + // ThrottledApps is a map of rules for app-specific throttling + ThrottledApps map[string]*ThrottledAppRule `protobuf:"bytes,5,rep,name=throttled_apps,json=throttledApps,proto3" json:"throttled_apps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ThrottlerConfig) Reset() { + *x = ThrottlerConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ThrottlerConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ThrottlerConfig) ProtoMessage() {} + +func (x *ThrottlerConfig) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ThrottlerConfig.ProtoReflect.Descriptor instead. +func (*ThrottlerConfig) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{10} +} + +func (x *ThrottlerConfig) GetEnabled() bool { + if x != nil { + return x.Enabled + } + return false +} + +func (x *ThrottlerConfig) GetThreshold() float64 { + if x != nil { + return x.Threshold + } + return 0 +} + +func (x *ThrottlerConfig) GetCustomQuery() string { + if x != nil { + return x.CustomQuery + } + return "" +} + +func (x *ThrottlerConfig) GetCheckAsCheckSelf() bool { + if x != nil { + return x.CheckAsCheckSelf + } + return false +} + +func (x *ThrottlerConfig) GetThrottledApps() map[string]*ThrottledAppRule { + if x != nil { + return x.ThrottledApps + } + return nil +} + +// SrvKeyspace is a rollup node for the keyspace itself. +type SrvKeyspace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The partitions this keyspace is serving, per tablet type. + Partitions []*SrvKeyspace_KeyspacePartition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"` + // ThrottlerConfig has the configuration for the tablet server's + // lag throttler, and applies to the entire keyspace, across all + // shards and tablets. This is copied from the global keyspace + // object. + ThrottlerConfig *ThrottlerConfig `protobuf:"bytes,6,opt,name=throttler_config,json=throttlerConfig,proto3" json:"throttler_config,omitempty"` +} + +func (x *SrvKeyspace) Reset() { + *x = SrvKeyspace{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SrvKeyspace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SrvKeyspace) ProtoMessage() {} + +func (x *SrvKeyspace) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SrvKeyspace.ProtoReflect.Descriptor instead. +func (*SrvKeyspace) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{11} +} + +func (x *SrvKeyspace) GetPartitions() []*SrvKeyspace_KeyspacePartition { + if x != nil { + return x.Partitions + } + return nil +} + +func (x *SrvKeyspace) GetThrottlerConfig() *ThrottlerConfig { + if x != nil { + return x.ThrottlerConfig + } + return nil +} + +// CellInfo contains information about a cell. CellInfo objects are +// stored in the global topology server, and describe how to reach +// local topology servers. +type CellInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ServerAddress contains the address of the server for the cell. + // The syntax of this field is topology implementation specific. + // For instance, for Zookeeper, it is a comma-separated list of + // server addresses. + ServerAddress string `protobuf:"bytes,1,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"` + // Root is the path to store data in. It is only used when talking + // to server_address. + Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` +} + +func (x *CellInfo) Reset() { + *x = CellInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CellInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CellInfo) ProtoMessage() {} + +func (x *CellInfo) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CellInfo.ProtoReflect.Descriptor instead. +func (*CellInfo) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{12} +} + +func (x *CellInfo) GetServerAddress() string { + if x != nil { + return x.ServerAddress + } + return "" +} + +func (x *CellInfo) GetRoot() string { + if x != nil { + return x.Root + } + return "" +} + +// CellsAlias +type CellsAlias struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Cells that map to this alias + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *CellsAlias) Reset() { + *x = CellsAlias{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CellsAlias) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CellsAlias) ProtoMessage() {} + +func (x *CellsAlias) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CellsAlias.ProtoReflect.Descriptor instead. +func (*CellsAlias) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{13} +} + +func (x *CellsAlias) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type TopoConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` + Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` + Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` +} + +func (x *TopoConfig) Reset() { + *x = TopoConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopoConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopoConfig) ProtoMessage() {} + +func (x *TopoConfig) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TopoConfig.ProtoReflect.Descriptor instead. +func (*TopoConfig) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{14} +} + +func (x *TopoConfig) GetTopoType() string { + if x != nil { + return x.TopoType + } + return "" +} + +func (x *TopoConfig) GetServer() string { + if x != nil { + return x.Server + } + return "" +} + +func (x *TopoConfig) GetRoot() string { + if x != nil { + return x.Root + } + return "" +} + +type ExternalVitessCluster struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopoConfig *TopoConfig `protobuf:"bytes,1,opt,name=topo_config,json=topoConfig,proto3" json:"topo_config,omitempty"` +} + +func (x *ExternalVitessCluster) Reset() { + *x = ExternalVitessCluster{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExternalVitessCluster) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExternalVitessCluster) ProtoMessage() {} + +func (x *ExternalVitessCluster) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExternalVitessCluster.ProtoReflect.Descriptor instead. +func (*ExternalVitessCluster) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{15} +} + +func (x *ExternalVitessCluster) GetTopoConfig() *TopoConfig { + if x != nil { + return x.TopoConfig + } + return nil +} + +// ExternalClusters +type ExternalClusters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VitessCluster []*ExternalVitessCluster `protobuf:"bytes,1,rep,name=vitess_cluster,json=vitessCluster,proto3" json:"vitess_cluster,omitempty"` +} + +func (x *ExternalClusters) Reset() { + *x = ExternalClusters{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExternalClusters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExternalClusters) ProtoMessage() {} + +func (x *ExternalClusters) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExternalClusters.ProtoReflect.Descriptor instead. +func (*ExternalClusters) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{16} +} + +func (x *ExternalClusters) GetVitessCluster() []*ExternalVitessCluster { + if x != nil { + return x.VitessCluster + } + return nil +} + +// SourceShard represents a data source for filtered replication +// across shards. When this is used in a destination shard, the primary +// of that shard will run filtered replication. +type Shard_SourceShard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Uid is the unique ID for this SourceShard object. + Uid int32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + // the source keyspace + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // the source shard + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + // the source shard keyrange + KeyRange *KeyRange `protobuf:"bytes,4,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` + // the source table list to replicate + Tables []string `protobuf:"bytes,5,rep,name=tables,proto3" json:"tables,omitempty"` +} + +func (x *Shard_SourceShard) Reset() { + *x = Shard_SourceShard{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shard_SourceShard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shard_SourceShard) ProtoMessage() {} + +func (x *Shard_SourceShard) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Shard_SourceShard.ProtoReflect.Descriptor instead. +func (*Shard_SourceShard) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *Shard_SourceShard) GetUid() int32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *Shard_SourceShard) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *Shard_SourceShard) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *Shard_SourceShard) GetKeyRange() *KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +func (x *Shard_SourceShard) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +// TabletControl controls tablet's behavior +type Shard_TabletControl struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // which tablet type is affected + TabletType TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_type,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + DeniedTables []string `protobuf:"bytes,4,rep,name=denied_tables,json=deniedTables,proto3" json:"denied_tables,omitempty"` + // frozen is set if we've started failing over traffic for + // the primary. If set, this record should not be removed. + Frozen bool `protobuf:"varint,5,opt,name=frozen,proto3" json:"frozen,omitempty"` +} + +func (x *Shard_TabletControl) Reset() { + *x = Shard_TabletControl{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shard_TabletControl) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shard_TabletControl) ProtoMessage() {} + +func (x *Shard_TabletControl) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Shard_TabletControl.ProtoReflect.Descriptor instead. +func (*Shard_TabletControl) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{3, 1} +} + +func (x *Shard_TabletControl) GetTabletType() TabletType { + if x != nil { + return x.TabletType + } + return TabletType_UNKNOWN +} + +func (x *Shard_TabletControl) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *Shard_TabletControl) GetDeniedTables() []string { + if x != nil { + return x.DeniedTables + } + return nil +} + +func (x *Shard_TabletControl) GetFrozen() bool { + if x != nil { + return x.Frozen + } + return false +} + +// Node describes a tablet instance within the cell +type ShardReplication_Node struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ShardReplication_Node) Reset() { + *x = ShardReplication_Node{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplication_Node) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplication_Node) ProtoMessage() {} + +func (x *ShardReplication_Node) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplication_Node.ProtoReflect.Descriptor instead. +func (*ShardReplication_Node) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *ShardReplication_Node) GetTabletAlias() *TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type SrvKeyspace_KeyspacePartition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The type this partition applies to. + ServedType TabletType `protobuf:"varint,1,opt,name=served_type,json=servedType,proto3,enum=vitess.topodata.v19.TabletType" json:"served_type,omitempty"` + // List of non-overlapping continuous shards sorted by range. + ShardReferences []*ShardReference `protobuf:"bytes,2,rep,name=shard_references,json=shardReferences,proto3" json:"shard_references,omitempty"` + // List of shard tablet controls + ShardTabletControls []*ShardTabletControl `protobuf:"bytes,3,rep,name=shard_tablet_controls,json=shardTabletControls,proto3" json:"shard_tablet_controls,omitempty"` +} + +func (x *SrvKeyspace_KeyspacePartition) Reset() { + *x = SrvKeyspace_KeyspacePartition{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SrvKeyspace_KeyspacePartition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SrvKeyspace_KeyspacePartition) ProtoMessage() {} + +func (x *SrvKeyspace_KeyspacePartition) ProtoReflect() protoreflect.Message { + mi := &file_vitess_topodata_v19_topodata_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SrvKeyspace_KeyspacePartition.ProtoReflect.Descriptor instead. +func (*SrvKeyspace_KeyspacePartition) Descriptor() ([]byte, []int) { + return file_vitess_topodata_v19_topodata_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *SrvKeyspace_KeyspacePartition) GetServedType() TabletType { + if x != nil { + return x.ServedType + } + return TabletType_UNKNOWN +} + +func (x *SrvKeyspace_KeyspacePartition) GetShardReferences() []*ShardReference { + if x != nil { + return x.ShardReferences + } + return nil +} + +func (x *SrvKeyspace_KeyspacePartition) GetShardTabletControls() []*ShardTabletControl { + if x != nil { + return x.ShardTabletControls + } + return nil +} + +var File_vitess_topodata_v19_topodata_proto protoreflect.FileDescriptor + +var file_vitess_topodata_v19_topodata_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, + 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x33, 0x0a, + 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x75, + 0x69, 0x64, 0x22, 0xfc, 0x05, 0x0a, 0x06, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x36, 0x0a, + 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x43, 0x0a, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x70, + 0x6f, 0x72, 0x74, 0x4d, 0x61, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, + 0x61, 0x6e, 0x67, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x62, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, + 0x69, 0x64, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x2e, 0x54, + 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x25, + 0x0a, 0x0e, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x48, 0x6f, 0x73, + 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x70, + 0x6f, 0x72, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x79, 0x73, 0x71, 0x6c, + 0x50, 0x6f, 0x72, 0x74, 0x12, 0x4e, 0x0a, 0x17, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, + 0x74, 0x65, 0x72, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x14, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, + 0x6e, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3a, 0x0a, 0x0c, 0x50, 0x6f, + 0x72, 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, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, + 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x4a, 0x04, 0x08, 0x0f, 0x10, + 0x10, 0x22, 0x89, 0x06, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x45, 0x0a, 0x0d, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x12, 0x4e, 0x0a, 0x17, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x65, + 0x72, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x14, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x52, + 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x4b, + 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x0c, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x2c, + 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x50, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x1a, 0xa5, 0x01, 0x0a, + 0x0b, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x75, 0x69, 0x64, 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, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x1a, 0xaa, 0x01, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 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, 0x02, 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, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, + 0x04, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xf3, 0x02, + 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, + 0x68, 0x6f, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x12, 0x4f, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5f, 0x64, + 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x44, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, + 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x22, 0xa1, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x4b, 0x0a, 0x04, 0x4e, 0x6f, + 0x64, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xdc, 0x01, 0x0a, 0x15, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x39, 0x0a, 0x04, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, + 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, + 0x15, 0x0a, 0x11, 0x54, 0x4f, 0x50, 0x4f, 0x4c, 0x4f, 0x47, 0x59, 0x5f, 0x4d, 0x49, 0x53, 0x4d, + 0x41, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, 0x60, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, + 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, + 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x12, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, + 0x34, 0x0a, 0x16, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x14, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x8c, 0x01, 0x0a, 0x10, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, + 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x65, 0x78, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, + 0x65, 0x6d, 0x70, 0x74, 0x22, 0xe4, 0x02, 0x0a, 0x0f, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x2d, 0x0a, 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x61, 0x73, 0x5f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, + 0x6c, 0x66, 0x12, 0x5e, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, + 0x61, 0x70, 0x70, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, + 0x70, 0x73, 0x1a, 0x67, 0x0a, 0x12, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, + 0x70, 0x70, 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, 0x3b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x52, 0x75, 0x6c, 0x65, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf, 0x03, 0x0a, 0x0b, + 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x4f, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x1a, 0x82, 0x02, 0x0a, 0x11, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4e, 0x0a, 0x10, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x5b, 0x0a, 0x15, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x52, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, + 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x4b, 0x0a, + 0x08, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x72, 0x6f, 0x6f, 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x22, 0x0a, 0x0a, 0x43, 0x65, + 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x55, + 0x0a, 0x0a, 0x54, 0x6f, 0x70, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, + 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x59, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x56, 0x69, 0x74, 0x65, 0x73, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x40, + 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x74, 0x6f, 0x70, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x22, 0x65, 0x0a, 0x10, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x5f, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0d, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2a, 0x28, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, + 0x4c, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, + 0x01, 0x2a, 0x9d, 0x01, 0x0a, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, + 0x07, 0x50, 0x52, 0x49, 0x4d, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, + 0x53, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, + 0x41, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x44, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x12, + 0x09, 0x0a, 0x05, 0x42, 0x41, 0x54, 0x43, 0x48, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, + 0x41, 0x52, 0x45, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x58, 0x50, 0x45, 0x52, 0x49, 0x4d, + 0x45, 0x4e, 0x54, 0x41, 0x4c, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x43, 0x4b, 0x55, + 0x50, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x10, 0x07, + 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x52, 0x41, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x08, 0x1a, 0x02, 0x10, + 0x01, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, + 0x3b, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_topodata_v19_topodata_proto_rawDescOnce sync.Once + file_vitess_topodata_v19_topodata_proto_rawDescData = file_vitess_topodata_v19_topodata_proto_rawDesc +) + +func file_vitess_topodata_v19_topodata_proto_rawDescGZIP() []byte { + file_vitess_topodata_v19_topodata_proto_rawDescOnce.Do(func() { + file_vitess_topodata_v19_topodata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_topodata_v19_topodata_proto_rawDescData) + }) + return file_vitess_topodata_v19_topodata_proto_rawDescData +} + +var file_vitess_topodata_v19_topodata_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_vitess_topodata_v19_topodata_proto_msgTypes = make([]protoimpl.MessageInfo, 24) +var file_vitess_topodata_v19_topodata_proto_goTypes = []any{ + (KeyspaceType)(0), // 0: vitess.topodata.v19.KeyspaceType + (TabletType)(0), // 1: vitess.topodata.v19.TabletType + (ShardReplicationError_Type)(0), // 2: vitess.topodata.v19.ShardReplicationError.Type + (*KeyRange)(nil), // 3: vitess.topodata.v19.KeyRange + (*TabletAlias)(nil), // 4: vitess.topodata.v19.TabletAlias + (*Tablet)(nil), // 5: vitess.topodata.v19.Tablet + (*Shard)(nil), // 6: vitess.topodata.v19.Shard + (*Keyspace)(nil), // 7: vitess.topodata.v19.Keyspace + (*ShardReplication)(nil), // 8: vitess.topodata.v19.ShardReplication + (*ShardReplicationError)(nil), // 9: vitess.topodata.v19.ShardReplicationError + (*ShardReference)(nil), // 10: vitess.topodata.v19.ShardReference + (*ShardTabletControl)(nil), // 11: vitess.topodata.v19.ShardTabletControl + (*ThrottledAppRule)(nil), // 12: vitess.topodata.v19.ThrottledAppRule + (*ThrottlerConfig)(nil), // 13: vitess.topodata.v19.ThrottlerConfig + (*SrvKeyspace)(nil), // 14: vitess.topodata.v19.SrvKeyspace + (*CellInfo)(nil), // 15: vitess.topodata.v19.CellInfo + (*CellsAlias)(nil), // 16: vitess.topodata.v19.CellsAlias + (*TopoConfig)(nil), // 17: vitess.topodata.v19.TopoConfig + (*ExternalVitessCluster)(nil), // 18: vitess.topodata.v19.ExternalVitessCluster + (*ExternalClusters)(nil), // 19: vitess.topodata.v19.ExternalClusters + nil, // 20: vitess.topodata.v19.Tablet.PortMapEntry + nil, // 21: vitess.topodata.v19.Tablet.TagsEntry + (*Shard_SourceShard)(nil), // 22: vitess.topodata.v19.Shard.SourceShard + (*Shard_TabletControl)(nil), // 23: vitess.topodata.v19.Shard.TabletControl + (*ShardReplication_Node)(nil), // 24: vitess.topodata.v19.ShardReplication.Node + nil, // 25: vitess.topodata.v19.ThrottlerConfig.ThrottledAppsEntry + (*SrvKeyspace_KeyspacePartition)(nil), // 26: vitess.topodata.v19.SrvKeyspace.KeyspacePartition + (*v19.Time)(nil), // 27: vitess.vttime.v19.Time +} +var file_vitess_topodata_v19_topodata_proto_depIdxs = []int32{ + 4, // 0: vitess.topodata.v19.Tablet.alias:type_name -> vitess.topodata.v19.TabletAlias + 20, // 1: vitess.topodata.v19.Tablet.port_map:type_name -> vitess.topodata.v19.Tablet.PortMapEntry + 3, // 2: vitess.topodata.v19.Tablet.key_range:type_name -> vitess.topodata.v19.KeyRange + 1, // 3: vitess.topodata.v19.Tablet.type:type_name -> vitess.topodata.v19.TabletType + 21, // 4: vitess.topodata.v19.Tablet.tags:type_name -> vitess.topodata.v19.Tablet.TagsEntry + 27, // 5: vitess.topodata.v19.Tablet.primary_term_start_time:type_name -> vitess.vttime.v19.Time + 4, // 6: vitess.topodata.v19.Shard.primary_alias:type_name -> vitess.topodata.v19.TabletAlias + 27, // 7: vitess.topodata.v19.Shard.primary_term_start_time:type_name -> vitess.vttime.v19.Time + 3, // 8: vitess.topodata.v19.Shard.key_range:type_name -> vitess.topodata.v19.KeyRange + 22, // 9: vitess.topodata.v19.Shard.source_shards:type_name -> vitess.topodata.v19.Shard.SourceShard + 23, // 10: vitess.topodata.v19.Shard.tablet_controls:type_name -> vitess.topodata.v19.Shard.TabletControl + 0, // 11: vitess.topodata.v19.Keyspace.keyspace_type:type_name -> vitess.topodata.v19.KeyspaceType + 27, // 12: vitess.topodata.v19.Keyspace.snapshot_time:type_name -> vitess.vttime.v19.Time + 13, // 13: vitess.topodata.v19.Keyspace.throttler_config:type_name -> vitess.topodata.v19.ThrottlerConfig + 24, // 14: vitess.topodata.v19.ShardReplication.nodes:type_name -> vitess.topodata.v19.ShardReplication.Node + 2, // 15: vitess.topodata.v19.ShardReplicationError.type:type_name -> vitess.topodata.v19.ShardReplicationError.Type + 4, // 16: vitess.topodata.v19.ShardReplicationError.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 3, // 17: vitess.topodata.v19.ShardReference.key_range:type_name -> vitess.topodata.v19.KeyRange + 3, // 18: vitess.topodata.v19.ShardTabletControl.key_range:type_name -> vitess.topodata.v19.KeyRange + 27, // 19: vitess.topodata.v19.ThrottledAppRule.expires_at:type_name -> vitess.vttime.v19.Time + 25, // 20: vitess.topodata.v19.ThrottlerConfig.throttled_apps:type_name -> vitess.topodata.v19.ThrottlerConfig.ThrottledAppsEntry + 26, // 21: vitess.topodata.v19.SrvKeyspace.partitions:type_name -> vitess.topodata.v19.SrvKeyspace.KeyspacePartition + 13, // 22: vitess.topodata.v19.SrvKeyspace.throttler_config:type_name -> vitess.topodata.v19.ThrottlerConfig + 17, // 23: vitess.topodata.v19.ExternalVitessCluster.topo_config:type_name -> vitess.topodata.v19.TopoConfig + 18, // 24: vitess.topodata.v19.ExternalClusters.vitess_cluster:type_name -> vitess.topodata.v19.ExternalVitessCluster + 3, // 25: vitess.topodata.v19.Shard.SourceShard.key_range:type_name -> vitess.topodata.v19.KeyRange + 1, // 26: vitess.topodata.v19.Shard.TabletControl.tablet_type:type_name -> vitess.topodata.v19.TabletType + 4, // 27: vitess.topodata.v19.ShardReplication.Node.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 12, // 28: vitess.topodata.v19.ThrottlerConfig.ThrottledAppsEntry.value:type_name -> vitess.topodata.v19.ThrottledAppRule + 1, // 29: vitess.topodata.v19.SrvKeyspace.KeyspacePartition.served_type:type_name -> vitess.topodata.v19.TabletType + 10, // 30: vitess.topodata.v19.SrvKeyspace.KeyspacePartition.shard_references:type_name -> vitess.topodata.v19.ShardReference + 11, // 31: vitess.topodata.v19.SrvKeyspace.KeyspacePartition.shard_tablet_controls:type_name -> vitess.topodata.v19.ShardTabletControl + 32, // [32:32] is the sub-list for method output_type + 32, // [32:32] is the sub-list for method input_type + 32, // [32:32] is the sub-list for extension type_name + 32, // [32:32] is the sub-list for extension extendee + 0, // [0:32] is the sub-list for field type_name +} + +func init() { file_vitess_topodata_v19_topodata_proto_init() } +func file_vitess_topodata_v19_topodata_proto_init() { + if File_vitess_topodata_v19_topodata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_topodata_v19_topodata_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*KeyRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*TabletAlias); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*Tablet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*Shard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*Keyspace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplication); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*ShardReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*ShardTabletControl); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*ThrottledAppRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ThrottlerConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*SrvKeyspace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*CellInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*CellsAlias); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*TopoConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*ExternalVitessCluster); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*ExternalClusters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*Shard_SourceShard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*Shard_TabletControl); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplication_Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_topodata_v19_topodata_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*SrvKeyspace_KeyspacePartition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_topodata_v19_topodata_proto_rawDesc, + NumEnums: 3, + NumMessages: 24, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_topodata_v19_topodata_proto_goTypes, + DependencyIndexes: file_vitess_topodata_v19_topodata_proto_depIdxs, + EnumInfos: file_vitess_topodata_v19_topodata_proto_enumTypes, + MessageInfos: file_vitess_topodata_v19_topodata_proto_msgTypes, + }.Build() + File_vitess_topodata_v19_topodata_proto = out.File + file_vitess_topodata_v19_topodata_proto_rawDesc = nil + file_vitess_topodata_v19_topodata_proto_goTypes = nil + file_vitess_topodata_v19_topodata_proto_depIdxs = nil +} diff --git a/gen/vitess/topodata/v19/topodata_vtproto.pb.go b/gen/vitess/topodata/v19/topodata_vtproto.pb.go new file mode 100644 index 0000000..e20117d --- /dev/null +++ b/gen/vitess/topodata/v19/topodata_vtproto.pb.go @@ -0,0 +1,5445 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/topodata/v19/topodata.proto + +package topodatav19 + +import ( + binary "encoding/binary" + fmt "fmt" + v19 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + math "math" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *KeyRange) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *KeyRange) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *KeyRange) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.End) > 0 { + i -= len(m.End) + copy(dAtA[i:], m.End) + i = encodeVarint(dAtA, i, uint64(len(m.End))) + i-- + dAtA[i] = 0x12 + } + if len(m.Start) > 0 { + i -= len(m.Start) + copy(dAtA[i:], m.Start) + i = encodeVarint(dAtA, i, uint64(len(m.Start))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TabletAlias) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TabletAlias) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletAlias) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Uid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Uid)) + i-- + dAtA[i] = 0x10 + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Tablet) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tablet) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Tablet) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DefaultConnCollation != 0 { + i = encodeVarint(dAtA, i, uint64(m.DefaultConnCollation)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.PrimaryTermStartTime != nil { + if vtmsg, ok := interface{}(m.PrimaryTermStartTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PrimaryTermStartTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x72 + } + if m.MysqlPort != 0 { + i = encodeVarint(dAtA, i, uint64(m.MysqlPort)) + i-- + dAtA[i] = 0x68 + } + if len(m.MysqlHostname) > 0 { + i -= len(m.MysqlHostname) + copy(dAtA[i:], m.MysqlHostname) + i = encodeVarint(dAtA, i, uint64(len(m.MysqlHostname))) + i-- + dAtA[i] = 0x62 + } + if len(m.Tags) > 0 { + for k := range m.Tags { + v := m.Tags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x52 + } + } + if len(m.DbNameOverride) > 0 { + i -= len(m.DbNameOverride) + copy(dAtA[i:], m.DbNameOverride) + i = encodeVarint(dAtA, i, uint64(len(m.DbNameOverride))) + i-- + dAtA[i] = 0x4a + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x40 + } + if m.KeyRange != nil { + size, err := m.KeyRange.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x32 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x2a + } + if len(m.PortMap) > 0 { + for k := range m.PortMap { + v := m.PortMap[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Hostname) > 0 { + i -= len(m.Hostname) + copy(dAtA[i:], m.Hostname) + i = encodeVarint(dAtA, i, uint64(len(m.Hostname))) + i-- + dAtA[i] = 0x12 + } + if m.Alias != nil { + size, err := m.Alias.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Shard_SourceShard) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Shard_SourceShard) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Shard_SourceShard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.KeyRange != nil { + size, err := m.KeyRange.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Uid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Uid)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Shard_TabletControl) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Shard_TabletControl) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Shard_TabletControl) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Frozen { + i-- + if m.Frozen { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.DeniedTables) > 0 { + for iNdEx := len(m.DeniedTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DeniedTables[iNdEx]) + copy(dAtA[i:], m.DeniedTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.DeniedTables[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.TabletType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletType)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Shard) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Shard) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Shard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PrimaryTermStartTime != nil { + if vtmsg, ok := interface{}(m.PrimaryTermStartTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PrimaryTermStartTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 + } + if m.IsPrimaryServing { + i-- + if m.IsPrimaryServing { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if len(m.TabletControls) > 0 { + for iNdEx := len(m.TabletControls) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TabletControls[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + } + if len(m.SourceShards) > 0 { + for iNdEx := len(m.SourceShards) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SourceShards[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if m.KeyRange != nil { + size, err := m.KeyRange.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.PrimaryAlias != nil { + size, err := m.PrimaryAlias.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Keyspace) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Keyspace) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SidecarDbName) > 0 { + i -= len(m.SidecarDbName) + copy(dAtA[i:], m.SidecarDbName) + i = encodeVarint(dAtA, i, uint64(len(m.SidecarDbName))) + i-- + dAtA[i] = 0x52 + } + if m.ThrottlerConfig != nil { + size, err := m.ThrottlerConfig.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x4a + } + if len(m.DurabilityPolicy) > 0 { + i -= len(m.DurabilityPolicy) + copy(dAtA[i:], m.DurabilityPolicy) + i = encodeVarint(dAtA, i, uint64(len(m.DurabilityPolicy))) + i-- + dAtA[i] = 0x42 + } + if m.SnapshotTime != nil { + if vtmsg, ok := interface{}(m.SnapshotTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.SnapshotTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x3a + } + if len(m.BaseKeyspace) > 0 { + i -= len(m.BaseKeyspace) + copy(dAtA[i:], m.BaseKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.BaseKeyspace))) + i-- + dAtA[i] = 0x32 + } + if m.KeyspaceType != 0 { + i = encodeVarint(dAtA, i, uint64(m.KeyspaceType)) + i-- + dAtA[i] = 0x28 + } + return len(dAtA) - i, nil +} + +func (m *ShardReplication_Node) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplication_Node) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplication_Node) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + size, err := m.TabletAlias.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardReplication) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplication) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplication) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Nodes) > 0 { + for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Nodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationError) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationError) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationError) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + size, err := m.TabletAlias.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ShardReference) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReference) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReference) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.KeyRange != nil { + size, err := m.KeyRange.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardTabletControl) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardTabletControl) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardTabletControl) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.QueryServiceDisabled { + i-- + if m.QueryServiceDisabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.KeyRange != nil { + size, err := m.KeyRange.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ThrottledAppRule) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ThrottledAppRule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ThrottledAppRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Exempt { + i-- + if m.Exempt { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.ExpiresAt != nil { + if vtmsg, ok := interface{}(m.ExpiresAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ExpiresAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.Ratio != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Ratio)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ThrottlerConfig) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ThrottlerConfig) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ThrottlerConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ThrottledApps) > 0 { + for k := range m.ThrottledApps { + v := m.ThrottledApps[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x2a + } + } + if m.CheckAsCheckSelf { + i-- + if m.CheckAsCheckSelf { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.CustomQuery) > 0 { + i -= len(m.CustomQuery) + copy(dAtA[i:], m.CustomQuery) + i = encodeVarint(dAtA, i, uint64(len(m.CustomQuery))) + i-- + dAtA[i] = 0x1a + } + if m.Threshold != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Threshold)))) + i-- + dAtA[i] = 0x11 + } + if m.Enabled { + i-- + if m.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *SrvKeyspace_KeyspacePartition) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SrvKeyspace_KeyspacePartition) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SrvKeyspace_KeyspacePartition) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ShardTabletControls) > 0 { + for iNdEx := len(m.ShardTabletControls) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardTabletControls[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.ShardReferences) > 0 { + for iNdEx := len(m.ShardReferences) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardReferences[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if m.ServedType != 0 { + i = encodeVarint(dAtA, i, uint64(m.ServedType)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *SrvKeyspace) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SrvKeyspace) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SrvKeyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ThrottlerConfig != nil { + size, err := m.ThrottlerConfig.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if len(m.Partitions) > 0 { + for iNdEx := len(m.Partitions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Partitions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *CellInfo) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CellInfo) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CellInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Root) > 0 { + i -= len(m.Root) + copy(dAtA[i:], m.Root) + i = encodeVarint(dAtA, i, uint64(len(m.Root))) + i-- + dAtA[i] = 0x12 + } + if len(m.ServerAddress) > 0 { + i -= len(m.ServerAddress) + copy(dAtA[i:], m.ServerAddress) + i = encodeVarint(dAtA, i, uint64(len(m.ServerAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CellsAlias) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CellsAlias) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CellsAlias) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + return len(dAtA) - i, nil +} + +func (m *TopoConfig) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TopoConfig) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TopoConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Root) > 0 { + i -= len(m.Root) + copy(dAtA[i:], m.Root) + i = encodeVarint(dAtA, i, uint64(len(m.Root))) + i-- + dAtA[i] = 0x1a + } + if len(m.Server) > 0 { + i -= len(m.Server) + copy(dAtA[i:], m.Server) + i = encodeVarint(dAtA, i, uint64(len(m.Server))) + i-- + dAtA[i] = 0x12 + } + if len(m.TopoType) > 0 { + i -= len(m.TopoType) + copy(dAtA[i:], m.TopoType) + i = encodeVarint(dAtA, i, uint64(len(m.TopoType))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExternalVitessCluster) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExternalVitessCluster) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExternalVitessCluster) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TopoConfig != nil { + size, err := m.TopoConfig.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExternalClusters) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExternalClusters) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExternalClusters) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.VitessCluster) > 0 { + for iNdEx := len(m.VitessCluster) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.VitessCluster[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *KeyRange) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Start) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.End) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TabletAlias) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Uid != 0 { + n += 1 + sov(uint64(m.Uid)) + } + n += len(m.unknownFields) + return n +} + +func (m *Tablet) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + l = m.Alias.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Hostname) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.PortMap) > 0 { + for k, v := range m.PortMap { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeyRange != nil { + l = m.KeyRange.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + l = len(m.DbNameOverride) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Tags) > 0 { + for k, v := range m.Tags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.MysqlHostname) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MysqlPort != 0 { + n += 1 + sov(uint64(m.MysqlPort)) + } + if m.PrimaryTermStartTime != nil { + if size, ok := interface{}(m.PrimaryTermStartTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PrimaryTermStartTime) + } + n += 1 + l + sov(uint64(l)) + } + if m.DefaultConnCollation != 0 { + n += 2 + sov(uint64(m.DefaultConnCollation)) + } + n += len(m.unknownFields) + return n +} + +func (m *Shard_SourceShard) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Uid != 0 { + n += 1 + sov(uint64(m.Uid)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeyRange != nil { + l = m.KeyRange.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Shard_TabletControl) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.DeniedTables) > 0 { + for _, s := range m.DeniedTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Frozen { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *Shard) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PrimaryAlias != nil { + l = m.PrimaryAlias.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.KeyRange != nil { + l = m.KeyRange.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.SourceShards) > 0 { + for _, e := range m.SourceShards { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletControls) > 0 { + for _, e := range m.TabletControls { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.IsPrimaryServing { + n += 2 + } + if m.PrimaryTermStartTime != nil { + if size, ok := interface{}(m.PrimaryTermStartTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PrimaryTermStartTime) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Keyspace) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.KeyspaceType != 0 { + n += 1 + sov(uint64(m.KeyspaceType)) + } + l = len(m.BaseKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SnapshotTime != nil { + if size, ok := interface{}(m.SnapshotTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.SnapshotTime) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.DurabilityPolicy) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ThrottlerConfig != nil { + l = m.ThrottlerConfig.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.SidecarDbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplication_Node) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + l = m.TabletAlias.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplication) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Nodes) > 0 { + for _, e := range m.Nodes { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationError) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + if m.TabletAlias != nil { + l = m.TabletAlias.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReference) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeyRange != nil { + l = m.KeyRange.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardTabletControl) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeyRange != nil { + l = m.KeyRange.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.QueryServiceDisabled { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ThrottledAppRule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Ratio != 0 { + n += 9 + } + if m.ExpiresAt != nil { + if size, ok := interface{}(m.ExpiresAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ExpiresAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.Exempt { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ThrottlerConfig) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Enabled { + n += 2 + } + if m.Threshold != 0 { + n += 9 + } + l = len(m.CustomQuery) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CheckAsCheckSelf { + n += 2 + } + if len(m.ThrottledApps) > 0 { + for k, v := range m.ThrottledApps { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SrvKeyspace_KeyspacePartition) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ServedType != 0 { + n += 1 + sov(uint64(m.ServedType)) + } + if len(m.ShardReferences) > 0 { + for _, e := range m.ShardReferences { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ShardTabletControls) > 0 { + for _, e := range m.ShardTabletControls { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SrvKeyspace) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Partitions) > 0 { + for _, e := range m.Partitions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.ThrottlerConfig != nil { + l = m.ThrottlerConfig.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CellInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ServerAddress) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Root) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CellsAlias) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *TopoConfig) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TopoType) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Server) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Root) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExternalVitessCluster) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TopoConfig != nil { + l = m.TopoConfig.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExternalClusters) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.VitessCluster) > 0 { + for _, e := range m.VitessCluster { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *KeyRange) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyRange: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyRange: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Start = append(m.Start[:0], dAtA[iNdEx:postIndex]...) + if m.Start == nil { + m.Start = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field End", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.End = append(m.End[:0], dAtA[iNdEx:postIndex]...) + if m.End == nil { + m.End = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TabletAlias) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TabletAlias: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TabletAlias: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) + } + m.Uid = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Uid |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tablet) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Tablet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Tablet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &TabletAlias{} + } + if err := m.Alias.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hostname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PortMap", 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.PortMap == nil { + m.PortMap = make(map[string]int32) + } + var mapkey string + var mapvalue int32 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.PortMap[mapkey] = mapvalue + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &KeyRange{} + } + if err := m.KeyRange.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbNameOverride", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbNameOverride = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", 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.Tags == nil { + m.Tags = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Tags[mapkey] = mapvalue + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MysqlHostname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MysqlHostname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MysqlPort", wireType) + } + m.MysqlPort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MysqlPort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryTermStartTime", 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.PrimaryTermStartTime == nil { + m.PrimaryTermStartTime = &v19.Time{} + } + if unmarshal, ok := interface{}(m.PrimaryTermStartTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryTermStartTime); err != nil { + return err + } + } + iNdEx = postIndex + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultConnCollation", wireType) + } + m.DefaultConnCollation = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DefaultConnCollation |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Shard_SourceShard) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Shard_SourceShard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Shard_SourceShard: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) + } + m.Uid = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Uid |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &KeyRange{} + } + if err := m.KeyRange.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Shard_TabletControl) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Shard_TabletControl: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Shard_TabletControl: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DeniedTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DeniedTables = append(m.DeniedTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Frozen", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Frozen = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Shard) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Shard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Shard: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryAlias", 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.PrimaryAlias == nil { + m.PrimaryAlias = &TabletAlias{} + } + if err := m.PrimaryAlias.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &KeyRange{} + } + if err := m.KeyRange.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceShards", 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 + } + m.SourceShards = append(m.SourceShards, &Shard_SourceShard{}) + if err := m.SourceShards[len(m.SourceShards)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletControls", 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 + } + m.TabletControls = append(m.TabletControls, &Shard_TabletControl{}) + if err := m.TabletControls[len(m.TabletControls)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsPrimaryServing", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsPrimaryServing = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryTermStartTime", 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.PrimaryTermStartTime == nil { + m.PrimaryTermStartTime = &v19.Time{} + } + if unmarshal, ok := interface{}(m.PrimaryTermStartTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryTermStartTime); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Keyspace) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceType", wireType) + } + m.KeyspaceType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.KeyspaceType |= KeyspaceType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BaseKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BaseKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTime", 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.SnapshotTime == nil { + m.SnapshotTime = &v19.Time{} + } + if unmarshal, ok := interface{}(m.SnapshotTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SnapshotTime); err != nil { + return err + } + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DurabilityPolicy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DurabilityPolicy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottlerConfig", 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.ThrottlerConfig == nil { + m.ThrottlerConfig = &ThrottlerConfig{} + } + if err := m.ThrottlerConfig.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SidecarDbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SidecarDbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplication_Node) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplication_Node: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplication_Node: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &TabletAlias{} + } + if err := m.TabletAlias.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplication) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplication: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplication: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nodes", 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 + } + m.Nodes = append(m.Nodes, &ShardReplication_Node{}) + if err := m.Nodes[len(m.Nodes)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationError) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= ShardReplicationError_Type(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &TabletAlias{} + } + if err := m.TabletAlias.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReference) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReference: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReference: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &KeyRange{} + } + if err := m.KeyRange.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardTabletControl) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardTabletControl: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardTabletControl: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &KeyRange{} + } + if err := m.KeyRange.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryServiceDisabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.QueryServiceDisabled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ThrottledAppRule) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ThrottledAppRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ThrottledAppRule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Ratio", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Ratio = float64(math.Float64frombits(v)) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpiresAt", 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.ExpiresAt == nil { + m.ExpiresAt = &v19.Time{} + } + if unmarshal, ok := interface{}(m.ExpiresAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ExpiresAt); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Exempt", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Exempt = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ThrottlerConfig) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ThrottlerConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ThrottlerConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Enabled = bool(v != 0) + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Threshold = float64(math.Float64frombits(v)) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CustomQuery", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CustomQuery = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckAsCheckSelf", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CheckAsCheckSelf = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottledApps", 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.ThrottledApps == nil { + m.ThrottledApps = make(map[string]*ThrottledAppRule) + } + var mapkey string + var mapvalue *ThrottledAppRule + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ThrottledAppRule{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ThrottledApps[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SrvKeyspace_KeyspacePartition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SrvKeyspace_KeyspacePartition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ServedType", wireType) + } + m.ServedType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ServedType |= TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardReferences", 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 + } + m.ShardReferences = append(m.ShardReferences, &ShardReference{}) + if err := m.ShardReferences[len(m.ShardReferences)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardTabletControls", 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 + } + m.ShardTabletControls = append(m.ShardTabletControls, &ShardTabletControl{}) + if err := m.ShardTabletControls[len(m.ShardTabletControls)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SrvKeyspace) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SrvKeyspace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SrvKeyspace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Partitions", 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 + } + m.Partitions = append(m.Partitions, &SrvKeyspace_KeyspacePartition{}) + if err := m.Partitions[len(m.Partitions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottlerConfig", 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.ThrottlerConfig == nil { + m.ThrottlerConfig = &ThrottlerConfig{} + } + if err := m.ThrottlerConfig.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CellInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CellInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CellInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServerAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Root = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CellsAlias) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CellsAlias: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CellsAlias: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TopoConfig) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TopoConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TopoConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TopoType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Server = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Root = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExternalVitessCluster) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExternalVitessCluster: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExternalVitessCluster: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoConfig", 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.TopoConfig == nil { + m.TopoConfig = &TopoConfig{} + } + if err := m.TopoConfig.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExternalClusters) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExternalClusters: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExternalClusters: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VitessCluster", 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 + } + m.VitessCluster = append(m.VitessCluster, &ExternalVitessCluster{}) + if err := m.VitessCluster[len(m.VitessCluster)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/vschema/dev/vschema.pb.go b/gen/vitess/vschema/dev/vschema.pb.go index 23df88b..9ae5222 100644 --- a/gen/vitess/vschema/dev/vschema.pb.go +++ b/gen/vitess/vschema/dev/vschema.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vschema/dev/vschema.proto @@ -211,6 +211,8 @@ type Keyspace struct { RequireExplicitRouting bool `protobuf:"varint,4,opt,name=require_explicit_routing,json=requireExplicitRouting,proto3" json:"require_explicit_routing,omitempty"` // foreign_key_mode dictates how Vitess should handle foreign keys for this keyspace. ForeignKeyMode Keyspace_ForeignKeyMode `protobuf:"varint,5,opt,name=foreign_key_mode,json=foreignKeyMode,proto3,enum=vitess.vschema.dev.Keyspace_ForeignKeyMode" json:"foreign_key_mode,omitempty"` + // multi_tenant_mode specifies that the keyspace is multi-tenant. Currently used during migrations with MoveTables. + MultiTenantSpec *MultiTenantSpec `protobuf:"bytes,6,opt,name=multi_tenant_spec,json=multiTenantSpec,proto3" json:"multi_tenant_spec,omitempty"` } func (x *Keyspace) Reset() { @@ -280,6 +282,70 @@ func (x *Keyspace) GetForeignKeyMode() Keyspace_ForeignKeyMode { return Keyspace_unspecified } +func (x *Keyspace) GetMultiTenantSpec() *MultiTenantSpec { + if x != nil { + return x.MultiTenantSpec + } + return nil +} + +type MultiTenantSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // tenant_column is the name of the column that specifies the tenant id. + TenantIdColumnName string `protobuf:"bytes,1,opt,name=tenant_id_column_name,json=tenantIdColumnName,proto3" json:"tenant_id_column_name,omitempty"` + // tenant_column_type is the type of the column that specifies the tenant id. + TenantIdColumnType dev.Type `protobuf:"varint,2,opt,name=tenant_id_column_type,json=tenantIdColumnType,proto3,enum=vitess.query.dev.Type" json:"tenant_id_column_type,omitempty"` +} + +func (x *MultiTenantSpec) Reset() { + *x = MultiTenantSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiTenantSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiTenantSpec) ProtoMessage() {} + +func (x *MultiTenantSpec) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiTenantSpec.ProtoReflect.Descriptor instead. +func (*MultiTenantSpec) Descriptor() ([]byte, []int) { + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{3} +} + +func (x *MultiTenantSpec) GetTenantIdColumnName() string { + if x != nil { + return x.TenantIdColumnName + } + return "" +} + +func (x *MultiTenantSpec) GetTenantIdColumnType() dev.Type { + if x != nil { + return x.TenantIdColumnType + } + return dev.Type(0) +} + // Vindex is the vindex info for a Keyspace. type Vindex struct { state protoimpl.MessageState @@ -304,7 +370,7 @@ type Vindex struct { func (x *Vindex) Reset() { *x = Vindex{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[3] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -317,7 +383,7 @@ func (x *Vindex) String() string { func (*Vindex) ProtoMessage() {} func (x *Vindex) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[3] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -330,7 +396,7 @@ func (x *Vindex) ProtoReflect() protoreflect.Message { // Deprecated: Use Vindex.ProtoReflect.Descriptor instead. func (*Vindex) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{3} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{4} } func (x *Vindex) GetType() string { @@ -392,7 +458,7 @@ type Table struct { func (x *Table) Reset() { *x = Table{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[4] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -405,7 +471,7 @@ func (x *Table) String() string { func (*Table) ProtoMessage() {} func (x *Table) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[4] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -418,7 +484,7 @@ func (x *Table) ProtoReflect() protoreflect.Message { // Deprecated: Use Table.ProtoReflect.Descriptor instead. func (*Table) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{4} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{5} } func (x *Table) GetType() string { @@ -487,7 +553,7 @@ type ColumnVindex struct { func (x *ColumnVindex) Reset() { *x = ColumnVindex{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[5] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -500,7 +566,7 @@ func (x *ColumnVindex) String() string { func (*ColumnVindex) ProtoMessage() {} func (x *ColumnVindex) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[5] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -513,7 +579,7 @@ func (x *ColumnVindex) ProtoReflect() protoreflect.Message { // Deprecated: Use ColumnVindex.ProtoReflect.Descriptor instead. func (*ColumnVindex) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{5} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{6} } func (x *ColumnVindex) GetColumn() string { @@ -551,7 +617,7 @@ type AutoIncrement struct { func (x *AutoIncrement) Reset() { *x = AutoIncrement{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[6] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -564,7 +630,7 @@ func (x *AutoIncrement) String() string { func (*AutoIncrement) ProtoMessage() {} func (x *AutoIncrement) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[6] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -577,7 +643,7 @@ func (x *AutoIncrement) ProtoReflect() protoreflect.Message { // Deprecated: Use AutoIncrement.ProtoReflect.Descriptor instead. func (*AutoIncrement) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{6} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{7} } func (x *AutoIncrement) GetColumn() string { @@ -615,7 +681,7 @@ type Column struct { func (x *Column) Reset() { *x = Column{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[7] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -628,7 +694,7 @@ func (x *Column) String() string { func (*Column) ProtoMessage() {} func (x *Column) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[7] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -641,7 +707,7 @@ func (x *Column) ProtoReflect() protoreflect.Message { // Deprecated: Use Column.ProtoReflect.Descriptor instead. func (*Column) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{7} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{8} } func (x *Column) GetName() string { @@ -714,15 +780,17 @@ type SrvVSchema struct { unknownFields protoimpl.UnknownFields // keyspaces is a map of keyspace name -> Keyspace object. - Keyspaces map[string]*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - RoutingRules *RoutingRules `protobuf:"bytes,2,opt,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` // table routing rules - ShardRoutingRules *ShardRoutingRules `protobuf:"bytes,3,opt,name=shard_routing_rules,json=shardRoutingRules,proto3" json:"shard_routing_rules,omitempty"` + Keyspaces map[string]*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + RoutingRules *RoutingRules `protobuf:"bytes,2,opt,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` // table routing rules + ShardRoutingRules *ShardRoutingRules `protobuf:"bytes,3,opt,name=shard_routing_rules,json=shardRoutingRules,proto3" json:"shard_routing_rules,omitempty"` + KeyspaceRoutingRules *KeyspaceRoutingRules `protobuf:"bytes,4,opt,name=keyspace_routing_rules,json=keyspaceRoutingRules,proto3" json:"keyspace_routing_rules,omitempty"` + MirrorRules *MirrorRules `protobuf:"bytes,5,opt,name=mirror_rules,json=mirrorRules,proto3" json:"mirror_rules,omitempty"` // mirror rules } func (x *SrvVSchema) Reset() { *x = SrvVSchema{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[8] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -735,7 +803,7 @@ func (x *SrvVSchema) String() string { func (*SrvVSchema) ProtoMessage() {} func (x *SrvVSchema) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[8] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -748,7 +816,7 @@ func (x *SrvVSchema) ProtoReflect() protoreflect.Message { // Deprecated: Use SrvVSchema.ProtoReflect.Descriptor instead. func (*SrvVSchema) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{8} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{9} } func (x *SrvVSchema) GetKeyspaces() map[string]*Keyspace { @@ -772,6 +840,20 @@ func (x *SrvVSchema) GetShardRoutingRules() *ShardRoutingRules { return nil } +func (x *SrvVSchema) GetKeyspaceRoutingRules() *KeyspaceRoutingRules { + if x != nil { + return x.KeyspaceRoutingRules + } + return nil +} + +func (x *SrvVSchema) GetMirrorRules() *MirrorRules { + if x != nil { + return x.MirrorRules + } + return nil +} + // ShardRoutingRules specify the shard routing rules for the VSchema. type ShardRoutingRules struct { state protoimpl.MessageState @@ -784,7 +866,7 @@ type ShardRoutingRules struct { func (x *ShardRoutingRules) Reset() { *x = ShardRoutingRules{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[9] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -797,7 +879,7 @@ func (x *ShardRoutingRules) String() string { func (*ShardRoutingRules) ProtoMessage() {} func (x *ShardRoutingRules) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[9] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -810,7 +892,7 @@ func (x *ShardRoutingRules) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardRoutingRules.ProtoReflect.Descriptor instead. func (*ShardRoutingRules) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{9} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{10} } func (x *ShardRoutingRules) GetRules() []*ShardRoutingRule { @@ -820,7 +902,7 @@ func (x *ShardRoutingRules) GetRules() []*ShardRoutingRule { return nil } -// RoutingRule specifies a routing rule. +// ShardRoutingRule specifies a routing rule. type ShardRoutingRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -834,7 +916,7 @@ type ShardRoutingRule struct { func (x *ShardRoutingRule) Reset() { *x = ShardRoutingRule{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[10] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -847,7 +929,7 @@ func (x *ShardRoutingRule) String() string { func (*ShardRoutingRule) ProtoMessage() {} func (x *ShardRoutingRule) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[10] + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -860,7 +942,7 @@ func (x *ShardRoutingRule) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardRoutingRule.ProtoReflect.Descriptor instead. func (*ShardRoutingRule) Descriptor() ([]byte, []int) { - return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{10} + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{11} } func (x *ShardRoutingRule) GetFromKeyspace() string { @@ -884,6 +966,223 @@ func (x *ShardRoutingRule) GetShard() string { return "" } +type KeyspaceRoutingRules struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rules []*KeyspaceRoutingRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` +} + +func (x *KeyspaceRoutingRules) Reset() { + *x = KeyspaceRoutingRules{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyspaceRoutingRules) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyspaceRoutingRules) ProtoMessage() {} + +func (x *KeyspaceRoutingRules) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyspaceRoutingRules.ProtoReflect.Descriptor instead. +func (*KeyspaceRoutingRules) Descriptor() ([]byte, []int) { + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{12} +} + +func (x *KeyspaceRoutingRules) GetRules() []*KeyspaceRoutingRule { + if x != nil { + return x.Rules + } + return nil +} + +type KeyspaceRoutingRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FromKeyspace string `protobuf:"bytes,1,opt,name=from_keyspace,json=fromKeyspace,proto3" json:"from_keyspace,omitempty"` + ToKeyspace string `protobuf:"bytes,2,opt,name=to_keyspace,json=toKeyspace,proto3" json:"to_keyspace,omitempty"` +} + +func (x *KeyspaceRoutingRule) Reset() { + *x = KeyspaceRoutingRule{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyspaceRoutingRule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyspaceRoutingRule) ProtoMessage() {} + +func (x *KeyspaceRoutingRule) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyspaceRoutingRule.ProtoReflect.Descriptor instead. +func (*KeyspaceRoutingRule) Descriptor() ([]byte, []int) { + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{13} +} + +func (x *KeyspaceRoutingRule) GetFromKeyspace() string { + if x != nil { + return x.FromKeyspace + } + return "" +} + +func (x *KeyspaceRoutingRule) GetToKeyspace() string { + if x != nil { + return x.ToKeyspace + } + return "" +} + +// MirrorRules specify the high level mirror rules for the VSchema. +type MirrorRules struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // rules should ideally be a map. However protos dont't allow + // repeated fields as elements of a map. So, we use a list + // instead. + Rules []*MirrorRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` +} + +func (x *MirrorRules) Reset() { + *x = MirrorRules{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MirrorRules) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MirrorRules) ProtoMessage() {} + +func (x *MirrorRules) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MirrorRules.ProtoReflect.Descriptor instead. +func (*MirrorRules) Descriptor() ([]byte, []int) { + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{14} +} + +func (x *MirrorRules) GetRules() []*MirrorRule { + if x != nil { + return x.Rules + } + return nil +} + +// MirrorRule specifies a mirror rule. +type MirrorRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FromTable string `protobuf:"bytes,1,opt,name=from_table,json=fromTable,proto3" json:"from_table,omitempty"` + ToTable string `protobuf:"bytes,2,opt,name=to_table,json=toTable,proto3" json:"to_table,omitempty"` + Percent float32 `protobuf:"fixed32,3,opt,name=percent,proto3" json:"percent,omitempty"` +} + +func (x *MirrorRule) Reset() { + *x = MirrorRule{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MirrorRule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MirrorRule) ProtoMessage() {} + +func (x *MirrorRule) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_dev_vschema_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MirrorRule.ProtoReflect.Descriptor instead. +func (*MirrorRule) Descriptor() ([]byte, []int) { + return file_vitess_vschema_dev_vschema_proto_rawDescGZIP(), []int{15} +} + +func (x *MirrorRule) GetFromTable() string { + if x != nil { + return x.FromTable + } + return "" +} + +func (x *MirrorRule) GetToTable() string { + if x != nil { + return x.ToTable + } + return "" +} + +func (x *MirrorRule) GetPercent() float32 { + if x != nil { + return x.Percent + } + return 0 +} + var File_vitess_vschema_dev_vschema_proto protoreflect.FileDescriptor var file_vitess_vschema_dev_vschema_proto_rawDesc = []byte{ @@ -901,7 +1200,7 @@ var file_vitess_vschema_dev_vschema_proto_rawDesc = []byte{ 0x6f, 0x6d, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0xbb, 0x04, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x8c, 0x05, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x08, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, @@ -921,121 +1220,167 @@ var file_vitess_vschema_dev_vschema_proto_rawDesc = []byte{ 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, - 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0x57, 0x0a, 0x0d, 0x56, 0x69, 0x6e, 0x64, - 0x65, 0x78, 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, 0x30, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x1a, 0x54, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 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, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x65, 0x69, - 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x75, 0x6e, 0x73, - 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x64, 0x69, - 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x75, 0x6e, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x64, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x64, 0x10, 0x03, 0x22, 0xad, 0x01, 0x0a, 0x06, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, - 0x61, 0x6d, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd2, 0x02, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x49, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x76, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x4f, 0x0a, 0x11, 0x6d, 0x75, 0x6c, 0x74, + 0x69, 0x5f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x54, 0x65, + 0x6e, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x54, + 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x1a, 0x57, 0x0a, 0x0d, 0x56, 0x69, 0x6e, + 0x64, 0x65, 0x78, 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, 0x30, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x48, 0x0a, - 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x49, - 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x49, 0x6e, - 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x16, 0x0a, - 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, - 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, - 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, - 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x54, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, - 0x43, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, - 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, - 0x65, 0x6e, 0x63, 0x65, 0x22, 0x97, 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, - 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, - 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x75, - 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xd3, - 0x02, 0x0a, 0x0a, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x4b, 0x0a, - 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x72, 0x6f, - 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, 0x55, 0x0a, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, - 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x54, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 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, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x75, 0x6e, + 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x64, + 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x75, 0x6e, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x64, 0x10, 0x03, 0x22, 0x8f, 0x01, 0x0a, 0x0f, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x54, + 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x31, 0x0a, 0x15, 0x74, 0x65, 0x6e, + 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, + 0x49, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x15, + 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x12, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x06, 0x56, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x1a, 0x39, 0x0a, 0x0b, + 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd2, 0x02, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x49, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, + 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, - 0x64, 0x65, 0x76, 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, 0x1a, 0x5a, 0x0a, 0x0e, 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, 0x32, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, + 0x12, 0x48, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x75, + 0x74, 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x61, 0x75, 0x74, + 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, - 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, - 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x4b, 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, 0x42, 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, - 0x64, 0x65, 0x76, 0x3b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x64, 0x65, 0x76, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, + 0x74, 0x69, 0x76, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x54, 0x0a, 0x0c, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x97, 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x6e, + 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, + 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x22, 0xf7, 0x03, 0x0a, 0x0a, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x12, 0x4b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x45, 0x0a, + 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, 0x55, 0x0a, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, 0x5e, 0x0a, 0x16, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, + 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x14, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x6d, + 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, + 0x65, 0x73, 0x52, 0x0b, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x1a, + 0x5a, 0x0a, 0x0e, 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, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x11, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, + 0x12, 0x3a, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x10, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x4b, 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, 0x22, 0x55, 0x0a, 0x14, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, + 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, + 0x6c, 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x13, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, + 0x6f, 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x22, 0x43, 0x0a, 0x0b, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, + 0x34, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, + 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x60, 0x0a, 0x0a, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, + 0x75, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, + 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x42, 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, + 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x64, 0x65, 0x76, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1051,48 +1396,59 @@ func file_vitess_vschema_dev_vschema_proto_rawDescGZIP() []byte { } var file_vitess_vschema_dev_vschema_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_vitess_vschema_dev_vschema_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_vitess_vschema_dev_vschema_proto_goTypes = []interface{}{ +var file_vitess_vschema_dev_vschema_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_vitess_vschema_dev_vschema_proto_goTypes = []any{ (Keyspace_ForeignKeyMode)(0), // 0: vitess.vschema.dev.Keyspace.ForeignKeyMode (*RoutingRules)(nil), // 1: vitess.vschema.dev.RoutingRules (*RoutingRule)(nil), // 2: vitess.vschema.dev.RoutingRule (*Keyspace)(nil), // 3: vitess.vschema.dev.Keyspace - (*Vindex)(nil), // 4: vitess.vschema.dev.Vindex - (*Table)(nil), // 5: vitess.vschema.dev.Table - (*ColumnVindex)(nil), // 6: vitess.vschema.dev.ColumnVindex - (*AutoIncrement)(nil), // 7: vitess.vschema.dev.AutoIncrement - (*Column)(nil), // 8: vitess.vschema.dev.Column - (*SrvVSchema)(nil), // 9: vitess.vschema.dev.SrvVSchema - (*ShardRoutingRules)(nil), // 10: vitess.vschema.dev.ShardRoutingRules - (*ShardRoutingRule)(nil), // 11: vitess.vschema.dev.ShardRoutingRule - nil, // 12: vitess.vschema.dev.Keyspace.VindexesEntry - nil, // 13: vitess.vschema.dev.Keyspace.TablesEntry - nil, // 14: vitess.vschema.dev.Vindex.ParamsEntry - nil, // 15: vitess.vschema.dev.SrvVSchema.KeyspacesEntry - (dev.Type)(0), // 16: vitess.query.dev.Type + (*MultiTenantSpec)(nil), // 4: vitess.vschema.dev.MultiTenantSpec + (*Vindex)(nil), // 5: vitess.vschema.dev.Vindex + (*Table)(nil), // 6: vitess.vschema.dev.Table + (*ColumnVindex)(nil), // 7: vitess.vschema.dev.ColumnVindex + (*AutoIncrement)(nil), // 8: vitess.vschema.dev.AutoIncrement + (*Column)(nil), // 9: vitess.vschema.dev.Column + (*SrvVSchema)(nil), // 10: vitess.vschema.dev.SrvVSchema + (*ShardRoutingRules)(nil), // 11: vitess.vschema.dev.ShardRoutingRules + (*ShardRoutingRule)(nil), // 12: vitess.vschema.dev.ShardRoutingRule + (*KeyspaceRoutingRules)(nil), // 13: vitess.vschema.dev.KeyspaceRoutingRules + (*KeyspaceRoutingRule)(nil), // 14: vitess.vschema.dev.KeyspaceRoutingRule + (*MirrorRules)(nil), // 15: vitess.vschema.dev.MirrorRules + (*MirrorRule)(nil), // 16: vitess.vschema.dev.MirrorRule + nil, // 17: vitess.vschema.dev.Keyspace.VindexesEntry + nil, // 18: vitess.vschema.dev.Keyspace.TablesEntry + nil, // 19: vitess.vschema.dev.Vindex.ParamsEntry + nil, // 20: vitess.vschema.dev.SrvVSchema.KeyspacesEntry + (dev.Type)(0), // 21: vitess.query.dev.Type } var file_vitess_vschema_dev_vschema_proto_depIdxs = []int32{ 2, // 0: vitess.vschema.dev.RoutingRules.rules:type_name -> vitess.vschema.dev.RoutingRule - 12, // 1: vitess.vschema.dev.Keyspace.vindexes:type_name -> vitess.vschema.dev.Keyspace.VindexesEntry - 13, // 2: vitess.vschema.dev.Keyspace.tables:type_name -> vitess.vschema.dev.Keyspace.TablesEntry + 17, // 1: vitess.vschema.dev.Keyspace.vindexes:type_name -> vitess.vschema.dev.Keyspace.VindexesEntry + 18, // 2: vitess.vschema.dev.Keyspace.tables:type_name -> vitess.vschema.dev.Keyspace.TablesEntry 0, // 3: vitess.vschema.dev.Keyspace.foreign_key_mode:type_name -> vitess.vschema.dev.Keyspace.ForeignKeyMode - 14, // 4: vitess.vschema.dev.Vindex.params:type_name -> vitess.vschema.dev.Vindex.ParamsEntry - 6, // 5: vitess.vschema.dev.Table.column_vindexes:type_name -> vitess.vschema.dev.ColumnVindex - 7, // 6: vitess.vschema.dev.Table.auto_increment:type_name -> vitess.vschema.dev.AutoIncrement - 8, // 7: vitess.vschema.dev.Table.columns:type_name -> vitess.vschema.dev.Column - 16, // 8: vitess.vschema.dev.Column.type:type_name -> vitess.query.dev.Type - 15, // 9: vitess.vschema.dev.SrvVSchema.keyspaces:type_name -> vitess.vschema.dev.SrvVSchema.KeyspacesEntry - 1, // 10: vitess.vschema.dev.SrvVSchema.routing_rules:type_name -> vitess.vschema.dev.RoutingRules - 10, // 11: vitess.vschema.dev.SrvVSchema.shard_routing_rules:type_name -> vitess.vschema.dev.ShardRoutingRules - 11, // 12: vitess.vschema.dev.ShardRoutingRules.rules:type_name -> vitess.vschema.dev.ShardRoutingRule - 4, // 13: vitess.vschema.dev.Keyspace.VindexesEntry.value:type_name -> vitess.vschema.dev.Vindex - 5, // 14: vitess.vschema.dev.Keyspace.TablesEntry.value:type_name -> vitess.vschema.dev.Table - 3, // 15: vitess.vschema.dev.SrvVSchema.KeyspacesEntry.value:type_name -> vitess.vschema.dev.Keyspace - 16, // [16:16] is the sub-list for method output_type - 16, // [16:16] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name + 4, // 4: vitess.vschema.dev.Keyspace.multi_tenant_spec:type_name -> vitess.vschema.dev.MultiTenantSpec + 21, // 5: vitess.vschema.dev.MultiTenantSpec.tenant_id_column_type:type_name -> vitess.query.dev.Type + 19, // 6: vitess.vschema.dev.Vindex.params:type_name -> vitess.vschema.dev.Vindex.ParamsEntry + 7, // 7: vitess.vschema.dev.Table.column_vindexes:type_name -> vitess.vschema.dev.ColumnVindex + 8, // 8: vitess.vschema.dev.Table.auto_increment:type_name -> vitess.vschema.dev.AutoIncrement + 9, // 9: vitess.vschema.dev.Table.columns:type_name -> vitess.vschema.dev.Column + 21, // 10: vitess.vschema.dev.Column.type:type_name -> vitess.query.dev.Type + 20, // 11: vitess.vschema.dev.SrvVSchema.keyspaces:type_name -> vitess.vschema.dev.SrvVSchema.KeyspacesEntry + 1, // 12: vitess.vschema.dev.SrvVSchema.routing_rules:type_name -> vitess.vschema.dev.RoutingRules + 11, // 13: vitess.vschema.dev.SrvVSchema.shard_routing_rules:type_name -> vitess.vschema.dev.ShardRoutingRules + 13, // 14: vitess.vschema.dev.SrvVSchema.keyspace_routing_rules:type_name -> vitess.vschema.dev.KeyspaceRoutingRules + 15, // 15: vitess.vschema.dev.SrvVSchema.mirror_rules:type_name -> vitess.vschema.dev.MirrorRules + 12, // 16: vitess.vschema.dev.ShardRoutingRules.rules:type_name -> vitess.vschema.dev.ShardRoutingRule + 14, // 17: vitess.vschema.dev.KeyspaceRoutingRules.rules:type_name -> vitess.vschema.dev.KeyspaceRoutingRule + 16, // 18: vitess.vschema.dev.MirrorRules.rules:type_name -> vitess.vschema.dev.MirrorRule + 5, // 19: vitess.vschema.dev.Keyspace.VindexesEntry.value:type_name -> vitess.vschema.dev.Vindex + 6, // 20: vitess.vschema.dev.Keyspace.TablesEntry.value:type_name -> vitess.vschema.dev.Table + 3, // 21: vitess.vschema.dev.SrvVSchema.KeyspacesEntry.value:type_name -> vitess.vschema.dev.Keyspace + 22, // [22:22] is the sub-list for method output_type + 22, // [22:22] is the sub-list for method input_type + 22, // [22:22] is the sub-list for extension type_name + 22, // [22:22] is the sub-list for extension extendee + 0, // [0:22] is the sub-list for field type_name } func init() { file_vitess_vschema_dev_vschema_proto_init() } @@ -1101,7 +1457,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vschema_dev_vschema_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RoutingRules); i { case 0: return &v.state @@ -1113,7 +1469,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RoutingRule); i { case 0: return &v.state @@ -1125,7 +1481,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -1137,7 +1493,19 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*MultiTenantSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_dev_vschema_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Vindex); i { case 0: return &v.state @@ -1149,7 +1517,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*Table); i { case 0: return &v.state @@ -1161,7 +1529,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ColumnVindex); i { case 0: return &v.state @@ -1173,7 +1541,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*AutoIncrement); i { case 0: return &v.state @@ -1185,7 +1553,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Column); i { case 0: return &v.state @@ -1197,7 +1565,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SrvVSchema); i { case 0: return &v.state @@ -1209,7 +1577,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRules); i { case 0: return &v.state @@ -1221,7 +1589,7 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } - file_vitess_vschema_dev_vschema_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_dev_vschema_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRule); i { case 0: return &v.state @@ -1233,15 +1601,63 @@ func file_vitess_vschema_dev_vschema_proto_init() { return nil } } + file_vitess_vschema_dev_vschema_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*KeyspaceRoutingRules); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_dev_vschema_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*KeyspaceRoutingRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_dev_vschema_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*MirrorRules); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_dev_vschema_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*MirrorRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - file_vitess_vschema_dev_vschema_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_vitess_vschema_dev_vschema_proto_msgTypes[8].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_vschema_dev_vschema_proto_rawDesc, NumEnums: 1, - NumMessages: 15, + NumMessages: 20, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/vitess/vschema/dev/vschema_vtproto.pb.go b/gen/vitess/vschema/dev/vschema_vtproto.pb.go index 1b2646b..90b35ee 100644 --- a/gen/vitess/vschema/dev/vschema_vtproto.pb.go +++ b/gen/vitess/vschema/dev/vschema_vtproto.pb.go @@ -5,10 +5,12 @@ package vschemadev import ( + binary "encoding/binary" fmt "fmt" dev "github.com/planetscale/vitess-types/gen/vitess/query/dev" protoimpl "google.golang.org/protobuf/runtime/protoimpl" io "io" + math "math" bits "math/bits" ) @@ -143,6 +145,16 @@ func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.MultiTenantSpec != nil { + size, err := m.MultiTenantSpec.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } if m.ForeignKeyMode != 0 { i = encodeVarint(dAtA, i, uint64(m.ForeignKeyMode)) i-- @@ -215,6 +227,51 @@ func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *MultiTenantSpec) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MultiTenantSpec) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MultiTenantSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TenantIdColumnType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TenantIdColumnType)) + i-- + dAtA[i] = 0x10 + } + if len(m.TenantIdColumnName) > 0 { + i -= len(m.TenantIdColumnName) + copy(dAtA[i:], m.TenantIdColumnName) + i = encodeVarint(dAtA, i, uint64(len(m.TenantIdColumnName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *Vindex) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -610,6 +667,26 @@ func (m *SrvVSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.MirrorRules != nil { + size, err := m.MirrorRules.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.KeyspaceRoutingRules != nil { + size, err := m.KeyspaceRoutingRules.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } if m.ShardRoutingRules != nil { size, err := m.ShardRoutingRules.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { @@ -754,6 +831,196 @@ func (m *ShardRoutingRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *KeyspaceRoutingRules) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *KeyspaceRoutingRules) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *KeyspaceRoutingRules) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Rules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *KeyspaceRoutingRule) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *KeyspaceRoutingRule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *KeyspaceRoutingRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ToKeyspace) > 0 { + i -= len(m.ToKeyspace) + copy(dAtA[i:], m.ToKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.ToKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.FromKeyspace) > 0 { + i -= len(m.FromKeyspace) + copy(dAtA[i:], m.FromKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.FromKeyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MirrorRules) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MirrorRules) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MirrorRules) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Rules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *MirrorRule) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MirrorRule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MirrorRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Percent != 0 { + i -= 4 + binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Percent)))) + i-- + dAtA[i] = 0x1d + } + if len(m.ToTable) > 0 { + i -= len(m.ToTable) + copy(dAtA[i:], m.ToTable) + i = encodeVarint(dAtA, i, uint64(len(m.ToTable))) + i-- + dAtA[i] = 0x12 + } + if len(m.FromTable) > 0 { + i -= len(m.FromTable) + copy(dAtA[i:], m.FromTable) + i = encodeVarint(dAtA, i, uint64(len(m.FromTable))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarint(dAtA []byte, offset int, v uint64) int { offset -= sov(v) base := offset @@ -842,6 +1109,27 @@ func (m *Keyspace) SizeVT() (n int) { if m.ForeignKeyMode != 0 { n += 1 + sov(uint64(m.ForeignKeyMode)) } + if m.MultiTenantSpec != nil { + l = m.MultiTenantSpec.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MultiTenantSpec) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TenantIdColumnName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TenantIdColumnType != 0 { + n += 1 + sov(uint64(m.TenantIdColumnType)) + } n += len(m.unknownFields) return n } @@ -1025,6 +1313,14 @@ func (m *SrvVSchema) SizeVT() (n int) { l = m.ShardRoutingRules.SizeVT() n += 1 + l + sov(uint64(l)) } + if m.KeyspaceRoutingRules != nil { + l = m.KeyspaceRoutingRules.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.MirrorRules != nil { + l = m.MirrorRules.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -1067,14 +1363,85 @@ func (m *ShardRoutingRule) SizeVT() (n int) { return n } -func sov(x uint64) (n int) { - return (bits.Len64(x|1) + 6) / 7 -} -func soz(x uint64) (n int) { - return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *RoutingRules) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) +func (m *KeyspaceRoutingRules) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *KeyspaceRoutingRule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FromKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ToKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MirrorRules) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *MirrorRule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FromTable) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ToTable) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Percent != 0 { + n += 5 + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *RoutingRules) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -1619,6 +1986,144 @@ func (m *Keyspace) UnmarshalVT(dAtA []byte) error { break } } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MultiTenantSpec", 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.MultiTenantSpec == nil { + m.MultiTenantSpec = &MultiTenantSpec{} + } + if err := m.MultiTenantSpec.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MultiTenantSpec) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MultiTenantSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MultiTenantSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TenantIdColumnName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TenantIdColumnName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TenantIdColumnType", wireType) + } + m.TenantIdColumnType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TenantIdColumnType |= dev.Type(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -2923,60 +3428,9 @@ func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardRoutingRules) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ShardRoutingRules: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardRoutingRules: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceRoutingRules", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3003,12 +3457,135 @@ func (m *ShardRoutingRules) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Rules = append(m.Rules, &ShardRoutingRule{}) - if err := m.Rules[len(m.Rules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + if m.KeyspaceRoutingRules == nil { + m.KeyspaceRoutingRules = &KeyspaceRoutingRules{} + } + if err := m.KeyspaceRoutingRules.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MirrorRules", 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.MirrorRules == nil { + m.MirrorRules = &MirrorRules{} + } + if err := m.MirrorRules.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardRoutingRules) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardRoutingRules: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardRoutingRules: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rules", 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 + } + m.Rules = append(m.Rules, &ShardRoutingRule{}) + if err := m.Rules[len(m.Rules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) if err != nil { @@ -3177,6 +3754,417 @@ func (m *ShardRoutingRule) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *KeyspaceRoutingRules) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyspaceRoutingRules: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyspaceRoutingRules: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rules", 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 + } + m.Rules = append(m.Rules, &KeyspaceRoutingRule{}) + if err := m.Rules[len(m.Rules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyspaceRoutingRule) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyspaceRoutingRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyspaceRoutingRule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FromKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FromKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ToKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ToKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MirrorRules) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MirrorRules: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MirrorRules: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rules", 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 + } + m.Rules = append(m.Rules, &MirrorRule{}) + if err := m.Rules[len(m.Rules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MirrorRule) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MirrorRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MirrorRule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FromTable", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FromTable = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ToTable", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ToTable = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field Percent", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.Percent = float32(math.Float32frombits(v)) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skip(dAtA []byte) (n int, err error) { l := len(dAtA) diff --git a/gen/vitess/vschema/v16/vschema.pb.go b/gen/vitess/vschema/v16/vschema.pb.go index ea9f674..4bcabb5 100644 --- a/gen/vitess/vschema/v16/vschema.pb.go +++ b/gen/vitess/vschema/v16/vschema.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vschema/v16/vschema.proto @@ -910,7 +910,7 @@ func file_vitess_vschema_v16_vschema_proto_rawDescGZIP() []byte { } var file_vitess_vschema_v16_vschema_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_vitess_vschema_v16_vschema_proto_goTypes = []interface{}{ +var file_vitess_vschema_v16_vschema_proto_goTypes = []any{ (*RoutingRules)(nil), // 0: vitess.vschema.v16.RoutingRules (*RoutingRule)(nil), // 1: vitess.vschema.v16.RoutingRule (*Keyspace)(nil), // 2: vitess.vschema.v16.Keyspace @@ -957,7 +957,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vschema_v16_vschema_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RoutingRules); i { case 0: return &v.state @@ -969,7 +969,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RoutingRule); i { case 0: return &v.state @@ -981,7 +981,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -993,7 +993,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Vindex); i { case 0: return &v.state @@ -1005,7 +1005,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Table); i { case 0: return &v.state @@ -1017,7 +1017,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ColumnVindex); i { case 0: return &v.state @@ -1029,7 +1029,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*AutoIncrement); i { case 0: return &v.state @@ -1041,7 +1041,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Column); i { case 0: return &v.state @@ -1053,7 +1053,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*SrvVSchema); i { case 0: return &v.state @@ -1065,7 +1065,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRules); i { case 0: return &v.state @@ -1077,7 +1077,7 @@ func file_vitess_vschema_v16_vschema_proto_init() { return nil } } - file_vitess_vschema_v16_vschema_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v16_vschema_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRule); i { case 0: return &v.state diff --git a/gen/vitess/vschema/v17/vschema.pb.go b/gen/vitess/vschema/v17/vschema.pb.go index bf88642..30ee142 100644 --- a/gen/vitess/vschema/v17/vschema.pb.go +++ b/gen/vitess/vschema/v17/vschema.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vschema/v17/vschema.proto @@ -910,7 +910,7 @@ func file_vitess_vschema_v17_vschema_proto_rawDescGZIP() []byte { } var file_vitess_vschema_v17_vschema_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_vitess_vschema_v17_vschema_proto_goTypes = []interface{}{ +var file_vitess_vschema_v17_vschema_proto_goTypes = []any{ (*RoutingRules)(nil), // 0: vitess.vschema.v17.RoutingRules (*RoutingRule)(nil), // 1: vitess.vschema.v17.RoutingRule (*Keyspace)(nil), // 2: vitess.vschema.v17.Keyspace @@ -957,7 +957,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vschema_v17_vschema_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RoutingRules); i { case 0: return &v.state @@ -969,7 +969,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RoutingRule); i { case 0: return &v.state @@ -981,7 +981,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -993,7 +993,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Vindex); i { case 0: return &v.state @@ -1005,7 +1005,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Table); i { case 0: return &v.state @@ -1017,7 +1017,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ColumnVindex); i { case 0: return &v.state @@ -1029,7 +1029,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*AutoIncrement); i { case 0: return &v.state @@ -1041,7 +1041,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Column); i { case 0: return &v.state @@ -1053,7 +1053,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*SrvVSchema); i { case 0: return &v.state @@ -1065,7 +1065,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRules); i { case 0: return &v.state @@ -1077,7 +1077,7 @@ func file_vitess_vschema_v17_vschema_proto_init() { return nil } } - file_vitess_vschema_v17_vschema_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v17_vschema_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRule); i { case 0: return &v.state diff --git a/gen/vitess/vschema/v18/vschema.pb.go b/gen/vitess/vschema/v18/vschema.pb.go index 23a49ee..dce5f24 100644 --- a/gen/vitess/vschema/v18/vschema.pb.go +++ b/gen/vitess/vschema/v18/vschema.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vschema/v18/vschema.proto @@ -982,7 +982,7 @@ func file_vitess_vschema_v18_vschema_proto_rawDescGZIP() []byte { var file_vitess_vschema_v18_vschema_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vschema_v18_vschema_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_vitess_vschema_v18_vschema_proto_goTypes = []interface{}{ +var file_vitess_vschema_v18_vschema_proto_goTypes = []any{ (Keyspace_ForeignKeyMode)(0), // 0: vitess.vschema.v18.Keyspace.ForeignKeyMode (*RoutingRules)(nil), // 1: vitess.vschema.v18.RoutingRules (*RoutingRule)(nil), // 2: vitess.vschema.v18.RoutingRule @@ -1031,7 +1031,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vschema_v18_vschema_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RoutingRules); i { case 0: return &v.state @@ -1043,7 +1043,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RoutingRule); i { case 0: return &v.state @@ -1055,7 +1055,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -1067,7 +1067,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*Vindex); i { case 0: return &v.state @@ -1079,7 +1079,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Table); i { case 0: return &v.state @@ -1091,7 +1091,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ColumnVindex); i { case 0: return &v.state @@ -1103,7 +1103,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*AutoIncrement); i { case 0: return &v.state @@ -1115,7 +1115,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Column); i { case 0: return &v.state @@ -1127,7 +1127,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*SrvVSchema); i { case 0: return &v.state @@ -1139,7 +1139,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRules); i { case 0: return &v.state @@ -1151,7 +1151,7 @@ func file_vitess_vschema_v18_vschema_proto_init() { return nil } } - file_vitess_vschema_v18_vschema_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vschema_v18_vschema_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ShardRoutingRule); i { case 0: return &v.state diff --git a/gen/vitess/vschema/v19/vschema.pb.go b/gen/vitess/vschema/v19/vschema.pb.go new file mode 100644 index 0000000..e15d245 --- /dev/null +++ b/gen/vitess/vschema/v19/vschema.pb.go @@ -0,0 +1,1257 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains the types needed to define a vschema. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vschema/v19/vschema.proto + +package vschemav19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Keyspace_ForeignKeyMode int32 + +const ( + Keyspace_unspecified Keyspace_ForeignKeyMode = 0 + Keyspace_disallow Keyspace_ForeignKeyMode = 1 + Keyspace_unmanaged Keyspace_ForeignKeyMode = 2 + Keyspace_managed Keyspace_ForeignKeyMode = 3 +) + +// Enum value maps for Keyspace_ForeignKeyMode. +var ( + Keyspace_ForeignKeyMode_name = map[int32]string{ + 0: "unspecified", + 1: "disallow", + 2: "unmanaged", + 3: "managed", + } + Keyspace_ForeignKeyMode_value = map[string]int32{ + "unspecified": 0, + "disallow": 1, + "unmanaged": 2, + "managed": 3, + } +) + +func (x Keyspace_ForeignKeyMode) Enum() *Keyspace_ForeignKeyMode { + p := new(Keyspace_ForeignKeyMode) + *p = x + return p +} + +func (x Keyspace_ForeignKeyMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Keyspace_ForeignKeyMode) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vschema_v19_vschema_proto_enumTypes[0].Descriptor() +} + +func (Keyspace_ForeignKeyMode) Type() protoreflect.EnumType { + return &file_vitess_vschema_v19_vschema_proto_enumTypes[0] +} + +func (x Keyspace_ForeignKeyMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Keyspace_ForeignKeyMode.Descriptor instead. +func (Keyspace_ForeignKeyMode) EnumDescriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{2, 0} +} + +// RoutingRules specify the high level routing rules for the VSchema. +type RoutingRules struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // rules should ideally be a map. However protos dont't allow + // repeated fields as elements of a map. So, we use a list + // instead. + Rules []*RoutingRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` +} + +func (x *RoutingRules) Reset() { + *x = RoutingRules{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoutingRules) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoutingRules) ProtoMessage() {} + +func (x *RoutingRules) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoutingRules.ProtoReflect.Descriptor instead. +func (*RoutingRules) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{0} +} + +func (x *RoutingRules) GetRules() []*RoutingRule { + if x != nil { + return x.Rules + } + return nil +} + +// RoutingRule specifies a routing rule. +type RoutingRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FromTable string `protobuf:"bytes,1,opt,name=from_table,json=fromTable,proto3" json:"from_table,omitempty"` + ToTables []string `protobuf:"bytes,2,rep,name=to_tables,json=toTables,proto3" json:"to_tables,omitempty"` +} + +func (x *RoutingRule) Reset() { + *x = RoutingRule{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoutingRule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoutingRule) ProtoMessage() {} + +func (x *RoutingRule) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoutingRule.ProtoReflect.Descriptor instead. +func (*RoutingRule) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{1} +} + +func (x *RoutingRule) GetFromTable() string { + if x != nil { + return x.FromTable + } + return "" +} + +func (x *RoutingRule) GetToTables() []string { + if x != nil { + return x.ToTables + } + return nil +} + +// Keyspace is the vschema for a keyspace. +type Keyspace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If sharded is false, vindexes and tables are ignored. + Sharded bool `protobuf:"varint,1,opt,name=sharded,proto3" json:"sharded,omitempty"` + Vindexes map[string]*Vindex `protobuf:"bytes,2,rep,name=vindexes,proto3" json:"vindexes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Tables map[string]*Table `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // If require_explicit_routing is true, vindexes and tables are not added to global routing + RequireExplicitRouting bool `protobuf:"varint,4,opt,name=require_explicit_routing,json=requireExplicitRouting,proto3" json:"require_explicit_routing,omitempty"` + // foreign_key_mode dictates how Vitess should handle foreign keys for this keyspace. + ForeignKeyMode Keyspace_ForeignKeyMode `protobuf:"varint,5,opt,name=foreign_key_mode,json=foreignKeyMode,proto3,enum=vitess.vschema.v19.Keyspace_ForeignKeyMode" json:"foreign_key_mode,omitempty"` +} + +func (x *Keyspace) Reset() { + *x = Keyspace{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Keyspace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Keyspace) ProtoMessage() {} + +func (x *Keyspace) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Keyspace.ProtoReflect.Descriptor instead. +func (*Keyspace) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{2} +} + +func (x *Keyspace) GetSharded() bool { + if x != nil { + return x.Sharded + } + return false +} + +func (x *Keyspace) GetVindexes() map[string]*Vindex { + if x != nil { + return x.Vindexes + } + return nil +} + +func (x *Keyspace) GetTables() map[string]*Table { + if x != nil { + return x.Tables + } + return nil +} + +func (x *Keyspace) GetRequireExplicitRouting() bool { + if x != nil { + return x.RequireExplicitRouting + } + return false +} + +func (x *Keyspace) GetForeignKeyMode() Keyspace_ForeignKeyMode { + if x != nil { + return x.ForeignKeyMode + } + return Keyspace_unspecified +} + +// Vindex is the vindex info for a Keyspace. +type Vindex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The type must match one of the predefined + // (or plugged in) vindex names. + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + // params is a map of attribute value pairs + // that must be defined as required by the + // vindex constructors. The values can only + // be strings. + Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // A lookup vindex can have an owner table defined. + // If so, rows in the lookup table are created or + // deleted in sync with corresponding rows in the + // owner table. + Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` +} + +func (x *Vindex) Reset() { + *x = Vindex{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Vindex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Vindex) ProtoMessage() {} + +func (x *Vindex) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Vindex.ProtoReflect.Descriptor instead. +func (*Vindex) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{3} +} + +func (x *Vindex) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *Vindex) GetParams() map[string]string { + if x != nil { + return x.Params + } + return nil +} + +func (x *Vindex) GetOwner() string { + if x != nil { + return x.Owner + } + return "" +} + +// Table is the table info for a Keyspace. +type Table struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If the table is a sequence, type must be + // "sequence". + // + // If the table is a reference, type must be + // "reference". + // See https://vitess.io/docs/reference/features/vschema/#reference-tables. + // + // Otherwise, it should be empty. + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + // column_vindexes associates columns to vindexes. + ColumnVindexes []*ColumnVindex `protobuf:"bytes,2,rep,name=column_vindexes,json=columnVindexes,proto3" json:"column_vindexes,omitempty"` + // auto_increment is specified if a column needs + // to be associated with a sequence. + AutoIncrement *AutoIncrement `protobuf:"bytes,3,opt,name=auto_increment,json=autoIncrement,proto3" json:"auto_increment,omitempty"` + // columns lists the columns for the table. + Columns []*Column `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"` + // pinned pins an unsharded table to a specific + // shard, as dictated by the keyspace id. + // The keyspace id is represented in hex form + // like in keyranges. + Pinned string `protobuf:"bytes,5,opt,name=pinned,proto3" json:"pinned,omitempty"` + // column_list_authoritative is set to true if columns is + // an authoritative list for the table. This allows + // us to expand 'select *' expressions. + ColumnListAuthoritative bool `protobuf:"varint,6,opt,name=column_list_authoritative,json=columnListAuthoritative,proto3" json:"column_list_authoritative,omitempty"` + // reference tables may optionally indicate their source table. + Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` +} + +func (x *Table) Reset() { + *x = Table{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Table) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Table) ProtoMessage() {} + +func (x *Table) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Table.ProtoReflect.Descriptor instead. +func (*Table) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{4} +} + +func (x *Table) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *Table) GetColumnVindexes() []*ColumnVindex { + if x != nil { + return x.ColumnVindexes + } + return nil +} + +func (x *Table) GetAutoIncrement() *AutoIncrement { + if x != nil { + return x.AutoIncrement + } + return nil +} + +func (x *Table) GetColumns() []*Column { + if x != nil { + return x.Columns + } + return nil +} + +func (x *Table) GetPinned() string { + if x != nil { + return x.Pinned + } + return "" +} + +func (x *Table) GetColumnListAuthoritative() bool { + if x != nil { + return x.ColumnListAuthoritative + } + return false +} + +func (x *Table) GetSource() string { + if x != nil { + return x.Source + } + return "" +} + +// ColumnVindex is used to associate a column to a vindex. +type ColumnVindex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Legacy implementation, moving forward all vindexes should define a list of columns. + Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` + // The name must match a vindex defined in Keyspace. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // List of columns that define this Vindex + Columns []string `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"` +} + +func (x *ColumnVindex) Reset() { + *x = ColumnVindex{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ColumnVindex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ColumnVindex) ProtoMessage() {} + +func (x *ColumnVindex) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ColumnVindex.ProtoReflect.Descriptor instead. +func (*ColumnVindex) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{5} +} + +func (x *ColumnVindex) GetColumn() string { + if x != nil { + return x.Column + } + return "" +} + +func (x *ColumnVindex) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ColumnVindex) GetColumns() []string { + if x != nil { + return x.Columns + } + return nil +} + +// Autoincrement is used to designate a column as auto-inc. +type AutoIncrement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` + // The sequence must match a table of type SEQUENCE. + Sequence string `protobuf:"bytes,2,opt,name=sequence,proto3" json:"sequence,omitempty"` +} + +func (x *AutoIncrement) Reset() { + *x = AutoIncrement{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoIncrement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoIncrement) ProtoMessage() {} + +func (x *AutoIncrement) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoIncrement.ProtoReflect.Descriptor instead. +func (*AutoIncrement) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{6} +} + +func (x *AutoIncrement) GetColumn() string { + if x != nil { + return x.Column + } + return "" +} + +func (x *AutoIncrement) GetSequence() string { + if x != nil { + return x.Sequence + } + return "" +} + +// Column describes a column. +type Column struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Type v19.Type `protobuf:"varint,2,opt,name=type,proto3,enum=vitess.query.v19.Type" json:"type,omitempty"` + Invisible bool `protobuf:"varint,3,opt,name=invisible,proto3" json:"invisible,omitempty"` + Default string `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"` + CollationName string `protobuf:"bytes,5,opt,name=collation_name,json=collationName,proto3" json:"collation_name,omitempty"` + Size int32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` + Scale int32 `protobuf:"varint,7,opt,name=scale,proto3" json:"scale,omitempty"` + Nullable *bool `protobuf:"varint,8,opt,name=nullable,proto3,oneof" json:"nullable,omitempty"` + // values contains the list of values for an enum or set column. + Values []string `protobuf:"bytes,9,rep,name=values,proto3" json:"values,omitempty"` +} + +func (x *Column) Reset() { + *x = Column{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Column) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Column) ProtoMessage() {} + +func (x *Column) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Column.ProtoReflect.Descriptor instead. +func (*Column) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{7} +} + +func (x *Column) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Column) GetType() v19.Type { + if x != nil { + return x.Type + } + return v19.Type(0) +} + +func (x *Column) GetInvisible() bool { + if x != nil { + return x.Invisible + } + return false +} + +func (x *Column) GetDefault() string { + if x != nil { + return x.Default + } + return "" +} + +func (x *Column) GetCollationName() string { + if x != nil { + return x.CollationName + } + return "" +} + +func (x *Column) GetSize() int32 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *Column) GetScale() int32 { + if x != nil { + return x.Scale + } + return 0 +} + +func (x *Column) GetNullable() bool { + if x != nil && x.Nullable != nil { + return *x.Nullable + } + return false +} + +func (x *Column) GetValues() []string { + if x != nil { + return x.Values + } + return nil +} + +// SrvVSchema is the roll-up of all the Keyspace schema for a cell. +type SrvVSchema struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // keyspaces is a map of keyspace name -> Keyspace object. + Keyspaces map[string]*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + RoutingRules *RoutingRules `protobuf:"bytes,2,opt,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` // table routing rules + ShardRoutingRules *ShardRoutingRules `protobuf:"bytes,3,opt,name=shard_routing_rules,json=shardRoutingRules,proto3" json:"shard_routing_rules,omitempty"` +} + +func (x *SrvVSchema) Reset() { + *x = SrvVSchema{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SrvVSchema) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SrvVSchema) ProtoMessage() {} + +func (x *SrvVSchema) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SrvVSchema.ProtoReflect.Descriptor instead. +func (*SrvVSchema) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{8} +} + +func (x *SrvVSchema) GetKeyspaces() map[string]*Keyspace { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *SrvVSchema) GetRoutingRules() *RoutingRules { + if x != nil { + return x.RoutingRules + } + return nil +} + +func (x *SrvVSchema) GetShardRoutingRules() *ShardRoutingRules { + if x != nil { + return x.ShardRoutingRules + } + return nil +} + +// ShardRoutingRules specify the shard routing rules for the VSchema. +type ShardRoutingRules struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rules []*ShardRoutingRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` +} + +func (x *ShardRoutingRules) Reset() { + *x = ShardRoutingRules{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardRoutingRules) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardRoutingRules) ProtoMessage() {} + +func (x *ShardRoutingRules) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardRoutingRules.ProtoReflect.Descriptor instead. +func (*ShardRoutingRules) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{9} +} + +func (x *ShardRoutingRules) GetRules() []*ShardRoutingRule { + if x != nil { + return x.Rules + } + return nil +} + +// RoutingRule specifies a routing rule. +type ShardRoutingRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FromKeyspace string `protobuf:"bytes,1,opt,name=from_keyspace,json=fromKeyspace,proto3" json:"from_keyspace,omitempty"` + ToKeyspace string `protobuf:"bytes,2,opt,name=to_keyspace,json=toKeyspace,proto3" json:"to_keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *ShardRoutingRule) Reset() { + *x = ShardRoutingRule{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardRoutingRule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardRoutingRule) ProtoMessage() {} + +func (x *ShardRoutingRule) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vschema_v19_vschema_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardRoutingRule.ProtoReflect.Descriptor instead. +func (*ShardRoutingRule) Descriptor() ([]byte, []int) { + return file_vitess_vschema_v19_vschema_proto_rawDescGZIP(), []int{10} +} + +func (x *ShardRoutingRule) GetFromKeyspace() string { + if x != nil { + return x.FromKeyspace + } + return "" +} + +func (x *ShardRoutingRule) GetToKeyspace() string { + if x != nil { + return x.ToKeyspace + } + return "" +} + +func (x *ShardRoutingRule) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +var File_vitess_vschema_v19_vschema_proto protoreflect.FileDescriptor + +var file_vitess_vschema_v19_vschema_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x12, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x0c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, + 0x75, 0x6c, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, + 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x52, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x72, + 0x6f, 0x6d, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x66, 0x72, 0x6f, 0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0xbb, 0x04, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x65, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x65, 0x64, 0x12, 0x46, 0x0a, + 0x08, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x76, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, + 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x72, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x45, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x12, 0x55, 0x0a, 0x10, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, + 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, + 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, + 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0x57, 0x0a, 0x0d, 0x56, 0x69, 0x6e, 0x64, + 0x65, 0x78, 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, 0x30, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0x54, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 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, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x65, 0x69, + 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x75, 0x6e, 0x73, + 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x75, 0x6e, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x64, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x64, 0x10, 0x03, 0x22, 0xad, 0x01, 0x0a, 0x06, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, + 0x61, 0x6d, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd2, 0x02, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x49, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x76, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0e, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x48, 0x0a, + 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x49, 0x6e, + 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, + 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x54, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, + 0x43, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, + 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, + 0x65, 0x6e, 0x63, 0x65, 0x22, 0x97, 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, + 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x75, + 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xd3, + 0x02, 0x0a, 0x0a, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x4b, 0x0a, + 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x72, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x12, 0x55, 0x0a, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x76, 0x31, 0x39, 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, 0x1a, 0x5a, 0x0a, 0x0e, 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, 0x32, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, + 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x72, 0x75, 0x6c, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, + 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, + 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x4b, 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, 0x42, 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, + 0x76, 0x31, 0x39, 0x3b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x76, 0x31, 0x39, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_vschema_v19_vschema_proto_rawDescOnce sync.Once + file_vitess_vschema_v19_vschema_proto_rawDescData = file_vitess_vschema_v19_vschema_proto_rawDesc +) + +func file_vitess_vschema_v19_vschema_proto_rawDescGZIP() []byte { + file_vitess_vschema_v19_vschema_proto_rawDescOnce.Do(func() { + file_vitess_vschema_v19_vschema_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_vschema_v19_vschema_proto_rawDescData) + }) + return file_vitess_vschema_v19_vschema_proto_rawDescData +} + +var file_vitess_vschema_v19_vschema_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_vitess_vschema_v19_vschema_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_vitess_vschema_v19_vschema_proto_goTypes = []any{ + (Keyspace_ForeignKeyMode)(0), // 0: vitess.vschema.v19.Keyspace.ForeignKeyMode + (*RoutingRules)(nil), // 1: vitess.vschema.v19.RoutingRules + (*RoutingRule)(nil), // 2: vitess.vschema.v19.RoutingRule + (*Keyspace)(nil), // 3: vitess.vschema.v19.Keyspace + (*Vindex)(nil), // 4: vitess.vschema.v19.Vindex + (*Table)(nil), // 5: vitess.vschema.v19.Table + (*ColumnVindex)(nil), // 6: vitess.vschema.v19.ColumnVindex + (*AutoIncrement)(nil), // 7: vitess.vschema.v19.AutoIncrement + (*Column)(nil), // 8: vitess.vschema.v19.Column + (*SrvVSchema)(nil), // 9: vitess.vschema.v19.SrvVSchema + (*ShardRoutingRules)(nil), // 10: vitess.vschema.v19.ShardRoutingRules + (*ShardRoutingRule)(nil), // 11: vitess.vschema.v19.ShardRoutingRule + nil, // 12: vitess.vschema.v19.Keyspace.VindexesEntry + nil, // 13: vitess.vschema.v19.Keyspace.TablesEntry + nil, // 14: vitess.vschema.v19.Vindex.ParamsEntry + nil, // 15: vitess.vschema.v19.SrvVSchema.KeyspacesEntry + (v19.Type)(0), // 16: vitess.query.v19.Type +} +var file_vitess_vschema_v19_vschema_proto_depIdxs = []int32{ + 2, // 0: vitess.vschema.v19.RoutingRules.rules:type_name -> vitess.vschema.v19.RoutingRule + 12, // 1: vitess.vschema.v19.Keyspace.vindexes:type_name -> vitess.vschema.v19.Keyspace.VindexesEntry + 13, // 2: vitess.vschema.v19.Keyspace.tables:type_name -> vitess.vschema.v19.Keyspace.TablesEntry + 0, // 3: vitess.vschema.v19.Keyspace.foreign_key_mode:type_name -> vitess.vschema.v19.Keyspace.ForeignKeyMode + 14, // 4: vitess.vschema.v19.Vindex.params:type_name -> vitess.vschema.v19.Vindex.ParamsEntry + 6, // 5: vitess.vschema.v19.Table.column_vindexes:type_name -> vitess.vschema.v19.ColumnVindex + 7, // 6: vitess.vschema.v19.Table.auto_increment:type_name -> vitess.vschema.v19.AutoIncrement + 8, // 7: vitess.vschema.v19.Table.columns:type_name -> vitess.vschema.v19.Column + 16, // 8: vitess.vschema.v19.Column.type:type_name -> vitess.query.v19.Type + 15, // 9: vitess.vschema.v19.SrvVSchema.keyspaces:type_name -> vitess.vschema.v19.SrvVSchema.KeyspacesEntry + 1, // 10: vitess.vschema.v19.SrvVSchema.routing_rules:type_name -> vitess.vschema.v19.RoutingRules + 10, // 11: vitess.vschema.v19.SrvVSchema.shard_routing_rules:type_name -> vitess.vschema.v19.ShardRoutingRules + 11, // 12: vitess.vschema.v19.ShardRoutingRules.rules:type_name -> vitess.vschema.v19.ShardRoutingRule + 4, // 13: vitess.vschema.v19.Keyspace.VindexesEntry.value:type_name -> vitess.vschema.v19.Vindex + 5, // 14: vitess.vschema.v19.Keyspace.TablesEntry.value:type_name -> vitess.vschema.v19.Table + 3, // 15: vitess.vschema.v19.SrvVSchema.KeyspacesEntry.value:type_name -> vitess.vschema.v19.Keyspace + 16, // [16:16] is the sub-list for method output_type + 16, // [16:16] is the sub-list for method input_type + 16, // [16:16] is the sub-list for extension type_name + 16, // [16:16] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name +} + +func init() { file_vitess_vschema_v19_vschema_proto_init() } +func file_vitess_vschema_v19_vschema_proto_init() { + if File_vitess_vschema_v19_vschema_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_vschema_v19_vschema_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*RoutingRules); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*RoutingRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*Keyspace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*Vindex); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*Table); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*ColumnVindex); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*AutoIncrement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*Column); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*SrvVSchema); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*ShardRoutingRules); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ShardRoutingRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_vitess_vschema_v19_vschema_proto_msgTypes[7].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vschema_v19_vschema_proto_rawDesc, + NumEnums: 1, + NumMessages: 15, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_vschema_v19_vschema_proto_goTypes, + DependencyIndexes: file_vitess_vschema_v19_vschema_proto_depIdxs, + EnumInfos: file_vitess_vschema_v19_vschema_proto_enumTypes, + MessageInfos: file_vitess_vschema_v19_vschema_proto_msgTypes, + }.Build() + File_vitess_vschema_v19_vschema_proto = out.File + file_vitess_vschema_v19_vschema_proto_rawDesc = nil + file_vitess_vschema_v19_vschema_proto_goTypes = nil + file_vitess_vschema_v19_vschema_proto_depIdxs = nil +} diff --git a/gen/vitess/vschema/v19/vschema_vtproto.pb.go b/gen/vitess/vschema/v19/vschema_vtproto.pb.go new file mode 100644 index 0000000..8b7ea7d --- /dev/null +++ b/gen/vitess/vschema/v19/vschema_vtproto.pb.go @@ -0,0 +1,3264 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/vschema/v19/vschema.proto + +package vschemav19 + +import ( + fmt "fmt" + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *RoutingRules) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RoutingRules) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RoutingRules) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Rules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *RoutingRule) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RoutingRule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RoutingRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ToTables) > 0 { + for iNdEx := len(m.ToTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ToTables[iNdEx]) + copy(dAtA[i:], m.ToTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ToTables[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.FromTable) > 0 { + i -= len(m.FromTable) + copy(dAtA[i:], m.FromTable) + i = encodeVarint(dAtA, i, uint64(len(m.FromTable))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Keyspace) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Keyspace) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ForeignKeyMode != 0 { + i = encodeVarint(dAtA, i, uint64(m.ForeignKeyMode)) + i-- + dAtA[i] = 0x28 + } + if m.RequireExplicitRouting { + i-- + if m.RequireExplicitRouting { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Tables) > 0 { + for k := range m.Tables { + v := m.Tables[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Vindexes) > 0 { + for k := range m.Vindexes { + v := m.Vindexes[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if m.Sharded { + i-- + if m.Sharded { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Vindex) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Vindex) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Vindex) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarint(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0x1a + } + if len(m.Params) > 0 { + for k := range m.Params { + v := m.Params[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarint(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Table) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Table) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Table) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Source) > 0 { + i -= len(m.Source) + copy(dAtA[i:], m.Source) + i = encodeVarint(dAtA, i, uint64(len(m.Source))) + i-- + dAtA[i] = 0x3a + } + if m.ColumnListAuthoritative { + i-- + if m.ColumnListAuthoritative { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.Pinned) > 0 { + i -= len(m.Pinned) + copy(dAtA[i:], m.Pinned) + i = encodeVarint(dAtA, i, uint64(len(m.Pinned))) + i-- + dAtA[i] = 0x2a + } + if len(m.Columns) > 0 { + for iNdEx := len(m.Columns) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Columns[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if m.AutoIncrement != nil { + size, err := m.AutoIncrement.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.ColumnVindexes) > 0 { + for iNdEx := len(m.ColumnVindexes) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ColumnVindexes[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarint(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ColumnVindex) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ColumnVindex) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ColumnVindex) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Columns) > 0 { + for iNdEx := len(m.Columns) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Columns[iNdEx]) + copy(dAtA[i:], m.Columns[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Columns[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.Column) > 0 { + i -= len(m.Column) + copy(dAtA[i:], m.Column) + i = encodeVarint(dAtA, i, uint64(len(m.Column))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AutoIncrement) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AutoIncrement) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *AutoIncrement) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Sequence) > 0 { + i -= len(m.Sequence) + copy(dAtA[i:], m.Sequence) + i = encodeVarint(dAtA, i, uint64(len(m.Sequence))) + i-- + dAtA[i] = 0x12 + } + if len(m.Column) > 0 { + i -= len(m.Column) + copy(dAtA[i:], m.Column) + i = encodeVarint(dAtA, i, uint64(len(m.Column))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Column) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Column) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Column) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Values) > 0 { + for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Values[iNdEx]) + copy(dAtA[i:], m.Values[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Values[iNdEx]))) + i-- + dAtA[i] = 0x4a + } + } + if m.Nullable != nil { + i-- + if *m.Nullable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.Scale != 0 { + i = encodeVarint(dAtA, i, uint64(m.Scale)) + i-- + dAtA[i] = 0x38 + } + if m.Size != 0 { + i = encodeVarint(dAtA, i, uint64(m.Size)) + i-- + dAtA[i] = 0x30 + } + if len(m.CollationName) > 0 { + i -= len(m.CollationName) + copy(dAtA[i:], m.CollationName) + i = encodeVarint(dAtA, i, uint64(len(m.CollationName))) + i-- + dAtA[i] = 0x2a + } + if len(m.Default) > 0 { + i -= len(m.Default) + copy(dAtA[i:], m.Default) + i = encodeVarint(dAtA, i, uint64(len(m.Default))) + i-- + dAtA[i] = 0x22 + } + if m.Invisible { + i-- + if m.Invisible { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SrvVSchema) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SrvVSchema) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SrvVSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ShardRoutingRules != nil { + size, err := m.ShardRoutingRules.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.RoutingRules != nil { + size, err := m.RoutingRules.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspaces) > 0 { + for k := range m.Keyspaces { + v := m.Keyspaces[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ShardRoutingRules) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardRoutingRules) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardRoutingRules) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Rules[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ShardRoutingRule) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardRoutingRule) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardRoutingRule) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.ToKeyspace) > 0 { + i -= len(m.ToKeyspace) + copy(dAtA[i:], m.ToKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.ToKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.FromKeyspace) > 0 { + i -= len(m.FromKeyspace) + copy(dAtA[i:], m.FromKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.FromKeyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *RoutingRules) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RoutingRule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FromTable) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ToTables) > 0 { + for _, s := range m.ToTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Keyspace) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Sharded { + n += 2 + } + if len(m.Vindexes) > 0 { + for k, v := range m.Vindexes { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.Tables) > 0 { + for k, v := range m.Tables { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if m.RequireExplicitRouting { + n += 2 + } + if m.ForeignKeyMode != 0 { + n += 1 + sov(uint64(m.ForeignKeyMode)) + } + n += len(m.unknownFields) + return n +} + +func (m *Vindex) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Type) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Params) > 0 { + for k, v := range m.Params { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.Owner) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Table) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Type) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ColumnVindexes) > 0 { + for _, e := range m.ColumnVindexes { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.AutoIncrement != nil { + l = m.AutoIncrement.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Columns) > 0 { + for _, e := range m.Columns { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Pinned) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ColumnListAuthoritative { + n += 2 + } + l = len(m.Source) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ColumnVindex) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Column) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Columns) > 0 { + for _, s := range m.Columns { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *AutoIncrement) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Column) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Sequence) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Column) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + if m.Invisible { + n += 2 + } + l = len(m.Default) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CollationName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Size != 0 { + n += 1 + sov(uint64(m.Size)) + } + if m.Scale != 0 { + n += 1 + sov(uint64(m.Scale)) + } + if m.Nullable != nil { + n += 2 + } + if len(m.Values) > 0 { + for _, s := range m.Values { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SrvVSchema) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Keyspaces) > 0 { + for k, v := range m.Keyspaces { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if m.RoutingRules != nil { + l = m.RoutingRules.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ShardRoutingRules != nil { + l = m.ShardRoutingRules.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardRoutingRules) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ShardRoutingRule) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FromKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ToKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *RoutingRules) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RoutingRules: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RoutingRules: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rules", 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 + } + m.Rules = append(m.Rules, &RoutingRule{}) + if err := m.Rules[len(m.Rules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RoutingRule) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RoutingRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RoutingRule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FromTable", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FromTable = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ToTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ToTables = append(m.ToTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Keyspace) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Sharded", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Sharded = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vindexes", 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.Vindexes == nil { + m.Vindexes = make(map[string]*Vindex) + } + var mapkey string + var mapvalue *Vindex + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Vindex{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Vindexes[mapkey] = mapvalue + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", 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.Tables == nil { + m.Tables = make(map[string]*Table) + } + var mapkey string + var mapvalue *Table + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Table{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Tables[mapkey] = mapvalue + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RequireExplicitRouting", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RequireExplicitRouting = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ForeignKeyMode", wireType) + } + m.ForeignKeyMode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ForeignKeyMode |= Keyspace_ForeignKeyMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Vindex) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Vindex: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Vindex: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", 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.Params == nil { + m.Params = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Params[mapkey] = mapvalue + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Table) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Table: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Table: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ColumnVindexes", 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 + } + m.ColumnVindexes = append(m.ColumnVindexes, &ColumnVindex{}) + if err := m.ColumnVindexes[len(m.ColumnVindexes)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoIncrement", 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.AutoIncrement == nil { + m.AutoIncrement = &AutoIncrement{} + } + if err := m.AutoIncrement.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Columns", 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 + } + m.Columns = append(m.Columns, &Column{}) + if err := m.Columns[len(m.Columns)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pinned", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Pinned = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ColumnListAuthoritative", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ColumnListAuthoritative = bool(v != 0) + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Source = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ColumnVindex) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ColumnVindex: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ColumnVindex: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Column", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Column = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Columns", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Columns = append(m.Columns, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AutoIncrement) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AutoIncrement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AutoIncrement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Column", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Column = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sequence", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sequence = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Column) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Column: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Column: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= v19.Type(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Invisible", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Invisible = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Default = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CollationName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CollationName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Size", wireType) + } + m.Size = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Size |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Scale", wireType) + } + m.Scale = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Scale |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nullable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.Nullable = &b + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SrvVSchema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SrvVSchema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", 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.Keyspaces == nil { + m.Keyspaces = make(map[string]*Keyspace) + } + var mapkey string + var mapvalue *Keyspace + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Keyspace{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Keyspaces[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", 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.RoutingRules == nil { + m.RoutingRules = &RoutingRules{} + } + if err := m.RoutingRules.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardRoutingRules", 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.ShardRoutingRules == nil { + m.ShardRoutingRules = &ShardRoutingRules{} + } + if err := m.ShardRoutingRules.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardRoutingRules) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardRoutingRules: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardRoutingRules: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rules", 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 + } + m.Rules = append(m.Rules, &ShardRoutingRule{}) + if err := m.Rules[len(m.Rules)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardRoutingRule) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardRoutingRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardRoutingRule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FromKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FromKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ToKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ToKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/vtadmin/dev/vtadmin.pb.go b/gen/vitess/vtadmin/dev/vtadmin.pb.go index 156eee9..a984154 100644 --- a/gen/vitess/vtadmin/dev/vtadmin.pb.go +++ b/gen/vitess/vtadmin/dev/vtadmin.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtadmin/dev/vtadmin.proto @@ -89,7 +89,7 @@ func (x Tablet_ServingState) Number() protoreflect.EnumNumber { // Deprecated: Use Tablet_ServingState.Descriptor instead. func (Tablet_ServingState) EnumDescriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{10, 0} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{11, 0} } // Cluster represents information about a Vitess cluster. @@ -589,6 +589,61 @@ func (x *Schema) GetTableSizes() map[string]*Schema_TableSize { return nil } +type SchemaMigration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + SchemaMigration *dev2.SchemaMigration `protobuf:"bytes,2,opt,name=schema_migration,json=schemaMigration,proto3" json:"schema_migration,omitempty"` +} + +func (x *SchemaMigration) Reset() { + *x = SchemaMigration{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SchemaMigration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SchemaMigration) ProtoMessage() {} + +func (x *SchemaMigration) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SchemaMigration.ProtoReflect.Descriptor instead. +func (*SchemaMigration) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{8} +} + +func (x *SchemaMigration) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *SchemaMigration) GetSchemaMigration() *dev2.SchemaMigration { + if x != nil { + return x.SchemaMigration + } + return nil +} + // Shard groups the vtctldata information about a shard record together with // the Vitess cluster it belongs to. type Shard struct { @@ -603,7 +658,7 @@ type Shard struct { func (x *Shard) Reset() { *x = Shard{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[8] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -616,7 +671,7 @@ func (x *Shard) String() string { func (*Shard) ProtoMessage() {} func (x *Shard) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[8] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -629,7 +684,7 @@ func (x *Shard) ProtoReflect() protoreflect.Message { // Deprecated: Use Shard.ProtoReflect.Descriptor instead. func (*Shard) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{8} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{9} } func (x *Shard) GetCluster() *Cluster { @@ -659,7 +714,7 @@ type SrvVSchema struct { func (x *SrvVSchema) Reset() { *x = SrvVSchema{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[9] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -672,7 +727,7 @@ func (x *SrvVSchema) String() string { func (*SrvVSchema) ProtoMessage() {} func (x *SrvVSchema) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[9] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -685,7 +740,7 @@ func (x *SrvVSchema) ProtoReflect() protoreflect.Message { // Deprecated: Use SrvVSchema.ProtoReflect.Descriptor instead. func (*SrvVSchema) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{9} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{10} } func (x *SrvVSchema) GetCell() string { @@ -725,7 +780,7 @@ type Tablet struct { func (x *Tablet) Reset() { *x = Tablet{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[10] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -738,7 +793,7 @@ func (x *Tablet) String() string { func (*Tablet) ProtoMessage() {} func (x *Tablet) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[10] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -751,7 +806,7 @@ func (x *Tablet) ProtoReflect() protoreflect.Message { // Deprecated: Use Tablet.ProtoReflect.Descriptor instead. func (*Tablet) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{10} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{11} } func (x *Tablet) GetCluster() *Cluster { @@ -797,7 +852,7 @@ type VSchema struct { func (x *VSchema) Reset() { *x = VSchema{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[11] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -810,7 +865,7 @@ func (x *VSchema) String() string { func (*VSchema) ProtoMessage() {} func (x *VSchema) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[11] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -823,7 +878,7 @@ func (x *VSchema) ProtoReflect() protoreflect.Message { // Deprecated: Use VSchema.ProtoReflect.Descriptor instead. func (*VSchema) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{11} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{12} } func (x *VSchema) GetCluster() *Cluster { @@ -861,7 +916,7 @@ type Vtctld struct { func (x *Vtctld) Reset() { *x = Vtctld{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[12] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -874,7 +929,7 @@ func (x *Vtctld) String() string { func (*Vtctld) ProtoMessage() {} func (x *Vtctld) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[12] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -887,7 +942,7 @@ func (x *Vtctld) ProtoReflect() protoreflect.Message { // Deprecated: Use Vtctld.ProtoReflect.Descriptor instead. func (*Vtctld) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{12} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{13} } func (x *Vtctld) GetHostname() string { @@ -935,7 +990,7 @@ type VTGate struct { func (x *VTGate) Reset() { *x = VTGate{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[13] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -948,7 +1003,7 @@ func (x *VTGate) String() string { func (*VTGate) ProtoMessage() {} func (x *VTGate) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[13] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -961,7 +1016,7 @@ func (x *VTGate) ProtoReflect() protoreflect.Message { // Deprecated: Use VTGate.ProtoReflect.Descriptor instead. func (*VTGate) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{13} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{14} } func (x *VTGate) GetHostname() string { @@ -1019,7 +1074,7 @@ type Workflow struct { func (x *Workflow) Reset() { *x = Workflow{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[14] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1032,7 +1087,7 @@ func (x *Workflow) String() string { func (*Workflow) ProtoMessage() {} func (x *Workflow) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[14] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1045,7 +1100,7 @@ func (x *Workflow) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow.ProtoReflect.Descriptor instead. func (*Workflow) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{14} + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{15} } func (x *Workflow) GetCluster() *Cluster { @@ -1069,32 +1124,32 @@ func (x *Workflow) GetWorkflow() *dev2.Workflow { return nil } -type CreateKeyspaceRequest struct { +type WorkflowDeleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Options *dev2.CreateKeyspaceRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + Request *dev2.WorkflowDeleteRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *CreateKeyspaceRequest) Reset() { - *x = CreateKeyspaceRequest{} +func (x *WorkflowDeleteRequest) Reset() { + *x = WorkflowDeleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[15] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CreateKeyspaceRequest) String() string { +func (x *WorkflowDeleteRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CreateKeyspaceRequest) ProtoMessage() {} +func (*WorkflowDeleteRequest) ProtoMessage() {} -func (x *CreateKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[15] +func (x *WorkflowDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1105,83 +1160,36 @@ func (x *CreateKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CreateKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*CreateKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{15} +// Deprecated: Use WorkflowDeleteRequest.ProtoReflect.Descriptor instead. +func (*WorkflowDeleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{16} } -func (x *CreateKeyspaceRequest) GetClusterId() string { +func (x *WorkflowDeleteRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *CreateKeyspaceRequest) GetOptions() *dev2.CreateKeyspaceRequest { - if x != nil { - return x.Options - } - return nil -} - -type CreateKeyspaceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` -} - -func (x *CreateKeyspaceResponse) Reset() { - *x = CreateKeyspaceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateKeyspaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateKeyspaceResponse) ProtoMessage() {} - -func (x *CreateKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateKeyspaceResponse.ProtoReflect.Descriptor instead. -func (*CreateKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{16} -} - -func (x *CreateKeyspaceResponse) GetKeyspace() *Keyspace { +func (x *WorkflowDeleteRequest) GetRequest() *dev2.WorkflowDeleteRequest { if x != nil { - return x.Keyspace + return x.Request } return nil } -type CreateShardRequest struct { +type WorkflowSwitchTrafficRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Options *dev2.CreateShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.WorkflowSwitchTrafficRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *CreateShardRequest) Reset() { - *x = CreateShardRequest{} +func (x *WorkflowSwitchTrafficRequest) Reset() { + *x = WorkflowSwitchTrafficRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1189,13 +1197,13 @@ func (x *CreateShardRequest) Reset() { } } -func (x *CreateShardRequest) String() string { +func (x *WorkflowSwitchTrafficRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CreateShardRequest) ProtoMessage() {} +func (*WorkflowSwitchTrafficRequest) ProtoMessage() {} -func (x *CreateShardRequest) ProtoReflect() protoreflect.Message { +func (x *WorkflowSwitchTrafficRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1207,36 +1215,40 @@ func (x *CreateShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CreateShardRequest.ProtoReflect.Descriptor instead. -func (*CreateShardRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use WorkflowSwitchTrafficRequest.ProtoReflect.Descriptor instead. +func (*WorkflowSwitchTrafficRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{17} } -func (x *CreateShardRequest) GetClusterId() string { +func (x *WorkflowSwitchTrafficRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *CreateShardRequest) GetOptions() *dev2.CreateShardRequest { +func (x *WorkflowSwitchTrafficRequest) GetRequest() *dev2.WorkflowSwitchTrafficRequest { if x != nil { - return x.Options + return x.Request } return nil } -type DeleteKeyspaceRequest struct { +type ApplySchemaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Options *dev2.DeleteKeyspaceRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Request.Sql will be overriden by this Sql field. + Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"` + // Request.CallerId will be overriden by this CallerId field. + CallerId string `protobuf:"bytes,3,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + Request *dev2.ApplySchemaRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"` } -func (x *DeleteKeyspaceRequest) Reset() { - *x = DeleteKeyspaceRequest{} +func (x *ApplySchemaRequest) Reset() { + *x = ApplySchemaRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1244,13 +1256,13 @@ func (x *DeleteKeyspaceRequest) Reset() { } } -func (x *DeleteKeyspaceRequest) String() string { +func (x *ApplySchemaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeleteKeyspaceRequest) ProtoMessage() {} +func (*ApplySchemaRequest) ProtoMessage() {} -func (x *DeleteKeyspaceRequest) ProtoReflect() protoreflect.Message { +func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1262,36 +1274,50 @@ func (x *DeleteKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeleteKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*DeleteKeyspaceRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ApplySchemaRequest.ProtoReflect.Descriptor instead. +func (*ApplySchemaRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{18} } -func (x *DeleteKeyspaceRequest) GetClusterId() string { +func (x *ApplySchemaRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *DeleteKeyspaceRequest) GetOptions() *dev2.DeleteKeyspaceRequest { +func (x *ApplySchemaRequest) GetSql() string { if x != nil { - return x.Options + return x.Sql + } + return "" +} + +func (x *ApplySchemaRequest) GetCallerId() string { + if x != nil { + return x.CallerId + } + return "" +} + +func (x *ApplySchemaRequest) GetRequest() *dev2.ApplySchemaRequest { + if x != nil { + return x.Request } return nil } -type DeleteShardsRequest struct { +type CancelSchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Options *dev2.DeleteShardsRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.CancelSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *DeleteShardsRequest) Reset() { - *x = DeleteShardsRequest{} +func (x *CancelSchemaMigrationRequest) Reset() { + *x = CancelSchemaMigrationRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1299,13 +1325,13 @@ func (x *DeleteShardsRequest) Reset() { } } -func (x *DeleteShardsRequest) String() string { +func (x *CancelSchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeleteShardsRequest) ProtoMessage() {} +func (*CancelSchemaMigrationRequest) ProtoMessage() {} -func (x *DeleteShardsRequest) ProtoReflect() protoreflect.Message { +func (x *CancelSchemaMigrationRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1317,37 +1343,36 @@ func (x *DeleteShardsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeleteShardsRequest.ProtoReflect.Descriptor instead. -func (*DeleteShardsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CancelSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CancelSchemaMigrationRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{19} } -func (x *DeleteShardsRequest) GetClusterId() string { +func (x *CancelSchemaMigrationRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *DeleteShardsRequest) GetOptions() *dev2.DeleteShardsRequest { +func (x *CancelSchemaMigrationRequest) GetRequest() *dev2.CancelSchemaMigrationRequest { if x != nil { - return x.Options + return x.Request } return nil } -type DeleteTabletRequest struct { +type CleanupSchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - AllowPrimary bool `protobuf:"varint,3,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.CleanupSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *DeleteTabletRequest) Reset() { - *x = DeleteTabletRequest{} +func (x *CleanupSchemaMigrationRequest) Reset() { + *x = CleanupSchemaMigrationRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1355,13 +1380,13 @@ func (x *DeleteTabletRequest) Reset() { } } -func (x *DeleteTabletRequest) String() string { +func (x *CleanupSchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeleteTabletRequest) ProtoMessage() {} +func (*CleanupSchemaMigrationRequest) ProtoMessage() {} -func (x *DeleteTabletRequest) ProtoReflect() protoreflect.Message { +func (x *CleanupSchemaMigrationRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1373,43 +1398,36 @@ func (x *DeleteTabletRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeleteTabletRequest.ProtoReflect.Descriptor instead. -func (*DeleteTabletRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CleanupSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CleanupSchemaMigrationRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{20} } -func (x *DeleteTabletRequest) GetAlias() *dev1.TabletAlias { +func (x *CleanupSchemaMigrationRequest) GetClusterId() string { if x != nil { - return x.Alias + return x.ClusterId } - return nil + return "" } -func (x *DeleteTabletRequest) GetClusterIds() []string { +func (x *CleanupSchemaMigrationRequest) GetRequest() *dev2.CleanupSchemaMigrationRequest { if x != nil { - return x.ClusterIds + return x.Request } return nil } -func (x *DeleteTabletRequest) GetAllowPrimary() bool { - if x != nil { - return x.AllowPrimary - } - return false -} - -type DeleteTabletResponse struct { +type CompleteSchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.CompleteSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *DeleteTabletResponse) Reset() { - *x = DeleteTabletResponse{} +func (x *CompleteSchemaMigrationRequest) Reset() { + *x = CompleteSchemaMigrationRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1417,13 +1435,13 @@ func (x *DeleteTabletResponse) Reset() { } } -func (x *DeleteTabletResponse) String() string { +func (x *CompleteSchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeleteTabletResponse) ProtoMessage() {} +func (*CompleteSchemaMigrationRequest) ProtoMessage() {} -func (x *DeleteTabletResponse) ProtoReflect() protoreflect.Message { +func (x *CompleteSchemaMigrationRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1435,36 +1453,36 @@ func (x *DeleteTabletResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeleteTabletResponse.ProtoReflect.Descriptor instead. -func (*DeleteTabletResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use CompleteSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CompleteSchemaMigrationRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{21} } -func (x *DeleteTabletResponse) GetStatus() string { +func (x *CompleteSchemaMigrationRequest) GetClusterId() string { if x != nil { - return x.Status + return x.ClusterId } return "" } -func (x *DeleteTabletResponse) GetCluster() *Cluster { +func (x *CompleteSchemaMigrationRequest) GetRequest() *dev2.CompleteSchemaMigrationRequest { if x != nil { - return x.Cluster + return x.Request } return nil } -type EmergencyFailoverShardRequest struct { +type ConcludeTransactionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Options *dev2.EmergencyReparentShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Dtid string `protobuf:"bytes,2,opt,name=dtid,proto3" json:"dtid,omitempty"` } -func (x *EmergencyFailoverShardRequest) Reset() { - *x = EmergencyFailoverShardRequest{} +func (x *ConcludeTransactionRequest) Reset() { + *x = ConcludeTransactionRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1472,13 +1490,13 @@ func (x *EmergencyFailoverShardRequest) Reset() { } } -func (x *EmergencyFailoverShardRequest) String() string { +func (x *ConcludeTransactionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EmergencyFailoverShardRequest) ProtoMessage() {} +func (*ConcludeTransactionRequest) ProtoMessage() {} -func (x *EmergencyFailoverShardRequest) ProtoReflect() protoreflect.Message { +func (x *ConcludeTransactionRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1490,43 +1508,36 @@ func (x *EmergencyFailoverShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EmergencyFailoverShardRequest.ProtoReflect.Descriptor instead. -func (*EmergencyFailoverShardRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ConcludeTransactionRequest.ProtoReflect.Descriptor instead. +func (*ConcludeTransactionRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{22} } -func (x *EmergencyFailoverShardRequest) GetClusterId() string { +func (x *ConcludeTransactionRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *EmergencyFailoverShardRequest) GetOptions() *dev2.EmergencyReparentShardRequest { +func (x *ConcludeTransactionRequest) GetDtid() string { if x != nil { - return x.Options + return x.Dtid } - return nil + return "" } -type EmergencyFailoverShardResponse struct { +type CreateKeyspaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` - // PromotedPrimary is the tablet alias that was promoted to shard primary. - // If NewPrimary was set in the request options, then this will be the - // same tablet alias. Otherwise, it will be the alias of the tablet found - // to be most up-to-date in the shard. - PromotedPrimary *dev1.TabletAlias `protobuf:"bytes,4,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` - Events []*dev5.Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *dev2.CreateKeyspaceRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (x *EmergencyFailoverShardResponse) Reset() { - *x = EmergencyFailoverShardResponse{} +func (x *CreateKeyspaceRequest) Reset() { + *x = CreateKeyspaceRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1534,13 +1545,13 @@ func (x *EmergencyFailoverShardResponse) Reset() { } } -func (x *EmergencyFailoverShardResponse) String() string { +func (x *CreateKeyspaceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EmergencyFailoverShardResponse) ProtoMessage() {} +func (*CreateKeyspaceRequest) ProtoMessage() {} -func (x *EmergencyFailoverShardResponse) ProtoReflect() protoreflect.Message { +func (x *CreateKeyspaceRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1552,58 +1563,35 @@ func (x *EmergencyFailoverShardResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EmergencyFailoverShardResponse.ProtoReflect.Descriptor instead. -func (*EmergencyFailoverShardResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*CreateKeyspaceRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{23} } -func (x *EmergencyFailoverShardResponse) GetCluster() *Cluster { - if x != nil { - return x.Cluster - } - return nil -} - -func (x *EmergencyFailoverShardResponse) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *EmergencyFailoverShardResponse) GetShard() string { +func (x *CreateKeyspaceRequest) GetClusterId() string { if x != nil { - return x.Shard + return x.ClusterId } return "" } -func (x *EmergencyFailoverShardResponse) GetPromotedPrimary() *dev1.TabletAlias { - if x != nil { - return x.PromotedPrimary - } - return nil -} - -func (x *EmergencyFailoverShardResponse) GetEvents() []*dev5.Event { +func (x *CreateKeyspaceRequest) GetOptions() *dev2.CreateKeyspaceRequest { if x != nil { - return x.Events + return x.Options } return nil } -type FindSchemaRequest struct { +type CreateKeyspaceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,3,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` + Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` } -func (x *FindSchemaRequest) Reset() { - *x = FindSchemaRequest{} +func (x *CreateKeyspaceResponse) Reset() { + *x = CreateKeyspaceResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1611,13 +1599,13 @@ func (x *FindSchemaRequest) Reset() { } } -func (x *FindSchemaRequest) String() string { +func (x *CreateKeyspaceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FindSchemaRequest) ProtoMessage() {} +func (*CreateKeyspaceResponse) ProtoMessage() {} -func (x *FindSchemaRequest) ProtoReflect() protoreflect.Message { +func (x *CreateKeyspaceResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1629,56 +1617,29 @@ func (x *FindSchemaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FindSchemaRequest.ProtoReflect.Descriptor instead. -func (*FindSchemaRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*CreateKeyspaceResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{24} } -func (x *FindSchemaRequest) GetTable() string { - if x != nil { - return x.Table - } - return "" -} - -func (x *FindSchemaRequest) GetClusterIds() []string { - if x != nil { - return x.ClusterIds - } - return nil -} - -func (x *FindSchemaRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { +func (x *CreateKeyspaceResponse) GetKeyspace() *Keyspace { if x != nil { - return x.TableSizeOptions + return x.Keyspace } return nil } -type GetBackupsRequest struct { +type CreateShardRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - // Keyspaces, if set, limits backups to just the specified keyspaces. - // Applies to all clusters in the request. - Keyspaces []string `protobuf:"bytes,2,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` - // KeyspaceShards, if set, limits backups to just the specified - // keyspace/shards. Applies to all clusters in the request. - // - // This field takes precedence over Keyspaces. If KeyspaceShards is set, - // Keyspaces is ignored. - KeyspaceShards []string `protobuf:"bytes,3,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` - // RequestOptions controls the per-shard request options when making - // GetBackups requests to vtctlds. Note that the Keyspace and Shard fields - // of this field are ignored; it is used only to specify Limit and Detailed - // fields. - RequestOptions *dev2.GetBackupsRequest `protobuf:"bytes,4,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *dev2.CreateShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (x *GetBackupsRequest) Reset() { - *x = GetBackupsRequest{} +func (x *CreateShardRequest) Reset() { + *x = CreateShardRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1686,13 +1647,13 @@ func (x *GetBackupsRequest) Reset() { } } -func (x *GetBackupsRequest) String() string { +func (x *CreateShardRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetBackupsRequest) ProtoMessage() {} +func (*CreateShardRequest) ProtoMessage() {} -func (x *GetBackupsRequest) ProtoReflect() protoreflect.Message { +func (x *CreateShardRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1704,49 +1665,36 @@ func (x *GetBackupsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetBackupsRequest.ProtoReflect.Descriptor instead. -func (*GetBackupsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateShardRequest.ProtoReflect.Descriptor instead. +func (*CreateShardRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{25} } -func (x *GetBackupsRequest) GetClusterIds() []string { - if x != nil { - return x.ClusterIds - } - return nil -} - -func (x *GetBackupsRequest) GetKeyspaces() []string { - if x != nil { - return x.Keyspaces - } - return nil -} - -func (x *GetBackupsRequest) GetKeyspaceShards() []string { +func (x *CreateShardRequest) GetClusterId() string { if x != nil { - return x.KeyspaceShards + return x.ClusterId } - return nil + return "" } -func (x *GetBackupsRequest) GetRequestOptions() *dev2.GetBackupsRequest { +func (x *CreateShardRequest) GetOptions() *dev2.CreateShardRequest { if x != nil { - return x.RequestOptions + return x.Options } return nil } -type GetBackupsResponse struct { +type DeleteKeyspaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Backups []*ClusterBackup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *dev2.DeleteKeyspaceRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (x *GetBackupsResponse) Reset() { - *x = GetBackupsResponse{} +func (x *DeleteKeyspaceRequest) Reset() { + *x = DeleteKeyspaceRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1754,13 +1702,13 @@ func (x *GetBackupsResponse) Reset() { } } -func (x *GetBackupsResponse) String() string { +func (x *DeleteKeyspaceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetBackupsResponse) ProtoMessage() {} +func (*DeleteKeyspaceRequest) ProtoMessage() {} -func (x *GetBackupsResponse) ProtoReflect() protoreflect.Message { +func (x *DeleteKeyspaceRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1772,38 +1720,36 @@ func (x *GetBackupsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetBackupsResponse.ProtoReflect.Descriptor instead. -func (*GetBackupsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*DeleteKeyspaceRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{26} } -func (x *GetBackupsResponse) GetBackups() []*ClusterBackup { +func (x *DeleteKeyspaceRequest) GetClusterId() string { if x != nil { - return x.Backups + return x.ClusterId + } + return "" +} + +func (x *DeleteKeyspaceRequest) GetOptions() *dev2.DeleteKeyspaceRequest { + if x != nil { + return x.Options } return nil } -type GetCellInfosRequest struct { +type DeleteShardsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - // Cells, if specified, limits the response to include only CellInfo objects - // with those names. If omitted, all CellInfo objects in each cluster are - // returned. - // - // Mutually-exclusive with NamesOnly. If both are set, this field takes - // precedence. - Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` - // Return only the cell names in each cluster; the actual CellInfo objects - // will be empty. - NamesOnly bool `protobuf:"varint,3,opt,name=names_only,json=namesOnly,proto3" json:"names_only,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *dev2.DeleteShardsRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (x *GetCellInfosRequest) Reset() { - *x = GetCellInfosRequest{} +func (x *DeleteShardsRequest) Reset() { + *x = DeleteShardsRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1811,13 +1757,13 @@ func (x *GetCellInfosRequest) Reset() { } } -func (x *GetCellInfosRequest) String() string { +func (x *DeleteShardsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetCellInfosRequest) ProtoMessage() {} +func (*DeleteShardsRequest) ProtoMessage() {} -func (x *GetCellInfosRequest) ProtoReflect() protoreflect.Message { +func (x *DeleteShardsRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1829,42 +1775,37 @@ func (x *GetCellInfosRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetCellInfosRequest.ProtoReflect.Descriptor instead. -func (*GetCellInfosRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteShardsRequest.ProtoReflect.Descriptor instead. +func (*DeleteShardsRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{27} } -func (x *GetCellInfosRequest) GetClusterIds() []string { +func (x *DeleteShardsRequest) GetClusterId() string { if x != nil { - return x.ClusterIds + return x.ClusterId } - return nil + return "" } -func (x *GetCellInfosRequest) GetCells() []string { +func (x *DeleteShardsRequest) GetOptions() *dev2.DeleteShardsRequest { if x != nil { - return x.Cells + return x.Options } return nil } -func (x *GetCellInfosRequest) GetNamesOnly() bool { - if x != nil { - return x.NamesOnly - } - return false -} - -type GetCellInfosResponse struct { +type DeleteTabletRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CellInfos []*ClusterCellInfo `protobuf:"bytes,1,rep,name=cell_infos,json=cellInfos,proto3" json:"cell_infos,omitempty"` + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + AllowPrimary bool `protobuf:"varint,3,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` } -func (x *GetCellInfosResponse) Reset() { - *x = GetCellInfosResponse{} +func (x *DeleteTabletRequest) Reset() { + *x = DeleteTabletRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1872,13 +1813,13 @@ func (x *GetCellInfosResponse) Reset() { } } -func (x *GetCellInfosResponse) String() string { +func (x *DeleteTabletRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetCellInfosResponse) ProtoMessage() {} +func (*DeleteTabletRequest) ProtoMessage() {} -func (x *GetCellInfosResponse) ProtoReflect() protoreflect.Message { +func (x *DeleteTabletRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1890,28 +1831,43 @@ func (x *GetCellInfosResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetCellInfosResponse.ProtoReflect.Descriptor instead. -func (*GetCellInfosResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteTabletRequest.ProtoReflect.Descriptor instead. +func (*DeleteTabletRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{28} } -func (x *GetCellInfosResponse) GetCellInfos() []*ClusterCellInfo { +func (x *DeleteTabletRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.CellInfos + return x.Alias } return nil } -type GetCellsAliasesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *DeleteTabletRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +func (x *DeleteTabletRequest) GetAllowPrimary() bool { + if x != nil { + return x.AllowPrimary + } + return false } -func (x *GetCellsAliasesRequest) Reset() { - *x = GetCellsAliasesRequest{} +type DeleteTabletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *DeleteTabletResponse) Reset() { + *x = DeleteTabletResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1919,13 +1875,13 @@ func (x *GetCellsAliasesRequest) Reset() { } } -func (x *GetCellsAliasesRequest) String() string { +func (x *DeleteTabletResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetCellsAliasesRequest) ProtoMessage() {} +func (*DeleteTabletResponse) ProtoMessage() {} -func (x *GetCellsAliasesRequest) ProtoReflect() protoreflect.Message { +func (x *DeleteTabletResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1937,28 +1893,36 @@ func (x *GetCellsAliasesRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetCellsAliasesRequest.ProtoReflect.Descriptor instead. -func (*GetCellsAliasesRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteTabletResponse.ProtoReflect.Descriptor instead. +func (*DeleteTabletResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{29} } -func (x *GetCellsAliasesRequest) GetClusterIds() []string { +func (x *DeleteTabletResponse) GetStatus() string { if x != nil { - return x.ClusterIds + return x.Status + } + return "" +} + +func (x *DeleteTabletResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster } return nil } -type GetCellsAliasesResponse struct { +type EmergencyFailoverShardRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Aliases []*ClusterCellsAliases `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *dev2.EmergencyReparentShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (x *GetCellsAliasesResponse) Reset() { - *x = GetCellsAliasesResponse{} +func (x *EmergencyFailoverShardRequest) Reset() { + *x = EmergencyFailoverShardRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1966,13 +1930,13 @@ func (x *GetCellsAliasesResponse) Reset() { } } -func (x *GetCellsAliasesResponse) String() string { +func (x *EmergencyFailoverShardRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetCellsAliasesResponse) ProtoMessage() {} +func (*EmergencyFailoverShardRequest) ProtoMessage() {} -func (x *GetCellsAliasesResponse) ProtoReflect() protoreflect.Message { +func (x *EmergencyFailoverShardRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1984,26 +1948,43 @@ func (x *GetCellsAliasesResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetCellsAliasesResponse.ProtoReflect.Descriptor instead. -func (*GetCellsAliasesResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use EmergencyFailoverShardRequest.ProtoReflect.Descriptor instead. +func (*EmergencyFailoverShardRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{30} } -func (x *GetCellsAliasesResponse) GetAliases() []*ClusterCellsAliases { +func (x *EmergencyFailoverShardRequest) GetClusterId() string { if x != nil { - return x.Aliases + return x.ClusterId + } + return "" +} + +func (x *EmergencyFailoverShardRequest) GetOptions() *dev2.EmergencyReparentShardRequest { + if x != nil { + return x.Options } return nil } -type GetClustersRequest struct { +type EmergencyFailoverShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + // PromotedPrimary is the tablet alias that was promoted to shard primary. + // If NewPrimary was set in the request options, then this will be the + // same tablet alias. Otherwise, it will be the alias of the tablet found + // to be most up-to-date in the shard. + PromotedPrimary *dev1.TabletAlias `protobuf:"bytes,4,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` + Events []*dev5.Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` } -func (x *GetClustersRequest) Reset() { - *x = GetClustersRequest{} +func (x *EmergencyFailoverShardResponse) Reset() { + *x = EmergencyFailoverShardResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2011,13 +1992,13 @@ func (x *GetClustersRequest) Reset() { } } -func (x *GetClustersRequest) String() string { +func (x *EmergencyFailoverShardResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetClustersRequest) ProtoMessage() {} +func (*EmergencyFailoverShardResponse) ProtoMessage() {} -func (x *GetClustersRequest) ProtoReflect() protoreflect.Message { +func (x *EmergencyFailoverShardResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2029,21 +2010,58 @@ func (x *GetClustersRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetClustersRequest.ProtoReflect.Descriptor instead. -func (*GetClustersRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use EmergencyFailoverShardResponse.ProtoReflect.Descriptor instead. +func (*EmergencyFailoverShardResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{31} } -type GetClustersResponse struct { +func (x *EmergencyFailoverShardResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *EmergencyFailoverShardResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *EmergencyFailoverShardResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *EmergencyFailoverShardResponse) GetPromotedPrimary() *dev1.TabletAlias { + if x != nil { + return x.PromotedPrimary + } + return nil +} + +func (x *EmergencyFailoverShardResponse) GetEvents() []*dev5.Event { + if x != nil { + return x.Events + } + return nil +} + +type FindSchemaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` + Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,3,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` } -func (x *GetClustersResponse) Reset() { - *x = GetClustersResponse{} +func (x *FindSchemaRequest) Reset() { + *x = FindSchemaRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2051,13 +2069,13 @@ func (x *GetClustersResponse) Reset() { } } -func (x *GetClustersResponse) String() string { +func (x *FindSchemaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetClustersResponse) ProtoMessage() {} +func (*FindSchemaRequest) ProtoMessage() {} -func (x *GetClustersResponse) ProtoReflect() protoreflect.Message { +func (x *FindSchemaRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2069,29 +2087,56 @@ func (x *GetClustersResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetClustersResponse.ProtoReflect.Descriptor instead. -func (*GetClustersResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use FindSchemaRequest.ProtoReflect.Descriptor instead. +func (*FindSchemaRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{32} } -func (x *GetClustersResponse) GetClusters() []*Cluster { +func (x *FindSchemaRequest) GetTable() string { if x != nil { - return x.Clusters + return x.Table + } + return "" +} + +func (x *FindSchemaRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds } return nil } -type GetFullStatusRequest struct { +func (x *FindSchemaRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { + if x != nil { + return x.TableSizeOptions + } + return nil +} + +type GetBackupsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Alias *dev1.TabletAlias `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Keyspaces, if set, limits backups to just the specified keyspaces. + // Applies to all clusters in the request. + Keyspaces []string `protobuf:"bytes,2,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // KeyspaceShards, if set, limits backups to just the specified + // keyspace/shards. Applies to all clusters in the request. + // + // This field takes precedence over Keyspaces. If KeyspaceShards is set, + // Keyspaces is ignored. + KeyspaceShards []string `protobuf:"bytes,3,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` + // RequestOptions controls the per-shard request options when making + // GetBackups requests to vtctlds. Note that the Keyspace and Shard fields + // of this field are ignored; it is used only to specify Limit and Detailed + // fields. + RequestOptions *dev2.GetBackupsRequest `protobuf:"bytes,4,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"` } -func (x *GetFullStatusRequest) Reset() { - *x = GetFullStatusRequest{} +func (x *GetBackupsRequest) Reset() { + *x = GetBackupsRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2099,13 +2144,13 @@ func (x *GetFullStatusRequest) Reset() { } } -func (x *GetFullStatusRequest) String() string { +func (x *GetBackupsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetFullStatusRequest) ProtoMessage() {} +func (*GetBackupsRequest) ProtoMessage() {} -func (x *GetFullStatusRequest) ProtoReflect() protoreflect.Message { +func (x *GetBackupsRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2117,35 +2162,49 @@ func (x *GetFullStatusRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetFullStatusRequest.ProtoReflect.Descriptor instead. -func (*GetFullStatusRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetBackupsRequest.ProtoReflect.Descriptor instead. +func (*GetBackupsRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{33} } -func (x *GetFullStatusRequest) GetClusterId() string { +func (x *GetBackupsRequest) GetClusterIds() []string { if x != nil { - return x.ClusterId + return x.ClusterIds } - return "" + return nil } -func (x *GetFullStatusRequest) GetAlias() *dev1.TabletAlias { +func (x *GetBackupsRequest) GetKeyspaces() []string { if x != nil { - return x.Alias + return x.Keyspaces } return nil } -type GetGatesRequest struct { +func (x *GetBackupsRequest) GetKeyspaceShards() []string { + if x != nil { + return x.KeyspaceShards + } + return nil +} + +func (x *GetBackupsRequest) GetRequestOptions() *dev2.GetBackupsRequest { + if x != nil { + return x.RequestOptions + } + return nil +} + +type GetBackupsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + Backups []*ClusterBackup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` } -func (x *GetGatesRequest) Reset() { - *x = GetGatesRequest{} +func (x *GetBackupsResponse) Reset() { + *x = GetBackupsResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2153,13 +2212,13 @@ func (x *GetGatesRequest) Reset() { } } -func (x *GetGatesRequest) String() string { +func (x *GetBackupsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetGatesRequest) ProtoMessage() {} +func (*GetBackupsResponse) ProtoMessage() {} -func (x *GetGatesRequest) ProtoReflect() protoreflect.Message { +func (x *GetBackupsResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2171,28 +2230,38 @@ func (x *GetGatesRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetGatesRequest.ProtoReflect.Descriptor instead. -func (*GetGatesRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetBackupsResponse.ProtoReflect.Descriptor instead. +func (*GetBackupsResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{34} } -func (x *GetGatesRequest) GetClusterIds() []string { +func (x *GetBackupsResponse) GetBackups() []*ClusterBackup { if x != nil { - return x.ClusterIds + return x.Backups } return nil } -type GetGatesResponse struct { +type GetCellInfosRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Gates []*VTGate `protobuf:"bytes,1,rep,name=gates,proto3" json:"gates,omitempty"` + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Cells, if specified, limits the response to include only CellInfo objects + // with those names. If omitted, all CellInfo objects in each cluster are + // returned. + // + // Mutually-exclusive with NamesOnly. If both are set, this field takes + // precedence. + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + // Return only the cell names in each cluster; the actual CellInfo objects + // will be empty. + NamesOnly bool `protobuf:"varint,3,opt,name=names_only,json=namesOnly,proto3" json:"names_only,omitempty"` } -func (x *GetGatesResponse) Reset() { - *x = GetGatesResponse{} +func (x *GetCellInfosRequest) Reset() { + *x = GetCellInfosRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2200,13 +2269,13 @@ func (x *GetGatesResponse) Reset() { } } -func (x *GetGatesResponse) String() string { +func (x *GetCellInfosRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetGatesResponse) ProtoMessage() {} +func (*GetCellInfosRequest) ProtoMessage() {} -func (x *GetGatesResponse) ProtoReflect() protoreflect.Message { +func (x *GetCellInfosRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2218,29 +2287,42 @@ func (x *GetGatesResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetGatesResponse.ProtoReflect.Descriptor instead. -func (*GetGatesResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetCellInfosRequest.ProtoReflect.Descriptor instead. +func (*GetCellInfosRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{35} } -func (x *GetGatesResponse) GetGates() []*VTGate { +func (x *GetCellInfosRequest) GetClusterIds() []string { if x != nil { - return x.Gates + return x.ClusterIds } return nil } -type GetKeyspaceRequest struct { +func (x *GetCellInfosRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *GetCellInfosRequest) GetNamesOnly() bool { + if x != nil { + return x.NamesOnly + } + return false +} + +type GetCellInfosResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + CellInfos []*ClusterCellInfo `protobuf:"bytes,1,rep,name=cell_infos,json=cellInfos,proto3" json:"cell_infos,omitempty"` } -func (x *GetKeyspaceRequest) Reset() { - *x = GetKeyspaceRequest{} +func (x *GetCellInfosResponse) Reset() { + *x = GetCellInfosResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2248,13 +2330,13 @@ func (x *GetKeyspaceRequest) Reset() { } } -func (x *GetKeyspaceRequest) String() string { +func (x *GetCellInfosResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetKeyspaceRequest) ProtoMessage() {} +func (*GetCellInfosResponse) ProtoMessage() {} -func (x *GetKeyspaceRequest) ProtoReflect() protoreflect.Message { +func (x *GetCellInfosResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2266,26 +2348,19 @@ func (x *GetKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*GetKeyspaceRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetCellInfosResponse.ProtoReflect.Descriptor instead. +func (*GetCellInfosResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{36} } -func (x *GetKeyspaceRequest) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *GetKeyspaceRequest) GetKeyspace() string { +func (x *GetCellInfosResponse) GetCellInfos() []*ClusterCellInfo { if x != nil { - return x.Keyspace + return x.CellInfos } - return "" + return nil } -type GetKeyspacesRequest struct { +type GetCellsAliasesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2293,8 +2368,8 @@ type GetKeyspacesRequest struct { ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *GetKeyspacesRequest) Reset() { - *x = GetKeyspacesRequest{} +func (x *GetCellsAliasesRequest) Reset() { + *x = GetCellsAliasesRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2302,13 +2377,13 @@ func (x *GetKeyspacesRequest) Reset() { } } -func (x *GetKeyspacesRequest) String() string { +func (x *GetCellsAliasesRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetKeyspacesRequest) ProtoMessage() {} +func (*GetCellsAliasesRequest) ProtoMessage() {} -func (x *GetKeyspacesRequest) ProtoReflect() protoreflect.Message { +func (x *GetCellsAliasesRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2320,28 +2395,28 @@ func (x *GetKeyspacesRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetKeyspacesRequest.ProtoReflect.Descriptor instead. -func (*GetKeyspacesRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetCellsAliasesRequest.ProtoReflect.Descriptor instead. +func (*GetCellsAliasesRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{37} } -func (x *GetKeyspacesRequest) GetClusterIds() []string { +func (x *GetCellsAliasesRequest) GetClusterIds() []string { if x != nil { return x.ClusterIds } return nil } -type GetKeyspacesResponse struct { +type GetCellsAliasesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspaces []*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + Aliases []*ClusterCellsAliases `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"` } -func (x *GetKeyspacesResponse) Reset() { - *x = GetKeyspacesResponse{} +func (x *GetCellsAliasesResponse) Reset() { + *x = GetCellsAliasesResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2349,13 +2424,13 @@ func (x *GetKeyspacesResponse) Reset() { } } -func (x *GetKeyspacesResponse) String() string { +func (x *GetCellsAliasesResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetKeyspacesResponse) ProtoMessage() {} +func (*GetCellsAliasesResponse) ProtoMessage() {} -func (x *GetKeyspacesResponse) ProtoReflect() protoreflect.Message { +func (x *GetCellsAliasesResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2367,31 +2442,26 @@ func (x *GetKeyspacesResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetKeyspacesResponse.ProtoReflect.Descriptor instead. -func (*GetKeyspacesResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetCellsAliasesResponse.ProtoReflect.Descriptor instead. +func (*GetCellsAliasesResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{38} } -func (x *GetKeyspacesResponse) GetKeyspaces() []*Keyspace { +func (x *GetCellsAliasesResponse) GetAliases() []*ClusterCellsAliases { if x != nil { - return x.Keyspaces + return x.Aliases } return nil } -type GetSchemaRequest struct { +type GetClustersRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,4,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` } -func (x *GetSchemaRequest) Reset() { - *x = GetSchemaRequest{} +func (x *GetClustersRequest) Reset() { + *x = GetClustersRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2399,13 +2469,13 @@ func (x *GetSchemaRequest) Reset() { } } -func (x *GetSchemaRequest) String() string { +func (x *GetClustersRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSchemaRequest) ProtoMessage() {} +func (*GetClustersRequest) ProtoMessage() {} -func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { +func (x *GetClustersRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2417,50 +2487,21 @@ func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. -func (*GetSchemaRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetClustersRequest.ProtoReflect.Descriptor instead. +func (*GetClustersRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{39} } -func (x *GetSchemaRequest) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *GetSchemaRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *GetSchemaRequest) GetTable() string { - if x != nil { - return x.Table - } - return "" -} - -func (x *GetSchemaRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { - if x != nil { - return x.TableSizeOptions - } - return nil -} - -type GetSchemasRequest struct { +type GetClustersResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,2,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` + Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` } -func (x *GetSchemasRequest) Reset() { - *x = GetSchemasRequest{} +func (x *GetClustersResponse) Reset() { + *x = GetClustersResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2468,13 +2509,13 @@ func (x *GetSchemasRequest) Reset() { } } -func (x *GetSchemasRequest) String() string { +func (x *GetClustersResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSchemasRequest) ProtoMessage() {} +func (*GetClustersResponse) ProtoMessage() {} -func (x *GetSchemasRequest) ProtoReflect() protoreflect.Message { +func (x *GetClustersResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2486,35 +2527,29 @@ func (x *GetSchemasRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSchemasRequest.ProtoReflect.Descriptor instead. -func (*GetSchemasRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetClustersResponse.ProtoReflect.Descriptor instead. +func (*GetClustersResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{40} } -func (x *GetSchemasRequest) GetClusterIds() []string { - if x != nil { - return x.ClusterIds - } - return nil -} - -func (x *GetSchemasRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { +func (x *GetClustersResponse) GetClusters() []*Cluster { if x != nil { - return x.TableSizeOptions + return x.Clusters } return nil } -type GetSchemasResponse struct { +type GetFullStatusRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Schemas []*Schema `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Alias *dev1.TabletAlias `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` } -func (x *GetSchemasResponse) Reset() { - *x = GetSchemasResponse{} +func (x *GetFullStatusRequest) Reset() { + *x = GetFullStatusRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2522,13 +2557,13 @@ func (x *GetSchemasResponse) Reset() { } } -func (x *GetSchemasResponse) String() string { +func (x *GetFullStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSchemasResponse) ProtoMessage() {} +func (*GetFullStatusRequest) ProtoMessage() {} -func (x *GetSchemasResponse) ProtoReflect() protoreflect.Message { +func (x *GetFullStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2540,37 +2575,35 @@ func (x *GetSchemasResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSchemasResponse.ProtoReflect.Descriptor instead. -func (*GetSchemasResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetFullStatusRequest.ProtoReflect.Descriptor instead. +func (*GetFullStatusRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{41} } -func (x *GetSchemasResponse) GetSchemas() []*Schema { +func (x *GetFullStatusRequest) GetClusterId() string { if x != nil { - return x.Schemas + return x.ClusterId + } + return "" +} + +func (x *GetFullStatusRequest) GetAlias() *dev1.TabletAlias { + if x != nil { + return x.Alias } return nil } -type GetShardReplicationPositionsRequest struct { +type GetGatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - // Keyspaces, if set, limits replication positions to just the specified - // keyspaces. Applies to all clusters in the request. - Keyspaces []string `protobuf:"bytes,2,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` - // KeyspaceShards, if set, limits replicatin positions to just the specified - // keyspace/shards. Applies to all clusters in the request. - // - // This field takes precedence over Keyspaces. If KeyspaceShards is set, - // Keyspaces is ignored. - KeyspaceShards []string `protobuf:"bytes,3,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` } -func (x *GetShardReplicationPositionsRequest) Reset() { - *x = GetShardReplicationPositionsRequest{} +func (x *GetGatesRequest) Reset() { + *x = GetGatesRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2578,13 +2611,13 @@ func (x *GetShardReplicationPositionsRequest) Reset() { } } -func (x *GetShardReplicationPositionsRequest) String() string { +func (x *GetGatesRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetShardReplicationPositionsRequest) ProtoMessage() {} +func (*GetGatesRequest) ProtoMessage() {} -func (x *GetShardReplicationPositionsRequest) ProtoReflect() protoreflect.Message { +func (x *GetGatesRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2596,42 +2629,28 @@ func (x *GetShardReplicationPositionsRequest) ProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -// Deprecated: Use GetShardReplicationPositionsRequest.ProtoReflect.Descriptor instead. -func (*GetShardReplicationPositionsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetGatesRequest.ProtoReflect.Descriptor instead. +func (*GetGatesRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{42} } -func (x *GetShardReplicationPositionsRequest) GetClusterIds() []string { +func (x *GetGatesRequest) GetClusterIds() []string { if x != nil { return x.ClusterIds } return nil } -func (x *GetShardReplicationPositionsRequest) GetKeyspaces() []string { - if x != nil { - return x.Keyspaces - } - return nil -} - -func (x *GetShardReplicationPositionsRequest) GetKeyspaceShards() []string { - if x != nil { - return x.KeyspaceShards - } - return nil -} - -type GetShardReplicationPositionsResponse struct { +type GetGatesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ReplicationPositions []*ClusterShardReplicationPosition `protobuf:"bytes,1,rep,name=replication_positions,json=replicationPositions,proto3" json:"replication_positions,omitempty"` + Gates []*VTGate `protobuf:"bytes,1,rep,name=gates,proto3" json:"gates,omitempty"` } -func (x *GetShardReplicationPositionsResponse) Reset() { - *x = GetShardReplicationPositionsResponse{} +func (x *GetGatesResponse) Reset() { + *x = GetGatesResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2639,13 +2658,13 @@ func (x *GetShardReplicationPositionsResponse) Reset() { } } -func (x *GetShardReplicationPositionsResponse) String() string { +func (x *GetGatesResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetShardReplicationPositionsResponse) ProtoMessage() {} +func (*GetGatesResponse) ProtoMessage() {} -func (x *GetShardReplicationPositionsResponse) ProtoReflect() protoreflect.Message { +func (x *GetGatesResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2657,32 +2676,29 @@ func (x *GetShardReplicationPositionsResponse) ProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -// Deprecated: Use GetShardReplicationPositionsResponse.ProtoReflect.Descriptor instead. -func (*GetShardReplicationPositionsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetGatesResponse.ProtoReflect.Descriptor instead. +func (*GetGatesResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{43} } -func (x *GetShardReplicationPositionsResponse) GetReplicationPositions() []*ClusterShardReplicationPosition { +func (x *GetGatesResponse) GetGates() []*VTGate { if x != nil { - return x.ReplicationPositions + return x.Gates } return nil } -type GetSrvKeyspaceRequest struct { +type GetKeyspaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is - // equivalent to specifying all cells in the topo. - Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` } -func (x *GetSrvKeyspaceRequest) Reset() { - *x = GetSrvKeyspaceRequest{} +func (x *GetKeyspaceRequest) Reset() { + *x = GetKeyspaceRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2690,13 +2706,13 @@ func (x *GetSrvKeyspaceRequest) Reset() { } } -func (x *GetSrvKeyspaceRequest) String() string { +func (x *GetKeyspaceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSrvKeyspaceRequest) ProtoMessage() {} +func (*GetKeyspaceRequest) ProtoMessage() {} -func (x *GetSrvKeyspaceRequest) ProtoReflect() protoreflect.Message { +func (x *GetKeyspaceRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2708,46 +2724,35 @@ func (x *GetSrvKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSrvKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*GetSrvKeyspaceRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*GetKeyspaceRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{44} } -func (x *GetSrvKeyspaceRequest) GetClusterId() string { +func (x *GetKeyspaceRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *GetSrvKeyspaceRequest) GetKeyspace() string { +func (x *GetKeyspaceRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *GetSrvKeyspaceRequest) GetCells() []string { - if x != nil { - return x.Cells - } - return nil -} - -type GetSrvKeyspacesRequest struct { +type GetKeyspacesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // An optional list of cluster IDs to filter specific clusters ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is - // equivalent to specifying all cells in the topo. - Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` } -func (x *GetSrvKeyspacesRequest) Reset() { - *x = GetSrvKeyspacesRequest{} +func (x *GetKeyspacesRequest) Reset() { + *x = GetKeyspacesRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2755,13 +2760,13 @@ func (x *GetSrvKeyspacesRequest) Reset() { } } -func (x *GetSrvKeyspacesRequest) String() string { +func (x *GetKeyspacesRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSrvKeyspacesRequest) ProtoMessage() {} +func (*GetKeyspacesRequest) ProtoMessage() {} -func (x *GetSrvKeyspacesRequest) ProtoReflect() protoreflect.Message { +func (x *GetKeyspacesRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2773,36 +2778,28 @@ func (x *GetSrvKeyspacesRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSrvKeyspacesRequest.ProtoReflect.Descriptor instead. -func (*GetSrvKeyspacesRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetKeyspacesRequest.ProtoReflect.Descriptor instead. +func (*GetKeyspacesRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{45} } -func (x *GetSrvKeyspacesRequest) GetClusterIds() []string { +func (x *GetKeyspacesRequest) GetClusterIds() []string { if x != nil { return x.ClusterIds } return nil } -func (x *GetSrvKeyspacesRequest) GetCells() []string { - if x != nil { - return x.Cells - } - return nil -} - -type GetSrvKeyspacesResponse struct { +type GetKeyspacesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // GetSrvKeyspaces responses for each keyspace - SrvKeyspaces map[string]*dev2.GetSrvKeyspacesResponse `protobuf:"bytes,1,rep,name=srv_keyspaces,json=srvKeyspaces,proto3" json:"srv_keyspaces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Keyspaces []*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` } -func (x *GetSrvKeyspacesResponse) Reset() { - *x = GetSrvKeyspacesResponse{} +func (x *GetKeyspacesResponse) Reset() { + *x = GetKeyspacesResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2810,13 +2807,13 @@ func (x *GetSrvKeyspacesResponse) Reset() { } } -func (x *GetSrvKeyspacesResponse) String() string { +func (x *GetKeyspacesResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSrvKeyspacesResponse) ProtoMessage() {} +func (*GetKeyspacesResponse) ProtoMessage() {} -func (x *GetSrvKeyspacesResponse) ProtoReflect() protoreflect.Message { +func (x *GetKeyspacesResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2828,29 +2825,31 @@ func (x *GetSrvKeyspacesResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSrvKeyspacesResponse.ProtoReflect.Descriptor instead. -func (*GetSrvKeyspacesResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetKeyspacesResponse.ProtoReflect.Descriptor instead. +func (*GetKeyspacesResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{46} } -func (x *GetSrvKeyspacesResponse) GetSrvKeyspaces() map[string]*dev2.GetSrvKeyspacesResponse { +func (x *GetKeyspacesResponse) GetKeyspaces() []*Keyspace { if x != nil { - return x.SrvKeyspaces + return x.Keyspaces } return nil } -type GetSrvVSchemaRequest struct { +type GetSchemaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Cell string `protobuf:"bytes,2,opt,name=cell,proto3" json:"cell,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` + TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,4,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` } -func (x *GetSrvVSchemaRequest) Reset() { - *x = GetSrvVSchemaRequest{} +func (x *GetSchemaRequest) Reset() { + *x = GetSchemaRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2858,13 +2857,13 @@ func (x *GetSrvVSchemaRequest) Reset() { } } -func (x *GetSrvVSchemaRequest) String() string { +func (x *GetSchemaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSrvVSchemaRequest) ProtoMessage() {} +func (*GetSchemaRequest) ProtoMessage() {} -func (x *GetSrvVSchemaRequest) ProtoReflect() protoreflect.Message { +func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2876,36 +2875,50 @@ func (x *GetSrvVSchemaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSrvVSchemaRequest.ProtoReflect.Descriptor instead. -func (*GetSrvVSchemaRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{47} } -func (x *GetSrvVSchemaRequest) GetClusterId() string { +func (x *GetSchemaRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *GetSrvVSchemaRequest) GetCell() string { +func (x *GetSchemaRequest) GetKeyspace() string { if x != nil { - return x.Cell + return x.Keyspace } return "" } -type GetSrvVSchemasRequest struct { +func (x *GetSchemaRequest) GetTable() string { + if x != nil { + return x.Table + } + return "" +} + +func (x *GetSchemaRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { + if x != nil { + return x.TableSizeOptions + } + return nil +} + +type GetSchemasRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,2,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` } -func (x *GetSrvVSchemasRequest) Reset() { - *x = GetSrvVSchemasRequest{} +func (x *GetSchemasRequest) Reset() { + *x = GetSchemasRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2913,13 +2926,13 @@ func (x *GetSrvVSchemasRequest) Reset() { } } -func (x *GetSrvVSchemasRequest) String() string { +func (x *GetSchemasRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSrvVSchemasRequest) ProtoMessage() {} +func (*GetSchemasRequest) ProtoMessage() {} -func (x *GetSrvVSchemasRequest) ProtoReflect() protoreflect.Message { +func (x *GetSchemasRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2931,35 +2944,35 @@ func (x *GetSrvVSchemasRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSrvVSchemasRequest.ProtoReflect.Descriptor instead. -func (*GetSrvVSchemasRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSchemasRequest.ProtoReflect.Descriptor instead. +func (*GetSchemasRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{48} } -func (x *GetSrvVSchemasRequest) GetClusterIds() []string { +func (x *GetSchemasRequest) GetClusterIds() []string { if x != nil { return x.ClusterIds } return nil } -func (x *GetSrvVSchemasRequest) GetCells() []string { +func (x *GetSchemasRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { if x != nil { - return x.Cells + return x.TableSizeOptions } return nil } -type GetSrvVSchemasResponse struct { +type GetSchemasResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SrvVSchemas []*SrvVSchema `protobuf:"bytes,1,rep,name=srv_v_schemas,json=srvVSchemas,proto3" json:"srv_v_schemas,omitempty"` + Schemas []*Schema `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"` } -func (x *GetSrvVSchemasResponse) Reset() { - *x = GetSrvVSchemasResponse{} +func (x *GetSchemasResponse) Reset() { + *x = GetSchemasResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2967,13 +2980,13 @@ func (x *GetSrvVSchemasResponse) Reset() { } } -func (x *GetSrvVSchemasResponse) String() string { +func (x *GetSchemasResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSrvVSchemasResponse) ProtoMessage() {} +func (*GetSchemasResponse) ProtoMessage() {} -func (x *GetSrvVSchemasResponse) ProtoReflect() protoreflect.Message { +func (x *GetSchemasResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2985,29 +2998,28 @@ func (x *GetSrvVSchemasResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSrvVSchemasResponse.ProtoReflect.Descriptor instead. -func (*GetSrvVSchemasResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSchemasResponse.ProtoReflect.Descriptor instead. +func (*GetSchemasResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{49} } -func (x *GetSrvVSchemasResponse) GetSrvVSchemas() []*SrvVSchema { +func (x *GetSchemasResponse) GetSchemas() []*Schema { if x != nil { - return x.SrvVSchemas + return x.Schemas } return nil } -type GetSchemaTableSizeOptions struct { +type GetSchemaMigrationsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AggregateSizes bool `protobuf:"varint,1,opt,name=aggregate_sizes,json=aggregateSizes,proto3" json:"aggregate_sizes,omitempty"` - IncludeNonServingShards bool `protobuf:"varint,2,opt,name=include_non_serving_shards,json=includeNonServingShards,proto3" json:"include_non_serving_shards,omitempty"` + ClusterRequests []*GetSchemaMigrationsRequest_ClusterRequest `protobuf:"bytes,1,rep,name=cluster_requests,json=clusterRequests,proto3" json:"cluster_requests,omitempty"` } -func (x *GetSchemaTableSizeOptions) Reset() { - *x = GetSchemaTableSizeOptions{} +func (x *GetSchemaMigrationsRequest) Reset() { + *x = GetSchemaMigrationsRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3015,13 +3027,13 @@ func (x *GetSchemaTableSizeOptions) Reset() { } } -func (x *GetSchemaTableSizeOptions) String() string { +func (x *GetSchemaMigrationsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetSchemaTableSizeOptions) ProtoMessage() {} +func (*GetSchemaMigrationsRequest) ProtoMessage() {} -func (x *GetSchemaTableSizeOptions) ProtoReflect() protoreflect.Message { +func (x *GetSchemaMigrationsRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3033,40 +3045,28 @@ func (x *GetSchemaTableSizeOptions) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetSchemaTableSizeOptions.ProtoReflect.Descriptor instead. -func (*GetSchemaTableSizeOptions) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSchemaMigrationsRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{50} } -func (x *GetSchemaTableSizeOptions) GetAggregateSizes() bool { - if x != nil { - return x.AggregateSizes - } - return false -} - -func (x *GetSchemaTableSizeOptions) GetIncludeNonServingShards() bool { +func (x *GetSchemaMigrationsRequest) GetClusterRequests() []*GetSchemaMigrationsRequest_ClusterRequest { if x != nil { - return x.IncludeNonServingShards + return x.ClusterRequests } - return false + return nil } -type GetTabletRequest struct { +type GetSchemaMigrationsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Unique (per cluster) tablet alias. - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - // ClusterIDs is an optional parameter to narrow the scope of the search, if - // the caller knows which cluster the tablet may be in, or, to disambiguate - // if multiple clusters have a tablet with the same hostname. - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + SchemaMigrations []*SchemaMigration `protobuf:"bytes,1,rep,name=schema_migrations,json=schemaMigrations,proto3" json:"schema_migrations,omitempty"` } -func (x *GetTabletRequest) Reset() { - *x = GetTabletRequest{} +func (x *GetSchemaMigrationsResponse) Reset() { + *x = GetSchemaMigrationsResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3074,13 +3074,13 @@ func (x *GetTabletRequest) Reset() { } } -func (x *GetTabletRequest) String() string { +func (x *GetSchemaMigrationsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetTabletRequest) ProtoMessage() {} +func (*GetSchemaMigrationsResponse) ProtoMessage() {} -func (x *GetTabletRequest) ProtoReflect() protoreflect.Message { +func (x *GetSchemaMigrationsResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3092,49 +3092,51 @@ func (x *GetTabletRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetTabletRequest.ProtoReflect.Descriptor instead. -func (*GetTabletRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSchemaMigrationsResponse.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{51} } -func (x *GetTabletRequest) GetAlias() *dev1.TabletAlias { - if x != nil { - return x.Alias - } - return nil -} - -func (x *GetTabletRequest) GetClusterIds() []string { +func (x *GetSchemaMigrationsResponse) GetSchemaMigrations() []*SchemaMigration { if x != nil { - return x.ClusterIds + return x.SchemaMigrations } return nil } -type GetTabletsRequest struct { +type GetShardReplicationPositionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` -} - -func (x *GetTabletsRequest) Reset() { - *x = GetTabletsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[52] + // Keyspaces, if set, limits replication positions to just the specified + // keyspaces. Applies to all clusters in the request. + Keyspaces []string `protobuf:"bytes,2,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // KeyspaceShards, if set, limits replicatin positions to just the specified + // keyspace/shards. Applies to all clusters in the request. + // + // This field takes precedence over Keyspaces. If KeyspaceShards is set, + // Keyspaces is ignored. + KeyspaceShards []string `protobuf:"bytes,3,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` +} + +func (x *GetShardReplicationPositionsRequest) Reset() { + *x = GetShardReplicationPositionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetTabletsRequest) String() string { +func (x *GetShardReplicationPositionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetTabletsRequest) ProtoMessage() {} +func (*GetShardReplicationPositionsRequest) ProtoMessage() {} -func (x *GetTabletsRequest) ProtoReflect() protoreflect.Message { +func (x *GetShardReplicationPositionsRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3146,28 +3148,42 @@ func (x *GetTabletsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetTabletsRequest.ProtoReflect.Descriptor instead. -func (*GetTabletsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetShardReplicationPositionsRequest.ProtoReflect.Descriptor instead. +func (*GetShardReplicationPositionsRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{52} } -func (x *GetTabletsRequest) GetClusterIds() []string { +func (x *GetShardReplicationPositionsRequest) GetClusterIds() []string { if x != nil { return x.ClusterIds } return nil } -type GetTabletsResponse struct { +func (x *GetShardReplicationPositionsRequest) GetKeyspaces() []string { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *GetShardReplicationPositionsRequest) GetKeyspaceShards() []string { + if x != nil { + return x.KeyspaceShards + } + return nil +} + +type GetShardReplicationPositionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Tablets []*Tablet `protobuf:"bytes,1,rep,name=tablets,proto3" json:"tablets,omitempty"` + ReplicationPositions []*ClusterShardReplicationPosition `protobuf:"bytes,1,rep,name=replication_positions,json=replicationPositions,proto3" json:"replication_positions,omitempty"` } -func (x *GetTabletsResponse) Reset() { - *x = GetTabletsResponse{} +func (x *GetShardReplicationPositionsResponse) Reset() { + *x = GetShardReplicationPositionsResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3175,13 +3191,13 @@ func (x *GetTabletsResponse) Reset() { } } -func (x *GetTabletsResponse) String() string { +func (x *GetShardReplicationPositionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetTabletsResponse) ProtoMessage() {} +func (*GetShardReplicationPositionsResponse) ProtoMessage() {} -func (x *GetTabletsResponse) ProtoReflect() protoreflect.Message { +func (x *GetShardReplicationPositionsResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3193,29 +3209,32 @@ func (x *GetTabletsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetTabletsResponse.ProtoReflect.Descriptor instead. -func (*GetTabletsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetShardReplicationPositionsResponse.ProtoReflect.Descriptor instead. +func (*GetShardReplicationPositionsResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{53} } -func (x *GetTabletsResponse) GetTablets() []*Tablet { +func (x *GetShardReplicationPositionsResponse) GetReplicationPositions() []*ClusterShardReplicationPosition { if x != nil { - return x.Tablets + return x.ReplicationPositions } return nil } -type GetTopologyPathRequest struct { +type GetSrvKeyspaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` } -func (x *GetTopologyPathRequest) Reset() { - *x = GetTopologyPathRequest{} +func (x *GetSrvKeyspaceRequest) Reset() { + *x = GetSrvKeyspaceRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3223,13 +3242,13 @@ func (x *GetTopologyPathRequest) Reset() { } } -func (x *GetTopologyPathRequest) String() string { +func (x *GetSrvKeyspaceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetTopologyPathRequest) ProtoMessage() {} +func (*GetSrvKeyspaceRequest) ProtoMessage() {} -func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { +func (x *GetSrvKeyspaceRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3241,36 +3260,46 @@ func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetTopologyPathRequest.ProtoReflect.Descriptor instead. -func (*GetTopologyPathRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSrvKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspaceRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{54} } -func (x *GetTopologyPathRequest) GetClusterId() string { +func (x *GetSrvKeyspaceRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *GetTopologyPathRequest) GetPath() string { +func (x *GetSrvKeyspaceRequest) GetKeyspace() string { if x != nil { - return x.Path + return x.Keyspace } return "" } -type GetVSchemaRequest struct { +func (x *GetSrvKeyspaceRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvKeyspacesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // An optional list of cluster IDs to filter specific clusters + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` } -func (x *GetVSchemaRequest) Reset() { - *x = GetVSchemaRequest{} +func (x *GetSrvKeyspacesRequest) Reset() { + *x = GetSrvKeyspacesRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3278,13 +3307,13 @@ func (x *GetVSchemaRequest) Reset() { } } -func (x *GetVSchemaRequest) String() string { +func (x *GetSrvKeyspacesRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVSchemaRequest) ProtoMessage() {} +func (*GetSrvKeyspacesRequest) ProtoMessage() {} -func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { +func (x *GetSrvKeyspacesRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3296,35 +3325,36 @@ func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVSchemaRequest.ProtoReflect.Descriptor instead. -func (*GetVSchemaRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSrvKeyspacesRequest.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspacesRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{55} } -func (x *GetVSchemaRequest) GetClusterId() string { +func (x *GetSrvKeyspacesRequest) GetClusterIds() []string { if x != nil { - return x.ClusterId + return x.ClusterIds } - return "" + return nil } -func (x *GetVSchemaRequest) GetKeyspace() string { +func (x *GetSrvKeyspacesRequest) GetCells() []string { if x != nil { - return x.Keyspace + return x.Cells } - return "" + return nil } -type GetVSchemasRequest struct { +type GetSrvKeyspacesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // GetSrvKeyspaces responses for each keyspace + SrvKeyspaces map[string]*dev2.GetSrvKeyspacesResponse `protobuf:"bytes,1,rep,name=srv_keyspaces,json=srvKeyspaces,proto3" json:"srv_keyspaces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *GetVSchemasRequest) Reset() { - *x = GetVSchemasRequest{} +func (x *GetSrvKeyspacesResponse) Reset() { + *x = GetSrvKeyspacesResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3332,13 +3362,13 @@ func (x *GetVSchemasRequest) Reset() { } } -func (x *GetVSchemasRequest) String() string { +func (x *GetSrvKeyspacesResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVSchemasRequest) ProtoMessage() {} +func (*GetSrvKeyspacesResponse) ProtoMessage() {} -func (x *GetVSchemasRequest) ProtoReflect() protoreflect.Message { +func (x *GetSrvKeyspacesResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3350,28 +3380,29 @@ func (x *GetVSchemasRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVSchemasRequest.ProtoReflect.Descriptor instead. -func (*GetVSchemasRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSrvKeyspacesResponse.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspacesResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{56} } -func (x *GetVSchemasRequest) GetClusterIds() []string { +func (x *GetSrvKeyspacesResponse) GetSrvKeyspaces() map[string]*dev2.GetSrvKeyspacesResponse { if x != nil { - return x.ClusterIds + return x.SrvKeyspaces } return nil } -type GetVSchemasResponse struct { +type GetSrvVSchemaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - VSchemas []*VSchema `protobuf:"bytes,1,rep,name=v_schemas,json=vSchemas,proto3" json:"v_schemas,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Cell string `protobuf:"bytes,2,opt,name=cell,proto3" json:"cell,omitempty"` } -func (x *GetVSchemasResponse) Reset() { - *x = GetVSchemasResponse{} +func (x *GetSrvVSchemaRequest) Reset() { + *x = GetSrvVSchemaRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3379,13 +3410,13 @@ func (x *GetVSchemasResponse) Reset() { } } -func (x *GetVSchemasResponse) String() string { +func (x *GetSrvVSchemaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVSchemasResponse) ProtoMessage() {} +func (*GetSrvVSchemaRequest) ProtoMessage() {} -func (x *GetVSchemasResponse) ProtoReflect() protoreflect.Message { +func (x *GetSrvVSchemaRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3397,28 +3428,36 @@ func (x *GetVSchemasResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVSchemasResponse.ProtoReflect.Descriptor instead. -func (*GetVSchemasResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSrvVSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemaRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{57} } -func (x *GetVSchemasResponse) GetVSchemas() []*VSchema { +func (x *GetSrvVSchemaRequest) GetClusterId() string { if x != nil { - return x.VSchemas + return x.ClusterId } - return nil + return "" } -type GetVtctldsRequest struct { +func (x *GetSrvVSchemaRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +type GetSrvVSchemasRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` } -func (x *GetVtctldsRequest) Reset() { - *x = GetVtctldsRequest{} +func (x *GetSrvVSchemasRequest) Reset() { + *x = GetSrvVSchemasRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3426,13 +3465,13 @@ func (x *GetVtctldsRequest) Reset() { } } -func (x *GetVtctldsRequest) String() string { +func (x *GetSrvVSchemasRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVtctldsRequest) ProtoMessage() {} +func (*GetSrvVSchemasRequest) ProtoMessage() {} -func (x *GetVtctldsRequest) ProtoReflect() protoreflect.Message { +func (x *GetSrvVSchemasRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3444,28 +3483,35 @@ func (x *GetVtctldsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVtctldsRequest.ProtoReflect.Descriptor instead. -func (*GetVtctldsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSrvVSchemasRequest.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemasRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{58} } -func (x *GetVtctldsRequest) GetClusterIds() []string { +func (x *GetSrvVSchemasRequest) GetClusterIds() []string { if x != nil { return x.ClusterIds } return nil } -type GetVtctldsResponse struct { +func (x *GetSrvVSchemasRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvVSchemasResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Vtctlds []*Vtctld `protobuf:"bytes,1,rep,name=vtctlds,proto3" json:"vtctlds,omitempty"` + SrvVSchemas []*SrvVSchema `protobuf:"bytes,1,rep,name=srv_v_schemas,json=srvVSchemas,proto3" json:"srv_v_schemas,omitempty"` } -func (x *GetVtctldsResponse) Reset() { - *x = GetVtctldsResponse{} +func (x *GetSrvVSchemasResponse) Reset() { + *x = GetSrvVSchemasResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3473,13 +3519,13 @@ func (x *GetVtctldsResponse) Reset() { } } -func (x *GetVtctldsResponse) String() string { +func (x *GetSrvVSchemasResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVtctldsResponse) ProtoMessage() {} +func (*GetSrvVSchemasResponse) ProtoMessage() {} -func (x *GetVtctldsResponse) ProtoReflect() protoreflect.Message { +func (x *GetSrvVSchemasResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3491,31 +3537,29 @@ func (x *GetVtctldsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVtctldsResponse.ProtoReflect.Descriptor instead. -func (*GetVtctldsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetSrvVSchemasResponse.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemasResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{59} } -func (x *GetVtctldsResponse) GetVtctlds() []*Vtctld { +func (x *GetSrvVSchemasResponse) GetSrvVSchemas() []*SrvVSchema { if x != nil { - return x.Vtctlds + return x.SrvVSchemas } return nil } -type GetWorkflowRequest struct { +type GetSchemaTableSizeOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - ActiveOnly bool `protobuf:"varint,4,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` + AggregateSizes bool `protobuf:"varint,1,opt,name=aggregate_sizes,json=aggregateSizes,proto3" json:"aggregate_sizes,omitempty"` + IncludeNonServingShards bool `protobuf:"varint,2,opt,name=include_non_serving_shards,json=includeNonServingShards,proto3" json:"include_non_serving_shards,omitempty"` } -func (x *GetWorkflowRequest) Reset() { - *x = GetWorkflowRequest{} +func (x *GetSchemaTableSizeOptions) Reset() { + *x = GetSchemaTableSizeOptions{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3523,13 +3567,13 @@ func (x *GetWorkflowRequest) Reset() { } } -func (x *GetWorkflowRequest) String() string { +func (x *GetSchemaTableSizeOptions) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetWorkflowRequest) ProtoMessage() {} +func (*GetSchemaTableSizeOptions) ProtoMessage() {} -func (x *GetWorkflowRequest) ProtoReflect() protoreflect.Message { +func (x *GetSchemaTableSizeOptions) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3541,67 +3585,40 @@ func (x *GetWorkflowRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetWorkflowRequest.ProtoReflect.Descriptor instead. -func (*GetWorkflowRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{60} -} - -func (x *GetWorkflowRequest) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *GetWorkflowRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +// Deprecated: Use GetSchemaTableSizeOptions.ProtoReflect.Descriptor instead. +func (*GetSchemaTableSizeOptions) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{60} } -func (x *GetWorkflowRequest) GetName() string { +func (x *GetSchemaTableSizeOptions) GetAggregateSizes() bool { if x != nil { - return x.Name + return x.AggregateSizes } - return "" + return false } -func (x *GetWorkflowRequest) GetActiveOnly() bool { +func (x *GetSchemaTableSizeOptions) GetIncludeNonServingShards() bool { if x != nil { - return x.ActiveOnly + return x.IncludeNonServingShards } return false } -type GetWorkflowsRequest struct { +type GetTabletRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - // ActiveOnly specifies whether to return workflows that are currently - // active (running or paused) instead of all workflows. - ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` - // Keyspaces is a list of keyspaces to restrict the workflow search to. Note - // that the keyspaces list applies across all cluster IDs in the request. - // - // If, for example, you have two clusters, each with a keyspace called "foo" - // and want the workflows from "foo" in cluster1 but not from cluster2, you - // must make two requests. - // - // Keyspaces and IgnoreKeyspaces are mutually-exclusive, and Keyspaces takes - // precedence; if Keyspaces is a non-empty list, then IgnoreKeyspaces is - // ignored completely. - Keyspaces []string `protobuf:"bytes,3,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` - // IgnoreKeyspaces is a list of keyspaces to skip during the workflow - // search. It has the same semantics as the Keyspaces parameter, so refer to - // that documentation for more details. - IgnoreKeyspaces []string `protobuf:"bytes,4,rep,name=ignore_keyspaces,json=ignoreKeyspaces,proto3" json:"ignore_keyspaces,omitempty"` + // Unique (per cluster) tablet alias. + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + // ClusterIDs is an optional parameter to narrow the scope of the search, if + // the caller knows which cluster the tablet may be in, or, to disambiguate + // if multiple clusters have a tablet with the same hostname. + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *GetWorkflowsRequest) Reset() { - *x = GetWorkflowsRequest{} +func (x *GetTabletRequest) Reset() { + *x = GetTabletRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3609,13 +3626,13 @@ func (x *GetWorkflowsRequest) Reset() { } } -func (x *GetWorkflowsRequest) String() string { +func (x *GetTabletRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetWorkflowsRequest) ProtoMessage() {} +func (*GetTabletRequest) ProtoMessage() {} -func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { +func (x *GetTabletRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3627,49 +3644,35 @@ func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetWorkflowsRequest.ProtoReflect.Descriptor instead. -func (*GetWorkflowsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetTabletRequest.ProtoReflect.Descriptor instead. +func (*GetTabletRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{61} } -func (x *GetWorkflowsRequest) GetClusterIds() []string { - if x != nil { - return x.ClusterIds - } - return nil -} - -func (x *GetWorkflowsRequest) GetActiveOnly() bool { - if x != nil { - return x.ActiveOnly - } - return false -} - -func (x *GetWorkflowsRequest) GetKeyspaces() []string { +func (x *GetTabletRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.Keyspaces + return x.Alias } return nil } -func (x *GetWorkflowsRequest) GetIgnoreKeyspaces() []string { +func (x *GetTabletRequest) GetClusterIds() []string { if x != nil { - return x.IgnoreKeyspaces + return x.ClusterIds } return nil } -type GetWorkflowsResponse struct { +type GetTabletsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - WorkflowsByCluster map[string]*ClusterWorkflows `protobuf:"bytes,1,rep,name=workflows_by_cluster,json=workflowsByCluster,proto3" json:"workflows_by_cluster,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *GetWorkflowsResponse) Reset() { - *x = GetWorkflowsResponse{} +func (x *GetTabletsRequest) Reset() { + *x = GetTabletsRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3677,13 +3680,13 @@ func (x *GetWorkflowsResponse) Reset() { } } -func (x *GetWorkflowsResponse) String() string { +func (x *GetTabletsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetWorkflowsResponse) ProtoMessage() {} +func (*GetTabletsRequest) ProtoMessage() {} -func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { +func (x *GetTabletsRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3695,33 +3698,28 @@ func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetWorkflowsResponse.ProtoReflect.Descriptor instead. -func (*GetWorkflowsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetTabletsRequest.ProtoReflect.Descriptor instead. +func (*GetTabletsRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{62} } -func (x *GetWorkflowsResponse) GetWorkflowsByCluster() map[string]*ClusterWorkflows { +func (x *GetTabletsRequest) GetClusterIds() []string { if x != nil { - return x.WorkflowsByCluster + return x.ClusterIds } return nil } -type PingTabletRequest struct { +type GetTabletsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Unique (per cluster) tablet alias of the standard form: "$cell-$uid" - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - // ClusterIDs is an optional parameter to narrow the scope of the search, if - // the caller knows which cluster the tablet may be in, or, to disambiguate - // if multiple clusters have a tablet with the same hostname. - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + Tablets []*Tablet `protobuf:"bytes,1,rep,name=tablets,proto3" json:"tablets,omitempty"` } -func (x *PingTabletRequest) Reset() { - *x = PingTabletRequest{} +func (x *GetTabletsResponse) Reset() { + *x = GetTabletsResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3729,13 +3727,13 @@ func (x *PingTabletRequest) Reset() { } } -func (x *PingTabletRequest) String() string { +func (x *GetTabletsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PingTabletRequest) ProtoMessage() {} +func (*GetTabletsResponse) ProtoMessage() {} -func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { +func (x *GetTabletsResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3747,36 +3745,29 @@ func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PingTabletRequest.ProtoReflect.Descriptor instead. -func (*PingTabletRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetTabletsResponse.ProtoReflect.Descriptor instead. +func (*GetTabletsResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{63} } -func (x *PingTabletRequest) GetAlias() *dev1.TabletAlias { - if x != nil { - return x.Alias - } - return nil -} - -func (x *PingTabletRequest) GetClusterIds() []string { +func (x *GetTabletsResponse) GetTablets() []*Tablet { if x != nil { - return x.ClusterIds + return x.Tablets } return nil } -type PingTabletResponse struct { +type GetTopologyPathRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (x *PingTabletResponse) Reset() { - *x = PingTabletResponse{} +func (x *GetTopologyPathRequest) Reset() { + *x = GetTopologyPathRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3784,13 +3775,13 @@ func (x *PingTabletResponse) Reset() { } } -func (x *PingTabletResponse) String() string { +func (x *GetTopologyPathRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PingTabletResponse) ProtoMessage() {} +func (*GetTopologyPathRequest) ProtoMessage() {} -func (x *PingTabletResponse) ProtoReflect() protoreflect.Message { +func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3802,36 +3793,36 @@ func (x *PingTabletResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PingTabletResponse.ProtoReflect.Descriptor instead. -func (*PingTabletResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetTopologyPathRequest.ProtoReflect.Descriptor instead. +func (*GetTopologyPathRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{64} } -func (x *PingTabletResponse) GetStatus() string { +func (x *GetTopologyPathRequest) GetClusterId() string { if x != nil { - return x.Status + return x.ClusterId } return "" } -func (x *PingTabletResponse) GetCluster() *Cluster { +func (x *GetTopologyPathRequest) GetPath() string { if x != nil { - return x.Cluster + return x.Path } - return nil + return "" } -type PlannedFailoverShardRequest struct { +type GetTransactionInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Options *dev2.PlannedReparentShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.GetTransactionInfoRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *PlannedFailoverShardRequest) Reset() { - *x = PlannedFailoverShardRequest{} +func (x *GetTransactionInfoRequest) Reset() { + *x = GetTransactionInfoRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3839,13 +3830,13 @@ func (x *PlannedFailoverShardRequest) Reset() { } } -func (x *PlannedFailoverShardRequest) String() string { +func (x *GetTransactionInfoRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PlannedFailoverShardRequest) ProtoMessage() {} +func (*GetTransactionInfoRequest) ProtoMessage() {} -func (x *PlannedFailoverShardRequest) ProtoReflect() protoreflect.Message { +func (x *GetTransactionInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3857,43 +3848,37 @@ func (x *PlannedFailoverShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PlannedFailoverShardRequest.ProtoReflect.Descriptor instead. -func (*PlannedFailoverShardRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetTransactionInfoRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionInfoRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{65} } -func (x *PlannedFailoverShardRequest) GetClusterId() string { +func (x *GetTransactionInfoRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *PlannedFailoverShardRequest) GetOptions() *dev2.PlannedReparentShardRequest { +func (x *GetTransactionInfoRequest) GetRequest() *dev2.GetTransactionInfoRequest { if x != nil { - return x.Options + return x.Request } return nil } -type PlannedFailoverShardResponse struct { +type GetUnresolvedTransactionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` - // PromotedPrimary is the tablet alias that was promoted to shard primary. - // If NewPrimary was set in the request options, then this will be the - // same tablet alias. Otherwise, it will be the alias of the tablet found - // to be most up-to-date in the shard. - PromotedPrimary *dev1.TabletAlias `protobuf:"bytes,4,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` - Events []*dev5.Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + AbandonAge int64 `protobuf:"varint,3,opt,name=abandon_age,json=abandonAge,proto3" json:"abandon_age,omitempty"` } -func (x *PlannedFailoverShardResponse) Reset() { - *x = PlannedFailoverShardResponse{} +func (x *GetUnresolvedTransactionsRequest) Reset() { + *x = GetUnresolvedTransactionsRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3901,13 +3886,13 @@ func (x *PlannedFailoverShardResponse) Reset() { } } -func (x *PlannedFailoverShardResponse) String() string { +func (x *GetUnresolvedTransactionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PlannedFailoverShardResponse) ProtoMessage() {} +func (*GetUnresolvedTransactionsRequest) ProtoMessage() {} -func (x *PlannedFailoverShardResponse) ProtoReflect() protoreflect.Message { +func (x *GetUnresolvedTransactionsRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3919,59 +3904,43 @@ func (x *PlannedFailoverShardResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PlannedFailoverShardResponse.ProtoReflect.Descriptor instead. -func (*PlannedFailoverShardResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetUnresolvedTransactionsRequest.ProtoReflect.Descriptor instead. +func (*GetUnresolvedTransactionsRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{66} } -func (x *PlannedFailoverShardResponse) GetCluster() *Cluster { - if x != nil { - return x.Cluster - } - return nil -} - -func (x *PlannedFailoverShardResponse) GetKeyspace() string { +func (x *GetUnresolvedTransactionsRequest) GetClusterId() string { if x != nil { - return x.Keyspace + return x.ClusterId } return "" } -func (x *PlannedFailoverShardResponse) GetShard() string { +func (x *GetUnresolvedTransactionsRequest) GetKeyspace() string { if x != nil { - return x.Shard + return x.Keyspace } return "" } -func (x *PlannedFailoverShardResponse) GetPromotedPrimary() *dev1.TabletAlias { - if x != nil { - return x.PromotedPrimary - } - return nil -} - -func (x *PlannedFailoverShardResponse) GetEvents() []*dev5.Event { +func (x *GetUnresolvedTransactionsRequest) GetAbandonAge() int64 { if x != nil { - return x.Events + return x.AbandonAge } - return nil + return 0 } -type RebuildKeyspaceGraphRequest struct { +type GetVSchemaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` - AllowPartial bool `protobuf:"varint,4,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` } -func (x *RebuildKeyspaceGraphRequest) Reset() { - *x = RebuildKeyspaceGraphRequest{} +func (x *GetVSchemaRequest) Reset() { + *x = GetVSchemaRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3979,13 +3948,13 @@ func (x *RebuildKeyspaceGraphRequest) Reset() { } } -func (x *RebuildKeyspaceGraphRequest) String() string { +func (x *GetVSchemaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RebuildKeyspaceGraphRequest) ProtoMessage() {} +func (*GetVSchemaRequest) ProtoMessage() {} -func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { +func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3997,49 +3966,35 @@ func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RebuildKeyspaceGraphRequest.ProtoReflect.Descriptor instead. -func (*RebuildKeyspaceGraphRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetVSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetVSchemaRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{67} } -func (x *RebuildKeyspaceGraphRequest) GetClusterId() string { +func (x *GetVSchemaRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *RebuildKeyspaceGraphRequest) GetKeyspace() string { +func (x *GetVSchemaRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *RebuildKeyspaceGraphRequest) GetCells() []string { - if x != nil { - return x.Cells - } - return nil -} - -func (x *RebuildKeyspaceGraphRequest) GetAllowPartial() bool { - if x != nil { - return x.AllowPartial - } - return false -} - -type RebuildKeyspaceGraphResponse struct { +type GetVSchemasRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *RebuildKeyspaceGraphResponse) Reset() { - *x = RebuildKeyspaceGraphResponse{} +func (x *GetVSchemasRequest) Reset() { + *x = GetVSchemasRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4047,13 +4002,13 @@ func (x *RebuildKeyspaceGraphResponse) Reset() { } } -func (x *RebuildKeyspaceGraphResponse) String() string { +func (x *GetVSchemasRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RebuildKeyspaceGraphResponse) ProtoMessage() {} +func (*GetVSchemasRequest) ProtoMessage() {} -func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { +func (x *GetVSchemasRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4065,29 +4020,28 @@ func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RebuildKeyspaceGraphResponse.ProtoReflect.Descriptor instead. -func (*RebuildKeyspaceGraphResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetVSchemasRequest.ProtoReflect.Descriptor instead. +func (*GetVSchemasRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{68} } -func (x *RebuildKeyspaceGraphResponse) GetStatus() string { +func (x *GetVSchemasRequest) GetClusterIds() []string { if x != nil { - return x.Status + return x.ClusterIds } - return "" + return nil } -type RefreshStateRequest struct { +type GetVSchemasResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + VSchemas []*VSchema `protobuf:"bytes,1,rep,name=v_schemas,json=vSchemas,proto3" json:"v_schemas,omitempty"` } -func (x *RefreshStateRequest) Reset() { - *x = RefreshStateRequest{} +func (x *GetVSchemasResponse) Reset() { + *x = GetVSchemasResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4095,13 +4049,13 @@ func (x *RefreshStateRequest) Reset() { } } -func (x *RefreshStateRequest) String() string { +func (x *GetVSchemasResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshStateRequest) ProtoMessage() {} +func (*GetVSchemasResponse) ProtoMessage() {} -func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { +func (x *GetVSchemasResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4113,36 +4067,28 @@ func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. -func (*RefreshStateRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetVSchemasResponse.ProtoReflect.Descriptor instead. +func (*GetVSchemasResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{69} } -func (x *RefreshStateRequest) GetAlias() *dev1.TabletAlias { - if x != nil { - return x.Alias - } - return nil -} - -func (x *RefreshStateRequest) GetClusterIds() []string { +func (x *GetVSchemasResponse) GetVSchemas() []*VSchema { if x != nil { - return x.ClusterIds + return x.VSchemas } return nil } -type RefreshStateResponse struct { +type GetVtctldsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *RefreshStateResponse) Reset() { - *x = RefreshStateResponse{} +func (x *GetVtctldsRequest) Reset() { + *x = GetVtctldsRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4150,13 +4096,13 @@ func (x *RefreshStateResponse) Reset() { } } -func (x *RefreshStateResponse) String() string { +func (x *GetVtctldsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshStateResponse) ProtoMessage() {} +func (*GetVtctldsRequest) ProtoMessage() {} -func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { +func (x *GetVtctldsRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4168,76 +4114,28 @@ func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. -func (*RefreshStateResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetVtctldsRequest.ProtoReflect.Descriptor instead. +func (*GetVtctldsRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{70} } -func (x *RefreshStateResponse) GetStatus() string { - if x != nil { - return x.Status - } - return "" -} - -func (x *RefreshStateResponse) GetCluster() *Cluster { +func (x *GetVtctldsRequest) GetClusterIds() []string { if x != nil { - return x.Cluster + return x.ClusterIds } return nil } -type ReloadSchemasRequest struct { +type GetVtctldsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Keyspaces, if set, will reload schemas across one or more keyspaces. A - // keyspace not existing in a cluster will not fail the overall request. - // - // Superceded by KeyspaceShards and Tablets, in that order. - Keyspaces []string `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` - // KeyspaceShards, if set, will reload schemas across one or more shards. - // Each element must be a valid keyspace/shard according to - // topoproto.ParseKeyspaceShard. A shard not existing in a cluster will not - // fail the overall request. - // - // Supercedes Keyspaces, and is superceded by Tablets. - KeyspaceShards []string `protobuf:"bytes,2,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` - // Tablets, if set will reload schemas across one or more tablets. - // Supercedes both Keyspaces and KeyspaceShards. - Tablets []*dev1.TabletAlias `protobuf:"bytes,3,rep,name=tablets,proto3" json:"tablets,omitempty"` - // ClusterIds optionally restricts the reload operation to clusters with - // the specified IDs. An empty list of ClusterIds will operate on all - // clusters. - ClusterIds []string `protobuf:"bytes,4,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` - // Concurrency controls the number of tablets to reload at any given time. - // Its semantics depend on whether the request is for keyspace, shard, or - // tablet mode. - // - // In Keyspaces mode, Concurrency is the number of tablets to reload at once - // *per keyspace*. - // - // In KeyspaceShards mode, Concurrency is the number of tablets to reload at - // once *per shard*. - // - // In Tablets mode, Concurrency is the number of tablets to reload at once - // *per cluster*. - Concurrency uint32 `protobuf:"varint,5,opt,name=concurrency,proto3" json:"concurrency,omitempty"` - // WaitPosition is the replication position that replicating tablets should - // reach prior to reloading their schemas. - // - // Does not apply in Tablets mode. - WaitPosition string `protobuf:"bytes,6,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` - // IncludePrimary, if set, will reload the schemas on PRIMARY tablets as - // well as REPLICA and RDONLY. - // - // Does not apply in Tablets mode. - IncludePrimary bool `protobuf:"varint,7,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` + Vtctlds []*Vtctld `protobuf:"bytes,1,rep,name=vtctlds,proto3" json:"vtctlds,omitempty"` } -func (x *ReloadSchemasRequest) Reset() { - *x = ReloadSchemasRequest{} +func (x *GetVtctldsResponse) Reset() { + *x = GetVtctldsResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4245,13 +4143,13 @@ func (x *ReloadSchemasRequest) Reset() { } } -func (x *ReloadSchemasRequest) String() string { +func (x *GetVtctldsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemasRequest) ProtoMessage() {} +func (*GetVtctldsResponse) ProtoMessage() {} -func (x *ReloadSchemasRequest) ProtoReflect() protoreflect.Message { +func (x *GetVtctldsResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4263,96 +4161,116 @@ func (x *ReloadSchemasRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemasRequest.ProtoReflect.Descriptor instead. -func (*ReloadSchemasRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetVtctldsResponse.ProtoReflect.Descriptor instead. +func (*GetVtctldsResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{71} } -func (x *ReloadSchemasRequest) GetKeyspaces() []string { +func (x *GetVtctldsResponse) GetVtctlds() []*Vtctld { if x != nil { - return x.Keyspaces + return x.Vtctlds } return nil } -func (x *ReloadSchemasRequest) GetKeyspaceShards() []string { - if x != nil { - return x.KeyspaceShards +type GetWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + ActiveOnly bool `protobuf:"varint,4,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` +} + +func (x *GetWorkflowRequest) Reset() { + *x = GetWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *ReloadSchemasRequest) GetTablets() []*dev1.TabletAlias { - if x != nil { - return x.Tablets +func (x *GetWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkflowRequest) ProtoMessage() {} + +func (x *GetWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *ReloadSchemasRequest) GetClusterIds() []string { +// Deprecated: Use GetWorkflowRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{72} +} + +func (x *GetWorkflowRequest) GetClusterId() string { if x != nil { - return x.ClusterIds + return x.ClusterId } - return nil + return "" } -func (x *ReloadSchemasRequest) GetConcurrency() uint32 { +func (x *GetWorkflowRequest) GetKeyspace() string { if x != nil { - return x.Concurrency + return x.Keyspace } - return 0 + return "" } -func (x *ReloadSchemasRequest) GetWaitPosition() string { +func (x *GetWorkflowRequest) GetName() string { if x != nil { - return x.WaitPosition + return x.Name } return "" } -func (x *ReloadSchemasRequest) GetIncludePrimary() bool { +func (x *GetWorkflowRequest) GetActiveOnly() bool { if x != nil { - return x.IncludePrimary + return x.ActiveOnly } return false } -type ReloadSchemasResponse struct { +type GetWorkflowStatusRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // KeyspaceResults is the list of KeyspaceResult objects for a ReloadSchemas - // operation. It is only set when the request mandates Keyspaces mode (see - // ReloadSchemasRequest). - KeyspaceResults []*ReloadSchemasResponse_KeyspaceResult `protobuf:"bytes,1,rep,name=keyspace_results,json=keyspaceResults,proto3" json:"keyspace_results,omitempty"` - // ShardResults is the list of ShardResult objects for a ReloadSchemas - // operation. It is only set when the request mandates KeyspaceShards mode - // (see ReloadSchemasRequest). - ShardResults []*ReloadSchemasResponse_ShardResult `protobuf:"bytes,2,rep,name=shard_results,json=shardResults,proto3" json:"shard_results,omitempty"` - // TabletResults is the list of TabletResult objects for a ReloadSchemas - // operation. It is only set when the request mandates Tablets mode (see - // ReloadSchemasRequest). - TabletResults []*ReloadSchemasResponse_TabletResult `protobuf:"bytes,3,rep,name=tablet_results,json=tabletResults,proto3" json:"tablet_results,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (x *ReloadSchemasResponse) Reset() { - *x = ReloadSchemasResponse{} +func (x *GetWorkflowStatusRequest) Reset() { + *x = GetWorkflowStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[72] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemasResponse) String() string { +func (x *GetWorkflowStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemasResponse) ProtoMessage() {} +func (*GetWorkflowStatusRequest) ProtoMessage() {} -func (x *ReloadSchemasResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[72] +func (x *GetWorkflowStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4363,62 +4281,59 @@ func (x *ReloadSchemasResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemasResponse.ProtoReflect.Descriptor instead. -func (*ReloadSchemasResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{72} +// Deprecated: Use GetWorkflowStatusRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{73} } -func (x *ReloadSchemasResponse) GetKeyspaceResults() []*ReloadSchemasResponse_KeyspaceResult { +func (x *GetWorkflowStatusRequest) GetClusterId() string { if x != nil { - return x.KeyspaceResults + return x.ClusterId } - return nil + return "" } -func (x *ReloadSchemasResponse) GetShardResults() []*ReloadSchemasResponse_ShardResult { +func (x *GetWorkflowStatusRequest) GetKeyspace() string { if x != nil { - return x.ShardResults + return x.Keyspace } - return nil + return "" } -func (x *ReloadSchemasResponse) GetTabletResults() []*ReloadSchemasResponse_TabletResult { +func (x *GetWorkflowStatusRequest) GetName() string { if x != nil { - return x.TabletResults + return x.Name } - return nil + return "" } -type ReloadSchemaShardRequest struct { +type StartWorkflowRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` - WaitPosition string `protobuf:"bytes,4,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` - IncludePrimary bool `protobuf:"varint,5,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` - Concurrency uint32 `protobuf:"varint,6,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` } -func (x *ReloadSchemaShardRequest) Reset() { - *x = ReloadSchemaShardRequest{} +func (x *StartWorkflowRequest) Reset() { + *x = StartWorkflowRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[73] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaShardRequest) String() string { +func (x *StartWorkflowRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaShardRequest) ProtoMessage() {} +func (*StartWorkflowRequest) ProtoMessage() {} -func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[73] +func (x *StartWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4429,78 +4344,138 @@ func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaShardRequest.ProtoReflect.Descriptor instead. -func (*ReloadSchemaShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{73} +// Deprecated: Use StartWorkflowRequest.ProtoReflect.Descriptor instead. +func (*StartWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{74} } -func (x *ReloadSchemaShardRequest) GetClusterId() string { +func (x *StartWorkflowRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *ReloadSchemaShardRequest) GetKeyspace() string { +func (x *StartWorkflowRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *ReloadSchemaShardRequest) GetShard() string { +func (x *StartWorkflowRequest) GetWorkflow() string { if x != nil { - return x.Shard + return x.Workflow } return "" } -func (x *ReloadSchemaShardRequest) GetWaitPosition() string { +type StopWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` +} + +func (x *StopWorkflowRequest) Reset() { + *x = StopWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopWorkflowRequest) ProtoMessage() {} + +func (x *StopWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopWorkflowRequest.ProtoReflect.Descriptor instead. +func (*StopWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{75} +} + +func (x *StopWorkflowRequest) GetClusterId() string { if x != nil { - return x.WaitPosition + return x.ClusterId } return "" } -func (x *ReloadSchemaShardRequest) GetIncludePrimary() bool { +func (x *StopWorkflowRequest) GetKeyspace() string { if x != nil { - return x.IncludePrimary + return x.Keyspace } - return false + return "" } -func (x *ReloadSchemaShardRequest) GetConcurrency() uint32 { +func (x *StopWorkflowRequest) GetWorkflow() string { if x != nil { - return x.Concurrency + return x.Workflow } - return 0 + return "" } -type ReloadSchemaShardResponse struct { +type GetWorkflowsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Events []*dev5.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // ActiveOnly specifies whether to return workflows that are currently + // active (running or paused) instead of all workflows. + ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` + // Keyspaces is a list of keyspaces to restrict the workflow search to. Note + // that the keyspaces list applies across all cluster IDs in the request. + // + // If, for example, you have two clusters, each with a keyspace called "foo" + // and want the workflows from "foo" in cluster1 but not from cluster2, you + // must make two requests. + // + // Keyspaces and IgnoreKeyspaces are mutually-exclusive, and Keyspaces takes + // precedence; if Keyspaces is a non-empty list, then IgnoreKeyspaces is + // ignored completely. + Keyspaces []string `protobuf:"bytes,3,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // IgnoreKeyspaces is a list of keyspaces to skip during the workflow + // search. It has the same semantics as the Keyspaces parameter, so refer to + // that documentation for more details. + IgnoreKeyspaces []string `protobuf:"bytes,4,rep,name=ignore_keyspaces,json=ignoreKeyspaces,proto3" json:"ignore_keyspaces,omitempty"` } -func (x *ReloadSchemaShardResponse) Reset() { - *x = ReloadSchemaShardResponse{} +func (x *GetWorkflowsRequest) Reset() { + *x = GetWorkflowsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[74] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaShardResponse) String() string { +func (x *GetWorkflowsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaShardResponse) ProtoMessage() {} +func (*GetWorkflowsRequest) ProtoMessage() {} -func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[74] +func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4511,44 +4486,64 @@ func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaShardResponse.ProtoReflect.Descriptor instead. -func (*ReloadSchemaShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{74} +// Deprecated: Use GetWorkflowsRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{76} } -func (x *ReloadSchemaShardResponse) GetEvents() []*dev5.Event { +func (x *GetWorkflowsRequest) GetClusterIds() []string { if x != nil { - return x.Events + return x.ClusterIds } return nil } -type RefreshTabletReplicationSourceRequest struct { +func (x *GetWorkflowsRequest) GetActiveOnly() bool { + if x != nil { + return x.ActiveOnly + } + return false +} + +func (x *GetWorkflowsRequest) GetKeyspaces() []string { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *GetWorkflowsRequest) GetIgnoreKeyspaces() []string { + if x != nil { + return x.IgnoreKeyspaces + } + return nil +} + +type GetWorkflowsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + WorkflowsByCluster map[string]*ClusterWorkflows `protobuf:"bytes,1,rep,name=workflows_by_cluster,json=workflowsByCluster,proto3" json:"workflows_by_cluster,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *RefreshTabletReplicationSourceRequest) Reset() { - *x = RefreshTabletReplicationSourceRequest{} +func (x *GetWorkflowsResponse) Reset() { + *x = GetWorkflowsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[75] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RefreshTabletReplicationSourceRequest) String() string { +func (x *GetWorkflowsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshTabletReplicationSourceRequest) ProtoMessage() {} +func (*GetWorkflowsResponse) ProtoMessage() {} -func (x *RefreshTabletReplicationSourceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[75] +func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4559,53 +4554,44 @@ func (x *RefreshTabletReplicationSourceRequest) ProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -// Deprecated: Use RefreshTabletReplicationSourceRequest.ProtoReflect.Descriptor instead. -func (*RefreshTabletReplicationSourceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{75} -} - -func (x *RefreshTabletReplicationSourceRequest) GetAlias() *dev1.TabletAlias { - if x != nil { - return x.Alias - } - return nil +// Deprecated: Use GetWorkflowsResponse.ProtoReflect.Descriptor instead. +func (*GetWorkflowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{77} } -func (x *RefreshTabletReplicationSourceRequest) GetClusterIds() []string { +func (x *GetWorkflowsResponse) GetWorkflowsByCluster() map[string]*ClusterWorkflows { if x != nil { - return x.ClusterIds + return x.WorkflowsByCluster } return nil } -type RefreshTabletReplicationSourceResponse struct { +type LaunchSchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - Primary *dev1.TabletAlias `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` - Cluster *Cluster `protobuf:"bytes,4,opt,name=cluster,proto3" json:"cluster,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.LaunchSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *RefreshTabletReplicationSourceResponse) Reset() { - *x = RefreshTabletReplicationSourceResponse{} +func (x *LaunchSchemaMigrationRequest) Reset() { + *x = LaunchSchemaMigrationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[76] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RefreshTabletReplicationSourceResponse) String() string { +func (x *LaunchSchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshTabletReplicationSourceResponse) ProtoMessage() {} +func (*LaunchSchemaMigrationRequest) ProtoMessage() {} -func (x *RefreshTabletReplicationSourceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[76] +func (x *LaunchSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4616,68 +4602,54 @@ func (x *RefreshTabletReplicationSourceResponse) ProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -// Deprecated: Use RefreshTabletReplicationSourceResponse.ProtoReflect.Descriptor instead. -func (*RefreshTabletReplicationSourceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{76} -} - -func (x *RefreshTabletReplicationSourceResponse) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +// Deprecated: Use LaunchSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*LaunchSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{78} } -func (x *RefreshTabletReplicationSourceResponse) GetShard() string { +func (x *LaunchSchemaMigrationRequest) GetClusterId() string { if x != nil { - return x.Shard + return x.ClusterId } return "" } -func (x *RefreshTabletReplicationSourceResponse) GetPrimary() *dev1.TabletAlias { - if x != nil { - return x.Primary - } - return nil -} - -func (x *RefreshTabletReplicationSourceResponse) GetCluster() *Cluster { +func (x *LaunchSchemaMigrationRequest) GetRequest() *dev2.LaunchSchemaMigrationRequest { if x != nil { - return x.Cluster + return x.Request } return nil } -type RemoveKeyspaceCellRequest struct { +type MaterializeCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` - Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` - Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"` + // TableSettings is a JSON string defining what tables to materialize using + // what select statements. + TableSettings string `protobuf:"bytes,2,opt,name=table_settings,json=tableSettings,proto3" json:"table_settings,omitempty"` + Request *dev2.MaterializeCreateRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` } -func (x *RemoveKeyspaceCellRequest) Reset() { - *x = RemoveKeyspaceCellRequest{} +func (x *MaterializeCreateRequest) Reset() { + *x = MaterializeCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[77] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RemoveKeyspaceCellRequest) String() string { +func (x *MaterializeCreateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RemoveKeyspaceCellRequest) ProtoMessage() {} +func (*MaterializeCreateRequest) ProtoMessage() {} -func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[77] +func (x *MaterializeCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4688,71 +4660,58 @@ func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RemoveKeyspaceCellRequest.ProtoReflect.Descriptor instead. -func (*RemoveKeyspaceCellRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{77} +// Deprecated: Use MaterializeCreateRequest.ProtoReflect.Descriptor instead. +func (*MaterializeCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{79} } -func (x *RemoveKeyspaceCellRequest) GetClusterId() string { +func (x *MaterializeCreateRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *RemoveKeyspaceCellRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *RemoveKeyspaceCellRequest) GetCell() string { +func (x *MaterializeCreateRequest) GetTableSettings() string { if x != nil { - return x.Cell + return x.TableSettings } return "" } -func (x *RemoveKeyspaceCellRequest) GetForce() bool { +func (x *MaterializeCreateRequest) GetRequest() *dev2.MaterializeCreateRequest { if x != nil { - return x.Force + return x.Request } - return false + return nil } -func (x *RemoveKeyspaceCellRequest) GetRecursive() bool { - if x != nil { - return x.Recursive - } - return false -} - -type RemoveKeyspaceCellResponse struct { +type MoveTablesCompleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.MoveTablesCompleteRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *RemoveKeyspaceCellResponse) Reset() { - *x = RemoveKeyspaceCellResponse{} +func (x *MoveTablesCompleteRequest) Reset() { + *x = MoveTablesCompleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[78] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RemoveKeyspaceCellResponse) String() string { +func (x *MoveTablesCompleteRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RemoveKeyspaceCellResponse) ProtoMessage() {} +func (*MoveTablesCompleteRequest) ProtoMessage() {} -func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[78] +func (x *MoveTablesCompleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4763,44 +4722,51 @@ func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RemoveKeyspaceCellResponse.ProtoReflect.Descriptor instead. -func (*RemoveKeyspaceCellResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{78} +// Deprecated: Use MoveTablesCompleteRequest.ProtoReflect.Descriptor instead. +func (*MoveTablesCompleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{80} } -func (x *RemoveKeyspaceCellResponse) GetStatus() string { +func (x *MoveTablesCompleteRequest) GetClusterId() string { if x != nil { - return x.Status + return x.ClusterId } return "" } -type RunHealthCheckRequest struct { +func (x *MoveTablesCompleteRequest) GetRequest() *dev2.MoveTablesCompleteRequest { + if x != nil { + return x.Request + } + return nil +} + +type MoveTablesCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.MoveTablesCreateRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *RunHealthCheckRequest) Reset() { - *x = RunHealthCheckRequest{} +func (x *MoveTablesCreateRequest) Reset() { + *x = MoveTablesCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[79] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RunHealthCheckRequest) String() string { +func (x *MoveTablesCreateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RunHealthCheckRequest) ProtoMessage() {} +func (*MoveTablesCreateRequest) ProtoMessage() {} -func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[79] +func (x *MoveTablesCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4811,51 +4777,55 @@ func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. -func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{79} +// Deprecated: Use MoveTablesCreateRequest.ProtoReflect.Descriptor instead. +func (*MoveTablesCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{81} } -func (x *RunHealthCheckRequest) GetAlias() *dev1.TabletAlias { +func (x *MoveTablesCreateRequest) GetClusterId() string { if x != nil { - return x.Alias + return x.ClusterId } - return nil + return "" } -func (x *RunHealthCheckRequest) GetClusterIds() []string { +func (x *MoveTablesCreateRequest) GetRequest() *dev2.MoveTablesCreateRequest { if x != nil { - return x.ClusterIds + return x.Request } return nil } -type RunHealthCheckResponse struct { +type PingTabletRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + // Unique (per cluster) tablet alias of the standard form: "$cell-$uid" + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + // ClusterIDs is an optional parameter to narrow the scope of the search, if + // the caller knows which cluster the tablet may be in, or, to disambiguate + // if multiple clusters have a tablet with the same hostname. + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *RunHealthCheckResponse) Reset() { - *x = RunHealthCheckResponse{} +func (x *PingTabletRequest) Reset() { + *x = PingTabletRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[80] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RunHealthCheckResponse) String() string { +func (x *PingTabletRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RunHealthCheckResponse) ProtoMessage() {} +func (*PingTabletRequest) ProtoMessage() {} -func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[80] +func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4866,51 +4836,51 @@ func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. -func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{80} +// Deprecated: Use PingTabletRequest.ProtoReflect.Descriptor instead. +func (*PingTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{82} } -func (x *RunHealthCheckResponse) GetStatus() string { +func (x *PingTabletRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.Status + return x.Alias } - return "" + return nil } -func (x *RunHealthCheckResponse) GetCluster() *Cluster { +func (x *PingTabletRequest) GetClusterIds() []string { if x != nil { - return x.Cluster + return x.ClusterIds } return nil } -type SetReadOnlyRequest struct { +type PingTabletResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (x *SetReadOnlyRequest) Reset() { - *x = SetReadOnlyRequest{} +func (x *PingTabletResponse) Reset() { + *x = PingTabletResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[81] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetReadOnlyRequest) String() string { +func (x *PingTabletResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetReadOnlyRequest) ProtoMessage() {} +func (*PingTabletResponse) ProtoMessage() {} -func (x *SetReadOnlyRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[81] +func (x *PingTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4921,48 +4891,51 @@ func (x *SetReadOnlyRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetReadOnlyRequest.ProtoReflect.Descriptor instead. -func (*SetReadOnlyRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{81} +// Deprecated: Use PingTabletResponse.ProtoReflect.Descriptor instead. +func (*PingTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{83} } -func (x *SetReadOnlyRequest) GetAlias() *dev1.TabletAlias { +func (x *PingTabletResponse) GetStatus() string { if x != nil { - return x.Alias + return x.Status } - return nil + return "" } -func (x *SetReadOnlyRequest) GetClusterIds() []string { +func (x *PingTabletResponse) GetCluster() *Cluster { if x != nil { - return x.ClusterIds + return x.Cluster } return nil } -type SetReadOnlyResponse struct { +type PlannedFailoverShardRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *dev2.PlannedReparentShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (x *SetReadOnlyResponse) Reset() { - *x = SetReadOnlyResponse{} +func (x *PlannedFailoverShardRequest) Reset() { + *x = PlannedFailoverShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[82] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetReadOnlyResponse) String() string { +func (x *PlannedFailoverShardRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetReadOnlyResponse) ProtoMessage() {} +func (*PlannedFailoverShardRequest) ProtoMessage() {} -func (x *SetReadOnlyResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[82] +func (x *PlannedFailoverShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4973,37 +4946,58 @@ func (x *SetReadOnlyResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetReadOnlyResponse.ProtoReflect.Descriptor instead. -func (*SetReadOnlyResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{82} +// Deprecated: Use PlannedFailoverShardRequest.ProtoReflect.Descriptor instead. +func (*PlannedFailoverShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{84} } -type SetReadWriteRequest struct { +func (x *PlannedFailoverShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *PlannedFailoverShardRequest) GetOptions() *dev2.PlannedReparentShardRequest { + if x != nil { + return x.Options + } + return nil +} + +type PlannedFailoverShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + // PromotedPrimary is the tablet alias that was promoted to shard primary. + // If NewPrimary was set in the request options, then this will be the + // same tablet alias. Otherwise, it will be the alias of the tablet found + // to be most up-to-date in the shard. + PromotedPrimary *dev1.TabletAlias `protobuf:"bytes,4,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` + Events []*dev5.Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` } -func (x *SetReadWriteRequest) Reset() { - *x = SetReadWriteRequest{} +func (x *PlannedFailoverShardResponse) Reset() { + *x = PlannedFailoverShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[83] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetReadWriteRequest) String() string { +func (x *PlannedFailoverShardResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetReadWriteRequest) ProtoMessage() {} +func (*PlannedFailoverShardResponse) ProtoMessage() {} -func (x *SetReadWriteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[83] +func (x *PlannedFailoverShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5014,48 +5008,74 @@ func (x *SetReadWriteRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetReadWriteRequest.ProtoReflect.Descriptor instead. -func (*SetReadWriteRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{83} +// Deprecated: Use PlannedFailoverShardResponse.ProtoReflect.Descriptor instead. +func (*PlannedFailoverShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{85} } -func (x *SetReadWriteRequest) GetAlias() *dev1.TabletAlias { +func (x *PlannedFailoverShardResponse) GetCluster() *Cluster { if x != nil { - return x.Alias + return x.Cluster } return nil } -func (x *SetReadWriteRequest) GetClusterIds() []string { +func (x *PlannedFailoverShardResponse) GetKeyspace() string { if x != nil { - return x.ClusterIds + return x.Keyspace + } + return "" +} + +func (x *PlannedFailoverShardResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *PlannedFailoverShardResponse) GetPromotedPrimary() *dev1.TabletAlias { + if x != nil { + return x.PromotedPrimary } return nil } -type SetReadWriteResponse struct { +func (x *PlannedFailoverShardResponse) GetEvents() []*dev5.Event { + if x != nil { + return x.Events + } + return nil +} + +type RebuildKeyspaceGraphRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + AllowPartial bool `protobuf:"varint,4,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"` } -func (x *SetReadWriteResponse) Reset() { - *x = SetReadWriteResponse{} +func (x *RebuildKeyspaceGraphRequest) Reset() { + *x = RebuildKeyspaceGraphRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[84] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetReadWriteResponse) String() string { +func (x *RebuildKeyspaceGraphRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetReadWriteResponse) ProtoMessage() {} +func (*RebuildKeyspaceGraphRequest) ProtoMessage() {} -func (x *SetReadWriteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[84] +func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5066,92 +5086,64 @@ func (x *SetReadWriteResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetReadWriteResponse.ProtoReflect.Descriptor instead. -func (*SetReadWriteResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{84} -} - -type StartReplicationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +// Deprecated: Use RebuildKeyspaceGraphRequest.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{86} } -func (x *StartReplicationRequest) Reset() { - *x = StartReplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *RebuildKeyspaceGraphRequest) GetClusterId() string { + if x != nil { + return x.ClusterId } + return "" } -func (x *StartReplicationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StartReplicationRequest) ProtoMessage() {} - -func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[85] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *RebuildKeyspaceGraphRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace } - return mi.MessageOf(x) -} - -// Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. -func (*StartReplicationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{85} + return "" } -func (x *StartReplicationRequest) GetAlias() *dev1.TabletAlias { +func (x *RebuildKeyspaceGraphRequest) GetCells() []string { if x != nil { - return x.Alias + return x.Cells } return nil } -func (x *StartReplicationRequest) GetClusterIds() []string { +func (x *RebuildKeyspaceGraphRequest) GetAllowPartial() bool { if x != nil { - return x.ClusterIds + return x.AllowPartial } - return nil + return false } -type StartReplicationResponse struct { +type RebuildKeyspaceGraphResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (x *StartReplicationResponse) Reset() { - *x = StartReplicationResponse{} +func (x *RebuildKeyspaceGraphResponse) Reset() { + *x = RebuildKeyspaceGraphResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[86] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StartReplicationResponse) String() string { +func (x *RebuildKeyspaceGraphResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StartReplicationResponse) ProtoMessage() {} +func (*RebuildKeyspaceGraphResponse) ProtoMessage() {} -func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[86] +func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5162,26 +5154,19 @@ func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. -func (*StartReplicationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{86} +// Deprecated: Use RebuildKeyspaceGraphResponse.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{87} } -func (x *StartReplicationResponse) GetStatus() string { +func (x *RebuildKeyspaceGraphResponse) GetStatus() string { if x != nil { return x.Status } return "" } -func (x *StartReplicationResponse) GetCluster() *Cluster { - if x != nil { - return x.Cluster - } - return nil -} - -type StopReplicationRequest struct { +type RefreshStateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -5190,23 +5175,23 @@ type StopReplicationRequest struct { ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *StopReplicationRequest) Reset() { - *x = StopReplicationRequest{} +func (x *RefreshStateRequest) Reset() { + *x = RefreshStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[87] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationRequest) String() string { +func (x *RefreshStateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationRequest) ProtoMessage() {} +func (*RefreshStateRequest) ProtoMessage() {} -func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[87] +func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5217,26 +5202,26 @@ func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. -func (*StopReplicationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{87} +// Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. +func (*RefreshStateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{88} } -func (x *StopReplicationRequest) GetAlias() *dev1.TabletAlias { +func (x *RefreshStateRequest) GetAlias() *dev1.TabletAlias { if x != nil { return x.Alias } return nil } -func (x *StopReplicationRequest) GetClusterIds() []string { +func (x *RefreshStateRequest) GetClusterIds() []string { if x != nil { return x.ClusterIds } return nil } -type StopReplicationResponse struct { +type RefreshStateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -5245,23 +5230,23 @@ type StopReplicationResponse struct { Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (x *StopReplicationResponse) Reset() { - *x = StopReplicationResponse{} +func (x *RefreshStateResponse) Reset() { + *x = RefreshStateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[88] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StopReplicationResponse) String() string { +func (x *RefreshStateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StopReplicationResponse) ProtoMessage() {} +func (*RefreshStateResponse) ProtoMessage() {} -func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[88] +func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5272,53 +5257,91 @@ func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. -func (*StopReplicationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{88} +// Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. +func (*RefreshStateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{89} } -func (x *StopReplicationResponse) GetStatus() string { +func (x *RefreshStateResponse) GetStatus() string { if x != nil { return x.Status } return "" } -func (x *StopReplicationResponse) GetCluster() *Cluster { +func (x *RefreshStateResponse) GetCluster() *Cluster { if x != nil { return x.Cluster } return nil } -type TabletExternallyPromotedRequest struct { +type ReloadSchemasRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Tablet is the alias of the tablet that was promoted externally and should - // be updated to the shard primary in the topo. - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Keyspaces, if set, will reload schemas across one or more keyspaces. A + // keyspace not existing in a cluster will not fail the overall request. + // + // Superceded by KeyspaceShards and Tablets, in that order. + Keyspaces []string `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // KeyspaceShards, if set, will reload schemas across one or more shards. + // Each element must be a valid keyspace/shard according to + // topoproto.ParseKeyspaceShard. A shard not existing in a cluster will not + // fail the overall request. + // + // Supercedes Keyspaces, and is superceded by Tablets. + KeyspaceShards []string `protobuf:"bytes,2,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` + // Tablets, if set will reload schemas across one or more tablets. + // Supercedes both Keyspaces and KeyspaceShards. + Tablets []*dev1.TabletAlias `protobuf:"bytes,3,rep,name=tablets,proto3" json:"tablets,omitempty"` + // ClusterIds optionally restricts the reload operation to clusters with + // the specified IDs. An empty list of ClusterIds will operate on all + // clusters. + ClusterIds []string `protobuf:"bytes,4,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Concurrency controls the number of tablets to reload at any given time. + // Its semantics depend on whether the request is for keyspace, shard, or + // tablet mode. + // + // In Keyspaces mode, Concurrency is the number of tablets to reload at once + // *per keyspace*. + // + // In KeyspaceShards mode, Concurrency is the number of tablets to reload at + // once *per shard*. + // + // In Tablets mode, Concurrency is the number of tablets to reload at once + // *per cluster*. + Concurrency int32 `protobuf:"varint,5,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + // WaitPosition is the replication position that replicating tablets should + // reach prior to reloading their schemas. + // + // Does not apply in Tablets mode. + WaitPosition string `protobuf:"bytes,6,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + // IncludePrimary, if set, will reload the schemas on PRIMARY tablets as + // well as REPLICA and RDONLY. + // + // Does not apply in Tablets mode. + IncludePrimary bool `protobuf:"varint,7,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` } -func (x *TabletExternallyPromotedRequest) Reset() { - *x = TabletExternallyPromotedRequest{} +func (x *ReloadSchemasRequest) Reset() { + *x = ReloadSchemasRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[89] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TabletExternallyPromotedRequest) String() string { +func (x *ReloadSchemasRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TabletExternallyPromotedRequest) ProtoMessage() {} +func (*ReloadSchemasRequest) ProtoMessage() {} -func (x *TabletExternallyPromotedRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[89] +func (x *ReloadSchemasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[90] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5329,115 +5352,81 @@ func (x *TabletExternallyPromotedRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TabletExternallyPromotedRequest.ProtoReflect.Descriptor instead. -func (*TabletExternallyPromotedRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{89} +// Deprecated: Use ReloadSchemasRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{90} } -func (x *TabletExternallyPromotedRequest) GetAlias() *dev1.TabletAlias { +func (x *ReloadSchemasRequest) GetKeyspaces() []string { if x != nil { - return x.Alias + return x.Keyspaces } return nil } -func (x *TabletExternallyPromotedRequest) GetClusterIds() []string { +func (x *ReloadSchemasRequest) GetKeyspaceShards() []string { if x != nil { - return x.ClusterIds + return x.KeyspaceShards } return nil } -type TabletExternallyPromotedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` - NewPrimary *dev1.TabletAlias `protobuf:"bytes,4,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` - OldPrimary *dev1.TabletAlias `protobuf:"bytes,5,opt,name=old_primary,json=oldPrimary,proto3" json:"old_primary,omitempty"` +func (x *ReloadSchemasRequest) GetTablets() []*dev1.TabletAlias { + if x != nil { + return x.Tablets + } + return nil } -func (x *TabletExternallyPromotedResponse) Reset() { - *x = TabletExternallyPromotedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ReloadSchemasRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds } + return nil } -func (x *TabletExternallyPromotedResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *ReloadSchemasRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 } -func (*TabletExternallyPromotedResponse) ProtoMessage() {} +func (x *ReloadSchemasRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} -func (x *TabletExternallyPromotedResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[90] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TabletExternallyPromotedResponse.ProtoReflect.Descriptor instead. -func (*TabletExternallyPromotedResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{90} -} - -func (x *TabletExternallyPromotedResponse) GetCluster() *Cluster { - if x != nil { - return x.Cluster - } - return nil -} - -func (x *TabletExternallyPromotedResponse) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *TabletExternallyPromotedResponse) GetShard() string { - if x != nil { - return x.Shard - } - return "" -} - -func (x *TabletExternallyPromotedResponse) GetNewPrimary() *dev1.TabletAlias { - if x != nil { - return x.NewPrimary - } - return nil -} - -func (x *TabletExternallyPromotedResponse) GetOldPrimary() *dev1.TabletAlias { +func (x *ReloadSchemasRequest) GetIncludePrimary() bool { if x != nil { - return x.OldPrimary + return x.IncludePrimary } - return nil + return false } -type TabletExternallyReparentedRequest struct { +type ReloadSchemasResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // KeyspaceResults is the list of KeyspaceResult objects for a ReloadSchemas + // operation. It is only set when the request mandates Keyspaces mode (see + // ReloadSchemasRequest). + KeyspaceResults []*ReloadSchemasResponse_KeyspaceResult `protobuf:"bytes,1,rep,name=keyspace_results,json=keyspaceResults,proto3" json:"keyspace_results,omitempty"` + // ShardResults is the list of ShardResult objects for a ReloadSchemas + // operation. It is only set when the request mandates KeyspaceShards mode + // (see ReloadSchemasRequest). + ShardResults []*ReloadSchemasResponse_ShardResult `protobuf:"bytes,2,rep,name=shard_results,json=shardResults,proto3" json:"shard_results,omitempty"` + // TabletResults is the list of TabletResult objects for a ReloadSchemas + // operation. It is only set when the request mandates Tablets mode (see + // ReloadSchemasRequest). + TabletResults []*ReloadSchemasResponse_TabletResult `protobuf:"bytes,3,rep,name=tablet_results,json=tabletResults,proto3" json:"tablet_results,omitempty"` } -func (x *TabletExternallyReparentedRequest) Reset() { - *x = TabletExternallyReparentedRequest{} +func (x *ReloadSchemasResponse) Reset() { + *x = ReloadSchemasResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5445,13 +5434,13 @@ func (x *TabletExternallyReparentedRequest) Reset() { } } -func (x *TabletExternallyReparentedRequest) String() string { +func (x *ReloadSchemasResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TabletExternallyReparentedRequest) ProtoMessage() {} +func (*ReloadSchemasResponse) ProtoMessage() {} -func (x *TabletExternallyReparentedRequest) ProtoReflect() protoreflect.Message { +func (x *ReloadSchemasResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5463,36 +5452,47 @@ func (x *TabletExternallyReparentedRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use TabletExternallyReparentedRequest.ProtoReflect.Descriptor instead. -func (*TabletExternallyReparentedRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ReloadSchemasResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{91} } -func (x *TabletExternallyReparentedRequest) GetAlias() *dev1.TabletAlias { +func (x *ReloadSchemasResponse) GetKeyspaceResults() []*ReloadSchemasResponse_KeyspaceResult { if x != nil { - return x.Alias + return x.KeyspaceResults } return nil } -func (x *TabletExternallyReparentedRequest) GetClusterIds() []string { +func (x *ReloadSchemasResponse) GetShardResults() []*ReloadSchemasResponse_ShardResult { if x != nil { - return x.ClusterIds + return x.ShardResults } return nil } -type ValidateRequest struct { +func (x *ReloadSchemasResponse) GetTabletResults() []*ReloadSchemasResponse_TabletResult { + if x != nil { + return x.TabletResults + } + return nil +} + +type ReloadSchemaShardRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - PingTablets bool `protobuf:"varint,2,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + WaitPosition string `protobuf:"bytes,4,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + IncludePrimary bool `protobuf:"varint,5,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` + Concurrency int32 `protobuf:"varint,6,opt,name=concurrency,proto3" json:"concurrency,omitempty"` } -func (x *ValidateRequest) Reset() { - *x = ValidateRequest{} +func (x *ReloadSchemaShardRequest) Reset() { + *x = ReloadSchemaShardRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5500,13 +5500,13 @@ func (x *ValidateRequest) Reset() { } } -func (x *ValidateRequest) String() string { +func (x *ReloadSchemaShardRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateRequest) ProtoMessage() {} +func (*ReloadSchemaShardRequest) ProtoMessage() {} -func (x *ValidateRequest) ProtoReflect() protoreflect.Message { +func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[92] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5518,37 +5518,63 @@ func (x *ValidateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead. -func (*ValidateRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ReloadSchemaShardRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{92} } -func (x *ValidateRequest) GetClusterId() string { +func (x *ReloadSchemaShardRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *ValidateRequest) GetPingTablets() bool { +func (x *ReloadSchemaShardRequest) GetKeyspace() string { if x != nil { - return x.PingTablets + return x.Keyspace + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetIncludePrimary() bool { + if x != nil { + return x.IncludePrimary } return false } -type ValidateKeyspaceRequest struct { +func (x *ReloadSchemaShardRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +type ReloadSchemaShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - PingTablets bool `protobuf:"varint,3,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` + Events []*dev5.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` } -func (x *ValidateKeyspaceRequest) Reset() { - *x = ValidateKeyspaceRequest{} +func (x *ReloadSchemaShardResponse) Reset() { + *x = ReloadSchemaShardResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5556,13 +5582,13 @@ func (x *ValidateKeyspaceRequest) Reset() { } } -func (x *ValidateKeyspaceRequest) String() string { +func (x *ReloadSchemaShardResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateKeyspaceRequest) ProtoMessage() {} +func (*ReloadSchemaShardResponse) ProtoMessage() {} -func (x *ValidateKeyspaceRequest) ProtoReflect() protoreflect.Message { +func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[93] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5574,43 +5600,29 @@ func (x *ValidateKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*ValidateKeyspaceRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ReloadSchemaShardResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{93} } -func (x *ValidateKeyspaceRequest) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *ValidateKeyspaceRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *ValidateKeyspaceRequest) GetPingTablets() bool { +func (x *ReloadSchemaShardResponse) GetEvents() []*dev5.Event { if x != nil { - return x.PingTablets + return x.Events } - return false + return nil } -type ValidateSchemaKeyspaceRequest struct { +type RefreshTabletReplicationSourceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *ValidateSchemaKeyspaceRequest) Reset() { - *x = ValidateSchemaKeyspaceRequest{} +func (x *RefreshTabletReplicationSourceRequest) Reset() { + *x = RefreshTabletReplicationSourceRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5618,13 +5630,13 @@ func (x *ValidateSchemaKeyspaceRequest) Reset() { } } -func (x *ValidateSchemaKeyspaceRequest) String() string { +func (x *RefreshTabletReplicationSourceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateSchemaKeyspaceRequest) ProtoMessage() {} +func (*RefreshTabletReplicationSourceRequest) ProtoMessage() {} -func (x *ValidateSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { +func (x *RefreshTabletReplicationSourceRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[94] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5636,38 +5648,38 @@ func (x *ValidateSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*ValidateSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use RefreshTabletReplicationSourceRequest.ProtoReflect.Descriptor instead. +func (*RefreshTabletReplicationSourceRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{94} } -func (x *ValidateSchemaKeyspaceRequest) GetClusterId() string { +func (x *RefreshTabletReplicationSourceRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.ClusterId + return x.Alias } - return "" + return nil } -func (x *ValidateSchemaKeyspaceRequest) GetKeyspace() string { +func (x *RefreshTabletReplicationSourceRequest) GetClusterIds() []string { if x != nil { - return x.Keyspace + return x.ClusterIds } - return "" + return nil } -type ValidateShardRequest struct { +type RefreshTabletReplicationSourceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` - PingTablets bool `protobuf:"varint,4,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Primary *dev1.TabletAlias `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` + Cluster *Cluster `protobuf:"bytes,4,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (x *ValidateShardRequest) Reset() { - *x = ValidateShardRequest{} +func (x *RefreshTabletReplicationSourceResponse) Reset() { + *x = RefreshTabletReplicationSourceResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5675,13 +5687,13 @@ func (x *ValidateShardRequest) Reset() { } } -func (x *ValidateShardRequest) String() string { +func (x *RefreshTabletReplicationSourceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateShardRequest) ProtoMessage() {} +func (*RefreshTabletReplicationSourceResponse) ProtoMessage() {} -func (x *ValidateShardRequest) ProtoReflect() protoreflect.Message { +func (x *RefreshTabletReplicationSourceResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[95] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5693,50 +5705,53 @@ func (x *ValidateShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateShardRequest.ProtoReflect.Descriptor instead. -func (*ValidateShardRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use RefreshTabletReplicationSourceResponse.ProtoReflect.Descriptor instead. +func (*RefreshTabletReplicationSourceResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{95} } -func (x *ValidateShardRequest) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *ValidateShardRequest) GetKeyspace() string { +func (x *RefreshTabletReplicationSourceResponse) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *ValidateShardRequest) GetShard() string { +func (x *RefreshTabletReplicationSourceResponse) GetShard() string { if x != nil { return x.Shard } return "" } -func (x *ValidateShardRequest) GetPingTablets() bool { +func (x *RefreshTabletReplicationSourceResponse) GetPrimary() *dev1.TabletAlias { if x != nil { - return x.PingTablets + return x.Primary } - return false + return nil } -type ValidateVersionKeyspaceRequest struct { +func (x *RefreshTabletReplicationSourceResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type RemoveKeyspaceCellRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` + Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"` } -func (x *ValidateVersionKeyspaceRequest) Reset() { - *x = ValidateVersionKeyspaceRequest{} +func (x *RemoveKeyspaceCellRequest) Reset() { + *x = RemoveKeyspaceCellRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5744,13 +5759,13 @@ func (x *ValidateVersionKeyspaceRequest) Reset() { } } -func (x *ValidateVersionKeyspaceRequest) String() string { +func (x *RemoveKeyspaceCellRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateVersionKeyspaceRequest) ProtoMessage() {} +func (*RemoveKeyspaceCellRequest) ProtoMessage() {} -func (x *ValidateVersionKeyspaceRequest) ProtoReflect() protoreflect.Message { +func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[96] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5762,37 +5777,56 @@ func (x *ValidateVersionKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateVersionKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*ValidateVersionKeyspaceRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use RemoveKeyspaceCellRequest.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{96} } -func (x *ValidateVersionKeyspaceRequest) GetClusterId() string { +func (x *RemoveKeyspaceCellRequest) GetClusterId() string { if x != nil { return x.ClusterId } return "" } -func (x *ValidateVersionKeyspaceRequest) GetKeyspace() string { +func (x *RemoveKeyspaceCellRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -type ValidateVersionShardRequest struct { +func (x *RemoveKeyspaceCellRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *RemoveKeyspaceCellRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *RemoveKeyspaceCellRequest) GetRecursive() bool { + if x != nil { + return x.Recursive + } + return false +} + +type RemoveKeyspaceCellResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (x *ValidateVersionShardRequest) Reset() { - *x = ValidateVersionShardRequest{} +func (x *RemoveKeyspaceCellResponse) Reset() { + *x = RemoveKeyspaceCellResponse{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5800,13 +5834,13 @@ func (x *ValidateVersionShardRequest) Reset() { } } -func (x *ValidateVersionShardRequest) String() string { +func (x *RemoveKeyspaceCellResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ValidateVersionShardRequest) ProtoMessage() {} +func (*RemoveKeyspaceCellResponse) ProtoMessage() {} -func (x *ValidateVersionShardRequest) ProtoReflect() protoreflect.Message { +func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[97] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5818,44 +5852,29 @@ func (x *ValidateVersionShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ValidateVersionShardRequest.ProtoReflect.Descriptor instead. -func (*ValidateVersionShardRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use RemoveKeyspaceCellResponse.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellResponse) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{97} } -func (x *ValidateVersionShardRequest) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *ValidateVersionShardRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *ValidateVersionShardRequest) GetShard() string { +func (x *RemoveKeyspaceCellResponse) GetStatus() string { if x != nil { - return x.Shard + return x.Status } return "" } -type VTExplainRequest struct { +type RetrySchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.RetrySchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *VTExplainRequest) Reset() { - *x = VTExplainRequest{} +func (x *RetrySchemaMigrationRequest) Reset() { + *x = RetrySchemaMigrationRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5863,13 +5882,13 @@ func (x *VTExplainRequest) Reset() { } } -func (x *VTExplainRequest) String() string { +func (x *RetrySchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VTExplainRequest) ProtoMessage() {} +func (*RetrySchemaMigrationRequest) ProtoMessage() {} -func (x *VTExplainRequest) ProtoReflect() protoreflect.Message { +func (x *RetrySchemaMigrationRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[98] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5881,42 +5900,36 @@ func (x *VTExplainRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VTExplainRequest.ProtoReflect.Descriptor instead. -func (*VTExplainRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use RetrySchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*RetrySchemaMigrationRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{98} } -func (x *VTExplainRequest) GetCluster() string { - if x != nil { - return x.Cluster - } - return "" -} - -func (x *VTExplainRequest) GetKeyspace() string { +func (x *RetrySchemaMigrationRequest) GetClusterId() string { if x != nil { - return x.Keyspace + return x.ClusterId } return "" } -func (x *VTExplainRequest) GetSql() string { +func (x *RetrySchemaMigrationRequest) GetRequest() *dev2.RetrySchemaMigrationRequest { if x != nil { - return x.Sql + return x.Request } - return "" + return nil } -type VTExplainResponse struct { +type RunHealthCheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *VTExplainResponse) Reset() { - *x = VTExplainResponse{} +func (x *RunHealthCheckRequest) Reset() { + *x = RunHealthCheckRequest{} if protoimpl.UnsafeEnabled { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5924,13 +5937,13 @@ func (x *VTExplainResponse) Reset() { } } -func (x *VTExplainResponse) String() string { +func (x *RunHealthCheckRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VTExplainResponse) ProtoMessage() {} +func (*RunHealthCheckRequest) ProtoMessage() {} -func (x *VTExplainResponse) ProtoReflect() protoreflect.Message { +func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5942,44 +5955,51 @@ func (x *VTExplainResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VTExplainResponse.ProtoReflect.Descriptor instead. -func (*VTExplainResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. +func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{99} } -func (x *VTExplainResponse) GetResponse() string { +func (x *RunHealthCheckRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.Response + return x.Alias } - return "" + return nil } -type Schema_ShardTableSize struct { +func (x *RunHealthCheckRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type RunHealthCheckResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RowCount uint64 `protobuf:"varint,1,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` - DataLength uint64 `protobuf:"varint,2,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (x *Schema_ShardTableSize) Reset() { - *x = Schema_ShardTableSize{} +func (x *RunHealthCheckResponse) Reset() { + *x = RunHealthCheckResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[103] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Schema_ShardTableSize) String() string { +func (x *RunHealthCheckResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Schema_ShardTableSize) ProtoMessage() {} +func (*RunHealthCheckResponse) ProtoMessage() {} -func (x *Schema_ShardTableSize) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[103] +func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5990,54 +6010,51 @@ func (x *Schema_ShardTableSize) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Schema_ShardTableSize.ProtoReflect.Descriptor instead. -func (*Schema_ShardTableSize) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{7, 1} +// Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. +func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{100} } -func (x *Schema_ShardTableSize) GetRowCount() uint64 { +func (x *RunHealthCheckResponse) GetStatus() string { if x != nil { - return x.RowCount + return x.Status } - return 0 + return "" } -func (x *Schema_ShardTableSize) GetDataLength() uint64 { +func (x *RunHealthCheckResponse) GetCluster() *Cluster { if x != nil { - return x.DataLength + return x.Cluster } - return 0 + return nil } -// TableSize aggregates table size information across all shards containing -// in the given keyspace and cluster, as well as per-shard size information. -type Schema_TableSize struct { +type ReshardCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RowCount uint64 `protobuf:"varint,1,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` - DataLength uint64 `protobuf:"varint,2,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"` - ByShard map[string]*Schema_ShardTableSize `protobuf:"bytes,3,rep,name=by_shard,json=byShard,proto3" json:"by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.ReshardCreateRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` } -func (x *Schema_TableSize) Reset() { - *x = Schema_TableSize{} +func (x *ReshardCreateRequest) Reset() { + *x = ReshardCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[104] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Schema_TableSize) String() string { +func (x *ReshardCreateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Schema_TableSize) ProtoMessage() {} +func (*ReshardCreateRequest) ProtoMessage() {} -func (x *Schema_TableSize) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[104] +func (x *ReshardCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[101] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6048,64 +6065,51 @@ func (x *Schema_TableSize) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Schema_TableSize.ProtoReflect.Descriptor instead. -func (*Schema_TableSize) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{7, 2} -} - -func (x *Schema_TableSize) GetRowCount() uint64 { - if x != nil { - return x.RowCount - } - return 0 +// Deprecated: Use ReshardCreateRequest.ProtoReflect.Descriptor instead. +func (*ReshardCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{101} } -func (x *Schema_TableSize) GetDataLength() uint64 { +func (x *ReshardCreateRequest) GetClusterId() string { if x != nil { - return x.DataLength + return x.ClusterId } - return 0 + return "" } -func (x *Schema_TableSize) GetByShard() map[string]*Schema_ShardTableSize { +func (x *ReshardCreateRequest) GetRequest() *dev2.ReshardCreateRequest { if x != nil { - return x.ByShard + return x.Request } return nil } -// KeyspaceResult is a grouping of a Keyspace and any log events that -// occurred in that keyspace during a schema reload (usually associated with -// partial errors - ReloadSchemas requests are best-effort). -// -// It is only set when a ReloadSchemas request mandates Keyspaces mode -// (see ReloadSchemasRequest). -type ReloadSchemasResponse_KeyspaceResult struct { +type SetReadOnlyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Events []*dev5.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` } -func (x *ReloadSchemasResponse_KeyspaceResult) Reset() { - *x = ReloadSchemasResponse_KeyspaceResult{} +func (x *SetReadOnlyRequest) Reset() { + *x = SetReadOnlyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[108] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemasResponse_KeyspaceResult) String() string { +func (x *SetReadOnlyRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemasResponse_KeyspaceResult) ProtoMessage() {} +func (*SetReadOnlyRequest) ProtoMessage() {} -func (x *ReloadSchemasResponse_KeyspaceResult) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[108] +func (x *SetReadOnlyRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[102] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6116,57 +6120,89 @@ func (x *ReloadSchemasResponse_KeyspaceResult) ProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemasResponse_KeyspaceResult.ProtoReflect.Descriptor instead. -func (*ReloadSchemasResponse_KeyspaceResult) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{72, 0} +// Deprecated: Use SetReadOnlyRequest.ProtoReflect.Descriptor instead. +func (*SetReadOnlyRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{102} } -func (x *ReloadSchemasResponse_KeyspaceResult) GetKeyspace() *Keyspace { +func (x *SetReadOnlyRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.Keyspace + return x.Alias } return nil } -func (x *ReloadSchemasResponse_KeyspaceResult) GetEvents() []*dev5.Event { +func (x *SetReadOnlyRequest) GetClusterIds() []string { if x != nil { - return x.Events + return x.ClusterIds } return nil } -// ShardResult is a grouping of a Shard and any log events that occurred in -// that shard during a schema reload (usually associated with partial -// errors - ReloadSchemas requests are best-effort). -// -// It is only set when a ReloadSchemas request mandates KeyspaceShards mode -// (see ReloadSchemasRequest). -type ReloadSchemasResponse_ShardResult struct { +type SetReadOnlyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields +} - Shard *Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` - Events []*dev5.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` +func (x *SetReadOnlyResponse) Reset() { + *x = SetReadOnlyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (x *ReloadSchemasResponse_ShardResult) Reset() { - *x = ReloadSchemasResponse_ShardResult{} +func (x *SetReadOnlyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadOnlyResponse) ProtoMessage() {} + +func (x *SetReadOnlyResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadOnlyResponse.ProtoReflect.Descriptor instead. +func (*SetReadOnlyResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{103} +} + +type SetReadWriteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *SetReadWriteRequest) Reset() { + *x = SetReadWriteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[109] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemasResponse_ShardResult) String() string { +func (x *SetReadWriteRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemasResponse_ShardResult) ProtoMessage() {} +func (*SetReadWriteRequest) ProtoMessage() {} -func (x *ReloadSchemasResponse_ShardResult) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[109] +func (x *SetReadWriteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[104] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6177,58 +6213,89 @@ func (x *ReloadSchemasResponse_ShardResult) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemasResponse_ShardResult.ProtoReflect.Descriptor instead. -func (*ReloadSchemasResponse_ShardResult) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{72, 1} +// Deprecated: Use SetReadWriteRequest.ProtoReflect.Descriptor instead. +func (*SetReadWriteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{104} } -func (x *ReloadSchemasResponse_ShardResult) GetShard() *Shard { +func (x *SetReadWriteRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.Shard + return x.Alias } return nil } -func (x *ReloadSchemasResponse_ShardResult) GetEvents() []*dev5.Event { +func (x *SetReadWriteRequest) GetClusterIds() []string { if x != nil { - return x.Events + return x.ClusterIds } return nil } -// TabletResult is a grouping of a Tablet and the result of reloading that -// Tablet's schema. Result will either be the string "ok", or the error -// message from that tablet. Note ReloadSchemas is best-effort, so tablet's -// failing to reload is not treated as an overall failure. -// -// It is only set when a ReloadSchemas request mandates Tablets mode (see -// ReloadSchemasRequest). -type ReloadSchemasResponse_TabletResult struct { +type SetReadWriteResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields +} - Tablet *Tablet `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` - Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` +func (x *SetReadWriteResponse) Reset() { + *x = SetReadWriteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (x *ReloadSchemasResponse_TabletResult) Reset() { - *x = ReloadSchemasResponse_TabletResult{} +func (x *SetReadWriteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadWriteResponse) ProtoMessage() {} + +func (x *SetReadWriteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadWriteResponse.ProtoReflect.Descriptor instead. +func (*SetReadWriteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{105} +} + +type StartReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *StartReplicationRequest) Reset() { + *x = StartReplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[110] + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemasResponse_TabletResult) String() string { +func (x *StartReplicationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemasResponse_TabletResult) ProtoMessage() {} +func (*StartReplicationRequest) ProtoMessage() {} -func (x *ReloadSchemasResponse_TabletResult) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[110] +func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[106] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6239,86 +6306,1572 @@ func (x *ReloadSchemasResponse_TabletResult) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemasResponse_TabletResult.ProtoReflect.Descriptor instead. -func (*ReloadSchemasResponse_TabletResult) Descriptor() ([]byte, []int) { - return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{72, 2} +// Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. +func (*StartReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{106} } -func (x *ReloadSchemasResponse_TabletResult) GetTablet() *Tablet { +func (x *StartReplicationRequest) GetAlias() *dev1.TabletAlias { if x != nil { - return x.Tablet + return x.Alias } return nil } -func (x *ReloadSchemasResponse_TabletResult) GetResult() string { +func (x *StartReplicationRequest) GetClusterIds() []string { if x != nil { - return x.Result + return x.ClusterIds + } + return nil +} + +type StartReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *StartReplicationResponse) Reset() { + *x = StartReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationResponse) ProtoMessage() {} + +func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. +func (*StartReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{107} +} + +func (x *StartReplicationResponse) GetStatus() string { + if x != nil { + return x.Status } return "" } -var File_vitess_vtadmin_dev_vtadmin_proto protoreflect.FileDescriptor +func (x *StartReplicationResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} -var file_vitess_vtadmin_dev_vtadmin_proto_rawDesc = []byte{ - 0x0a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x12, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, - 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, - 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x6d, 0x79, - 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, - 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7f, 0x0a, - 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x35, - 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, - 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0xf9, - 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, - 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, - 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x1a, 0x5b, 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, - 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x01, 0x0a, 0x0f, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, - 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, - 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, - 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x1f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, +type StopReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *StopReplicationRequest) Reset() { + *x = StopReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationRequest) ProtoMessage() {} + +func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[108] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{108} +} + +func (x *StopReplicationRequest) GetAlias() *dev1.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *StopReplicationRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type StopReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *StopReplicationResponse) Reset() { + *x = StopReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationResponse) ProtoMessage() {} + +func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[109] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{109} +} + +func (x *StopReplicationResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *StopReplicationResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type TabletExternallyPromotedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Tablet is the alias of the tablet that was promoted externally and should + // be updated to the shard primary in the topo. + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *TabletExternallyPromotedRequest) Reset() { + *x = TabletExternallyPromotedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyPromotedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyPromotedRequest) ProtoMessage() {} + +func (x *TabletExternallyPromotedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[110] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyPromotedRequest.ProtoReflect.Descriptor instead. +func (*TabletExternallyPromotedRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{110} +} + +func (x *TabletExternallyPromotedRequest) GetAlias() *dev1.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *TabletExternallyPromotedRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type TabletExternallyPromotedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + NewPrimary *dev1.TabletAlias `protobuf:"bytes,4,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` + OldPrimary *dev1.TabletAlias `protobuf:"bytes,5,opt,name=old_primary,json=oldPrimary,proto3" json:"old_primary,omitempty"` +} + +func (x *TabletExternallyPromotedResponse) Reset() { + *x = TabletExternallyPromotedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyPromotedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyPromotedResponse) ProtoMessage() {} + +func (x *TabletExternallyPromotedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[111] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyPromotedResponse.ProtoReflect.Descriptor instead. +func (*TabletExternallyPromotedResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{111} +} + +func (x *TabletExternallyPromotedResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *TabletExternallyPromotedResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *TabletExternallyPromotedResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *TabletExternallyPromotedResponse) GetNewPrimary() *dev1.TabletAlias { + if x != nil { + return x.NewPrimary + } + return nil +} + +func (x *TabletExternallyPromotedResponse) GetOldPrimary() *dev1.TabletAlias { + if x != nil { + return x.OldPrimary + } + return nil +} + +type TabletExternallyReparentedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *dev1.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *TabletExternallyReparentedRequest) Reset() { + *x = TabletExternallyReparentedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyReparentedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyReparentedRequest) ProtoMessage() {} + +func (x *TabletExternallyReparentedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyReparentedRequest.ProtoReflect.Descriptor instead. +func (*TabletExternallyReparentedRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{112} +} + +func (x *TabletExternallyReparentedRequest) GetAlias() *dev1.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *TabletExternallyReparentedRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type ValidateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + PingTablets bool `protobuf:"varint,2,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateRequest) Reset() { + *x = ValidateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateRequest) ProtoMessage() {} + +func (x *ValidateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead. +func (*ValidateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{113} +} + +func (x *ValidateRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + PingTablets bool `protobuf:"varint,3,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateKeyspaceRequest) Reset() { + *x = ValidateKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[114] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{114} +} + +func (x *ValidateKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateKeyspaceRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateSchemaKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *ValidateSchemaKeyspaceRequest) Reset() { + *x = ValidateSchemaKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateSchemaKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateSchemaKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{115} +} + +func (x *ValidateSchemaKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateSchemaKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type ValidateShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + PingTablets bool `protobuf:"varint,4,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateShardRequest) Reset() { + *x = ValidateShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateShardRequest) ProtoMessage() {} + +func (x *ValidateShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[116] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateShardRequest.ProtoReflect.Descriptor instead. +func (*ValidateShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{116} +} + +func (x *ValidateShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ValidateShardRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateVersionKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *ValidateVersionKeyspaceRequest) Reset() { + *x = ValidateVersionKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateVersionKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[117] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateVersionKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{117} +} + +func (x *ValidateVersionKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateVersionKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type ValidateVersionShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *ValidateVersionShardRequest) Reset() { + *x = ValidateVersionShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionShardRequest) ProtoMessage() {} + +func (x *ValidateVersionShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[118] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionShardRequest.ProtoReflect.Descriptor instead. +func (*ValidateVersionShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{118} +} + +func (x *ValidateVersionShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateVersionShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateVersionShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +type VDiffCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.VDiffCreateRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *VDiffCreateRequest) Reset() { + *x = VDiffCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffCreateRequest) ProtoMessage() {} + +func (x *VDiffCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[119] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffCreateRequest.ProtoReflect.Descriptor instead. +func (*VDiffCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{119} +} + +func (x *VDiffCreateRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *VDiffCreateRequest) GetRequest() *dev2.VDiffCreateRequest { + if x != nil { + return x.Request + } + return nil +} + +type VDiffShowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.VDiffShowRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *VDiffShowRequest) Reset() { + *x = VDiffShowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffShowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffShowRequest) ProtoMessage() {} + +func (x *VDiffShowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[120] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffShowRequest.ProtoReflect.Descriptor instead. +func (*VDiffShowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{120} +} + +func (x *VDiffShowRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *VDiffShowRequest) GetRequest() *dev2.VDiffShowRequest { + if x != nil { + return x.Request + } + return nil +} + +type VDiffProgress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Percentage float64 `protobuf:"fixed64,1,opt,name=percentage,proto3" json:"percentage,omitempty"` + Eta string `protobuf:"bytes,2,opt,name=eta,proto3" json:"eta,omitempty"` +} + +func (x *VDiffProgress) Reset() { + *x = VDiffProgress{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffProgress) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffProgress) ProtoMessage() {} + +func (x *VDiffProgress) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[121] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffProgress.ProtoReflect.Descriptor instead. +func (*VDiffProgress) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{121} +} + +func (x *VDiffProgress) GetPercentage() float64 { + if x != nil { + return x.Percentage + } + return 0 +} + +func (x *VDiffProgress) GetEta() string { + if x != nil { + return x.Eta + } + return "" +} + +type VDiffShardReport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + RowsCompared int64 `protobuf:"varint,2,opt,name=rows_compared,json=rowsCompared,proto3" json:"rows_compared,omitempty"` + HasMismatch bool `protobuf:"varint,3,opt,name=has_mismatch,json=hasMismatch,proto3" json:"has_mismatch,omitempty"` + StartedAt string `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + CompletedAt string `protobuf:"bytes,5,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` + Progress *VDiffProgress `protobuf:"bytes,6,opt,name=progress,proto3" json:"progress,omitempty"` +} + +func (x *VDiffShardReport) Reset() { + *x = VDiffShardReport{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffShardReport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffShardReport) ProtoMessage() {} + +func (x *VDiffShardReport) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[122] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffShardReport.ProtoReflect.Descriptor instead. +func (*VDiffShardReport) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{122} +} + +func (x *VDiffShardReport) GetState() string { + if x != nil { + return x.State + } + return "" +} + +func (x *VDiffShardReport) GetRowsCompared() int64 { + if x != nil { + return x.RowsCompared + } + return 0 +} + +func (x *VDiffShardReport) GetHasMismatch() bool { + if x != nil { + return x.HasMismatch + } + return false +} + +func (x *VDiffShardReport) GetStartedAt() string { + if x != nil { + return x.StartedAt + } + return "" +} + +func (x *VDiffShardReport) GetCompletedAt() string { + if x != nil { + return x.CompletedAt + } + return "" +} + +func (x *VDiffShardReport) GetProgress() *VDiffProgress { + if x != nil { + return x.Progress + } + return nil +} + +type VDiffShowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShardReport map[string]*VDiffShardReport `protobuf:"bytes,1,rep,name=shard_report,json=shardReport,proto3" json:"shard_report,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *VDiffShowResponse) Reset() { + *x = VDiffShowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffShowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffShowResponse) ProtoMessage() {} + +func (x *VDiffShowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[123] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffShowResponse.ProtoReflect.Descriptor instead. +func (*VDiffShowResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{123} +} + +func (x *VDiffShowResponse) GetShardReport() map[string]*VDiffShardReport { + if x != nil { + return x.ShardReport + } + return nil +} + +type VTExplainRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` +} + +func (x *VTExplainRequest) Reset() { + *x = VTExplainRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VTExplainRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VTExplainRequest) ProtoMessage() {} + +func (x *VTExplainRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[124] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VTExplainRequest.ProtoReflect.Descriptor instead. +func (*VTExplainRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{124} +} + +func (x *VTExplainRequest) GetCluster() string { + if x != nil { + return x.Cluster + } + return "" +} + +func (x *VTExplainRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *VTExplainRequest) GetSql() string { + if x != nil { + return x.Sql + } + return "" +} + +type VTExplainResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` +} + +func (x *VTExplainResponse) Reset() { + *x = VTExplainResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VTExplainResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VTExplainResponse) ProtoMessage() {} + +func (x *VTExplainResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[125] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VTExplainResponse.ProtoReflect.Descriptor instead. +func (*VTExplainResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{125} +} + +func (x *VTExplainResponse) GetResponse() string { + if x != nil { + return x.Response + } + return "" +} + +type Schema_ShardTableSize struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowCount uint64 `protobuf:"varint,1,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + DataLength uint64 `protobuf:"varint,2,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"` +} + +func (x *Schema_ShardTableSize) Reset() { + *x = Schema_ShardTableSize{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Schema_ShardTableSize) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Schema_ShardTableSize) ProtoMessage() {} + +func (x *Schema_ShardTableSize) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[129] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Schema_ShardTableSize.ProtoReflect.Descriptor instead. +func (*Schema_ShardTableSize) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{7, 1} +} + +func (x *Schema_ShardTableSize) GetRowCount() uint64 { + if x != nil { + return x.RowCount + } + return 0 +} + +func (x *Schema_ShardTableSize) GetDataLength() uint64 { + if x != nil { + return x.DataLength + } + return 0 +} + +// TableSize aggregates table size information across all shards containing +// in the given keyspace and cluster, as well as per-shard size information. +type Schema_TableSize struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowCount uint64 `protobuf:"varint,1,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + DataLength uint64 `protobuf:"varint,2,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"` + ByShard map[string]*Schema_ShardTableSize `protobuf:"bytes,3,rep,name=by_shard,json=byShard,proto3" json:"by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *Schema_TableSize) Reset() { + *x = Schema_TableSize{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Schema_TableSize) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Schema_TableSize) ProtoMessage() {} + +func (x *Schema_TableSize) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[130] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Schema_TableSize.ProtoReflect.Descriptor instead. +func (*Schema_TableSize) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{7, 2} +} + +func (x *Schema_TableSize) GetRowCount() uint64 { + if x != nil { + return x.RowCount + } + return 0 +} + +func (x *Schema_TableSize) GetDataLength() uint64 { + if x != nil { + return x.DataLength + } + return 0 +} + +func (x *Schema_TableSize) GetByShard() map[string]*Schema_ShardTableSize { + if x != nil { + return x.ByShard + } + return nil +} + +type GetSchemaMigrationsRequest_ClusterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *dev2.GetSchemaMigrationsRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) Reset() { + *x = GetSchemaMigrationsRequest_ClusterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaMigrationsRequest_ClusterRequest) ProtoMessage() {} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[132] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaMigrationsRequest_ClusterRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsRequest_ClusterRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{50, 0} +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) GetRequest() *dev2.GetSchemaMigrationsRequest { + if x != nil { + return x.Request + } + return nil +} + +// KeyspaceResult is a grouping of a Keyspace and any log events that +// occurred in that keyspace during a schema reload (usually associated with +// partial errors - ReloadSchemas requests are best-effort). +// +// It is only set when a ReloadSchemas request mandates Keyspaces mode +// (see ReloadSchemasRequest). +type ReloadSchemasResponse_KeyspaceResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Events []*dev5.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *ReloadSchemasResponse_KeyspaceResult) Reset() { + *x = ReloadSchemasResponse_KeyspaceResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasResponse_KeyspaceResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasResponse_KeyspaceResult) ProtoMessage() {} + +func (x *ReloadSchemasResponse_KeyspaceResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[135] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasResponse_KeyspaceResult.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse_KeyspaceResult) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{91, 0} +} + +func (x *ReloadSchemasResponse_KeyspaceResult) GetKeyspace() *Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +func (x *ReloadSchemasResponse_KeyspaceResult) GetEvents() []*dev5.Event { + if x != nil { + return x.Events + } + return nil +} + +// ShardResult is a grouping of a Shard and any log events that occurred in +// that shard during a schema reload (usually associated with partial +// errors - ReloadSchemas requests are best-effort). +// +// It is only set when a ReloadSchemas request mandates KeyspaceShards mode +// (see ReloadSchemasRequest). +type ReloadSchemasResponse_ShardResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shard *Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` + Events []*dev5.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *ReloadSchemasResponse_ShardResult) Reset() { + *x = ReloadSchemasResponse_ShardResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasResponse_ShardResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasResponse_ShardResult) ProtoMessage() {} + +func (x *ReloadSchemasResponse_ShardResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[136] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasResponse_ShardResult.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse_ShardResult) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{91, 1} +} + +func (x *ReloadSchemasResponse_ShardResult) GetShard() *Shard { + if x != nil { + return x.Shard + } + return nil +} + +func (x *ReloadSchemasResponse_ShardResult) GetEvents() []*dev5.Event { + if x != nil { + return x.Events + } + return nil +} + +// TabletResult is a grouping of a Tablet and the result of reloading that +// Tablet's schema. Result will either be the string "ok", or the error +// message from that tablet. Note ReloadSchemas is best-effort, so tablet's +// failing to reload is not treated as an overall failure. +// +// It is only set when a ReloadSchemas request mandates Tablets mode (see +// ReloadSchemasRequest). +type ReloadSchemasResponse_TabletResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablet *Tablet `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` + Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ReloadSchemasResponse_TabletResult) Reset() { + *x = ReloadSchemasResponse_TabletResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasResponse_TabletResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasResponse_TabletResult) ProtoMessage() {} + +func (x *ReloadSchemasResponse_TabletResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[137] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasResponse_TabletResult.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse_TabletResult) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP(), []int{91, 2} +} + +func (x *ReloadSchemasResponse_TabletResult) GetTablet() *Tablet { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *ReloadSchemasResponse_TabletResult) GetResult() string { + if x != nil { + return x.Result + } + return "" +} + +var File_vitess_vtadmin_dev_vtadmin_proto protoreflect.FileDescriptor + +var file_vitess_vtadmin_dev_vtadmin_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x12, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, + 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, + 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x6d, 0x79, + 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, + 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7f, 0x0a, + 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x35, + 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, + 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0xf9, + 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, + 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x1a, 0x5b, 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, + 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x01, 0x0a, 0x0f, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, + 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, + 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x1f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, @@ -6398,1075 +7951,1460 @@ var file_vitess_vtadmin_dev_vtadmin_proto_rawDesc = []byte{ 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x71, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x35, 0x0a, 0x07, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, - 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x99, 0x01, 0x0a, 0x0a, 0x53, 0x72, 0x76, 0x56, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, + 0x02, 0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x50, + 0x0a, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x71, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x56, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0a, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x22, 0x82, 0x02, 0x0a, 0x06, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x35, 0x0a, - 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, 0x4e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0x39, 0x0a, 0x0c, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, - 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, - 0x56, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, - 0x52, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x8d, 0x01, 0x0a, 0x07, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, - 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, - 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x6f, 0x0a, 0x06, 0x56, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, - 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0xb5, 0x01, 0x0a, 0x06, 0x56, 0x54, 0x47, - 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, - 0x6f, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, - 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x46, 0x51, 0x44, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, - 0x22, 0x99, 0x01, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x35, 0x0a, - 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 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, 0x3a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x12, 0x31, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x22, 0x99, 0x01, 0x0a, 0x0a, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, + 0x0c, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x0a, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, + 0x82, 0x02, 0x0a, 0x06, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0x39, 0x0a, 0x0c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, + 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, + 0x47, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x22, 0x8d, 0x01, 0x0a, 0x07, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x22, 0x6f, 0x0a, 0x06, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x12, 0x1a, + 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0xb5, 0x01, 0x0a, 0x06, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x6f, 0x6c, + 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x63, 0x65, 0x6c, 0x6c, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, + 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0x99, 0x01, + 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 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, 0x3a, 0x0a, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x7d, 0x0a, 0x15, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x45, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x7d, 0x0a, 0x15, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x1c, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, + 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, + 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, + 0x73, 0x71, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x1b, + 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x07, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x8b, 0x01, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x4c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8d, 0x01, + 0x0a, 0x1d, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4d, + 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8f, 0x01, + 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x4e, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x4f, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, + 0x22, 0x7d, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x52, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x22, 0x77, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x15, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x52, 0x0a, 0x16, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, - 0x77, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x79, 0x0a, 0x13, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, + 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x65, 0x0a, 0x14, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x22, 0x8d, 0x01, 0x0a, 0x1d, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, + 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x45, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x79, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x43, 0x0a, - 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, - 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x89, 0x02, 0x0a, 0x1e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, + 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, + 0x4b, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x49, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x65, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, - 0x8d, 0x01, 0x0a, 0x1d, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, - 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x4d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x89, 0x02, 0x0a, 0x1e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, - 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x4b, 0x0a, 0x10, 0x70, - 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x11, - 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x5b, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, - 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x51, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x62, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, - 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x6b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, - 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x5a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, - 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, - 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, - 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, - 0x73, 0x22, 0x39, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x5c, 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, 0x41, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, - 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x4e, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, - 0x22, 0x6d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x22, - 0x32, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x49, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x67, 0x61, 0x74, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x47, 0x61, - 0x74, 0x65, 0x52, 0x05, 0x67, 0x61, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x36, 0x0a, 0x13, 0x47, 0x65, - 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, - 0x64, 0x73, 0x22, 0x52, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5b, 0x0a, 0x12, + 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, 0x31, 0x0a, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, + 0xa7, 0x01, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x5b, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x91, 0x01, 0x0a, 0x11, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, + 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, + 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x51, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x61, 0x63, + 0x6b, 0x75, 0x70, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x6b, 0x0a, 0x13, + 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x5a, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x63, 0x65, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x22, 0x39, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, + 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, + 0x22, 0x5c, 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, 0x41, 0x0a, 0x07, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x22, 0x14, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x22, 0x6d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x22, 0x32, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x47, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x67, + 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x52, 0x05, 0x67, 0x61, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, + 0x12, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 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, 0x22, 0x36, + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x52, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, + 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x10, 0x47, + 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5b, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4a, 0x0a, - 0x12, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x23, 0x47, 0x65, - 0x74, 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, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, - 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, - 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x24, 0x47, 0x65, - 0x74, 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, 0x68, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x68, 0x0a, 0x15, - 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 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, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x4f, 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, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0xed, 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, 0x62, 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 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, 0x6e, 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, 0x43, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x72, - 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x02, 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, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x91, 0x01, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x73, 0x12, 0x5b, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x83, 0x02, + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x68, 0x0a, 0x10, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x1a, 0x7b, 0x0a, 0x0e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x6f, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 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, 0x1f, 0x0a, 0x0b, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, + 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 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, 0x68, 0x0a, + 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, + 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x68, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x72, + 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x63, + 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x22, 0x4f, 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, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, - 0x6c, 0x73, 0x22, 0x5c, 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, 0x42, 0x0a, 0x0d, - 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x0b, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, - 0x22, 0x81, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, - 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x6e, 0x63, - 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x73, 0x22, 0x6b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, - 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x73, 0x22, 0x34, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, + 0x6c, 0x73, 0x22, 0xed, 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, 0x62, + 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 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, 0x6e, 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, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, + 0x6c, 0x18, 0x02, 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, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, - 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x5c, 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, 0x42, 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x76, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x73, 0x22, 0x4b, 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, 0x1d, 0x0a, - 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x4e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 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, - 0x22, 0x35, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, - 0x0a, 0x09, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x08, - 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x34, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x4a, - 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x52, 0x07, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x47, - 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 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, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x6e, 0x6c, - 0x79, 0x22, 0xa0, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 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, 0x12, 0x1c, 0x0a, 0x09, 0x6b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x67, 0x6e, - 0x6f, 0x72, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, - 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, - 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x1a, 0x6b, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x79, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6c, - 0x0a, 0x11, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0b, + 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x19, + 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6e, 0x6f, + 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, + 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, + 0x6b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x63, 0x0a, 0x12, - 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x22, 0x89, 0x01, 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, - 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x4b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x87, 0x02, - 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, - 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, - 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x4b, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x6f, - 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, - 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, - 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x1b, 0x52, 0x65, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, + 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x34, 0x0a, 0x11, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, 0x4b, + 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x85, 0x01, 0x0a, 0x19, + 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x7e, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 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, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x22, 0x36, 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, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x6e, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, - 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x65, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0xaa, 0x02, 0x0a, - 0x14, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, - 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x3a, 0x0a, 0x07, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x5f, 0x61, 0x67, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, + 0x41, 0x67, 0x65, 0x22, 0x4e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x35, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, + 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x38, 0x0a, 0x09, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x52, 0x08, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x34, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x52, 0x07, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x22, 0x84, 0x01, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 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, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x6e, + 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x69, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x6d, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x6c, + 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x70, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0xa0, 0x01, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x73, 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, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, + 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, + 0xf7, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x14, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x6b, 0x0a, 0x17, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8b, 0x01, 0x0a, 0x1c, 0x4c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x07, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xaa, 0x01, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x48, 0x0a, 0x07, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x85, 0x01, 0x0a, 0x19, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x49, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x81, 0x01, 0x0a, + 0x17, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x6c, 0x0a, 0x11, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x63, + 0x0a, 0x12, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x22, 0x89, 0x01, 0x0a, 0x1b, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, + 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x87, 0x02, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, + 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x4b, 0x0a, 0x10, 0x70, 0x72, 0x6f, + 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x93, 0x01, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 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, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x22, + 0x36, 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, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x6e, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, + 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, - 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 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, 0x12, 0x23, 0x0a, 0x0d, 0x77, - 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 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, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x85, 0x05, 0x0a, 0x15, 0x52, 0x65, - 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x10, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x5a, 0x0a, 0x0d, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x65, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0xaa, + 0x02, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x3a, + 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, + 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x23, 0x0a, + 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, + 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, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x64, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x85, 0x05, 0x0a, 0x15, + 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x10, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x73, 0x1a, 0x7d, 0x0a, 0x0e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, - 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x1a, 0x71, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, - 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x5a, 0x0a, 0x0c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x22, 0xdb, 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, 0x1d, - 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, - 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 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, 0x05, 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, 0x06, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, - 0x4e, 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, 0x31, 0x0a, 0x06, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, - 0x80, 0x01, 0x0a, 0x25, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, - 0x64, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x26, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 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, - 0x3a, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x07, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x22, 0x9e, 0x01, 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, + 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x5a, 0x0a, 0x0d, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x7d, 0x0a, 0x0e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, + 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x71, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, + 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x5a, 0x0a, 0x0c, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x22, 0xdb, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 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, 0x34, 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, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x70, 0x0a, 0x15, 0x52, 0x75, 0x6e, - 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, - 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x67, 0x0a, 0x16, 0x52, - 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, - 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x22, 0x6d, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, - 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, - 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x49, 0x64, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, - 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6e, 0x0a, 0x13, 0x53, 0x65, - 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x65, - 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x72, 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, 0x36, 0x0a, - 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x69, 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, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x22, 0x71, 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, 0x36, 0x0a, 0x05, 0x61, + 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, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 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, 0x05, 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, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, + 0x79, 0x22, 0x4e, 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, 0x31, + 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x22, 0x80, 0x01, 0x0a, 0x25, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x49, 0x64, 0x73, 0x22, 0x68, 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, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x7a, - 0x0a, 0x1f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x91, 0x02, 0x0a, 0x20, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, - 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 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, 0x41, 0x0a, 0x0b, 0x6f, - 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x7c, - 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, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x72, 0x49, 0x64, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x26, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x3a, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x53, 0x0a, 0x0f, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x77, 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, 0x1d, 0x0a, 0x0a, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 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, 0x5a, 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, 0x1d, 0x0a, 0x0a, 0x63, + 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x35, 0x0a, + 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x22, 0x9e, 0x01, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 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, 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, 0x34, 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, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x89, 0x01, 0x0a, 0x1b, + 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x73, 0x22, 0x5b, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 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, - 0x22, 0x6e, 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, - 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, - 0x22, 0x5a, 0x0a, 0x10, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x10, 0x0a, 0x03, 0x73, 0x71, - 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x22, 0x2f, 0x0a, 0x11, - 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc0, 0x2a, - 0x0a, 0x07, 0x56, 0x54, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x69, 0x0a, 0x0e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x07, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x27, 0x2e, 0x76, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x70, 0x0a, 0x15, 0x52, 0x75, 0x6e, 0x48, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x67, 0x0a, 0x16, 0x52, 0x75, 0x6e, + 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x81, 0x01, 0x0a, 0x16, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, - 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, 0x76, + 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x22, 0x7b, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x07, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x6d, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x15, + 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6e, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72, 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, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x73, 0x22, 0x69, 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, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x71, 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, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, + 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, + 0x68, 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, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x7a, 0x0a, 0x1f, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, + 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x91, 0x02, 0x0a, 0x20, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x41, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 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, 0x7c, 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, 0x36, + 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x53, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x77, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 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, 0x5a, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x21, 0x0a, 0x0c, 0x70, + 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, 0x5b, + 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x6e, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x77, 0x0a, 0x12, 0x56, + 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x42, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x73, 0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, + 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x0d, 0x56, 0x44, 0x69, + 0x66, 0x66, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, + 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, + 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x74, 0x61, 0x22, 0xf1, 0x01, 0x0a, + 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x77, 0x73, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, + 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, + 0x68, 0x61, 0x73, 0x5f, 0x6d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, + 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x3d, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x22, 0xd4, 0x01, 0x0a, 0x11, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, + 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, - 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, - 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, + 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x1a, 0x64, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, + 0x66, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5a, 0x0a, 0x10, 0x56, 0x54, 0x45, 0x78, 0x70, + 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x73, 0x71, 0x6c, 0x22, 0x2f, 0x0a, 0x11, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf8, 0x3d, 0x0a, 0x07, 0x56, 0x54, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x12, 0x62, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, + 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x65, 0x61, + 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x65, + 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, + 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x65, - 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, - 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, - 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, + 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0b, 0x47, 0x65, - 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, - 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0d, - 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, - 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, - 0x65, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, - 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x55, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x26, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x09, 0x47, - 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, - 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x93, 0x01, 0x0a, 0x1c, - 0x47, 0x65, 0x74, 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, 0x12, 0x37, 0x2e, 0x76, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, + 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x47, 0x65, 0x74, 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, 0x1a, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 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, 0x22, - 0x00, 0x12, 0x6c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6b, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x6c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, + 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x28, + 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, - 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0e, 0x47, 0x65, - 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x29, 0x2e, 0x76, + 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x81, 0x01, 0x0a, 0x16, 0x45, + 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x6d, 0x65, 0x72, 0x67, + 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x6d, + 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, + 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, - 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, + 0x76, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, + 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, + 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, + 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, + 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, + 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x46, + 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x57, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, - 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x00, 0x12, + 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, + 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, - 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, - 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x69, 0x74, + 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0b, 0x47, 0x65, 0x74, - 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x93, + 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 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, 0x12, + 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 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, 0x1a, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, - 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, - 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, - 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0b, 0x47, 0x65, - 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, - 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, - 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, + 0x74, 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, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, + 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x5b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x69, 0x0a, + 0x0e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, + 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, + 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, - 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, - 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, - 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 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, 0x1a, 0x30, 0x2e, 0x76, 0x69, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, + 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 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, 0x00, 0x12, - 0x63, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, - 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x99, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, - 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x66, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x8c, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, + 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, + 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x52, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x6f, - 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2c, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, + 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 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, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x12, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, - 0x6c, 0x6c, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x69, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, - 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, - 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x26, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, - 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x63, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, - 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x6c, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x18, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, - 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, - 0x64, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, - 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, - 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, + 0x2e, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, + 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x27, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x71, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x67, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, + 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x15, 0x4c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x77, 0x0a, 0x12, 0x4d, + 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x10, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, + 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x11, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x10, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, + 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x50, + 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, + 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, 0x50, 0x6c, + 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, + 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, 0x52, 0x65, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, + 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, + 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, + 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x99, 0x01, 0x0a, 0x1e, 0x52, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, + 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, + 0x11, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, + 0x00, 0x12, 0x75, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x7d, 0x0a, 0x14, 0x52, 0x65, 0x74, 0x72, + 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x48, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, + 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, + 0x0b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x26, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x63, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, + 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x6c, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, + 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x18, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, + 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, + 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, - 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 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, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x16, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 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, 0x22, + 0x00, 0x12, 0x68, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x17, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, - 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, + 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, 0x1a, 0x35, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, - 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x56, 0x44, 0x69, 0x66, 0x66, + 0x53, 0x68, 0x6f, 0x77, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, + 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, + 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x45, 0x78, + 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x6b, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 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, 0x1a, 0x32, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, - 0x6e, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x54, 0x45, - 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x42, 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, - 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, + 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, + 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, + 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, + 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -7482,361 +9420,487 @@ func file_vitess_vtadmin_dev_vtadmin_proto_rawDescGZIP() []byte { } var file_vitess_vtadmin_dev_vtadmin_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_vitess_vtadmin_dev_vtadmin_proto_msgTypes = make([]protoimpl.MessageInfo, 111) -var file_vitess_vtadmin_dev_vtadmin_proto_goTypes = []interface{}{ - (Tablet_ServingState)(0), // 0: vitess.vtadmin.dev.Tablet.ServingState - (*Cluster)(nil), // 1: vitess.vtadmin.dev.Cluster - (*ClusterBackup)(nil), // 2: vitess.vtadmin.dev.ClusterBackup - (*ClusterCellsAliases)(nil), // 3: vitess.vtadmin.dev.ClusterCellsAliases - (*ClusterCellInfo)(nil), // 4: vitess.vtadmin.dev.ClusterCellInfo - (*ClusterShardReplicationPosition)(nil), // 5: vitess.vtadmin.dev.ClusterShardReplicationPosition - (*ClusterWorkflows)(nil), // 6: vitess.vtadmin.dev.ClusterWorkflows - (*Keyspace)(nil), // 7: vitess.vtadmin.dev.Keyspace - (*Schema)(nil), // 8: vitess.vtadmin.dev.Schema - (*Shard)(nil), // 9: vitess.vtadmin.dev.Shard - (*SrvVSchema)(nil), // 10: vitess.vtadmin.dev.SrvVSchema - (*Tablet)(nil), // 11: vitess.vtadmin.dev.Tablet - (*VSchema)(nil), // 12: vitess.vtadmin.dev.VSchema - (*Vtctld)(nil), // 13: vitess.vtadmin.dev.Vtctld - (*VTGate)(nil), // 14: vitess.vtadmin.dev.VTGate - (*Workflow)(nil), // 15: vitess.vtadmin.dev.Workflow - (*CreateKeyspaceRequest)(nil), // 16: vitess.vtadmin.dev.CreateKeyspaceRequest - (*CreateKeyspaceResponse)(nil), // 17: vitess.vtadmin.dev.CreateKeyspaceResponse - (*CreateShardRequest)(nil), // 18: vitess.vtadmin.dev.CreateShardRequest - (*DeleteKeyspaceRequest)(nil), // 19: vitess.vtadmin.dev.DeleteKeyspaceRequest - (*DeleteShardsRequest)(nil), // 20: vitess.vtadmin.dev.DeleteShardsRequest - (*DeleteTabletRequest)(nil), // 21: vitess.vtadmin.dev.DeleteTabletRequest - (*DeleteTabletResponse)(nil), // 22: vitess.vtadmin.dev.DeleteTabletResponse - (*EmergencyFailoverShardRequest)(nil), // 23: vitess.vtadmin.dev.EmergencyFailoverShardRequest - (*EmergencyFailoverShardResponse)(nil), // 24: vitess.vtadmin.dev.EmergencyFailoverShardResponse - (*FindSchemaRequest)(nil), // 25: vitess.vtadmin.dev.FindSchemaRequest - (*GetBackupsRequest)(nil), // 26: vitess.vtadmin.dev.GetBackupsRequest - (*GetBackupsResponse)(nil), // 27: vitess.vtadmin.dev.GetBackupsResponse - (*GetCellInfosRequest)(nil), // 28: vitess.vtadmin.dev.GetCellInfosRequest - (*GetCellInfosResponse)(nil), // 29: vitess.vtadmin.dev.GetCellInfosResponse - (*GetCellsAliasesRequest)(nil), // 30: vitess.vtadmin.dev.GetCellsAliasesRequest - (*GetCellsAliasesResponse)(nil), // 31: vitess.vtadmin.dev.GetCellsAliasesResponse - (*GetClustersRequest)(nil), // 32: vitess.vtadmin.dev.GetClustersRequest - (*GetClustersResponse)(nil), // 33: vitess.vtadmin.dev.GetClustersResponse - (*GetFullStatusRequest)(nil), // 34: vitess.vtadmin.dev.GetFullStatusRequest - (*GetGatesRequest)(nil), // 35: vitess.vtadmin.dev.GetGatesRequest - (*GetGatesResponse)(nil), // 36: vitess.vtadmin.dev.GetGatesResponse - (*GetKeyspaceRequest)(nil), // 37: vitess.vtadmin.dev.GetKeyspaceRequest - (*GetKeyspacesRequest)(nil), // 38: vitess.vtadmin.dev.GetKeyspacesRequest - (*GetKeyspacesResponse)(nil), // 39: vitess.vtadmin.dev.GetKeyspacesResponse - (*GetSchemaRequest)(nil), // 40: vitess.vtadmin.dev.GetSchemaRequest - (*GetSchemasRequest)(nil), // 41: vitess.vtadmin.dev.GetSchemasRequest - (*GetSchemasResponse)(nil), // 42: vitess.vtadmin.dev.GetSchemasResponse - (*GetShardReplicationPositionsRequest)(nil), // 43: vitess.vtadmin.dev.GetShardReplicationPositionsRequest - (*GetShardReplicationPositionsResponse)(nil), // 44: vitess.vtadmin.dev.GetShardReplicationPositionsResponse - (*GetSrvKeyspaceRequest)(nil), // 45: vitess.vtadmin.dev.GetSrvKeyspaceRequest - (*GetSrvKeyspacesRequest)(nil), // 46: vitess.vtadmin.dev.GetSrvKeyspacesRequest - (*GetSrvKeyspacesResponse)(nil), // 47: vitess.vtadmin.dev.GetSrvKeyspacesResponse - (*GetSrvVSchemaRequest)(nil), // 48: vitess.vtadmin.dev.GetSrvVSchemaRequest - (*GetSrvVSchemasRequest)(nil), // 49: vitess.vtadmin.dev.GetSrvVSchemasRequest - (*GetSrvVSchemasResponse)(nil), // 50: vitess.vtadmin.dev.GetSrvVSchemasResponse - (*GetSchemaTableSizeOptions)(nil), // 51: vitess.vtadmin.dev.GetSchemaTableSizeOptions - (*GetTabletRequest)(nil), // 52: vitess.vtadmin.dev.GetTabletRequest - (*GetTabletsRequest)(nil), // 53: vitess.vtadmin.dev.GetTabletsRequest - (*GetTabletsResponse)(nil), // 54: vitess.vtadmin.dev.GetTabletsResponse - (*GetTopologyPathRequest)(nil), // 55: vitess.vtadmin.dev.GetTopologyPathRequest - (*GetVSchemaRequest)(nil), // 56: vitess.vtadmin.dev.GetVSchemaRequest - (*GetVSchemasRequest)(nil), // 57: vitess.vtadmin.dev.GetVSchemasRequest - (*GetVSchemasResponse)(nil), // 58: vitess.vtadmin.dev.GetVSchemasResponse - (*GetVtctldsRequest)(nil), // 59: vitess.vtadmin.dev.GetVtctldsRequest - (*GetVtctldsResponse)(nil), // 60: vitess.vtadmin.dev.GetVtctldsResponse - (*GetWorkflowRequest)(nil), // 61: vitess.vtadmin.dev.GetWorkflowRequest - (*GetWorkflowsRequest)(nil), // 62: vitess.vtadmin.dev.GetWorkflowsRequest - (*GetWorkflowsResponse)(nil), // 63: vitess.vtadmin.dev.GetWorkflowsResponse - (*PingTabletRequest)(nil), // 64: vitess.vtadmin.dev.PingTabletRequest - (*PingTabletResponse)(nil), // 65: vitess.vtadmin.dev.PingTabletResponse - (*PlannedFailoverShardRequest)(nil), // 66: vitess.vtadmin.dev.PlannedFailoverShardRequest - (*PlannedFailoverShardResponse)(nil), // 67: vitess.vtadmin.dev.PlannedFailoverShardResponse - (*RebuildKeyspaceGraphRequest)(nil), // 68: vitess.vtadmin.dev.RebuildKeyspaceGraphRequest - (*RebuildKeyspaceGraphResponse)(nil), // 69: vitess.vtadmin.dev.RebuildKeyspaceGraphResponse - (*RefreshStateRequest)(nil), // 70: vitess.vtadmin.dev.RefreshStateRequest - (*RefreshStateResponse)(nil), // 71: vitess.vtadmin.dev.RefreshStateResponse - (*ReloadSchemasRequest)(nil), // 72: vitess.vtadmin.dev.ReloadSchemasRequest - (*ReloadSchemasResponse)(nil), // 73: vitess.vtadmin.dev.ReloadSchemasResponse - (*ReloadSchemaShardRequest)(nil), // 74: vitess.vtadmin.dev.ReloadSchemaShardRequest - (*ReloadSchemaShardResponse)(nil), // 75: vitess.vtadmin.dev.ReloadSchemaShardResponse - (*RefreshTabletReplicationSourceRequest)(nil), // 76: vitess.vtadmin.dev.RefreshTabletReplicationSourceRequest - (*RefreshTabletReplicationSourceResponse)(nil), // 77: vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse - (*RemoveKeyspaceCellRequest)(nil), // 78: vitess.vtadmin.dev.RemoveKeyspaceCellRequest - (*RemoveKeyspaceCellResponse)(nil), // 79: vitess.vtadmin.dev.RemoveKeyspaceCellResponse - (*RunHealthCheckRequest)(nil), // 80: vitess.vtadmin.dev.RunHealthCheckRequest - (*RunHealthCheckResponse)(nil), // 81: vitess.vtadmin.dev.RunHealthCheckResponse - (*SetReadOnlyRequest)(nil), // 82: vitess.vtadmin.dev.SetReadOnlyRequest - (*SetReadOnlyResponse)(nil), // 83: vitess.vtadmin.dev.SetReadOnlyResponse - (*SetReadWriteRequest)(nil), // 84: vitess.vtadmin.dev.SetReadWriteRequest - (*SetReadWriteResponse)(nil), // 85: vitess.vtadmin.dev.SetReadWriteResponse - (*StartReplicationRequest)(nil), // 86: vitess.vtadmin.dev.StartReplicationRequest - (*StartReplicationResponse)(nil), // 87: vitess.vtadmin.dev.StartReplicationResponse - (*StopReplicationRequest)(nil), // 88: vitess.vtadmin.dev.StopReplicationRequest - (*StopReplicationResponse)(nil), // 89: vitess.vtadmin.dev.StopReplicationResponse - (*TabletExternallyPromotedRequest)(nil), // 90: vitess.vtadmin.dev.TabletExternallyPromotedRequest - (*TabletExternallyPromotedResponse)(nil), // 91: vitess.vtadmin.dev.TabletExternallyPromotedResponse - (*TabletExternallyReparentedRequest)(nil), // 92: vitess.vtadmin.dev.TabletExternallyReparentedRequest - (*ValidateRequest)(nil), // 93: vitess.vtadmin.dev.ValidateRequest - (*ValidateKeyspaceRequest)(nil), // 94: vitess.vtadmin.dev.ValidateKeyspaceRequest - (*ValidateSchemaKeyspaceRequest)(nil), // 95: vitess.vtadmin.dev.ValidateSchemaKeyspaceRequest - (*ValidateShardRequest)(nil), // 96: vitess.vtadmin.dev.ValidateShardRequest - (*ValidateVersionKeyspaceRequest)(nil), // 97: vitess.vtadmin.dev.ValidateVersionKeyspaceRequest - (*ValidateVersionShardRequest)(nil), // 98: vitess.vtadmin.dev.ValidateVersionShardRequest - (*VTExplainRequest)(nil), // 99: vitess.vtadmin.dev.VTExplainRequest - (*VTExplainResponse)(nil), // 100: vitess.vtadmin.dev.VTExplainResponse - nil, // 101: vitess.vtadmin.dev.ClusterCellsAliases.AliasesEntry - nil, // 102: vitess.vtadmin.dev.Keyspace.ShardsEntry - nil, // 103: vitess.vtadmin.dev.Schema.TableSizesEntry - (*Schema_ShardTableSize)(nil), // 104: vitess.vtadmin.dev.Schema.ShardTableSize - (*Schema_TableSize)(nil), // 105: vitess.vtadmin.dev.Schema.TableSize - nil, // 106: vitess.vtadmin.dev.Schema.TableSize.ByShardEntry - nil, // 107: vitess.vtadmin.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry - nil, // 108: vitess.vtadmin.dev.GetWorkflowsResponse.WorkflowsByClusterEntry - (*ReloadSchemasResponse_KeyspaceResult)(nil), // 109: vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult - (*ReloadSchemasResponse_ShardResult)(nil), // 110: vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult - (*ReloadSchemasResponse_TabletResult)(nil), // 111: vitess.vtadmin.dev.ReloadSchemasResponse.TabletResult - (*dev.BackupInfo)(nil), // 112: vitess.mysqlctl.dev.BackupInfo - (*dev1.CellInfo)(nil), // 113: vitess.topodata.dev.CellInfo - (*dev2.ShardReplicationPositionsResponse)(nil), // 114: vitess.vtctldata.dev.ShardReplicationPositionsResponse - (*dev2.Keyspace)(nil), // 115: vitess.vtctldata.dev.Keyspace - (*dev3.TableDefinition)(nil), // 116: vitess.tabletmanagerdata.dev.TableDefinition - (*dev2.Shard)(nil), // 117: vitess.vtctldata.dev.Shard - (*dev4.SrvVSchema)(nil), // 118: vitess.vschema.dev.SrvVSchema - (*dev1.Tablet)(nil), // 119: vitess.topodata.dev.Tablet - (*dev4.Keyspace)(nil), // 120: vitess.vschema.dev.Keyspace - (*dev2.Workflow)(nil), // 121: vitess.vtctldata.dev.Workflow - (*dev2.CreateKeyspaceRequest)(nil), // 122: vitess.vtctldata.dev.CreateKeyspaceRequest - (*dev2.CreateShardRequest)(nil), // 123: vitess.vtctldata.dev.CreateShardRequest - (*dev2.DeleteKeyspaceRequest)(nil), // 124: vitess.vtctldata.dev.DeleteKeyspaceRequest - (*dev2.DeleteShardsRequest)(nil), // 125: vitess.vtctldata.dev.DeleteShardsRequest - (*dev1.TabletAlias)(nil), // 126: vitess.topodata.dev.TabletAlias - (*dev2.EmergencyReparentShardRequest)(nil), // 127: vitess.vtctldata.dev.EmergencyReparentShardRequest - (*dev5.Event)(nil), // 128: vitess.logutil.dev.Event - (*dev2.GetBackupsRequest)(nil), // 129: vitess.vtctldata.dev.GetBackupsRequest - (*dev2.PlannedReparentShardRequest)(nil), // 130: vitess.vtctldata.dev.PlannedReparentShardRequest - (*dev1.CellsAlias)(nil), // 131: vitess.topodata.dev.CellsAlias - (*dev2.GetSrvKeyspacesResponse)(nil), // 132: vitess.vtctldata.dev.GetSrvKeyspacesResponse - (*dev2.CreateShardResponse)(nil), // 133: vitess.vtctldata.dev.CreateShardResponse - (*dev2.DeleteKeyspaceResponse)(nil), // 134: vitess.vtctldata.dev.DeleteKeyspaceResponse - (*dev2.DeleteShardsResponse)(nil), // 135: vitess.vtctldata.dev.DeleteShardsResponse - (*dev2.GetFullStatusResponse)(nil), // 136: vitess.vtctldata.dev.GetFullStatusResponse - (*dev2.GetTopologyPathResponse)(nil), // 137: vitess.vtctldata.dev.GetTopologyPathResponse - (*dev2.ValidateResponse)(nil), // 138: vitess.vtctldata.dev.ValidateResponse - (*dev2.ValidateKeyspaceResponse)(nil), // 139: vitess.vtctldata.dev.ValidateKeyspaceResponse - (*dev2.ValidateSchemaKeyspaceResponse)(nil), // 140: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse - (*dev2.ValidateShardResponse)(nil), // 141: vitess.vtctldata.dev.ValidateShardResponse - (*dev2.ValidateVersionKeyspaceResponse)(nil), // 142: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse - (*dev2.ValidateVersionShardResponse)(nil), // 143: vitess.vtctldata.dev.ValidateVersionShardResponse +var file_vitess_vtadmin_dev_vtadmin_proto_msgTypes = make([]protoimpl.MessageInfo, 139) +var file_vitess_vtadmin_dev_vtadmin_proto_goTypes = []any{ + (Tablet_ServingState)(0), // 0: vitess.vtadmin.dev.Tablet.ServingState + (*Cluster)(nil), // 1: vitess.vtadmin.dev.Cluster + (*ClusterBackup)(nil), // 2: vitess.vtadmin.dev.ClusterBackup + (*ClusterCellsAliases)(nil), // 3: vitess.vtadmin.dev.ClusterCellsAliases + (*ClusterCellInfo)(nil), // 4: vitess.vtadmin.dev.ClusterCellInfo + (*ClusterShardReplicationPosition)(nil), // 5: vitess.vtadmin.dev.ClusterShardReplicationPosition + (*ClusterWorkflows)(nil), // 6: vitess.vtadmin.dev.ClusterWorkflows + (*Keyspace)(nil), // 7: vitess.vtadmin.dev.Keyspace + (*Schema)(nil), // 8: vitess.vtadmin.dev.Schema + (*SchemaMigration)(nil), // 9: vitess.vtadmin.dev.SchemaMigration + (*Shard)(nil), // 10: vitess.vtadmin.dev.Shard + (*SrvVSchema)(nil), // 11: vitess.vtadmin.dev.SrvVSchema + (*Tablet)(nil), // 12: vitess.vtadmin.dev.Tablet + (*VSchema)(nil), // 13: vitess.vtadmin.dev.VSchema + (*Vtctld)(nil), // 14: vitess.vtadmin.dev.Vtctld + (*VTGate)(nil), // 15: vitess.vtadmin.dev.VTGate + (*Workflow)(nil), // 16: vitess.vtadmin.dev.Workflow + (*WorkflowDeleteRequest)(nil), // 17: vitess.vtadmin.dev.WorkflowDeleteRequest + (*WorkflowSwitchTrafficRequest)(nil), // 18: vitess.vtadmin.dev.WorkflowSwitchTrafficRequest + (*ApplySchemaRequest)(nil), // 19: vitess.vtadmin.dev.ApplySchemaRequest + (*CancelSchemaMigrationRequest)(nil), // 20: vitess.vtadmin.dev.CancelSchemaMigrationRequest + (*CleanupSchemaMigrationRequest)(nil), // 21: vitess.vtadmin.dev.CleanupSchemaMigrationRequest + (*CompleteSchemaMigrationRequest)(nil), // 22: vitess.vtadmin.dev.CompleteSchemaMigrationRequest + (*ConcludeTransactionRequest)(nil), // 23: vitess.vtadmin.dev.ConcludeTransactionRequest + (*CreateKeyspaceRequest)(nil), // 24: vitess.vtadmin.dev.CreateKeyspaceRequest + (*CreateKeyspaceResponse)(nil), // 25: vitess.vtadmin.dev.CreateKeyspaceResponse + (*CreateShardRequest)(nil), // 26: vitess.vtadmin.dev.CreateShardRequest + (*DeleteKeyspaceRequest)(nil), // 27: vitess.vtadmin.dev.DeleteKeyspaceRequest + (*DeleteShardsRequest)(nil), // 28: vitess.vtadmin.dev.DeleteShardsRequest + (*DeleteTabletRequest)(nil), // 29: vitess.vtadmin.dev.DeleteTabletRequest + (*DeleteTabletResponse)(nil), // 30: vitess.vtadmin.dev.DeleteTabletResponse + (*EmergencyFailoverShardRequest)(nil), // 31: vitess.vtadmin.dev.EmergencyFailoverShardRequest + (*EmergencyFailoverShardResponse)(nil), // 32: vitess.vtadmin.dev.EmergencyFailoverShardResponse + (*FindSchemaRequest)(nil), // 33: vitess.vtadmin.dev.FindSchemaRequest + (*GetBackupsRequest)(nil), // 34: vitess.vtadmin.dev.GetBackupsRequest + (*GetBackupsResponse)(nil), // 35: vitess.vtadmin.dev.GetBackupsResponse + (*GetCellInfosRequest)(nil), // 36: vitess.vtadmin.dev.GetCellInfosRequest + (*GetCellInfosResponse)(nil), // 37: vitess.vtadmin.dev.GetCellInfosResponse + (*GetCellsAliasesRequest)(nil), // 38: vitess.vtadmin.dev.GetCellsAliasesRequest + (*GetCellsAliasesResponse)(nil), // 39: vitess.vtadmin.dev.GetCellsAliasesResponse + (*GetClustersRequest)(nil), // 40: vitess.vtadmin.dev.GetClustersRequest + (*GetClustersResponse)(nil), // 41: vitess.vtadmin.dev.GetClustersResponse + (*GetFullStatusRequest)(nil), // 42: vitess.vtadmin.dev.GetFullStatusRequest + (*GetGatesRequest)(nil), // 43: vitess.vtadmin.dev.GetGatesRequest + (*GetGatesResponse)(nil), // 44: vitess.vtadmin.dev.GetGatesResponse + (*GetKeyspaceRequest)(nil), // 45: vitess.vtadmin.dev.GetKeyspaceRequest + (*GetKeyspacesRequest)(nil), // 46: vitess.vtadmin.dev.GetKeyspacesRequest + (*GetKeyspacesResponse)(nil), // 47: vitess.vtadmin.dev.GetKeyspacesResponse + (*GetSchemaRequest)(nil), // 48: vitess.vtadmin.dev.GetSchemaRequest + (*GetSchemasRequest)(nil), // 49: vitess.vtadmin.dev.GetSchemasRequest + (*GetSchemasResponse)(nil), // 50: vitess.vtadmin.dev.GetSchemasResponse + (*GetSchemaMigrationsRequest)(nil), // 51: vitess.vtadmin.dev.GetSchemaMigrationsRequest + (*GetSchemaMigrationsResponse)(nil), // 52: vitess.vtadmin.dev.GetSchemaMigrationsResponse + (*GetShardReplicationPositionsRequest)(nil), // 53: vitess.vtadmin.dev.GetShardReplicationPositionsRequest + (*GetShardReplicationPositionsResponse)(nil), // 54: vitess.vtadmin.dev.GetShardReplicationPositionsResponse + (*GetSrvKeyspaceRequest)(nil), // 55: vitess.vtadmin.dev.GetSrvKeyspaceRequest + (*GetSrvKeyspacesRequest)(nil), // 56: vitess.vtadmin.dev.GetSrvKeyspacesRequest + (*GetSrvKeyspacesResponse)(nil), // 57: vitess.vtadmin.dev.GetSrvKeyspacesResponse + (*GetSrvVSchemaRequest)(nil), // 58: vitess.vtadmin.dev.GetSrvVSchemaRequest + (*GetSrvVSchemasRequest)(nil), // 59: vitess.vtadmin.dev.GetSrvVSchemasRequest + (*GetSrvVSchemasResponse)(nil), // 60: vitess.vtadmin.dev.GetSrvVSchemasResponse + (*GetSchemaTableSizeOptions)(nil), // 61: vitess.vtadmin.dev.GetSchemaTableSizeOptions + (*GetTabletRequest)(nil), // 62: vitess.vtadmin.dev.GetTabletRequest + (*GetTabletsRequest)(nil), // 63: vitess.vtadmin.dev.GetTabletsRequest + (*GetTabletsResponse)(nil), // 64: vitess.vtadmin.dev.GetTabletsResponse + (*GetTopologyPathRequest)(nil), // 65: vitess.vtadmin.dev.GetTopologyPathRequest + (*GetTransactionInfoRequest)(nil), // 66: vitess.vtadmin.dev.GetTransactionInfoRequest + (*GetUnresolvedTransactionsRequest)(nil), // 67: vitess.vtadmin.dev.GetUnresolvedTransactionsRequest + (*GetVSchemaRequest)(nil), // 68: vitess.vtadmin.dev.GetVSchemaRequest + (*GetVSchemasRequest)(nil), // 69: vitess.vtadmin.dev.GetVSchemasRequest + (*GetVSchemasResponse)(nil), // 70: vitess.vtadmin.dev.GetVSchemasResponse + (*GetVtctldsRequest)(nil), // 71: vitess.vtadmin.dev.GetVtctldsRequest + (*GetVtctldsResponse)(nil), // 72: vitess.vtadmin.dev.GetVtctldsResponse + (*GetWorkflowRequest)(nil), // 73: vitess.vtadmin.dev.GetWorkflowRequest + (*GetWorkflowStatusRequest)(nil), // 74: vitess.vtadmin.dev.GetWorkflowStatusRequest + (*StartWorkflowRequest)(nil), // 75: vitess.vtadmin.dev.StartWorkflowRequest + (*StopWorkflowRequest)(nil), // 76: vitess.vtadmin.dev.StopWorkflowRequest + (*GetWorkflowsRequest)(nil), // 77: vitess.vtadmin.dev.GetWorkflowsRequest + (*GetWorkflowsResponse)(nil), // 78: vitess.vtadmin.dev.GetWorkflowsResponse + (*LaunchSchemaMigrationRequest)(nil), // 79: vitess.vtadmin.dev.LaunchSchemaMigrationRequest + (*MaterializeCreateRequest)(nil), // 80: vitess.vtadmin.dev.MaterializeCreateRequest + (*MoveTablesCompleteRequest)(nil), // 81: vitess.vtadmin.dev.MoveTablesCompleteRequest + (*MoveTablesCreateRequest)(nil), // 82: vitess.vtadmin.dev.MoveTablesCreateRequest + (*PingTabletRequest)(nil), // 83: vitess.vtadmin.dev.PingTabletRequest + (*PingTabletResponse)(nil), // 84: vitess.vtadmin.dev.PingTabletResponse + (*PlannedFailoverShardRequest)(nil), // 85: vitess.vtadmin.dev.PlannedFailoverShardRequest + (*PlannedFailoverShardResponse)(nil), // 86: vitess.vtadmin.dev.PlannedFailoverShardResponse + (*RebuildKeyspaceGraphRequest)(nil), // 87: vitess.vtadmin.dev.RebuildKeyspaceGraphRequest + (*RebuildKeyspaceGraphResponse)(nil), // 88: vitess.vtadmin.dev.RebuildKeyspaceGraphResponse + (*RefreshStateRequest)(nil), // 89: vitess.vtadmin.dev.RefreshStateRequest + (*RefreshStateResponse)(nil), // 90: vitess.vtadmin.dev.RefreshStateResponse + (*ReloadSchemasRequest)(nil), // 91: vitess.vtadmin.dev.ReloadSchemasRequest + (*ReloadSchemasResponse)(nil), // 92: vitess.vtadmin.dev.ReloadSchemasResponse + (*ReloadSchemaShardRequest)(nil), // 93: vitess.vtadmin.dev.ReloadSchemaShardRequest + (*ReloadSchemaShardResponse)(nil), // 94: vitess.vtadmin.dev.ReloadSchemaShardResponse + (*RefreshTabletReplicationSourceRequest)(nil), // 95: vitess.vtadmin.dev.RefreshTabletReplicationSourceRequest + (*RefreshTabletReplicationSourceResponse)(nil), // 96: vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse + (*RemoveKeyspaceCellRequest)(nil), // 97: vitess.vtadmin.dev.RemoveKeyspaceCellRequest + (*RemoveKeyspaceCellResponse)(nil), // 98: vitess.vtadmin.dev.RemoveKeyspaceCellResponse + (*RetrySchemaMigrationRequest)(nil), // 99: vitess.vtadmin.dev.RetrySchemaMigrationRequest + (*RunHealthCheckRequest)(nil), // 100: vitess.vtadmin.dev.RunHealthCheckRequest + (*RunHealthCheckResponse)(nil), // 101: vitess.vtadmin.dev.RunHealthCheckResponse + (*ReshardCreateRequest)(nil), // 102: vitess.vtadmin.dev.ReshardCreateRequest + (*SetReadOnlyRequest)(nil), // 103: vitess.vtadmin.dev.SetReadOnlyRequest + (*SetReadOnlyResponse)(nil), // 104: vitess.vtadmin.dev.SetReadOnlyResponse + (*SetReadWriteRequest)(nil), // 105: vitess.vtadmin.dev.SetReadWriteRequest + (*SetReadWriteResponse)(nil), // 106: vitess.vtadmin.dev.SetReadWriteResponse + (*StartReplicationRequest)(nil), // 107: vitess.vtadmin.dev.StartReplicationRequest + (*StartReplicationResponse)(nil), // 108: vitess.vtadmin.dev.StartReplicationResponse + (*StopReplicationRequest)(nil), // 109: vitess.vtadmin.dev.StopReplicationRequest + (*StopReplicationResponse)(nil), // 110: vitess.vtadmin.dev.StopReplicationResponse + (*TabletExternallyPromotedRequest)(nil), // 111: vitess.vtadmin.dev.TabletExternallyPromotedRequest + (*TabletExternallyPromotedResponse)(nil), // 112: vitess.vtadmin.dev.TabletExternallyPromotedResponse + (*TabletExternallyReparentedRequest)(nil), // 113: vitess.vtadmin.dev.TabletExternallyReparentedRequest + (*ValidateRequest)(nil), // 114: vitess.vtadmin.dev.ValidateRequest + (*ValidateKeyspaceRequest)(nil), // 115: vitess.vtadmin.dev.ValidateKeyspaceRequest + (*ValidateSchemaKeyspaceRequest)(nil), // 116: vitess.vtadmin.dev.ValidateSchemaKeyspaceRequest + (*ValidateShardRequest)(nil), // 117: vitess.vtadmin.dev.ValidateShardRequest + (*ValidateVersionKeyspaceRequest)(nil), // 118: vitess.vtadmin.dev.ValidateVersionKeyspaceRequest + (*ValidateVersionShardRequest)(nil), // 119: vitess.vtadmin.dev.ValidateVersionShardRequest + (*VDiffCreateRequest)(nil), // 120: vitess.vtadmin.dev.VDiffCreateRequest + (*VDiffShowRequest)(nil), // 121: vitess.vtadmin.dev.VDiffShowRequest + (*VDiffProgress)(nil), // 122: vitess.vtadmin.dev.VDiffProgress + (*VDiffShardReport)(nil), // 123: vitess.vtadmin.dev.VDiffShardReport + (*VDiffShowResponse)(nil), // 124: vitess.vtadmin.dev.VDiffShowResponse + (*VTExplainRequest)(nil), // 125: vitess.vtadmin.dev.VTExplainRequest + (*VTExplainResponse)(nil), // 126: vitess.vtadmin.dev.VTExplainResponse + nil, // 127: vitess.vtadmin.dev.ClusterCellsAliases.AliasesEntry + nil, // 128: vitess.vtadmin.dev.Keyspace.ShardsEntry + nil, // 129: vitess.vtadmin.dev.Schema.TableSizesEntry + (*Schema_ShardTableSize)(nil), // 130: vitess.vtadmin.dev.Schema.ShardTableSize + (*Schema_TableSize)(nil), // 131: vitess.vtadmin.dev.Schema.TableSize + nil, // 132: vitess.vtadmin.dev.Schema.TableSize.ByShardEntry + (*GetSchemaMigrationsRequest_ClusterRequest)(nil), // 133: vitess.vtadmin.dev.GetSchemaMigrationsRequest.ClusterRequest + nil, // 134: vitess.vtadmin.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry + nil, // 135: vitess.vtadmin.dev.GetWorkflowsResponse.WorkflowsByClusterEntry + (*ReloadSchemasResponse_KeyspaceResult)(nil), // 136: vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult + (*ReloadSchemasResponse_ShardResult)(nil), // 137: vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult + (*ReloadSchemasResponse_TabletResult)(nil), // 138: vitess.vtadmin.dev.ReloadSchemasResponse.TabletResult + nil, // 139: vitess.vtadmin.dev.VDiffShowResponse.ShardReportEntry + (*dev.BackupInfo)(nil), // 140: vitess.mysqlctl.dev.BackupInfo + (*dev1.CellInfo)(nil), // 141: vitess.topodata.dev.CellInfo + (*dev2.ShardReplicationPositionsResponse)(nil), // 142: vitess.vtctldata.dev.ShardReplicationPositionsResponse + (*dev2.Keyspace)(nil), // 143: vitess.vtctldata.dev.Keyspace + (*dev3.TableDefinition)(nil), // 144: vitess.tabletmanagerdata.dev.TableDefinition + (*dev2.SchemaMigration)(nil), // 145: vitess.vtctldata.dev.SchemaMigration + (*dev2.Shard)(nil), // 146: vitess.vtctldata.dev.Shard + (*dev4.SrvVSchema)(nil), // 147: vitess.vschema.dev.SrvVSchema + (*dev1.Tablet)(nil), // 148: vitess.topodata.dev.Tablet + (*dev4.Keyspace)(nil), // 149: vitess.vschema.dev.Keyspace + (*dev2.Workflow)(nil), // 150: vitess.vtctldata.dev.Workflow + (*dev2.WorkflowDeleteRequest)(nil), // 151: vitess.vtctldata.dev.WorkflowDeleteRequest + (*dev2.WorkflowSwitchTrafficRequest)(nil), // 152: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest + (*dev2.ApplySchemaRequest)(nil), // 153: vitess.vtctldata.dev.ApplySchemaRequest + (*dev2.CancelSchemaMigrationRequest)(nil), // 154: vitess.vtctldata.dev.CancelSchemaMigrationRequest + (*dev2.CleanupSchemaMigrationRequest)(nil), // 155: vitess.vtctldata.dev.CleanupSchemaMigrationRequest + (*dev2.CompleteSchemaMigrationRequest)(nil), // 156: vitess.vtctldata.dev.CompleteSchemaMigrationRequest + (*dev2.CreateKeyspaceRequest)(nil), // 157: vitess.vtctldata.dev.CreateKeyspaceRequest + (*dev2.CreateShardRequest)(nil), // 158: vitess.vtctldata.dev.CreateShardRequest + (*dev2.DeleteKeyspaceRequest)(nil), // 159: vitess.vtctldata.dev.DeleteKeyspaceRequest + (*dev2.DeleteShardsRequest)(nil), // 160: vitess.vtctldata.dev.DeleteShardsRequest + (*dev1.TabletAlias)(nil), // 161: vitess.topodata.dev.TabletAlias + (*dev2.EmergencyReparentShardRequest)(nil), // 162: vitess.vtctldata.dev.EmergencyReparentShardRequest + (*dev5.Event)(nil), // 163: vitess.logutil.dev.Event + (*dev2.GetBackupsRequest)(nil), // 164: vitess.vtctldata.dev.GetBackupsRequest + (*dev2.GetTransactionInfoRequest)(nil), // 165: vitess.vtctldata.dev.GetTransactionInfoRequest + (*dev2.LaunchSchemaMigrationRequest)(nil), // 166: vitess.vtctldata.dev.LaunchSchemaMigrationRequest + (*dev2.MaterializeCreateRequest)(nil), // 167: vitess.vtctldata.dev.MaterializeCreateRequest + (*dev2.MoveTablesCompleteRequest)(nil), // 168: vitess.vtctldata.dev.MoveTablesCompleteRequest + (*dev2.MoveTablesCreateRequest)(nil), // 169: vitess.vtctldata.dev.MoveTablesCreateRequest + (*dev2.PlannedReparentShardRequest)(nil), // 170: vitess.vtctldata.dev.PlannedReparentShardRequest + (*dev2.RetrySchemaMigrationRequest)(nil), // 171: vitess.vtctldata.dev.RetrySchemaMigrationRequest + (*dev2.ReshardCreateRequest)(nil), // 172: vitess.vtctldata.dev.ReshardCreateRequest + (*dev2.VDiffCreateRequest)(nil), // 173: vitess.vtctldata.dev.VDiffCreateRequest + (*dev2.VDiffShowRequest)(nil), // 174: vitess.vtctldata.dev.VDiffShowRequest + (*dev1.CellsAlias)(nil), // 175: vitess.topodata.dev.CellsAlias + (*dev2.GetSchemaMigrationsRequest)(nil), // 176: vitess.vtctldata.dev.GetSchemaMigrationsRequest + (*dev2.GetSrvKeyspacesResponse)(nil), // 177: vitess.vtctldata.dev.GetSrvKeyspacesResponse + (*dev2.ApplySchemaResponse)(nil), // 178: vitess.vtctldata.dev.ApplySchemaResponse + (*dev2.CancelSchemaMigrationResponse)(nil), // 179: vitess.vtctldata.dev.CancelSchemaMigrationResponse + (*dev2.CleanupSchemaMigrationResponse)(nil), // 180: vitess.vtctldata.dev.CleanupSchemaMigrationResponse + (*dev2.CompleteSchemaMigrationResponse)(nil), // 181: vitess.vtctldata.dev.CompleteSchemaMigrationResponse + (*dev2.ConcludeTransactionResponse)(nil), // 182: vitess.vtctldata.dev.ConcludeTransactionResponse + (*dev2.CreateShardResponse)(nil), // 183: vitess.vtctldata.dev.CreateShardResponse + (*dev2.DeleteKeyspaceResponse)(nil), // 184: vitess.vtctldata.dev.DeleteKeyspaceResponse + (*dev2.DeleteShardsResponse)(nil), // 185: vitess.vtctldata.dev.DeleteShardsResponse + (*dev2.GetFullStatusResponse)(nil), // 186: vitess.vtctldata.dev.GetFullStatusResponse + (*dev2.GetTopologyPathResponse)(nil), // 187: vitess.vtctldata.dev.GetTopologyPathResponse + (*dev2.GetTransactionInfoResponse)(nil), // 188: vitess.vtctldata.dev.GetTransactionInfoResponse + (*dev2.GetUnresolvedTransactionsResponse)(nil), // 189: vitess.vtctldata.dev.GetUnresolvedTransactionsResponse + (*dev2.WorkflowStatusResponse)(nil), // 190: vitess.vtctldata.dev.WorkflowStatusResponse + (*dev2.WorkflowUpdateResponse)(nil), // 191: vitess.vtctldata.dev.WorkflowUpdateResponse + (*dev2.LaunchSchemaMigrationResponse)(nil), // 192: vitess.vtctldata.dev.LaunchSchemaMigrationResponse + (*dev2.MoveTablesCompleteResponse)(nil), // 193: vitess.vtctldata.dev.MoveTablesCompleteResponse + (*dev2.MaterializeCreateResponse)(nil), // 194: vitess.vtctldata.dev.MaterializeCreateResponse + (*dev2.RetrySchemaMigrationResponse)(nil), // 195: vitess.vtctldata.dev.RetrySchemaMigrationResponse + (*dev2.ValidateResponse)(nil), // 196: vitess.vtctldata.dev.ValidateResponse + (*dev2.ValidateKeyspaceResponse)(nil), // 197: vitess.vtctldata.dev.ValidateKeyspaceResponse + (*dev2.ValidateSchemaKeyspaceResponse)(nil), // 198: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse + (*dev2.ValidateShardResponse)(nil), // 199: vitess.vtctldata.dev.ValidateShardResponse + (*dev2.ValidateVersionKeyspaceResponse)(nil), // 200: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse + (*dev2.ValidateVersionShardResponse)(nil), // 201: vitess.vtctldata.dev.ValidateVersionShardResponse + (*dev2.VDiffCreateResponse)(nil), // 202: vitess.vtctldata.dev.VDiffCreateResponse + (*dev2.WorkflowDeleteResponse)(nil), // 203: vitess.vtctldata.dev.WorkflowDeleteResponse + (*dev2.WorkflowSwitchTrafficResponse)(nil), // 204: vitess.vtctldata.dev.WorkflowSwitchTrafficResponse } var file_vitess_vtadmin_dev_vtadmin_proto_depIdxs = []int32{ 1, // 0: vitess.vtadmin.dev.ClusterBackup.cluster:type_name -> vitess.vtadmin.dev.Cluster - 112, // 1: vitess.vtadmin.dev.ClusterBackup.backup:type_name -> vitess.mysqlctl.dev.BackupInfo + 140, // 1: vitess.vtadmin.dev.ClusterBackup.backup:type_name -> vitess.mysqlctl.dev.BackupInfo 1, // 2: vitess.vtadmin.dev.ClusterCellsAliases.cluster:type_name -> vitess.vtadmin.dev.Cluster - 101, // 3: vitess.vtadmin.dev.ClusterCellsAliases.aliases:type_name -> vitess.vtadmin.dev.ClusterCellsAliases.AliasesEntry + 127, // 3: vitess.vtadmin.dev.ClusterCellsAliases.aliases:type_name -> vitess.vtadmin.dev.ClusterCellsAliases.AliasesEntry 1, // 4: vitess.vtadmin.dev.ClusterCellInfo.cluster:type_name -> vitess.vtadmin.dev.Cluster - 113, // 5: vitess.vtadmin.dev.ClusterCellInfo.cell_info:type_name -> vitess.topodata.dev.CellInfo + 141, // 5: vitess.vtadmin.dev.ClusterCellInfo.cell_info:type_name -> vitess.topodata.dev.CellInfo 1, // 6: vitess.vtadmin.dev.ClusterShardReplicationPosition.cluster:type_name -> vitess.vtadmin.dev.Cluster - 114, // 7: vitess.vtadmin.dev.ClusterShardReplicationPosition.position_info:type_name -> vitess.vtctldata.dev.ShardReplicationPositionsResponse - 15, // 8: vitess.vtadmin.dev.ClusterWorkflows.workflows:type_name -> vitess.vtadmin.dev.Workflow + 142, // 7: vitess.vtadmin.dev.ClusterShardReplicationPosition.position_info:type_name -> vitess.vtctldata.dev.ShardReplicationPositionsResponse + 16, // 8: vitess.vtadmin.dev.ClusterWorkflows.workflows:type_name -> vitess.vtadmin.dev.Workflow 1, // 9: vitess.vtadmin.dev.Keyspace.cluster:type_name -> vitess.vtadmin.dev.Cluster - 115, // 10: vitess.vtadmin.dev.Keyspace.keyspace:type_name -> vitess.vtctldata.dev.Keyspace - 102, // 11: vitess.vtadmin.dev.Keyspace.shards:type_name -> vitess.vtadmin.dev.Keyspace.ShardsEntry + 143, // 10: vitess.vtadmin.dev.Keyspace.keyspace:type_name -> vitess.vtctldata.dev.Keyspace + 128, // 11: vitess.vtadmin.dev.Keyspace.shards:type_name -> vitess.vtadmin.dev.Keyspace.ShardsEntry 1, // 12: vitess.vtadmin.dev.Schema.cluster:type_name -> vitess.vtadmin.dev.Cluster - 116, // 13: vitess.vtadmin.dev.Schema.table_definitions:type_name -> vitess.tabletmanagerdata.dev.TableDefinition - 103, // 14: vitess.vtadmin.dev.Schema.table_sizes:type_name -> vitess.vtadmin.dev.Schema.TableSizesEntry - 1, // 15: vitess.vtadmin.dev.Shard.cluster:type_name -> vitess.vtadmin.dev.Cluster - 117, // 16: vitess.vtadmin.dev.Shard.shard:type_name -> vitess.vtctldata.dev.Shard - 1, // 17: vitess.vtadmin.dev.SrvVSchema.cluster:type_name -> vitess.vtadmin.dev.Cluster - 118, // 18: vitess.vtadmin.dev.SrvVSchema.srv_v_schema:type_name -> vitess.vschema.dev.SrvVSchema - 1, // 19: vitess.vtadmin.dev.Tablet.cluster:type_name -> vitess.vtadmin.dev.Cluster - 119, // 20: vitess.vtadmin.dev.Tablet.tablet:type_name -> vitess.topodata.dev.Tablet - 0, // 21: vitess.vtadmin.dev.Tablet.state:type_name -> vitess.vtadmin.dev.Tablet.ServingState - 1, // 22: vitess.vtadmin.dev.VSchema.cluster:type_name -> vitess.vtadmin.dev.Cluster - 120, // 23: vitess.vtadmin.dev.VSchema.v_schema:type_name -> vitess.vschema.dev.Keyspace - 1, // 24: vitess.vtadmin.dev.Vtctld.cluster:type_name -> vitess.vtadmin.dev.Cluster - 1, // 25: vitess.vtadmin.dev.VTGate.cluster:type_name -> vitess.vtadmin.dev.Cluster - 1, // 26: vitess.vtadmin.dev.Workflow.cluster:type_name -> vitess.vtadmin.dev.Cluster - 121, // 27: vitess.vtadmin.dev.Workflow.workflow:type_name -> vitess.vtctldata.dev.Workflow - 122, // 28: vitess.vtadmin.dev.CreateKeyspaceRequest.options:type_name -> vitess.vtctldata.dev.CreateKeyspaceRequest - 7, // 29: vitess.vtadmin.dev.CreateKeyspaceResponse.keyspace:type_name -> vitess.vtadmin.dev.Keyspace - 123, // 30: vitess.vtadmin.dev.CreateShardRequest.options:type_name -> vitess.vtctldata.dev.CreateShardRequest - 124, // 31: vitess.vtadmin.dev.DeleteKeyspaceRequest.options:type_name -> vitess.vtctldata.dev.DeleteKeyspaceRequest - 125, // 32: vitess.vtadmin.dev.DeleteShardsRequest.options:type_name -> vitess.vtctldata.dev.DeleteShardsRequest - 126, // 33: vitess.vtadmin.dev.DeleteTabletRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 1, // 34: vitess.vtadmin.dev.DeleteTabletResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 127, // 35: vitess.vtadmin.dev.EmergencyFailoverShardRequest.options:type_name -> vitess.vtctldata.dev.EmergencyReparentShardRequest - 1, // 36: vitess.vtadmin.dev.EmergencyFailoverShardResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 37: vitess.vtadmin.dev.EmergencyFailoverShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias - 128, // 38: vitess.vtadmin.dev.EmergencyFailoverShardResponse.events:type_name -> vitess.logutil.dev.Event - 51, // 39: vitess.vtadmin.dev.FindSchemaRequest.table_size_options:type_name -> vitess.vtadmin.dev.GetSchemaTableSizeOptions - 129, // 40: vitess.vtadmin.dev.GetBackupsRequest.request_options:type_name -> vitess.vtctldata.dev.GetBackupsRequest - 2, // 41: vitess.vtadmin.dev.GetBackupsResponse.backups:type_name -> vitess.vtadmin.dev.ClusterBackup - 4, // 42: vitess.vtadmin.dev.GetCellInfosResponse.cell_infos:type_name -> vitess.vtadmin.dev.ClusterCellInfo - 3, // 43: vitess.vtadmin.dev.GetCellsAliasesResponse.aliases:type_name -> vitess.vtadmin.dev.ClusterCellsAliases - 1, // 44: vitess.vtadmin.dev.GetClustersResponse.clusters:type_name -> vitess.vtadmin.dev.Cluster - 126, // 45: vitess.vtadmin.dev.GetFullStatusRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 14, // 46: vitess.vtadmin.dev.GetGatesResponse.gates:type_name -> vitess.vtadmin.dev.VTGate - 7, // 47: vitess.vtadmin.dev.GetKeyspacesResponse.keyspaces:type_name -> vitess.vtadmin.dev.Keyspace - 51, // 48: vitess.vtadmin.dev.GetSchemaRequest.table_size_options:type_name -> vitess.vtadmin.dev.GetSchemaTableSizeOptions - 51, // 49: vitess.vtadmin.dev.GetSchemasRequest.table_size_options:type_name -> vitess.vtadmin.dev.GetSchemaTableSizeOptions - 8, // 50: vitess.vtadmin.dev.GetSchemasResponse.schemas:type_name -> vitess.vtadmin.dev.Schema - 5, // 51: vitess.vtadmin.dev.GetShardReplicationPositionsResponse.replication_positions:type_name -> vitess.vtadmin.dev.ClusterShardReplicationPosition - 107, // 52: vitess.vtadmin.dev.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vitess.vtadmin.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry - 10, // 53: vitess.vtadmin.dev.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vitess.vtadmin.dev.SrvVSchema - 126, // 54: vitess.vtadmin.dev.GetTabletRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 11, // 55: vitess.vtadmin.dev.GetTabletsResponse.tablets:type_name -> vitess.vtadmin.dev.Tablet - 12, // 56: vitess.vtadmin.dev.GetVSchemasResponse.v_schemas:type_name -> vitess.vtadmin.dev.VSchema - 13, // 57: vitess.vtadmin.dev.GetVtctldsResponse.vtctlds:type_name -> vitess.vtadmin.dev.Vtctld - 108, // 58: vitess.vtadmin.dev.GetWorkflowsResponse.workflows_by_cluster:type_name -> vitess.vtadmin.dev.GetWorkflowsResponse.WorkflowsByClusterEntry - 126, // 59: vitess.vtadmin.dev.PingTabletRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 1, // 60: vitess.vtadmin.dev.PingTabletResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 130, // 61: vitess.vtadmin.dev.PlannedFailoverShardRequest.options:type_name -> vitess.vtctldata.dev.PlannedReparentShardRequest - 1, // 62: vitess.vtadmin.dev.PlannedFailoverShardResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 63: vitess.vtadmin.dev.PlannedFailoverShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias - 128, // 64: vitess.vtadmin.dev.PlannedFailoverShardResponse.events:type_name -> vitess.logutil.dev.Event - 126, // 65: vitess.vtadmin.dev.RefreshStateRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 1, // 66: vitess.vtadmin.dev.RefreshStateResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 67: vitess.vtadmin.dev.ReloadSchemasRequest.tablets:type_name -> vitess.topodata.dev.TabletAlias - 109, // 68: vitess.vtadmin.dev.ReloadSchemasResponse.keyspace_results:type_name -> vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult - 110, // 69: vitess.vtadmin.dev.ReloadSchemasResponse.shard_results:type_name -> vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult - 111, // 70: vitess.vtadmin.dev.ReloadSchemasResponse.tablet_results:type_name -> vitess.vtadmin.dev.ReloadSchemasResponse.TabletResult - 128, // 71: vitess.vtadmin.dev.ReloadSchemaShardResponse.events:type_name -> vitess.logutil.dev.Event - 126, // 72: vitess.vtadmin.dev.RefreshTabletReplicationSourceRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 126, // 73: vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse.primary:type_name -> vitess.topodata.dev.TabletAlias - 1, // 74: vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 75: vitess.vtadmin.dev.RunHealthCheckRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 1, // 76: vitess.vtadmin.dev.RunHealthCheckResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 77: vitess.vtadmin.dev.SetReadOnlyRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 126, // 78: vitess.vtadmin.dev.SetReadWriteRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 126, // 79: vitess.vtadmin.dev.StartReplicationRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 1, // 80: vitess.vtadmin.dev.StartReplicationResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 81: vitess.vtadmin.dev.StopReplicationRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 1, // 82: vitess.vtadmin.dev.StopReplicationResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 83: vitess.vtadmin.dev.TabletExternallyPromotedRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 1, // 84: vitess.vtadmin.dev.TabletExternallyPromotedResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster - 126, // 85: vitess.vtadmin.dev.TabletExternallyPromotedResponse.new_primary:type_name -> vitess.topodata.dev.TabletAlias - 126, // 86: vitess.vtadmin.dev.TabletExternallyPromotedResponse.old_primary:type_name -> vitess.topodata.dev.TabletAlias - 126, // 87: vitess.vtadmin.dev.TabletExternallyReparentedRequest.alias:type_name -> vitess.topodata.dev.TabletAlias - 131, // 88: vitess.vtadmin.dev.ClusterCellsAliases.AliasesEntry.value:type_name -> vitess.topodata.dev.CellsAlias - 117, // 89: vitess.vtadmin.dev.Keyspace.ShardsEntry.value:type_name -> vitess.vtctldata.dev.Shard - 105, // 90: vitess.vtadmin.dev.Schema.TableSizesEntry.value:type_name -> vitess.vtadmin.dev.Schema.TableSize - 106, // 91: vitess.vtadmin.dev.Schema.TableSize.by_shard:type_name -> vitess.vtadmin.dev.Schema.TableSize.ByShardEntry - 104, // 92: vitess.vtadmin.dev.Schema.TableSize.ByShardEntry.value:type_name -> vitess.vtadmin.dev.Schema.ShardTableSize - 132, // 93: vitess.vtadmin.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> vitess.vtctldata.dev.GetSrvKeyspacesResponse - 6, // 94: vitess.vtadmin.dev.GetWorkflowsResponse.WorkflowsByClusterEntry.value:type_name -> vitess.vtadmin.dev.ClusterWorkflows - 7, // 95: vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult.keyspace:type_name -> vitess.vtadmin.dev.Keyspace - 128, // 96: vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult.events:type_name -> vitess.logutil.dev.Event - 9, // 97: vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult.shard:type_name -> vitess.vtadmin.dev.Shard - 128, // 98: vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult.events:type_name -> vitess.logutil.dev.Event - 11, // 99: vitess.vtadmin.dev.ReloadSchemasResponse.TabletResult.tablet:type_name -> vitess.vtadmin.dev.Tablet - 16, // 100: vitess.vtadmin.dev.VTAdmin.CreateKeyspace:input_type -> vitess.vtadmin.dev.CreateKeyspaceRequest - 18, // 101: vitess.vtadmin.dev.VTAdmin.CreateShard:input_type -> vitess.vtadmin.dev.CreateShardRequest - 19, // 102: vitess.vtadmin.dev.VTAdmin.DeleteKeyspace:input_type -> vitess.vtadmin.dev.DeleteKeyspaceRequest - 20, // 103: vitess.vtadmin.dev.VTAdmin.DeleteShards:input_type -> vitess.vtadmin.dev.DeleteShardsRequest - 21, // 104: vitess.vtadmin.dev.VTAdmin.DeleteTablet:input_type -> vitess.vtadmin.dev.DeleteTabletRequest - 23, // 105: vitess.vtadmin.dev.VTAdmin.EmergencyFailoverShard:input_type -> vitess.vtadmin.dev.EmergencyFailoverShardRequest - 25, // 106: vitess.vtadmin.dev.VTAdmin.FindSchema:input_type -> vitess.vtadmin.dev.FindSchemaRequest - 26, // 107: vitess.vtadmin.dev.VTAdmin.GetBackups:input_type -> vitess.vtadmin.dev.GetBackupsRequest - 28, // 108: vitess.vtadmin.dev.VTAdmin.GetCellInfos:input_type -> vitess.vtadmin.dev.GetCellInfosRequest - 30, // 109: vitess.vtadmin.dev.VTAdmin.GetCellsAliases:input_type -> vitess.vtadmin.dev.GetCellsAliasesRequest - 32, // 110: vitess.vtadmin.dev.VTAdmin.GetClusters:input_type -> vitess.vtadmin.dev.GetClustersRequest - 34, // 111: vitess.vtadmin.dev.VTAdmin.GetFullStatus:input_type -> vitess.vtadmin.dev.GetFullStatusRequest - 35, // 112: vitess.vtadmin.dev.VTAdmin.GetGates:input_type -> vitess.vtadmin.dev.GetGatesRequest - 37, // 113: vitess.vtadmin.dev.VTAdmin.GetKeyspace:input_type -> vitess.vtadmin.dev.GetKeyspaceRequest - 38, // 114: vitess.vtadmin.dev.VTAdmin.GetKeyspaces:input_type -> vitess.vtadmin.dev.GetKeyspacesRequest - 40, // 115: vitess.vtadmin.dev.VTAdmin.GetSchema:input_type -> vitess.vtadmin.dev.GetSchemaRequest - 41, // 116: vitess.vtadmin.dev.VTAdmin.GetSchemas:input_type -> vitess.vtadmin.dev.GetSchemasRequest - 43, // 117: vitess.vtadmin.dev.VTAdmin.GetShardReplicationPositions:input_type -> vitess.vtadmin.dev.GetShardReplicationPositionsRequest - 45, // 118: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspace:input_type -> vitess.vtadmin.dev.GetSrvKeyspaceRequest - 46, // 119: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspaces:input_type -> vitess.vtadmin.dev.GetSrvKeyspacesRequest - 48, // 120: vitess.vtadmin.dev.VTAdmin.GetSrvVSchema:input_type -> vitess.vtadmin.dev.GetSrvVSchemaRequest - 49, // 121: vitess.vtadmin.dev.VTAdmin.GetSrvVSchemas:input_type -> vitess.vtadmin.dev.GetSrvVSchemasRequest - 52, // 122: vitess.vtadmin.dev.VTAdmin.GetTablet:input_type -> vitess.vtadmin.dev.GetTabletRequest - 53, // 123: vitess.vtadmin.dev.VTAdmin.GetTablets:input_type -> vitess.vtadmin.dev.GetTabletsRequest - 55, // 124: vitess.vtadmin.dev.VTAdmin.GetTopologyPath:input_type -> vitess.vtadmin.dev.GetTopologyPathRequest - 56, // 125: vitess.vtadmin.dev.VTAdmin.GetVSchema:input_type -> vitess.vtadmin.dev.GetVSchemaRequest - 57, // 126: vitess.vtadmin.dev.VTAdmin.GetVSchemas:input_type -> vitess.vtadmin.dev.GetVSchemasRequest - 59, // 127: vitess.vtadmin.dev.VTAdmin.GetVtctlds:input_type -> vitess.vtadmin.dev.GetVtctldsRequest - 61, // 128: vitess.vtadmin.dev.VTAdmin.GetWorkflow:input_type -> vitess.vtadmin.dev.GetWorkflowRequest - 62, // 129: vitess.vtadmin.dev.VTAdmin.GetWorkflows:input_type -> vitess.vtadmin.dev.GetWorkflowsRequest - 64, // 130: vitess.vtadmin.dev.VTAdmin.PingTablet:input_type -> vitess.vtadmin.dev.PingTabletRequest - 66, // 131: vitess.vtadmin.dev.VTAdmin.PlannedFailoverShard:input_type -> vitess.vtadmin.dev.PlannedFailoverShardRequest - 68, // 132: vitess.vtadmin.dev.VTAdmin.RebuildKeyspaceGraph:input_type -> vitess.vtadmin.dev.RebuildKeyspaceGraphRequest - 70, // 133: vitess.vtadmin.dev.VTAdmin.RefreshState:input_type -> vitess.vtadmin.dev.RefreshStateRequest - 76, // 134: vitess.vtadmin.dev.VTAdmin.RefreshTabletReplicationSource:input_type -> vitess.vtadmin.dev.RefreshTabletReplicationSourceRequest - 72, // 135: vitess.vtadmin.dev.VTAdmin.ReloadSchemas:input_type -> vitess.vtadmin.dev.ReloadSchemasRequest - 74, // 136: vitess.vtadmin.dev.VTAdmin.ReloadSchemaShard:input_type -> vitess.vtadmin.dev.ReloadSchemaShardRequest - 78, // 137: vitess.vtadmin.dev.VTAdmin.RemoveKeyspaceCell:input_type -> vitess.vtadmin.dev.RemoveKeyspaceCellRequest - 80, // 138: vitess.vtadmin.dev.VTAdmin.RunHealthCheck:input_type -> vitess.vtadmin.dev.RunHealthCheckRequest - 82, // 139: vitess.vtadmin.dev.VTAdmin.SetReadOnly:input_type -> vitess.vtadmin.dev.SetReadOnlyRequest - 84, // 140: vitess.vtadmin.dev.VTAdmin.SetReadWrite:input_type -> vitess.vtadmin.dev.SetReadWriteRequest - 86, // 141: vitess.vtadmin.dev.VTAdmin.StartReplication:input_type -> vitess.vtadmin.dev.StartReplicationRequest - 88, // 142: vitess.vtadmin.dev.VTAdmin.StopReplication:input_type -> vitess.vtadmin.dev.StopReplicationRequest - 90, // 143: vitess.vtadmin.dev.VTAdmin.TabletExternallyPromoted:input_type -> vitess.vtadmin.dev.TabletExternallyPromotedRequest - 93, // 144: vitess.vtadmin.dev.VTAdmin.Validate:input_type -> vitess.vtadmin.dev.ValidateRequest - 94, // 145: vitess.vtadmin.dev.VTAdmin.ValidateKeyspace:input_type -> vitess.vtadmin.dev.ValidateKeyspaceRequest - 95, // 146: vitess.vtadmin.dev.VTAdmin.ValidateSchemaKeyspace:input_type -> vitess.vtadmin.dev.ValidateSchemaKeyspaceRequest - 96, // 147: vitess.vtadmin.dev.VTAdmin.ValidateShard:input_type -> vitess.vtadmin.dev.ValidateShardRequest - 97, // 148: vitess.vtadmin.dev.VTAdmin.ValidateVersionKeyspace:input_type -> vitess.vtadmin.dev.ValidateVersionKeyspaceRequest - 98, // 149: vitess.vtadmin.dev.VTAdmin.ValidateVersionShard:input_type -> vitess.vtadmin.dev.ValidateVersionShardRequest - 99, // 150: vitess.vtadmin.dev.VTAdmin.VTExplain:input_type -> vitess.vtadmin.dev.VTExplainRequest - 17, // 151: vitess.vtadmin.dev.VTAdmin.CreateKeyspace:output_type -> vitess.vtadmin.dev.CreateKeyspaceResponse - 133, // 152: vitess.vtadmin.dev.VTAdmin.CreateShard:output_type -> vitess.vtctldata.dev.CreateShardResponse - 134, // 153: vitess.vtadmin.dev.VTAdmin.DeleteKeyspace:output_type -> vitess.vtctldata.dev.DeleteKeyspaceResponse - 135, // 154: vitess.vtadmin.dev.VTAdmin.DeleteShards:output_type -> vitess.vtctldata.dev.DeleteShardsResponse - 22, // 155: vitess.vtadmin.dev.VTAdmin.DeleteTablet:output_type -> vitess.vtadmin.dev.DeleteTabletResponse - 24, // 156: vitess.vtadmin.dev.VTAdmin.EmergencyFailoverShard:output_type -> vitess.vtadmin.dev.EmergencyFailoverShardResponse - 8, // 157: vitess.vtadmin.dev.VTAdmin.FindSchema:output_type -> vitess.vtadmin.dev.Schema - 27, // 158: vitess.vtadmin.dev.VTAdmin.GetBackups:output_type -> vitess.vtadmin.dev.GetBackupsResponse - 29, // 159: vitess.vtadmin.dev.VTAdmin.GetCellInfos:output_type -> vitess.vtadmin.dev.GetCellInfosResponse - 31, // 160: vitess.vtadmin.dev.VTAdmin.GetCellsAliases:output_type -> vitess.vtadmin.dev.GetCellsAliasesResponse - 33, // 161: vitess.vtadmin.dev.VTAdmin.GetClusters:output_type -> vitess.vtadmin.dev.GetClustersResponse - 136, // 162: vitess.vtadmin.dev.VTAdmin.GetFullStatus:output_type -> vitess.vtctldata.dev.GetFullStatusResponse - 36, // 163: vitess.vtadmin.dev.VTAdmin.GetGates:output_type -> vitess.vtadmin.dev.GetGatesResponse - 7, // 164: vitess.vtadmin.dev.VTAdmin.GetKeyspace:output_type -> vitess.vtadmin.dev.Keyspace - 39, // 165: vitess.vtadmin.dev.VTAdmin.GetKeyspaces:output_type -> vitess.vtadmin.dev.GetKeyspacesResponse - 8, // 166: vitess.vtadmin.dev.VTAdmin.GetSchema:output_type -> vitess.vtadmin.dev.Schema - 42, // 167: vitess.vtadmin.dev.VTAdmin.GetSchemas:output_type -> vitess.vtadmin.dev.GetSchemasResponse - 44, // 168: vitess.vtadmin.dev.VTAdmin.GetShardReplicationPositions:output_type -> vitess.vtadmin.dev.GetShardReplicationPositionsResponse - 132, // 169: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspace:output_type -> vitess.vtctldata.dev.GetSrvKeyspacesResponse - 47, // 170: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspaces:output_type -> vitess.vtadmin.dev.GetSrvKeyspacesResponse - 10, // 171: vitess.vtadmin.dev.VTAdmin.GetSrvVSchema:output_type -> vitess.vtadmin.dev.SrvVSchema - 50, // 172: vitess.vtadmin.dev.VTAdmin.GetSrvVSchemas:output_type -> vitess.vtadmin.dev.GetSrvVSchemasResponse - 11, // 173: vitess.vtadmin.dev.VTAdmin.GetTablet:output_type -> vitess.vtadmin.dev.Tablet - 54, // 174: vitess.vtadmin.dev.VTAdmin.GetTablets:output_type -> vitess.vtadmin.dev.GetTabletsResponse - 137, // 175: vitess.vtadmin.dev.VTAdmin.GetTopologyPath:output_type -> vitess.vtctldata.dev.GetTopologyPathResponse - 12, // 176: vitess.vtadmin.dev.VTAdmin.GetVSchema:output_type -> vitess.vtadmin.dev.VSchema - 58, // 177: vitess.vtadmin.dev.VTAdmin.GetVSchemas:output_type -> vitess.vtadmin.dev.GetVSchemasResponse - 60, // 178: vitess.vtadmin.dev.VTAdmin.GetVtctlds:output_type -> vitess.vtadmin.dev.GetVtctldsResponse - 15, // 179: vitess.vtadmin.dev.VTAdmin.GetWorkflow:output_type -> vitess.vtadmin.dev.Workflow - 63, // 180: vitess.vtadmin.dev.VTAdmin.GetWorkflows:output_type -> vitess.vtadmin.dev.GetWorkflowsResponse - 65, // 181: vitess.vtadmin.dev.VTAdmin.PingTablet:output_type -> vitess.vtadmin.dev.PingTabletResponse - 67, // 182: vitess.vtadmin.dev.VTAdmin.PlannedFailoverShard:output_type -> vitess.vtadmin.dev.PlannedFailoverShardResponse - 69, // 183: vitess.vtadmin.dev.VTAdmin.RebuildKeyspaceGraph:output_type -> vitess.vtadmin.dev.RebuildKeyspaceGraphResponse - 71, // 184: vitess.vtadmin.dev.VTAdmin.RefreshState:output_type -> vitess.vtadmin.dev.RefreshStateResponse - 77, // 185: vitess.vtadmin.dev.VTAdmin.RefreshTabletReplicationSource:output_type -> vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse - 73, // 186: vitess.vtadmin.dev.VTAdmin.ReloadSchemas:output_type -> vitess.vtadmin.dev.ReloadSchemasResponse - 75, // 187: vitess.vtadmin.dev.VTAdmin.ReloadSchemaShard:output_type -> vitess.vtadmin.dev.ReloadSchemaShardResponse - 79, // 188: vitess.vtadmin.dev.VTAdmin.RemoveKeyspaceCell:output_type -> vitess.vtadmin.dev.RemoveKeyspaceCellResponse - 81, // 189: vitess.vtadmin.dev.VTAdmin.RunHealthCheck:output_type -> vitess.vtadmin.dev.RunHealthCheckResponse - 83, // 190: vitess.vtadmin.dev.VTAdmin.SetReadOnly:output_type -> vitess.vtadmin.dev.SetReadOnlyResponse - 85, // 191: vitess.vtadmin.dev.VTAdmin.SetReadWrite:output_type -> vitess.vtadmin.dev.SetReadWriteResponse - 87, // 192: vitess.vtadmin.dev.VTAdmin.StartReplication:output_type -> vitess.vtadmin.dev.StartReplicationResponse - 89, // 193: vitess.vtadmin.dev.VTAdmin.StopReplication:output_type -> vitess.vtadmin.dev.StopReplicationResponse - 91, // 194: vitess.vtadmin.dev.VTAdmin.TabletExternallyPromoted:output_type -> vitess.vtadmin.dev.TabletExternallyPromotedResponse - 138, // 195: vitess.vtadmin.dev.VTAdmin.Validate:output_type -> vitess.vtctldata.dev.ValidateResponse - 139, // 196: vitess.vtadmin.dev.VTAdmin.ValidateKeyspace:output_type -> vitess.vtctldata.dev.ValidateKeyspaceResponse - 140, // 197: vitess.vtadmin.dev.VTAdmin.ValidateSchemaKeyspace:output_type -> vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse - 141, // 198: vitess.vtadmin.dev.VTAdmin.ValidateShard:output_type -> vitess.vtctldata.dev.ValidateShardResponse - 142, // 199: vitess.vtadmin.dev.VTAdmin.ValidateVersionKeyspace:output_type -> vitess.vtctldata.dev.ValidateVersionKeyspaceResponse - 143, // 200: vitess.vtadmin.dev.VTAdmin.ValidateVersionShard:output_type -> vitess.vtctldata.dev.ValidateVersionShardResponse - 100, // 201: vitess.vtadmin.dev.VTAdmin.VTExplain:output_type -> vitess.vtadmin.dev.VTExplainResponse - 151, // [151:202] is the sub-list for method output_type - 100, // [100:151] is the sub-list for method input_type - 100, // [100:100] is the sub-list for extension type_name - 100, // [100:100] is the sub-list for extension extendee - 0, // [0:100] is the sub-list for field type_name + 144, // 13: vitess.vtadmin.dev.Schema.table_definitions:type_name -> vitess.tabletmanagerdata.dev.TableDefinition + 129, // 14: vitess.vtadmin.dev.Schema.table_sizes:type_name -> vitess.vtadmin.dev.Schema.TableSizesEntry + 1, // 15: vitess.vtadmin.dev.SchemaMigration.cluster:type_name -> vitess.vtadmin.dev.Cluster + 145, // 16: vitess.vtadmin.dev.SchemaMigration.schema_migration:type_name -> vitess.vtctldata.dev.SchemaMigration + 1, // 17: vitess.vtadmin.dev.Shard.cluster:type_name -> vitess.vtadmin.dev.Cluster + 146, // 18: vitess.vtadmin.dev.Shard.shard:type_name -> vitess.vtctldata.dev.Shard + 1, // 19: vitess.vtadmin.dev.SrvVSchema.cluster:type_name -> vitess.vtadmin.dev.Cluster + 147, // 20: vitess.vtadmin.dev.SrvVSchema.srv_v_schema:type_name -> vitess.vschema.dev.SrvVSchema + 1, // 21: vitess.vtadmin.dev.Tablet.cluster:type_name -> vitess.vtadmin.dev.Cluster + 148, // 22: vitess.vtadmin.dev.Tablet.tablet:type_name -> vitess.topodata.dev.Tablet + 0, // 23: vitess.vtadmin.dev.Tablet.state:type_name -> vitess.vtadmin.dev.Tablet.ServingState + 1, // 24: vitess.vtadmin.dev.VSchema.cluster:type_name -> vitess.vtadmin.dev.Cluster + 149, // 25: vitess.vtadmin.dev.VSchema.v_schema:type_name -> vitess.vschema.dev.Keyspace + 1, // 26: vitess.vtadmin.dev.Vtctld.cluster:type_name -> vitess.vtadmin.dev.Cluster + 1, // 27: vitess.vtadmin.dev.VTGate.cluster:type_name -> vitess.vtadmin.dev.Cluster + 1, // 28: vitess.vtadmin.dev.Workflow.cluster:type_name -> vitess.vtadmin.dev.Cluster + 150, // 29: vitess.vtadmin.dev.Workflow.workflow:type_name -> vitess.vtctldata.dev.Workflow + 151, // 30: vitess.vtadmin.dev.WorkflowDeleteRequest.request:type_name -> vitess.vtctldata.dev.WorkflowDeleteRequest + 152, // 31: vitess.vtadmin.dev.WorkflowSwitchTrafficRequest.request:type_name -> vitess.vtctldata.dev.WorkflowSwitchTrafficRequest + 153, // 32: vitess.vtadmin.dev.ApplySchemaRequest.request:type_name -> vitess.vtctldata.dev.ApplySchemaRequest + 154, // 33: vitess.vtadmin.dev.CancelSchemaMigrationRequest.request:type_name -> vitess.vtctldata.dev.CancelSchemaMigrationRequest + 155, // 34: vitess.vtadmin.dev.CleanupSchemaMigrationRequest.request:type_name -> vitess.vtctldata.dev.CleanupSchemaMigrationRequest + 156, // 35: vitess.vtadmin.dev.CompleteSchemaMigrationRequest.request:type_name -> vitess.vtctldata.dev.CompleteSchemaMigrationRequest + 157, // 36: vitess.vtadmin.dev.CreateKeyspaceRequest.options:type_name -> vitess.vtctldata.dev.CreateKeyspaceRequest + 7, // 37: vitess.vtadmin.dev.CreateKeyspaceResponse.keyspace:type_name -> vitess.vtadmin.dev.Keyspace + 158, // 38: vitess.vtadmin.dev.CreateShardRequest.options:type_name -> vitess.vtctldata.dev.CreateShardRequest + 159, // 39: vitess.vtadmin.dev.DeleteKeyspaceRequest.options:type_name -> vitess.vtctldata.dev.DeleteKeyspaceRequest + 160, // 40: vitess.vtadmin.dev.DeleteShardsRequest.options:type_name -> vitess.vtctldata.dev.DeleteShardsRequest + 161, // 41: vitess.vtadmin.dev.DeleteTabletRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 1, // 42: vitess.vtadmin.dev.DeleteTabletResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 162, // 43: vitess.vtadmin.dev.EmergencyFailoverShardRequest.options:type_name -> vitess.vtctldata.dev.EmergencyReparentShardRequest + 1, // 44: vitess.vtadmin.dev.EmergencyFailoverShardResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 161, // 45: vitess.vtadmin.dev.EmergencyFailoverShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias + 163, // 46: vitess.vtadmin.dev.EmergencyFailoverShardResponse.events:type_name -> vitess.logutil.dev.Event + 61, // 47: vitess.vtadmin.dev.FindSchemaRequest.table_size_options:type_name -> vitess.vtadmin.dev.GetSchemaTableSizeOptions + 164, // 48: vitess.vtadmin.dev.GetBackupsRequest.request_options:type_name -> vitess.vtctldata.dev.GetBackupsRequest + 2, // 49: vitess.vtadmin.dev.GetBackupsResponse.backups:type_name -> vitess.vtadmin.dev.ClusterBackup + 4, // 50: vitess.vtadmin.dev.GetCellInfosResponse.cell_infos:type_name -> vitess.vtadmin.dev.ClusterCellInfo + 3, // 51: vitess.vtadmin.dev.GetCellsAliasesResponse.aliases:type_name -> vitess.vtadmin.dev.ClusterCellsAliases + 1, // 52: vitess.vtadmin.dev.GetClustersResponse.clusters:type_name -> vitess.vtadmin.dev.Cluster + 161, // 53: vitess.vtadmin.dev.GetFullStatusRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 15, // 54: vitess.vtadmin.dev.GetGatesResponse.gates:type_name -> vitess.vtadmin.dev.VTGate + 7, // 55: vitess.vtadmin.dev.GetKeyspacesResponse.keyspaces:type_name -> vitess.vtadmin.dev.Keyspace + 61, // 56: vitess.vtadmin.dev.GetSchemaRequest.table_size_options:type_name -> vitess.vtadmin.dev.GetSchemaTableSizeOptions + 61, // 57: vitess.vtadmin.dev.GetSchemasRequest.table_size_options:type_name -> vitess.vtadmin.dev.GetSchemaTableSizeOptions + 8, // 58: vitess.vtadmin.dev.GetSchemasResponse.schemas:type_name -> vitess.vtadmin.dev.Schema + 133, // 59: vitess.vtadmin.dev.GetSchemaMigrationsRequest.cluster_requests:type_name -> vitess.vtadmin.dev.GetSchemaMigrationsRequest.ClusterRequest + 9, // 60: vitess.vtadmin.dev.GetSchemaMigrationsResponse.schema_migrations:type_name -> vitess.vtadmin.dev.SchemaMigration + 5, // 61: vitess.vtadmin.dev.GetShardReplicationPositionsResponse.replication_positions:type_name -> vitess.vtadmin.dev.ClusterShardReplicationPosition + 134, // 62: vitess.vtadmin.dev.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vitess.vtadmin.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry + 11, // 63: vitess.vtadmin.dev.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vitess.vtadmin.dev.SrvVSchema + 161, // 64: vitess.vtadmin.dev.GetTabletRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 12, // 65: vitess.vtadmin.dev.GetTabletsResponse.tablets:type_name -> vitess.vtadmin.dev.Tablet + 165, // 66: vitess.vtadmin.dev.GetTransactionInfoRequest.request:type_name -> vitess.vtctldata.dev.GetTransactionInfoRequest + 13, // 67: vitess.vtadmin.dev.GetVSchemasResponse.v_schemas:type_name -> vitess.vtadmin.dev.VSchema + 14, // 68: vitess.vtadmin.dev.GetVtctldsResponse.vtctlds:type_name -> vitess.vtadmin.dev.Vtctld + 135, // 69: vitess.vtadmin.dev.GetWorkflowsResponse.workflows_by_cluster:type_name -> vitess.vtadmin.dev.GetWorkflowsResponse.WorkflowsByClusterEntry + 166, // 70: vitess.vtadmin.dev.LaunchSchemaMigrationRequest.request:type_name -> vitess.vtctldata.dev.LaunchSchemaMigrationRequest + 167, // 71: vitess.vtadmin.dev.MaterializeCreateRequest.request:type_name -> vitess.vtctldata.dev.MaterializeCreateRequest + 168, // 72: vitess.vtadmin.dev.MoveTablesCompleteRequest.request:type_name -> vitess.vtctldata.dev.MoveTablesCompleteRequest + 169, // 73: vitess.vtadmin.dev.MoveTablesCreateRequest.request:type_name -> vitess.vtctldata.dev.MoveTablesCreateRequest + 161, // 74: vitess.vtadmin.dev.PingTabletRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 1, // 75: vitess.vtadmin.dev.PingTabletResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 170, // 76: vitess.vtadmin.dev.PlannedFailoverShardRequest.options:type_name -> vitess.vtctldata.dev.PlannedReparentShardRequest + 1, // 77: vitess.vtadmin.dev.PlannedFailoverShardResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 161, // 78: vitess.vtadmin.dev.PlannedFailoverShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias + 163, // 79: vitess.vtadmin.dev.PlannedFailoverShardResponse.events:type_name -> vitess.logutil.dev.Event + 161, // 80: vitess.vtadmin.dev.RefreshStateRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 1, // 81: vitess.vtadmin.dev.RefreshStateResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 161, // 82: vitess.vtadmin.dev.ReloadSchemasRequest.tablets:type_name -> vitess.topodata.dev.TabletAlias + 136, // 83: vitess.vtadmin.dev.ReloadSchemasResponse.keyspace_results:type_name -> vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult + 137, // 84: vitess.vtadmin.dev.ReloadSchemasResponse.shard_results:type_name -> vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult + 138, // 85: vitess.vtadmin.dev.ReloadSchemasResponse.tablet_results:type_name -> vitess.vtadmin.dev.ReloadSchemasResponse.TabletResult + 163, // 86: vitess.vtadmin.dev.ReloadSchemaShardResponse.events:type_name -> vitess.logutil.dev.Event + 161, // 87: vitess.vtadmin.dev.RefreshTabletReplicationSourceRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 161, // 88: vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse.primary:type_name -> vitess.topodata.dev.TabletAlias + 1, // 89: vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 171, // 90: vitess.vtadmin.dev.RetrySchemaMigrationRequest.request:type_name -> vitess.vtctldata.dev.RetrySchemaMigrationRequest + 161, // 91: vitess.vtadmin.dev.RunHealthCheckRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 1, // 92: vitess.vtadmin.dev.RunHealthCheckResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 172, // 93: vitess.vtadmin.dev.ReshardCreateRequest.request:type_name -> vitess.vtctldata.dev.ReshardCreateRequest + 161, // 94: vitess.vtadmin.dev.SetReadOnlyRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 161, // 95: vitess.vtadmin.dev.SetReadWriteRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 161, // 96: vitess.vtadmin.dev.StartReplicationRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 1, // 97: vitess.vtadmin.dev.StartReplicationResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 161, // 98: vitess.vtadmin.dev.StopReplicationRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 1, // 99: vitess.vtadmin.dev.StopReplicationResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 161, // 100: vitess.vtadmin.dev.TabletExternallyPromotedRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 1, // 101: vitess.vtadmin.dev.TabletExternallyPromotedResponse.cluster:type_name -> vitess.vtadmin.dev.Cluster + 161, // 102: vitess.vtadmin.dev.TabletExternallyPromotedResponse.new_primary:type_name -> vitess.topodata.dev.TabletAlias + 161, // 103: vitess.vtadmin.dev.TabletExternallyPromotedResponse.old_primary:type_name -> vitess.topodata.dev.TabletAlias + 161, // 104: vitess.vtadmin.dev.TabletExternallyReparentedRequest.alias:type_name -> vitess.topodata.dev.TabletAlias + 173, // 105: vitess.vtadmin.dev.VDiffCreateRequest.request:type_name -> vitess.vtctldata.dev.VDiffCreateRequest + 174, // 106: vitess.vtadmin.dev.VDiffShowRequest.request:type_name -> vitess.vtctldata.dev.VDiffShowRequest + 122, // 107: vitess.vtadmin.dev.VDiffShardReport.progress:type_name -> vitess.vtadmin.dev.VDiffProgress + 139, // 108: vitess.vtadmin.dev.VDiffShowResponse.shard_report:type_name -> vitess.vtadmin.dev.VDiffShowResponse.ShardReportEntry + 175, // 109: vitess.vtadmin.dev.ClusterCellsAliases.AliasesEntry.value:type_name -> vitess.topodata.dev.CellsAlias + 146, // 110: vitess.vtadmin.dev.Keyspace.ShardsEntry.value:type_name -> vitess.vtctldata.dev.Shard + 131, // 111: vitess.vtadmin.dev.Schema.TableSizesEntry.value:type_name -> vitess.vtadmin.dev.Schema.TableSize + 132, // 112: vitess.vtadmin.dev.Schema.TableSize.by_shard:type_name -> vitess.vtadmin.dev.Schema.TableSize.ByShardEntry + 130, // 113: vitess.vtadmin.dev.Schema.TableSize.ByShardEntry.value:type_name -> vitess.vtadmin.dev.Schema.ShardTableSize + 176, // 114: vitess.vtadmin.dev.GetSchemaMigrationsRequest.ClusterRequest.request:type_name -> vitess.vtctldata.dev.GetSchemaMigrationsRequest + 177, // 115: vitess.vtadmin.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> vitess.vtctldata.dev.GetSrvKeyspacesResponse + 6, // 116: vitess.vtadmin.dev.GetWorkflowsResponse.WorkflowsByClusterEntry.value:type_name -> vitess.vtadmin.dev.ClusterWorkflows + 7, // 117: vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult.keyspace:type_name -> vitess.vtadmin.dev.Keyspace + 163, // 118: vitess.vtadmin.dev.ReloadSchemasResponse.KeyspaceResult.events:type_name -> vitess.logutil.dev.Event + 10, // 119: vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult.shard:type_name -> vitess.vtadmin.dev.Shard + 163, // 120: vitess.vtadmin.dev.ReloadSchemasResponse.ShardResult.events:type_name -> vitess.logutil.dev.Event + 12, // 121: vitess.vtadmin.dev.ReloadSchemasResponse.TabletResult.tablet:type_name -> vitess.vtadmin.dev.Tablet + 123, // 122: vitess.vtadmin.dev.VDiffShowResponse.ShardReportEntry.value:type_name -> vitess.vtadmin.dev.VDiffShardReport + 19, // 123: vitess.vtadmin.dev.VTAdmin.ApplySchema:input_type -> vitess.vtadmin.dev.ApplySchemaRequest + 20, // 124: vitess.vtadmin.dev.VTAdmin.CancelSchemaMigration:input_type -> vitess.vtadmin.dev.CancelSchemaMigrationRequest + 21, // 125: vitess.vtadmin.dev.VTAdmin.CleanupSchemaMigration:input_type -> vitess.vtadmin.dev.CleanupSchemaMigrationRequest + 22, // 126: vitess.vtadmin.dev.VTAdmin.CompleteSchemaMigration:input_type -> vitess.vtadmin.dev.CompleteSchemaMigrationRequest + 23, // 127: vitess.vtadmin.dev.VTAdmin.ConcludeTransaction:input_type -> vitess.vtadmin.dev.ConcludeTransactionRequest + 24, // 128: vitess.vtadmin.dev.VTAdmin.CreateKeyspace:input_type -> vitess.vtadmin.dev.CreateKeyspaceRequest + 26, // 129: vitess.vtadmin.dev.VTAdmin.CreateShard:input_type -> vitess.vtadmin.dev.CreateShardRequest + 27, // 130: vitess.vtadmin.dev.VTAdmin.DeleteKeyspace:input_type -> vitess.vtadmin.dev.DeleteKeyspaceRequest + 28, // 131: vitess.vtadmin.dev.VTAdmin.DeleteShards:input_type -> vitess.vtadmin.dev.DeleteShardsRequest + 29, // 132: vitess.vtadmin.dev.VTAdmin.DeleteTablet:input_type -> vitess.vtadmin.dev.DeleteTabletRequest + 31, // 133: vitess.vtadmin.dev.VTAdmin.EmergencyFailoverShard:input_type -> vitess.vtadmin.dev.EmergencyFailoverShardRequest + 33, // 134: vitess.vtadmin.dev.VTAdmin.FindSchema:input_type -> vitess.vtadmin.dev.FindSchemaRequest + 34, // 135: vitess.vtadmin.dev.VTAdmin.GetBackups:input_type -> vitess.vtadmin.dev.GetBackupsRequest + 36, // 136: vitess.vtadmin.dev.VTAdmin.GetCellInfos:input_type -> vitess.vtadmin.dev.GetCellInfosRequest + 38, // 137: vitess.vtadmin.dev.VTAdmin.GetCellsAliases:input_type -> vitess.vtadmin.dev.GetCellsAliasesRequest + 40, // 138: vitess.vtadmin.dev.VTAdmin.GetClusters:input_type -> vitess.vtadmin.dev.GetClustersRequest + 42, // 139: vitess.vtadmin.dev.VTAdmin.GetFullStatus:input_type -> vitess.vtadmin.dev.GetFullStatusRequest + 43, // 140: vitess.vtadmin.dev.VTAdmin.GetGates:input_type -> vitess.vtadmin.dev.GetGatesRequest + 45, // 141: vitess.vtadmin.dev.VTAdmin.GetKeyspace:input_type -> vitess.vtadmin.dev.GetKeyspaceRequest + 46, // 142: vitess.vtadmin.dev.VTAdmin.GetKeyspaces:input_type -> vitess.vtadmin.dev.GetKeyspacesRequest + 48, // 143: vitess.vtadmin.dev.VTAdmin.GetSchema:input_type -> vitess.vtadmin.dev.GetSchemaRequest + 49, // 144: vitess.vtadmin.dev.VTAdmin.GetSchemas:input_type -> vitess.vtadmin.dev.GetSchemasRequest + 51, // 145: vitess.vtadmin.dev.VTAdmin.GetSchemaMigrations:input_type -> vitess.vtadmin.dev.GetSchemaMigrationsRequest + 53, // 146: vitess.vtadmin.dev.VTAdmin.GetShardReplicationPositions:input_type -> vitess.vtadmin.dev.GetShardReplicationPositionsRequest + 55, // 147: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspace:input_type -> vitess.vtadmin.dev.GetSrvKeyspaceRequest + 56, // 148: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspaces:input_type -> vitess.vtadmin.dev.GetSrvKeyspacesRequest + 58, // 149: vitess.vtadmin.dev.VTAdmin.GetSrvVSchema:input_type -> vitess.vtadmin.dev.GetSrvVSchemaRequest + 59, // 150: vitess.vtadmin.dev.VTAdmin.GetSrvVSchemas:input_type -> vitess.vtadmin.dev.GetSrvVSchemasRequest + 62, // 151: vitess.vtadmin.dev.VTAdmin.GetTablet:input_type -> vitess.vtadmin.dev.GetTabletRequest + 63, // 152: vitess.vtadmin.dev.VTAdmin.GetTablets:input_type -> vitess.vtadmin.dev.GetTabletsRequest + 65, // 153: vitess.vtadmin.dev.VTAdmin.GetTopologyPath:input_type -> vitess.vtadmin.dev.GetTopologyPathRequest + 66, // 154: vitess.vtadmin.dev.VTAdmin.GetTransactionInfo:input_type -> vitess.vtadmin.dev.GetTransactionInfoRequest + 67, // 155: vitess.vtadmin.dev.VTAdmin.GetUnresolvedTransactions:input_type -> vitess.vtadmin.dev.GetUnresolvedTransactionsRequest + 68, // 156: vitess.vtadmin.dev.VTAdmin.GetVSchema:input_type -> vitess.vtadmin.dev.GetVSchemaRequest + 69, // 157: vitess.vtadmin.dev.VTAdmin.GetVSchemas:input_type -> vitess.vtadmin.dev.GetVSchemasRequest + 71, // 158: vitess.vtadmin.dev.VTAdmin.GetVtctlds:input_type -> vitess.vtadmin.dev.GetVtctldsRequest + 73, // 159: vitess.vtadmin.dev.VTAdmin.GetWorkflow:input_type -> vitess.vtadmin.dev.GetWorkflowRequest + 77, // 160: vitess.vtadmin.dev.VTAdmin.GetWorkflows:input_type -> vitess.vtadmin.dev.GetWorkflowsRequest + 74, // 161: vitess.vtadmin.dev.VTAdmin.GetWorkflowStatus:input_type -> vitess.vtadmin.dev.GetWorkflowStatusRequest + 75, // 162: vitess.vtadmin.dev.VTAdmin.StartWorkflow:input_type -> vitess.vtadmin.dev.StartWorkflowRequest + 76, // 163: vitess.vtadmin.dev.VTAdmin.StopWorkflow:input_type -> vitess.vtadmin.dev.StopWorkflowRequest + 79, // 164: vitess.vtadmin.dev.VTAdmin.LaunchSchemaMigration:input_type -> vitess.vtadmin.dev.LaunchSchemaMigrationRequest + 81, // 165: vitess.vtadmin.dev.VTAdmin.MoveTablesComplete:input_type -> vitess.vtadmin.dev.MoveTablesCompleteRequest + 82, // 166: vitess.vtadmin.dev.VTAdmin.MoveTablesCreate:input_type -> vitess.vtadmin.dev.MoveTablesCreateRequest + 80, // 167: vitess.vtadmin.dev.VTAdmin.MaterializeCreate:input_type -> vitess.vtadmin.dev.MaterializeCreateRequest + 83, // 168: vitess.vtadmin.dev.VTAdmin.PingTablet:input_type -> vitess.vtadmin.dev.PingTabletRequest + 85, // 169: vitess.vtadmin.dev.VTAdmin.PlannedFailoverShard:input_type -> vitess.vtadmin.dev.PlannedFailoverShardRequest + 87, // 170: vitess.vtadmin.dev.VTAdmin.RebuildKeyspaceGraph:input_type -> vitess.vtadmin.dev.RebuildKeyspaceGraphRequest + 89, // 171: vitess.vtadmin.dev.VTAdmin.RefreshState:input_type -> vitess.vtadmin.dev.RefreshStateRequest + 95, // 172: vitess.vtadmin.dev.VTAdmin.RefreshTabletReplicationSource:input_type -> vitess.vtadmin.dev.RefreshTabletReplicationSourceRequest + 91, // 173: vitess.vtadmin.dev.VTAdmin.ReloadSchemas:input_type -> vitess.vtadmin.dev.ReloadSchemasRequest + 93, // 174: vitess.vtadmin.dev.VTAdmin.ReloadSchemaShard:input_type -> vitess.vtadmin.dev.ReloadSchemaShardRequest + 97, // 175: vitess.vtadmin.dev.VTAdmin.RemoveKeyspaceCell:input_type -> vitess.vtadmin.dev.RemoveKeyspaceCellRequest + 99, // 176: vitess.vtadmin.dev.VTAdmin.RetrySchemaMigration:input_type -> vitess.vtadmin.dev.RetrySchemaMigrationRequest + 100, // 177: vitess.vtadmin.dev.VTAdmin.RunHealthCheck:input_type -> vitess.vtadmin.dev.RunHealthCheckRequest + 102, // 178: vitess.vtadmin.dev.VTAdmin.ReshardCreate:input_type -> vitess.vtadmin.dev.ReshardCreateRequest + 103, // 179: vitess.vtadmin.dev.VTAdmin.SetReadOnly:input_type -> vitess.vtadmin.dev.SetReadOnlyRequest + 105, // 180: vitess.vtadmin.dev.VTAdmin.SetReadWrite:input_type -> vitess.vtadmin.dev.SetReadWriteRequest + 107, // 181: vitess.vtadmin.dev.VTAdmin.StartReplication:input_type -> vitess.vtadmin.dev.StartReplicationRequest + 109, // 182: vitess.vtadmin.dev.VTAdmin.StopReplication:input_type -> vitess.vtadmin.dev.StopReplicationRequest + 111, // 183: vitess.vtadmin.dev.VTAdmin.TabletExternallyPromoted:input_type -> vitess.vtadmin.dev.TabletExternallyPromotedRequest + 114, // 184: vitess.vtadmin.dev.VTAdmin.Validate:input_type -> vitess.vtadmin.dev.ValidateRequest + 115, // 185: vitess.vtadmin.dev.VTAdmin.ValidateKeyspace:input_type -> vitess.vtadmin.dev.ValidateKeyspaceRequest + 116, // 186: vitess.vtadmin.dev.VTAdmin.ValidateSchemaKeyspace:input_type -> vitess.vtadmin.dev.ValidateSchemaKeyspaceRequest + 117, // 187: vitess.vtadmin.dev.VTAdmin.ValidateShard:input_type -> vitess.vtadmin.dev.ValidateShardRequest + 118, // 188: vitess.vtadmin.dev.VTAdmin.ValidateVersionKeyspace:input_type -> vitess.vtadmin.dev.ValidateVersionKeyspaceRequest + 119, // 189: vitess.vtadmin.dev.VTAdmin.ValidateVersionShard:input_type -> vitess.vtadmin.dev.ValidateVersionShardRequest + 120, // 190: vitess.vtadmin.dev.VTAdmin.VDiffCreate:input_type -> vitess.vtadmin.dev.VDiffCreateRequest + 121, // 191: vitess.vtadmin.dev.VTAdmin.VDiffShow:input_type -> vitess.vtadmin.dev.VDiffShowRequest + 125, // 192: vitess.vtadmin.dev.VTAdmin.VTExplain:input_type -> vitess.vtadmin.dev.VTExplainRequest + 17, // 193: vitess.vtadmin.dev.VTAdmin.WorkflowDelete:input_type -> vitess.vtadmin.dev.WorkflowDeleteRequest + 18, // 194: vitess.vtadmin.dev.VTAdmin.WorkflowSwitchTraffic:input_type -> vitess.vtadmin.dev.WorkflowSwitchTrafficRequest + 178, // 195: vitess.vtadmin.dev.VTAdmin.ApplySchema:output_type -> vitess.vtctldata.dev.ApplySchemaResponse + 179, // 196: vitess.vtadmin.dev.VTAdmin.CancelSchemaMigration:output_type -> vitess.vtctldata.dev.CancelSchemaMigrationResponse + 180, // 197: vitess.vtadmin.dev.VTAdmin.CleanupSchemaMigration:output_type -> vitess.vtctldata.dev.CleanupSchemaMigrationResponse + 181, // 198: vitess.vtadmin.dev.VTAdmin.CompleteSchemaMigration:output_type -> vitess.vtctldata.dev.CompleteSchemaMigrationResponse + 182, // 199: vitess.vtadmin.dev.VTAdmin.ConcludeTransaction:output_type -> vitess.vtctldata.dev.ConcludeTransactionResponse + 25, // 200: vitess.vtadmin.dev.VTAdmin.CreateKeyspace:output_type -> vitess.vtadmin.dev.CreateKeyspaceResponse + 183, // 201: vitess.vtadmin.dev.VTAdmin.CreateShard:output_type -> vitess.vtctldata.dev.CreateShardResponse + 184, // 202: vitess.vtadmin.dev.VTAdmin.DeleteKeyspace:output_type -> vitess.vtctldata.dev.DeleteKeyspaceResponse + 185, // 203: vitess.vtadmin.dev.VTAdmin.DeleteShards:output_type -> vitess.vtctldata.dev.DeleteShardsResponse + 30, // 204: vitess.vtadmin.dev.VTAdmin.DeleteTablet:output_type -> vitess.vtadmin.dev.DeleteTabletResponse + 32, // 205: vitess.vtadmin.dev.VTAdmin.EmergencyFailoverShard:output_type -> vitess.vtadmin.dev.EmergencyFailoverShardResponse + 8, // 206: vitess.vtadmin.dev.VTAdmin.FindSchema:output_type -> vitess.vtadmin.dev.Schema + 35, // 207: vitess.vtadmin.dev.VTAdmin.GetBackups:output_type -> vitess.vtadmin.dev.GetBackupsResponse + 37, // 208: vitess.vtadmin.dev.VTAdmin.GetCellInfos:output_type -> vitess.vtadmin.dev.GetCellInfosResponse + 39, // 209: vitess.vtadmin.dev.VTAdmin.GetCellsAliases:output_type -> vitess.vtadmin.dev.GetCellsAliasesResponse + 41, // 210: vitess.vtadmin.dev.VTAdmin.GetClusters:output_type -> vitess.vtadmin.dev.GetClustersResponse + 186, // 211: vitess.vtadmin.dev.VTAdmin.GetFullStatus:output_type -> vitess.vtctldata.dev.GetFullStatusResponse + 44, // 212: vitess.vtadmin.dev.VTAdmin.GetGates:output_type -> vitess.vtadmin.dev.GetGatesResponse + 7, // 213: vitess.vtadmin.dev.VTAdmin.GetKeyspace:output_type -> vitess.vtadmin.dev.Keyspace + 47, // 214: vitess.vtadmin.dev.VTAdmin.GetKeyspaces:output_type -> vitess.vtadmin.dev.GetKeyspacesResponse + 8, // 215: vitess.vtadmin.dev.VTAdmin.GetSchema:output_type -> vitess.vtadmin.dev.Schema + 50, // 216: vitess.vtadmin.dev.VTAdmin.GetSchemas:output_type -> vitess.vtadmin.dev.GetSchemasResponse + 52, // 217: vitess.vtadmin.dev.VTAdmin.GetSchemaMigrations:output_type -> vitess.vtadmin.dev.GetSchemaMigrationsResponse + 54, // 218: vitess.vtadmin.dev.VTAdmin.GetShardReplicationPositions:output_type -> vitess.vtadmin.dev.GetShardReplicationPositionsResponse + 177, // 219: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspace:output_type -> vitess.vtctldata.dev.GetSrvKeyspacesResponse + 57, // 220: vitess.vtadmin.dev.VTAdmin.GetSrvKeyspaces:output_type -> vitess.vtadmin.dev.GetSrvKeyspacesResponse + 11, // 221: vitess.vtadmin.dev.VTAdmin.GetSrvVSchema:output_type -> vitess.vtadmin.dev.SrvVSchema + 60, // 222: vitess.vtadmin.dev.VTAdmin.GetSrvVSchemas:output_type -> vitess.vtadmin.dev.GetSrvVSchemasResponse + 12, // 223: vitess.vtadmin.dev.VTAdmin.GetTablet:output_type -> vitess.vtadmin.dev.Tablet + 64, // 224: vitess.vtadmin.dev.VTAdmin.GetTablets:output_type -> vitess.vtadmin.dev.GetTabletsResponse + 187, // 225: vitess.vtadmin.dev.VTAdmin.GetTopologyPath:output_type -> vitess.vtctldata.dev.GetTopologyPathResponse + 188, // 226: vitess.vtadmin.dev.VTAdmin.GetTransactionInfo:output_type -> vitess.vtctldata.dev.GetTransactionInfoResponse + 189, // 227: vitess.vtadmin.dev.VTAdmin.GetUnresolvedTransactions:output_type -> vitess.vtctldata.dev.GetUnresolvedTransactionsResponse + 13, // 228: vitess.vtadmin.dev.VTAdmin.GetVSchema:output_type -> vitess.vtadmin.dev.VSchema + 70, // 229: vitess.vtadmin.dev.VTAdmin.GetVSchemas:output_type -> vitess.vtadmin.dev.GetVSchemasResponse + 72, // 230: vitess.vtadmin.dev.VTAdmin.GetVtctlds:output_type -> vitess.vtadmin.dev.GetVtctldsResponse + 16, // 231: vitess.vtadmin.dev.VTAdmin.GetWorkflow:output_type -> vitess.vtadmin.dev.Workflow + 78, // 232: vitess.vtadmin.dev.VTAdmin.GetWorkflows:output_type -> vitess.vtadmin.dev.GetWorkflowsResponse + 190, // 233: vitess.vtadmin.dev.VTAdmin.GetWorkflowStatus:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse + 191, // 234: vitess.vtadmin.dev.VTAdmin.StartWorkflow:output_type -> vitess.vtctldata.dev.WorkflowUpdateResponse + 191, // 235: vitess.vtadmin.dev.VTAdmin.StopWorkflow:output_type -> vitess.vtctldata.dev.WorkflowUpdateResponse + 192, // 236: vitess.vtadmin.dev.VTAdmin.LaunchSchemaMigration:output_type -> vitess.vtctldata.dev.LaunchSchemaMigrationResponse + 193, // 237: vitess.vtadmin.dev.VTAdmin.MoveTablesComplete:output_type -> vitess.vtctldata.dev.MoveTablesCompleteResponse + 190, // 238: vitess.vtadmin.dev.VTAdmin.MoveTablesCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse + 194, // 239: vitess.vtadmin.dev.VTAdmin.MaterializeCreate:output_type -> vitess.vtctldata.dev.MaterializeCreateResponse + 84, // 240: vitess.vtadmin.dev.VTAdmin.PingTablet:output_type -> vitess.vtadmin.dev.PingTabletResponse + 86, // 241: vitess.vtadmin.dev.VTAdmin.PlannedFailoverShard:output_type -> vitess.vtadmin.dev.PlannedFailoverShardResponse + 88, // 242: vitess.vtadmin.dev.VTAdmin.RebuildKeyspaceGraph:output_type -> vitess.vtadmin.dev.RebuildKeyspaceGraphResponse + 90, // 243: vitess.vtadmin.dev.VTAdmin.RefreshState:output_type -> vitess.vtadmin.dev.RefreshStateResponse + 96, // 244: vitess.vtadmin.dev.VTAdmin.RefreshTabletReplicationSource:output_type -> vitess.vtadmin.dev.RefreshTabletReplicationSourceResponse + 92, // 245: vitess.vtadmin.dev.VTAdmin.ReloadSchemas:output_type -> vitess.vtadmin.dev.ReloadSchemasResponse + 94, // 246: vitess.vtadmin.dev.VTAdmin.ReloadSchemaShard:output_type -> vitess.vtadmin.dev.ReloadSchemaShardResponse + 98, // 247: vitess.vtadmin.dev.VTAdmin.RemoveKeyspaceCell:output_type -> vitess.vtadmin.dev.RemoveKeyspaceCellResponse + 195, // 248: vitess.vtadmin.dev.VTAdmin.RetrySchemaMigration:output_type -> vitess.vtctldata.dev.RetrySchemaMigrationResponse + 101, // 249: vitess.vtadmin.dev.VTAdmin.RunHealthCheck:output_type -> vitess.vtadmin.dev.RunHealthCheckResponse + 190, // 250: vitess.vtadmin.dev.VTAdmin.ReshardCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse + 104, // 251: vitess.vtadmin.dev.VTAdmin.SetReadOnly:output_type -> vitess.vtadmin.dev.SetReadOnlyResponse + 106, // 252: vitess.vtadmin.dev.VTAdmin.SetReadWrite:output_type -> vitess.vtadmin.dev.SetReadWriteResponse + 108, // 253: vitess.vtadmin.dev.VTAdmin.StartReplication:output_type -> vitess.vtadmin.dev.StartReplicationResponse + 110, // 254: vitess.vtadmin.dev.VTAdmin.StopReplication:output_type -> vitess.vtadmin.dev.StopReplicationResponse + 112, // 255: vitess.vtadmin.dev.VTAdmin.TabletExternallyPromoted:output_type -> vitess.vtadmin.dev.TabletExternallyPromotedResponse + 196, // 256: vitess.vtadmin.dev.VTAdmin.Validate:output_type -> vitess.vtctldata.dev.ValidateResponse + 197, // 257: vitess.vtadmin.dev.VTAdmin.ValidateKeyspace:output_type -> vitess.vtctldata.dev.ValidateKeyspaceResponse + 198, // 258: vitess.vtadmin.dev.VTAdmin.ValidateSchemaKeyspace:output_type -> vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse + 199, // 259: vitess.vtadmin.dev.VTAdmin.ValidateShard:output_type -> vitess.vtctldata.dev.ValidateShardResponse + 200, // 260: vitess.vtadmin.dev.VTAdmin.ValidateVersionKeyspace:output_type -> vitess.vtctldata.dev.ValidateVersionKeyspaceResponse + 201, // 261: vitess.vtadmin.dev.VTAdmin.ValidateVersionShard:output_type -> vitess.vtctldata.dev.ValidateVersionShardResponse + 202, // 262: vitess.vtadmin.dev.VTAdmin.VDiffCreate:output_type -> vitess.vtctldata.dev.VDiffCreateResponse + 124, // 263: vitess.vtadmin.dev.VTAdmin.VDiffShow:output_type -> vitess.vtadmin.dev.VDiffShowResponse + 126, // 264: vitess.vtadmin.dev.VTAdmin.VTExplain:output_type -> vitess.vtadmin.dev.VTExplainResponse + 203, // 265: vitess.vtadmin.dev.VTAdmin.WorkflowDelete:output_type -> vitess.vtctldata.dev.WorkflowDeleteResponse + 204, // 266: vitess.vtadmin.dev.VTAdmin.WorkflowSwitchTraffic:output_type -> vitess.vtctldata.dev.WorkflowSwitchTrafficResponse + 195, // [195:267] is the sub-list for method output_type + 123, // [123:195] is the sub-list for method input_type + 123, // [123:123] is the sub-list for extension type_name + 123, // [123:123] is the sub-list for extension extendee + 0, // [0:123] is the sub-list for field type_name } func init() { file_vitess_vtadmin_dev_vtadmin_proto_init() } @@ -7845,7 +9909,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Cluster); i { case 0: return &v.state @@ -7857,8 +9921,56 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClusterBackup); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*ClusterBackup); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*ClusterCellsAliases); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ClusterCellInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ClusterShardReplicationPosition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*ClusterWorkflows); i { case 0: return &v.state case 1: @@ -7869,8 +9981,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClusterCellsAliases); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*Keyspace); i { case 0: return &v.state case 1: @@ -7881,8 +9993,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClusterCellInfo); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*Schema); i { case 0: return &v.state case 1: @@ -7893,8 +10005,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClusterShardReplicationPosition); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*SchemaMigration); i { case 0: return &v.state case 1: @@ -7905,8 +10017,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClusterWorkflows); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*Shard); i { case 0: return &v.state case 1: @@ -7917,8 +10029,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Keyspace); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*SrvVSchema); i { case 0: return &v.state case 1: @@ -7929,8 +10041,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Schema); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*Tablet); i { case 0: return &v.state case 1: @@ -7941,8 +10053,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Shard); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*VSchema); i { case 0: return &v.state case 1: @@ -7953,8 +10065,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SrvVSchema); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*Vtctld); i { case 0: return &v.state case 1: @@ -7965,8 +10077,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Tablet); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*VTGate); i { case 0: return &v.state case 1: @@ -7977,8 +10089,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VSchema); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*Workflow); i { case 0: return &v.state case 1: @@ -7989,8 +10101,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Vtctld); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowDeleteRequest); i { case 0: return &v.state case 1: @@ -8001,8 +10113,8 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VTGate); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowSwitchTrafficRequest); i { case 0: return &v.state case 1: @@ -8013,8 +10125,56 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Workflow); i { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*CancelSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*CleanupSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*CompleteSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*ConcludeTransactionRequest); i { case 0: return &v.state case 1: @@ -8025,7 +10185,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state @@ -8037,7 +10197,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state @@ -8049,7 +10209,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*CreateShardRequest); i { case 0: return &v.state @@ -8061,7 +10221,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state @@ -8073,7 +10233,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state @@ -8085,7 +10245,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletRequest); i { case 0: return &v.state @@ -8097,7 +10257,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletResponse); i { case 0: return &v.state @@ -8109,7 +10269,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardRequest); i { case 0: return &v.state @@ -8121,7 +10281,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardResponse); i { case 0: return &v.state @@ -8133,7 +10293,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*FindSchemaRequest); i { case 0: return &v.state @@ -8145,7 +10305,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsRequest); i { case 0: return &v.state @@ -8157,7 +10317,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsResponse); i { case 0: return &v.state @@ -8169,7 +10329,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosRequest); i { case 0: return &v.state @@ -8181,7 +10341,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosResponse); i { case 0: return &v.state @@ -8193,7 +10353,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state @@ -8205,7 +10365,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state @@ -8217,7 +10377,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*GetClustersRequest); i { case 0: return &v.state @@ -8229,7 +10389,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*GetClustersResponse); i { case 0: return &v.state @@ -8241,7 +10401,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state @@ -8253,7 +10413,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*GetGatesRequest); i { case 0: return &v.state @@ -8265,7 +10425,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*GetGatesResponse); i { case 0: return &v.state @@ -8277,7 +10437,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state @@ -8289,7 +10449,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state @@ -8301,7 +10461,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state @@ -8313,7 +10473,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -8325,7 +10485,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasRequest); i { case 0: return &v.state @@ -8337,7 +10497,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasResponse); i { case 0: return &v.state @@ -8349,7 +10509,31 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[50].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[51].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsRequest); i { case 0: return &v.state @@ -8361,7 +10545,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsResponse); i { case 0: return &v.state @@ -8373,7 +10557,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceRequest); i { case 0: return &v.state @@ -8385,7 +10569,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesRequest); i { case 0: return &v.state @@ -8397,7 +10581,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesResponse); i { case 0: return &v.state @@ -8409,7 +10593,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state @@ -8421,7 +10605,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state @@ -8433,7 +10617,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state @@ -8445,7 +10629,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaTableSizeOptions); i { case 0: return &v.state @@ -8457,7 +10641,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetTabletRequest); i { case 0: return &v.state @@ -8469,7 +10653,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsRequest); i { case 0: return &v.state @@ -8481,7 +10665,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsResponse); i { case 0: return &v.state @@ -8493,7 +10677,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state @@ -8505,7 +10689,31 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*GetTransactionInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[66].Exporter = func(v any, i int) any { + switch v := v.(*GetUnresolvedTransactionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -8517,7 +10725,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasRequest); i { case 0: return &v.state @@ -8529,7 +10737,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasResponse); i { case 0: return &v.state @@ -8541,7 +10749,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsRequest); i { case 0: return &v.state @@ -8553,7 +10761,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsResponse); i { case 0: return &v.state @@ -8565,7 +10773,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowRequest); i { case 0: return &v.state @@ -8577,7 +10785,43 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[73].Exporter = func(v any, i int) any { + switch v := v.(*GetWorkflowStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[74].Exporter = func(v any, i int) any { + switch v := v.(*StartWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[75].Exporter = func(v any, i int) any { + switch v := v.(*StopWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -8589,7 +10833,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -8601,7 +10845,55 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[78].Exporter = func(v any, i int) any { + switch v := v.(*LaunchSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[79].Exporter = func(v any, i int) any { + switch v := v.(*MaterializeCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[80].Exporter = func(v any, i int) any { + switch v := v.(*MoveTablesCompleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[81].Exporter = func(v any, i int) any { + switch v := v.(*MoveTablesCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -8613,7 +10905,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -8625,7 +10917,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardRequest); i { case 0: return &v.state @@ -8637,7 +10929,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardResponse); i { case 0: return &v.state @@ -8649,7 +10941,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -8661,7 +10953,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -8673,7 +10965,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -8685,7 +10977,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -8697,7 +10989,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasRequest); i { case 0: return &v.state @@ -8709,7 +11001,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse); i { case 0: return &v.state @@ -8721,7 +11013,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -8733,7 +11025,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -8745,7 +11037,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceRequest); i { case 0: return &v.state @@ -8757,7 +11049,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceResponse); i { case 0: return &v.state @@ -8769,7 +11061,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -8781,7 +11073,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -8793,7 +11085,19 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[98].Exporter = func(v any, i int) any { + switch v := v.(*RetrySchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -8805,7 +11109,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -8817,7 +11121,19 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[101].Exporter = func(v any, i int) any { + switch v := v.(*ReshardCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[102].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyRequest); i { case 0: return &v.state @@ -8829,7 +11145,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyResponse); i { case 0: return &v.state @@ -8841,7 +11157,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteRequest); i { case 0: return &v.state @@ -8853,7 +11169,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[105].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteResponse); i { case 0: return &v.state @@ -8865,7 +11181,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[106].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -8877,7 +11193,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[107].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -8889,7 +11205,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[108].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -8901,7 +11217,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[109].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -8913,7 +11229,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[110].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedRequest); i { case 0: return &v.state @@ -8925,7 +11241,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[111].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedResponse); i { case 0: return &v.state @@ -8937,7 +11253,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[112].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -8949,7 +11265,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[113].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -8961,7 +11277,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[114].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -8973,7 +11289,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[115].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -8985,7 +11301,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[116].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -8997,7 +11313,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[117].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -9009,7 +11325,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[118].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -9021,7 +11337,67 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[119].Exporter = func(v any, i int) any { + switch v := v.(*VDiffCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[120].Exporter = func(v any, i int) any { + switch v := v.(*VDiffShowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[121].Exporter = func(v any, i int) any { + switch v := v.(*VDiffProgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[122].Exporter = func(v any, i int) any { + switch v := v.(*VDiffShardReport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[123].Exporter = func(v any, i int) any { + switch v := v.(*VDiffShowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[124].Exporter = func(v any, i int) any { switch v := v.(*VTExplainRequest); i { case 0: return &v.state @@ -9033,7 +11409,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[125].Exporter = func(v any, i int) any { switch v := v.(*VTExplainResponse); i { case 0: return &v.state @@ -9045,7 +11421,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[129].Exporter = func(v any, i int) any { switch v := v.(*Schema_ShardTableSize); i { case 0: return &v.state @@ -9057,7 +11433,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[130].Exporter = func(v any, i int) any { switch v := v.(*Schema_TableSize); i { case 0: return &v.state @@ -9069,7 +11445,19 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[132].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsRequest_ClusterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[135].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_KeyspaceResult); i { case 0: return &v.state @@ -9081,7 +11469,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[136].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_ShardResult); i { case 0: return &v.state @@ -9093,7 +11481,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_dev_vtadmin_proto_msgTypes[137].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_TabletResult); i { case 0: return &v.state @@ -9112,7 +11500,7 @@ func file_vitess_vtadmin_dev_vtadmin_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_vtadmin_dev_vtadmin_proto_rawDesc, NumEnums: 1, - NumMessages: 111, + NumMessages: 139, NumExtensions: 0, NumServices: 1, }, diff --git a/gen/vitess/vtadmin/dev/vtadmin_vtproto.pb.go b/gen/vitess/vtadmin/dev/vtadmin_vtproto.pb.go index 9df5b32..0cc5c6e 100644 --- a/gen/vitess/vtadmin/dev/vtadmin_vtproto.pb.go +++ b/gen/vitess/vtadmin/dev/vtadmin_vtproto.pb.go @@ -5,6 +5,7 @@ package vtadmindev import ( + binary "encoding/binary" fmt "fmt" dev5 "github.com/planetscale/vitess-types/gen/vitess/logutil/dev" dev "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/dev" @@ -15,6 +16,7 @@ import ( proto "google.golang.org/protobuf/proto" protoimpl "google.golang.org/protobuf/runtime/protoimpl" io "io" + math "math" bits "math/bits" ) @@ -722,6 +724,71 @@ func (m *Schema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *SchemaMigration) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SchemaMigration) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SchemaMigration) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SchemaMigration != nil { + if vtmsg, ok := interface{}(m.SchemaMigration).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.SchemaMigration) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *Shard) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1217,7 +1284,7 @@ func (m *Workflow) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *CreateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *WorkflowDeleteRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1230,12 +1297,12 @@ func (m *CreateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CreateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *WorkflowDeleteRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *WorkflowDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1247,8 +1314,8 @@ func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - if vtmsg, ok := interface{}(m.Options).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -1258,7 +1325,7 @@ func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Options) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -1279,7 +1346,7 @@ func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *CreateKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { +func (m *WorkflowSwitchTrafficRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1292,12 +1359,12 @@ func (m *CreateKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CreateKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *WorkflowSwitchTrafficRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CreateKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *WorkflowSwitchTrafficRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1309,20 +1376,39 @@ func (m *CreateKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Keyspace != nil { - size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CreateShardRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ApplySchemaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1335,12 +1421,12 @@ func (m *CreateShardRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CreateShardRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ApplySchemaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ApplySchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1352,8 +1438,8 @@ func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - if vtmsg, ok := interface{}(m.Options).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -1363,7 +1449,7 @@ func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Options) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -1372,6 +1458,20 @@ func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- + dAtA[i] = 0x22 + } + if len(m.CallerId) > 0 { + i -= len(m.CallerId) + copy(dAtA[i:], m.CallerId) + i = encodeVarint(dAtA, i, uint64(len(m.CallerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- dAtA[i] = 0x12 } if len(m.ClusterId) > 0 { @@ -1384,7 +1484,7 @@ func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DeleteKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *CancelSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1397,12 +1497,12 @@ func (m *DeleteKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DeleteKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *CancelSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DeleteKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CancelSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1414,8 +1514,8 @@ func (m *DeleteKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - if vtmsg, ok := interface{}(m.Options).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -1425,7 +1525,7 @@ func (m *DeleteKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Options) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -1446,7 +1546,7 @@ func (m *DeleteKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *DeleteShardsRequest) MarshalVT() (dAtA []byte, err error) { +func (m *CleanupSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1459,12 +1559,12 @@ func (m *DeleteShardsRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DeleteShardsRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *CleanupSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DeleteShardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CleanupSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1476,8 +1576,8 @@ func (m *DeleteShardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - if vtmsg, ok := interface{}(m.Options).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -1487,7 +1587,7 @@ func (m *DeleteShardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Options) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -1508,7 +1608,7 @@ func (m *DeleteShardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DeleteTabletRequest) MarshalVT() (dAtA []byte, err error) { +func (m *CompleteSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1521,12 +1621,12 @@ func (m *DeleteTabletRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DeleteTabletRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *CompleteSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DeleteTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CompleteSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1538,27 +1638,8 @@ func (m *DeleteTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.AllowPrimary { - i-- - if m.AllowPrimary { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -1568,7 +1649,7 @@ func (m *DeleteTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Alias) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -1577,12 +1658,19 @@ func (m *DeleteTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *DeleteTabletResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ConcludeTransactionRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1595,12 +1683,12 @@ func (m *DeleteTabletResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DeleteTabletResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ConcludeTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *DeleteTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ConcludeTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1612,27 +1700,24 @@ func (m *DeleteTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) i-- dAtA[i] = 0x12 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarint(dAtA, i, uint64(len(m.Status))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EmergencyFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { +func (m *CreateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1645,12 +1730,12 @@ func (m *EmergencyFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EmergencyFailoverShardRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *CreateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *EmergencyFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1694,7 +1779,7 @@ func (m *EmergencyFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *EmergencyFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { +func (m *CreateKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1707,12 +1792,12 @@ func (m *EmergencyFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EmergencyFailoverShardResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *CreateKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *EmergencyFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CreateKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1724,68 +1809,8 @@ func (m *EmergencyFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (in i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Events) > 0 { - for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Events[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x2a - } - } - if m.PromotedPrimary != nil { - if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.PromotedPrimary) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Shard) > 0 { - i -= len(m.Shard) - copy(dAtA[i:], m.Shard) - i = encodeVarint(dAtA, i, uint64(len(m.Shard))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if m.Keyspace != nil { + size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -1797,7 +1822,7 @@ func (m *EmergencyFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *FindSchemaRequest) MarshalVT() (dAtA []byte, err error) { +func (m *CreateShardRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1810,12 +1835,12 @@ func (m *FindSchemaRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *FindSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *CreateShardRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *FindSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1827,36 +1852,39 @@ func (m *FindSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.TableSizeOptions != nil { - size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x1a - } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 - } + dAtA[i] = 0x12 } - if len(m.Table) > 0 { - i -= len(m.Table) - copy(dAtA[i:], m.Table) - i = encodeVarint(dAtA, i, uint64(len(m.Table))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetBackupsRequest) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1869,12 +1897,12 @@ func (m *GetBackupsRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetBackupsRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetBackupsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1886,8 +1914,8 @@ func (m *GetBackupsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.RequestOptions != nil { - if vtmsg, ok := interface{}(m.RequestOptions).(interface { + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -1897,7 +1925,7 @@ func (m *GetBackupsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.RequestOptions) + encoded, err := proto.Marshal(m.Options) if err != nil { return 0, err } @@ -1906,39 +1934,19 @@ func (m *GetBackupsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x22 - } - if len(m.KeyspaceShards) > 0 { - for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.KeyspaceShards[iNdEx]) - copy(dAtA[i:], m.KeyspaceShards[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Keyspaces) > 0 { - for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Keyspaces[iNdEx]) - copy(dAtA[i:], m.Keyspaces[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) - i-- - dAtA[i] = 0x12 - } + dAtA[i] = 0x12 } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0xa - } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetBackupsResponse) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteShardsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1951,12 +1959,12 @@ func (m *GetBackupsResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetBackupsResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteShardsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetBackupsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteShardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -1968,22 +1976,39 @@ func (m *GetBackupsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Backups) > 0 { - for iNdEx := len(m.Backups) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Backups[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0xa + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetCellInfosRequest) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteTabletRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -1996,12 +2021,12 @@ func (m *GetCellInfosRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetCellInfosRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteTabletRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetCellInfosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2013,9 +2038,9 @@ func (m *GetCellInfosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.NamesOnly { + if m.AllowPrimary { i-- - if m.NamesOnly { + if m.AllowPrimary { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -2023,28 +2048,41 @@ func (m *GetCellInfosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i-- dAtA[i] = 0x18 } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } if len(m.ClusterIds) > 0 { for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ClusterIds[iNdEx]) copy(dAtA[i:], m.ClusterIds[iNdEx]) i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetCellInfosResponse) MarshalVT() (dAtA []byte, err error) { +func (m *DeleteTabletResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2057,12 +2095,12 @@ func (m *GetCellInfosResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetCellInfosResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *DeleteTabletResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetCellInfosResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *DeleteTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2074,22 +2112,27 @@ func (m *GetCellInfosResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.CellInfos) > 0 { - for iNdEx := len(m.CellInfos) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.CellInfos[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0xa + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetCellsAliasesRequest) MarshalVT() (dAtA []byte, err error) { +func (m *EmergencyFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2102,12 +2145,12 @@ func (m *GetCellsAliasesRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetCellsAliasesRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *EmergencyFailoverShardRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetCellsAliasesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *EmergencyFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2119,19 +2162,39 @@ func (m *GetCellsAliasesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0xa + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetCellsAliasesResponse) MarshalVT() (dAtA []byte, err error) { +func (m *EmergencyFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2144,12 +2207,12 @@ func (m *GetCellsAliasesResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetCellsAliasesResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *EmergencyFailoverShardResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetCellsAliasesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *EmergencyFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2161,22 +2224,80 @@ func (m *GetCellsAliasesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Aliases) > 0 { - for iNdEx := len(m.Aliases) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Aliases[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + } + if m.PromotedPrimary != nil { + if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PromotedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} -func (m *GetClustersRequest) MarshalVT() (dAtA []byte, err error) { +func (m *FindSchemaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2189,12 +2310,12 @@ func (m *GetClustersRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClustersRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *FindSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetClustersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *FindSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2206,10 +2327,36 @@ func (m *GetClustersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.TableSizeOptions != nil { + size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Table) > 0 { + i -= len(m.Table) + copy(dAtA[i:], m.Table) + i = encodeVarint(dAtA, i, uint64(len(m.Table))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *GetClustersResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetBackupsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2222,12 +2369,12 @@ func (m *GetClustersResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClustersResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetBackupsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetClustersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetBackupsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2239,14 +2386,51 @@ func (m *GetClustersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Clusters) > 0 { - for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Clusters[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if m.RequestOptions != nil { + if vtmsg, ok := interface{}(m.RequestOptions).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RequestOptions) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.KeyspaceShards) > 0 { + for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.KeyspaceShards[iNdEx]) + copy(dAtA[i:], m.KeyspaceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) i-- dAtA[i] = 0xa } @@ -2254,7 +2438,7 @@ func (m *GetClustersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetFullStatusRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetBackupsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2267,12 +2451,12 @@ func (m *GetFullStatusRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetFullStatusRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetBackupsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetFullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetBackupsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2284,39 +2468,22 @@ func (m *GetFullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Backups) > 0 { + for iNdEx := len(m.Backups) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Backups[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Alias) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetGatesRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetCellInfosRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2329,12 +2496,12 @@ func (m *GetGatesRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetGatesRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetCellInfosRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetGatesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetCellInfosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2346,6 +2513,25 @@ func (m *GetGatesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.NamesOnly { + i-- + if m.NamesOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } if len(m.ClusterIds) > 0 { for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ClusterIds[iNdEx]) @@ -2358,7 +2544,7 @@ func (m *GetGatesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetGatesResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetCellInfosResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2371,12 +2557,12 @@ func (m *GetGatesResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetGatesResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetCellInfosResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetGatesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetCellInfosResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2388,9 +2574,9 @@ func (m *GetGatesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Gates) > 0 { - for iNdEx := len(m.Gates) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Gates[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.CellInfos) > 0 { + for iNdEx := len(m.CellInfos) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.CellInfos[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -2403,7 +2589,7 @@ func (m *GetGatesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetCellsAliasesRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2416,12 +2602,12 @@ func (m *GetKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetCellsAliasesRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetCellsAliasesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2433,24 +2619,19 @@ func (m *GetKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0xa + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *GetKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetCellsAliasesResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2463,12 +2644,12 @@ func (m *GetKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetCellsAliasesResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetCellsAliasesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2480,11 +2661,14 @@ func (m *GetKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + if len(m.Aliases) > 0 { + for iNdEx := len(m.Aliases) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Aliases[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0xa } @@ -2492,7 +2676,7 @@ func (m *GetKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetClustersRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2505,12 +2689,12 @@ func (m *GetKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetClustersRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetClustersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2522,9 +2706,42 @@ func (m *GetKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Keyspaces) > 0 { - for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Keyspaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + return len(dAtA) - i, nil +} + +func (m *GetClustersResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetClustersResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetClustersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Clusters) > 0 { + for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Clusters[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -2537,7 +2754,7 @@ func (m *GetKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetFullStatusRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2550,12 +2767,12 @@ func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetFullStatusRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetFullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2567,27 +2784,25 @@ func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.TableSizeOptions != nil { - size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x22 - } - if len(m.Table) > 0 { - i -= len(m.Table) - copy(dAtA[i:], m.Table) - i = encodeVarint(dAtA, i, uint64(len(m.Table))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) i-- dAtA[i] = 0x12 } @@ -2601,7 +2816,7 @@ func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetSchemasRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetGatesRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2614,12 +2829,12 @@ func (m *GetSchemasRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetGatesRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetGatesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2631,16 +2846,6 @@ func (m *GetSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.TableSizeOptions != nil { - size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 - } if len(m.ClusterIds) > 0 { for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ClusterIds[iNdEx]) @@ -2653,7 +2858,7 @@ func (m *GetSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetSchemasResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetGatesResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2666,12 +2871,12 @@ func (m *GetSchemasResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetGatesResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetGatesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2683,9 +2888,9 @@ func (m *GetSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Schemas) > 0 { - for iNdEx := len(m.Schemas) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Schemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Gates) > 0 { + for iNdEx := len(m.Gates) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Gates[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -2698,7 +2903,7 @@ func (m *GetSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetShardReplicationPositionsRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2711,12 +2916,12 @@ func (m *GetShardReplicationPositionsRequest) MarshalVT() (dAtA []byte, err erro return dAtA[:n], nil } -func (m *GetShardReplicationPositionsRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetShardReplicationPositionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2728,23 +2933,52 @@ func (m *GetShardReplicationPositionsRequest) MarshalToSizedBufferVT(dAtA []byte i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.KeyspaceShards) > 0 { - for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.KeyspaceShards[iNdEx]) - copy(dAtA[i:], m.KeyspaceShards[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) - i-- - dAtA[i] = 0x1a - } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 } - if len(m.Keyspaces) > 0 { - for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Keyspaces[iNdEx]) - copy(dAtA[i:], m.Keyspaces[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) - i-- - dAtA[i] = 0x12 - } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } if len(m.ClusterIds) > 0 { for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { @@ -2758,7 +2992,7 @@ func (m *GetShardReplicationPositionsRequest) MarshalToSizedBufferVT(dAtA []byte return len(dAtA) - i, nil } -func (m *GetShardReplicationPositionsResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2771,12 +3005,12 @@ func (m *GetShardReplicationPositionsResponse) MarshalVT() (dAtA []byte, err err return dAtA[:n], nil } -func (m *GetShardReplicationPositionsResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetShardReplicationPositionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2788,9 +3022,9 @@ func (m *GetShardReplicationPositionsResponse) MarshalToSizedBufferVT(dAtA []byt i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ReplicationPositions) > 0 { - for iNdEx := len(m.ReplicationPositions) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.ReplicationPositions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Keyspaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -2803,7 +3037,7 @@ func (m *GetShardReplicationPositionsResponse) MarshalToSizedBufferVT(dAtA []byt return len(dAtA) - i, nil } -func (m *GetSrvKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2816,12 +3050,12 @@ func (m *GetSrvKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSrvKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSrvKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2833,14 +3067,22 @@ func (m *GetSrvKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) - i-- - dAtA[i] = 0x1a + if m.TableSizeOptions != nil { + size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if len(m.Table) > 0 { + i -= len(m.Table) + copy(dAtA[i:], m.Table) + i = encodeVarint(dAtA, i, uint64(len(m.Table))) + i-- + dAtA[i] = 0x1a } if len(m.Keyspace) > 0 { i -= len(m.Keyspace) @@ -2859,7 +3101,7 @@ func (m *GetSrvKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *GetSrvKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSchemasRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2872,12 +3114,12 @@ func (m *GetSrvKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSrvKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSrvKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2889,16 +3131,17 @@ func (m *GetSrvKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) - i-- - dAtA[i] = 0x12 + if m.TableSizeOptions != nil { + size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } - } - if len(m.ClusterIds) > 0 { + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterIds) > 0 { for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ClusterIds[iNdEx]) copy(dAtA[i:], m.ClusterIds[iNdEx]) @@ -2910,7 +3153,7 @@ func (m *GetSrvKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *GetSrvKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetSchemasResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2923,12 +3166,12 @@ func (m *GetSrvKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSrvKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSrvKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -2940,36 +3183,14 @@ func (m *GetSrvKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.SrvKeyspaces) > 0 { - for k := range m.SrvKeyspaces { - v := m.SrvKeyspaces[k] - baseI := i - if vtmsg, ok := interface{}(v).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(v) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + if len(m.Schemas) > 0 { + for iNdEx := len(m.Schemas) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Schemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarint(dAtA, i, uint64(baseI-i)) + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0xa } @@ -2977,7 +3198,7 @@ func (m *GetSrvKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *GetSrvVSchemaRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSchemaMigrationsRequest_ClusterRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -2990,12 +3211,12 @@ func (m *GetSrvVSchemaRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSrvVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSchemaMigrationsRequest_ClusterRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSrvVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSchemaMigrationsRequest_ClusterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3007,10 +3228,25 @@ func (m *GetSrvVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Cell) > 0 { - i -= len(m.Cell) - copy(dAtA[i:], m.Cell) - i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0x12 } @@ -3024,7 +3260,7 @@ func (m *GetSrvVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *GetSrvVSchemasRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSchemaMigrationsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3037,12 +3273,12 @@ func (m *GetSrvVSchemasRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSrvVSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSchemaMigrationsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSrvVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSchemaMigrationsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3054,20 +3290,14 @@ func (m *GetSrvVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + if len(m.ClusterRequests) > 0 { + for iNdEx := len(m.ClusterRequests) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ClusterRequests[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0xa } @@ -3075,7 +3305,7 @@ func (m *GetSrvVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *GetSrvVSchemasResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetSchemaMigrationsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3088,12 +3318,12 @@ func (m *GetSrvVSchemasResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSrvVSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSchemaMigrationsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSrvVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSchemaMigrationsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3105,9 +3335,9 @@ func (m *GetSrvVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.SrvVSchemas) > 0 { - for iNdEx := len(m.SrvVSchemas) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.SrvVSchemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.SchemaMigrations) > 0 { + for iNdEx := len(m.SchemaMigrations) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SchemaMigrations[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -3120,7 +3350,7 @@ func (m *GetSrvVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *GetSchemaTableSizeOptions) MarshalVT() (dAtA []byte, err error) { +func (m *GetShardReplicationPositionsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3133,12 +3363,12 @@ func (m *GetSchemaTableSizeOptions) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetSchemaTableSizeOptions) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetShardReplicationPositionsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetSchemaTableSizeOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetShardReplicationPositionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3150,30 +3380,37 @@ func (m *GetSchemaTableSizeOptions) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.IncludeNonServingShards { - i-- - if m.IncludeNonServingShards { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.KeyspaceShards) > 0 { + for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.KeyspaceShards[iNdEx]) + copy(dAtA[i:], m.KeyspaceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) + i-- + dAtA[i] = 0x1a } - i-- - dAtA[i] = 0x10 } - if m.AggregateSizes { - i-- - if m.AggregateSizes { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *GetTabletRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetShardReplicationPositionsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3186,12 +3423,12 @@ func (m *GetTabletRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetTabletRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetShardReplicationPositionsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetShardReplicationPositionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3203,41 +3440,22 @@ func (m *GetTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if len(m.ReplicationPositions) > 0 { + for iNdEx := len(m.ReplicationPositions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ReplicationPositions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Alias) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetTabletsRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSrvKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3250,12 +3468,12 @@ func (m *GetTabletsRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetTabletsRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSrvKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetTabletsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSrvKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3267,19 +3485,33 @@ func (m *GetTabletsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a } } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *GetTabletsResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetSrvKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3292,12 +3524,12 @@ func (m *GetTabletsResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetTabletsResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSrvKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSrvKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3309,14 +3541,20 @@ func (m *GetTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Tablets) > 0 { - for iNdEx := len(m.Tablets) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Tablets[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) i-- dAtA[i] = 0xa } @@ -3324,7 +3562,7 @@ func (m *GetTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetTopologyPathRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSrvKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3337,12 +3575,12 @@ func (m *GetTopologyPathRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetTopologyPathRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSrvKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetTopologyPathRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSrvKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3354,24 +3592,44 @@ func (m *GetTopologyPathRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarint(dAtA, i, uint64(len(m.Path))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0xa + if len(m.SrvKeyspaces) > 0 { + for k := range m.SrvKeyspaces { + v := m.SrvKeyspaces[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *GetVSchemaRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSrvVSchemaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3384,12 +3642,12 @@ func (m *GetVSchemaRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSrvVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSrvVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3401,10 +3659,10 @@ func (m *GetVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) i-- dAtA[i] = 0x12 } @@ -3418,7 +3676,7 @@ func (m *GetVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetVSchemasRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSrvVSchemasRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3431,12 +3689,12 @@ func (m *GetVSchemasRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetVSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSrvVSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSrvVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3448,6 +3706,15 @@ func (m *GetVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } if len(m.ClusterIds) > 0 { for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ClusterIds[iNdEx]) @@ -3460,7 +3727,7 @@ func (m *GetVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetVSchemasResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetSrvVSchemasResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3473,12 +3740,12 @@ func (m *GetVSchemasResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetVSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSrvVSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSrvVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3490,9 +3757,9 @@ func (m *GetVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.VSchemas) > 0 { - for iNdEx := len(m.VSchemas) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.VSchemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.SrvVSchemas) > 0 { + for iNdEx := len(m.SrvVSchemas) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SrvVSchemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -3505,7 +3772,7 @@ func (m *GetVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetVtctldsRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetSchemaTableSizeOptions) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3518,12 +3785,12 @@ func (m *GetVtctldsRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetVtctldsRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetSchemaTableSizeOptions) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetVtctldsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetSchemaTableSizeOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3535,19 +3802,30 @@ func (m *GetVtctldsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0xa + if m.IncludeNonServingShards { + i-- + if m.IncludeNonServingShards { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.AggregateSizes { + i-- + if m.AggregateSizes { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *GetVtctldsResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetTabletRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3560,12 +3838,12 @@ func (m *GetVtctldsResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetVtctldsResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetTabletRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetVtctldsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3577,22 +3855,41 @@ func (m *GetVtctldsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Vtctlds) > 0 { - for iNdEx := len(m.Vtctlds) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.Vtctlds[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0xa + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetWorkflowRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetTabletsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3605,12 +3902,12 @@ func (m *GetWorkflowRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetTabletsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetTabletsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3622,41 +3919,19 @@ func (m *GetWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.ActiveOnly { - i-- - if m.ActiveOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0x20 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarint(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetTabletsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3669,12 +3944,12 @@ func (m *GetWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetWorkflowsRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetTabletsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3686,39 +3961,14 @@ func (m *GetWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.IgnoreKeyspaces) > 0 { - for iNdEx := len(m.IgnoreKeyspaces) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.IgnoreKeyspaces[iNdEx]) - copy(dAtA[i:], m.IgnoreKeyspaces[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.IgnoreKeyspaces[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Keyspaces) > 0 { - for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Keyspaces[iNdEx]) - copy(dAtA[i:], m.Keyspaces[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if m.ActiveOnly { - i-- - if m.ActiveOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + if len(m.Tablets) > 0 { + for iNdEx := len(m.Tablets) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Tablets[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0xa } @@ -3726,7 +3976,7 @@ func (m *GetWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetTopologyPathRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3739,12 +3989,12 @@ func (m *GetWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetWorkflowsResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetTopologyPathRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetTopologyPathRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3756,32 +4006,24 @@ func (m *GetWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.WorkflowsByCluster) > 0 { - for k := range m.WorkflowsByCluster { - v := m.WorkflowsByCluster[k] - baseI := i - size, err := v.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarint(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarint(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PingTabletRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetTransactionInfoRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3794,12 +4036,12 @@ func (m *PingTabletRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PingTabletRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetTransactionInfoRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PingTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetTransactionInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3811,17 +4053,8 @@ func (m *PingTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -3831,7 +4064,7 @@ func (m *PingTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Alias) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -3840,12 +4073,19 @@ func (m *PingTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PingTabletResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetUnresolvedTransactionsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3858,12 +4098,12 @@ func (m *PingTabletResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PingTabletResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetUnresolvedTransactionsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PingTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetUnresolvedTransactionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3875,27 +4115,29 @@ func (m *PingTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if m.AbandonAge != 0 { + i = encodeVarint(dAtA, i, uint64(m.AbandonAge)) + i-- + dAtA[i] = 0x18 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) i-- dAtA[i] = 0x12 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarint(dAtA, i, uint64(len(m.Status))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PlannedFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetVSchemaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3908,12 +4150,12 @@ func (m *PlannedFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PlannedFailoverShardRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PlannedFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3925,25 +4167,10 @@ func (m *PlannedFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - if vtmsg, ok := interface{}(m.Options).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Options) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) i-- dAtA[i] = 0x12 } @@ -3957,7 +4184,7 @@ func (m *PlannedFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *PlannedFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetVSchemasRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3970,12 +4197,12 @@ func (m *PlannedFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PlannedFailoverShardResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetVSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *PlannedFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3987,80 +4214,19 @@ func (m *PlannedFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Events) > 0 { - for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Events[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) i-- - dAtA[i] = 0x2a - } - } - if m.PromotedPrimary != nil { - if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.PromotedPrimary) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Shard) > 0 { - i -= len(m.Shard) - copy(dAtA[i:], m.Shard) - i = encodeVarint(dAtA, i, uint64(len(m.Shard))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + dAtA[i] = 0xa } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RebuildKeyspaceGraphRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetVSchemasResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4073,12 +4239,12 @@ func (m *RebuildKeyspaceGraphRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RebuildKeyspaceGraphRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetVSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RebuildKeyspaceGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4090,43 +4256,22 @@ func (m *RebuildKeyspaceGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.AllowPartial { - i-- - if m.AllowPartial { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + if len(m.VSchemas) > 0 { + for iNdEx := len(m.VSchemas) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.VSchemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0xa } } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *RebuildKeyspaceGraphResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetVtctldsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4139,12 +4284,12 @@ func (m *RebuildKeyspaceGraphResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RebuildKeyspaceGraphResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetVtctldsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RebuildKeyspaceGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetVtctldsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4156,17 +4301,19 @@ func (m *RebuildKeyspaceGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarint(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0xa + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *RefreshStateRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetVtctldsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4179,12 +4326,12 @@ func (m *RefreshStateRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RefreshStateRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetVtctldsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RefreshStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetVtctldsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4196,41 +4343,22 @@ func (m *RefreshStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + if len(m.Vtctlds) > 0 { + for iNdEx := len(m.Vtctlds) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Vtctlds[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Alias) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *RefreshStateResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetWorkflowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4243,12 +4371,12 @@ func (m *RefreshStateResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RefreshStateResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RefreshStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4260,27 +4388,41 @@ func (m *RefreshStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if m.ActiveOnly { + i-- + if m.ActiveOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x20 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) i-- dAtA[i] = 0x12 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarint(dAtA, i, uint64(len(m.Status))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ReloadSchemasRequest) MarshalVT() (dAtA []byte, err error) { +func (m *GetWorkflowStatusRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4293,12 +4435,12 @@ func (m *ReloadSchemasRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReloadSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetWorkflowStatusRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetWorkflowStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4310,83 +4452,31 @@ func (m *ReloadSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.IncludePrimary { - i-- - if m.IncludePrimary { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x1a } - if len(m.WaitPosition) > 0 { - i -= len(m.WaitPosition) - copy(dAtA[i:], m.WaitPosition) - i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x12 } - if m.Concurrency != 0 { - i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x28 - } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Tablets) > 0 { - for iNdEx := len(m.Tablets) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.Tablets[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Tablets[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.KeyspaceShards) > 0 { - for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.KeyspaceShards[iNdEx]) - copy(dAtA[i:], m.KeyspaceShards[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Keyspaces) > 0 { - for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Keyspaces[iNdEx]) - copy(dAtA[i:], m.Keyspaces[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) - i-- - dAtA[i] = 0xa - } + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ReloadSchemasResponse_KeyspaceResult) MarshalVT() (dAtA []byte, err error) { +func (m *StartWorkflowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4399,12 +4489,12 @@ func (m *ReloadSchemasResponse_KeyspaceResult) MarshalVT() (dAtA []byte, err err return dAtA[:n], nil } -func (m *ReloadSchemasResponse_KeyspaceResult) MarshalToVT(dAtA []byte) (int, error) { +func (m *StartWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemasResponse_KeyspaceResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StartWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4416,44 +4506,31 @@ func (m *ReloadSchemasResponse_KeyspaceResult) MarshalToSizedBufferVT(dAtA []byt i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Events) > 0 { - for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Events[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x12 - } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x1a } - if m.Keyspace != nil { - size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ReloadSchemasResponse_ShardResult) MarshalVT() (dAtA []byte, err error) { +func (m *StopWorkflowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4466,12 +4543,12 @@ func (m *ReloadSchemasResponse_ShardResult) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *ReloadSchemasResponse_ShardResult) MarshalToVT(dAtA []byte) (int, error) { +func (m *StopWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemasResponse_ShardResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *StopWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4483,44 +4560,31 @@ func (m *ReloadSchemasResponse_ShardResult) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Events) > 0 { - for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Events[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x12 - } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x1a } - if m.Shard != nil { - size, err := m.Shard.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ReloadSchemasResponse_TabletResult) MarshalVT() (dAtA []byte, err error) { +func (m *GetWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4533,12 +4597,12 @@ func (m *ReloadSchemasResponse_TabletResult) MarshalVT() (dAtA []byte, err error return dAtA[:n], nil } -func (m *ReloadSchemasResponse_TabletResult) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetWorkflowsRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemasResponse_TabletResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4550,27 +4614,47 @@ func (m *ReloadSchemasResponse_TabletResult) MarshalToSizedBufferVT(dAtA []byte) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Result) > 0 { - i -= len(m.Result) - copy(dAtA[i:], m.Result) - i = encodeVarint(dAtA, i, uint64(len(m.Result))) - i-- - dAtA[i] = 0x12 - } - if m.Tablet != nil { - size, err := m.Tablet.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err + if len(m.IgnoreKeyspaces) > 0 { + for iNdEx := len(m.IgnoreKeyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IgnoreKeyspaces[iNdEx]) + copy(dAtA[i:], m.IgnoreKeyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.IgnoreKeyspaces[iNdEx]))) + i-- + dAtA[i] = 0x22 } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.ActiveOnly { i-- - dAtA[i] = 0xa + if m.ActiveOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *ReloadSchemasResponse) MarshalVT() (dAtA []byte, err error) { +func (m *GetWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4583,12 +4667,12 @@ func (m *ReloadSchemasResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReloadSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *GetWorkflowsResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *GetWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4600,21 +4684,11 @@ func (m *ReloadSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.TabletResults) > 0 { - for iNdEx := len(m.TabletResults) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.TabletResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x1a - } - } - if len(m.ShardResults) > 0 { - for iNdEx := len(m.ShardResults) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.ShardResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if len(m.WorkflowsByCluster) > 0 { + for k := range m.WorkflowsByCluster { + v := m.WorkflowsByCluster[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } @@ -4622,16 +4696,12 @@ func (m *ReloadSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0x12 - } - } - if len(m.KeyspaceResults) > 0 { - for iNdEx := len(m.KeyspaceResults) - 1; iNdEx >= 0; iNdEx-- { - size, err := m.KeyspaceResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0xa } @@ -4639,7 +4709,7 @@ func (m *ReloadSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ReloadSchemaShardRequest) MarshalVT() (dAtA []byte, err error) { +func (m *LaunchSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4652,12 +4722,12 @@ func (m *ReloadSchemaShardRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReloadSchemaShardRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *LaunchSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemaShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *LaunchSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4669,40 +4739,26 @@ func (m *ReloadSchemaShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Concurrency != 0 { - i = encodeVarint(dAtA, i, uint64(m.Concurrency)) - i-- - dAtA[i] = 0x30 - } - if m.IncludePrimary { - i-- - if m.IncludePrimary { - dAtA[i] = 1 + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - dAtA[i] = 0 + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x28 - } - if len(m.WaitPosition) > 0 { - i -= len(m.WaitPosition) - copy(dAtA[i:], m.WaitPosition) - i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) - i-- - dAtA[i] = 0x22 - } - if len(m.Shard) > 0 { - i -= len(m.Shard) - copy(dAtA[i:], m.Shard) - i = encodeVarint(dAtA, i, uint64(len(m.Shard))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- dAtA[i] = 0x12 } if len(m.ClusterId) > 0 { @@ -4715,7 +4771,7 @@ func (m *ReloadSchemaShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *ReloadSchemaShardResponse) MarshalVT() (dAtA []byte, err error) { +func (m *MaterializeCreateRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4728,12 +4784,12 @@ func (m *ReloadSchemaShardResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReloadSchemaShardResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *MaterializeCreateRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ReloadSchemaShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *MaterializeCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4745,34 +4801,46 @@ func (m *ReloadSchemaShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Events) > 0 { - for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Events[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0xa + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0x1a + } + if len(m.TableSettings) > 0 { + i -= len(m.TableSettings) + copy(dAtA[i:], m.TableSettings) + i = encodeVarint(dAtA, i, uint64(len(m.TableSettings))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RefreshTabletReplicationSourceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *MoveTablesCompleteRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4785,12 +4853,12 @@ func (m *RefreshTabletReplicationSourceRequest) MarshalVT() (dAtA []byte, err er return dAtA[:n], nil } -func (m *RefreshTabletReplicationSourceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *MoveTablesCompleteRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RefreshTabletReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *MoveTablesCompleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4802,17 +4870,8 @@ func (m *RefreshTabletReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []by i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -4822,7 +4881,7 @@ func (m *RefreshTabletReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []by i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Alias) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -4831,12 +4890,19 @@ func (m *RefreshTabletReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []by i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RefreshTabletReplicationSourceResponse) MarshalVT() (dAtA []byte, err error) { +func (m *MoveTablesCreateRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4849,12 +4915,12 @@ func (m *RefreshTabletReplicationSourceResponse) MarshalVT() (dAtA []byte, err e return dAtA[:n], nil } -func (m *RefreshTabletReplicationSourceResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *MoveTablesCreateRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RefreshTabletReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *MoveTablesCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4866,18 +4932,8 @@ func (m *RefreshTabletReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []b i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - i-- - dAtA[i] = 0x22 - } - if m.Primary != nil { - if vtmsg, ok := interface{}(m.Primary).(interface { + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -4887,7 +4943,7 @@ func (m *RefreshTabletReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []b i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Primary) + encoded, err := proto.Marshal(m.Request) if err != nil { return 0, err } @@ -4896,26 +4952,19 @@ func (m *RefreshTabletReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []b i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x1a - } - if len(m.Shard) > 0 { - i -= len(m.Shard) - copy(dAtA[i:], m.Shard) - i = encodeVarint(dAtA, i, uint64(len(m.Shard))) - i-- dAtA[i] = 0x12 } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RemoveKeyspaceCellRequest) MarshalVT() (dAtA []byte, err error) { +func (m *PingTabletRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -4928,12 +4977,12 @@ func (m *RemoveKeyspaceCellRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RemoveKeyspaceCellRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *PingTabletRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RemoveKeyspaceCellRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PingTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -4945,51 +4994,41 @@ func (m *RemoveKeyspaceCellRequest) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Recursive { - i-- - if m.Recursive { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x28 } - if m.Force { - i-- - if m.Force { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x20 - } - if len(m.Cell) > 0 { - i -= len(m.Cell) - copy(dAtA[i:], m.Cell) - i = encodeVarint(dAtA, i, uint64(len(m.Cell))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RemoveKeyspaceCellResponse) MarshalVT() (dAtA []byte, err error) { +func (m *PingTabletResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5002,12 +5041,12 @@ func (m *RemoveKeyspaceCellResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RemoveKeyspaceCellResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *PingTabletResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RemoveKeyspaceCellResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PingTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5019,6 +5058,16 @@ func (m *RemoveKeyspaceCellResponse) MarshalToSizedBufferVT(dAtA []byte) (int, e i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } if len(m.Status) > 0 { i -= len(m.Status) copy(dAtA[i:], m.Status) @@ -5029,7 +5078,7 @@ func (m *RemoveKeyspaceCellResponse) MarshalToSizedBufferVT(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *RunHealthCheckRequest) MarshalVT() (dAtA []byte, err error) { +func (m *PlannedFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5042,12 +5091,12 @@ func (m *RunHealthCheckRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RunHealthCheckRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *PlannedFailoverShardRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PlannedFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5059,17 +5108,8 @@ func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { MarshalToSizedBufferVT([]byte) (int, error) }); ok { size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) @@ -5079,7 +5119,7 @@ func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= size i = encodeVarint(dAtA, i, uint64(size)) } else { - encoded, err := proto.Marshal(m.Alias) + encoded, err := proto.Marshal(m.Options) if err != nil { return 0, err } @@ -5088,12 +5128,19 @@ func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RunHealthCheckResponse) MarshalVT() (dAtA []byte, err error) { +func (m *PlannedFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5106,12 +5153,12 @@ func (m *RunHealthCheckResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RunHealthCheckResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *PlannedFailoverShardResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *RunHealthCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *PlannedFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5123,6 +5170,66 @@ func (m *RunHealthCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + } + if m.PromotedPrimary != nil { + if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PromotedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } if m.Cluster != nil { size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { @@ -5131,19 +5238,12 @@ func (m *RunHealthCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x12 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarint(dAtA, i, uint64(len(m.Status))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SetReadOnlyRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RebuildKeyspaceGraphRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5156,12 +5256,12 @@ func (m *SetReadOnlyRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SetReadOnlyRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RebuildKeyspaceGraphRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SetReadOnlyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RebuildKeyspaceGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5173,41 +5273,43 @@ func (m *SetReadOnlyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 + if m.AllowPartial { + i-- + if m.AllowPartial { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x20 } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Alias) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SetReadOnlyResponse) MarshalVT() (dAtA []byte, err error) { +func (m *RebuildKeyspaceGraphResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5220,12 +5322,12 @@ func (m *SetReadOnlyResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SetReadOnlyResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *RebuildKeyspaceGraphResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SetReadOnlyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RebuildKeyspaceGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5237,10 +5339,17 @@ func (m *SetReadOnlyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *SetReadWriteRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RefreshStateRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5253,12 +5362,12 @@ func (m *SetReadWriteRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SetReadWriteRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RefreshStateRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SetReadWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RefreshStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5304,7 +5413,7 @@ func (m *SetReadWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SetReadWriteResponse) MarshalVT() (dAtA []byte, err error) { +func (m *RefreshStateResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5317,12 +5426,12 @@ func (m *SetReadWriteResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SetReadWriteResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *RefreshStateResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *SetReadWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RefreshStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5334,14 +5443,31 @@ func (m *SetReadWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - return len(dAtA) - i, nil -} - -func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - size := m.SizeVT() + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() dAtA = make([]byte, size) n, err := m.MarshalToSizedBufferVT(dAtA[:size]) if err != nil { @@ -5350,12 +5476,12 @@ func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StartReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5367,41 +5493,83 @@ func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.IncludePrimary { + i-- + if m.IncludePrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0x32 + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x28 + } if len(m.ClusterIds) > 0 { for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ClusterIds[iNdEx]) copy(dAtA[i:], m.ClusterIds[iNdEx]) i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Alias) - if err != nil { - return 0, err + if len(m.Tablets) > 0 { + for iNdEx := len(m.Tablets) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Tablets[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablets[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.KeyspaceShards) > 0 { + for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.KeyspaceShards[iNdEx]) + copy(dAtA[i:], m.KeyspaceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ReloadSchemasResponse_KeyspaceResult) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5414,12 +5582,12 @@ func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StartReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse_KeyspaceResult) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse_KeyspaceResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5431,27 +5599,44 @@ func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Keyspace != nil { + size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x12 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarint(dAtA, i, uint64(len(m.Status))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReloadSchemasResponse_ShardResult) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5464,12 +5649,12 @@ func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StopReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse_ShardResult) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse_ShardResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5481,41 +5666,44 @@ func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0x12 } } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Alias) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + if m.Shard != nil { + size, err := m.Shard.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ReloadSchemasResponse_TabletResult) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5528,12 +5716,12 @@ func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StopReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse_TabletResult) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse_TabletResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5545,27 +5733,27 @@ func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if len(m.Result) > 0 { + i -= len(m.Result) + copy(dAtA[i:], m.Result) + i = encodeVarint(dAtA, i, uint64(len(m.Result))) + i-- + dAtA[i] = 0x12 + } + if m.Tablet != nil { + size, err := m.Tablet.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) i-- - dAtA[i] = 0x12 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarint(dAtA, i, uint64(len(m.Status))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TabletExternallyPromotedRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReloadSchemasResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5578,12 +5766,12 @@ func (m *TabletExternallyPromotedRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TabletExternallyPromotedRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *TabletExternallyPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReloadSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5595,41 +5783,46 @@ func (m *TabletExternallyPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (i i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClusterIds[iNdEx]) - copy(dAtA[i:], m.ClusterIds[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Alias != nil { - if vtmsg, ok := interface{}(m.Alias).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if len(m.TabletResults) > 0 { + for iNdEx := len(m.TabletResults) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TabletResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Alias) + i-- + dAtA[i] = 0x1a + } + } + if len(m.ShardResults) > 0 { + for iNdEx := len(m.ShardResults) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) if err != nil { return 0, err } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.KeyspaceResults) > 0 { + for iNdEx := len(m.KeyspaceResults) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.KeyspaceResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TabletExternallyPromotedResponse) MarshalVT() (dAtA []byte, err error) { +func (m *ReloadSchemaShardRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5642,12 +5835,12 @@ func (m *TabletExternallyPromotedResponse) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *TabletExternallyPromotedResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReloadSchemaShardRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *TabletExternallyPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReloadSchemaShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5659,48 +5852,26 @@ func (m *TabletExternallyPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) ( i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.OldPrimary != nil { - if vtmsg, ok := interface{}(m.OldPrimary).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.OldPrimary) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x30 } - if m.NewPrimary != nil { - if vtmsg, ok := interface{}(m.NewPrimary).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if m.IncludePrimary { + i-- + if m.IncludePrimary { + dAtA[i] = 1 } else { - encoded, err := proto.Marshal(m.NewPrimary) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) + dAtA[i] = 0 } i-- + dAtA[i] = 0x28 + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- dAtA[i] = 0x22 } if len(m.Shard) > 0 { @@ -5717,20 +5888,17 @@ func (m *TabletExternallyPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) ( i-- dAtA[i] = 0x12 } - if m.Cluster != nil { - size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TabletExternallyReparentedRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReloadSchemaShardResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5743,12 +5911,69 @@ func (m *TabletExternallyReparentedRequest) MarshalVT() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *TabletExternallyReparentedRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReloadSchemaShardResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *TabletExternallyReparentedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReloadSchemaShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *RefreshTabletReplicationSourceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshTabletReplicationSourceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshTabletReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5794,7 +6019,7 @@ func (m *TabletExternallyReparentedRequest) MarshalToSizedBufferVT(dAtA []byte) return len(dAtA) - i, nil } -func (m *ValidateRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RefreshTabletReplicationSourceResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5807,12 +6032,12 @@ func (m *ValidateRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidateRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RefreshTabletReplicationSourceResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ValidateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RefreshTabletReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5824,27 +6049,56 @@ func (m *ValidateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.PingTablets { + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- - if m.PingTablets { - dAtA[i] = 1 + dAtA[i] = 0x22 + } + if m.Primary != nil { + if vtmsg, ok := interface{}(m.Primary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - dAtA[i] = 0 + encoded, err := proto.Marshal(m.Primary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x1a } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ValidateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RemoveKeyspaceCellRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5857,12 +6111,12 @@ func (m *ValidateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RemoveKeyspaceCellRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ValidateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RemoveKeyspaceCellRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5874,15 +6128,32 @@ func (m *ValidateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.PingTablets { + if m.Recursive { i-- - if m.PingTablets { + if m.Recursive { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x18 + dAtA[i] = 0x28 + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x1a } if len(m.Keyspace) > 0 { i -= len(m.Keyspace) @@ -5901,7 +6172,7 @@ func (m *ValidateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *ValidateSchemaKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RemoveKeyspaceCellResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5914,12 +6185,12 @@ func (m *ValidateSchemaKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidateSchemaKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RemoveKeyspaceCellResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ValidateSchemaKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RemoveKeyspaceCellResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5931,24 +6202,17 @@ func (m *ValidateSchemaKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ValidateShardRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RetrySchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -5961,12 +6225,12 @@ func (m *ValidateShardRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidateShardRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RetrySchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ValidateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RetrySchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -5978,28 +6242,26 @@ func (m *ValidateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if m.PingTablets { - i-- - if m.PingTablets { - dAtA[i] = 1 + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - dAtA[i] = 0 + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } i-- - dAtA[i] = 0x20 - } - if len(m.Shard) > 0 { - i -= len(m.Shard) - copy(dAtA[i:], m.Shard) - i = encodeVarint(dAtA, i, uint64(len(m.Shard))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- dAtA[i] = 0x12 } if len(m.ClusterId) > 0 { @@ -6012,7 +6274,7 @@ func (m *ValidateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ValidateVersionKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RunHealthCheckRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -6025,12 +6287,12 @@ func (m *ValidateVersionKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidateVersionKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RunHealthCheckRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ValidateVersionKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -6042,24 +6304,41 @@ func (m *ValidateVersionKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (in i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0x12 + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ValidateVersionShardRequest) MarshalVT() (dAtA []byte, err error) { +func (m *RunHealthCheckResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -6072,12 +6351,12 @@ func (m *ValidateVersionShardRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidateVersionShardRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *RunHealthCheckResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *ValidateVersionShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *RunHealthCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -6089,31 +6368,27 @@ func (m *ValidateVersionShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Shard) > 0 { - i -= len(m.Shard) - copy(dAtA[i:], m.Shard) - i = encodeVarint(dAtA, i, uint64(len(m.Shard))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) i-- dAtA[i] = 0x12 } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VTExplainRequest) MarshalVT() (dAtA []byte, err error) { +func (m *ReshardCreateRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -6126,12 +6401,12 @@ func (m *VTExplainRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VTExplainRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *ReshardCreateRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VTExplainRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *ReshardCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -6143,31 +6418,39 @@ func (m *VTExplainRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Sql) > 0 { - i -= len(m.Sql) - copy(dAtA[i:], m.Sql) - i = encodeVarint(dAtA, i, uint64(len(m.Sql))) - i-- - dAtA[i] = 0x1a - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0x12 } - if len(m.Cluster) > 0 { - i -= len(m.Cluster) - copy(dAtA[i:], m.Cluster) - i = encodeVarint(dAtA, i, uint64(len(m.Cluster))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VTExplainResponse) MarshalVT() (dAtA []byte, err error) { +func (m *SetReadOnlyRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -6180,12 +6463,12 @@ func (m *VTExplainResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VTExplainResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *SetReadOnlyRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *VTExplainResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *SetReadOnlyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -6197,1164 +6480,1504 @@ func (m *VTExplainResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Response) > 0 { - i -= len(m.Response) - copy(dAtA[i:], m.Response) - i = encodeVarint(dAtA, i, uint64(len(m.Response))) + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarint(dAtA []byte, offset int, v uint64) int { - offset -= sov(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *SetReadOnlyResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - dAtA[offset] = uint8(v) - return base + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *Cluster) SizeVT() (n int) { + +func (m *SetReadOnlyResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadOnlyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.Name) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *SetReadWriteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - n += len(m.unknownFields) - return n + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } -func (m *ClusterBackup) SizeVT() (n int) { +func (m *SetReadWriteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.Backup != nil { - if size, ok := interface{}(m.Backup).(interface { - SizeVT() int + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.Backup) + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *ClusterCellsAliases) SizeVT() (n int) { +func (m *SetReadWriteResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + return nil, nil } - if len(m.Aliases) > 0 { - for k, v := range m.Aliases { - _ = k - _ = v - l = 0 - if v != nil { - if size, ok := interface{}(v).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(v) - } - } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ClusterCellInfo) SizeVT() (n int) { +func (m *SetReadWriteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.Name) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil } - if m.CellInfo != nil { - if size, ok := interface{}(m.CellInfo).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.CellInfo) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *ClusterShardReplicationPosition) SizeVT() (n int) { +func (m *StartReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) - } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.Shard) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if m.PositionInfo != nil { - if size, ok := interface{}(m.PositionInfo).(interface { - SizeVT() int + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.PositionInfo) + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *ClusterWorkflows) SizeVT() (n int) { +func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if len(m.Workflows) > 0 { - for _, e := range m.Workflows { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + return nil, nil } - if len(m.Warnings) > 0 { - for _, s := range m.Warnings { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *Keyspace) SizeVT() (n int) { +func (m *StartReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.Keyspace != nil { - if size, ok := interface{}(m.Keyspace).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Keyspace) + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } - n += 1 + l + sov(uint64(l)) + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - if len(m.Shards) > 0 { - for k, v := range m.Shards { - _ = k - _ = v - l = 0 - if v != nil { - if size, ok := interface{}(v).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(v) - } - } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) - } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *Schema_ShardTableSize) SizeVT() (n int) { +func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if m.RowCount != 0 { - n += 1 + sov(uint64(m.RowCount)) + return nil, nil } - if m.DataLength != 0 { - n += 1 + sov(uint64(m.DataLength)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *Schema_TableSize) SizeVT() (n int) { +func (m *StopReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.RowCount != 0 { - n += 1 + sov(uint64(m.RowCount)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.DataLength != 0 { - n += 1 + sov(uint64(m.DataLength)) + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if len(m.ByShard) > 0 { - for k, v := range m.ByShard { - _ = k - _ = v - l = 0 - if v != nil { - l = v.SizeVT() + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *Schema) SizeVT() (n int) { +func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) - } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.TableDefinitions) > 0 { - for _, e := range m.TableDefinitions { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - if len(m.TableSizes) > 0 { - for k, v := range m.TableSizes { - _ = k - _ = v - l = 0 - if v != nil { - l = v.SizeVT() - } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) - } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *Shard) SizeVT() (n int) { +func (m *TabletExternallyPromotedRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + return nil, nil } - if m.Shard != nil { - if size, ok := interface{}(m.Shard).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Shard) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *SrvVSchema) SizeVT() (n int) { +func (m *TabletExternallyPromotedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Cell) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if m.SrvVSchema != nil { - if size, ok := interface{}(m.SrvVSchema).(interface { - SizeVT() int + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.SrvVSchema) + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *Tablet) SizeVT() (n int) { +func (m *TabletExternallyPromotedResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - if m.Tablet != nil { - if size, ok := interface{}(m.Tablet).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Tablet) - } - n += 1 + l + sov(uint64(l)) - } - if m.State != 0 { - n += 1 + sov(uint64(m.State)) - } - l = len(m.FQDN) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *VSchema) SizeVT() (n int) { +func (m *TabletExternallyPromotedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.Name) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.OldPrimary != nil { + if vtmsg, ok := interface{}(m.OldPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.OldPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a } - if m.VSchema != nil { - if size, ok := interface{}(m.VSchema).(interface { - SizeVT() int + if m.NewPrimary != nil { + if vtmsg, ok := interface{}(m.NewPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.VSchema) + encoded, err := proto.Marshal(m.NewPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x22 } - n += len(m.unknownFields) - return n -} - -func (m *Vtctld) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a } - var l int - _ = l - l = len(m.Hostname) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 } if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) - } - l = len(m.FQDN) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *VTGate) SizeVT() (n int) { +func (m *TabletExternallyReparentedRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hostname) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Pool) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Cell) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) - } - if len(m.Keyspaces) > 0 { - for _, s := range m.Keyspaces { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + return nil, nil } - l = len(m.FQDN) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *Workflow) SizeVT() (n int) { +func (m *TabletExternallyReparentedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyReparentedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if m.Workflow != nil { - if size, ok := interface{}(m.Workflow).(interface { - SizeVT() int + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) }); ok { - l = size.SizeVT() + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) } else { - l = proto.Size(m.Workflow) + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *CreateKeyspaceRequest) SizeVT() (n int) { +func (m *ValidateRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - if m.Options != nil { - if size, ok := interface{}(m.Options).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Options) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *CreateKeyspaceResponse) SizeVT() (n int) { +func (m *ValidateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Keyspace != nil { - l = m.Keyspace.SizeVT() - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *CreateShardRequest) SizeVT() (n int) { +func (m *ValidateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - if m.Options != nil { - if size, ok := interface{}(m.Options).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Options) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *DeleteKeyspaceRequest) SizeVT() (n int) { +func (m *ValidateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - if size, ok := interface{}(m.Options).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 } else { - l = proto.Size(m.Options) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x18 } - n += len(m.unknownFields) - return n + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *DeleteShardsRequest) SizeVT() (n int) { +func (m *ValidateSchemaKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - if m.Options != nil { - if size, ok := interface{}(m.Options).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Options) - } - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *DeleteTabletRequest) SizeVT() (n int) { +func (m *ValidateSchemaKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateSchemaKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Alias) - } - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 } - if m.AllowPrimary { - n += 2 + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *DeleteTabletResponse) SizeVT() (n int) { +func (m *ValidateShardRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Status) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *EmergencyFailoverShardRequest) SizeVT() (n int) { +func (m *ValidateShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.Options != nil { - if size, ok := interface{}(m.Options).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 } else { - l = proto.Size(m.Options) + dAtA[i] = 0 } - n += 1 + l + sov(uint64(l)) + i-- + dAtA[i] = 0x20 } - n += len(m.unknownFields) - return n + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *EmergencyFailoverShardResponse) SizeVT() (n int) { +func (m *ValidateVersionKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + return nil, nil } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Shard) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.PromotedPrimary != nil { - if size, ok := interface{}(m.PromotedPrimary).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.PromotedPrimary) - } - n += 1 + l + sov(uint64(l)) - } - if len(m.Events) > 0 { - for _, e := range m.Events { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *FindSchemaRequest) SizeVT() (n int) { +func (m *ValidateVersionKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Table) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 } - if m.TableSizeOptions != nil { - l = m.TableSizeOptions.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *GetBackupsRequest) SizeVT() (n int) { +func (m *ValidateVersionShardRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVersionShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.Keyspaces) > 0 { - for _, s := range m.Keyspaces { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a } - if len(m.KeyspaceShards) > 0 { - for _, s := range m.KeyspaceShards { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 } - if m.RequestOptions != nil { - if size, ok := interface{}(m.RequestOptions).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.RequestOptions) - } - n += 1 + l + sov(uint64(l)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *GetBackupsResponse) SizeVT() (n int) { +func (m *VDiffCreateRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if len(m.Backups) > 0 { - for _, e := range m.Backups { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *GetCellInfosRequest) SizeVT() (n int) { +func (m *VDiffCreateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if len(m.Cells) > 0 { - for _, s := range m.Cells { - l = len(s) - n += 1 + l + sov(uint64(l)) + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0x12 } - if m.NamesOnly { - n += 2 + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *GetCellInfosResponse) SizeVT() (n int) { +func (m *VDiffShowRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if len(m.CellInfos) > 0 { - for _, e := range m.CellInfos { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *GetCellsAliasesRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - n += len(m.unknownFields) - return n +func (m *VDiffShowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *GetCellsAliasesResponse) SizeVT() (n int) { +func (m *VDiffShowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if len(m.Aliases) > 0 { - for _, e := range m.Aliases { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0x12 } - n += len(m.unknownFields) - return n -} - -func (m *GetClustersRequest) SizeVT() (n int) { - if m == nil { - return 0 + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa } - var l int - _ = l - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *GetClustersResponse) SizeVT() (n int) { +func (m *VDiffProgress) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if len(m.Clusters) > 0 { - for _, e := range m.Clusters { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *GetFullStatusRequest) SizeVT() (n int) { +func (m *VDiffProgress) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffProgress) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Alias) - } - n += 1 + l + sov(uint64(l)) + if len(m.Eta) > 0 { + i -= len(m.Eta) + copy(dAtA[i:], m.Eta) + i = encodeVarint(dAtA, i, uint64(len(m.Eta))) + i-- + dAtA[i] = 0x12 } - n += len(m.unknownFields) - return n + if m.Percentage != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Percentage)))) + i-- + dAtA[i] = 0x9 + } + return len(dAtA) - i, nil } -func (m *GetGatesRequest) SizeVT() (n int) { +func (m *VDiffShardReport) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *GetGatesResponse) SizeVT() (n int) { +func (m *VDiffShardReport) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffShardReport) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if len(m.Gates) > 0 { - for _, e := range m.Gates { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Progress != nil { + size, err := m.Progress.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 } - n += len(m.unknownFields) - return n + if len(m.CompletedAt) > 0 { + i -= len(m.CompletedAt) + copy(dAtA[i:], m.CompletedAt) + i = encodeVarint(dAtA, i, uint64(len(m.CompletedAt))) + i-- + dAtA[i] = 0x2a + } + if len(m.StartedAt) > 0 { + i -= len(m.StartedAt) + copy(dAtA[i:], m.StartedAt) + i = encodeVarint(dAtA, i, uint64(len(m.StartedAt))) + i-- + dAtA[i] = 0x22 + } + if m.HasMismatch { + i-- + if m.HasMismatch { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.RowsCompared != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsCompared)) + i-- + dAtA[i] = 0x10 + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarint(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *GetKeyspaceRequest) SizeVT() (n int) { +func (m *VDiffShowResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + return nil, nil } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *GetKeyspacesRequest) SizeVT() (n int) { +func (m *VDiffShowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffShowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ShardReport) > 0 { + for k := range m.ShardReport { + v := m.ShardReport[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa } } - n += len(m.unknownFields) - return n + return len(dAtA) - i, nil } -func (m *GetKeyspacesResponse) SizeVT() (n int) { +func (m *VTExplainRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { - return 0 + return nil, nil } - var l int - _ = l - if len(m.Keyspaces) > 0 { - for _, e := range m.Keyspaces { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) - } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err } - n += len(m.unknownFields) - return n + return dAtA[:n], nil } -func (m *GetSchemaRequest) SizeVT() (n int) { +func (m *VTExplainRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VTExplainRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { - return 0 + return 0, nil } + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Table) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) } - if m.TableSizeOptions != nil { - l = m.TableSizeOptions.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0x1a } - n += len(m.unknownFields) - return n + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Cluster) > 0 { + i -= len(m.Cluster) + copy(dAtA[i:], m.Cluster) + i = encodeVarint(dAtA, i, uint64(len(m.Cluster))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *GetSchemasRequest) SizeVT() (n int) { +func (m *VTExplainResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VTExplainResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VTExplainResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Response) > 0 { + i -= len(m.Response) + copy(dAtA[i:], m.Response) + i = encodeVarint(dAtA, i, uint64(len(m.Response))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Cluster) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + l = len(m.Id) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.TableSizeOptions != nil { - l = m.TableSizeOptions.SizeVT() + l = len(m.Name) + if l > 0 { n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetSchemasResponse) SizeVT() (n int) { +func (m *ClusterBackup) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Schemas) > 0 { - for _, e := range m.Schemas { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Backup != nil { + if size, ok := interface{}(m.Backup).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Backup) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetShardReplicationPositionsRequest) SizeVT() (n int) { +func (m *ClusterCellsAliases) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if len(m.Keyspaces) > 0 { - for _, s := range m.Keyspaces { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) } - if len(m.KeyspaceShards) > 0 { - for _, s := range m.KeyspaceShards { - l = len(s) - n += 1 + l + sov(uint64(l)) + if len(m.Aliases) > 0 { + for k, v := range m.Aliases { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) } } n += len(m.unknownFields) return n } -func (m *GetShardReplicationPositionsResponse) SizeVT() (n int) { +func (m *ClusterCellInfo) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ReplicationPositions) > 0 { - for _, e := range m.ReplicationPositions { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CellInfo != nil { + if size, ok := interface{}(m.CellInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellInfo) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetSrvKeyspaceRequest) SizeVT() (n int) { +func (m *ClusterShardReplicationPosition) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterId) - if l > 0 { + if m.Cluster != nil { + l = m.Cluster.SizeVT() n += 1 + l + sov(uint64(l)) } l = len(m.Keyspace) if l > 0 { n += 1 + l + sov(uint64(l)) } - if len(m.Cells) > 0 { - for _, s := range m.Cells { - l = len(s) - n += 1 + l + sov(uint64(l)) + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PositionInfo != nil { + if size, ok := interface{}(m.PositionInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PositionInfo) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetSrvKeyspacesRequest) SizeVT() (n int) { +func (m *ClusterWorkflows) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) + if len(m.Workflows) > 0 { + for _, e := range m.Workflows { + l = e.SizeVT() n += 1 + l + sov(uint64(l)) } } - if len(m.Cells) > 0 { - for _, s := range m.Cells { + if len(m.Warnings) > 0 { + for _, s := range m.Warnings { l = len(s) n += 1 + l + sov(uint64(l)) } @@ -7363,14 +7986,28 @@ func (m *GetSrvKeyspacesRequest) SizeVT() (n int) { return n } -func (m *GetSrvKeyspacesResponse) SizeVT() (n int) { +func (m *Keyspace) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.SrvKeyspaces) > 0 { - for k, v := range m.SrvKeyspaces { + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Keyspace != nil { + if size, ok := interface{}(m.Keyspace).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Keyspace) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Shards) > 0 { + for k, v := range m.Shards { _ = k _ = v l = 0 @@ -7392,165 +8029,244 @@ func (m *GetSrvKeyspacesResponse) SizeVT() (n int) { return n } -func (m *GetSrvVSchemaRequest) SizeVT() (n int) { +func (m *Schema_ShardTableSize) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.RowCount != 0 { + n += 1 + sov(uint64(m.RowCount)) } - l = len(m.Cell) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if m.DataLength != 0 { + n += 1 + sov(uint64(m.DataLength)) } n += len(m.unknownFields) return n } -func (m *GetSrvVSchemasRequest) SizeVT() (n int) { +func (m *Schema_TableSize) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.RowCount != 0 { + n += 1 + sov(uint64(m.RowCount)) } - if len(m.Cells) > 0 { - for _, s := range m.Cells { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + if m.DataLength != 0 { + n += 1 + sov(uint64(m.DataLength)) } - n += len(m.unknownFields) - return n -} - -func (m *GetSrvVSchemasResponse) SizeVT() (n int) { - if m == nil { + if len(m.ByShard) > 0 { + for k, v := range m.ByShard { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Schema) SizeVT() (n int) { + if m == nil { return 0 } var l int _ = l - if len(m.SrvVSchemas) > 0 { - for _, e := range m.SrvVSchemas { - l = e.SizeVT() + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TableDefinitions) > 0 { + for _, e := range m.TableDefinitions { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } n += 1 + l + sov(uint64(l)) } } + if len(m.TableSizes) > 0 { + for k, v := range m.TableSizes { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } n += len(m.unknownFields) return n } -func (m *GetSchemaTableSizeOptions) SizeVT() (n int) { +func (m *SchemaMigration) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.AggregateSizes { - n += 2 + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) } - if m.IncludeNonServingShards { - n += 2 + if m.SchemaMigration != nil { + if size, ok := interface{}(m.SchemaMigration).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.SchemaMigration) + } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetTabletRequest) SizeVT() (n int) { +func (m *Shard) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Shard != nil { + if size, ok := interface{}(m.Shard).(interface { SizeVT() int }); ok { l = size.SizeVT() } else { - l = proto.Size(m.Alias) + l = proto.Size(m.Shard) } n += 1 + l + sov(uint64(l)) } - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } n += len(m.unknownFields) return n } -func (m *GetTabletsRequest) SizeVT() (n int) { +func (m *SrvVSchema) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.SrvVSchema != nil { + if size, ok := interface{}(m.SrvVSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.SrvVSchema) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetTabletsResponse) SizeVT() (n int) { +func (m *Tablet) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Tablets) > 0 { - for _, e := range m.Tablets { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) } + n += 1 + l + sov(uint64(l)) + } + if m.State != 0 { + n += 1 + sov(uint64(m.State)) + } + l = len(m.FQDN) + if l > 0 { + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetTopologyPathRequest) SizeVT() (n int) { +func (m *VSchema) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterId) - if l > 0 { + if m.Cluster != nil { + l = m.Cluster.SizeVT() n += 1 + l + sov(uint64(l)) } - l = len(m.Path) + l = len(m.Name) if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.VSchema != nil { + if size, ok := interface{}(m.VSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.VSchema) + } + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } -func (m *GetVSchemaRequest) SizeVT() (n int) { +func (m *Vtctld) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterId) + l = len(m.Hostname) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Keyspace) + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.FQDN) if l > 0 { n += 1 + l + sov(uint64(l)) } @@ -7558,71 +8274,119 @@ func (m *GetVSchemaRequest) SizeVT() (n int) { return n } -func (m *GetVSchemasRequest) SizeVT() (n int) { +func (m *VTGate) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { + l = len(m.Hostname) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Pool) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { l = len(s) n += 1 + l + sov(uint64(l)) } } + l = len(m.FQDN) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } -func (m *GetVSchemasResponse) SizeVT() (n int) { +func (m *Workflow) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.VSchemas) > 0 { - for _, e := range m.VSchemas { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Workflow != nil { + if size, ok := interface{}(m.Workflow).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Workflow) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetVtctldsRequest) SizeVT() (n int) { +func (m *WorkflowDeleteRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetVtctldsResponse) SizeVT() (n int) { +func (m *WorkflowSwitchTrafficRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Vtctlds) > 0 { - for _, e := range m.Vtctlds { - l = e.SizeVT() - n += 1 + l + sov(uint64(l)) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetWorkflowRequest) SizeVT() (n int) { +func (m *ApplySchemaRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -7632,120 +8396,119 @@ func (m *GetWorkflowRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Keyspace) + l = len(m.Sql) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Name) + l = len(m.CallerId) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.ActiveOnly { - n += 2 + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetWorkflowsRequest) SizeVT() (n int) { +func (m *CancelSchemaMigrationRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - if m.ActiveOnly { - n += 2 - } - if len(m.Keyspaces) > 0 { - for _, s := range m.Keyspaces { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if len(m.IgnoreKeyspaces) > 0 { - for _, s := range m.IgnoreKeyspaces { - l = len(s) - n += 1 + l + sov(uint64(l)) + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *GetWorkflowsResponse) SizeVT() (n int) { +func (m *CleanupSchemaMigrationRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.WorkflowsByCluster) > 0 { - for k, v := range m.WorkflowsByCluster { - _ = k - _ = v - l = 0 - if v != nil { - l = v.SizeVT() - } - l += 1 + sov(uint64(l)) - mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l - n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *PingTabletRequest) SizeVT() (n int) { +func (m *CompleteSchemaMigrationRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { SizeVT() int }); ok { l = size.SizeVT() } else { - l = proto.Size(m.Alias) + l = proto.Size(m.Request) } n += 1 + l + sov(uint64(l)) } - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } n += len(m.unknownFields) return n } -func (m *PingTabletResponse) SizeVT() (n int) { +func (m *ConcludeTransactionRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Status) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Cluster != nil { - l = m.Cluster.SizeVT() + l = len(m.Dtid) + if l > 0 { n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *PlannedFailoverShardRequest) SizeVT() (n int) { +func (m *CreateKeyspaceRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -7769,51 +8532,45 @@ func (m *PlannedFailoverShardRequest) SizeVT() (n int) { return n } -func (m *PlannedFailoverShardResponse) SizeVT() (n int) { +func (m *CreateKeyspaceResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() + if m.Keyspace != nil { + l = m.Keyspace.SizeVT() n += 1 + l + sov(uint64(l)) } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) + n += len(m.unknownFields) + return n +} + +func (m *CreateShardRequest) SizeVT() (n int) { + if m == nil { + return 0 } - l = len(m.Shard) + var l int + _ = l + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.PromotedPrimary != nil { - if size, ok := interface{}(m.PromotedPrimary).(interface { + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { SizeVT() int }); ok { l = size.SizeVT() } else { - l = proto.Size(m.PromotedPrimary) + l = proto.Size(m.Options) } n += 1 + l + sov(uint64(l)) } - if len(m.Events) > 0 { - for _, e := range m.Events { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } - } n += len(m.unknownFields) return n } -func (m *RebuildKeyspaceGraphRequest) SizeVT() (n int) { +func (m *DeleteKeyspaceRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -7823,38 +8580,45 @@ func (m *RebuildKeyspaceGraphRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if len(m.Cells) > 0 { - for _, s := range m.Cells { - l = len(s) - n += 1 + l + sov(uint64(l)) + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) } - } - if m.AllowPartial { - n += 2 + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *RebuildKeyspaceGraphResponse) SizeVT() (n int) { +func (m *DeleteShardsRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Status) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } -func (m *RefreshStateRequest) SizeVT() (n int) { +func (m *DeleteTabletRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -7876,11 +8640,14 @@ func (m *RefreshStateRequest) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } + if m.AllowPrimary { + n += 2 + } n += len(m.unknownFields) return n } -func (m *RefreshStateResponse) SizeVT() (n int) { +func (m *DeleteTabletResponse) SizeVT() (n int) { if m == nil { return 0 } @@ -7898,90 +8665,56 @@ func (m *RefreshStateResponse) SizeVT() (n int) { return n } -func (m *ReloadSchemasRequest) SizeVT() (n int) { +func (m *EmergencyFailoverShardRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Keyspaces) > 0 { - for _, s := range m.Keyspaces { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if len(m.KeyspaceShards) > 0 { - for _, s := range m.KeyspaceShards { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if len(m.Tablets) > 0 { - for _, e := range m.Tablets { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } - } - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if m.Concurrency != 0 { - n += 1 + sov(uint64(m.Concurrency)) - } - l = len(m.WaitPosition) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.IncludePrimary { - n += 2 + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *ReloadSchemasResponse_KeyspaceResult) SizeVT() (n int) { +func (m *EmergencyFailoverShardResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Keyspace != nil { - l = m.Keyspace.SizeVT() + if m.Cluster != nil { + l = m.Cluster.SizeVT() n += 1 + l + sov(uint64(l)) } - if len(m.Events) > 0 { - for _, e := range m.Events { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - n += len(m.unknownFields) - return n -} - -func (m *ReloadSchemasResponse_ShardResult) SizeVT() (n int) { - if m == nil { - return 0 + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) } - var l int - _ = l - if m.Shard != nil { - l = m.Shard.SizeVT() + if m.PromotedPrimary != nil { + if size, ok := interface{}(m.PromotedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PromotedPrimary) + } n += 1 + l + sov(uint64(l)) } if len(m.Events) > 0 { @@ -8000,99 +8733,118 @@ func (m *ReloadSchemasResponse_ShardResult) SizeVT() (n int) { return n } -func (m *ReloadSchemasResponse_TabletResult) SizeVT() (n int) { +func (m *FindSchemaRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Tablet != nil { - l = m.Tablet.SizeVT() + l = len(m.Table) + if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Result) - if l > 0 { + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.TableSizeOptions != nil { + l = m.TableSizeOptions.SizeVT() n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *ReloadSchemasResponse) SizeVT() (n int) { +func (m *GetBackupsRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.KeyspaceResults) > 0 { - for _, e := range m.KeyspaceResults { - l = e.SizeVT() + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) n += 1 + l + sov(uint64(l)) } } - if len(m.ShardResults) > 0 { - for _, e := range m.ShardResults { - l = e.SizeVT() + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) n += 1 + l + sov(uint64(l)) } } - if len(m.TabletResults) > 0 { - for _, e := range m.TabletResults { - l = e.SizeVT() + if len(m.KeyspaceShards) > 0 { + for _, s := range m.KeyspaceShards { + l = len(s) n += 1 + l + sov(uint64(l)) } } + if m.RequestOptions != nil { + if size, ok := interface{}(m.RequestOptions).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RequestOptions) + } + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } -func (m *ReloadSchemaShardRequest) SizeVT() (n int) { +func (m *GetBackupsResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Backups) > 0 { + for _, e := range m.Backups { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) + n += len(m.unknownFields) + return n +} + +func (m *GetCellInfosRequest) SizeVT() (n int) { + if m == nil { + return 0 } - l = len(m.Shard) - if l > 0 { - n += 1 + l + sov(uint64(l)) + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - l = len(m.WaitPosition) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - if m.IncludePrimary { + if m.NamesOnly { n += 2 } - if m.Concurrency != 0 { - n += 1 + sov(uint64(m.Concurrency)) - } n += len(m.unknownFields) return n } -func (m *ReloadSchemaShardResponse) SizeVT() (n int) { +func (m *GetCellInfosResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Events) > 0 { - for _, e := range m.Events { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } + if len(m.CellInfos) > 0 { + for _, e := range m.CellInfos { + l = e.SizeVT() n += 1 + l + sov(uint64(l)) } } @@ -8100,22 +8852,12 @@ func (m *ReloadSchemaShardResponse) SizeVT() (n int) { return n } -func (m *RefreshTabletReplicationSourceRequest) SizeVT() (n int) { +func (m *GetCellsAliasesRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Alias) - } - n += 1 + l + sov(uint64(l)) - } if len(m.ClusterIds) > 0 { for _, s := range m.ClusterIds { l = len(s) @@ -8126,86 +8868,58 @@ func (m *RefreshTabletReplicationSourceRequest) SizeVT() (n int) { return n } -func (m *RefreshTabletReplicationSourceResponse) SizeVT() (n int) { +func (m *GetCellsAliasesResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Shard) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.Primary != nil { - if size, ok := interface{}(m.Primary).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Primary) + if len(m.Aliases) > 0 { + for _, e := range m.Aliases { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) } - n += 1 + l + sov(uint64(l)) - } - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *RemoveKeyspaceCellRequest) SizeVT() (n int) { +func (m *GetClustersRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - l = len(m.Cell) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.Force { - n += 2 - } - if m.Recursive { - n += 2 - } n += len(m.unknownFields) return n } -func (m *RemoveKeyspaceCellResponse) SizeVT() (n int) { +func (m *GetClustersResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Status) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.Clusters) > 0 { + for _, e := range m.Clusters { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } n += len(m.unknownFields) return n } -func (m *RunHealthCheckRequest) SizeVT() (n int) { +func (m *GetFullStatusRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } if m.Alias != nil { if size, ok := interface{}(m.Alias).(interface { SizeVT() int @@ -8216,6 +8930,16 @@ func (m *RunHealthCheckRequest) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + n += len(m.unknownFields) + return n +} + +func (m *GetGatesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l if len(m.ClusterIds) > 0 { for _, s := range m.ClusterIds { l = len(s) @@ -8226,40 +8950,46 @@ func (m *RunHealthCheckRequest) SizeVT() (n int) { return n } -func (m *RunHealthCheckResponse) SizeVT() (n int) { +func (m *GetGatesResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Status) + if len(m.Gates) > 0 { + for _, e := range m.Gates { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Cluster != nil { - l = m.Cluster.SizeVT() + l = len(m.Keyspace) + if l > 0 { n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *SetReadOnlyRequest) SizeVT() (n int) { +func (m *GetKeyspacesRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Alias) - } - n += 1 + l + sov(uint64(l)) - } if len(m.ClusterIds) > 0 { for _, s := range m.ClusterIds { l = len(s) @@ -8270,71 +9000,117 @@ func (m *SetReadOnlyRequest) SizeVT() (n int) { return n } -func (m *SetReadOnlyResponse) SizeVT() (n int) { +func (m *GetKeyspacesResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l + if len(m.Keyspaces) > 0 { + for _, e := range m.Keyspaces { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } -func (m *SetReadWriteRequest) SizeVT() (n int) { +func (m *GetSchemaRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Alias) - } + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Table) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TableSizeOptions != nil { + l = m.TableSizeOptions.SizeVT() n += 1 + l + sov(uint64(l)) } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l if len(m.ClusterIds) > 0 { for _, s := range m.ClusterIds { l = len(s) n += 1 + l + sov(uint64(l)) } } + if m.TableSizeOptions != nil { + l = m.TableSizeOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } -func (m *SetReadWriteResponse) SizeVT() (n int) { +func (m *GetSchemasResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l + if len(m.Schemas) > 0 { + for _, e := range m.Schemas { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } -func (m *StartReplicationRequest) SizeVT() (n int) { +func (m *GetSchemaMigrationsRequest_ClusterRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int }); ok { l = size.SizeVT() } else { - l = proto.Size(m.Alias) + l = proto.Size(m.Request) } n += 1 + l + sov(uint64(l)) } - if len(m.ClusterIds) > 0 { - for _, s := range m.ClusterIds { - l = len(s) + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaMigrationsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterRequests) > 0 { + for _, e := range m.ClusterRequests { + l = e.SizeVT() n += 1 + l + sov(uint64(l)) } } @@ -8342,137 +9118,214 @@ func (m *StartReplicationRequest) SizeVT() (n int) { return n } -func (m *StartReplicationResponse) SizeVT() (n int) { +func (m *GetSchemaMigrationsResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Status) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.SchemaMigrations) > 0 { + for _, e := range m.SchemaMigrations { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } n += len(m.unknownFields) return n } -func (m *StopReplicationRequest) SizeVT() (n int) { +func (m *GetShardReplicationPositionsRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Alias) - } - n += 1 + l + sov(uint64(l)) - } if len(m.ClusterIds) > 0 { for _, s := range m.ClusterIds { l = len(s) n += 1 + l + sov(uint64(l)) } } + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.KeyspaceShards) > 0 { + for _, s := range m.KeyspaceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } -func (m *StopReplicationResponse) SizeVT() (n int) { +func (m *GetShardReplicationPositionsResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Status) + if len(m.ReplicationPositions) > 0 { + for _, e := range m.ReplicationPositions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.Cluster != nil { - l = m.Cluster.SizeVT() + l = len(m.Keyspace) + if l > 0 { n += 1 + l + sov(uint64(l)) } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } -func (m *TabletExternallyPromotedRequest) SizeVT() (n int) { +func (m *GetSrvKeyspacesRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Alias != nil { - if size, ok := interface{}(m.Alias).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Alias) - } - n += 1 + l + sov(uint64(l)) - } if len(m.ClusterIds) > 0 { for _, s := range m.ClusterIds { l = len(s) n += 1 + l + sov(uint64(l)) } } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } -func (m *TabletExternallyPromotedResponse) SizeVT() (n int) { +func (m *GetSrvKeyspacesResponse) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - if m.Cluster != nil { - l = m.Cluster.SizeVT() - n += 1 + l + sov(uint64(l)) + if len(m.SrvKeyspaces) > 0 { + for k, v := range m.SrvKeyspaces { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } } - l = len(m.Keyspace) + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Shard) + l = len(m.Cell) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.NewPrimary != nil { - if size, ok := interface{}(m.NewPrimary).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.NewPrimary) + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) } - n += 1 + l + sov(uint64(l)) } - if m.OldPrimary != nil { - if size, ok := interface{}(m.OldPrimary).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.OldPrimary) + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) } - n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *TabletExternallyReparentedRequest) SizeVT() (n int) { +func (m *GetSrvVSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SrvVSchemas) > 0 { + for _, e := range m.SrvVSchemas { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaTableSizeOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AggregateSizes { + n += 2 + } + if m.IncludeNonServingShards { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -8498,24 +9351,39 @@ func (m *TabletExternallyReparentedRequest) SizeVT() (n int) { return n } -func (m *ValidateRequest) SizeVT() (n int) { +func (m *GetTabletsRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sov(uint64(l)) + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } } - if m.PingTablets { - n += 2 + n += len(m.unknownFields) + return n +} + +func (m *GetTabletsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tablets) > 0 { + for _, e := range m.Tablets { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } } n += len(m.unknownFields) return n } -func (m *ValidateKeyspaceRequest) SizeVT() (n int) { +func (m *GetTopologyPathRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -8525,18 +9393,15 @@ func (m *ValidateKeyspaceRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Keyspace) + l = len(m.Path) if l > 0 { n += 1 + l + sov(uint64(l)) } - if m.PingTablets { - n += 2 - } n += len(m.unknownFields) return n } -func (m *ValidateSchemaKeyspaceRequest) SizeVT() (n int) { +func (m *GetTransactionInfoRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -8546,15 +9411,21 @@ func (m *ValidateSchemaKeyspaceRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Keyspace) - if l > 0 { + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } n += 1 + l + sov(uint64(l)) } n += len(m.unknownFields) return n } -func (m *ValidateShardRequest) SizeVT() (n int) { +func (m *GetUnresolvedTransactionsRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -8568,18 +9439,14 @@ func (m *ValidateShardRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Shard) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.PingTablets { - n += 2 + if m.AbandonAge != 0 { + n += 1 + sov(uint64(m.AbandonAge)) } n += len(m.unknownFields) return n } -func (m *ValidateVersionKeyspaceRequest) SizeVT() (n int) { +func (m *GetVSchemaRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -8597,7 +9464,71 @@ func (m *ValidateVersionKeyspaceRequest) SizeVT() (n int) { return n } -func (m *ValidateVersionShardRequest) SizeVT() (n int) { +func (m *GetVSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetVSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.VSchemas) > 0 { + for _, e := range m.VSchemas { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetVtctldsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetVtctldsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Vtctlds) > 0 { + for _, e := range m.Vtctlds { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowRequest) SizeVT() (n int) { if m == nil { return 0 } @@ -8611,21 +9542,24 @@ func (m *ValidateVersionShardRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Shard) + l = len(m.Name) if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.ActiveOnly { + n += 2 + } n += len(m.unknownFields) return n } -func (m *VTExplainRequest) SizeVT() (n int) { +func (m *GetWorkflowStatusRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Cluster) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } @@ -8633,7 +9567,7 @@ func (m *VTExplainRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } - l = len(m.Sql) + l = len(m.Name) if l > 0 { n += 1 + l + sov(uint64(l)) } @@ -8641,27 +9575,4601 @@ func (m *VTExplainRequest) SizeVT() (n int) { return n } -func (m *VTExplainResponse) SizeVT() (n int) { +func (m *StartWorkflowRequest) SizeVT() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Response) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.ActiveOnly { + n += 2 + } + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.IgnoreKeyspaces) > 0 { + for _, s := range m.IgnoreKeyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.WorkflowsByCluster) > 0 { + for k, v := range m.WorkflowsByCluster { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *LaunchSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MaterializeCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TableSettings) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MoveTablesCompleteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MoveTablesCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) if l > 0 { n += 1 + l + sov(uint64(l)) } - n += len(m.unknownFields) - return n -} + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PingTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *PingTabletResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PlannedFailoverShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PlannedFailoverShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PromotedPrimary != nil { + if size, ok := interface{}(m.PromotedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PromotedPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RebuildKeyspaceGraphRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.AllowPartial { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RebuildKeyspaceGraphResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.KeyspaceShards) > 0 { + for _, s := range m.KeyspaceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Tablets) > 0 { + for _, e := range m.Tablets { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IncludePrimary { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse_KeyspaceResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + l = m.Keyspace.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse_ShardResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Shard != nil { + l = m.Shard.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse_TabletResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + l = m.Tablet.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Result) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.KeyspaceResults) > 0 { + for _, e := range m.KeyspaceResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ShardResults) > 0 { + for _, e := range m.ShardResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletResults) > 0 { + for _, e := range m.TabletResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IncludePrimary { + n += 2 + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshTabletReplicationSourceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshTabletReplicationSourceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Primary != nil { + if size, ok := interface{}(m.Primary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Primary) + } + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveKeyspaceCellRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.Recursive { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveKeyspaceCellResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RetrySchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReshardCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyPromotedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyPromotedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.NewPrimary != nil { + if size, ok := interface{}(m.NewPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.NewPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if m.OldPrimary != nil { + if size, ok := interface{}(m.OldPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.OldPrimary) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyReparentedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateSchemaKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffShowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffProgress) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Percentage != 0 { + n += 9 + } + l = len(m.Eta) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffShardReport) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.State) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.RowsCompared != 0 { + n += 1 + sov(uint64(m.RowsCompared)) + } + if m.HasMismatch { + n += 2 + } + l = len(m.StartedAt) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CompletedAt) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Progress != nil { + l = m.Progress.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffShowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ShardReport) > 0 { + for k, v := range m.ShardReport { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VTExplainRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cluster) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VTExplainResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Response) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Cluster) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Cluster: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Cluster: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterBackup) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterBackup: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterBackup: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Backup", 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.Backup == nil { + m.Backup = &dev.BackupInfo{} + } + if unmarshal, ok := interface{}(m.Backup).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Backup); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterCellsAliases) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterCellsAliases: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterCellsAliases: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Aliases", 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.Aliases == nil { + m.Aliases = make(map[string]*dev1.CellsAlias) + } + var mapkey string + var mapvalue *dev1.CellsAlias + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &dev1.CellsAlias{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Aliases[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterCellInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterCellInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", 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.CellInfo == nil { + m.CellInfo = &dev1.CellInfo{} + } + if unmarshal, ok := interface{}(m.CellInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterShardReplicationPosition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterShardReplicationPosition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PositionInfo", 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.PositionInfo == nil { + m.PositionInfo = &dev2.ShardReplicationPositionsResponse{} + } + if unmarshal, ok := interface{}(m.PositionInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PositionInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterWorkflows) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterWorkflows: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterWorkflows: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflows", 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 + } + m.Workflows = append(m.Workflows, &Workflow{}) + if err := m.Workflows[len(m.Workflows)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Warnings", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Warnings = append(m.Warnings, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Keyspace) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &dev2.Keyspace{} + } + if unmarshal, ok := interface{}(m.Keyspace).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Keyspace); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", 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.Shards == nil { + m.Shards = make(map[string]*dev2.Shard) + } + var mapkey string + var mapvalue *dev2.Shard + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &dev2.Shard{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Shards[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Schema_ShardTableSize) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Schema_ShardTableSize: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Schema_ShardTableSize: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + } + m.RowCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + } + m.DataLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DataLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Schema_TableSize) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Schema_TableSize: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Schema_TableSize: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + } + m.RowCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + } + m.DataLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DataLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ByShard", 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.ByShard == nil { + m.ByShard = make(map[string]*Schema_ShardTableSize) + } + var mapkey string + var mapvalue *Schema_ShardTableSize + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Schema_ShardTableSize{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Schema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Schema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Schema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableDefinitions", 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 + } + m.TableDefinitions = append(m.TableDefinitions, &dev3.TableDefinition{}) + if unmarshal, ok := interface{}(m.TableDefinitions[len(m.TableDefinitions)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TableDefinitions[len(m.TableDefinitions)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSizes", 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.TableSizes == nil { + m.TableSizes = make(map[string]*Schema_TableSize) + } + var mapkey string + var mapvalue *Schema_TableSize + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Schema_TableSize{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.TableSizes[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SchemaMigration) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SchemaMigration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SchemaMigration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SchemaMigration", 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.SchemaMigration == nil { + m.SchemaMigration = &dev2.SchemaMigration{} + } + if unmarshal, ok := interface{}(m.SchemaMigration).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SchemaMigration); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Shard) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Shard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Shard: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &dev2.Shard{} + } + if unmarshal, ok := interface{}(m.Shard).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SrvVSchema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SrvVSchema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchema", 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.SrvVSchema == nil { + m.SrvVSchema = &dev4.SrvVSchema{} + } + if unmarshal, ok := interface{}(m.SrvVSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SrvVSchema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tablet) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Tablet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Tablet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &dev1.Tablet{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= Tablet_ServingState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FQDN = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VSchema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VSchema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VSchema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VSchema", 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.VSchema == nil { + m.VSchema = &dev4.Keyspace{} + } + if unmarshal, ok := interface{}(m.VSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.VSchema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Vtctld) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Vtctld: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Vtctld: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hostname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FQDN = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VTGate) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VTGate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VTGate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hostname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pool", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Pool = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FQDN = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", 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.Workflow == nil { + m.Workflow = &dev2.Workflow{} + } + if unmarshal, ok := interface{}(m.Workflow).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Workflow); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowDeleteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowDeleteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &dev2.WorkflowDeleteRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } -func sov(x uint64) (n int) { - return (bits.Len64(x|1) + 6) / 7 -} -func soz(x uint64) (n int) { - return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil } -func (m *Cluster) UnmarshalVT(dAtA []byte) error { +func (m *WorkflowSwitchTrafficRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8684,15 +14192,15 @@ func (m *Cluster) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Cluster: wiretype end group for non-group") + return fmt.Errorf("proto: WorkflowSwitchTrafficRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Cluster: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WorkflowSwitchTrafficRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -8720,13 +14228,13 @@ func (m *Cluster) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8736,23 +14244,35 @@ func (m *Cluster) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + if m.Request == nil { + m.Request = &dev2.WorkflowSwitchTrafficRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -8776,7 +14296,7 @@ func (m *Cluster) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ClusterBackup) UnmarshalVT(dAtA []byte) error { +func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8799,17 +14319,17 @@ func (m *ClusterBackup) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ClusterBackup: wiretype end group for non-group") + return fmt.Errorf("proto: ApplySchemaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ClusterBackup: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ApplySchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8819,31 +14339,91 @@ func (m *ClusterBackup) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.Sql = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Backup", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CallerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8870,17 +14450,17 @@ func (m *ClusterBackup) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Backup == nil { - m.Backup = &dev.BackupInfo{} + if m.Request == nil { + m.Request = &dev2.ApplySchemaRequest{} } - if unmarshal, ok := interface{}(m.Backup).(interface { + if unmarshal, ok := interface{}(m.Request).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Backup); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { return err } } @@ -8907,7 +14487,7 @@ func (m *ClusterBackup) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ClusterCellsAliases) UnmarshalVT(dAtA []byte) error { +func (m *CancelSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8930,17 +14510,17 @@ func (m *ClusterCellsAliases) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ClusterCellsAliases: wiretype end group for non-group") + return fmt.Errorf("proto: CancelSchemaMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ClusterCellsAliases: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CancelSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -8950,31 +14530,27 @@ func (m *ClusterCellsAliases) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Aliases", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9001,113 +14577,20 @@ func (m *ClusterCellsAliases) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Aliases == nil { - m.Aliases = make(map[string]*dev1.CellsAlias) - } - var mapkey string - var mapvalue *dev1.CellsAlias - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &dev1.CellsAlias{} - if unmarshal, ok := interface{}(mapvalue).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { - return err - } - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + if m.Request == nil { + m.Request = &dev2.CancelSchemaMigrationRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err } } - m.Aliases[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -9131,7 +14614,7 @@ func (m *ClusterCellsAliases) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { +func (m *CleanupSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9154,15 +14637,47 @@ func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ClusterCellInfo: wiretype end group for non-group") + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ClusterCellInfo: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9189,16 +14704,75 @@ func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} + if m.Request == nil { + m.Request = &dev2.CleanupSchemaMigrationRequest{} } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } } iNdEx = postIndex - case 2: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CompleteSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9226,11 +14800,11 @@ func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9257,17 +14831,17 @@ func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.CellInfo == nil { - m.CellInfo = &dev1.CellInfo{} + if m.Request == nil { + m.Request = &dev2.CompleteSchemaMigrationRequest{} } - if unmarshal, ok := interface{}(m.CellInfo).(interface { + if unmarshal, ok := interface{}(m.Request).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { return err } } @@ -9294,7 +14868,7 @@ func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { +func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9317,17 +14891,17 @@ func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ClusterShardReplicationPosition: wiretype end group for non-group") + return fmt.Errorf("proto: ConcludeTransactionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ClusterShardReplicationPosition: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ConcludeTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9337,31 +14911,27 @@ func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9389,11 +14959,62 @@ func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Dtid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9421,11 +15042,11 @@ func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionInfo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9452,17 +15073,17 @@ func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionInfo == nil { - m.PositionInfo = &dev2.ShardReplicationPositionsResponse{} + if m.Options == nil { + m.Options = &dev2.CreateKeyspaceRequest{} } - if unmarshal, ok := interface{}(m.PositionInfo).(interface { + if unmarshal, ok := interface{}(m.Options).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PositionInfo); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { return err } } @@ -9489,7 +15110,7 @@ func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ClusterWorkflows) UnmarshalVT(dAtA []byte) error { +func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9509,54 +15130,20 @@ func (m *ClusterWorkflows) UnmarshalVT(dAtA []byte) error { break } } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ClusterWorkflows: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ClusterWorkflows: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflows", 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 - } - m.Workflows = append(m.Workflows, &Workflow{}) - if err := m.Workflows[len(m.Workflows)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Warnings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9566,23 +15153,27 @@ func (m *ClusterWorkflows) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Warnings = append(m.Warnings, string(dAtA[iNdEx:postIndex])) + if m.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -9606,7 +15197,7 @@ func (m *ClusterWorkflows) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Keyspace) UnmarshalVT(dAtA []byte) error { +func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9629,17 +15220,17 @@ func (m *Keyspace) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") + return fmt.Errorf("proto: CreateShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9649,31 +15240,27 @@ func (m *Keyspace) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9700,158 +15287,21 @@ func (m *Keyspace) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Keyspace == nil { - m.Keyspace = &dev2.Keyspace{} + if m.Options == nil { + m.Options = &dev2.CreateShardRequest{} } - if unmarshal, ok := interface{}(m.Keyspace).(interface { + if unmarshal, ok := interface{}(m.Options).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Keyspace); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { return err } } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shards", 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.Shards == nil { - m.Shards = make(map[string]*dev2.Shard) - } - var mapkey string - var mapvalue *dev2.Shard - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &dev2.Shard{} - if unmarshal, ok := interface{}(mapvalue).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { - return err - } - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Shards[mapkey] = mapvalue - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9874,7 +15324,7 @@ func (m *Keyspace) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Schema_ShardTableSize) UnmarshalVT(dAtA []byte) error { +func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9897,17 +15347,17 @@ func (m *Schema_ShardTableSize) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Schema_ShardTableSize: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Schema_ShardTableSize: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - m.RowCount = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9917,16 +15367,29 @@ func (m *Schema_ShardTableSize) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RowCount |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } - m.DataLength = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -9934,13 +15397,38 @@ func (m *Schema_ShardTableSize) UnmarshalVT(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - m.DataLength |= uint64(b&0x7F) << shift - if b < 0x80 { - break + 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.Options == nil { + m.Options = &dev2.DeleteKeyspaceRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err } } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -9963,7 +15451,7 @@ func (m *Schema_ShardTableSize) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Schema_TableSize) UnmarshalVT(dAtA []byte) error { +func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9986,17 +15474,17 @@ func (m *Schema_TableSize) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Schema_TableSize: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteShardsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Schema_TableSize: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteShardsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - m.RowCount = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10006,33 +15494,27 @@ func (m *Schema_TableSize) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RowCount |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - m.DataLength = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DataLength |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - case 3: + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ByShard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10059,105 +15541,20 @@ func (m *Schema_TableSize) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ByShard == nil { - m.ByShard = make(map[string]*Schema_ShardTableSize) + if m.Options == nil { + m.Options = &dev2.DeleteShardsRequest{} } - var mapkey string - var mapvalue *Schema_ShardTableSize - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &Schema_ShardTableSize{} - if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err } } - m.ByShard[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -10181,7 +15578,7 @@ func (m *Schema_TableSize) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Schema) UnmarshalVT(dAtA []byte) error { +func (m *DeleteTabletRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10204,15 +15601,15 @@ func (m *Schema) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Schema: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteTabletRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Schema: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10239,16 +15636,24 @@ func (m *Schema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} + if m.Alias == nil { + m.Alias = &dev1.TabletAlias{} } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10276,13 +15681,84 @@ func (m *Schema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPrimary = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteTabletResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteTabletResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TableDefinitions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10292,37 +15768,27 @@ func (m *Schema) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.TableDefinitions = append(m.TableDefinitions, &dev3.TableDefinition{}) - if unmarshal, ok := interface{}(m.TableDefinitions[len(m.TableDefinitions)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TableDefinitions[len(m.TableDefinitions)-1]); err != nil { - return err - } - } + m.Status = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TableSizes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10349,105 +15815,12 @@ func (m *Schema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TableSizes == nil { - m.TableSizes = make(map[string]*Schema_TableSize) + if m.Cluster == nil { + m.Cluster = &Cluster{} } - var mapkey string - var mapvalue *Schema_TableSize - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &Schema_TableSize{} - if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.TableSizes[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -10471,7 +15844,7 @@ func (m *Schema) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Shard) UnmarshalVT(dAtA []byte) error { +func (m *EmergencyFailoverShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10494,17 +15867,17 @@ func (m *Shard) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Shard: wiretype end group for non-group") + return fmt.Errorf("proto: EmergencyFailoverShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Shard: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EmergencyFailoverShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10514,31 +15887,27 @@ func (m *Shard) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10565,17 +15934,17 @@ func (m *Shard) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Shard == nil { - m.Shard = &dev2.Shard{} + if m.Options == nil { + m.Options = &dev2.EmergencyReparentShardRequest{} } - if unmarshal, ok := interface{}(m.Shard).(interface { + if unmarshal, ok := interface{}(m.Options).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { return err } } @@ -10602,7 +15971,7 @@ func (m *Shard) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { +func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10625,15 +15994,51 @@ func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SrvVSchema: wiretype end group for non-group") + return fmt.Errorf("proto: EmergencyFailoverShardResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SrvVSchema: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EmergencyFailoverShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10661,11 +16066,43 @@ func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cell = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10692,16 +16129,24 @@ func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} + if m.PromotedPrimary == nil { + m.PromotedPrimary = &dev1.TabletAlias{} } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { + return err + } } iNdEx = postIndex - case 3: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10728,17 +16173,15 @@ func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SrvVSchema == nil { - m.SrvVSchema = &dev4.SrvVSchema{} - } - if unmarshal, ok := interface{}(m.SrvVSchema).(interface { + m.Events = append(m.Events, &dev5.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SrvVSchema); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { return err } } @@ -10765,7 +16208,7 @@ func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Tablet) UnmarshalVT(dAtA []byte) error { +func (m *FindSchemaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10788,17 +16231,17 @@ func (m *Tablet) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Tablet: wiretype end group for non-group") + return fmt.Errorf("proto: FindSchemaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Tablet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FindSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10808,33 +16251,29 @@ func (m *Tablet) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Table = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tablet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10844,60 +16283,29 @@ func (m *Tablet) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Tablet == nil { - m.Tablet = &dev1.Tablet{} - } - if unmarshal, ok := interface{}(m.Tablet).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { - return err - } - } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= Tablet_ServingState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10907,23 +16315,27 @@ func (m *Tablet) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.FQDN = string(dAtA[iNdEx:postIndex]) + if m.TableSizeOptions == nil { + m.TableSizeOptions = &GetSchemaTableSizeOptions{} + } + if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -10947,7 +16359,7 @@ func (m *Tablet) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VSchema) UnmarshalVT(dAtA []byte) error { +func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10970,17 +16382,17 @@ func (m *VSchema) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VSchema: wiretype end group for non-group") + return fmt.Errorf("proto: GetBackupsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VSchema: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetBackupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -10990,31 +16402,27 @@ func (m *VSchema) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11042,11 +16450,43 @@ func (m *VSchema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestOptions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11073,17 +16513,17 @@ func (m *VSchema) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.VSchema == nil { - m.VSchema = &dev4.Keyspace{} + if m.RequestOptions == nil { + m.RequestOptions = &dev2.GetBackupsRequest{} } - if unmarshal, ok := interface{}(m.VSchema).(interface { + if unmarshal, ok := interface{}(m.RequestOptions).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.VSchema); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RequestOptions); err != nil { return err } } @@ -11110,7 +16550,7 @@ func (m *VSchema) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Vtctld) UnmarshalVT(dAtA []byte) error { +func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11133,47 +16573,15 @@ func (m *Vtctld) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Vtctld: wiretype end group for non-group") + return fmt.Errorf("proto: GetBackupsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Vtctld: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetBackupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hostname = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Backups", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11200,44 +16608,10 @@ func (m *Vtctld) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF + m.Backups = append(m.Backups, &ClusterBackup{}) + if err := m.Backups[len(m.Backups)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.FQDN = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11261,7 +16635,7 @@ func (m *Vtctld) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *VTGate) UnmarshalVT(dAtA []byte) error { +func (m *GetCellInfosRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11284,15 +16658,15 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: VTGate: wiretype end group for non-group") + return fmt.Errorf("proto: GetCellInfosRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: VTGate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetCellInfosRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11320,11 +16694,11 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Hostname = string(dAtA[iNdEx:postIndex]) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pool", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11352,13 +16726,13 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Pool = string(dAtA[iNdEx:postIndex]) + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NamesOnly", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -11368,27 +16742,66 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + m.NamesOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Cell = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfosResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfosResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfosResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CellInfos", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11415,16 +16828,65 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.CellInfos = append(m.CellInfos, &ClusterCellInfo{}) + if err := m.CellInfos[len(m.CellInfos)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11452,13 +16914,64 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 6: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Aliases", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -11468,24 +16981,77 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.FQDN = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.Aliases = append(m.Aliases, &ClusterCellsAliases{}) + if err := m.Aliases[len(m.Aliases)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetClustersRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetClustersRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetClustersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -11508,7 +17074,7 @@ func (m *VTGate) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Workflow) UnmarshalVT(dAtA []byte) error { +func (m *GetClustersResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11531,15 +17097,15 @@ func (m *Workflow) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Workflow: wiretype end group for non-group") + return fmt.Errorf("proto: GetClustersResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Workflow: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetClustersResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11566,16 +17132,65 @@ func (m *Workflow) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.Clusters = append(m.Clusters, &Cluster{}) + if err := m.Clusters[len(m.Clusters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetFullStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetFullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11603,11 +17218,11 @@ func (m *Workflow) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11634,17 +17249,17 @@ func (m *Workflow) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Workflow == nil { - m.Workflow = &dev2.Workflow{} + if m.Alias == nil { + m.Alias = &dev1.TabletAlias{} } - if unmarshal, ok := interface{}(m.Workflow).(interface { + if unmarshal, ok := interface{}(m.Alias).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Workflow); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { return err } } @@ -11671,7 +17286,7 @@ func (m *Workflow) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetGatesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11694,15 +17309,15 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetGatesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetGatesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11730,51 +17345,7 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { - m.Options = &dev2.CreateKeyspaceRequest{} - } - if unmarshal, ok := interface{}(m.Options).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { - return err - } - } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -11798,7 +17369,7 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetGatesResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11821,15 +17392,15 @@ func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateKeyspaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetGatesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetGatesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Gates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11856,10 +17427,8 @@ func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Keyspace == nil { - m.Keyspace = &Keyspace{} - } - if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.Gates = append(m.Gates, &VTGate{}) + if err := m.Gates[len(m.Gates)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11885,7 +17454,7 @@ func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11908,10 +17477,10 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11948,9 +17517,9 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -11960,35 +17529,23 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Options == nil { - m.Options = &dev2.CreateShardRequest{} - } - if unmarshal, ok := interface{}(m.Options).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { - return err - } - } + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12012,7 +17569,7 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12035,15 +17592,15 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetKeyspacesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12064,58 +17621,14 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { - m.Options = &dev2.DeleteKeyspaceRequest{} - } - if unmarshal, ok := interface{}(m.Options).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { - return err - } - } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -12139,7 +17652,7 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12162,47 +17675,15 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteShardsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetKeyspacesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteShardsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12229,19 +17710,9 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Options == nil { - m.Options = &dev2.DeleteShardsRequest{} - } - if unmarshal, ok := interface{}(m.Options).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { - return err - } + m.Keyspaces = append(m.Keyspaces, &Keyspace{}) + if err := m.Keyspaces[len(m.Keyspaces)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -12266,7 +17737,7 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteTabletRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12289,17 +17760,17 @@ func (m *DeleteTabletRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteTabletRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12309,39 +17780,27 @@ func (m *DeleteTabletRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Alias == nil { - m.Alias = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.Alias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { - return err - } - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12369,82 +17828,11 @@ func (m *DeleteTabletRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllowPrimary = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteTabletResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteTabletResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12472,11 +17860,11 @@ func (m *DeleteTabletResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Status = string(dAtA[iNdEx:postIndex]) + m.Table = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12503,10 +17891,10 @@ func (m *DeleteTabletResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} + if m.TableSizeOptions == nil { + m.TableSizeOptions = &GetSchemaTableSizeOptions{} } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12532,7 +17920,7 @@ func (m *DeleteTabletResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *EmergencyFailoverShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSchemasRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12555,15 +17943,15 @@ func (m *EmergencyFailoverShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EmergencyFailoverShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSchemasRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EmergencyFailoverShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12591,11 +17979,11 @@ func (m *EmergencyFailoverShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12622,19 +18010,11 @@ func (m *EmergencyFailoverShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Options == nil { - m.Options = &dev2.EmergencyReparentShardRequest{} + if m.TableSizeOptions == nil { + m.TableSizeOptions = &GetSchemaTableSizeOptions{} } - if unmarshal, ok := interface{}(m.Options).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { - return err - } + if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -12659,7 +18039,7 @@ func (m *EmergencyFailoverShardRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSchemasResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12682,53 +18062,17 @@ func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EmergencyFailoverShardResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSchemasResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EmergencyFailoverShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Schemas", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12738,61 +18082,82 @@ func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + m.Schemas = append(m.Schemas, &Schema{}) + if err := m.Schemas[len(m.Schemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsRequest_ClusterRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest_ClusterRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest_ClusterRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12802,39 +18167,27 @@ func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.PromotedPrimary == nil { - m.PromotedPrimary = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { - return err - } - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12861,15 +18214,17 @@ func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Events = append(m.Events, &dev5.Event{}) - if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + if m.Request == nil { + m.Request = &dev2.GetSchemaMigrationsRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { return err } } @@ -12896,7 +18251,7 @@ func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *FindSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12919,17 +18274,17 @@ func (m *FindSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FindSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSchemaMigrationsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FindSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSchemaMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterRequests", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -12939,59 +18294,80 @@ func (m *FindSchemaRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Table = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + m.ClusterRequests = append(m.ClusterRequests, &GetSchemaMigrationsRequest_ClusterRequest{}) + if err := m.ClusterRequests[len(m.ClusterRequests)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SchemaMigrations", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13018,10 +18394,8 @@ func (m *FindSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TableSizeOptions == nil { - m.TableSizeOptions = &GetSchemaTableSizeOptions{} - } - if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.SchemaMigrations = append(m.SchemaMigrations, &SchemaMigration{}) + if err := m.SchemaMigrations[len(m.SchemaMigrations)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13047,7 +18421,7 @@ func (m *FindSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13070,10 +18444,10 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetBackupsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetShardReplicationPositionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetBackupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetShardReplicationPositionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13170,11 +18544,62 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: + m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardReplicationPositionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardReplicationPositionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardReplicationPositionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestOptions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPositions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13201,19 +18626,9 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RequestOptions == nil { - m.RequestOptions = &dev2.GetBackupsRequest{} - } - if unmarshal, ok := interface{}(m.RequestOptions).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RequestOptions); err != nil { - return err - } + m.ReplicationPositions = append(m.ReplicationPositions, &ClusterShardReplicationPosition{}) + if err := m.ReplicationPositions[len(m.ReplicationPositions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -13238,7 +18653,7 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13261,17 +18676,17 @@ func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetBackupsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetBackupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Backups", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13281,25 +18696,87 @@ func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Backups = append(m.Backups, &ClusterBackup{}) - if err := m.Backups[len(m.Backups)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -13323,7 +18800,7 @@ func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellInfosRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13346,10 +18823,10 @@ func (m *GetCellInfosRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellInfosRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspacesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellInfosRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13416,26 +18893,6 @@ func (m *GetCellInfosRequest) UnmarshalVT(dAtA []byte) error { } m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NamesOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.NamesOnly = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13458,7 +18915,7 @@ func (m *GetCellInfosRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellInfosResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13481,15 +18938,15 @@ func (m *GetCellInfosResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellInfosResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspacesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellInfosResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CellInfos", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SrvKeyspaces", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13516,10 +18973,113 @@ func (m *GetCellInfosResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CellInfos = append(m.CellInfos, &ClusterCellInfo{}) - if err := m.CellInfos[len(m.CellInfos)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.SrvKeyspaces == nil { + m.SrvKeyspaces = make(map[string]*dev2.GetSrvKeyspacesResponse) + } + var mapkey string + var mapvalue *dev2.GetSrvKeyspacesResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &dev2.GetSrvKeyspacesResponse{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } + m.SrvKeyspaces[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -13543,7 +19103,7 @@ func (m *GetCellInfosResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13566,15 +19126,15 @@ func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellsAliasesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvVSchemaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellsAliasesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13602,7 +19162,39 @@ func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13626,7 +19218,7 @@ func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13649,17 +19241,17 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellsAliasesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvVSchemasRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellsAliasesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Aliases", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13669,25 +19261,55 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Aliases = append(m.Aliases, &ClusterCellsAliases{}) - if err := m.Aliases[len(m.Aliases)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -13711,7 +19333,7 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetClustersRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13734,12 +19356,46 @@ func (m *GetClustersRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetClustersRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvVSchemasResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetClustersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchemas", 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 + } + m.SrvVSchemas = append(m.SrvVSchemas, &SrvVSchema{}) + if err := m.SrvVSchemas[len(m.SrvVSchemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13762,7 +19418,7 @@ func (m *GetClustersRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetClustersResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSchemaTableSizeOptions) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13785,17 +19441,17 @@ func (m *GetClustersResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetClustersResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSchemaTableSizeOptions: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetClustersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSchemaTableSizeOptions: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AggregateSizes", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13805,26 +19461,32 @@ func (m *GetClustersResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= 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 + m.AggregateSizes = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeNonServingShards", wireType) } - m.Clusters = append(m.Clusters, &Cluster{}) - if err := m.Clusters[len(m.Clusters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex + m.IncludeNonServingShards = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -13847,7 +19509,7 @@ func (m *GetClustersResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13870,17 +19532,17 @@ func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetFullStatusRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTabletRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetFullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13890,29 +19552,41 @@ func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) + if m.Alias == nil { + m.Alias = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -13922,35 +19596,23 @@ func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Alias == nil { - m.Alias = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.Alias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { - return err - } - } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -13974,7 +19636,7 @@ func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetGatesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13997,10 +19659,10 @@ func (m *GetGatesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetGatesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTabletsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetGatesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14057,7 +19719,7 @@ func (m *GetGatesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetGatesResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14080,15 +19742,15 @@ func (m *GetGatesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetGatesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTabletsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetGatesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Gates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tablets", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14115,8 +19777,8 @@ func (m *GetGatesResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Gates = append(m.Gates, &VTGate{}) - if err := m.Gates[len(m.Gates)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.Tablets = append(m.Tablets, &Tablet{}) + if err := m.Tablets[len(m.Tablets)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14142,7 +19804,7 @@ func (m *GetGatesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14165,10 +19827,10 @@ func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopologyPathRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopologyPathRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14205,7 +19867,7 @@ func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14233,7 +19895,7 @@ func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Path = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14257,7 +19919,7 @@ func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetTransactionInfoRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14280,15 +19942,15 @@ func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetKeyspacesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTransactionInfoRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTransactionInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14316,62 +19978,11 @@ func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetKeyspacesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14398,9 +20009,19 @@ func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspaces = append(m.Keyspaces, &Keyspace{}) - if err := m.Keyspaces[len(m.Keyspaces)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.Request == nil { + m.Request = &dev2.GetTransactionInfoRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } } iNdEx = postIndex default: @@ -14425,7 +20046,7 @@ func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetUnresolvedTransactionsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14448,10 +20069,10 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUnresolvedTransactionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUnresolvedTransactionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14519,42 +20140,10 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Table = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AbandonAge", wireType) } - var msglen int + m.AbandonAge = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -14564,28 +20153,11 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.AbandonAge |= int64(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.TableSizeOptions == nil { - m.TableSizeOptions = &GetSchemaTableSizeOptions{} - } - if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -14608,7 +20180,7 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemasRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14631,15 +20203,15 @@ func (m *GetSchemasRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemasRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetVSchemaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14667,13 +20239,13 @@ func (m *GetSchemasRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -14683,27 +20255,23 @@ func (m *GetSchemasRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.TableSizeOptions == nil { - m.TableSizeOptions = &GetSchemaTableSizeOptions{} - } - if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14727,7 +20295,7 @@ func (m *GetSchemasRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemasResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetVSchemasRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14750,17 +20318,17 @@ func (m *GetSchemasResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemasResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetVSchemasRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Schemas", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -14770,25 +20338,23 @@ func (m *GetSchemasResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Schemas = append(m.Schemas, &Schema{}) - if err := m.Schemas[len(m.Schemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -14812,7 +20378,7 @@ func (m *GetSchemasResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetVSchemasResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14835,17 +20401,17 @@ func (m *GetShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetShardReplicationPositionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetVSchemasResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetShardReplicationPositionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field VSchemas", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -14855,59 +20421,80 @@ func (m *GetShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + m.VSchemas = append(m.VSchemas, &VSchema{}) + if err := m.VSchemas[len(m.VSchemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVtctldsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVtctldsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVtctldsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShards", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14935,7 +20522,7 @@ func (m *GetShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -14959,7 +20546,7 @@ func (m *GetShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetShardReplicationPositionsResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetVtctldsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14982,15 +20569,15 @@ func (m *GetShardReplicationPositionsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetShardReplicationPositionsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetVtctldsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetShardReplicationPositionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetVtctldsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPositions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Vtctlds", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15017,8 +20604,8 @@ func (m *GetShardReplicationPositionsResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ReplicationPositions = append(m.ReplicationPositions, &ClusterShardReplicationPosition{}) - if err := m.ReplicationPositions[len(m.ReplicationPositions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.Vtctlds = append(m.Vtctlds, &Vtctld{}) + if err := m.Vtctlds[len(m.Vtctlds)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15044,7 +20631,7 @@ func (m *GetShardReplicationPositionsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15067,10 +20654,10 @@ func (m *GetSrvKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetWorkflowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15139,7 +20726,7 @@ func (m *GetSrvKeyspaceRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15167,8 +20754,28 @@ func (m *GetSrvKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ActiveOnly = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -15191,7 +20798,7 @@ func (m *GetSrvKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetWorkflowStatusRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15214,15 +20821,15 @@ func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspacesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetWorkflowStatusRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetWorkflowStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15250,11 +20857,11 @@ func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15282,7 +20889,39 @@ func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15306,7 +20945,7 @@ func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { +func (m *StartWorkflowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15329,17 +20968,17 @@ func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspacesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: StartWorkflowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StartWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrvKeyspaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15349,128 +20988,87 @@ func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.SrvKeyspaces == nil { - m.SrvKeyspaces = make(map[string]*dev2.GetSrvKeyspacesResponse) + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var mapkey string - var mapvalue *dev2.GetSrvKeyspacesResponse - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &dev2.GetSrvKeyspacesResponse{} - if unmarshal, ok := interface{}(mapvalue).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { - return err - } - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break } } - m.SrvKeyspaces[mapkey] = mapvalue + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15494,7 +21092,7 @@ func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *StopWorkflowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15517,10 +21115,10 @@ func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvVSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StopWorkflowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15557,7 +21155,7 @@ func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15585,7 +21183,39 @@ func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cell = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15609,7 +21239,7 @@ func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15632,10 +21262,10 @@ func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvVSchemasRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetWorkflowsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetWorkflowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15671,8 +21301,28 @@ func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ActiveOnly = bool(v != 0) + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15700,7 +21350,39 @@ func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IgnoreKeyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IgnoreKeyspaces = append(m.IgnoreKeyspaces, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -15724,7 +21406,7 @@ func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetWorkflowsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15747,15 +21429,15 @@ func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvVSchemasResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetWorkflowsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetWorkflowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchemas", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowsByCluster", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15772,20 +21454,115 @@ func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { break } } - if msglen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SrvVSchemas = append(m.SrvVSchemas, &SrvVSchema{}) - if err := m.SrvVSchemas[len(m.SrvVSchemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowsByCluster == nil { + m.WorkflowsByCluster = make(map[string]*ClusterWorkflows) + } + var mapkey string + var mapvalue *ClusterWorkflows + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ClusterWorkflows{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.WorkflowsByCluster[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -15809,7 +21586,7 @@ func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemaTableSizeOptions) UnmarshalVT(dAtA []byte) error { +func (m *LaunchSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15832,37 +21609,17 @@ func (m *GetSchemaTableSizeOptions) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemaTableSizeOptions: wiretype end group for non-group") + return fmt.Errorf("proto: LaunchSchemaMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaTableSizeOptions: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LaunchSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregateSizes", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AggregateSizes = bool(v != 0) - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeNonServingShards", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -15872,66 +21629,27 @@ func (m *GetSchemaTableSizeOptions) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.IncludeNonServingShards = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTabletRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15958,53 +21676,21 @@ func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Alias == nil { - m.Alias = &dev1.TabletAlias{} + if m.Request == nil { + m.Request = &dev2.LaunchSchemaMigrationRequest{} } - if unmarshal, ok := interface{}(m.Alias).(interface { + if unmarshal, ok := interface{}(m.Request).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { return err } } iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -16027,7 +21713,7 @@ func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { +func (m *MaterializeCreateRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16050,15 +21736,15 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTabletsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: MaterializeCreateRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MaterializeCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16086,62 +21772,43 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSettings", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTabletsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.TableSettings = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tablets", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -16168,9 +21835,19 @@ func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tablets = append(m.Tablets, &Tablet{}) - if err := m.Tablets[len(m.Tablets)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.Request == nil { + m.Request = &dev2.MaterializeCreateRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } } iNdEx = postIndex default: @@ -16195,7 +21872,7 @@ func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { +func (m *MoveTablesCompleteRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16218,10 +21895,10 @@ func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTopologyPathRequest: wiretype end group for non-group") + return fmt.Errorf("proto: MoveTablesCompleteRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopologyPathRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MoveTablesCompleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16258,9 +21935,9 @@ func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16270,23 +21947,35 @@ func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Path = string(dAtA[iNdEx:postIndex]) + if m.Request == nil { + m.Request = &dev2.MoveTablesCompleteRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -16310,7 +21999,7 @@ func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *MoveTablesCreateRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16333,10 +22022,10 @@ func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetVSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: MoveTablesCreateRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MoveTablesCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16373,9 +22062,9 @@ func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16385,23 +22074,35 @@ func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + if m.Request == nil { + m.Request = &dev2.MoveTablesCreateRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -16425,7 +22126,7 @@ func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetVSchemasRequest) UnmarshalVT(dAtA []byte) error { +func (m *PingTabletRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16448,13 +22149,57 @@ func (m *GetVSchemasRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetVSchemasRequest: wiretype end group for non-group") + return fmt.Errorf("proto: PingTabletRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PingTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } @@ -16508,7 +22253,7 @@ func (m *GetVSchemasRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetVSchemasResponse) UnmarshalVT(dAtA []byte) error { +func (m *PingTabletResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16531,15 +22276,47 @@ func (m *GetVSchemasResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetVSchemasResponse: wiretype end group for non-group") + return fmt.Errorf("proto: PingTabletResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PingTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VSchemas", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -16566,8 +22343,10 @@ func (m *GetVSchemasResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.VSchemas = append(m.VSchemas, &VSchema{}) - if err := m.VSchemas[len(m.VSchemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + if m.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -16593,7 +22372,7 @@ func (m *GetVSchemasResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetVtctldsRequest) UnmarshalVT(dAtA []byte) error { +func (m *PlannedFailoverShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16616,15 +22395,15 @@ func (m *GetVtctldsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetVtctldsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: PlannedFailoverShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetVtctldsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PlannedFailoverShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16652,7 +22431,51 @@ func (m *GetVtctldsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &dev2.PlannedReparentShardRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -16676,7 +22499,7 @@ func (m *GetVtctldsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetVtctldsResponse) UnmarshalVT(dAtA []byte) error { +func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16699,15 +22522,15 @@ func (m *GetVtctldsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetVtctldsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: PlannedFailoverShardResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetVtctldsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PlannedFailoverShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vtctlds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -16734,65 +22557,16 @@ func (m *GetVtctldsResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Vtctlds = append(m.Vtctlds, &Vtctld{}) - if err := m.Vtctlds[len(m.Vtctlds)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.Cluster == nil { + m.Cluster = &Cluster{} } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetWorkflowRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16820,11 +22594,11 @@ func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16852,13 +22626,13 @@ func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Shard = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16868,29 +22642,41 @@ func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + if m.PromotedPrimary == nil { + m.PromotedPrimary = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { + return err + } + } iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActiveOnly", wireType) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -16900,12 +22686,34 @@ func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.ActiveOnly = bool(v != 0) + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Events = append(m.Events, &dev5.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -16928,7 +22736,7 @@ func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { +func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16951,15 +22759,15 @@ func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetWorkflowsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetWorkflowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16987,13 +22795,13 @@ func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActiveOnly", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17003,15 +22811,27 @@ func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.ActiveOnly = bool(v != 0) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17039,13 +22859,13 @@ func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IgnoreKeyspaces", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPartial", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17055,24 +22875,12 @@ func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IgnoreKeyspaces = append(m.IgnoreKeyspaces, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex + m.AllowPartial = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -17095,7 +22903,7 @@ func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetWorkflowsResponse) UnmarshalVT(dAtA []byte) error { +func (m *RebuildKeyspaceGraphResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17115,143 +22923,46 @@ func (m *GetWorkflowsResponse) UnmarshalVT(dAtA []byte) error { break } } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetWorkflowsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetWorkflowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkflowsByCluster", 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.WorkflowsByCluster == nil { - m.WorkflowsByCluster = make(map[string]*ClusterWorkflows) - } - var mapkey string - var mapvalue *ClusterWorkflows - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &ClusterWorkflows{} - if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break } } - m.WorkflowsByCluster[mapkey] = mapvalue + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -17275,7 +22986,7 @@ func (m *GetWorkflowsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PingTabletRequest) UnmarshalVT(dAtA []byte) error { +func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17298,10 +23009,10 @@ func (m *PingTabletRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PingTabletRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RefreshStateRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PingTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RefreshStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17402,7 +23113,7 @@ func (m *PingTabletRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PingTabletResponse) UnmarshalVT(dAtA []byte) error { +func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17425,10 +23136,10 @@ func (m *PingTabletResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PingTabletResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RefreshStateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PingTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RefreshStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17521,7 +23232,7 @@ func (m *PingTabletResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *PlannedFailoverShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17544,15 +23255,15 @@ func (m *PlannedFailoverShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PlannedFailoverShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReloadSchemasRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PlannedFailoverShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReloadSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17580,13 +23291,13 @@ func (m *PlannedFailoverShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShards", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17596,90 +23307,27 @@ func (m *PlannedFailoverShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Options == nil { - m.Options = &dev2.PlannedReparentShardRequest{} - } - if unmarshal, ok := interface{}(m.Options).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { - return err - } - } + m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PlannedFailoverShardResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PlannedFailoverShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tablets", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17706,16 +23354,22 @@ func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Tablets = append(m.Tablets, &dev1.TabletAlias{}) + if unmarshal, ok := interface{}(m.Tablets[len(m.Tablets)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablets[len(m.Tablets)-1]); err != nil { + return err + } } iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17743,11 +23397,30 @@ func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 3: + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17775,11 +23448,82 @@ func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) + m.WaitPosition = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludePrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludePrimary = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemasResponse_KeyspaceResult) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemasResponse_KeyspaceResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemasResponse_KeyspaceResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17806,22 +23550,14 @@ func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PromotedPrimary == nil { - m.PromotedPrimary = &dev1.TabletAlias{} + if m.Keyspace == nil { + m.Keyspace = &Keyspace{} } - if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { - return err - } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex - case 5: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } @@ -17885,7 +23621,7 @@ func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { +func (m *ReloadSchemasResponse_ShardResult) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17908,17 +23644,17 @@ func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReloadSchemasResponse_ShardResult: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReloadSchemasResponse_ShardResult: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17928,61 +23664,33 @@ func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + if m.Shard == nil { + m.Shard = &Shard{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -17992,44 +23700,34 @@ func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowPartial", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.Events = append(m.Events, &dev5.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err } } - m.AllowPartial = bool(v != 0) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -18052,7 +23750,7 @@ func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RebuildKeyspaceGraphResponse) UnmarshalVT(dAtA []byte) error { +func (m *ReloadSchemasResponse_TabletResult) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18075,15 +23773,51 @@ func (m *RebuildKeyspaceGraphResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ReloadSchemasResponse_TabletResult: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReloadSchemasResponse_TabletResult: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &Tablet{} + } + if err := m.Tablet.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18111,7 +23845,7 @@ func (m *RebuildKeyspaceGraphResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Status = string(dAtA[iNdEx:postIndex]) + m.Result = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -18135,7 +23869,7 @@ func (m *RebuildKeyspaceGraphResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { +func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18158,15 +23892,15 @@ func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RefreshStateRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReloadSchemasResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReloadSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceResults", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18188,114 +23922,21 @@ func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Alias == nil { - m.Alias = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.Alias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { - return err - } - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.KeyspaceResults = append(m.KeyspaceResults, &ReloadSchemasResponse_KeyspaceResult{}) + if err := m.KeyspaceResults[len(m.KeyspaceResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RefreshStateResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ShardResults", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -18305,27 +23946,29 @@ func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Status = string(dAtA[iNdEx:postIndex]) + m.ShardResults = append(m.ShardResults, &ReloadSchemasResponse_ShardResult{}) + if err := m.ShardResults[len(m.ShardResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletResults", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18352,10 +23995,8 @@ func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.TabletResults = append(m.TabletResults, &ReloadSchemasResponse_TabletResult{}) + if err := m.TabletResults[len(m.TabletResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -18381,7 +24022,7 @@ func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { +func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18404,15 +24045,15 @@ func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemasRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReloadSchemaShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReloadSchemaShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18440,11 +24081,11 @@ func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShards", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18472,53 +24113,11 @@ func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tablets", 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 - } - m.Tablets = append(m.Tablets, &dev1.TabletAlias{}) - if unmarshal, ok := interface{}(m.Tablets[len(m.Tablets)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablets[len(m.Tablets)-1]); err != nil { - return err - } - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18546,28 +24145,9 @@ func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.Shard = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) - } - m.Concurrency = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Concurrency |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) } @@ -18599,7 +24179,7 @@ func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { } m.WaitPosition = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 7: + case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field IncludePrimary", wireType) } @@ -18619,135 +24199,25 @@ func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { } } m.IncludePrimary = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReloadSchemasResponse_KeyspaceResult) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemasResponse_KeyspaceResult: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemasResponse_KeyspaceResult: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { - m.Keyspace = &Keyspace{} - } - if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) } - var msglen int + m.Concurrency = 0 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 - } - m.Events = append(m.Events, &dev5.Event{}) - if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -18770,7 +24240,7 @@ func (m *ReloadSchemasResponse_KeyspaceResult) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReloadSchemasResponse_ShardResult) UnmarshalVT(dAtA []byte) error { +func (m *ReloadSchemaShardResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18793,49 +24263,13 @@ func (m *ReloadSchemasResponse_ShardResult) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemasResponse_ShardResult: wiretype end group for non-group") + return fmt.Errorf("proto: ReloadSchemaShardResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemasResponse_ShardResult: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReloadSchemaShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { - m.Shard = &Shard{} - } - if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } @@ -18899,7 +24333,7 @@ func (m *ReloadSchemasResponse_ShardResult) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReloadSchemasResponse_TabletResult) UnmarshalVT(dAtA []byte) error { +func (m *RefreshTabletReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18922,15 +24356,15 @@ func (m *ReloadSchemasResponse_TabletResult) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemasResponse_TabletResult: wiretype end group for non-group") + return fmt.Errorf("proto: RefreshTabletReplicationSourceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemasResponse_TabletResult: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RefreshTabletReplicationSourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tablet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18957,16 +24391,24 @@ func (m *ReloadSchemasResponse_TabletResult) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Tablet == nil { - m.Tablet = &Tablet{} + if m.Alias == nil { + m.Alias = &dev1.TabletAlias{} } - if err := m.Tablet.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18994,7 +24436,7 @@ func (m *ReloadSchemasResponse_TabletResult) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Result = string(dAtA[iNdEx:postIndex]) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -19018,7 +24460,7 @@ func (m *ReloadSchemasResponse_TabletResult) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { +func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19041,17 +24483,17 @@ func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemasResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RefreshTabletReplicationSourceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RefreshTabletReplicationSourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceResults", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19061,29 +24503,59 @@ func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyspaceResults = append(m.KeyspaceResults, &ReloadSchemasResponse_KeyspaceResult{}) - if err := m.KeyspaceResults[len(m.KeyspaceResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardResults", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Primary", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19110,14 +24582,24 @@ func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ShardResults = append(m.ShardResults, &ReloadSchemasResponse_ShardResult{}) - if err := m.ShardResults[len(m.ShardResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.Primary == nil { + m.Primary = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Primary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Primary); err != nil { + return err + } } iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletResults", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19144,8 +24626,10 @@ func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.TabletResults = append(m.TabletResults, &ReloadSchemasResponse_TabletResult{}) - if err := m.TabletResults[len(m.TabletResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + if m.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -19171,7 +24655,7 @@ func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19194,10 +24678,10 @@ func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemaShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RemoveKeyspaceCellRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemaShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RemoveKeyspaceCellRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19266,7 +24750,7 @@ func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19294,11 +24778,102 @@ func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) + m.Cell = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Recursive = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveKeyspaceCellResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveKeyspaceCellResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveKeyspaceCellResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19326,47 +24901,8 @@ func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.WaitPosition = string(dAtA[iNdEx:postIndex]) + m.Status = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludePrimary", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IncludePrimary = bool(v != 0) - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) - } - m.Concurrency = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Concurrency |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -19389,7 +24925,7 @@ func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ReloadSchemaShardResponse) UnmarshalVT(dAtA []byte) error { +func (m *RetrySchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19412,15 +24948,47 @@ func (m *ReloadSchemaShardResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReloadSchemaShardResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RetrySchemaMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReloadSchemaShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RetrySchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19447,15 +25015,17 @@ func (m *ReloadSchemaShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Events = append(m.Events, &dev5.Event{}) - if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + if m.Request == nil { + m.Request = &dev2.RetrySchemaMigrationRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { return err } } @@ -19482,7 +25052,7 @@ func (m *ReloadSchemaShardResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RefreshTabletReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { +func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19505,10 +25075,10 @@ func (m *RefreshTabletReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RefreshTabletReplicationSourceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshTabletReplicationSourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19609,7 +25179,7 @@ func (m *RefreshTabletReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error { +func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19632,15 +25202,15 @@ func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RefreshTabletReplicationSourceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RefreshTabletReplicationSourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19668,13 +25238,13 @@ func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Status = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19684,29 +25254,84 @@ func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) + if m.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReshardCreateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReshardCreateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReshardCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Primary", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19716,39 +25341,27 @@ func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Primary == nil { - m.Primary = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.Primary).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Primary); err != nil { - return err - } - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19775,11 +25388,19 @@ func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} + if m.Request == nil { + m.Request = &dev2.ReshardCreateRequest{} } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } } iNdEx = postIndex default: @@ -19804,7 +25425,7 @@ func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error } return nil } -func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { +func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19827,49 +25448,17 @@ func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RemoveKeyspaceCellRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetReadOnlyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveKeyspaceCellRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetReadOnlyRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -19879,27 +25468,39 @@ func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + if m.Alias == nil { + m.Alias = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19927,48 +25528,8 @@ func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cell = string(dAtA[iNdEx:postIndex]) + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Force = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Recursive = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -19991,7 +25552,7 @@ func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RemoveKeyspaceCellResponse) UnmarshalVT(dAtA []byte) error { +func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20014,44 +25575,12 @@ func (m *RemoveKeyspaceCellResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RemoveKeyspaceCellResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetReadOnlyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveKeyspaceCellResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetReadOnlyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -20074,7 +25603,7 @@ func (m *RemoveKeyspaceCellResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { +func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20097,10 +25626,10 @@ func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetReadWriteRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetReadWriteRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20201,7 +25730,7 @@ func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { +func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20224,80 +25753,12 @@ func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetReadWriteResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetReadWriteResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -20320,7 +25781,7 @@ func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { +func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20343,10 +25804,10 @@ func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetReadOnlyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StartReplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadOnlyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StartReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20447,7 +25908,7 @@ func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { +func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20457,25 +25918,93 @@ func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { if shift >= 64 { return ErrIntOverflow } - if iNdEx >= l { + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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 } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Cluster == nil { + m.Cluster = &Cluster{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetReadOnlyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadOnlyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -20498,7 +26027,7 @@ func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { +func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20521,10 +26050,10 @@ func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetReadWriteRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StopReplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadWriteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20625,7 +26154,7 @@ func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { +func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20648,12 +26177,80 @@ func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetReadWriteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: StopReplicationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetReadWriteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StopReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -20676,7 +26273,7 @@ func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { +func (m *TabletExternallyPromotedRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20699,10 +26296,10 @@ func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StartReplicationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: TabletExternallyPromotedRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StartReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TabletExternallyPromotedRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20803,7 +26400,7 @@ func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { +func (m *TabletExternallyPromotedResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20826,15 +26423,51 @@ func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StartReplicationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: TabletExternallyPromotedResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StartReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TabletExternallyPromotedResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20862,11 +26495,43 @@ func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Status = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -20893,11 +26558,63 @@ func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cluster == nil { - m.Cluster = &Cluster{} + if m.NewPrimary == nil { + m.NewPrimary = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.NewPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OldPrimary", 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 err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.OldPrimary == nil { + m.OldPrimary = &dev1.TabletAlias{} + } + if unmarshal, ok := interface{}(m.OldPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.OldPrimary); err != nil { + return err + } } iNdEx = postIndex default: @@ -20922,7 +26639,7 @@ func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { +func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20945,10 +26662,10 @@ func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StopReplicationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: TabletExternallyReparentedRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TabletExternallyReparentedRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21049,7 +26766,7 @@ func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { +func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21072,15 +26789,15 @@ func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StopReplicationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StopReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21108,13 +26825,13 @@ func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Status = string(dAtA[iNdEx:postIndex]) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -21124,28 +26841,12 @@ func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= 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.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + m.PingTablets = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -21168,7 +26869,7 @@ func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *TabletExternallyPromotedRequest) UnmarshalVT(dAtA []byte) error { +func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21191,17 +26892,17 @@ func (m *TabletExternallyPromotedRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TabletExternallyPromotedRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TabletExternallyPromotedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -21211,39 +26912,27 @@ func (m *TabletExternallyPromotedRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Alias == nil { - m.Alias = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.Alias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { - return err - } - } + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21271,8 +26960,28 @@ func (m *TabletExternallyPromotedRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -21295,7 +27004,7 @@ func (m *TabletExternallyPromotedRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *TabletExternallyPromotedResponse) UnmarshalVT(dAtA []byte) error { +func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21318,51 +27027,15 @@ func (m *TabletExternallyPromotedResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TabletExternallyPromotedResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TabletExternallyPromotedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { - m.Cluster = &Cluster{} - } - if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21390,11 +27063,11 @@ func (m *TabletExternallyPromotedResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21422,95 +27095,7 @@ func (m *TabletExternallyPromotedResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", 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.NewPrimary == nil { - m.NewPrimary = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.NewPrimary).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { - return err - } - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OldPrimary", 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.OldPrimary == nil { - m.OldPrimary = &dev1.TabletAlias{} - } - if unmarshal, ok := interface{}(m.OldPrimary).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.OldPrimary); err != nil { - return err - } - } + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -21534,7 +27119,7 @@ func (m *TabletExternallyPromotedResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { +func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21557,17 +27142,17 @@ func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TabletExternallyReparentedRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TabletExternallyReparentedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -21577,39 +27162,59 @@ func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Alias == nil { - m.Alias = &dev1.TabletAlias{} + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - if unmarshal, ok := interface{}(m.Alias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21637,8 +27242,28 @@ func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + m.Shard = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -21661,7 +27286,7 @@ func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { +func (m *ValidateVersionKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21684,10 +27309,10 @@ func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21723,10 +27348,10 @@ func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { m.ClusterId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -21736,12 +27361,24 @@ func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.PingTablets = bool(v != 0) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -21764,7 +27401,7 @@ func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21787,10 +27424,10 @@ func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateVersionShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateVersionShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21858,10 +27495,10 @@ func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -21871,12 +27508,24 @@ func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.PingTablets = bool(v != 0) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -21899,7 +27548,7 @@ func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *VDiffCreateRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21922,10 +27571,10 @@ func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffCreateRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21962,9 +27611,9 @@ func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -21974,23 +27623,35 @@ func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + if m.Request == nil { + m.Request = &dev2.VDiffCreateRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -22014,7 +27675,7 @@ func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *VDiffShowRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22037,10 +27698,10 @@ func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffShowRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffShowRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -22077,9 +27738,9 @@ func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -22089,76 +27750,36 @@ func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + if m.Request == nil { + m.Request = &dev2.VDiffShowRequest{} } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Shard = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PingTablets = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -22181,7 +27802,7 @@ func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ValidateVersionKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *VDiffProgress) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22204,47 +27825,26 @@ func (m *ValidateVersionKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffProgress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffProgress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + case 1: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Percentage", wireType) } - if postIndex > l { + var v uint64 + if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Percentage = float64(math.Float64frombits(v)) case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Eta", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22272,7 +27872,7 @@ func (m *ValidateVersionKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Eta = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -22296,7 +27896,7 @@ func (m *ValidateVersionKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *VDiffShardReport) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22319,15 +27919,15 @@ func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateVersionShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: VDiffShardReport: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateVersionShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VDiffShardReport: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22355,11 +27955,50 @@ func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterId = string(dAtA[iNdEx:postIndex]) + m.State = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsCompared", wireType) + } + m.RowsCompared = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsCompared |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HasMismatch", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.HasMismatch = bool(v != 0) + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22387,11 +28026,11 @@ func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.StartedAt = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CompletedAt", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22419,7 +28058,223 @@ func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) + m.CompletedAt = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Progress", 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.Progress == nil { + m.Progress = &VDiffProgress{} + } + if err := m.Progress.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffShowResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffShowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffShowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardReport", 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.ShardReport == nil { + m.ShardReport = make(map[string]*VDiffShardReport) + } + var mapkey string + var mapvalue *VDiffShardReport + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &VDiffShardReport{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ShardReport[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex diff --git a/gen/vitess/vtadmin/dev/vtadmindevconnect/vtadmin.connect.go b/gen/vitess/vtadmin/dev/vtadmindevconnect/vtadmin.connect.go index f39c6c3..925535c 100644 --- a/gen/vitess/vtadmin/dev/vtadmindevconnect/vtadmin.connect.go +++ b/gen/vitess/vtadmin/dev/vtadmindevconnect/vtadmin.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VTAdminName is the fully-qualified name of the VTAdmin service. @@ -50,6 +50,20 @@ const ( // reflection-formatted method names, remove the leading slash and convert the remaining slash to a // period. const ( + // VTAdminApplySchemaProcedure is the fully-qualified name of the VTAdmin's ApplySchema RPC. + VTAdminApplySchemaProcedure = "/vtadmin.VTAdmin/ApplySchema" + // VTAdminCancelSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // CancelSchemaMigration RPC. + VTAdminCancelSchemaMigrationProcedure = "/vtadmin.VTAdmin/CancelSchemaMigration" + // VTAdminCleanupSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // CleanupSchemaMigration RPC. + VTAdminCleanupSchemaMigrationProcedure = "/vtadmin.VTAdmin/CleanupSchemaMigration" + // VTAdminCompleteSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // CompleteSchemaMigration RPC. + VTAdminCompleteSchemaMigrationProcedure = "/vtadmin.VTAdmin/CompleteSchemaMigration" + // VTAdminConcludeTransactionProcedure is the fully-qualified name of the VTAdmin's + // ConcludeTransaction RPC. + VTAdminConcludeTransactionProcedure = "/vtadmin.VTAdmin/ConcludeTransaction" // VTAdminCreateKeyspaceProcedure is the fully-qualified name of the VTAdmin's CreateKeyspace RPC. VTAdminCreateKeyspaceProcedure = "/vtadmin.VTAdmin/CreateKeyspace" // VTAdminCreateShardProcedure is the fully-qualified name of the VTAdmin's CreateShard RPC. @@ -85,6 +99,9 @@ const ( VTAdminGetSchemaProcedure = "/vtadmin.VTAdmin/GetSchema" // VTAdminGetSchemasProcedure is the fully-qualified name of the VTAdmin's GetSchemas RPC. VTAdminGetSchemasProcedure = "/vtadmin.VTAdmin/GetSchemas" + // VTAdminGetSchemaMigrationsProcedure is the fully-qualified name of the VTAdmin's + // GetSchemaMigrations RPC. + VTAdminGetSchemaMigrationsProcedure = "/vtadmin.VTAdmin/GetSchemaMigrations" // VTAdminGetShardReplicationPositionsProcedure is the fully-qualified name of the VTAdmin's // GetShardReplicationPositions RPC. VTAdminGetShardReplicationPositionsProcedure = "/vtadmin.VTAdmin/GetShardReplicationPositions" @@ -102,6 +119,12 @@ const ( VTAdminGetTabletsProcedure = "/vtadmin.VTAdmin/GetTablets" // VTAdminGetTopologyPathProcedure is the fully-qualified name of the VTAdmin's GetTopologyPath RPC. VTAdminGetTopologyPathProcedure = "/vtadmin.VTAdmin/GetTopologyPath" + // VTAdminGetTransactionInfoProcedure is the fully-qualified name of the VTAdmin's + // GetTransactionInfo RPC. + VTAdminGetTransactionInfoProcedure = "/vtadmin.VTAdmin/GetTransactionInfo" + // VTAdminGetUnresolvedTransactionsProcedure is the fully-qualified name of the VTAdmin's + // GetUnresolvedTransactions RPC. + VTAdminGetUnresolvedTransactionsProcedure = "/vtadmin.VTAdmin/GetUnresolvedTransactions" // VTAdminGetVSchemaProcedure is the fully-qualified name of the VTAdmin's GetVSchema RPC. VTAdminGetVSchemaProcedure = "/vtadmin.VTAdmin/GetVSchema" // VTAdminGetVSchemasProcedure is the fully-qualified name of the VTAdmin's GetVSchemas RPC. @@ -112,6 +135,25 @@ const ( VTAdminGetWorkflowProcedure = "/vtadmin.VTAdmin/GetWorkflow" // VTAdminGetWorkflowsProcedure is the fully-qualified name of the VTAdmin's GetWorkflows RPC. VTAdminGetWorkflowsProcedure = "/vtadmin.VTAdmin/GetWorkflows" + // VTAdminGetWorkflowStatusProcedure is the fully-qualified name of the VTAdmin's GetWorkflowStatus + // RPC. + VTAdminGetWorkflowStatusProcedure = "/vtadmin.VTAdmin/GetWorkflowStatus" + // VTAdminStartWorkflowProcedure is the fully-qualified name of the VTAdmin's StartWorkflow RPC. + VTAdminStartWorkflowProcedure = "/vtadmin.VTAdmin/StartWorkflow" + // VTAdminStopWorkflowProcedure is the fully-qualified name of the VTAdmin's StopWorkflow RPC. + VTAdminStopWorkflowProcedure = "/vtadmin.VTAdmin/StopWorkflow" + // VTAdminLaunchSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // LaunchSchemaMigration RPC. + VTAdminLaunchSchemaMigrationProcedure = "/vtadmin.VTAdmin/LaunchSchemaMigration" + // VTAdminMoveTablesCompleteProcedure is the fully-qualified name of the VTAdmin's + // MoveTablesComplete RPC. + VTAdminMoveTablesCompleteProcedure = "/vtadmin.VTAdmin/MoveTablesComplete" + // VTAdminMoveTablesCreateProcedure is the fully-qualified name of the VTAdmin's MoveTablesCreate + // RPC. + VTAdminMoveTablesCreateProcedure = "/vtadmin.VTAdmin/MoveTablesCreate" + // VTAdminMaterializeCreateProcedure is the fully-qualified name of the VTAdmin's MaterializeCreate + // RPC. + VTAdminMaterializeCreateProcedure = "/vtadmin.VTAdmin/MaterializeCreate" // VTAdminPingTabletProcedure is the fully-qualified name of the VTAdmin's PingTablet RPC. VTAdminPingTabletProcedure = "/vtadmin.VTAdmin/PingTablet" // VTAdminPlannedFailoverShardProcedure is the fully-qualified name of the VTAdmin's @@ -133,8 +175,13 @@ const ( // VTAdminRemoveKeyspaceCellProcedure is the fully-qualified name of the VTAdmin's // RemoveKeyspaceCell RPC. VTAdminRemoveKeyspaceCellProcedure = "/vtadmin.VTAdmin/RemoveKeyspaceCell" + // VTAdminRetrySchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // RetrySchemaMigration RPC. + VTAdminRetrySchemaMigrationProcedure = "/vtadmin.VTAdmin/RetrySchemaMigration" // VTAdminRunHealthCheckProcedure is the fully-qualified name of the VTAdmin's RunHealthCheck RPC. VTAdminRunHealthCheckProcedure = "/vtadmin.VTAdmin/RunHealthCheck" + // VTAdminReshardCreateProcedure is the fully-qualified name of the VTAdmin's ReshardCreate RPC. + VTAdminReshardCreateProcedure = "/vtadmin.VTAdmin/ReshardCreate" // VTAdminSetReadOnlyProcedure is the fully-qualified name of the VTAdmin's SetReadOnly RPC. VTAdminSetReadOnlyProcedure = "/vtadmin.VTAdmin/SetReadOnly" // VTAdminSetReadWriteProcedure is the fully-qualified name of the VTAdmin's SetReadWrite RPC. @@ -163,12 +210,111 @@ const ( // VTAdminValidateVersionShardProcedure is the fully-qualified name of the VTAdmin's // ValidateVersionShard RPC. VTAdminValidateVersionShardProcedure = "/vtadmin.VTAdmin/ValidateVersionShard" + // VTAdminVDiffCreateProcedure is the fully-qualified name of the VTAdmin's VDiffCreate RPC. + VTAdminVDiffCreateProcedure = "/vtadmin.VTAdmin/VDiffCreate" + // VTAdminVDiffShowProcedure is the fully-qualified name of the VTAdmin's VDiffShow RPC. + VTAdminVDiffShowProcedure = "/vtadmin.VTAdmin/VDiffShow" // VTAdminVTExplainProcedure is the fully-qualified name of the VTAdmin's VTExplain RPC. VTAdminVTExplainProcedure = "/vtadmin.VTAdmin/VTExplain" + // VTAdminWorkflowDeleteProcedure is the fully-qualified name of the VTAdmin's WorkflowDelete RPC. + VTAdminWorkflowDeleteProcedure = "/vtadmin.VTAdmin/WorkflowDelete" + // VTAdminWorkflowSwitchTrafficProcedure is the fully-qualified name of the VTAdmin's + // WorkflowSwitchTraffic RPC. + VTAdminWorkflowSwitchTrafficProcedure = "/vtadmin.VTAdmin/WorkflowSwitchTraffic" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vTAdminServiceDescriptor = dev.File_vitess_vtadmin_dev_vtadmin_proto.Services().ByName("VTAdmin") + vTAdminApplySchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ApplySchema") + vTAdminCancelSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CancelSchemaMigration") + vTAdminCleanupSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CleanupSchemaMigration") + vTAdminCompleteSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CompleteSchemaMigration") + vTAdminConcludeTransactionMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ConcludeTransaction") + vTAdminCreateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateKeyspace") + vTAdminCreateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateShard") + vTAdminDeleteKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteKeyspace") + vTAdminDeleteShardsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteShards") + vTAdminDeleteTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteTablet") + vTAdminEmergencyFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("EmergencyFailoverShard") + vTAdminFindSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("FindSchema") + vTAdminGetBackupsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetBackups") + vTAdminGetCellInfosMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellInfos") + vTAdminGetCellsAliasesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellsAliases") + vTAdminGetClustersMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetClusters") + vTAdminGetFullStatusMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetFullStatus") + vTAdminGetGatesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetGates") + vTAdminGetKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspace") + vTAdminGetKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspaces") + vTAdminGetSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchema") + vTAdminGetSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchemas") + vTAdminGetSchemaMigrationsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchemaMigrations") + vTAdminGetShardReplicationPositionsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetShardReplicationPositions") + vTAdminGetSrvKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspace") + vTAdminGetSrvKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vTAdminGetSrvVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchema") + vTAdminGetSrvVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vTAdminGetTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablet") + vTAdminGetTabletsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablets") + vTAdminGetTopologyPathMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTopologyPath") + vTAdminGetTransactionInfoMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTransactionInfo") + vTAdminGetUnresolvedTransactionsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetUnresolvedTransactions") + vTAdminGetVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchema") + vTAdminGetVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchemas") + vTAdminGetVtctldsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVtctlds") + vTAdminGetWorkflowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflow") + vTAdminGetWorkflowsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflows") + vTAdminGetWorkflowStatusMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflowStatus") + vTAdminStartWorkflowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StartWorkflow") + vTAdminStopWorkflowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StopWorkflow") + vTAdminLaunchSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("LaunchSchemaMigration") + vTAdminMoveTablesCompleteMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("MoveTablesComplete") + vTAdminMoveTablesCreateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("MoveTablesCreate") + vTAdminMaterializeCreateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("MaterializeCreate") + vTAdminPingTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PingTablet") + vTAdminPlannedFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PlannedFailoverShard") + vTAdminRebuildKeyspaceGraphMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vTAdminRefreshStateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshState") + vTAdminRefreshTabletReplicationSourceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshTabletReplicationSource") + vTAdminReloadSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemas") + vTAdminReloadSchemaShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vTAdminRemoveKeyspaceCellMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vTAdminRetrySchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RetrySchemaMigration") + vTAdminRunHealthCheckMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RunHealthCheck") + vTAdminReshardCreateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReshardCreate") + vTAdminSetReadOnlyMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadOnly") + vTAdminSetReadWriteMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadWrite") + vTAdminStartReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StartReplication") + vTAdminStopReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StopReplication") + vTAdminTabletExternallyPromotedMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("TabletExternallyPromoted") + vTAdminValidateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("Validate") + vTAdminValidateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateKeyspace") + vTAdminValidateSchemaKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vTAdminValidateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateShard") + vTAdminValidateVersionKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vTAdminValidateVersionShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionShard") + vTAdminVDiffCreateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("VDiffCreate") + vTAdminVDiffShowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("VDiffShow") + vTAdminVTExplainMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("VTExplain") + vTAdminWorkflowDeleteMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("WorkflowDelete") + vTAdminWorkflowSwitchTrafficMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("WorkflowSwitchTraffic") ) // VTAdminClient is a client for the vtadmin.VTAdmin service. type VTAdminClient interface { + // ApplySchema applies a schema to a keyspace in the given cluster. + ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) + // CancelSchemaMigration cancels one or all schema migrations in the given + // cluster, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) + // CleanupSchemaMigration marks a schema migration in the given cluster as + // ready for artifact cleanup. + CleanupSchemaMigration(context.Context, *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations in the given + // cluster executed with --postpone-completion. + CompleteSchemaMigration(context.Context, *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) + // ConcludeTransaction concludes a distributed transaction identified by the provided dtid. + ConcludeTransaction(context.Context, *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) // CreateKeyspace creates a new keyspace in the given cluster. CreateKeyspace(context.Context, *connect.Request[dev.CreateKeyspaceRequest]) (*connect.Response[dev.CreateKeyspaceResponse], error) // CreateShard creates a new shard in the given cluster and keyspace. @@ -213,6 +359,13 @@ type VTAdminClient interface { GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.Schema], error) // GetSchemas returns all schemas across the specified clusters. GetSchemas(context.Context, *connect.Request[dev.GetSchemasRequest]) (*connect.Response[dev.GetSchemasResponse], error) + // GetSchemaMigrations returns one or more online schema migrations for the + // set of keyspaces (or all keyspaces) in the given clusters, analagous to + // repeated executions of `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different behaviors. + // See the documentation on vtctldata.GetSchemaMigrationsRequest for details. + GetSchemaMigrations(context.Context, *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) // GetShardReplicationPositions returns shard replication positions grouped // by cluster. GetShardReplicationPositions(context.Context, *connect.Request[dev.GetShardReplicationPositionsRequest]) (*connect.Response[dev.GetShardReplicationPositionsResponse], error) @@ -232,6 +385,10 @@ type VTAdminClient interface { GetTablets(context.Context, *connect.Request[dev.GetTabletsRequest]) (*connect.Response[dev.GetTabletsResponse], error) // GetTopologyPath returns the cell located at the specified path in the topology server. GetTopologyPath(context.Context, *connect.Request[dev.GetTopologyPathRequest]) (*connect.Response[dev1.GetTopologyPathResponse], error) + // GetTransactionInfo returns the information about a single transaction. + GetTransactionInfo(context.Context, *connect.Request[dev.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) + // GetUnresolvedTransactions returns the unresolved transactions for the request. + GetUnresolvedTransactions(context.Context, *connect.Request[dev.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) // GetVSchema returns a VSchema for the specified keyspace in the specified // cluster. GetVSchema(context.Context, *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.VSchema], error) @@ -244,6 +401,24 @@ type VTAdminClient interface { GetWorkflow(context.Context, *connect.Request[dev.GetWorkflowRequest]) (*connect.Response[dev.Workflow], error) // GetWorkflows returns the Workflows for all specified clusters. GetWorkflows(context.Context, *connect.Request[dev.GetWorkflowsRequest]) (*connect.Response[dev.GetWorkflowsResponse], error) + // GetWorkflowStatus returns the status for a specific workflow. + GetWorkflowStatus(context.Context, *connect.Request[dev.GetWorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) + // StartWorkflow starts a vreplication workflow. + StartWorkflow(context.Context, *connect.Request[dev.StartWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) + // StopWorkflow stops a vreplication workflow. + StopWorkflow(context.Context, *connect.Request[dev.StopWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) + // LaunchSchemaMigration launches one or all migrations in the given + // cluster executed with --postpone-launch. + LaunchSchemaMigration(context.Context, *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) + // MoveTablesComplete completes the move and cleans up the workflow and + // its related artifacts. + MoveTablesComplete(context.Context, *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) + // MoveTablesCreate creates a workflow which moves one or more tables from a + // source keyspace to a target keyspace. + MoveTablesCreate(context.Context, *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) + // MaterializeCreate creates a workflow to materialize one or more tables + // from a source keyspace to a target keyspace using a provided expressions. + MaterializeCreate(context.Context, *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) // PingTablet checks that the specified tablet is awake and responding to // RPCs. This command can be blocked by other in-flight operations. PingTablet(context.Context, *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) @@ -270,8 +445,13 @@ type VTAdminClient interface { ReloadSchemaShard(context.Context, *connect.Request[dev.ReloadSchemaShardRequest]) (*connect.Response[dev.ReloadSchemaShardResponse], error) // RemoveKeyspaceCell removes the cell from the Cells list for all shards in the keyspace, and the SrvKeyspace for that keyspace in that cell. RemoveKeyspaceCell(context.Context, *connect.Request[dev.RemoveKeyspaceCellRequest]) (*connect.Response[dev.RemoveKeyspaceCellResponse], error) + // RetrySchemaMigration marks a given schema migration in the given cluster + // for retry. + RetrySchemaMigration(context.Context, *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) // RunHealthCheck runs a healthcheck on the tablet. RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) + // ReshardCreate creates a workflow to reshard a keyspace. + ReshardCreate(context.Context, *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // SetReadOnly sets the tablet to read-only mode. SetReadOnly(context.Context, *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) // SetReadWrite sets the tablet to read-write mode. @@ -309,9 +489,15 @@ type VTAdminClient interface { ValidateVersionKeyspace(context.Context, *connect.Request[dev.ValidateVersionKeyspaceRequest]) (*connect.Response[dev1.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. ValidateVersionShard(context.Context, *connect.Request[dev.ValidateVersionShardRequest]) (*connect.Response[dev1.ValidateVersionShardResponse], error) + VDiffCreate(context.Context, *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) + VDiffShow(context.Context, *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) // VTExplain provides information on how Vitess plans to execute a // particular query. VTExplain(context.Context, *connect.Request[dev.VTExplainRequest]) (*connect.Response[dev.VTExplainResponse], error) + // WorkflowDelete deletes a vreplication workflow. + WorkflowDelete(context.Context, *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) + // WorkflowSwitchTraffic switches traffic for a VReplication workflow. + WorkflowSwitchTraffic(context.Context, *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) } // NewVTAdminClient constructs a client for the vtadmin.VTAdmin service. By default, it @@ -324,266 +510,448 @@ type VTAdminClient interface { func NewVTAdminClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VTAdminClient { baseURL = strings.TrimRight(baseURL, "/") return &vTAdminClient{ + applySchema: connect.NewClient[dev.ApplySchemaRequest, dev1.ApplySchemaResponse]( + httpClient, + baseURL+VTAdminApplySchemaProcedure, + connect.WithSchema(vTAdminApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + cancelSchemaMigration: connect.NewClient[dev.CancelSchemaMigrationRequest, dev1.CancelSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminCancelSchemaMigrationProcedure, + connect.WithSchema(vTAdminCancelSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + cleanupSchemaMigration: connect.NewClient[dev.CleanupSchemaMigrationRequest, dev1.CleanupSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminCleanupSchemaMigrationProcedure, + connect.WithSchema(vTAdminCleanupSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + completeSchemaMigration: connect.NewClient[dev.CompleteSchemaMigrationRequest, dev1.CompleteSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminCompleteSchemaMigrationProcedure, + connect.WithSchema(vTAdminCompleteSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + concludeTransaction: connect.NewClient[dev.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse]( + httpClient, + baseURL+VTAdminConcludeTransactionProcedure, + connect.WithSchema(vTAdminConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), + ), createKeyspace: connect.NewClient[dev.CreateKeyspaceRequest, dev.CreateKeyspaceResponse]( httpClient, baseURL+VTAdminCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), createShard: connect.NewClient[dev.CreateShardRequest, dev1.CreateShardResponse]( httpClient, baseURL+VTAdminCreateShardProcedure, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteKeyspace: connect.NewClient[dev.DeleteKeyspaceRequest, dev1.DeleteKeyspaceResponse]( httpClient, baseURL+VTAdminDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteShards: connect.NewClient[dev.DeleteShardsRequest, dev1.DeleteShardsResponse]( httpClient, baseURL+VTAdminDeleteShardsProcedure, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteTablet: connect.NewClient[dev.DeleteTabletRequest, dev.DeleteTabletResponse]( httpClient, baseURL+VTAdminDeleteTabletProcedure, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), emergencyFailoverShard: connect.NewClient[dev.EmergencyFailoverShardRequest, dev.EmergencyFailoverShardResponse]( httpClient, baseURL+VTAdminEmergencyFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), findSchema: connect.NewClient[dev.FindSchemaRequest, dev.Schema]( httpClient, baseURL+VTAdminFindSchemaProcedure, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getBackups: connect.NewClient[dev.GetBackupsRequest, dev.GetBackupsResponse]( httpClient, baseURL+VTAdminGetBackupsProcedure, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellInfos: connect.NewClient[dev.GetCellInfosRequest, dev.GetCellInfosResponse]( httpClient, baseURL+VTAdminGetCellInfosProcedure, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellsAliases: connect.NewClient[dev.GetCellsAliasesRequest, dev.GetCellsAliasesResponse]( httpClient, baseURL+VTAdminGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), getClusters: connect.NewClient[dev.GetClustersRequest, dev.GetClustersResponse]( httpClient, baseURL+VTAdminGetClustersProcedure, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithClientOptions(opts...), ), getFullStatus: connect.NewClient[dev.GetFullStatusRequest, dev1.GetFullStatusResponse]( httpClient, baseURL+VTAdminGetFullStatusProcedure, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), getGates: connect.NewClient[dev.GetGatesRequest, dev.GetGatesResponse]( httpClient, baseURL+VTAdminGetGatesProcedure, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspace: connect.NewClient[dev.GetKeyspaceRequest, dev.Keyspace]( httpClient, baseURL+VTAdminGetKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspaces: connect.NewClient[dev.GetKeyspacesRequest, dev.GetKeyspacesResponse]( httpClient, baseURL+VTAdminGetKeyspacesProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchema: connect.NewClient[dev.GetSchemaRequest, dev.Schema]( httpClient, baseURL+VTAdminGetSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchemas: connect.NewClient[dev.GetSchemasRequest, dev.GetSchemasResponse]( httpClient, baseURL+VTAdminGetSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchemaMigrations: connect.NewClient[dev.GetSchemaMigrationsRequest, dev.GetSchemaMigrationsResponse]( + httpClient, + baseURL+VTAdminGetSchemaMigrationsProcedure, + connect.WithSchema(vTAdminGetSchemaMigrationsMethodDescriptor), + connect.WithClientOptions(opts...), ), getShardReplicationPositions: connect.NewClient[dev.GetShardReplicationPositionsRequest, dev.GetShardReplicationPositionsResponse]( httpClient, baseURL+VTAdminGetShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvKeyspace: connect.NewClient[dev.GetSrvKeyspaceRequest, dev1.GetSrvKeyspacesResponse]( httpClient, baseURL+VTAdminGetSrvKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvKeyspaces: connect.NewClient[dev.GetSrvKeyspacesRequest, dev.GetSrvKeyspacesResponse]( httpClient, baseURL+VTAdminGetSrvKeyspacesProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchema: connect.NewClient[dev.GetSrvVSchemaRequest, dev.SrvVSchema]( httpClient, baseURL+VTAdminGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchemas: connect.NewClient[dev.GetSrvVSchemasRequest, dev.GetSrvVSchemasResponse]( httpClient, baseURL+VTAdminGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablet: connect.NewClient[dev.GetTabletRequest, dev.Tablet]( httpClient, baseURL+VTAdminGetTabletProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablets: connect.NewClient[dev.GetTabletsRequest, dev.GetTabletsResponse]( httpClient, baseURL+VTAdminGetTabletsProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), getTopologyPath: connect.NewClient[dev.GetTopologyPathRequest, dev1.GetTopologyPathResponse]( httpClient, baseURL+VTAdminGetTopologyPathProcedure, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTransactionInfo: connect.NewClient[dev.GetTransactionInfoRequest, dev1.GetTransactionInfoResponse]( + httpClient, + baseURL+VTAdminGetTransactionInfoProcedure, + connect.WithSchema(vTAdminGetTransactionInfoMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getUnresolvedTransactions: connect.NewClient[dev.GetUnresolvedTransactionsRequest, dev1.GetUnresolvedTransactionsResponse]( + httpClient, + baseURL+VTAdminGetUnresolvedTransactionsProcedure, + connect.WithSchema(vTAdminGetUnresolvedTransactionsMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchema: connect.NewClient[dev.GetVSchemaRequest, dev.VSchema]( httpClient, baseURL+VTAdminGetVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchemas: connect.NewClient[dev.GetVSchemasRequest, dev.GetVSchemasResponse]( httpClient, baseURL+VTAdminGetVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getVtctlds: connect.NewClient[dev.GetVtctldsRequest, dev.GetVtctldsResponse]( httpClient, baseURL+VTAdminGetVtctldsProcedure, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflow: connect.NewClient[dev.GetWorkflowRequest, dev.Workflow]( httpClient, baseURL+VTAdminGetWorkflowProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflows: connect.NewClient[dev.GetWorkflowsRequest, dev.GetWorkflowsResponse]( httpClient, baseURL+VTAdminGetWorkflowsProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getWorkflowStatus: connect.NewClient[dev.GetWorkflowStatusRequest, dev1.WorkflowStatusResponse]( + httpClient, + baseURL+VTAdminGetWorkflowStatusProcedure, + connect.WithSchema(vTAdminGetWorkflowStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + startWorkflow: connect.NewClient[dev.StartWorkflowRequest, dev1.WorkflowUpdateResponse]( + httpClient, + baseURL+VTAdminStartWorkflowProcedure, + connect.WithSchema(vTAdminStartWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + stopWorkflow: connect.NewClient[dev.StopWorkflowRequest, dev1.WorkflowUpdateResponse]( + httpClient, + baseURL+VTAdminStopWorkflowProcedure, + connect.WithSchema(vTAdminStopWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + launchSchemaMigration: connect.NewClient[dev.LaunchSchemaMigrationRequest, dev1.LaunchSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminLaunchSchemaMigrationProcedure, + connect.WithSchema(vTAdminLaunchSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + moveTablesComplete: connect.NewClient[dev.MoveTablesCompleteRequest, dev1.MoveTablesCompleteResponse]( + httpClient, + baseURL+VTAdminMoveTablesCompleteProcedure, + connect.WithSchema(vTAdminMoveTablesCompleteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + moveTablesCreate: connect.NewClient[dev.MoveTablesCreateRequest, dev1.WorkflowStatusResponse]( + httpClient, + baseURL+VTAdminMoveTablesCreateProcedure, + connect.WithSchema(vTAdminMoveTablesCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + materializeCreate: connect.NewClient[dev.MaterializeCreateRequest, dev1.MaterializeCreateResponse]( + httpClient, + baseURL+VTAdminMaterializeCreateProcedure, + connect.WithSchema(vTAdminMaterializeCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), pingTablet: connect.NewClient[dev.PingTabletRequest, dev.PingTabletResponse]( httpClient, baseURL+VTAdminPingTabletProcedure, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), plannedFailoverShard: connect.NewClient[dev.PlannedFailoverShardRequest, dev.PlannedFailoverShardResponse]( httpClient, baseURL+VTAdminPlannedFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), rebuildKeyspaceGraph: connect.NewClient[dev.RebuildKeyspaceGraphRequest, dev.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VTAdminRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshState: connect.NewClient[dev.RefreshStateRequest, dev.RefreshStateResponse]( httpClient, baseURL+VTAdminRefreshStateProcedure, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshTabletReplicationSource: connect.NewClient[dev.RefreshTabletReplicationSourceRequest, dev.RefreshTabletReplicationSourceResponse]( httpClient, baseURL+VTAdminRefreshTabletReplicationSourceProcedure, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemas: connect.NewClient[dev.ReloadSchemasRequest, dev.ReloadSchemasResponse]( httpClient, baseURL+VTAdminReloadSchemasProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemaShard: connect.NewClient[dev.ReloadSchemaShardRequest, dev.ReloadSchemaShardResponse]( httpClient, baseURL+VTAdminReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), removeKeyspaceCell: connect.NewClient[dev.RemoveKeyspaceCellRequest, dev.RemoveKeyspaceCellResponse]( httpClient, baseURL+VTAdminRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), + ), + retrySchemaMigration: connect.NewClient[dev.RetrySchemaMigrationRequest, dev1.RetrySchemaMigrationResponse]( + httpClient, + baseURL+VTAdminRetrySchemaMigrationProcedure, + connect.WithSchema(vTAdminRetrySchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), runHealthCheck: connect.NewClient[dev.RunHealthCheckRequest, dev.RunHealthCheckResponse]( httpClient, baseURL+VTAdminRunHealthCheckProcedure, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reshardCreate: connect.NewClient[dev.ReshardCreateRequest, dev1.WorkflowStatusResponse]( + httpClient, + baseURL+VTAdminReshardCreateProcedure, + connect.WithSchema(vTAdminReshardCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadOnly: connect.NewClient[dev.SetReadOnlyRequest, dev.SetReadOnlyResponse]( httpClient, baseURL+VTAdminSetReadOnlyProcedure, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadWrite: connect.NewClient[dev.SetReadWriteRequest, dev.SetReadWriteResponse]( httpClient, baseURL+VTAdminSetReadWriteProcedure, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), ), startReplication: connect.NewClient[dev.StartReplicationRequest, dev.StartReplicationResponse]( httpClient, baseURL+VTAdminStartReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), stopReplication: connect.NewClient[dev.StopReplicationRequest, dev.StopReplicationResponse]( httpClient, baseURL+VTAdminStopReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), tabletExternallyPromoted: connect.NewClient[dev.TabletExternallyPromotedRequest, dev.TabletExternallyPromotedResponse]( httpClient, baseURL+VTAdminTabletExternallyPromotedProcedure, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), validate: connect.NewClient[dev.ValidateRequest, dev1.ValidateResponse]( httpClient, baseURL+VTAdminValidateProcedure, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), validateKeyspace: connect.NewClient[dev.ValidateKeyspaceRequest, dev1.ValidateKeyspaceResponse]( httpClient, baseURL+VTAdminValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateSchemaKeyspace: connect.NewClient[dev.ValidateSchemaKeyspaceRequest, dev1.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VTAdminValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateShard: connect.NewClient[dev.ValidateShardRequest, dev1.ValidateShardResponse]( httpClient, baseURL+VTAdminValidateShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionKeyspace: connect.NewClient[dev.ValidateVersionKeyspaceRequest, dev1.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VTAdminValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionShard: connect.NewClient[dev.ValidateVersionShardRequest, dev1.ValidateVersionShardResponse]( httpClient, baseURL+VTAdminValidateVersionShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiffCreate: connect.NewClient[dev.VDiffCreateRequest, dev1.VDiffCreateResponse]( + httpClient, + baseURL+VTAdminVDiffCreateProcedure, + connect.WithSchema(vTAdminVDiffCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiffShow: connect.NewClient[dev.VDiffShowRequest, dev.VDiffShowResponse]( + httpClient, + baseURL+VTAdminVDiffShowProcedure, + connect.WithSchema(vTAdminVDiffShowMethodDescriptor), + connect.WithClientOptions(opts...), ), vTExplain: connect.NewClient[dev.VTExplainRequest, dev.VTExplainResponse]( httpClient, baseURL+VTAdminVTExplainProcedure, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithClientOptions(opts...), + ), + workflowDelete: connect.NewClient[dev.WorkflowDeleteRequest, dev1.WorkflowDeleteResponse]( + httpClient, + baseURL+VTAdminWorkflowDeleteProcedure, + connect.WithSchema(vTAdminWorkflowDeleteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + workflowSwitchTraffic: connect.NewClient[dev.WorkflowSwitchTrafficRequest, dev1.WorkflowSwitchTrafficResponse]( + httpClient, + baseURL+VTAdminWorkflowSwitchTrafficProcedure, + connect.WithSchema(vTAdminWorkflowSwitchTrafficMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vTAdminClient implements VTAdminClient. type vTAdminClient struct { + applySchema *connect.Client[dev.ApplySchemaRequest, dev1.ApplySchemaResponse] + cancelSchemaMigration *connect.Client[dev.CancelSchemaMigrationRequest, dev1.CancelSchemaMigrationResponse] + cleanupSchemaMigration *connect.Client[dev.CleanupSchemaMigrationRequest, dev1.CleanupSchemaMigrationResponse] + completeSchemaMigration *connect.Client[dev.CompleteSchemaMigrationRequest, dev1.CompleteSchemaMigrationResponse] + concludeTransaction *connect.Client[dev.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse] createKeyspace *connect.Client[dev.CreateKeyspaceRequest, dev.CreateKeyspaceResponse] createShard *connect.Client[dev.CreateShardRequest, dev1.CreateShardResponse] deleteKeyspace *connect.Client[dev.DeleteKeyspaceRequest, dev1.DeleteKeyspaceResponse] @@ -601,6 +969,7 @@ type vTAdminClient struct { getKeyspaces *connect.Client[dev.GetKeyspacesRequest, dev.GetKeyspacesResponse] getSchema *connect.Client[dev.GetSchemaRequest, dev.Schema] getSchemas *connect.Client[dev.GetSchemasRequest, dev.GetSchemasResponse] + getSchemaMigrations *connect.Client[dev.GetSchemaMigrationsRequest, dev.GetSchemaMigrationsResponse] getShardReplicationPositions *connect.Client[dev.GetShardReplicationPositionsRequest, dev.GetShardReplicationPositionsResponse] getSrvKeyspace *connect.Client[dev.GetSrvKeyspaceRequest, dev1.GetSrvKeyspacesResponse] getSrvKeyspaces *connect.Client[dev.GetSrvKeyspacesRequest, dev.GetSrvKeyspacesResponse] @@ -609,11 +978,20 @@ type vTAdminClient struct { getTablet *connect.Client[dev.GetTabletRequest, dev.Tablet] getTablets *connect.Client[dev.GetTabletsRequest, dev.GetTabletsResponse] getTopologyPath *connect.Client[dev.GetTopologyPathRequest, dev1.GetTopologyPathResponse] + getTransactionInfo *connect.Client[dev.GetTransactionInfoRequest, dev1.GetTransactionInfoResponse] + getUnresolvedTransactions *connect.Client[dev.GetUnresolvedTransactionsRequest, dev1.GetUnresolvedTransactionsResponse] getVSchema *connect.Client[dev.GetVSchemaRequest, dev.VSchema] getVSchemas *connect.Client[dev.GetVSchemasRequest, dev.GetVSchemasResponse] getVtctlds *connect.Client[dev.GetVtctldsRequest, dev.GetVtctldsResponse] getWorkflow *connect.Client[dev.GetWorkflowRequest, dev.Workflow] getWorkflows *connect.Client[dev.GetWorkflowsRequest, dev.GetWorkflowsResponse] + getWorkflowStatus *connect.Client[dev.GetWorkflowStatusRequest, dev1.WorkflowStatusResponse] + startWorkflow *connect.Client[dev.StartWorkflowRequest, dev1.WorkflowUpdateResponse] + stopWorkflow *connect.Client[dev.StopWorkflowRequest, dev1.WorkflowUpdateResponse] + launchSchemaMigration *connect.Client[dev.LaunchSchemaMigrationRequest, dev1.LaunchSchemaMigrationResponse] + moveTablesComplete *connect.Client[dev.MoveTablesCompleteRequest, dev1.MoveTablesCompleteResponse] + moveTablesCreate *connect.Client[dev.MoveTablesCreateRequest, dev1.WorkflowStatusResponse] + materializeCreate *connect.Client[dev.MaterializeCreateRequest, dev1.MaterializeCreateResponse] pingTablet *connect.Client[dev.PingTabletRequest, dev.PingTabletResponse] plannedFailoverShard *connect.Client[dev.PlannedFailoverShardRequest, dev.PlannedFailoverShardResponse] rebuildKeyspaceGraph *connect.Client[dev.RebuildKeyspaceGraphRequest, dev.RebuildKeyspaceGraphResponse] @@ -622,7 +1000,9 @@ type vTAdminClient struct { reloadSchemas *connect.Client[dev.ReloadSchemasRequest, dev.ReloadSchemasResponse] reloadSchemaShard *connect.Client[dev.ReloadSchemaShardRequest, dev.ReloadSchemaShardResponse] removeKeyspaceCell *connect.Client[dev.RemoveKeyspaceCellRequest, dev.RemoveKeyspaceCellResponse] + retrySchemaMigration *connect.Client[dev.RetrySchemaMigrationRequest, dev1.RetrySchemaMigrationResponse] runHealthCheck *connect.Client[dev.RunHealthCheckRequest, dev.RunHealthCheckResponse] + reshardCreate *connect.Client[dev.ReshardCreateRequest, dev1.WorkflowStatusResponse] setReadOnly *connect.Client[dev.SetReadOnlyRequest, dev.SetReadOnlyResponse] setReadWrite *connect.Client[dev.SetReadWriteRequest, dev.SetReadWriteResponse] startReplication *connect.Client[dev.StartReplicationRequest, dev.StartReplicationResponse] @@ -634,7 +1014,36 @@ type vTAdminClient struct { validateShard *connect.Client[dev.ValidateShardRequest, dev1.ValidateShardResponse] validateVersionKeyspace *connect.Client[dev.ValidateVersionKeyspaceRequest, dev1.ValidateVersionKeyspaceResponse] validateVersionShard *connect.Client[dev.ValidateVersionShardRequest, dev1.ValidateVersionShardResponse] + vDiffCreate *connect.Client[dev.VDiffCreateRequest, dev1.VDiffCreateResponse] + vDiffShow *connect.Client[dev.VDiffShowRequest, dev.VDiffShowResponse] vTExplain *connect.Client[dev.VTExplainRequest, dev.VTExplainResponse] + workflowDelete *connect.Client[dev.WorkflowDeleteRequest, dev1.WorkflowDeleteResponse] + workflowSwitchTraffic *connect.Client[dev.WorkflowSwitchTrafficRequest, dev1.WorkflowSwitchTrafficResponse] +} + +// ApplySchema calls vtadmin.VTAdmin.ApplySchema. +func (c *vTAdminClient) ApplySchema(ctx context.Context, req *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) { + return c.applySchema.CallUnary(ctx, req) +} + +// CancelSchemaMigration calls vtadmin.VTAdmin.CancelSchemaMigration. +func (c *vTAdminClient) CancelSchemaMigration(ctx context.Context, req *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) { + return c.cancelSchemaMigration.CallUnary(ctx, req) +} + +// CleanupSchemaMigration calls vtadmin.VTAdmin.CleanupSchemaMigration. +func (c *vTAdminClient) CleanupSchemaMigration(ctx context.Context, req *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) { + return c.cleanupSchemaMigration.CallUnary(ctx, req) +} + +// CompleteSchemaMigration calls vtadmin.VTAdmin.CompleteSchemaMigration. +func (c *vTAdminClient) CompleteSchemaMigration(ctx context.Context, req *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) { + return c.completeSchemaMigration.CallUnary(ctx, req) +} + +// ConcludeTransaction calls vtadmin.VTAdmin.ConcludeTransaction. +func (c *vTAdminClient) ConcludeTransaction(ctx context.Context, req *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { + return c.concludeTransaction.CallUnary(ctx, req) } // CreateKeyspace calls vtadmin.VTAdmin.CreateKeyspace. @@ -722,6 +1131,11 @@ func (c *vTAdminClient) GetSchemas(ctx context.Context, req *connect.Request[dev return c.getSchemas.CallUnary(ctx, req) } +// GetSchemaMigrations calls vtadmin.VTAdmin.GetSchemaMigrations. +func (c *vTAdminClient) GetSchemaMigrations(ctx context.Context, req *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) { + return c.getSchemaMigrations.CallUnary(ctx, req) +} + // GetShardReplicationPositions calls vtadmin.VTAdmin.GetShardReplicationPositions. func (c *vTAdminClient) GetShardReplicationPositions(ctx context.Context, req *connect.Request[dev.GetShardReplicationPositionsRequest]) (*connect.Response[dev.GetShardReplicationPositionsResponse], error) { return c.getShardReplicationPositions.CallUnary(ctx, req) @@ -762,6 +1176,16 @@ func (c *vTAdminClient) GetTopologyPath(ctx context.Context, req *connect.Reques return c.getTopologyPath.CallUnary(ctx, req) } +// GetTransactionInfo calls vtadmin.VTAdmin.GetTransactionInfo. +func (c *vTAdminClient) GetTransactionInfo(ctx context.Context, req *connect.Request[dev.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) { + return c.getTransactionInfo.CallUnary(ctx, req) +} + +// GetUnresolvedTransactions calls vtadmin.VTAdmin.GetUnresolvedTransactions. +func (c *vTAdminClient) GetUnresolvedTransactions(ctx context.Context, req *connect.Request[dev.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) { + return c.getUnresolvedTransactions.CallUnary(ctx, req) +} + // GetVSchema calls vtadmin.VTAdmin.GetVSchema. func (c *vTAdminClient) GetVSchema(ctx context.Context, req *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.VSchema], error) { return c.getVSchema.CallUnary(ctx, req) @@ -787,6 +1211,41 @@ func (c *vTAdminClient) GetWorkflows(ctx context.Context, req *connect.Request[d return c.getWorkflows.CallUnary(ctx, req) } +// GetWorkflowStatus calls vtadmin.VTAdmin.GetWorkflowStatus. +func (c *vTAdminClient) GetWorkflowStatus(ctx context.Context, req *connect.Request[dev.GetWorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { + return c.getWorkflowStatus.CallUnary(ctx, req) +} + +// StartWorkflow calls vtadmin.VTAdmin.StartWorkflow. +func (c *vTAdminClient) StartWorkflow(ctx context.Context, req *connect.Request[dev.StartWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) { + return c.startWorkflow.CallUnary(ctx, req) +} + +// StopWorkflow calls vtadmin.VTAdmin.StopWorkflow. +func (c *vTAdminClient) StopWorkflow(ctx context.Context, req *connect.Request[dev.StopWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) { + return c.stopWorkflow.CallUnary(ctx, req) +} + +// LaunchSchemaMigration calls vtadmin.VTAdmin.LaunchSchemaMigration. +func (c *vTAdminClient) LaunchSchemaMigration(ctx context.Context, req *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) { + return c.launchSchemaMigration.CallUnary(ctx, req) +} + +// MoveTablesComplete calls vtadmin.VTAdmin.MoveTablesComplete. +func (c *vTAdminClient) MoveTablesComplete(ctx context.Context, req *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) { + return c.moveTablesComplete.CallUnary(ctx, req) +} + +// MoveTablesCreate calls vtadmin.VTAdmin.MoveTablesCreate. +func (c *vTAdminClient) MoveTablesCreate(ctx context.Context, req *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { + return c.moveTablesCreate.CallUnary(ctx, req) +} + +// MaterializeCreate calls vtadmin.VTAdmin.MaterializeCreate. +func (c *vTAdminClient) MaterializeCreate(ctx context.Context, req *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) { + return c.materializeCreate.CallUnary(ctx, req) +} + // PingTablet calls vtadmin.VTAdmin.PingTablet. func (c *vTAdminClient) PingTablet(ctx context.Context, req *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) { return c.pingTablet.CallUnary(ctx, req) @@ -827,11 +1286,21 @@ func (c *vTAdminClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Req return c.removeKeyspaceCell.CallUnary(ctx, req) } +// RetrySchemaMigration calls vtadmin.VTAdmin.RetrySchemaMigration. +func (c *vTAdminClient) RetrySchemaMigration(ctx context.Context, req *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) { + return c.retrySchemaMigration.CallUnary(ctx, req) +} + // RunHealthCheck calls vtadmin.VTAdmin.RunHealthCheck. func (c *vTAdminClient) RunHealthCheck(ctx context.Context, req *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } +// ReshardCreate calls vtadmin.VTAdmin.ReshardCreate. +func (c *vTAdminClient) ReshardCreate(ctx context.Context, req *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { + return c.reshardCreate.CallUnary(ctx, req) +} + // SetReadOnly calls vtadmin.VTAdmin.SetReadOnly. func (c *vTAdminClient) SetReadOnly(ctx context.Context, req *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) { return c.setReadOnly.CallUnary(ctx, req) @@ -887,13 +1356,46 @@ func (c *vTAdminClient) ValidateVersionShard(ctx context.Context, req *connect.R return c.validateVersionShard.CallUnary(ctx, req) } +// VDiffCreate calls vtadmin.VTAdmin.VDiffCreate. +func (c *vTAdminClient) VDiffCreate(ctx context.Context, req *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) { + return c.vDiffCreate.CallUnary(ctx, req) +} + +// VDiffShow calls vtadmin.VTAdmin.VDiffShow. +func (c *vTAdminClient) VDiffShow(ctx context.Context, req *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) { + return c.vDiffShow.CallUnary(ctx, req) +} + // VTExplain calls vtadmin.VTAdmin.VTExplain. func (c *vTAdminClient) VTExplain(ctx context.Context, req *connect.Request[dev.VTExplainRequest]) (*connect.Response[dev.VTExplainResponse], error) { return c.vTExplain.CallUnary(ctx, req) } +// WorkflowDelete calls vtadmin.VTAdmin.WorkflowDelete. +func (c *vTAdminClient) WorkflowDelete(ctx context.Context, req *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) { + return c.workflowDelete.CallUnary(ctx, req) +} + +// WorkflowSwitchTraffic calls vtadmin.VTAdmin.WorkflowSwitchTraffic. +func (c *vTAdminClient) WorkflowSwitchTraffic(ctx context.Context, req *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) { + return c.workflowSwitchTraffic.CallUnary(ctx, req) +} + // VTAdminHandler is an implementation of the vtadmin.VTAdmin service. type VTAdminHandler interface { + // ApplySchema applies a schema to a keyspace in the given cluster. + ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) + // CancelSchemaMigration cancels one or all schema migrations in the given + // cluster, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) + // CleanupSchemaMigration marks a schema migration in the given cluster as + // ready for artifact cleanup. + CleanupSchemaMigration(context.Context, *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations in the given + // cluster executed with --postpone-completion. + CompleteSchemaMigration(context.Context, *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) + // ConcludeTransaction concludes a distributed transaction identified by the provided dtid. + ConcludeTransaction(context.Context, *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) // CreateKeyspace creates a new keyspace in the given cluster. CreateKeyspace(context.Context, *connect.Request[dev.CreateKeyspaceRequest]) (*connect.Response[dev.CreateKeyspaceResponse], error) // CreateShard creates a new shard in the given cluster and keyspace. @@ -938,6 +1440,13 @@ type VTAdminHandler interface { GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.Schema], error) // GetSchemas returns all schemas across the specified clusters. GetSchemas(context.Context, *connect.Request[dev.GetSchemasRequest]) (*connect.Response[dev.GetSchemasResponse], error) + // GetSchemaMigrations returns one or more online schema migrations for the + // set of keyspaces (or all keyspaces) in the given clusters, analagous to + // repeated executions of `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different behaviors. + // See the documentation on vtctldata.GetSchemaMigrationsRequest for details. + GetSchemaMigrations(context.Context, *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) // GetShardReplicationPositions returns shard replication positions grouped // by cluster. GetShardReplicationPositions(context.Context, *connect.Request[dev.GetShardReplicationPositionsRequest]) (*connect.Response[dev.GetShardReplicationPositionsResponse], error) @@ -957,6 +1466,10 @@ type VTAdminHandler interface { GetTablets(context.Context, *connect.Request[dev.GetTabletsRequest]) (*connect.Response[dev.GetTabletsResponse], error) // GetTopologyPath returns the cell located at the specified path in the topology server. GetTopologyPath(context.Context, *connect.Request[dev.GetTopologyPathRequest]) (*connect.Response[dev1.GetTopologyPathResponse], error) + // GetTransactionInfo returns the information about a single transaction. + GetTransactionInfo(context.Context, *connect.Request[dev.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) + // GetUnresolvedTransactions returns the unresolved transactions for the request. + GetUnresolvedTransactions(context.Context, *connect.Request[dev.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) // GetVSchema returns a VSchema for the specified keyspace in the specified // cluster. GetVSchema(context.Context, *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.VSchema], error) @@ -969,6 +1482,24 @@ type VTAdminHandler interface { GetWorkflow(context.Context, *connect.Request[dev.GetWorkflowRequest]) (*connect.Response[dev.Workflow], error) // GetWorkflows returns the Workflows for all specified clusters. GetWorkflows(context.Context, *connect.Request[dev.GetWorkflowsRequest]) (*connect.Response[dev.GetWorkflowsResponse], error) + // GetWorkflowStatus returns the status for a specific workflow. + GetWorkflowStatus(context.Context, *connect.Request[dev.GetWorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) + // StartWorkflow starts a vreplication workflow. + StartWorkflow(context.Context, *connect.Request[dev.StartWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) + // StopWorkflow stops a vreplication workflow. + StopWorkflow(context.Context, *connect.Request[dev.StopWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) + // LaunchSchemaMigration launches one or all migrations in the given + // cluster executed with --postpone-launch. + LaunchSchemaMigration(context.Context, *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) + // MoveTablesComplete completes the move and cleans up the workflow and + // its related artifacts. + MoveTablesComplete(context.Context, *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) + // MoveTablesCreate creates a workflow which moves one or more tables from a + // source keyspace to a target keyspace. + MoveTablesCreate(context.Context, *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) + // MaterializeCreate creates a workflow to materialize one or more tables + // from a source keyspace to a target keyspace using a provided expressions. + MaterializeCreate(context.Context, *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) // PingTablet checks that the specified tablet is awake and responding to // RPCs. This command can be blocked by other in-flight operations. PingTablet(context.Context, *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) @@ -995,8 +1526,13 @@ type VTAdminHandler interface { ReloadSchemaShard(context.Context, *connect.Request[dev.ReloadSchemaShardRequest]) (*connect.Response[dev.ReloadSchemaShardResponse], error) // RemoveKeyspaceCell removes the cell from the Cells list for all shards in the keyspace, and the SrvKeyspace for that keyspace in that cell. RemoveKeyspaceCell(context.Context, *connect.Request[dev.RemoveKeyspaceCellRequest]) (*connect.Response[dev.RemoveKeyspaceCellResponse], error) + // RetrySchemaMigration marks a given schema migration in the given cluster + // for retry. + RetrySchemaMigration(context.Context, *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) // RunHealthCheck runs a healthcheck on the tablet. RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) + // ReshardCreate creates a workflow to reshard a keyspace. + ReshardCreate(context.Context, *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // SetReadOnly sets the tablet to read-only mode. SetReadOnly(context.Context, *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) // SetReadWrite sets the tablet to read-write mode. @@ -1034,9 +1570,15 @@ type VTAdminHandler interface { ValidateVersionKeyspace(context.Context, *connect.Request[dev.ValidateVersionKeyspaceRequest]) (*connect.Response[dev1.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. ValidateVersionShard(context.Context, *connect.Request[dev.ValidateVersionShardRequest]) (*connect.Response[dev1.ValidateVersionShardResponse], error) + VDiffCreate(context.Context, *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) + VDiffShow(context.Context, *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) // VTExplain provides information on how Vitess plans to execute a // particular query. VTExplain(context.Context, *connect.Request[dev.VTExplainRequest]) (*connect.Response[dev.VTExplainResponse], error) + // WorkflowDelete deletes a vreplication workflow. + WorkflowDelete(context.Context, *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) + // WorkflowSwitchTraffic switches traffic for a VReplication workflow. + WorkflowSwitchTraffic(context.Context, *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) } // NewVTAdminHandler builds an HTTP handler from the service implementation. It returns the path on @@ -1045,263 +1587,450 @@ type VTAdminHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (string, http.Handler) { + vTAdminApplySchemaHandler := connect.NewUnaryHandler( + VTAdminApplySchemaProcedure, + svc.ApplySchema, + connect.WithSchema(vTAdminApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCancelSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminCancelSchemaMigrationProcedure, + svc.CancelSchemaMigration, + connect.WithSchema(vTAdminCancelSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCleanupSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminCleanupSchemaMigrationProcedure, + svc.CleanupSchemaMigration, + connect.WithSchema(vTAdminCleanupSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCompleteSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminCompleteSchemaMigrationProcedure, + svc.CompleteSchemaMigration, + connect.WithSchema(vTAdminCompleteSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminConcludeTransactionHandler := connect.NewUnaryHandler( + VTAdminConcludeTransactionProcedure, + svc.ConcludeTransaction, + connect.WithSchema(vTAdminConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) vTAdminCreateKeyspaceHandler := connect.NewUnaryHandler( VTAdminCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminCreateShardHandler := connect.NewUnaryHandler( VTAdminCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteKeyspaceHandler := connect.NewUnaryHandler( VTAdminDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteShardsHandler := connect.NewUnaryHandler( VTAdminDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteTabletHandler := connect.NewUnaryHandler( VTAdminDeleteTabletProcedure, svc.DeleteTablet, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminEmergencyFailoverShardHandler := connect.NewUnaryHandler( VTAdminEmergencyFailoverShardProcedure, svc.EmergencyFailoverShard, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminFindSchemaHandler := connect.NewUnaryHandler( VTAdminFindSchemaProcedure, svc.FindSchema, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetBackupsHandler := connect.NewUnaryHandler( VTAdminGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellInfosHandler := connect.NewUnaryHandler( VTAdminGetCellInfosProcedure, svc.GetCellInfos, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellsAliasesHandler := connect.NewUnaryHandler( VTAdminGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetClustersHandler := connect.NewUnaryHandler( VTAdminGetClustersProcedure, svc.GetClusters, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetFullStatusHandler := connect.NewUnaryHandler( VTAdminGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetGatesHandler := connect.NewUnaryHandler( VTAdminGetGatesProcedure, svc.GetGates, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspaceHandler := connect.NewUnaryHandler( VTAdminGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspacesHandler := connect.NewUnaryHandler( VTAdminGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemaHandler := connect.NewUnaryHandler( VTAdminGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemasHandler := connect.NewUnaryHandler( VTAdminGetSchemasProcedure, svc.GetSchemas, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSchemaMigrationsHandler := connect.NewUnaryHandler( + VTAdminGetSchemaMigrationsProcedure, + svc.GetSchemaMigrations, + connect.WithSchema(vTAdminGetSchemaMigrationsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetShardReplicationPositionsHandler := connect.NewUnaryHandler( VTAdminGetShardReplicationPositionsProcedure, svc.GetShardReplicationPositions, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvKeyspaceHandler := connect.NewUnaryHandler( VTAdminGetSrvKeyspaceProcedure, svc.GetSrvKeyspace, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvKeyspacesHandler := connect.NewUnaryHandler( VTAdminGetSrvKeyspacesProcedure, svc.GetSrvKeyspaces, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemaHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemasHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletHandler := connect.NewUnaryHandler( VTAdminGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletsHandler := connect.NewUnaryHandler( VTAdminGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTopologyPathHandler := connect.NewUnaryHandler( VTAdminGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetTransactionInfoHandler := connect.NewUnaryHandler( + VTAdminGetTransactionInfoProcedure, + svc.GetTransactionInfo, + connect.WithSchema(vTAdminGetTransactionInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetUnresolvedTransactionsHandler := connect.NewUnaryHandler( + VTAdminGetUnresolvedTransactionsProcedure, + svc.GetUnresolvedTransactions, + connect.WithSchema(vTAdminGetUnresolvedTransactionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemaHandler := connect.NewUnaryHandler( VTAdminGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemasHandler := connect.NewUnaryHandler( VTAdminGetVSchemasProcedure, svc.GetVSchemas, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVtctldsHandler := connect.NewUnaryHandler( VTAdminGetVtctldsProcedure, svc.GetVtctlds, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowHandler := connect.NewUnaryHandler( VTAdminGetWorkflowProcedure, svc.GetWorkflow, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowsHandler := connect.NewUnaryHandler( VTAdminGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetWorkflowStatusHandler := connect.NewUnaryHandler( + VTAdminGetWorkflowStatusProcedure, + svc.GetWorkflowStatus, + connect.WithSchema(vTAdminGetWorkflowStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminStartWorkflowHandler := connect.NewUnaryHandler( + VTAdminStartWorkflowProcedure, + svc.StartWorkflow, + connect.WithSchema(vTAdminStartWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminStopWorkflowHandler := connect.NewUnaryHandler( + VTAdminStopWorkflowProcedure, + svc.StopWorkflow, + connect.WithSchema(vTAdminStopWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminLaunchSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminLaunchSchemaMigrationProcedure, + svc.LaunchSchemaMigration, + connect.WithSchema(vTAdminLaunchSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminMoveTablesCompleteHandler := connect.NewUnaryHandler( + VTAdminMoveTablesCompleteProcedure, + svc.MoveTablesComplete, + connect.WithSchema(vTAdminMoveTablesCompleteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminMoveTablesCreateHandler := connect.NewUnaryHandler( + VTAdminMoveTablesCreateProcedure, + svc.MoveTablesCreate, + connect.WithSchema(vTAdminMoveTablesCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminMaterializeCreateHandler := connect.NewUnaryHandler( + VTAdminMaterializeCreateProcedure, + svc.MaterializeCreate, + connect.WithSchema(vTAdminMaterializeCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPingTabletHandler := connect.NewUnaryHandler( VTAdminPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPlannedFailoverShardHandler := connect.NewUnaryHandler( VTAdminPlannedFailoverShardProcedure, svc.PlannedFailoverShard, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VTAdminRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshStateHandler := connect.NewUnaryHandler( VTAdminRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshTabletReplicationSourceHandler := connect.NewUnaryHandler( VTAdminRefreshTabletReplicationSourceProcedure, svc.RefreshTabletReplicationSource, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemasHandler := connect.NewUnaryHandler( VTAdminReloadSchemasProcedure, svc.ReloadSchemas, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemaShardHandler := connect.NewUnaryHandler( VTAdminReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VTAdminRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminRetrySchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminRetrySchemaMigrationProcedure, + svc.RetrySchemaMigration, + connect.WithSchema(vTAdminRetrySchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRunHealthCheckHandler := connect.NewUnaryHandler( VTAdminRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminReshardCreateHandler := connect.NewUnaryHandler( + VTAdminReshardCreateProcedure, + svc.ReshardCreate, + connect.WithSchema(vTAdminReshardCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadOnlyHandler := connect.NewUnaryHandler( VTAdminSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadWriteHandler := connect.NewUnaryHandler( VTAdminSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStartReplicationHandler := connect.NewUnaryHandler( VTAdminStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStopReplicationHandler := connect.NewUnaryHandler( VTAdminStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminTabletExternallyPromotedHandler := connect.NewUnaryHandler( VTAdminTabletExternallyPromotedProcedure, svc.TabletExternallyPromoted, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateHandler := connect.NewUnaryHandler( VTAdminValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateShardHandler := connect.NewUnaryHandler( VTAdminValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionShardHandler := connect.NewUnaryHandler( VTAdminValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminVDiffCreateHandler := connect.NewUnaryHandler( + VTAdminVDiffCreateProcedure, + svc.VDiffCreate, + connect.WithSchema(vTAdminVDiffCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminVDiffShowHandler := connect.NewUnaryHandler( + VTAdminVDiffShowProcedure, + svc.VDiffShow, + connect.WithSchema(vTAdminVDiffShowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminVTExplainHandler := connect.NewUnaryHandler( VTAdminVTExplainProcedure, svc.VTExplain, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminWorkflowDeleteHandler := connect.NewUnaryHandler( + VTAdminWorkflowDeleteProcedure, + svc.WorkflowDelete, + connect.WithSchema(vTAdminWorkflowDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminWorkflowSwitchTrafficHandler := connect.NewUnaryHandler( + VTAdminWorkflowSwitchTrafficProcedure, + svc.WorkflowSwitchTraffic, + connect.WithSchema(vTAdminWorkflowSwitchTrafficMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtadmin.VTAdmin/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { + case VTAdminApplySchemaProcedure: + vTAdminApplySchemaHandler.ServeHTTP(w, r) + case VTAdminCancelSchemaMigrationProcedure: + vTAdminCancelSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminCleanupSchemaMigrationProcedure: + vTAdminCleanupSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminCompleteSchemaMigrationProcedure: + vTAdminCompleteSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminConcludeTransactionProcedure: + vTAdminConcludeTransactionHandler.ServeHTTP(w, r) case VTAdminCreateKeyspaceProcedure: vTAdminCreateKeyspaceHandler.ServeHTTP(w, r) case VTAdminCreateShardProcedure: @@ -1336,6 +2065,8 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminGetSchemaHandler.ServeHTTP(w, r) case VTAdminGetSchemasProcedure: vTAdminGetSchemasHandler.ServeHTTP(w, r) + case VTAdminGetSchemaMigrationsProcedure: + vTAdminGetSchemaMigrationsHandler.ServeHTTP(w, r) case VTAdminGetShardReplicationPositionsProcedure: vTAdminGetShardReplicationPositionsHandler.ServeHTTP(w, r) case VTAdminGetSrvKeyspaceProcedure: @@ -1352,6 +2083,10 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminGetTabletsHandler.ServeHTTP(w, r) case VTAdminGetTopologyPathProcedure: vTAdminGetTopologyPathHandler.ServeHTTP(w, r) + case VTAdminGetTransactionInfoProcedure: + vTAdminGetTransactionInfoHandler.ServeHTTP(w, r) + case VTAdminGetUnresolvedTransactionsProcedure: + vTAdminGetUnresolvedTransactionsHandler.ServeHTTP(w, r) case VTAdminGetVSchemaProcedure: vTAdminGetVSchemaHandler.ServeHTTP(w, r) case VTAdminGetVSchemasProcedure: @@ -1362,6 +2097,20 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminGetWorkflowHandler.ServeHTTP(w, r) case VTAdminGetWorkflowsProcedure: vTAdminGetWorkflowsHandler.ServeHTTP(w, r) + case VTAdminGetWorkflowStatusProcedure: + vTAdminGetWorkflowStatusHandler.ServeHTTP(w, r) + case VTAdminStartWorkflowProcedure: + vTAdminStartWorkflowHandler.ServeHTTP(w, r) + case VTAdminStopWorkflowProcedure: + vTAdminStopWorkflowHandler.ServeHTTP(w, r) + case VTAdminLaunchSchemaMigrationProcedure: + vTAdminLaunchSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminMoveTablesCompleteProcedure: + vTAdminMoveTablesCompleteHandler.ServeHTTP(w, r) + case VTAdminMoveTablesCreateProcedure: + vTAdminMoveTablesCreateHandler.ServeHTTP(w, r) + case VTAdminMaterializeCreateProcedure: + vTAdminMaterializeCreateHandler.ServeHTTP(w, r) case VTAdminPingTabletProcedure: vTAdminPingTabletHandler.ServeHTTP(w, r) case VTAdminPlannedFailoverShardProcedure: @@ -1378,8 +2127,12 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminReloadSchemaShardHandler.ServeHTTP(w, r) case VTAdminRemoveKeyspaceCellProcedure: vTAdminRemoveKeyspaceCellHandler.ServeHTTP(w, r) + case VTAdminRetrySchemaMigrationProcedure: + vTAdminRetrySchemaMigrationHandler.ServeHTTP(w, r) case VTAdminRunHealthCheckProcedure: vTAdminRunHealthCheckHandler.ServeHTTP(w, r) + case VTAdminReshardCreateProcedure: + vTAdminReshardCreateHandler.ServeHTTP(w, r) case VTAdminSetReadOnlyProcedure: vTAdminSetReadOnlyHandler.ServeHTTP(w, r) case VTAdminSetReadWriteProcedure: @@ -1402,8 +2155,16 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminValidateVersionKeyspaceHandler.ServeHTTP(w, r) case VTAdminValidateVersionShardProcedure: vTAdminValidateVersionShardHandler.ServeHTTP(w, r) + case VTAdminVDiffCreateProcedure: + vTAdminVDiffCreateHandler.ServeHTTP(w, r) + case VTAdminVDiffShowProcedure: + vTAdminVDiffShowHandler.ServeHTTP(w, r) case VTAdminVTExplainProcedure: vTAdminVTExplainHandler.ServeHTTP(w, r) + case VTAdminWorkflowDeleteProcedure: + vTAdminWorkflowDeleteHandler.ServeHTTP(w, r) + case VTAdminWorkflowSwitchTrafficProcedure: + vTAdminWorkflowSwitchTrafficHandler.ServeHTTP(w, r) default: http.NotFound(w, r) } @@ -1413,6 +2174,26 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin // UnimplementedVTAdminHandler returns CodeUnimplemented from all methods. type UnimplementedVTAdminHandler struct{} +func (UnimplementedVTAdminHandler) ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ApplySchema is not implemented")) +} + +func (UnimplementedVTAdminHandler) CancelSchemaMigration(context.Context, *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CancelSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) CleanupSchemaMigration(context.Context, *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CleanupSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) CompleteSchemaMigration(context.Context, *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CompleteSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) ConcludeTransaction(context.Context, *connect.Request[dev.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ConcludeTransaction is not implemented")) +} + func (UnimplementedVTAdminHandler) CreateKeyspace(context.Context, *connect.Request[dev.CreateKeyspaceRequest]) (*connect.Response[dev.CreateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CreateKeyspace is not implemented")) } @@ -1481,6 +2262,10 @@ func (UnimplementedVTAdminHandler) GetSchemas(context.Context, *connect.Request[ return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSchemas is not implemented")) } +func (UnimplementedVTAdminHandler) GetSchemaMigrations(context.Context, *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSchemaMigrations is not implemented")) +} + func (UnimplementedVTAdminHandler) GetShardReplicationPositions(context.Context, *connect.Request[dev.GetShardReplicationPositionsRequest]) (*connect.Response[dev.GetShardReplicationPositionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetShardReplicationPositions is not implemented")) } @@ -1513,6 +2298,14 @@ func (UnimplementedVTAdminHandler) GetTopologyPath(context.Context, *connect.Req return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetTopologyPath is not implemented")) } +func (UnimplementedVTAdminHandler) GetTransactionInfo(context.Context, *connect.Request[dev.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetTransactionInfo is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetUnresolvedTransactions(context.Context, *connect.Request[dev.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetUnresolvedTransactions is not implemented")) +} + func (UnimplementedVTAdminHandler) GetVSchema(context.Context, *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.VSchema], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetVSchema is not implemented")) } @@ -1533,6 +2326,34 @@ func (UnimplementedVTAdminHandler) GetWorkflows(context.Context, *connect.Reques return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetWorkflows is not implemented")) } +func (UnimplementedVTAdminHandler) GetWorkflowStatus(context.Context, *connect.Request[dev.GetWorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetWorkflowStatus is not implemented")) +} + +func (UnimplementedVTAdminHandler) StartWorkflow(context.Context, *connect.Request[dev.StartWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.StartWorkflow is not implemented")) +} + +func (UnimplementedVTAdminHandler) StopWorkflow(context.Context, *connect.Request[dev.StopWorkflowRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.StopWorkflow is not implemented")) +} + +func (UnimplementedVTAdminHandler) LaunchSchemaMigration(context.Context, *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.LaunchSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) MoveTablesComplete(context.Context, *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.MoveTablesComplete is not implemented")) +} + +func (UnimplementedVTAdminHandler) MoveTablesCreate(context.Context, *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.MoveTablesCreate is not implemented")) +} + +func (UnimplementedVTAdminHandler) MaterializeCreate(context.Context, *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.MaterializeCreate is not implemented")) +} + func (UnimplementedVTAdminHandler) PingTablet(context.Context, *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.PingTablet is not implemented")) } @@ -1565,10 +2386,18 @@ func (UnimplementedVTAdminHandler) RemoveKeyspaceCell(context.Context, *connect. return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RemoveKeyspaceCell is not implemented")) } +func (UnimplementedVTAdminHandler) RetrySchemaMigration(context.Context, *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RetrySchemaMigration is not implemented")) +} + func (UnimplementedVTAdminHandler) RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RunHealthCheck is not implemented")) } +func (UnimplementedVTAdminHandler) ReshardCreate(context.Context, *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ReshardCreate is not implemented")) +} + func (UnimplementedVTAdminHandler) SetReadOnly(context.Context, *connect.Request[dev.SetReadOnlyRequest]) (*connect.Response[dev.SetReadOnlyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.SetReadOnly is not implemented")) } @@ -1613,6 +2442,22 @@ func (UnimplementedVTAdminHandler) ValidateVersionShard(context.Context, *connec return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ValidateVersionShard is not implemented")) } +func (UnimplementedVTAdminHandler) VDiffCreate(context.Context, *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.VDiffCreate is not implemented")) +} + +func (UnimplementedVTAdminHandler) VDiffShow(context.Context, *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.VDiffShow is not implemented")) +} + func (UnimplementedVTAdminHandler) VTExplain(context.Context, *connect.Request[dev.VTExplainRequest]) (*connect.Response[dev.VTExplainResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.VTExplain is not implemented")) } + +func (UnimplementedVTAdminHandler) WorkflowDelete(context.Context, *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.WorkflowDelete is not implemented")) +} + +func (UnimplementedVTAdminHandler) WorkflowSwitchTraffic(context.Context, *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.WorkflowSwitchTraffic is not implemented")) +} diff --git a/gen/vitess/vtadmin/v16/vtadmin.pb.go b/gen/vitess/vtadmin/v16/vtadmin.pb.go index 209009c..1cea376 100644 --- a/gen/vitess/vtadmin/v16/vtadmin.pb.go +++ b/gen/vitess/vtadmin/v16/vtadmin.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtadmin/v16/vtadmin.proto @@ -7271,7 +7271,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_rawDescGZIP() []byte { var file_vitess_vtadmin_v16_vtadmin_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtadmin_v16_vtadmin_proto_msgTypes = make([]protoimpl.MessageInfo, 107) -var file_vitess_vtadmin_v16_vtadmin_proto_goTypes = []interface{}{ +var file_vitess_vtadmin_v16_vtadmin_proto_goTypes = []any{ (Tablet_ServingState)(0), // 0: vitess.vtadmin.v16.Tablet.ServingState (*Cluster)(nil), // 1: vitess.vtadmin.v16.Cluster (*ClusterBackup)(nil), // 2: vitess.vtadmin.v16.ClusterBackup @@ -7622,7 +7622,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Cluster); i { case 0: return &v.state @@ -7634,7 +7634,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ClusterBackup); i { case 0: return &v.state @@ -7646,7 +7646,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ClusterCellsAliases); i { case 0: return &v.state @@ -7658,7 +7658,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ClusterCellInfo); i { case 0: return &v.state @@ -7670,7 +7670,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ClusterShardReplicationPosition); i { case 0: return &v.state @@ -7682,7 +7682,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ClusterWorkflows); i { case 0: return &v.state @@ -7694,7 +7694,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -7706,7 +7706,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Schema); i { case 0: return &v.state @@ -7718,7 +7718,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -7730,7 +7730,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SrvVSchema); i { case 0: return &v.state @@ -7742,7 +7742,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*Tablet); i { case 0: return &v.state @@ -7754,7 +7754,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*VSchema); i { case 0: return &v.state @@ -7766,7 +7766,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*Vtctld); i { case 0: return &v.state @@ -7778,7 +7778,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*VTGate); i { case 0: return &v.state @@ -7790,7 +7790,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*Workflow); i { case 0: return &v.state @@ -7802,7 +7802,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state @@ -7814,7 +7814,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state @@ -7826,7 +7826,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*CreateShardRequest); i { case 0: return &v.state @@ -7838,7 +7838,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state @@ -7850,7 +7850,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state @@ -7862,7 +7862,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletRequest); i { case 0: return &v.state @@ -7874,7 +7874,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletResponse); i { case 0: return &v.state @@ -7886,7 +7886,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardRequest); i { case 0: return &v.state @@ -7898,7 +7898,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardResponse); i { case 0: return &v.state @@ -7910,7 +7910,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*FindSchemaRequest); i { case 0: return &v.state @@ -7922,7 +7922,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsRequest); i { case 0: return &v.state @@ -7934,7 +7934,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsResponse); i { case 0: return &v.state @@ -7946,7 +7946,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosRequest); i { case 0: return &v.state @@ -7958,7 +7958,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosResponse); i { case 0: return &v.state @@ -7970,7 +7970,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state @@ -7982,7 +7982,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state @@ -7994,7 +7994,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*GetClustersRequest); i { case 0: return &v.state @@ -8006,7 +8006,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*GetClustersResponse); i { case 0: return &v.state @@ -8018,7 +8018,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state @@ -8030,7 +8030,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*GetGatesRequest); i { case 0: return &v.state @@ -8042,7 +8042,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*GetGatesResponse); i { case 0: return &v.state @@ -8054,7 +8054,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state @@ -8066,7 +8066,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state @@ -8078,7 +8078,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state @@ -8090,7 +8090,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -8102,7 +8102,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasRequest); i { case 0: return &v.state @@ -8114,7 +8114,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasResponse); i { case 0: return &v.state @@ -8126,7 +8126,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsRequest); i { case 0: return &v.state @@ -8138,7 +8138,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsResponse); i { case 0: return &v.state @@ -8150,7 +8150,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state @@ -8162,7 +8162,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state @@ -8174,7 +8174,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state @@ -8186,7 +8186,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaTableSizeOptions); i { case 0: return &v.state @@ -8198,7 +8198,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*GetTabletRequest); i { case 0: return &v.state @@ -8210,7 +8210,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsRequest); i { case 0: return &v.state @@ -8222,7 +8222,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsResponse); i { case 0: return &v.state @@ -8234,7 +8234,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state @@ -8246,7 +8246,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -8258,7 +8258,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasRequest); i { case 0: return &v.state @@ -8270,7 +8270,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasResponse); i { case 0: return &v.state @@ -8282,7 +8282,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsRequest); i { case 0: return &v.state @@ -8294,7 +8294,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsResponse); i { case 0: return &v.state @@ -8306,7 +8306,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowRequest); i { case 0: return &v.state @@ -8318,7 +8318,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -8330,7 +8330,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -8342,7 +8342,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -8354,7 +8354,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -8366,7 +8366,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardRequest); i { case 0: return &v.state @@ -8378,7 +8378,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardResponse); i { case 0: return &v.state @@ -8390,7 +8390,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -8402,7 +8402,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -8414,7 +8414,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -8426,7 +8426,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -8438,7 +8438,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasRequest); i { case 0: return &v.state @@ -8450,7 +8450,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse); i { case 0: return &v.state @@ -8462,7 +8462,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -8474,7 +8474,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -8486,7 +8486,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceRequest); i { case 0: return &v.state @@ -8498,7 +8498,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceResponse); i { case 0: return &v.state @@ -8510,7 +8510,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -8522,7 +8522,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -8534,7 +8534,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -8546,7 +8546,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -8558,7 +8558,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyRequest); i { case 0: return &v.state @@ -8570,7 +8570,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyResponse); i { case 0: return &v.state @@ -8582,7 +8582,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteRequest); i { case 0: return &v.state @@ -8594,7 +8594,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteResponse); i { case 0: return &v.state @@ -8606,7 +8606,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -8618,7 +8618,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -8630,7 +8630,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -8642,7 +8642,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -8654,7 +8654,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedRequest); i { case 0: return &v.state @@ -8666,7 +8666,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedResponse); i { case 0: return &v.state @@ -8678,7 +8678,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -8690,7 +8690,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -8702,7 +8702,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -8714,7 +8714,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -8726,7 +8726,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -8738,7 +8738,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -8750,7 +8750,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -8762,7 +8762,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*VTExplainRequest); i { case 0: return &v.state @@ -8774,7 +8774,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*VTExplainResponse); i { case 0: return &v.state @@ -8786,7 +8786,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*Schema_ShardTableSize); i { case 0: return &v.state @@ -8798,7 +8798,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[101].Exporter = func(v any, i int) any { switch v := v.(*Schema_TableSize); i { case 0: return &v.state @@ -8810,7 +8810,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_KeyspaceResult); i { case 0: return &v.state @@ -8822,7 +8822,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[105].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_ShardResult); i { case 0: return &v.state @@ -8834,7 +8834,7 @@ func file_vitess_vtadmin_v16_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v16_vtadmin_proto_msgTypes[106].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_TabletResult); i { case 0: return &v.state diff --git a/gen/vitess/vtadmin/v16/vtadminv16connect/vtadmin.connect.go b/gen/vitess/vtadmin/v16/vtadminv16connect/vtadmin.connect.go index ba94b70..9268796 100644 --- a/gen/vitess/vtadmin/v16/vtadminv16connect/vtadmin.connect.go +++ b/gen/vitess/vtadmin/v16/vtadminv16connect/vtadmin.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VTAdminName is the fully-qualified name of the VTAdmin service. @@ -163,6 +163,60 @@ const ( VTAdminVTExplainProcedure = "/vtadmin.VTAdmin/VTExplain" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vTAdminServiceDescriptor = v16.File_vitess_vtadmin_v16_vtadmin_proto.Services().ByName("VTAdmin") + vTAdminCreateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateKeyspace") + vTAdminCreateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateShard") + vTAdminDeleteKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteKeyspace") + vTAdminDeleteShardsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteShards") + vTAdminDeleteTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteTablet") + vTAdminEmergencyFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("EmergencyFailoverShard") + vTAdminFindSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("FindSchema") + vTAdminGetBackupsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetBackups") + vTAdminGetCellInfosMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellInfos") + vTAdminGetCellsAliasesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellsAliases") + vTAdminGetClustersMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetClusters") + vTAdminGetFullStatusMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetFullStatus") + vTAdminGetGatesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetGates") + vTAdminGetKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspace") + vTAdminGetKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspaces") + vTAdminGetSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchema") + vTAdminGetSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchemas") + vTAdminGetShardReplicationPositionsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetShardReplicationPositions") + vTAdminGetSrvVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchema") + vTAdminGetSrvVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vTAdminGetTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablet") + vTAdminGetTabletsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablets") + vTAdminGetTopologyPathMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTopologyPath") + vTAdminGetVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchema") + vTAdminGetVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchemas") + vTAdminGetVtctldsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVtctlds") + vTAdminGetWorkflowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflow") + vTAdminGetWorkflowsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflows") + vTAdminPingTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PingTablet") + vTAdminPlannedFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PlannedFailoverShard") + vTAdminRebuildKeyspaceGraphMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vTAdminRefreshStateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshState") + vTAdminRefreshTabletReplicationSourceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshTabletReplicationSource") + vTAdminReloadSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemas") + vTAdminReloadSchemaShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vTAdminRemoveKeyspaceCellMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vTAdminRunHealthCheckMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RunHealthCheck") + vTAdminSetReadOnlyMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadOnly") + vTAdminSetReadWriteMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadWrite") + vTAdminStartReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StartReplication") + vTAdminStopReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StopReplication") + vTAdminTabletExternallyPromotedMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("TabletExternallyPromoted") + vTAdminValidateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("Validate") + vTAdminValidateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateKeyspace") + vTAdminValidateSchemaKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vTAdminValidateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateShard") + vTAdminValidateVersionKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vTAdminValidateVersionShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionShard") + vTAdminVTExplainMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("VTExplain") +) + // VTAdminClient is a client for the vtadmin.VTAdmin service. type VTAdminClient interface { // CreateKeyspace creates a new keyspace in the given cluster. @@ -319,247 +373,296 @@ func NewVTAdminClient(httpClient connect.HTTPClient, baseURL string, opts ...con createKeyspace: connect.NewClient[v16.CreateKeyspaceRequest, v16.CreateKeyspaceResponse]( httpClient, baseURL+VTAdminCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), createShard: connect.NewClient[v16.CreateShardRequest, v161.CreateShardResponse]( httpClient, baseURL+VTAdminCreateShardProcedure, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteKeyspace: connect.NewClient[v16.DeleteKeyspaceRequest, v161.DeleteKeyspaceResponse]( httpClient, baseURL+VTAdminDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteShards: connect.NewClient[v16.DeleteShardsRequest, v161.DeleteShardsResponse]( httpClient, baseURL+VTAdminDeleteShardsProcedure, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteTablet: connect.NewClient[v16.DeleteTabletRequest, v16.DeleteTabletResponse]( httpClient, baseURL+VTAdminDeleteTabletProcedure, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), emergencyFailoverShard: connect.NewClient[v16.EmergencyFailoverShardRequest, v16.EmergencyFailoverShardResponse]( httpClient, baseURL+VTAdminEmergencyFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), findSchema: connect.NewClient[v16.FindSchemaRequest, v16.Schema]( httpClient, baseURL+VTAdminFindSchemaProcedure, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getBackups: connect.NewClient[v16.GetBackupsRequest, v16.GetBackupsResponse]( httpClient, baseURL+VTAdminGetBackupsProcedure, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellInfos: connect.NewClient[v16.GetCellInfosRequest, v16.GetCellInfosResponse]( httpClient, baseURL+VTAdminGetCellInfosProcedure, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellsAliases: connect.NewClient[v16.GetCellsAliasesRequest, v16.GetCellsAliasesResponse]( httpClient, baseURL+VTAdminGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), getClusters: connect.NewClient[v16.GetClustersRequest, v16.GetClustersResponse]( httpClient, baseURL+VTAdminGetClustersProcedure, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithClientOptions(opts...), ), getFullStatus: connect.NewClient[v16.GetFullStatusRequest, v161.GetFullStatusResponse]( httpClient, baseURL+VTAdminGetFullStatusProcedure, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), getGates: connect.NewClient[v16.GetGatesRequest, v16.GetGatesResponse]( httpClient, baseURL+VTAdminGetGatesProcedure, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspace: connect.NewClient[v16.GetKeyspaceRequest, v16.Keyspace]( httpClient, baseURL+VTAdminGetKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspaces: connect.NewClient[v16.GetKeyspacesRequest, v16.GetKeyspacesResponse]( httpClient, baseURL+VTAdminGetKeyspacesProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchema: connect.NewClient[v16.GetSchemaRequest, v16.Schema]( httpClient, baseURL+VTAdminGetSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchemas: connect.NewClient[v16.GetSchemasRequest, v16.GetSchemasResponse]( httpClient, baseURL+VTAdminGetSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getShardReplicationPositions: connect.NewClient[v16.GetShardReplicationPositionsRequest, v16.GetShardReplicationPositionsResponse]( httpClient, baseURL+VTAdminGetShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchema: connect.NewClient[v16.GetSrvVSchemaRequest, v16.SrvVSchema]( httpClient, baseURL+VTAdminGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchemas: connect.NewClient[v16.GetSrvVSchemasRequest, v16.GetSrvVSchemasResponse]( httpClient, baseURL+VTAdminGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablet: connect.NewClient[v16.GetTabletRequest, v16.Tablet]( httpClient, baseURL+VTAdminGetTabletProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablets: connect.NewClient[v16.GetTabletsRequest, v16.GetTabletsResponse]( httpClient, baseURL+VTAdminGetTabletsProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), getTopologyPath: connect.NewClient[v16.GetTopologyPathRequest, v161.GetTopologyPathResponse]( httpClient, baseURL+VTAdminGetTopologyPathProcedure, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchema: connect.NewClient[v16.GetVSchemaRequest, v16.VSchema]( httpClient, baseURL+VTAdminGetVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchemas: connect.NewClient[v16.GetVSchemasRequest, v16.GetVSchemasResponse]( httpClient, baseURL+VTAdminGetVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getVtctlds: connect.NewClient[v16.GetVtctldsRequest, v16.GetVtctldsResponse]( httpClient, baseURL+VTAdminGetVtctldsProcedure, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflow: connect.NewClient[v16.GetWorkflowRequest, v16.Workflow]( httpClient, baseURL+VTAdminGetWorkflowProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflows: connect.NewClient[v16.GetWorkflowsRequest, v16.GetWorkflowsResponse]( httpClient, baseURL+VTAdminGetWorkflowsProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), pingTablet: connect.NewClient[v16.PingTabletRequest, v16.PingTabletResponse]( httpClient, baseURL+VTAdminPingTabletProcedure, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), plannedFailoverShard: connect.NewClient[v16.PlannedFailoverShardRequest, v16.PlannedFailoverShardResponse]( httpClient, baseURL+VTAdminPlannedFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), rebuildKeyspaceGraph: connect.NewClient[v16.RebuildKeyspaceGraphRequest, v16.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VTAdminRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshState: connect.NewClient[v16.RefreshStateRequest, v16.RefreshStateResponse]( httpClient, baseURL+VTAdminRefreshStateProcedure, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshTabletReplicationSource: connect.NewClient[v16.RefreshTabletReplicationSourceRequest, v16.RefreshTabletReplicationSourceResponse]( httpClient, baseURL+VTAdminRefreshTabletReplicationSourceProcedure, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemas: connect.NewClient[v16.ReloadSchemasRequest, v16.ReloadSchemasResponse]( httpClient, baseURL+VTAdminReloadSchemasProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemaShard: connect.NewClient[v16.ReloadSchemaShardRequest, v16.ReloadSchemaShardResponse]( httpClient, baseURL+VTAdminReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), removeKeyspaceCell: connect.NewClient[v16.RemoveKeyspaceCellRequest, v16.RemoveKeyspaceCellResponse]( httpClient, baseURL+VTAdminRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), ), runHealthCheck: connect.NewClient[v16.RunHealthCheckRequest, v16.RunHealthCheckResponse]( httpClient, baseURL+VTAdminRunHealthCheckProcedure, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadOnly: connect.NewClient[v16.SetReadOnlyRequest, v16.SetReadOnlyResponse]( httpClient, baseURL+VTAdminSetReadOnlyProcedure, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadWrite: connect.NewClient[v16.SetReadWriteRequest, v16.SetReadWriteResponse]( httpClient, baseURL+VTAdminSetReadWriteProcedure, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), ), startReplication: connect.NewClient[v16.StartReplicationRequest, v16.StartReplicationResponse]( httpClient, baseURL+VTAdminStartReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), stopReplication: connect.NewClient[v16.StopReplicationRequest, v16.StopReplicationResponse]( httpClient, baseURL+VTAdminStopReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), tabletExternallyPromoted: connect.NewClient[v16.TabletExternallyPromotedRequest, v16.TabletExternallyPromotedResponse]( httpClient, baseURL+VTAdminTabletExternallyPromotedProcedure, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), validate: connect.NewClient[v16.ValidateRequest, v161.ValidateResponse]( httpClient, baseURL+VTAdminValidateProcedure, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), validateKeyspace: connect.NewClient[v16.ValidateKeyspaceRequest, v161.ValidateKeyspaceResponse]( httpClient, baseURL+VTAdminValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateSchemaKeyspace: connect.NewClient[v16.ValidateSchemaKeyspaceRequest, v161.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VTAdminValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateShard: connect.NewClient[v16.ValidateShardRequest, v161.ValidateShardResponse]( httpClient, baseURL+VTAdminValidateShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionKeyspace: connect.NewClient[v16.ValidateVersionKeyspaceRequest, v161.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VTAdminValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionShard: connect.NewClient[v16.ValidateVersionShardRequest, v161.ValidateVersionShardResponse]( httpClient, baseURL+VTAdminValidateVersionShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), ), vTExplain: connect.NewClient[v16.VTExplainRequest, v16.VTExplainResponse]( httpClient, baseURL+VTAdminVTExplainProcedure, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithClientOptions(opts...), ), } } @@ -1014,247 +1117,296 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminCreateKeyspaceHandler := connect.NewUnaryHandler( VTAdminCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminCreateShardHandler := connect.NewUnaryHandler( VTAdminCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteKeyspaceHandler := connect.NewUnaryHandler( VTAdminDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteShardsHandler := connect.NewUnaryHandler( VTAdminDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteTabletHandler := connect.NewUnaryHandler( VTAdminDeleteTabletProcedure, svc.DeleteTablet, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminEmergencyFailoverShardHandler := connect.NewUnaryHandler( VTAdminEmergencyFailoverShardProcedure, svc.EmergencyFailoverShard, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminFindSchemaHandler := connect.NewUnaryHandler( VTAdminFindSchemaProcedure, svc.FindSchema, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetBackupsHandler := connect.NewUnaryHandler( VTAdminGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellInfosHandler := connect.NewUnaryHandler( VTAdminGetCellInfosProcedure, svc.GetCellInfos, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellsAliasesHandler := connect.NewUnaryHandler( VTAdminGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetClustersHandler := connect.NewUnaryHandler( VTAdminGetClustersProcedure, svc.GetClusters, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetFullStatusHandler := connect.NewUnaryHandler( VTAdminGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetGatesHandler := connect.NewUnaryHandler( VTAdminGetGatesProcedure, svc.GetGates, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspaceHandler := connect.NewUnaryHandler( VTAdminGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspacesHandler := connect.NewUnaryHandler( VTAdminGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemaHandler := connect.NewUnaryHandler( VTAdminGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemasHandler := connect.NewUnaryHandler( VTAdminGetSchemasProcedure, svc.GetSchemas, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetShardReplicationPositionsHandler := connect.NewUnaryHandler( VTAdminGetShardReplicationPositionsProcedure, svc.GetShardReplicationPositions, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemaHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemasHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletHandler := connect.NewUnaryHandler( VTAdminGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletsHandler := connect.NewUnaryHandler( VTAdminGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTopologyPathHandler := connect.NewUnaryHandler( VTAdminGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemaHandler := connect.NewUnaryHandler( VTAdminGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemasHandler := connect.NewUnaryHandler( VTAdminGetVSchemasProcedure, svc.GetVSchemas, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVtctldsHandler := connect.NewUnaryHandler( VTAdminGetVtctldsProcedure, svc.GetVtctlds, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowHandler := connect.NewUnaryHandler( VTAdminGetWorkflowProcedure, svc.GetWorkflow, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowsHandler := connect.NewUnaryHandler( VTAdminGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPingTabletHandler := connect.NewUnaryHandler( VTAdminPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPlannedFailoverShardHandler := connect.NewUnaryHandler( VTAdminPlannedFailoverShardProcedure, svc.PlannedFailoverShard, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VTAdminRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshStateHandler := connect.NewUnaryHandler( VTAdminRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshTabletReplicationSourceHandler := connect.NewUnaryHandler( VTAdminRefreshTabletReplicationSourceProcedure, svc.RefreshTabletReplicationSource, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemasHandler := connect.NewUnaryHandler( VTAdminReloadSchemasProcedure, svc.ReloadSchemas, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemaShardHandler := connect.NewUnaryHandler( VTAdminReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VTAdminRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRunHealthCheckHandler := connect.NewUnaryHandler( VTAdminRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadOnlyHandler := connect.NewUnaryHandler( VTAdminSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadWriteHandler := connect.NewUnaryHandler( VTAdminSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStartReplicationHandler := connect.NewUnaryHandler( VTAdminStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStopReplicationHandler := connect.NewUnaryHandler( VTAdminStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminTabletExternallyPromotedHandler := connect.NewUnaryHandler( VTAdminTabletExternallyPromotedProcedure, svc.TabletExternallyPromoted, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateHandler := connect.NewUnaryHandler( VTAdminValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateShardHandler := connect.NewUnaryHandler( VTAdminValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionShardHandler := connect.NewUnaryHandler( VTAdminValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminVTExplainHandler := connect.NewUnaryHandler( VTAdminVTExplainProcedure, svc.VTExplain, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtadmin.VTAdmin/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { diff --git a/gen/vitess/vtadmin/v17/vtadmin.pb.go b/gen/vitess/vtadmin/v17/vtadmin.pb.go index a2993fa..41e0aef 100644 --- a/gen/vitess/vtadmin/v17/vtadmin.pb.go +++ b/gen/vitess/vtadmin/v17/vtadmin.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtadmin/v17/vtadmin.proto @@ -7483,7 +7483,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_rawDescGZIP() []byte { var file_vitess_vtadmin_v17_vtadmin_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtadmin_v17_vtadmin_proto_msgTypes = make([]protoimpl.MessageInfo, 111) -var file_vitess_vtadmin_v17_vtadmin_proto_goTypes = []interface{}{ +var file_vitess_vtadmin_v17_vtadmin_proto_goTypes = []any{ (Tablet_ServingState)(0), // 0: vitess.vtadmin.v17.Tablet.ServingState (*Cluster)(nil), // 1: vitess.vtadmin.v17.Cluster (*ClusterBackup)(nil), // 2: vitess.vtadmin.v17.ClusterBackup @@ -7845,7 +7845,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Cluster); i { case 0: return &v.state @@ -7857,7 +7857,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ClusterBackup); i { case 0: return &v.state @@ -7869,7 +7869,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ClusterCellsAliases); i { case 0: return &v.state @@ -7881,7 +7881,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ClusterCellInfo); i { case 0: return &v.state @@ -7893,7 +7893,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ClusterShardReplicationPosition); i { case 0: return &v.state @@ -7905,7 +7905,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ClusterWorkflows); i { case 0: return &v.state @@ -7917,7 +7917,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -7929,7 +7929,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Schema); i { case 0: return &v.state @@ -7941,7 +7941,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -7953,7 +7953,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SrvVSchema); i { case 0: return &v.state @@ -7965,7 +7965,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*Tablet); i { case 0: return &v.state @@ -7977,7 +7977,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*VSchema); i { case 0: return &v.state @@ -7989,7 +7989,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*Vtctld); i { case 0: return &v.state @@ -8001,7 +8001,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*VTGate); i { case 0: return &v.state @@ -8013,7 +8013,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*Workflow); i { case 0: return &v.state @@ -8025,7 +8025,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state @@ -8037,7 +8037,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state @@ -8049,7 +8049,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*CreateShardRequest); i { case 0: return &v.state @@ -8061,7 +8061,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state @@ -8073,7 +8073,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state @@ -8085,7 +8085,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletRequest); i { case 0: return &v.state @@ -8097,7 +8097,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletResponse); i { case 0: return &v.state @@ -8109,7 +8109,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardRequest); i { case 0: return &v.state @@ -8121,7 +8121,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardResponse); i { case 0: return &v.state @@ -8133,7 +8133,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*FindSchemaRequest); i { case 0: return &v.state @@ -8145,7 +8145,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsRequest); i { case 0: return &v.state @@ -8157,7 +8157,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsResponse); i { case 0: return &v.state @@ -8169,7 +8169,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosRequest); i { case 0: return &v.state @@ -8181,7 +8181,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosResponse); i { case 0: return &v.state @@ -8193,7 +8193,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state @@ -8205,7 +8205,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state @@ -8217,7 +8217,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*GetClustersRequest); i { case 0: return &v.state @@ -8229,7 +8229,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*GetClustersResponse); i { case 0: return &v.state @@ -8241,7 +8241,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state @@ -8253,7 +8253,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*GetGatesRequest); i { case 0: return &v.state @@ -8265,7 +8265,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*GetGatesResponse); i { case 0: return &v.state @@ -8277,7 +8277,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state @@ -8289,7 +8289,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state @@ -8301,7 +8301,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state @@ -8313,7 +8313,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -8325,7 +8325,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasRequest); i { case 0: return &v.state @@ -8337,7 +8337,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasResponse); i { case 0: return &v.state @@ -8349,7 +8349,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsRequest); i { case 0: return &v.state @@ -8361,7 +8361,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsResponse); i { case 0: return &v.state @@ -8373,7 +8373,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceRequest); i { case 0: return &v.state @@ -8385,7 +8385,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesRequest); i { case 0: return &v.state @@ -8397,7 +8397,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesResponse); i { case 0: return &v.state @@ -8409,7 +8409,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state @@ -8421,7 +8421,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state @@ -8433,7 +8433,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state @@ -8445,7 +8445,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaTableSizeOptions); i { case 0: return &v.state @@ -8457,7 +8457,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*GetTabletRequest); i { case 0: return &v.state @@ -8469,7 +8469,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsRequest); i { case 0: return &v.state @@ -8481,7 +8481,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsResponse); i { case 0: return &v.state @@ -8493,7 +8493,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state @@ -8505,7 +8505,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -8517,7 +8517,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasRequest); i { case 0: return &v.state @@ -8529,7 +8529,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasResponse); i { case 0: return &v.state @@ -8541,7 +8541,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsRequest); i { case 0: return &v.state @@ -8553,7 +8553,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsResponse); i { case 0: return &v.state @@ -8565,7 +8565,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowRequest); i { case 0: return &v.state @@ -8577,7 +8577,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -8589,7 +8589,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -8601,7 +8601,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -8613,7 +8613,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -8625,7 +8625,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardRequest); i { case 0: return &v.state @@ -8637,7 +8637,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardResponse); i { case 0: return &v.state @@ -8649,7 +8649,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -8661,7 +8661,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -8673,7 +8673,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -8685,7 +8685,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -8697,7 +8697,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasRequest); i { case 0: return &v.state @@ -8709,7 +8709,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse); i { case 0: return &v.state @@ -8721,7 +8721,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -8733,7 +8733,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -8745,7 +8745,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceRequest); i { case 0: return &v.state @@ -8757,7 +8757,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceResponse); i { case 0: return &v.state @@ -8769,7 +8769,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -8781,7 +8781,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -8793,7 +8793,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -8805,7 +8805,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -8817,7 +8817,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyRequest); i { case 0: return &v.state @@ -8829,7 +8829,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyResponse); i { case 0: return &v.state @@ -8841,7 +8841,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteRequest); i { case 0: return &v.state @@ -8853,7 +8853,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteResponse); i { case 0: return &v.state @@ -8865,7 +8865,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -8877,7 +8877,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -8889,7 +8889,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -8901,7 +8901,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -8913,7 +8913,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedRequest); i { case 0: return &v.state @@ -8925,7 +8925,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedResponse); i { case 0: return &v.state @@ -8937,7 +8937,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -8949,7 +8949,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -8961,7 +8961,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -8973,7 +8973,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -8985,7 +8985,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -8997,7 +8997,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -9009,7 +9009,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -9021,7 +9021,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*VTExplainRequest); i { case 0: return &v.state @@ -9033,7 +9033,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*VTExplainResponse); i { case 0: return &v.state @@ -9045,7 +9045,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*Schema_ShardTableSize); i { case 0: return &v.state @@ -9057,7 +9057,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*Schema_TableSize); i { case 0: return &v.state @@ -9069,7 +9069,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[108].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_KeyspaceResult); i { case 0: return &v.state @@ -9081,7 +9081,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[109].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_ShardResult); i { case 0: return &v.state @@ -9093,7 +9093,7 @@ func file_vitess_vtadmin_v17_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v17_vtadmin_proto_msgTypes[110].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_TabletResult); i { case 0: return &v.state diff --git a/gen/vitess/vtadmin/v17/vtadminv17connect/vtadmin.connect.go b/gen/vitess/vtadmin/v17/vtadminv17connect/vtadmin.connect.go index 7e1f7c4..4e0de71 100644 --- a/gen/vitess/vtadmin/v17/vtadminv17connect/vtadmin.connect.go +++ b/gen/vitess/vtadmin/v17/vtadminv17connect/vtadmin.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VTAdminName is the fully-qualified name of the VTAdmin service. @@ -167,6 +167,62 @@ const ( VTAdminVTExplainProcedure = "/vtadmin.VTAdmin/VTExplain" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vTAdminServiceDescriptor = v17.File_vitess_vtadmin_v17_vtadmin_proto.Services().ByName("VTAdmin") + vTAdminCreateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateKeyspace") + vTAdminCreateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateShard") + vTAdminDeleteKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteKeyspace") + vTAdminDeleteShardsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteShards") + vTAdminDeleteTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteTablet") + vTAdminEmergencyFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("EmergencyFailoverShard") + vTAdminFindSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("FindSchema") + vTAdminGetBackupsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetBackups") + vTAdminGetCellInfosMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellInfos") + vTAdminGetCellsAliasesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellsAliases") + vTAdminGetClustersMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetClusters") + vTAdminGetFullStatusMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetFullStatus") + vTAdminGetGatesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetGates") + vTAdminGetKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspace") + vTAdminGetKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspaces") + vTAdminGetSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchema") + vTAdminGetSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchemas") + vTAdminGetShardReplicationPositionsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetShardReplicationPositions") + vTAdminGetSrvKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspace") + vTAdminGetSrvKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vTAdminGetSrvVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchema") + vTAdminGetSrvVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vTAdminGetTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablet") + vTAdminGetTabletsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablets") + vTAdminGetTopologyPathMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTopologyPath") + vTAdminGetVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchema") + vTAdminGetVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchemas") + vTAdminGetVtctldsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVtctlds") + vTAdminGetWorkflowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflow") + vTAdminGetWorkflowsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflows") + vTAdminPingTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PingTablet") + vTAdminPlannedFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PlannedFailoverShard") + vTAdminRebuildKeyspaceGraphMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vTAdminRefreshStateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshState") + vTAdminRefreshTabletReplicationSourceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshTabletReplicationSource") + vTAdminReloadSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemas") + vTAdminReloadSchemaShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vTAdminRemoveKeyspaceCellMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vTAdminRunHealthCheckMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RunHealthCheck") + vTAdminSetReadOnlyMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadOnly") + vTAdminSetReadWriteMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadWrite") + vTAdminStartReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StartReplication") + vTAdminStopReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StopReplication") + vTAdminTabletExternallyPromotedMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("TabletExternallyPromoted") + vTAdminValidateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("Validate") + vTAdminValidateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateKeyspace") + vTAdminValidateSchemaKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vTAdminValidateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateShard") + vTAdminValidateVersionKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vTAdminValidateVersionShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionShard") + vTAdminVTExplainMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("VTExplain") +) + // VTAdminClient is a client for the vtadmin.VTAdmin service. type VTAdminClient interface { // CreateKeyspace creates a new keyspace in the given cluster. @@ -327,257 +383,308 @@ func NewVTAdminClient(httpClient connect.HTTPClient, baseURL string, opts ...con createKeyspace: connect.NewClient[v17.CreateKeyspaceRequest, v17.CreateKeyspaceResponse]( httpClient, baseURL+VTAdminCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), createShard: connect.NewClient[v17.CreateShardRequest, v171.CreateShardResponse]( httpClient, baseURL+VTAdminCreateShardProcedure, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteKeyspace: connect.NewClient[v17.DeleteKeyspaceRequest, v171.DeleteKeyspaceResponse]( httpClient, baseURL+VTAdminDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteShards: connect.NewClient[v17.DeleteShardsRequest, v171.DeleteShardsResponse]( httpClient, baseURL+VTAdminDeleteShardsProcedure, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteTablet: connect.NewClient[v17.DeleteTabletRequest, v17.DeleteTabletResponse]( httpClient, baseURL+VTAdminDeleteTabletProcedure, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), emergencyFailoverShard: connect.NewClient[v17.EmergencyFailoverShardRequest, v17.EmergencyFailoverShardResponse]( httpClient, baseURL+VTAdminEmergencyFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), findSchema: connect.NewClient[v17.FindSchemaRequest, v17.Schema]( httpClient, baseURL+VTAdminFindSchemaProcedure, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getBackups: connect.NewClient[v17.GetBackupsRequest, v17.GetBackupsResponse]( httpClient, baseURL+VTAdminGetBackupsProcedure, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellInfos: connect.NewClient[v17.GetCellInfosRequest, v17.GetCellInfosResponse]( httpClient, baseURL+VTAdminGetCellInfosProcedure, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellsAliases: connect.NewClient[v17.GetCellsAliasesRequest, v17.GetCellsAliasesResponse]( httpClient, baseURL+VTAdminGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), getClusters: connect.NewClient[v17.GetClustersRequest, v17.GetClustersResponse]( httpClient, baseURL+VTAdminGetClustersProcedure, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithClientOptions(opts...), ), getFullStatus: connect.NewClient[v17.GetFullStatusRequest, v171.GetFullStatusResponse]( httpClient, baseURL+VTAdminGetFullStatusProcedure, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), getGates: connect.NewClient[v17.GetGatesRequest, v17.GetGatesResponse]( httpClient, baseURL+VTAdminGetGatesProcedure, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspace: connect.NewClient[v17.GetKeyspaceRequest, v17.Keyspace]( httpClient, baseURL+VTAdminGetKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspaces: connect.NewClient[v17.GetKeyspacesRequest, v17.GetKeyspacesResponse]( httpClient, baseURL+VTAdminGetKeyspacesProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchema: connect.NewClient[v17.GetSchemaRequest, v17.Schema]( httpClient, baseURL+VTAdminGetSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchemas: connect.NewClient[v17.GetSchemasRequest, v17.GetSchemasResponse]( httpClient, baseURL+VTAdminGetSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getShardReplicationPositions: connect.NewClient[v17.GetShardReplicationPositionsRequest, v17.GetShardReplicationPositionsResponse]( httpClient, baseURL+VTAdminGetShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvKeyspace: connect.NewClient[v17.GetSrvKeyspaceRequest, v171.GetSrvKeyspacesResponse]( httpClient, baseURL+VTAdminGetSrvKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvKeyspaces: connect.NewClient[v17.GetSrvKeyspacesRequest, v17.GetSrvKeyspacesResponse]( httpClient, baseURL+VTAdminGetSrvKeyspacesProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchema: connect.NewClient[v17.GetSrvVSchemaRequest, v17.SrvVSchema]( httpClient, baseURL+VTAdminGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchemas: connect.NewClient[v17.GetSrvVSchemasRequest, v17.GetSrvVSchemasResponse]( httpClient, baseURL+VTAdminGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablet: connect.NewClient[v17.GetTabletRequest, v17.Tablet]( httpClient, baseURL+VTAdminGetTabletProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablets: connect.NewClient[v17.GetTabletsRequest, v17.GetTabletsResponse]( httpClient, baseURL+VTAdminGetTabletsProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), getTopologyPath: connect.NewClient[v17.GetTopologyPathRequest, v171.GetTopologyPathResponse]( httpClient, baseURL+VTAdminGetTopologyPathProcedure, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchema: connect.NewClient[v17.GetVSchemaRequest, v17.VSchema]( httpClient, baseURL+VTAdminGetVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchemas: connect.NewClient[v17.GetVSchemasRequest, v17.GetVSchemasResponse]( httpClient, baseURL+VTAdminGetVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getVtctlds: connect.NewClient[v17.GetVtctldsRequest, v17.GetVtctldsResponse]( httpClient, baseURL+VTAdminGetVtctldsProcedure, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflow: connect.NewClient[v17.GetWorkflowRequest, v17.Workflow]( httpClient, baseURL+VTAdminGetWorkflowProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflows: connect.NewClient[v17.GetWorkflowsRequest, v17.GetWorkflowsResponse]( httpClient, baseURL+VTAdminGetWorkflowsProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), pingTablet: connect.NewClient[v17.PingTabletRequest, v17.PingTabletResponse]( httpClient, baseURL+VTAdminPingTabletProcedure, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), plannedFailoverShard: connect.NewClient[v17.PlannedFailoverShardRequest, v17.PlannedFailoverShardResponse]( httpClient, baseURL+VTAdminPlannedFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), rebuildKeyspaceGraph: connect.NewClient[v17.RebuildKeyspaceGraphRequest, v17.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VTAdminRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshState: connect.NewClient[v17.RefreshStateRequest, v17.RefreshStateResponse]( httpClient, baseURL+VTAdminRefreshStateProcedure, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshTabletReplicationSource: connect.NewClient[v17.RefreshTabletReplicationSourceRequest, v17.RefreshTabletReplicationSourceResponse]( httpClient, baseURL+VTAdminRefreshTabletReplicationSourceProcedure, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemas: connect.NewClient[v17.ReloadSchemasRequest, v17.ReloadSchemasResponse]( httpClient, baseURL+VTAdminReloadSchemasProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemaShard: connect.NewClient[v17.ReloadSchemaShardRequest, v17.ReloadSchemaShardResponse]( httpClient, baseURL+VTAdminReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), removeKeyspaceCell: connect.NewClient[v17.RemoveKeyspaceCellRequest, v17.RemoveKeyspaceCellResponse]( httpClient, baseURL+VTAdminRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), ), runHealthCheck: connect.NewClient[v17.RunHealthCheckRequest, v17.RunHealthCheckResponse]( httpClient, baseURL+VTAdminRunHealthCheckProcedure, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadOnly: connect.NewClient[v17.SetReadOnlyRequest, v17.SetReadOnlyResponse]( httpClient, baseURL+VTAdminSetReadOnlyProcedure, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadWrite: connect.NewClient[v17.SetReadWriteRequest, v17.SetReadWriteResponse]( httpClient, baseURL+VTAdminSetReadWriteProcedure, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), ), startReplication: connect.NewClient[v17.StartReplicationRequest, v17.StartReplicationResponse]( httpClient, baseURL+VTAdminStartReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), stopReplication: connect.NewClient[v17.StopReplicationRequest, v17.StopReplicationResponse]( httpClient, baseURL+VTAdminStopReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), tabletExternallyPromoted: connect.NewClient[v17.TabletExternallyPromotedRequest, v17.TabletExternallyPromotedResponse]( httpClient, baseURL+VTAdminTabletExternallyPromotedProcedure, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), validate: connect.NewClient[v17.ValidateRequest, v171.ValidateResponse]( httpClient, baseURL+VTAdminValidateProcedure, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), validateKeyspace: connect.NewClient[v17.ValidateKeyspaceRequest, v171.ValidateKeyspaceResponse]( httpClient, baseURL+VTAdminValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateSchemaKeyspace: connect.NewClient[v17.ValidateSchemaKeyspaceRequest, v171.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VTAdminValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateShard: connect.NewClient[v17.ValidateShardRequest, v171.ValidateShardResponse]( httpClient, baseURL+VTAdminValidateShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionKeyspace: connect.NewClient[v17.ValidateVersionKeyspaceRequest, v171.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VTAdminValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionShard: connect.NewClient[v17.ValidateVersionShardRequest, v171.ValidateVersionShardResponse]( httpClient, baseURL+VTAdminValidateVersionShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), ), vTExplain: connect.NewClient[v17.VTExplainRequest, v17.VTExplainResponse]( httpClient, baseURL+VTAdminVTExplainProcedure, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithClientOptions(opts...), ), } } @@ -1048,257 +1155,308 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminCreateKeyspaceHandler := connect.NewUnaryHandler( VTAdminCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminCreateShardHandler := connect.NewUnaryHandler( VTAdminCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteKeyspaceHandler := connect.NewUnaryHandler( VTAdminDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteShardsHandler := connect.NewUnaryHandler( VTAdminDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteTabletHandler := connect.NewUnaryHandler( VTAdminDeleteTabletProcedure, svc.DeleteTablet, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminEmergencyFailoverShardHandler := connect.NewUnaryHandler( VTAdminEmergencyFailoverShardProcedure, svc.EmergencyFailoverShard, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminFindSchemaHandler := connect.NewUnaryHandler( VTAdminFindSchemaProcedure, svc.FindSchema, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetBackupsHandler := connect.NewUnaryHandler( VTAdminGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellInfosHandler := connect.NewUnaryHandler( VTAdminGetCellInfosProcedure, svc.GetCellInfos, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellsAliasesHandler := connect.NewUnaryHandler( VTAdminGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetClustersHandler := connect.NewUnaryHandler( VTAdminGetClustersProcedure, svc.GetClusters, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetFullStatusHandler := connect.NewUnaryHandler( VTAdminGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetGatesHandler := connect.NewUnaryHandler( VTAdminGetGatesProcedure, svc.GetGates, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspaceHandler := connect.NewUnaryHandler( VTAdminGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspacesHandler := connect.NewUnaryHandler( VTAdminGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemaHandler := connect.NewUnaryHandler( VTAdminGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemasHandler := connect.NewUnaryHandler( VTAdminGetSchemasProcedure, svc.GetSchemas, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetShardReplicationPositionsHandler := connect.NewUnaryHandler( VTAdminGetShardReplicationPositionsProcedure, svc.GetShardReplicationPositions, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvKeyspaceHandler := connect.NewUnaryHandler( VTAdminGetSrvKeyspaceProcedure, svc.GetSrvKeyspace, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvKeyspacesHandler := connect.NewUnaryHandler( VTAdminGetSrvKeyspacesProcedure, svc.GetSrvKeyspaces, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemaHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemasHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletHandler := connect.NewUnaryHandler( VTAdminGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletsHandler := connect.NewUnaryHandler( VTAdminGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTopologyPathHandler := connect.NewUnaryHandler( VTAdminGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemaHandler := connect.NewUnaryHandler( VTAdminGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemasHandler := connect.NewUnaryHandler( VTAdminGetVSchemasProcedure, svc.GetVSchemas, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVtctldsHandler := connect.NewUnaryHandler( VTAdminGetVtctldsProcedure, svc.GetVtctlds, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowHandler := connect.NewUnaryHandler( VTAdminGetWorkflowProcedure, svc.GetWorkflow, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowsHandler := connect.NewUnaryHandler( VTAdminGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPingTabletHandler := connect.NewUnaryHandler( VTAdminPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPlannedFailoverShardHandler := connect.NewUnaryHandler( VTAdminPlannedFailoverShardProcedure, svc.PlannedFailoverShard, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VTAdminRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshStateHandler := connect.NewUnaryHandler( VTAdminRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshTabletReplicationSourceHandler := connect.NewUnaryHandler( VTAdminRefreshTabletReplicationSourceProcedure, svc.RefreshTabletReplicationSource, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemasHandler := connect.NewUnaryHandler( VTAdminReloadSchemasProcedure, svc.ReloadSchemas, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemaShardHandler := connect.NewUnaryHandler( VTAdminReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VTAdminRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRunHealthCheckHandler := connect.NewUnaryHandler( VTAdminRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadOnlyHandler := connect.NewUnaryHandler( VTAdminSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadWriteHandler := connect.NewUnaryHandler( VTAdminSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStartReplicationHandler := connect.NewUnaryHandler( VTAdminStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStopReplicationHandler := connect.NewUnaryHandler( VTAdminStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminTabletExternallyPromotedHandler := connect.NewUnaryHandler( VTAdminTabletExternallyPromotedProcedure, svc.TabletExternallyPromoted, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateHandler := connect.NewUnaryHandler( VTAdminValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateShardHandler := connect.NewUnaryHandler( VTAdminValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionShardHandler := connect.NewUnaryHandler( VTAdminValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminVTExplainHandler := connect.NewUnaryHandler( VTAdminVTExplainProcedure, svc.VTExplain, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtadmin.VTAdmin/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { diff --git a/gen/vitess/vtadmin/v18/vtadmin.pb.go b/gen/vitess/vtadmin/v18/vtadmin.pb.go index 958bb4b..2ef79c7 100644 --- a/gen/vitess/vtadmin/v18/vtadmin.pb.go +++ b/gen/vitess/vtadmin/v18/vtadmin.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtadmin/v18/vtadmin.proto @@ -7483,7 +7483,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_rawDescGZIP() []byte { var file_vitess_vtadmin_v18_vtadmin_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtadmin_v18_vtadmin_proto_msgTypes = make([]protoimpl.MessageInfo, 111) -var file_vitess_vtadmin_v18_vtadmin_proto_goTypes = []interface{}{ +var file_vitess_vtadmin_v18_vtadmin_proto_goTypes = []any{ (Tablet_ServingState)(0), // 0: vitess.vtadmin.v18.Tablet.ServingState (*Cluster)(nil), // 1: vitess.vtadmin.v18.Cluster (*ClusterBackup)(nil), // 2: vitess.vtadmin.v18.ClusterBackup @@ -7845,7 +7845,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Cluster); i { case 0: return &v.state @@ -7857,7 +7857,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ClusterBackup); i { case 0: return &v.state @@ -7869,7 +7869,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ClusterCellsAliases); i { case 0: return &v.state @@ -7881,7 +7881,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ClusterCellInfo); i { case 0: return &v.state @@ -7893,7 +7893,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ClusterShardReplicationPosition); i { case 0: return &v.state @@ -7905,7 +7905,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ClusterWorkflows); i { case 0: return &v.state @@ -7917,7 +7917,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -7929,7 +7929,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Schema); i { case 0: return &v.state @@ -7941,7 +7941,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -7953,7 +7953,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SrvVSchema); i { case 0: return &v.state @@ -7965,7 +7965,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*Tablet); i { case 0: return &v.state @@ -7977,7 +7977,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*VSchema); i { case 0: return &v.state @@ -7989,7 +7989,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*Vtctld); i { case 0: return &v.state @@ -8001,7 +8001,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*VTGate); i { case 0: return &v.state @@ -8013,7 +8013,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*Workflow); i { case 0: return &v.state @@ -8025,7 +8025,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state @@ -8037,7 +8037,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state @@ -8049,7 +8049,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*CreateShardRequest); i { case 0: return &v.state @@ -8061,7 +8061,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state @@ -8073,7 +8073,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state @@ -8085,7 +8085,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletRequest); i { case 0: return &v.state @@ -8097,7 +8097,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletResponse); i { case 0: return &v.state @@ -8109,7 +8109,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardRequest); i { case 0: return &v.state @@ -8121,7 +8121,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*EmergencyFailoverShardResponse); i { case 0: return &v.state @@ -8133,7 +8133,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*FindSchemaRequest); i { case 0: return &v.state @@ -8145,7 +8145,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsRequest); i { case 0: return &v.state @@ -8157,7 +8157,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsResponse); i { case 0: return &v.state @@ -8169,7 +8169,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosRequest); i { case 0: return &v.state @@ -8181,7 +8181,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfosResponse); i { case 0: return &v.state @@ -8193,7 +8193,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state @@ -8205,7 +8205,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state @@ -8217,7 +8217,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*GetClustersRequest); i { case 0: return &v.state @@ -8229,7 +8229,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*GetClustersResponse); i { case 0: return &v.state @@ -8241,7 +8241,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state @@ -8253,7 +8253,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*GetGatesRequest); i { case 0: return &v.state @@ -8265,7 +8265,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*GetGatesResponse); i { case 0: return &v.state @@ -8277,7 +8277,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state @@ -8289,7 +8289,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state @@ -8301,7 +8301,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state @@ -8313,7 +8313,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -8325,7 +8325,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasRequest); i { case 0: return &v.state @@ -8337,7 +8337,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*GetSchemasResponse); i { case 0: return &v.state @@ -8349,7 +8349,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsRequest); i { case 0: return &v.state @@ -8361,7 +8361,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*GetShardReplicationPositionsResponse); i { case 0: return &v.state @@ -8373,7 +8373,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceRequest); i { case 0: return &v.state @@ -8385,7 +8385,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesRequest); i { case 0: return &v.state @@ -8397,7 +8397,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesResponse); i { case 0: return &v.state @@ -8409,7 +8409,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state @@ -8421,7 +8421,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state @@ -8433,7 +8433,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state @@ -8445,7 +8445,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaTableSizeOptions); i { case 0: return &v.state @@ -8457,7 +8457,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*GetTabletRequest); i { case 0: return &v.state @@ -8469,7 +8469,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsRequest); i { case 0: return &v.state @@ -8481,7 +8481,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsResponse); i { case 0: return &v.state @@ -8493,7 +8493,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state @@ -8505,7 +8505,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -8517,7 +8517,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasRequest); i { case 0: return &v.state @@ -8529,7 +8529,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemasResponse); i { case 0: return &v.state @@ -8541,7 +8541,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsRequest); i { case 0: return &v.state @@ -8553,7 +8553,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*GetVtctldsResponse); i { case 0: return &v.state @@ -8565,7 +8565,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowRequest); i { case 0: return &v.state @@ -8577,7 +8577,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -8589,7 +8589,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -8601,7 +8601,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -8613,7 +8613,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -8625,7 +8625,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardRequest); i { case 0: return &v.state @@ -8637,7 +8637,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*PlannedFailoverShardResponse); i { case 0: return &v.state @@ -8649,7 +8649,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -8661,7 +8661,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -8673,7 +8673,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -8685,7 +8685,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -8697,7 +8697,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasRequest); i { case 0: return &v.state @@ -8709,7 +8709,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse); i { case 0: return &v.state @@ -8721,7 +8721,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -8733,7 +8733,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -8745,7 +8745,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceRequest); i { case 0: return &v.state @@ -8757,7 +8757,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*RefreshTabletReplicationSourceResponse); i { case 0: return &v.state @@ -8769,7 +8769,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -8781,7 +8781,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -8793,7 +8793,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -8805,7 +8805,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -8817,7 +8817,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyRequest); i { case 0: return &v.state @@ -8829,7 +8829,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*SetReadOnlyResponse); i { case 0: return &v.state @@ -8841,7 +8841,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteRequest); i { case 0: return &v.state @@ -8853,7 +8853,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*SetReadWriteResponse); i { case 0: return &v.state @@ -8865,7 +8865,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -8877,7 +8877,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -8889,7 +8889,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -8901,7 +8901,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -8913,7 +8913,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedRequest); i { case 0: return &v.state @@ -8925,7 +8925,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyPromotedResponse); i { case 0: return &v.state @@ -8937,7 +8937,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -8949,7 +8949,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -8961,7 +8961,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -8973,7 +8973,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -8985,7 +8985,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -8997,7 +8997,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -9009,7 +9009,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -9021,7 +9021,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*VTExplainRequest); i { case 0: return &v.state @@ -9033,7 +9033,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*VTExplainResponse); i { case 0: return &v.state @@ -9045,7 +9045,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*Schema_ShardTableSize); i { case 0: return &v.state @@ -9057,7 +9057,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*Schema_TableSize); i { case 0: return &v.state @@ -9069,7 +9069,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[108].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_KeyspaceResult); i { case 0: return &v.state @@ -9081,7 +9081,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[109].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_ShardResult); i { case 0: return &v.state @@ -9093,7 +9093,7 @@ func file_vitess_vtadmin_v18_vtadmin_proto_init() { return nil } } - file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtadmin_v18_vtadmin_proto_msgTypes[110].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemasResponse_TabletResult); i { case 0: return &v.state diff --git a/gen/vitess/vtadmin/v18/vtadminv18connect/vtadmin.connect.go b/gen/vitess/vtadmin/v18/vtadminv18connect/vtadmin.connect.go index f2d22b9..85a57f1 100644 --- a/gen/vitess/vtadmin/v18/vtadminv18connect/vtadmin.connect.go +++ b/gen/vitess/vtadmin/v18/vtadminv18connect/vtadmin.connect.go @@ -35,7 +35,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VTAdminName is the fully-qualified name of the VTAdmin service. @@ -167,6 +167,62 @@ const ( VTAdminVTExplainProcedure = "/vtadmin.VTAdmin/VTExplain" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vTAdminServiceDescriptor = v18.File_vitess_vtadmin_v18_vtadmin_proto.Services().ByName("VTAdmin") + vTAdminCreateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateKeyspace") + vTAdminCreateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateShard") + vTAdminDeleteKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteKeyspace") + vTAdminDeleteShardsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteShards") + vTAdminDeleteTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteTablet") + vTAdminEmergencyFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("EmergencyFailoverShard") + vTAdminFindSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("FindSchema") + vTAdminGetBackupsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetBackups") + vTAdminGetCellInfosMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellInfos") + vTAdminGetCellsAliasesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellsAliases") + vTAdminGetClustersMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetClusters") + vTAdminGetFullStatusMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetFullStatus") + vTAdminGetGatesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetGates") + vTAdminGetKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspace") + vTAdminGetKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspaces") + vTAdminGetSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchema") + vTAdminGetSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchemas") + vTAdminGetShardReplicationPositionsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetShardReplicationPositions") + vTAdminGetSrvKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspace") + vTAdminGetSrvKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vTAdminGetSrvVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchema") + vTAdminGetSrvVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vTAdminGetTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablet") + vTAdminGetTabletsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablets") + vTAdminGetTopologyPathMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTopologyPath") + vTAdminGetVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchema") + vTAdminGetVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchemas") + vTAdminGetVtctldsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVtctlds") + vTAdminGetWorkflowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflow") + vTAdminGetWorkflowsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflows") + vTAdminPingTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PingTablet") + vTAdminPlannedFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PlannedFailoverShard") + vTAdminRebuildKeyspaceGraphMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vTAdminRefreshStateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshState") + vTAdminRefreshTabletReplicationSourceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshTabletReplicationSource") + vTAdminReloadSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemas") + vTAdminReloadSchemaShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vTAdminRemoveKeyspaceCellMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vTAdminRunHealthCheckMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RunHealthCheck") + vTAdminSetReadOnlyMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadOnly") + vTAdminSetReadWriteMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadWrite") + vTAdminStartReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StartReplication") + vTAdminStopReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StopReplication") + vTAdminTabletExternallyPromotedMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("TabletExternallyPromoted") + vTAdminValidateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("Validate") + vTAdminValidateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateKeyspace") + vTAdminValidateSchemaKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vTAdminValidateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateShard") + vTAdminValidateVersionKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vTAdminValidateVersionShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionShard") + vTAdminVTExplainMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("VTExplain") +) + // VTAdminClient is a client for the vtadmin.VTAdmin service. type VTAdminClient interface { // CreateKeyspace creates a new keyspace in the given cluster. @@ -327,257 +383,308 @@ func NewVTAdminClient(httpClient connect.HTTPClient, baseURL string, opts ...con createKeyspace: connect.NewClient[v18.CreateKeyspaceRequest, v18.CreateKeyspaceResponse]( httpClient, baseURL+VTAdminCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), createShard: connect.NewClient[v18.CreateShardRequest, v181.CreateShardResponse]( httpClient, baseURL+VTAdminCreateShardProcedure, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteKeyspace: connect.NewClient[v18.DeleteKeyspaceRequest, v181.DeleteKeyspaceResponse]( httpClient, baseURL+VTAdminDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteShards: connect.NewClient[v18.DeleteShardsRequest, v181.DeleteShardsResponse]( httpClient, baseURL+VTAdminDeleteShardsProcedure, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), deleteTablet: connect.NewClient[v18.DeleteTabletRequest, v18.DeleteTabletResponse]( httpClient, baseURL+VTAdminDeleteTabletProcedure, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), emergencyFailoverShard: connect.NewClient[v18.EmergencyFailoverShardRequest, v18.EmergencyFailoverShardResponse]( httpClient, baseURL+VTAdminEmergencyFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), findSchema: connect.NewClient[v18.FindSchemaRequest, v18.Schema]( httpClient, baseURL+VTAdminFindSchemaProcedure, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getBackups: connect.NewClient[v18.GetBackupsRequest, v18.GetBackupsResponse]( httpClient, baseURL+VTAdminGetBackupsProcedure, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellInfos: connect.NewClient[v18.GetCellInfosRequest, v18.GetCellInfosResponse]( httpClient, baseURL+VTAdminGetCellInfosProcedure, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithClientOptions(opts...), ), getCellsAliases: connect.NewClient[v18.GetCellsAliasesRequest, v18.GetCellsAliasesResponse]( httpClient, baseURL+VTAdminGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), getClusters: connect.NewClient[v18.GetClustersRequest, v18.GetClustersResponse]( httpClient, baseURL+VTAdminGetClustersProcedure, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithClientOptions(opts...), ), getFullStatus: connect.NewClient[v18.GetFullStatusRequest, v181.GetFullStatusResponse]( httpClient, baseURL+VTAdminGetFullStatusProcedure, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), getGates: connect.NewClient[v18.GetGatesRequest, v18.GetGatesResponse]( httpClient, baseURL+VTAdminGetGatesProcedure, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspace: connect.NewClient[v18.GetKeyspaceRequest, v18.Keyspace]( httpClient, baseURL+VTAdminGetKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), getKeyspaces: connect.NewClient[v18.GetKeyspacesRequest, v18.GetKeyspacesResponse]( httpClient, baseURL+VTAdminGetKeyspacesProcedure, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchema: connect.NewClient[v18.GetSchemaRequest, v18.Schema]( httpClient, baseURL+VTAdminGetSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSchemas: connect.NewClient[v18.GetSchemasRequest, v18.GetSchemasResponse]( httpClient, baseURL+VTAdminGetSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getShardReplicationPositions: connect.NewClient[v18.GetShardReplicationPositionsRequest, v18.GetShardReplicationPositionsResponse]( httpClient, baseURL+VTAdminGetShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvKeyspace: connect.NewClient[v18.GetSrvKeyspaceRequest, v181.GetSrvKeyspacesResponse]( httpClient, baseURL+VTAdminGetSrvKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvKeyspaces: connect.NewClient[v18.GetSrvKeyspacesRequest, v18.GetSrvKeyspacesResponse]( httpClient, baseURL+VTAdminGetSrvKeyspacesProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchema: connect.NewClient[v18.GetSrvVSchemaRequest, v18.SrvVSchema]( httpClient, baseURL+VTAdminGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getSrvVSchemas: connect.NewClient[v18.GetSrvVSchemasRequest, v18.GetSrvVSchemasResponse]( httpClient, baseURL+VTAdminGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablet: connect.NewClient[v18.GetTabletRequest, v18.Tablet]( httpClient, baseURL+VTAdminGetTabletProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), getTablets: connect.NewClient[v18.GetTabletsRequest, v18.GetTabletsResponse]( httpClient, baseURL+VTAdminGetTabletsProcedure, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), getTopologyPath: connect.NewClient[v18.GetTopologyPathRequest, v181.GetTopologyPathResponse]( httpClient, baseURL+VTAdminGetTopologyPathProcedure, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchema: connect.NewClient[v18.GetVSchemaRequest, v18.VSchema]( httpClient, baseURL+VTAdminGetVSchemaProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), getVSchemas: connect.NewClient[v18.GetVSchemasRequest, v18.GetVSchemasResponse]( httpClient, baseURL+VTAdminGetVSchemasProcedure, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), getVtctlds: connect.NewClient[v18.GetVtctldsRequest, v18.GetVtctldsResponse]( httpClient, baseURL+VTAdminGetVtctldsProcedure, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflow: connect.NewClient[v18.GetWorkflowRequest, v18.Workflow]( httpClient, baseURL+VTAdminGetWorkflowProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), ), getWorkflows: connect.NewClient[v18.GetWorkflowsRequest, v18.GetWorkflowsResponse]( httpClient, baseURL+VTAdminGetWorkflowsProcedure, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), pingTablet: connect.NewClient[v18.PingTabletRequest, v18.PingTabletResponse]( httpClient, baseURL+VTAdminPingTabletProcedure, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), plannedFailoverShard: connect.NewClient[v18.PlannedFailoverShardRequest, v18.PlannedFailoverShardResponse]( httpClient, baseURL+VTAdminPlannedFailoverShardProcedure, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), ), rebuildKeyspaceGraph: connect.NewClient[v18.RebuildKeyspaceGraphRequest, v18.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VTAdminRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshState: connect.NewClient[v18.RefreshStateRequest, v18.RefreshStateResponse]( httpClient, baseURL+VTAdminRefreshStateProcedure, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), refreshTabletReplicationSource: connect.NewClient[v18.RefreshTabletReplicationSourceRequest, v18.RefreshTabletReplicationSourceResponse]( httpClient, baseURL+VTAdminRefreshTabletReplicationSourceProcedure, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemas: connect.NewClient[v18.ReloadSchemasRequest, v18.ReloadSchemasResponse]( httpClient, baseURL+VTAdminReloadSchemasProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), reloadSchemaShard: connect.NewClient[v18.ReloadSchemaShardRequest, v18.ReloadSchemaShardResponse]( httpClient, baseURL+VTAdminReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), removeKeyspaceCell: connect.NewClient[v18.RemoveKeyspaceCellRequest, v18.RemoveKeyspaceCellResponse]( httpClient, baseURL+VTAdminRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), ), runHealthCheck: connect.NewClient[v18.RunHealthCheckRequest, v18.RunHealthCheckResponse]( httpClient, baseURL+VTAdminRunHealthCheckProcedure, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadOnly: connect.NewClient[v18.SetReadOnlyRequest, v18.SetReadOnlyResponse]( httpClient, baseURL+VTAdminSetReadOnlyProcedure, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), ), setReadWrite: connect.NewClient[v18.SetReadWriteRequest, v18.SetReadWriteResponse]( httpClient, baseURL+VTAdminSetReadWriteProcedure, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), ), startReplication: connect.NewClient[v18.StartReplicationRequest, v18.StartReplicationResponse]( httpClient, baseURL+VTAdminStartReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), stopReplication: connect.NewClient[v18.StopReplicationRequest, v18.StopReplicationResponse]( httpClient, baseURL+VTAdminStopReplicationProcedure, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), tabletExternallyPromoted: connect.NewClient[v18.TabletExternallyPromotedRequest, v18.TabletExternallyPromotedResponse]( httpClient, baseURL+VTAdminTabletExternallyPromotedProcedure, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithClientOptions(opts...), ), validate: connect.NewClient[v18.ValidateRequest, v181.ValidateResponse]( httpClient, baseURL+VTAdminValidateProcedure, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), validateKeyspace: connect.NewClient[v18.ValidateKeyspaceRequest, v181.ValidateKeyspaceResponse]( httpClient, baseURL+VTAdminValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateSchemaKeyspace: connect.NewClient[v18.ValidateSchemaKeyspaceRequest, v181.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VTAdminValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateShard: connect.NewClient[v18.ValidateShardRequest, v181.ValidateShardResponse]( httpClient, baseURL+VTAdminValidateShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionKeyspace: connect.NewClient[v18.ValidateVersionKeyspaceRequest, v181.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VTAdminValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), validateVersionShard: connect.NewClient[v18.ValidateVersionShardRequest, v181.ValidateVersionShardResponse]( httpClient, baseURL+VTAdminValidateVersionShardProcedure, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), ), vTExplain: connect.NewClient[v18.VTExplainRequest, v18.VTExplainResponse]( httpClient, baseURL+VTAdminVTExplainProcedure, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithClientOptions(opts...), ), } } @@ -1048,257 +1155,308 @@ func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (strin vTAdminCreateKeyspaceHandler := connect.NewUnaryHandler( VTAdminCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminCreateShardHandler := connect.NewUnaryHandler( VTAdminCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteKeyspaceHandler := connect.NewUnaryHandler( VTAdminDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteShardsHandler := connect.NewUnaryHandler( VTAdminDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminDeleteTabletHandler := connect.NewUnaryHandler( VTAdminDeleteTabletProcedure, svc.DeleteTablet, - opts..., + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminEmergencyFailoverShardHandler := connect.NewUnaryHandler( VTAdminEmergencyFailoverShardProcedure, svc.EmergencyFailoverShard, - opts..., + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminFindSchemaHandler := connect.NewUnaryHandler( VTAdminFindSchemaProcedure, svc.FindSchema, - opts..., + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetBackupsHandler := connect.NewUnaryHandler( VTAdminGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellInfosHandler := connect.NewUnaryHandler( VTAdminGetCellInfosProcedure, svc.GetCellInfos, - opts..., + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetCellsAliasesHandler := connect.NewUnaryHandler( VTAdminGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetClustersHandler := connect.NewUnaryHandler( VTAdminGetClustersProcedure, svc.GetClusters, - opts..., + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetFullStatusHandler := connect.NewUnaryHandler( VTAdminGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetGatesHandler := connect.NewUnaryHandler( VTAdminGetGatesProcedure, svc.GetGates, - opts..., + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspaceHandler := connect.NewUnaryHandler( VTAdminGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetKeyspacesHandler := connect.NewUnaryHandler( VTAdminGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemaHandler := connect.NewUnaryHandler( VTAdminGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSchemasHandler := connect.NewUnaryHandler( VTAdminGetSchemasProcedure, svc.GetSchemas, - opts..., + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetShardReplicationPositionsHandler := connect.NewUnaryHandler( VTAdminGetShardReplicationPositionsProcedure, svc.GetShardReplicationPositions, - opts..., + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvKeyspaceHandler := connect.NewUnaryHandler( VTAdminGetSrvKeyspaceProcedure, svc.GetSrvKeyspace, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvKeyspacesHandler := connect.NewUnaryHandler( VTAdminGetSrvKeyspacesProcedure, svc.GetSrvKeyspaces, - opts..., + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemaHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetSrvVSchemasHandler := connect.NewUnaryHandler( VTAdminGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletHandler := connect.NewUnaryHandler( VTAdminGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTabletsHandler := connect.NewUnaryHandler( VTAdminGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetTopologyPathHandler := connect.NewUnaryHandler( VTAdminGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemaHandler := connect.NewUnaryHandler( VTAdminGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVSchemasHandler := connect.NewUnaryHandler( VTAdminGetVSchemasProcedure, svc.GetVSchemas, - opts..., + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetVtctldsHandler := connect.NewUnaryHandler( VTAdminGetVtctldsProcedure, svc.GetVtctlds, - opts..., + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowHandler := connect.NewUnaryHandler( VTAdminGetWorkflowProcedure, svc.GetWorkflow, - opts..., + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminGetWorkflowsHandler := connect.NewUnaryHandler( VTAdminGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPingTabletHandler := connect.NewUnaryHandler( VTAdminPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminPlannedFailoverShardHandler := connect.NewUnaryHandler( VTAdminPlannedFailoverShardProcedure, svc.PlannedFailoverShard, - opts..., + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VTAdminRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshStateHandler := connect.NewUnaryHandler( VTAdminRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRefreshTabletReplicationSourceHandler := connect.NewUnaryHandler( VTAdminRefreshTabletReplicationSourceProcedure, svc.RefreshTabletReplicationSource, - opts..., + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemasHandler := connect.NewUnaryHandler( VTAdminReloadSchemasProcedure, svc.ReloadSchemas, - opts..., + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminReloadSchemaShardHandler := connect.NewUnaryHandler( VTAdminReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VTAdminRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminRunHealthCheckHandler := connect.NewUnaryHandler( VTAdminRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadOnlyHandler := connect.NewUnaryHandler( VTAdminSetReadOnlyProcedure, svc.SetReadOnly, - opts..., + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminSetReadWriteHandler := connect.NewUnaryHandler( VTAdminSetReadWriteProcedure, svc.SetReadWrite, - opts..., + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStartReplicationHandler := connect.NewUnaryHandler( VTAdminStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminStopReplicationHandler := connect.NewUnaryHandler( VTAdminStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminTabletExternallyPromotedHandler := connect.NewUnaryHandler( VTAdminTabletExternallyPromotedProcedure, svc.TabletExternallyPromoted, - opts..., + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateHandler := connect.NewUnaryHandler( VTAdminValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateShardHandler := connect.NewUnaryHandler( VTAdminValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VTAdminValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminValidateVersionShardHandler := connect.NewUnaryHandler( VTAdminValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vTAdminVTExplainHandler := connect.NewUnaryHandler( VTAdminVTExplainProcedure, svc.VTExplain, - opts..., + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtadmin.VTAdmin/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { diff --git a/gen/vitess/vtadmin/v19/vtadmin.pb.go b/gen/vitess/vtadmin/v19/vtadmin.pb.go new file mode 100644 index 0000000..4c29b7d --- /dev/null +++ b/gen/vitess/vtadmin/v19/vtadmin.pb.go @@ -0,0 +1,9971 @@ +// +//Copyright 2020 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This package contains the types used by VTAdmin (and later an RPC service). + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vtadmin/v19/vtadmin.proto + +package vtadminv19 + +import ( + v195 "github.com/planetscale/vitess-types/gen/vitess/logutil/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/v19" + v193 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v194 "github.com/planetscale/vitess-types/gen/vitess/vschema/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Tablet_ServingState int32 + +const ( + Tablet_UNKNOWN Tablet_ServingState = 0 + Tablet_SERVING Tablet_ServingState = 1 + Tablet_NOT_SERVING Tablet_ServingState = 2 +) + +// Enum value maps for Tablet_ServingState. +var ( + Tablet_ServingState_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SERVING", + 2: "NOT_SERVING", + } + Tablet_ServingState_value = map[string]int32{ + "UNKNOWN": 0, + "SERVING": 1, + "NOT_SERVING": 2, + } +) + +func (x Tablet_ServingState) Enum() *Tablet_ServingState { + p := new(Tablet_ServingState) + *p = x + return p +} + +func (x Tablet_ServingState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Tablet_ServingState) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtadmin_v19_vtadmin_proto_enumTypes[0].Descriptor() +} + +func (Tablet_ServingState) Type() protoreflect.EnumType { + return &file_vitess_vtadmin_v19_vtadmin_proto_enumTypes[0] +} + +func (x Tablet_ServingState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Tablet_ServingState.Descriptor instead. +func (Tablet_ServingState) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{11, 0} +} + +// Cluster represents information about a Vitess cluster. +type Cluster struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *Cluster) Reset() { + *x = Cluster{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Cluster) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Cluster) ProtoMessage() {} + +func (x *Cluster) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Cluster.ProtoReflect.Descriptor instead. +func (*Cluster) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{0} +} + +func (x *Cluster) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *Cluster) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type ClusterBackup struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Backup *v19.BackupInfo `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"` +} + +func (x *ClusterBackup) Reset() { + *x = ClusterBackup{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClusterBackup) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClusterBackup) ProtoMessage() {} + +func (x *ClusterBackup) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClusterBackup.ProtoReflect.Descriptor instead. +func (*ClusterBackup) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{1} +} + +func (x *ClusterBackup) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *ClusterBackup) GetBackup() *v19.BackupInfo { + if x != nil { + return x.Backup + } + return nil +} + +type ClusterCellsAliases struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Aliases map[string]*v191.CellsAlias `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ClusterCellsAliases) Reset() { + *x = ClusterCellsAliases{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClusterCellsAliases) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClusterCellsAliases) ProtoMessage() {} + +func (x *ClusterCellsAliases) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClusterCellsAliases.ProtoReflect.Descriptor instead. +func (*ClusterCellsAliases) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{2} +} + +func (x *ClusterCellsAliases) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *ClusterCellsAliases) GetAliases() map[string]*v191.CellsAlias { + if x != nil { + return x.Aliases + } + return nil +} + +type ClusterCellInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // CellInfo contains the data for the cell. + // + // It may be nil if the GetCellsInfosRequest specified NamesOnly. + CellInfo *v191.CellInfo `protobuf:"bytes,3,opt,name=cell_info,json=cellInfo,proto3" json:"cell_info,omitempty"` +} + +func (x *ClusterCellInfo) Reset() { + *x = ClusterCellInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClusterCellInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClusterCellInfo) ProtoMessage() {} + +func (x *ClusterCellInfo) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClusterCellInfo.ProtoReflect.Descriptor instead. +func (*ClusterCellInfo) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{3} +} + +func (x *ClusterCellInfo) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *ClusterCellInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ClusterCellInfo) GetCellInfo() *v191.CellInfo { + if x != nil { + return x.CellInfo + } + return nil +} + +type ClusterShardReplicationPosition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + PositionInfo *v192.ShardReplicationPositionsResponse `protobuf:"bytes,4,opt,name=position_info,json=positionInfo,proto3" json:"position_info,omitempty"` +} + +func (x *ClusterShardReplicationPosition) Reset() { + *x = ClusterShardReplicationPosition{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClusterShardReplicationPosition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClusterShardReplicationPosition) ProtoMessage() {} + +func (x *ClusterShardReplicationPosition) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClusterShardReplicationPosition.ProtoReflect.Descriptor instead. +func (*ClusterShardReplicationPosition) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{4} +} + +func (x *ClusterShardReplicationPosition) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *ClusterShardReplicationPosition) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ClusterShardReplicationPosition) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ClusterShardReplicationPosition) GetPositionInfo() *v192.ShardReplicationPositionsResponse { + if x != nil { + return x.PositionInfo + } + return nil +} + +type ClusterWorkflows struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"` + // Warnings is a list of non-fatal errors encountered when fetching + // workflows for a particular cluster. + Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` +} + +func (x *ClusterWorkflows) Reset() { + *x = ClusterWorkflows{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClusterWorkflows) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClusterWorkflows) ProtoMessage() {} + +func (x *ClusterWorkflows) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClusterWorkflows.ProtoReflect.Descriptor instead. +func (*ClusterWorkflows) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{5} +} + +func (x *ClusterWorkflows) GetWorkflows() []*Workflow { + if x != nil { + return x.Workflows + } + return nil +} + +func (x *ClusterWorkflows) GetWarnings() []string { + if x != nil { + return x.Warnings + } + return nil +} + +// Keyspace represents information about a keyspace in a particular Vitess +// cluster. +type Keyspace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace *v192.Keyspace `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shards map[string]*v192.Shard `protobuf:"bytes,3,rep,name=shards,proto3" json:"shards,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *Keyspace) Reset() { + *x = Keyspace{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Keyspace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Keyspace) ProtoMessage() {} + +func (x *Keyspace) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Keyspace.ProtoReflect.Descriptor instead. +func (*Keyspace) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{6} +} + +func (x *Keyspace) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *Keyspace) GetKeyspace() *v192.Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +func (x *Keyspace) GetShards() map[string]*v192.Shard { + if x != nil { + return x.Shards + } + return nil +} + +type Schema struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + TableDefinitions []*v193.TableDefinition `protobuf:"bytes,3,rep,name=table_definitions,json=tableDefinitions,proto3" json:"table_definitions,omitempty"` + // TableSizes is a mapping of table name to TableSize information. + TableSizes map[string]*Schema_TableSize `protobuf:"bytes,4,rep,name=table_sizes,json=tableSizes,proto3" json:"table_sizes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *Schema) Reset() { + *x = Schema{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Schema) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Schema) ProtoMessage() {} + +func (x *Schema) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Schema.ProtoReflect.Descriptor instead. +func (*Schema) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{7} +} + +func (x *Schema) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *Schema) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *Schema) GetTableDefinitions() []*v193.TableDefinition { + if x != nil { + return x.TableDefinitions + } + return nil +} + +func (x *Schema) GetTableSizes() map[string]*Schema_TableSize { + if x != nil { + return x.TableSizes + } + return nil +} + +type SchemaMigration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + SchemaMigration *v192.SchemaMigration `protobuf:"bytes,2,opt,name=schema_migration,json=schemaMigration,proto3" json:"schema_migration,omitempty"` +} + +func (x *SchemaMigration) Reset() { + *x = SchemaMigration{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SchemaMigration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SchemaMigration) ProtoMessage() {} + +func (x *SchemaMigration) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SchemaMigration.ProtoReflect.Descriptor instead. +func (*SchemaMigration) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{8} +} + +func (x *SchemaMigration) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *SchemaMigration) GetSchemaMigration() *v192.SchemaMigration { + if x != nil { + return x.SchemaMigration + } + return nil +} + +// Shard groups the vtctldata information about a shard record together with +// the Vitess cluster it belongs to. +type Shard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Shard *v192.Shard `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *Shard) Reset() { + *x = Shard{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shard) ProtoMessage() {} + +func (x *Shard) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Shard.ProtoReflect.Descriptor instead. +func (*Shard) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{9} +} + +func (x *Shard) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *Shard) GetShard() *v192.Shard { + if x != nil { + return x.Shard + } + return nil +} + +type SrvVSchema struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cell string `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + SrvVSchema *v194.SrvVSchema `protobuf:"bytes,3,opt,name=srv_v_schema,json=srvVSchema,proto3" json:"srv_v_schema,omitempty"` +} + +func (x *SrvVSchema) Reset() { + *x = SrvVSchema{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SrvVSchema) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SrvVSchema) ProtoMessage() {} + +func (x *SrvVSchema) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SrvVSchema.ProtoReflect.Descriptor instead. +func (*SrvVSchema) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{10} +} + +func (x *SrvVSchema) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *SrvVSchema) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *SrvVSchema) GetSrvVSchema() *v194.SrvVSchema { + if x != nil { + return x.SrvVSchema + } + return nil +} + +// Tablet groups the topo information of a tablet together with the Vitess +// cluster it belongs to. +type Tablet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Tablet *v191.Tablet `protobuf:"bytes,2,opt,name=tablet,proto3" json:"tablet,omitempty"` + State Tablet_ServingState `protobuf:"varint,3,opt,name=state,proto3,enum=vitess.vtadmin.v19.Tablet_ServingState" json:"state,omitempty"` + FQDN string `protobuf:"bytes,4,opt,name=FQDN,proto3" json:"FQDN,omitempty"` +} + +func (x *Tablet) Reset() { + *x = Tablet{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Tablet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Tablet) ProtoMessage() {} + +func (x *Tablet) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Tablet.ProtoReflect.Descriptor instead. +func (*Tablet) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{11} +} + +func (x *Tablet) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *Tablet) GetTablet() *v191.Tablet { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *Tablet) GetState() Tablet_ServingState { + if x != nil { + return x.State + } + return Tablet_UNKNOWN +} + +func (x *Tablet) GetFQDN() string { + if x != nil { + return x.FQDN + } + return "" +} + +// VSchema represents the vschema for a keyspace in the cluster it belongs to. +type VSchema struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + // Name is the name of the keyspace this VSchema is for. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + VSchema *v194.Keyspace `protobuf:"bytes,3,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` +} + +func (x *VSchema) Reset() { + *x = VSchema{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VSchema) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VSchema) ProtoMessage() {} + +func (x *VSchema) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VSchema.ProtoReflect.Descriptor instead. +func (*VSchema) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{12} +} + +func (x *VSchema) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *VSchema) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *VSchema) GetVSchema() *v194.Keyspace { + if x != nil { + return x.VSchema + } + return nil +} + +// Vtctld represents information about a single Vtctld host. +type Vtctld struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` + FQDN string `protobuf:"bytes,3,opt,name=FQDN,proto3" json:"FQDN,omitempty"` +} + +func (x *Vtctld) Reset() { + *x = Vtctld{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Vtctld) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Vtctld) ProtoMessage() {} + +func (x *Vtctld) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Vtctld.ProtoReflect.Descriptor instead. +func (*Vtctld) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{13} +} + +func (x *Vtctld) GetHostname() string { + if x != nil { + return x.Hostname + } + return "" +} + +func (x *Vtctld) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *Vtctld) GetFQDN() string { + if x != nil { + return x.FQDN + } + return "" +} + +// VTGate represents information about a single VTGate host. +type VTGate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Hostname is the shortname of the VTGate. + Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` + // Pool is group the VTGate serves queries for. Some deployments segment + // VTGates into groups or pools, based on the workloads they serve queries + // for. Use of this field is optional. + Pool string `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` + // Cell is the topology cell the VTGate is in. + Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` + // Cluster is the cluster the VTGate serves. + Cluster *Cluster `protobuf:"bytes,4,opt,name=cluster,proto3" json:"cluster,omitempty"` + // Keyspaces is the list of keyspaces-to-watch for the VTGate. + Keyspaces []string `protobuf:"bytes,5,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + FQDN string `protobuf:"bytes,6,opt,name=FQDN,proto3" json:"FQDN,omitempty"` +} + +func (x *VTGate) Reset() { + *x = VTGate{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VTGate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VTGate) ProtoMessage() {} + +func (x *VTGate) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VTGate.ProtoReflect.Descriptor instead. +func (*VTGate) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{14} +} + +func (x *VTGate) GetHostname() string { + if x != nil { + return x.Hostname + } + return "" +} + +func (x *VTGate) GetPool() string { + if x != nil { + return x.Pool + } + return "" +} + +func (x *VTGate) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *VTGate) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *VTGate) GetKeyspaces() []string { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *VTGate) GetFQDN() string { + if x != nil { + return x.FQDN + } + return "" +} + +type Workflow struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow *v192.Workflow `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` +} + +func (x *Workflow) Reset() { + *x = Workflow{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow) ProtoMessage() {} + +func (x *Workflow) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow.ProtoReflect.Descriptor instead. +func (*Workflow) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{15} +} + +func (x *Workflow) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *Workflow) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *Workflow) GetWorkflow() *v192.Workflow { + if x != nil { + return x.Workflow + } + return nil +} + +type ApplySchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *v192.ApplySchemaRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *ApplySchemaRequest) Reset() { + *x = ApplySchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplySchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplySchemaRequest) ProtoMessage() {} + +func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplySchemaRequest.ProtoReflect.Descriptor instead. +func (*ApplySchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{16} +} + +func (x *ApplySchemaRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ApplySchemaRequest) GetRequest() *v192.ApplySchemaRequest { + if x != nil { + return x.Request + } + return nil +} + +type CancelSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *v192.CancelSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *CancelSchemaMigrationRequest) Reset() { + *x = CancelSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelSchemaMigrationRequest) ProtoMessage() {} + +func (x *CancelSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CancelSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{17} +} + +func (x *CancelSchemaMigrationRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *CancelSchemaMigrationRequest) GetRequest() *v192.CancelSchemaMigrationRequest { + if x != nil { + return x.Request + } + return nil +} + +type CleanupSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *v192.CleanupSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *CleanupSchemaMigrationRequest) Reset() { + *x = CleanupSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CleanupSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CleanupSchemaMigrationRequest) ProtoMessage() {} + +func (x *CleanupSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CleanupSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CleanupSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{18} +} + +func (x *CleanupSchemaMigrationRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *CleanupSchemaMigrationRequest) GetRequest() *v192.CleanupSchemaMigrationRequest { + if x != nil { + return x.Request + } + return nil +} + +type CompleteSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *v192.CompleteSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *CompleteSchemaMigrationRequest) Reset() { + *x = CompleteSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompleteSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompleteSchemaMigrationRequest) ProtoMessage() {} + +func (x *CompleteSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompleteSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CompleteSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{19} +} + +func (x *CompleteSchemaMigrationRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *CompleteSchemaMigrationRequest) GetRequest() *v192.CompleteSchemaMigrationRequest { + if x != nil { + return x.Request + } + return nil +} + +type CreateKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *v192.CreateKeyspaceRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *CreateKeyspaceRequest) Reset() { + *x = CreateKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateKeyspaceRequest) ProtoMessage() {} + +func (x *CreateKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*CreateKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{20} +} + +func (x *CreateKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *CreateKeyspaceRequest) GetOptions() *v192.CreateKeyspaceRequest { + if x != nil { + return x.Options + } + return nil +} + +type CreateKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *CreateKeyspaceResponse) Reset() { + *x = CreateKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateKeyspaceResponse) ProtoMessage() {} + +func (x *CreateKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*CreateKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{21} +} + +func (x *CreateKeyspaceResponse) GetKeyspace() *Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +type CreateShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *v192.CreateShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *CreateShardRequest) Reset() { + *x = CreateShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateShardRequest) ProtoMessage() {} + +func (x *CreateShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateShardRequest.ProtoReflect.Descriptor instead. +func (*CreateShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{22} +} + +func (x *CreateShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *CreateShardRequest) GetOptions() *v192.CreateShardRequest { + if x != nil { + return x.Options + } + return nil +} + +type DeleteKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *v192.DeleteKeyspaceRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *DeleteKeyspaceRequest) Reset() { + *x = DeleteKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteKeyspaceRequest) ProtoMessage() {} + +func (x *DeleteKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*DeleteKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{23} +} + +func (x *DeleteKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *DeleteKeyspaceRequest) GetOptions() *v192.DeleteKeyspaceRequest { + if x != nil { + return x.Options + } + return nil +} + +type DeleteShardsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *v192.DeleteShardsRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *DeleteShardsRequest) Reset() { + *x = DeleteShardsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteShardsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteShardsRequest) ProtoMessage() {} + +func (x *DeleteShardsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteShardsRequest.ProtoReflect.Descriptor instead. +func (*DeleteShardsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{24} +} + +func (x *DeleteShardsRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *DeleteShardsRequest) GetOptions() *v192.DeleteShardsRequest { + if x != nil { + return x.Options + } + return nil +} + +type DeleteTabletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + AllowPrimary bool `protobuf:"varint,3,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` +} + +func (x *DeleteTabletRequest) Reset() { + *x = DeleteTabletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteTabletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteTabletRequest) ProtoMessage() {} + +func (x *DeleteTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteTabletRequest.ProtoReflect.Descriptor instead. +func (*DeleteTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{25} +} + +func (x *DeleteTabletRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *DeleteTabletRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *DeleteTabletRequest) GetAllowPrimary() bool { + if x != nil { + return x.AllowPrimary + } + return false +} + +type DeleteTabletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *DeleteTabletResponse) Reset() { + *x = DeleteTabletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteTabletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteTabletResponse) ProtoMessage() {} + +func (x *DeleteTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteTabletResponse.ProtoReflect.Descriptor instead. +func (*DeleteTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{26} +} + +func (x *DeleteTabletResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *DeleteTabletResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type EmergencyFailoverShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *v192.EmergencyReparentShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *EmergencyFailoverShardRequest) Reset() { + *x = EmergencyFailoverShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmergencyFailoverShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmergencyFailoverShardRequest) ProtoMessage() {} + +func (x *EmergencyFailoverShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EmergencyFailoverShardRequest.ProtoReflect.Descriptor instead. +func (*EmergencyFailoverShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{27} +} + +func (x *EmergencyFailoverShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *EmergencyFailoverShardRequest) GetOptions() *v192.EmergencyReparentShardRequest { + if x != nil { + return x.Options + } + return nil +} + +type EmergencyFailoverShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + // PromotedPrimary is the tablet alias that was promoted to shard primary. + // If NewPrimary was set in the request options, then this will be the + // same tablet alias. Otherwise, it will be the alias of the tablet found + // to be most up-to-date in the shard. + PromotedPrimary *v191.TabletAlias `protobuf:"bytes,4,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` + Events []*v195.Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *EmergencyFailoverShardResponse) Reset() { + *x = EmergencyFailoverShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmergencyFailoverShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmergencyFailoverShardResponse) ProtoMessage() {} + +func (x *EmergencyFailoverShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EmergencyFailoverShardResponse.ProtoReflect.Descriptor instead. +func (*EmergencyFailoverShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{28} +} + +func (x *EmergencyFailoverShardResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *EmergencyFailoverShardResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *EmergencyFailoverShardResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *EmergencyFailoverShardResponse) GetPromotedPrimary() *v191.TabletAlias { + if x != nil { + return x.PromotedPrimary + } + return nil +} + +func (x *EmergencyFailoverShardResponse) GetEvents() []*v195.Event { + if x != nil { + return x.Events + } + return nil +} + +type FindSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,3,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` +} + +func (x *FindSchemaRequest) Reset() { + *x = FindSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindSchemaRequest) ProtoMessage() {} + +func (x *FindSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindSchemaRequest.ProtoReflect.Descriptor instead. +func (*FindSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{29} +} + +func (x *FindSchemaRequest) GetTable() string { + if x != nil { + return x.Table + } + return "" +} + +func (x *FindSchemaRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *FindSchemaRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { + if x != nil { + return x.TableSizeOptions + } + return nil +} + +type GetBackupsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Keyspaces, if set, limits backups to just the specified keyspaces. + // Applies to all clusters in the request. + Keyspaces []string `protobuf:"bytes,2,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // KeyspaceShards, if set, limits backups to just the specified + // keyspace/shards. Applies to all clusters in the request. + // + // This field takes precedence over Keyspaces. If KeyspaceShards is set, + // Keyspaces is ignored. + KeyspaceShards []string `protobuf:"bytes,3,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` + // RequestOptions controls the per-shard request options when making + // GetBackups requests to vtctlds. Note that the Keyspace and Shard fields + // of this field are ignored; it is used only to specify Limit and Detailed + // fields. + RequestOptions *v192.GetBackupsRequest `protobuf:"bytes,4,opt,name=request_options,json=requestOptions,proto3" json:"request_options,omitempty"` +} + +func (x *GetBackupsRequest) Reset() { + *x = GetBackupsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBackupsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBackupsRequest) ProtoMessage() {} + +func (x *GetBackupsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBackupsRequest.ProtoReflect.Descriptor instead. +func (*GetBackupsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{30} +} + +func (x *GetBackupsRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *GetBackupsRequest) GetKeyspaces() []string { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *GetBackupsRequest) GetKeyspaceShards() []string { + if x != nil { + return x.KeyspaceShards + } + return nil +} + +func (x *GetBackupsRequest) GetRequestOptions() *v192.GetBackupsRequest { + if x != nil { + return x.RequestOptions + } + return nil +} + +type GetBackupsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Backups []*ClusterBackup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` +} + +func (x *GetBackupsResponse) Reset() { + *x = GetBackupsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBackupsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBackupsResponse) ProtoMessage() {} + +func (x *GetBackupsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBackupsResponse.ProtoReflect.Descriptor instead. +func (*GetBackupsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{31} +} + +func (x *GetBackupsResponse) GetBackups() []*ClusterBackup { + if x != nil { + return x.Backups + } + return nil +} + +type GetCellInfosRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Cells, if specified, limits the response to include only CellInfo objects + // with those names. If omitted, all CellInfo objects in each cluster are + // returned. + // + // Mutually-exclusive with NamesOnly. If both are set, this field takes + // precedence. + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + // Return only the cell names in each cluster; the actual CellInfo objects + // will be empty. + NamesOnly bool `protobuf:"varint,3,opt,name=names_only,json=namesOnly,proto3" json:"names_only,omitempty"` +} + +func (x *GetCellInfosRequest) Reset() { + *x = GetCellInfosRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellInfosRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellInfosRequest) ProtoMessage() {} + +func (x *GetCellInfosRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellInfosRequest.ProtoReflect.Descriptor instead. +func (*GetCellInfosRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{32} +} + +func (x *GetCellInfosRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *GetCellInfosRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *GetCellInfosRequest) GetNamesOnly() bool { + if x != nil { + return x.NamesOnly + } + return false +} + +type GetCellInfosResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CellInfos []*ClusterCellInfo `protobuf:"bytes,1,rep,name=cell_infos,json=cellInfos,proto3" json:"cell_infos,omitempty"` +} + +func (x *GetCellInfosResponse) Reset() { + *x = GetCellInfosResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellInfosResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellInfosResponse) ProtoMessage() {} + +func (x *GetCellInfosResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellInfosResponse.ProtoReflect.Descriptor instead. +func (*GetCellInfosResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{33} +} + +func (x *GetCellInfosResponse) GetCellInfos() []*ClusterCellInfo { + if x != nil { + return x.CellInfos + } + return nil +} + +type GetCellsAliasesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *GetCellsAliasesRequest) Reset() { + *x = GetCellsAliasesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellsAliasesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellsAliasesRequest) ProtoMessage() {} + +func (x *GetCellsAliasesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellsAliasesRequest.ProtoReflect.Descriptor instead. +func (*GetCellsAliasesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{34} +} + +func (x *GetCellsAliasesRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type GetCellsAliasesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Aliases []*ClusterCellsAliases `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"` +} + +func (x *GetCellsAliasesResponse) Reset() { + *x = GetCellsAliasesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellsAliasesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellsAliasesResponse) ProtoMessage() {} + +func (x *GetCellsAliasesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellsAliasesResponse.ProtoReflect.Descriptor instead. +func (*GetCellsAliasesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{35} +} + +func (x *GetCellsAliasesResponse) GetAliases() []*ClusterCellsAliases { + if x != nil { + return x.Aliases + } + return nil +} + +type GetClustersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetClustersRequest) Reset() { + *x = GetClustersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetClustersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetClustersRequest) ProtoMessage() {} + +func (x *GetClustersRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetClustersRequest.ProtoReflect.Descriptor instead. +func (*GetClustersRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{36} +} + +type GetClustersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` +} + +func (x *GetClustersResponse) Reset() { + *x = GetClustersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetClustersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetClustersResponse) ProtoMessage() {} + +func (x *GetClustersResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetClustersResponse.ProtoReflect.Descriptor instead. +func (*GetClustersResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{37} +} + +func (x *GetClustersResponse) GetClusters() []*Cluster { + if x != nil { + return x.Clusters + } + return nil +} + +type GetFullStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Alias *v191.TabletAlias `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` +} + +func (x *GetFullStatusRequest) Reset() { + *x = GetFullStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFullStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFullStatusRequest) ProtoMessage() {} + +func (x *GetFullStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFullStatusRequest.ProtoReflect.Descriptor instead. +func (*GetFullStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{38} +} + +func (x *GetFullStatusRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetFullStatusRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +type GetGatesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *GetGatesRequest) Reset() { + *x = GetGatesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGatesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGatesRequest) ProtoMessage() {} + +func (x *GetGatesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGatesRequest.ProtoReflect.Descriptor instead. +func (*GetGatesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{39} +} + +func (x *GetGatesRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type GetGatesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Gates []*VTGate `protobuf:"bytes,1,rep,name=gates,proto3" json:"gates,omitempty"` +} + +func (x *GetGatesResponse) Reset() { + *x = GetGatesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGatesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGatesResponse) ProtoMessage() {} + +func (x *GetGatesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGatesResponse.ProtoReflect.Descriptor instead. +func (*GetGatesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{40} +} + +func (x *GetGatesResponse) GetGates() []*VTGate { + if x != nil { + return x.Gates + } + return nil +} + +type GetKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *GetKeyspaceRequest) Reset() { + *x = GetKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspaceRequest) ProtoMessage() {} + +func (x *GetKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*GetKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{41} +} + +func (x *GetKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type GetKeyspacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *GetKeyspacesRequest) Reset() { + *x = GetKeyspacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspacesRequest) ProtoMessage() {} + +func (x *GetKeyspacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspacesRequest.ProtoReflect.Descriptor instead. +func (*GetKeyspacesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{42} +} + +func (x *GetKeyspacesRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type GetKeyspacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspaces []*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` +} + +func (x *GetKeyspacesResponse) Reset() { + *x = GetKeyspacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspacesResponse) ProtoMessage() {} + +func (x *GetKeyspacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspacesResponse.ProtoReflect.Descriptor instead. +func (*GetKeyspacesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{43} +} + +func (x *GetKeyspacesResponse) GetKeyspaces() []*Keyspace { + if x != nil { + return x.Keyspaces + } + return nil +} + +type GetSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` + TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,4,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` +} + +func (x *GetSchemaRequest) Reset() { + *x = GetSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaRequest) ProtoMessage() {} + +func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{44} +} + +func (x *GetSchemaRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetSchemaRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetSchemaRequest) GetTable() string { + if x != nil { + return x.Table + } + return "" +} + +func (x *GetSchemaRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { + if x != nil { + return x.TableSizeOptions + } + return nil +} + +type GetSchemasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + TableSizeOptions *GetSchemaTableSizeOptions `protobuf:"bytes,2,opt,name=table_size_options,json=tableSizeOptions,proto3" json:"table_size_options,omitempty"` +} + +func (x *GetSchemasRequest) Reset() { + *x = GetSchemasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemasRequest) ProtoMessage() {} + +func (x *GetSchemasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemasRequest.ProtoReflect.Descriptor instead. +func (*GetSchemasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{45} +} + +func (x *GetSchemasRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *GetSchemasRequest) GetTableSizeOptions() *GetSchemaTableSizeOptions { + if x != nil { + return x.TableSizeOptions + } + return nil +} + +type GetSchemasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Schemas []*Schema `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"` +} + +func (x *GetSchemasResponse) Reset() { + *x = GetSchemasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemasResponse) ProtoMessage() {} + +func (x *GetSchemasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemasResponse.ProtoReflect.Descriptor instead. +func (*GetSchemasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{46} +} + +func (x *GetSchemasResponse) GetSchemas() []*Schema { + if x != nil { + return x.Schemas + } + return nil +} + +type GetSchemaMigrationsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterRequests []*GetSchemaMigrationsRequest_ClusterRequest `protobuf:"bytes,1,rep,name=cluster_requests,json=clusterRequests,proto3" json:"cluster_requests,omitempty"` +} + +func (x *GetSchemaMigrationsRequest) Reset() { + *x = GetSchemaMigrationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaMigrationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaMigrationsRequest) ProtoMessage() {} + +func (x *GetSchemaMigrationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaMigrationsRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{47} +} + +func (x *GetSchemaMigrationsRequest) GetClusterRequests() []*GetSchemaMigrationsRequest_ClusterRequest { + if x != nil { + return x.ClusterRequests + } + return nil +} + +type GetSchemaMigrationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SchemaMigrations []*SchemaMigration `protobuf:"bytes,1,rep,name=schema_migrations,json=schemaMigrations,proto3" json:"schema_migrations,omitempty"` +} + +func (x *GetSchemaMigrationsResponse) Reset() { + *x = GetSchemaMigrationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaMigrationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaMigrationsResponse) ProtoMessage() {} + +func (x *GetSchemaMigrationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaMigrationsResponse.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{48} +} + +func (x *GetSchemaMigrationsResponse) GetSchemaMigrations() []*SchemaMigration { + if x != nil { + return x.SchemaMigrations + } + return nil +} + +type GetShardReplicationPositionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Keyspaces, if set, limits replication positions to just the specified + // keyspaces. Applies to all clusters in the request. + Keyspaces []string `protobuf:"bytes,2,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // KeyspaceShards, if set, limits replicatin positions to just the specified + // keyspace/shards. Applies to all clusters in the request. + // + // This field takes precedence over Keyspaces. If KeyspaceShards is set, + // Keyspaces is ignored. + KeyspaceShards []string `protobuf:"bytes,3,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` +} + +func (x *GetShardReplicationPositionsRequest) Reset() { + *x = GetShardReplicationPositionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardReplicationPositionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardReplicationPositionsRequest) ProtoMessage() {} + +func (x *GetShardReplicationPositionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardReplicationPositionsRequest.ProtoReflect.Descriptor instead. +func (*GetShardReplicationPositionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{49} +} + +func (x *GetShardReplicationPositionsRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *GetShardReplicationPositionsRequest) GetKeyspaces() []string { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *GetShardReplicationPositionsRequest) GetKeyspaceShards() []string { + if x != nil { + return x.KeyspaceShards + } + return nil +} + +type GetShardReplicationPositionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReplicationPositions []*ClusterShardReplicationPosition `protobuf:"bytes,1,rep,name=replication_positions,json=replicationPositions,proto3" json:"replication_positions,omitempty"` +} + +func (x *GetShardReplicationPositionsResponse) Reset() { + *x = GetShardReplicationPositionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardReplicationPositionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardReplicationPositionsResponse) ProtoMessage() {} + +func (x *GetShardReplicationPositionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardReplicationPositionsResponse.ProtoReflect.Descriptor instead. +func (*GetShardReplicationPositionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{50} +} + +func (x *GetShardReplicationPositionsResponse) GetReplicationPositions() []*ClusterShardReplicationPosition { + if x != nil { + return x.ReplicationPositions + } + return nil +} + +type GetSrvKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *GetSrvKeyspaceRequest) Reset() { + *x = GetSrvKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspaceRequest) ProtoMessage() {} + +func (x *GetSrvKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{51} +} + +func (x *GetSrvKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetSrvKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetSrvKeyspaceRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvKeyspacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // An optional list of cluster IDs to filter specific clusters + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *GetSrvKeyspacesRequest) Reset() { + *x = GetSrvKeyspacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspacesRequest) ProtoMessage() {} + +func (x *GetSrvKeyspacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspacesRequest.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspacesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{52} +} + +func (x *GetSrvKeyspacesRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *GetSrvKeyspacesRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvKeyspacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // GetSrvKeyspaces responses for each keyspace + SrvKeyspaces map[string]*v192.GetSrvKeyspacesResponse `protobuf:"bytes,1,rep,name=srv_keyspaces,json=srvKeyspaces,proto3" json:"srv_keyspaces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetSrvKeyspacesResponse) Reset() { + *x = GetSrvKeyspacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspacesResponse) ProtoMessage() {} + +func (x *GetSrvKeyspacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspacesResponse.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspacesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{53} +} + +func (x *GetSrvKeyspacesResponse) GetSrvKeyspaces() map[string]*v192.GetSrvKeyspacesResponse { + if x != nil { + return x.SrvKeyspaces + } + return nil +} + +type GetSrvVSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Cell string `protobuf:"bytes,2,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *GetSrvVSchemaRequest) Reset() { + *x = GetSrvVSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvVSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvVSchemaRequest) ProtoMessage() {} + +func (x *GetSrvVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvVSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{54} +} + +func (x *GetSrvVSchemaRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetSrvVSchemaRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +type GetSrvVSchemasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *GetSrvVSchemasRequest) Reset() { + *x = GetSrvVSchemasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvVSchemasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvVSchemasRequest) ProtoMessage() {} + +func (x *GetSrvVSchemasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvVSchemasRequest.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{55} +} + +func (x *GetSrvVSchemasRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *GetSrvVSchemasRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvVSchemasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrvVSchemas []*SrvVSchema `protobuf:"bytes,1,rep,name=srv_v_schemas,json=srvVSchemas,proto3" json:"srv_v_schemas,omitempty"` +} + +func (x *GetSrvVSchemasResponse) Reset() { + *x = GetSrvVSchemasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvVSchemasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvVSchemasResponse) ProtoMessage() {} + +func (x *GetSrvVSchemasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvVSchemasResponse.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{56} +} + +func (x *GetSrvVSchemasResponse) GetSrvVSchemas() []*SrvVSchema { + if x != nil { + return x.SrvVSchemas + } + return nil +} + +type GetSchemaTableSizeOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AggregateSizes bool `protobuf:"varint,1,opt,name=aggregate_sizes,json=aggregateSizes,proto3" json:"aggregate_sizes,omitempty"` + IncludeNonServingShards bool `protobuf:"varint,2,opt,name=include_non_serving_shards,json=includeNonServingShards,proto3" json:"include_non_serving_shards,omitempty"` +} + +func (x *GetSchemaTableSizeOptions) Reset() { + *x = GetSchemaTableSizeOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaTableSizeOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaTableSizeOptions) ProtoMessage() {} + +func (x *GetSchemaTableSizeOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaTableSizeOptions.ProtoReflect.Descriptor instead. +func (*GetSchemaTableSizeOptions) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{57} +} + +func (x *GetSchemaTableSizeOptions) GetAggregateSizes() bool { + if x != nil { + return x.AggregateSizes + } + return false +} + +func (x *GetSchemaTableSizeOptions) GetIncludeNonServingShards() bool { + if x != nil { + return x.IncludeNonServingShards + } + return false +} + +type GetTabletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Unique (per cluster) tablet alias. + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + // ClusterIDs is an optional parameter to narrow the scope of the search, if + // the caller knows which cluster the tablet may be in, or, to disambiguate + // if multiple clusters have a tablet with the same hostname. + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *GetTabletRequest) Reset() { + *x = GetTabletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTabletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTabletRequest) ProtoMessage() {} + +func (x *GetTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTabletRequest.ProtoReflect.Descriptor instead. +func (*GetTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{58} +} + +func (x *GetTabletRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *GetTabletRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type GetTabletsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *GetTabletsRequest) Reset() { + *x = GetTabletsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTabletsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTabletsRequest) ProtoMessage() {} + +func (x *GetTabletsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTabletsRequest.ProtoReflect.Descriptor instead. +func (*GetTabletsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{59} +} + +func (x *GetTabletsRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type GetTabletsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablets []*Tablet `protobuf:"bytes,1,rep,name=tablets,proto3" json:"tablets,omitempty"` +} + +func (x *GetTabletsResponse) Reset() { + *x = GetTabletsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTabletsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTabletsResponse) ProtoMessage() {} + +func (x *GetTabletsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTabletsResponse.ProtoReflect.Descriptor instead. +func (*GetTabletsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{60} +} + +func (x *GetTabletsResponse) GetTablets() []*Tablet { + if x != nil { + return x.Tablets + } + return nil +} + +type GetTopologyPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *GetTopologyPathRequest) Reset() { + *x = GetTopologyPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopologyPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopologyPathRequest) ProtoMessage() {} + +func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTopologyPathRequest.ProtoReflect.Descriptor instead. +func (*GetTopologyPathRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{61} +} + +func (x *GetTopologyPathRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetTopologyPathRequest) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +type GetVSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *GetVSchemaRequest) Reset() { + *x = GetVSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVSchemaRequest) ProtoMessage() {} + +func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{62} +} + +func (x *GetVSchemaRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetVSchemaRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type GetVSchemasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *GetVSchemasRequest) Reset() { + *x = GetVSchemasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVSchemasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVSchemasRequest) ProtoMessage() {} + +func (x *GetVSchemasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVSchemasRequest.ProtoReflect.Descriptor instead. +func (*GetVSchemasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{63} +} + +func (x *GetVSchemasRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type GetVSchemasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VSchemas []*VSchema `protobuf:"bytes,1,rep,name=v_schemas,json=vSchemas,proto3" json:"v_schemas,omitempty"` +} + +func (x *GetVSchemasResponse) Reset() { + *x = GetVSchemasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVSchemasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVSchemasResponse) ProtoMessage() {} + +func (x *GetVSchemasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVSchemasResponse.ProtoReflect.Descriptor instead. +func (*GetVSchemasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{64} +} + +func (x *GetVSchemasResponse) GetVSchemas() []*VSchema { + if x != nil { + return x.VSchemas + } + return nil +} + +type GetVtctldsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *GetVtctldsRequest) Reset() { + *x = GetVtctldsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVtctldsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVtctldsRequest) ProtoMessage() {} + +func (x *GetVtctldsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVtctldsRequest.ProtoReflect.Descriptor instead. +func (*GetVtctldsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{65} +} + +func (x *GetVtctldsRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type GetVtctldsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Vtctlds []*Vtctld `protobuf:"bytes,1,rep,name=vtctlds,proto3" json:"vtctlds,omitempty"` +} + +func (x *GetVtctldsResponse) Reset() { + *x = GetVtctldsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVtctldsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVtctldsResponse) ProtoMessage() {} + +func (x *GetVtctldsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVtctldsResponse.ProtoReflect.Descriptor instead. +func (*GetVtctldsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{66} +} + +func (x *GetVtctldsResponse) GetVtctlds() []*Vtctld { + if x != nil { + return x.Vtctlds + } + return nil +} + +type GetWorkflowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + ActiveOnly bool `protobuf:"varint,4,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` +} + +func (x *GetWorkflowRequest) Reset() { + *x = GetWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkflowRequest) ProtoMessage() {} + +func (x *GetWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWorkflowRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{67} +} + +func (x *GetWorkflowRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetWorkflowRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetWorkflowRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *GetWorkflowRequest) GetActiveOnly() bool { + if x != nil { + return x.ActiveOnly + } + return false +} + +type GetWorkflowsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // ActiveOnly specifies whether to return workflows that are currently + // active (running or paused) instead of all workflows. + ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` + // Keyspaces is a list of keyspaces to restrict the workflow search to. Note + // that the keyspaces list applies across all cluster IDs in the request. + // + // If, for example, you have two clusters, each with a keyspace called "foo" + // and want the workflows from "foo" in cluster1 but not from cluster2, you + // must make two requests. + // + // Keyspaces and IgnoreKeyspaces are mutually-exclusive, and Keyspaces takes + // precedence; if Keyspaces is a non-empty list, then IgnoreKeyspaces is + // ignored completely. + Keyspaces []string `protobuf:"bytes,3,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // IgnoreKeyspaces is a list of keyspaces to skip during the workflow + // search. It has the same semantics as the Keyspaces parameter, so refer to + // that documentation for more details. + IgnoreKeyspaces []string `protobuf:"bytes,4,rep,name=ignore_keyspaces,json=ignoreKeyspaces,proto3" json:"ignore_keyspaces,omitempty"` +} + +func (x *GetWorkflowsRequest) Reset() { + *x = GetWorkflowsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkflowsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkflowsRequest) ProtoMessage() {} + +func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWorkflowsRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{68} +} + +func (x *GetWorkflowsRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *GetWorkflowsRequest) GetActiveOnly() bool { + if x != nil { + return x.ActiveOnly + } + return false +} + +func (x *GetWorkflowsRequest) GetKeyspaces() []string { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *GetWorkflowsRequest) GetIgnoreKeyspaces() []string { + if x != nil { + return x.IgnoreKeyspaces + } + return nil +} + +type GetWorkflowsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkflowsByCluster map[string]*ClusterWorkflows `protobuf:"bytes,1,rep,name=workflows_by_cluster,json=workflowsByCluster,proto3" json:"workflows_by_cluster,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetWorkflowsResponse) Reset() { + *x = GetWorkflowsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkflowsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkflowsResponse) ProtoMessage() {} + +func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWorkflowsResponse.ProtoReflect.Descriptor instead. +func (*GetWorkflowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{69} +} + +func (x *GetWorkflowsResponse) GetWorkflowsByCluster() map[string]*ClusterWorkflows { + if x != nil { + return x.WorkflowsByCluster + } + return nil +} + +type LaunchSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *v192.LaunchSchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *LaunchSchemaMigrationRequest) Reset() { + *x = LaunchSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LaunchSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LaunchSchemaMigrationRequest) ProtoMessage() {} + +func (x *LaunchSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LaunchSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*LaunchSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{70} +} + +func (x *LaunchSchemaMigrationRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *LaunchSchemaMigrationRequest) GetRequest() *v192.LaunchSchemaMigrationRequest { + if x != nil { + return x.Request + } + return nil +} + +type PingTabletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Unique (per cluster) tablet alias of the standard form: "$cell-$uid" + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + // ClusterIDs is an optional parameter to narrow the scope of the search, if + // the caller knows which cluster the tablet may be in, or, to disambiguate + // if multiple clusters have a tablet with the same hostname. + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *PingTabletRequest) Reset() { + *x = PingTabletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingTabletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingTabletRequest) ProtoMessage() {} + +func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingTabletRequest.ProtoReflect.Descriptor instead. +func (*PingTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{71} +} + +func (x *PingTabletRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *PingTabletRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type PingTabletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *PingTabletResponse) Reset() { + *x = PingTabletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingTabletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingTabletResponse) ProtoMessage() {} + +func (x *PingTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingTabletResponse.ProtoReflect.Descriptor instead. +func (*PingTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{72} +} + +func (x *PingTabletResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *PingTabletResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type PlannedFailoverShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Options *v192.PlannedReparentShardRequest `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` +} + +func (x *PlannedFailoverShardRequest) Reset() { + *x = PlannedFailoverShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlannedFailoverShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlannedFailoverShardRequest) ProtoMessage() {} + +func (x *PlannedFailoverShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlannedFailoverShardRequest.ProtoReflect.Descriptor instead. +func (*PlannedFailoverShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{73} +} + +func (x *PlannedFailoverShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *PlannedFailoverShardRequest) GetOptions() *v192.PlannedReparentShardRequest { + if x != nil { + return x.Options + } + return nil +} + +type PlannedFailoverShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + // PromotedPrimary is the tablet alias that was promoted to shard primary. + // If NewPrimary was set in the request options, then this will be the + // same tablet alias. Otherwise, it will be the alias of the tablet found + // to be most up-to-date in the shard. + PromotedPrimary *v191.TabletAlias `protobuf:"bytes,4,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` + Events []*v195.Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *PlannedFailoverShardResponse) Reset() { + *x = PlannedFailoverShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlannedFailoverShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlannedFailoverShardResponse) ProtoMessage() {} + +func (x *PlannedFailoverShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlannedFailoverShardResponse.ProtoReflect.Descriptor instead. +func (*PlannedFailoverShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{74} +} + +func (x *PlannedFailoverShardResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *PlannedFailoverShardResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *PlannedFailoverShardResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *PlannedFailoverShardResponse) GetPromotedPrimary() *v191.TabletAlias { + if x != nil { + return x.PromotedPrimary + } + return nil +} + +func (x *PlannedFailoverShardResponse) GetEvents() []*v195.Event { + if x != nil { + return x.Events + } + return nil +} + +type RebuildKeyspaceGraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + AllowPartial bool `protobuf:"varint,4,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"` +} + +func (x *RebuildKeyspaceGraphRequest) Reset() { + *x = RebuildKeyspaceGraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebuildKeyspaceGraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebuildKeyspaceGraphRequest) ProtoMessage() {} + +func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebuildKeyspaceGraphRequest.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{75} +} + +func (x *RebuildKeyspaceGraphRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *RebuildKeyspaceGraphRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RebuildKeyspaceGraphRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *RebuildKeyspaceGraphRequest) GetAllowPartial() bool { + if x != nil { + return x.AllowPartial + } + return false +} + +type RebuildKeyspaceGraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *RebuildKeyspaceGraphResponse) Reset() { + *x = RebuildKeyspaceGraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebuildKeyspaceGraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebuildKeyspaceGraphResponse) ProtoMessage() {} + +func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebuildKeyspaceGraphResponse.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{76} +} + +func (x *RebuildKeyspaceGraphResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +type RefreshStateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *RefreshStateRequest) Reset() { + *x = RefreshStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateRequest) ProtoMessage() {} + +func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. +func (*RefreshStateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{77} +} + +func (x *RefreshStateRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *RefreshStateRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type RefreshStateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *RefreshStateResponse) Reset() { + *x = RefreshStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateResponse) ProtoMessage() {} + +func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. +func (*RefreshStateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{78} +} + +func (x *RefreshStateResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *RefreshStateResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type ReloadSchemasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspaces, if set, will reload schemas across one or more keyspaces. A + // keyspace not existing in a cluster will not fail the overall request. + // + // Superceded by KeyspaceShards and Tablets, in that order. + Keyspaces []string `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // KeyspaceShards, if set, will reload schemas across one or more shards. + // Each element must be a valid keyspace/shard according to + // topoproto.ParseKeyspaceShard. A shard not existing in a cluster will not + // fail the overall request. + // + // Supercedes Keyspaces, and is superceded by Tablets. + KeyspaceShards []string `protobuf:"bytes,2,rep,name=keyspace_shards,json=keyspaceShards,proto3" json:"keyspace_shards,omitempty"` + // Tablets, if set will reload schemas across one or more tablets. + // Supercedes both Keyspaces and KeyspaceShards. + Tablets []*v191.TabletAlias `protobuf:"bytes,3,rep,name=tablets,proto3" json:"tablets,omitempty"` + // ClusterIds optionally restricts the reload operation to clusters with + // the specified IDs. An empty list of ClusterIds will operate on all + // clusters. + ClusterIds []string `protobuf:"bytes,4,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` + // Concurrency controls the number of tablets to reload at any given time. + // Its semantics depend on whether the request is for keyspace, shard, or + // tablet mode. + // + // In Keyspaces mode, Concurrency is the number of tablets to reload at once + // *per keyspace*. + // + // In KeyspaceShards mode, Concurrency is the number of tablets to reload at + // once *per shard*. + // + // In Tablets mode, Concurrency is the number of tablets to reload at once + // *per cluster*. + Concurrency int32 `protobuf:"varint,5,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + // WaitPosition is the replication position that replicating tablets should + // reach prior to reloading their schemas. + // + // Does not apply in Tablets mode. + WaitPosition string `protobuf:"bytes,6,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + // IncludePrimary, if set, will reload the schemas on PRIMARY tablets as + // well as REPLICA and RDONLY. + // + // Does not apply in Tablets mode. + IncludePrimary bool `protobuf:"varint,7,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` +} + +func (x *ReloadSchemasRequest) Reset() { + *x = ReloadSchemasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasRequest) ProtoMessage() {} + +func (x *ReloadSchemasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{79} +} + +func (x *ReloadSchemasRequest) GetKeyspaces() []string { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *ReloadSchemasRequest) GetKeyspaceShards() []string { + if x != nil { + return x.KeyspaceShards + } + return nil +} + +func (x *ReloadSchemasRequest) GetTablets() []*v191.TabletAlias { + if x != nil { + return x.Tablets + } + return nil +} + +func (x *ReloadSchemasRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +func (x *ReloadSchemasRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +func (x *ReloadSchemasRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} + +func (x *ReloadSchemasRequest) GetIncludePrimary() bool { + if x != nil { + return x.IncludePrimary + } + return false +} + +type ReloadSchemasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // KeyspaceResults is the list of KeyspaceResult objects for a ReloadSchemas + // operation. It is only set when the request mandates Keyspaces mode (see + // ReloadSchemasRequest). + KeyspaceResults []*ReloadSchemasResponse_KeyspaceResult `protobuf:"bytes,1,rep,name=keyspace_results,json=keyspaceResults,proto3" json:"keyspace_results,omitempty"` + // ShardResults is the list of ShardResult objects for a ReloadSchemas + // operation. It is only set when the request mandates KeyspaceShards mode + // (see ReloadSchemasRequest). + ShardResults []*ReloadSchemasResponse_ShardResult `protobuf:"bytes,2,rep,name=shard_results,json=shardResults,proto3" json:"shard_results,omitempty"` + // TabletResults is the list of TabletResult objects for a ReloadSchemas + // operation. It is only set when the request mandates Tablets mode (see + // ReloadSchemasRequest). + TabletResults []*ReloadSchemasResponse_TabletResult `protobuf:"bytes,3,rep,name=tablet_results,json=tabletResults,proto3" json:"tablet_results,omitempty"` +} + +func (x *ReloadSchemasResponse) Reset() { + *x = ReloadSchemasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasResponse) ProtoMessage() {} + +func (x *ReloadSchemasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{80} +} + +func (x *ReloadSchemasResponse) GetKeyspaceResults() []*ReloadSchemasResponse_KeyspaceResult { + if x != nil { + return x.KeyspaceResults + } + return nil +} + +func (x *ReloadSchemasResponse) GetShardResults() []*ReloadSchemasResponse_ShardResult { + if x != nil { + return x.ShardResults + } + return nil +} + +func (x *ReloadSchemasResponse) GetTabletResults() []*ReloadSchemasResponse_TabletResult { + if x != nil { + return x.TabletResults + } + return nil +} + +type ReloadSchemaShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + WaitPosition string `protobuf:"bytes,4,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + IncludePrimary bool `protobuf:"varint,5,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` + Concurrency int32 `protobuf:"varint,6,opt,name=concurrency,proto3" json:"concurrency,omitempty"` +} + +func (x *ReloadSchemaShardRequest) Reset() { + *x = ReloadSchemaShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaShardRequest) ProtoMessage() {} + +func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaShardRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{81} +} + +func (x *ReloadSchemaShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetIncludePrimary() bool { + if x != nil { + return x.IncludePrimary + } + return false +} + +func (x *ReloadSchemaShardRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +type ReloadSchemaShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*v195.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *ReloadSchemaShardResponse) Reset() { + *x = ReloadSchemaShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaShardResponse) ProtoMessage() {} + +func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaShardResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{82} +} + +func (x *ReloadSchemaShardResponse) GetEvents() []*v195.Event { + if x != nil { + return x.Events + } + return nil +} + +type RefreshTabletReplicationSourceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *RefreshTabletReplicationSourceRequest) Reset() { + *x = RefreshTabletReplicationSourceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshTabletReplicationSourceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshTabletReplicationSourceRequest) ProtoMessage() {} + +func (x *RefreshTabletReplicationSourceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshTabletReplicationSourceRequest.ProtoReflect.Descriptor instead. +func (*RefreshTabletReplicationSourceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{83} +} + +func (x *RefreshTabletReplicationSourceRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *RefreshTabletReplicationSourceRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type RefreshTabletReplicationSourceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Primary *v191.TabletAlias `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` + Cluster *Cluster `protobuf:"bytes,4,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *RefreshTabletReplicationSourceResponse) Reset() { + *x = RefreshTabletReplicationSourceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshTabletReplicationSourceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshTabletReplicationSourceResponse) ProtoMessage() {} + +func (x *RefreshTabletReplicationSourceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshTabletReplicationSourceResponse.ProtoReflect.Descriptor instead. +func (*RefreshTabletReplicationSourceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{84} +} + +func (x *RefreshTabletReplicationSourceResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RefreshTabletReplicationSourceResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *RefreshTabletReplicationSourceResponse) GetPrimary() *v191.TabletAlias { + if x != nil { + return x.Primary + } + return nil +} + +func (x *RefreshTabletReplicationSourceResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type RemoveKeyspaceCellRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` + Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"` +} + +func (x *RemoveKeyspaceCellRequest) Reset() { + *x = RemoveKeyspaceCellRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveKeyspaceCellRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveKeyspaceCellRequest) ProtoMessage() {} + +func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveKeyspaceCellRequest.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{85} +} + +func (x *RemoveKeyspaceCellRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *RemoveKeyspaceCellRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RemoveKeyspaceCellRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *RemoveKeyspaceCellRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *RemoveKeyspaceCellRequest) GetRecursive() bool { + if x != nil { + return x.Recursive + } + return false +} + +type RemoveKeyspaceCellResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *RemoveKeyspaceCellResponse) Reset() { + *x = RemoveKeyspaceCellResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveKeyspaceCellResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveKeyspaceCellResponse) ProtoMessage() {} + +func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveKeyspaceCellResponse.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{86} +} + +func (x *RemoveKeyspaceCellResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +type RetrySchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *v192.RetrySchemaMigrationRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *RetrySchemaMigrationRequest) Reset() { + *x = RetrySchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetrySchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetrySchemaMigrationRequest) ProtoMessage() {} + +func (x *RetrySchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RetrySchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*RetrySchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{87} +} + +func (x *RetrySchemaMigrationRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *RetrySchemaMigrationRequest) GetRequest() *v192.RetrySchemaMigrationRequest { + if x != nil { + return x.Request + } + return nil +} + +type RunHealthCheckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *RunHealthCheckRequest) Reset() { + *x = RunHealthCheckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunHealthCheckRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunHealthCheckRequest) ProtoMessage() {} + +func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[88] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. +func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{88} +} + +func (x *RunHealthCheckRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *RunHealthCheckRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type RunHealthCheckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *RunHealthCheckResponse) Reset() { + *x = RunHealthCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunHealthCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunHealthCheckResponse) ProtoMessage() {} + +func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. +func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{89} +} + +func (x *RunHealthCheckResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *RunHealthCheckResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type SetReadOnlyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *SetReadOnlyRequest) Reset() { + *x = SetReadOnlyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadOnlyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadOnlyRequest) ProtoMessage() {} + +func (x *SetReadOnlyRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadOnlyRequest.ProtoReflect.Descriptor instead. +func (*SetReadOnlyRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{90} +} + +func (x *SetReadOnlyRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *SetReadOnlyRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type SetReadOnlyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetReadOnlyResponse) Reset() { + *x = SetReadOnlyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadOnlyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadOnlyResponse) ProtoMessage() {} + +func (x *SetReadOnlyResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[91] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadOnlyResponse.ProtoReflect.Descriptor instead. +func (*SetReadOnlyResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{91} +} + +type SetReadWriteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *SetReadWriteRequest) Reset() { + *x = SetReadWriteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadWriteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadWriteRequest) ProtoMessage() {} + +func (x *SetReadWriteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadWriteRequest.ProtoReflect.Descriptor instead. +func (*SetReadWriteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{92} +} + +func (x *SetReadWriteRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *SetReadWriteRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type SetReadWriteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetReadWriteResponse) Reset() { + *x = SetReadWriteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReadWriteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReadWriteResponse) ProtoMessage() {} + +func (x *SetReadWriteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReadWriteResponse.ProtoReflect.Descriptor instead. +func (*SetReadWriteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{93} +} + +type StartReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *StartReplicationRequest) Reset() { + *x = StartReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationRequest) ProtoMessage() {} + +func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. +func (*StartReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{94} +} + +func (x *StartReplicationRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *StartReplicationRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type StartReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *StartReplicationResponse) Reset() { + *x = StartReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationResponse) ProtoMessage() {} + +func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. +func (*StartReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{95} +} + +func (x *StartReplicationResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *StartReplicationResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type StopReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *StopReplicationRequest) Reset() { + *x = StopReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationRequest) ProtoMessage() {} + +func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{96} +} + +func (x *StopReplicationRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *StopReplicationRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type StopReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` +} + +func (x *StopReplicationResponse) Reset() { + *x = StopReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationResponse) ProtoMessage() {} + +func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{97} +} + +func (x *StopReplicationResponse) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *StopReplicationResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +type TabletExternallyPromotedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Tablet is the alias of the tablet that was promoted externally and should + // be updated to the shard primary in the topo. + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *TabletExternallyPromotedRequest) Reset() { + *x = TabletExternallyPromotedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyPromotedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyPromotedRequest) ProtoMessage() {} + +func (x *TabletExternallyPromotedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyPromotedRequest.ProtoReflect.Descriptor instead. +func (*TabletExternallyPromotedRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{98} +} + +func (x *TabletExternallyPromotedRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *TabletExternallyPromotedRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type TabletExternallyPromotedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + NewPrimary *v191.TabletAlias `protobuf:"bytes,4,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` + OldPrimary *v191.TabletAlias `protobuf:"bytes,5,opt,name=old_primary,json=oldPrimary,proto3" json:"old_primary,omitempty"` +} + +func (x *TabletExternallyPromotedResponse) Reset() { + *x = TabletExternallyPromotedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyPromotedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyPromotedResponse) ProtoMessage() {} + +func (x *TabletExternallyPromotedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[99] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyPromotedResponse.ProtoReflect.Descriptor instead. +func (*TabletExternallyPromotedResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{99} +} + +func (x *TabletExternallyPromotedResponse) GetCluster() *Cluster { + if x != nil { + return x.Cluster + } + return nil +} + +func (x *TabletExternallyPromotedResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *TabletExternallyPromotedResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *TabletExternallyPromotedResponse) GetNewPrimary() *v191.TabletAlias { + if x != nil { + return x.NewPrimary + } + return nil +} + +func (x *TabletExternallyPromotedResponse) GetOldPrimary() *v191.TabletAlias { + if x != nil { + return x.OldPrimary + } + return nil +} + +type TabletExternallyReparentedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Alias *v191.TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` + ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` +} + +func (x *TabletExternallyReparentedRequest) Reset() { + *x = TabletExternallyReparentedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyReparentedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyReparentedRequest) ProtoMessage() {} + +func (x *TabletExternallyReparentedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[100] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyReparentedRequest.ProtoReflect.Descriptor instead. +func (*TabletExternallyReparentedRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{100} +} + +func (x *TabletExternallyReparentedRequest) GetAlias() *v191.TabletAlias { + if x != nil { + return x.Alias + } + return nil +} + +func (x *TabletExternallyReparentedRequest) GetClusterIds() []string { + if x != nil { + return x.ClusterIds + } + return nil +} + +type ValidateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + PingTablets bool `protobuf:"varint,2,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateRequest) Reset() { + *x = ValidateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateRequest) ProtoMessage() {} + +func (x *ValidateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead. +func (*ValidateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{101} +} + +func (x *ValidateRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + PingTablets bool `protobuf:"varint,3,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateKeyspaceRequest) Reset() { + *x = ValidateKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[102] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{102} +} + +func (x *ValidateKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateKeyspaceRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateSchemaKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *ValidateSchemaKeyspaceRequest) Reset() { + *x = ValidateSchemaKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateSchemaKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateSchemaKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{103} +} + +func (x *ValidateSchemaKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateSchemaKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type ValidateShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + PingTablets bool `protobuf:"varint,4,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateShardRequest) Reset() { + *x = ValidateShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateShardRequest) ProtoMessage() {} + +func (x *ValidateShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[104] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateShardRequest.ProtoReflect.Descriptor instead. +func (*ValidateShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{104} +} + +func (x *ValidateShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ValidateShardRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateVersionKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *ValidateVersionKeyspaceRequest) Reset() { + *x = ValidateVersionKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateVersionKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateVersionKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{105} +} + +func (x *ValidateVersionKeyspaceRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateVersionKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type ValidateVersionShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *ValidateVersionShardRequest) Reset() { + *x = ValidateVersionShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionShardRequest) ProtoMessage() {} + +func (x *ValidateVersionShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[106] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionShardRequest.ProtoReflect.Descriptor instead. +func (*ValidateVersionShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{106} +} + +func (x *ValidateVersionShardRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *ValidateVersionShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateVersionShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +type VTExplainRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` +} + +func (x *VTExplainRequest) Reset() { + *x = VTExplainRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VTExplainRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VTExplainRequest) ProtoMessage() {} + +func (x *VTExplainRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VTExplainRequest.ProtoReflect.Descriptor instead. +func (*VTExplainRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{107} +} + +func (x *VTExplainRequest) GetCluster() string { + if x != nil { + return x.Cluster + } + return "" +} + +func (x *VTExplainRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *VTExplainRequest) GetSql() string { + if x != nil { + return x.Sql + } + return "" +} + +type VTExplainResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` +} + +func (x *VTExplainResponse) Reset() { + *x = VTExplainResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VTExplainResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VTExplainResponse) ProtoMessage() {} + +func (x *VTExplainResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[108] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VTExplainResponse.ProtoReflect.Descriptor instead. +func (*VTExplainResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{108} +} + +func (x *VTExplainResponse) GetResponse() string { + if x != nil { + return x.Response + } + return "" +} + +type Schema_ShardTableSize struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowCount uint64 `protobuf:"varint,1,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + DataLength uint64 `protobuf:"varint,2,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"` +} + +func (x *Schema_ShardTableSize) Reset() { + *x = Schema_ShardTableSize{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Schema_ShardTableSize) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Schema_ShardTableSize) ProtoMessage() {} + +func (x *Schema_ShardTableSize) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Schema_ShardTableSize.ProtoReflect.Descriptor instead. +func (*Schema_ShardTableSize) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{7, 1} +} + +func (x *Schema_ShardTableSize) GetRowCount() uint64 { + if x != nil { + return x.RowCount + } + return 0 +} + +func (x *Schema_ShardTableSize) GetDataLength() uint64 { + if x != nil { + return x.DataLength + } + return 0 +} + +// TableSize aggregates table size information across all shards containing +// in the given keyspace and cluster, as well as per-shard size information. +type Schema_TableSize struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowCount uint64 `protobuf:"varint,1,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + DataLength uint64 `protobuf:"varint,2,opt,name=data_length,json=dataLength,proto3" json:"data_length,omitempty"` + ByShard map[string]*Schema_ShardTableSize `protobuf:"bytes,3,rep,name=by_shard,json=byShard,proto3" json:"by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *Schema_TableSize) Reset() { + *x = Schema_TableSize{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Schema_TableSize) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Schema_TableSize) ProtoMessage() {} + +func (x *Schema_TableSize) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Schema_TableSize.ProtoReflect.Descriptor instead. +func (*Schema_TableSize) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{7, 2} +} + +func (x *Schema_TableSize) GetRowCount() uint64 { + if x != nil { + return x.RowCount + } + return 0 +} + +func (x *Schema_TableSize) GetDataLength() uint64 { + if x != nil { + return x.DataLength + } + return 0 +} + +func (x *Schema_TableSize) GetByShard() map[string]*Schema_ShardTableSize { + if x != nil { + return x.ByShard + } + return nil +} + +type GetSchemaMigrationsRequest_ClusterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + Request *v192.GetSchemaMigrationsRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) Reset() { + *x = GetSchemaMigrationsRequest_ClusterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaMigrationsRequest_ClusterRequest) ProtoMessage() {} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaMigrationsRequest_ClusterRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsRequest_ClusterRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{47, 0} +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) GetClusterId() string { + if x != nil { + return x.ClusterId + } + return "" +} + +func (x *GetSchemaMigrationsRequest_ClusterRequest) GetRequest() *v192.GetSchemaMigrationsRequest { + if x != nil { + return x.Request + } + return nil +} + +// KeyspaceResult is a grouping of a Keyspace and any log events that +// occurred in that keyspace during a schema reload (usually associated with +// partial errors - ReloadSchemas requests are best-effort). +// +// It is only set when a ReloadSchemas request mandates Keyspaces mode +// (see ReloadSchemasRequest). +type ReloadSchemasResponse_KeyspaceResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Events []*v195.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *ReloadSchemasResponse_KeyspaceResult) Reset() { + *x = ReloadSchemasResponse_KeyspaceResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasResponse_KeyspaceResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasResponse_KeyspaceResult) ProtoMessage() {} + +func (x *ReloadSchemasResponse_KeyspaceResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[118] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasResponse_KeyspaceResult.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse_KeyspaceResult) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{80, 0} +} + +func (x *ReloadSchemasResponse_KeyspaceResult) GetKeyspace() *Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +func (x *ReloadSchemasResponse_KeyspaceResult) GetEvents() []*v195.Event { + if x != nil { + return x.Events + } + return nil +} + +// ShardResult is a grouping of a Shard and any log events that occurred in +// that shard during a schema reload (usually associated with partial +// errors - ReloadSchemas requests are best-effort). +// +// It is only set when a ReloadSchemas request mandates KeyspaceShards mode +// (see ReloadSchemasRequest). +type ReloadSchemasResponse_ShardResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shard *Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` + Events []*v195.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *ReloadSchemasResponse_ShardResult) Reset() { + *x = ReloadSchemasResponse_ShardResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasResponse_ShardResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasResponse_ShardResult) ProtoMessage() {} + +func (x *ReloadSchemasResponse_ShardResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[119] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasResponse_ShardResult.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse_ShardResult) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{80, 1} +} + +func (x *ReloadSchemasResponse_ShardResult) GetShard() *Shard { + if x != nil { + return x.Shard + } + return nil +} + +func (x *ReloadSchemasResponse_ShardResult) GetEvents() []*v195.Event { + if x != nil { + return x.Events + } + return nil +} + +// TabletResult is a grouping of a Tablet and the result of reloading that +// Tablet's schema. Result will either be the string "ok", or the error +// message from that tablet. Note ReloadSchemas is best-effort, so tablet's +// failing to reload is not treated as an overall failure. +// +// It is only set when a ReloadSchemas request mandates Tablets mode (see +// ReloadSchemasRequest). +type ReloadSchemasResponse_TabletResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablet *Tablet `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` + Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ReloadSchemasResponse_TabletResult) Reset() { + *x = ReloadSchemasResponse_TabletResult{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemasResponse_TabletResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemasResponse_TabletResult) ProtoMessage() {} + +func (x *ReloadSchemasResponse_TabletResult) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[120] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemasResponse_TabletResult.ProtoReflect.Descriptor instead. +func (*ReloadSchemasResponse_TabletResult) Descriptor() ([]byte, []int) { + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP(), []int{80, 2} +} + +func (x *ReloadSchemasResponse_TabletResult) GetTablet() *Tablet { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *ReloadSchemasResponse_TabletResult) GetResult() string { + if x != nil { + return x.Result + } + return "" +} + +var File_vitess_vtadmin_v19_vtadmin_proto protoreflect.FileDescriptor + +var file_vitess_vtadmin_v19_vtadmin_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x12, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, + 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, + 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x6d, 0x79, + 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, + 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7f, 0x0a, + 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x35, + 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, + 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0xf9, + 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, + 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x1a, 0x5b, 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, + 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x98, 0x01, 0x0a, 0x0f, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, + 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, + 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x1f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 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, 0x5c, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x22, 0x6a, 0x0a, 0x10, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x97, 0x02, 0x0a, + 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x12, 0x3a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x06, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x56, + 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, + 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xba, 0x05, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, + 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x5a, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x4b, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x73, 0x1a, 0x63, 0x0a, + 0x0f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 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, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x4e, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x1a, 0xfe, 0x01, 0x0a, 0x09, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x4c, + 0x0a, 0x08, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x2e, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x07, 0x62, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x65, 0x0a, 0x0c, + 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, 0x3f, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x50, + 0x0a, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x71, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x12, 0x31, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x22, 0x99, 0x01, 0x0a, 0x0a, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, + 0x0c, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x0a, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, + 0x82, 0x02, 0x0a, 0x06, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x06, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0x39, 0x0a, 0x0c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, + 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, + 0x47, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x22, 0x8d, 0x01, 0x0a, 0x07, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x22, 0x6f, 0x0a, 0x06, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x12, 0x1a, + 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0xb5, 0x01, 0x0a, 0x06, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x6f, 0x6c, + 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x63, 0x65, 0x6c, 0x6c, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, + 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x22, 0x99, 0x01, + 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 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, 0x3a, 0x0a, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x77, 0x0a, 0x12, 0x41, 0x70, 0x70, + 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x42, + 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, + 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x8d, 0x01, 0x0a, 0x1d, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x4d, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x8f, 0x01, 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x7d, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x52, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x77, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, + 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x79, 0x0a, + 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x65, + 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, + 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x8d, 0x01, 0x0a, 0x1d, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, + 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x52, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x89, 0x02, 0x0a, 0x1e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, + 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x4b, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 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, 0x31, + 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x5b, + 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x11, + 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x0f, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, + 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x51, 0x0a, 0x12, 0x47, + 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x6b, + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x5a, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x63, 0x65, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x22, 0x39, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x65, + 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x73, 0x22, 0x5c, 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, 0x41, 0x0a, + 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x65, 0x6c, 0x6c, 0x73, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, + 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, + 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x6d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, + 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, + 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x32, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, + 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x05, 0x67, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x56, 0x54, 0x47, 0x61, 0x74, 0x65, 0x52, 0x05, 0x67, 0x61, 0x74, 0x65, 0x73, 0x22, + 0x4f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 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, + 0x22, 0x36, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x52, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0xc0, 0x01, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 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, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x5b, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x91, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x5b, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, + 0x83, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x68, + 0x0a, 0x10, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x1a, 0x7b, 0x0a, 0x0e, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x07, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6f, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 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, 0x1f, + 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, + 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, + 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 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, + 0x68, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x73, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x68, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 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, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, + 0x6c, 0x6c, 0x73, 0x22, 0x4f, 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, 0x1f, 0x0a, + 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, + 0x65, 0x6c, 0x6c, 0x73, 0x22, 0xed, 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, 0x62, 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 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, 0x6e, 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, 0x43, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x49, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, + 0x65, 0x6c, 0x6c, 0x18, 0x02, 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, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, + 0x5c, 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, 0x42, 0x0a, 0x0d, 0x73, 0x72, 0x76, + 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x0b, 0x73, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x81, 0x01, + 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x6e, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x4e, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x22, 0x6b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x34, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, + 0x22, 0x4b, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x4e, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 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, 0x22, 0x35, 0x0a, + 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x73, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x76, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x08, 0x76, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x34, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x47, + 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x34, 0x0a, 0x07, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x52, 0x07, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xa0, + 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 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, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, + 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x14, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x79, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x6b, + 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8b, 0x01, 0x0a, 0x1c, + 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x07, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6c, 0x0a, 0x11, 0x50, 0x69, 0x6e, + 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, + 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x63, 0x0a, 0x12, 0x50, 0x69, 0x6e, 0x67, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x89, 0x01, 0x0a, + 0x1b, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 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, 0x52, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x87, 0x02, 0x0a, 0x1c, 0x50, 0x6c, 0x61, + 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 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, 0x4b, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, + 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x22, 0x93, 0x01, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 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, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 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, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x22, 0x36, 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, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0x6e, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, + 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, + 0x22, 0x65, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0xaa, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x6f, + 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, + 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x3a, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 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, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x22, 0x85, 0x05, 0x0a, 0x15, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, + 0x0a, 0x10, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, + 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x0f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x12, 0x5a, 0x0a, 0x0d, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, + 0x5d, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, + 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x7d, + 0x0a, 0x0e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x38, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x71, 0x0a, + 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2f, 0x0a, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x0a, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x1a, 0x5a, 0x0a, 0x0c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xdb, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x23, 0x0a, 0x0d, 0x77, 0x61, + 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 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, 0x05, 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, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, + 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x4e, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x25, 0x52, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0xcd, 0x01, + 0x0a, 0x26, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 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, 0x3a, 0x0a, 0x07, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x9e, 0x01, + 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, 0x1d, 0x0a, 0x0a, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 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, 0x34, + 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, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x22, 0x89, 0x01, 0x0a, 0x1b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x74, 0x72, + 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x70, 0x0a, 0x15, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x73, 0x22, 0x67, 0x0a, 0x16, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x6d, 0x0a, 0x12, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x6e, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x73, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72, 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, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x69, 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, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, + 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x71, 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, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x68, 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, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, + 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x7a, 0x0a, 0x1f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x73, 0x22, 0x91, 0x02, 0x0a, 0x20, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, + 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x41, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x7c, 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, 0x36, 0x0a, 0x05, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x73, 0x22, 0x53, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x77, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 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, 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, 0x5a, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 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, 0x22, 0x8a, 0x01, + 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x5f, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, + 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, 0x5b, 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, 0x1d, 0x0a, 0x0a, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x6e, 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, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x22, 0x5a, 0x0a, 0x10, 0x56, 0x54, 0x45, 0x78, 0x70, + 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x73, 0x71, 0x6c, 0x22, 0x2f, 0x0a, 0x11, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb2, 0x31, 0x0a, 0x07, 0x56, 0x54, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x12, 0x62, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, + 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x65, 0x61, + 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x65, + 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, + 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x81, + 0x01, 0x0a, 0x16, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, + 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, + 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, + 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0d, 0x47, 0x65, 0x74, + 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x46, + 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x12, + 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0b, + 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x26, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x93, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 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, 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 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, 0x1a, 0x38, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x47, 0x65, 0x74, 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, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, + 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, + 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, + 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, + 0x00, 0x12, 0x69, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x09, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0x00, 0x12, 0x5d, 0x0a, + 0x0a, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6e, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, + 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, + 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0a, + 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x00, + 0x12, 0x60, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, + 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, + 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x55, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, + 0x0a, 0x15, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x5d, 0x0a, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x25, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x7b, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, + 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x6c, 0x61, + 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x6c, + 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, + 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, + 0x72, 0x61, 0x70, 0x68, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x99, + 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x52, 0x65, + 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, + 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x72, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, + 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x2d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 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, 0x1a, 0x2e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 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, 0x00, 0x12, 0x7d, 0x0a, + 0x14, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, + 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0e, + 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x29, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x57, + 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, + 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, + 0x6c, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, + 0x0a, 0x18, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x6c, 0x79, + 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x71, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x22, 0x00, 0x12, 0x83, 0x01, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 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, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0d, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 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, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x22, 0x00, 0x12, 0x7d, + 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x5a, 0x0a, + 0x09, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x54, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x76, 0x74, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, + 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_vtadmin_v19_vtadmin_proto_rawDescOnce sync.Once + file_vitess_vtadmin_v19_vtadmin_proto_rawDescData = file_vitess_vtadmin_v19_vtadmin_proto_rawDesc +) + +func file_vitess_vtadmin_v19_vtadmin_proto_rawDescGZIP() []byte { + file_vitess_vtadmin_v19_vtadmin_proto_rawDescOnce.Do(func() { + file_vitess_vtadmin_v19_vtadmin_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_vtadmin_v19_vtadmin_proto_rawDescData) + }) + return file_vitess_vtadmin_v19_vtadmin_proto_rawDescData +} + +var file_vitess_vtadmin_v19_vtadmin_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_vitess_vtadmin_v19_vtadmin_proto_msgTypes = make([]protoimpl.MessageInfo, 121) +var file_vitess_vtadmin_v19_vtadmin_proto_goTypes = []any{ + (Tablet_ServingState)(0), // 0: vitess.vtadmin.v19.Tablet.ServingState + (*Cluster)(nil), // 1: vitess.vtadmin.v19.Cluster + (*ClusterBackup)(nil), // 2: vitess.vtadmin.v19.ClusterBackup + (*ClusterCellsAliases)(nil), // 3: vitess.vtadmin.v19.ClusterCellsAliases + (*ClusterCellInfo)(nil), // 4: vitess.vtadmin.v19.ClusterCellInfo + (*ClusterShardReplicationPosition)(nil), // 5: vitess.vtadmin.v19.ClusterShardReplicationPosition + (*ClusterWorkflows)(nil), // 6: vitess.vtadmin.v19.ClusterWorkflows + (*Keyspace)(nil), // 7: vitess.vtadmin.v19.Keyspace + (*Schema)(nil), // 8: vitess.vtadmin.v19.Schema + (*SchemaMigration)(nil), // 9: vitess.vtadmin.v19.SchemaMigration + (*Shard)(nil), // 10: vitess.vtadmin.v19.Shard + (*SrvVSchema)(nil), // 11: vitess.vtadmin.v19.SrvVSchema + (*Tablet)(nil), // 12: vitess.vtadmin.v19.Tablet + (*VSchema)(nil), // 13: vitess.vtadmin.v19.VSchema + (*Vtctld)(nil), // 14: vitess.vtadmin.v19.Vtctld + (*VTGate)(nil), // 15: vitess.vtadmin.v19.VTGate + (*Workflow)(nil), // 16: vitess.vtadmin.v19.Workflow + (*ApplySchemaRequest)(nil), // 17: vitess.vtadmin.v19.ApplySchemaRequest + (*CancelSchemaMigrationRequest)(nil), // 18: vitess.vtadmin.v19.CancelSchemaMigrationRequest + (*CleanupSchemaMigrationRequest)(nil), // 19: vitess.vtadmin.v19.CleanupSchemaMigrationRequest + (*CompleteSchemaMigrationRequest)(nil), // 20: vitess.vtadmin.v19.CompleteSchemaMigrationRequest + (*CreateKeyspaceRequest)(nil), // 21: vitess.vtadmin.v19.CreateKeyspaceRequest + (*CreateKeyspaceResponse)(nil), // 22: vitess.vtadmin.v19.CreateKeyspaceResponse + (*CreateShardRequest)(nil), // 23: vitess.vtadmin.v19.CreateShardRequest + (*DeleteKeyspaceRequest)(nil), // 24: vitess.vtadmin.v19.DeleteKeyspaceRequest + (*DeleteShardsRequest)(nil), // 25: vitess.vtadmin.v19.DeleteShardsRequest + (*DeleteTabletRequest)(nil), // 26: vitess.vtadmin.v19.DeleteTabletRequest + (*DeleteTabletResponse)(nil), // 27: vitess.vtadmin.v19.DeleteTabletResponse + (*EmergencyFailoverShardRequest)(nil), // 28: vitess.vtadmin.v19.EmergencyFailoverShardRequest + (*EmergencyFailoverShardResponse)(nil), // 29: vitess.vtadmin.v19.EmergencyFailoverShardResponse + (*FindSchemaRequest)(nil), // 30: vitess.vtadmin.v19.FindSchemaRequest + (*GetBackupsRequest)(nil), // 31: vitess.vtadmin.v19.GetBackupsRequest + (*GetBackupsResponse)(nil), // 32: vitess.vtadmin.v19.GetBackupsResponse + (*GetCellInfosRequest)(nil), // 33: vitess.vtadmin.v19.GetCellInfosRequest + (*GetCellInfosResponse)(nil), // 34: vitess.vtadmin.v19.GetCellInfosResponse + (*GetCellsAliasesRequest)(nil), // 35: vitess.vtadmin.v19.GetCellsAliasesRequest + (*GetCellsAliasesResponse)(nil), // 36: vitess.vtadmin.v19.GetCellsAliasesResponse + (*GetClustersRequest)(nil), // 37: vitess.vtadmin.v19.GetClustersRequest + (*GetClustersResponse)(nil), // 38: vitess.vtadmin.v19.GetClustersResponse + (*GetFullStatusRequest)(nil), // 39: vitess.vtadmin.v19.GetFullStatusRequest + (*GetGatesRequest)(nil), // 40: vitess.vtadmin.v19.GetGatesRequest + (*GetGatesResponse)(nil), // 41: vitess.vtadmin.v19.GetGatesResponse + (*GetKeyspaceRequest)(nil), // 42: vitess.vtadmin.v19.GetKeyspaceRequest + (*GetKeyspacesRequest)(nil), // 43: vitess.vtadmin.v19.GetKeyspacesRequest + (*GetKeyspacesResponse)(nil), // 44: vitess.vtadmin.v19.GetKeyspacesResponse + (*GetSchemaRequest)(nil), // 45: vitess.vtadmin.v19.GetSchemaRequest + (*GetSchemasRequest)(nil), // 46: vitess.vtadmin.v19.GetSchemasRequest + (*GetSchemasResponse)(nil), // 47: vitess.vtadmin.v19.GetSchemasResponse + (*GetSchemaMigrationsRequest)(nil), // 48: vitess.vtadmin.v19.GetSchemaMigrationsRequest + (*GetSchemaMigrationsResponse)(nil), // 49: vitess.vtadmin.v19.GetSchemaMigrationsResponse + (*GetShardReplicationPositionsRequest)(nil), // 50: vitess.vtadmin.v19.GetShardReplicationPositionsRequest + (*GetShardReplicationPositionsResponse)(nil), // 51: vitess.vtadmin.v19.GetShardReplicationPositionsResponse + (*GetSrvKeyspaceRequest)(nil), // 52: vitess.vtadmin.v19.GetSrvKeyspaceRequest + (*GetSrvKeyspacesRequest)(nil), // 53: vitess.vtadmin.v19.GetSrvKeyspacesRequest + (*GetSrvKeyspacesResponse)(nil), // 54: vitess.vtadmin.v19.GetSrvKeyspacesResponse + (*GetSrvVSchemaRequest)(nil), // 55: vitess.vtadmin.v19.GetSrvVSchemaRequest + (*GetSrvVSchemasRequest)(nil), // 56: vitess.vtadmin.v19.GetSrvVSchemasRequest + (*GetSrvVSchemasResponse)(nil), // 57: vitess.vtadmin.v19.GetSrvVSchemasResponse + (*GetSchemaTableSizeOptions)(nil), // 58: vitess.vtadmin.v19.GetSchemaTableSizeOptions + (*GetTabletRequest)(nil), // 59: vitess.vtadmin.v19.GetTabletRequest + (*GetTabletsRequest)(nil), // 60: vitess.vtadmin.v19.GetTabletsRequest + (*GetTabletsResponse)(nil), // 61: vitess.vtadmin.v19.GetTabletsResponse + (*GetTopologyPathRequest)(nil), // 62: vitess.vtadmin.v19.GetTopologyPathRequest + (*GetVSchemaRequest)(nil), // 63: vitess.vtadmin.v19.GetVSchemaRequest + (*GetVSchemasRequest)(nil), // 64: vitess.vtadmin.v19.GetVSchemasRequest + (*GetVSchemasResponse)(nil), // 65: vitess.vtadmin.v19.GetVSchemasResponse + (*GetVtctldsRequest)(nil), // 66: vitess.vtadmin.v19.GetVtctldsRequest + (*GetVtctldsResponse)(nil), // 67: vitess.vtadmin.v19.GetVtctldsResponse + (*GetWorkflowRequest)(nil), // 68: vitess.vtadmin.v19.GetWorkflowRequest + (*GetWorkflowsRequest)(nil), // 69: vitess.vtadmin.v19.GetWorkflowsRequest + (*GetWorkflowsResponse)(nil), // 70: vitess.vtadmin.v19.GetWorkflowsResponse + (*LaunchSchemaMigrationRequest)(nil), // 71: vitess.vtadmin.v19.LaunchSchemaMigrationRequest + (*PingTabletRequest)(nil), // 72: vitess.vtadmin.v19.PingTabletRequest + (*PingTabletResponse)(nil), // 73: vitess.vtadmin.v19.PingTabletResponse + (*PlannedFailoverShardRequest)(nil), // 74: vitess.vtadmin.v19.PlannedFailoverShardRequest + (*PlannedFailoverShardResponse)(nil), // 75: vitess.vtadmin.v19.PlannedFailoverShardResponse + (*RebuildKeyspaceGraphRequest)(nil), // 76: vitess.vtadmin.v19.RebuildKeyspaceGraphRequest + (*RebuildKeyspaceGraphResponse)(nil), // 77: vitess.vtadmin.v19.RebuildKeyspaceGraphResponse + (*RefreshStateRequest)(nil), // 78: vitess.vtadmin.v19.RefreshStateRequest + (*RefreshStateResponse)(nil), // 79: vitess.vtadmin.v19.RefreshStateResponse + (*ReloadSchemasRequest)(nil), // 80: vitess.vtadmin.v19.ReloadSchemasRequest + (*ReloadSchemasResponse)(nil), // 81: vitess.vtadmin.v19.ReloadSchemasResponse + (*ReloadSchemaShardRequest)(nil), // 82: vitess.vtadmin.v19.ReloadSchemaShardRequest + (*ReloadSchemaShardResponse)(nil), // 83: vitess.vtadmin.v19.ReloadSchemaShardResponse + (*RefreshTabletReplicationSourceRequest)(nil), // 84: vitess.vtadmin.v19.RefreshTabletReplicationSourceRequest + (*RefreshTabletReplicationSourceResponse)(nil), // 85: vitess.vtadmin.v19.RefreshTabletReplicationSourceResponse + (*RemoveKeyspaceCellRequest)(nil), // 86: vitess.vtadmin.v19.RemoveKeyspaceCellRequest + (*RemoveKeyspaceCellResponse)(nil), // 87: vitess.vtadmin.v19.RemoveKeyspaceCellResponse + (*RetrySchemaMigrationRequest)(nil), // 88: vitess.vtadmin.v19.RetrySchemaMigrationRequest + (*RunHealthCheckRequest)(nil), // 89: vitess.vtadmin.v19.RunHealthCheckRequest + (*RunHealthCheckResponse)(nil), // 90: vitess.vtadmin.v19.RunHealthCheckResponse + (*SetReadOnlyRequest)(nil), // 91: vitess.vtadmin.v19.SetReadOnlyRequest + (*SetReadOnlyResponse)(nil), // 92: vitess.vtadmin.v19.SetReadOnlyResponse + (*SetReadWriteRequest)(nil), // 93: vitess.vtadmin.v19.SetReadWriteRequest + (*SetReadWriteResponse)(nil), // 94: vitess.vtadmin.v19.SetReadWriteResponse + (*StartReplicationRequest)(nil), // 95: vitess.vtadmin.v19.StartReplicationRequest + (*StartReplicationResponse)(nil), // 96: vitess.vtadmin.v19.StartReplicationResponse + (*StopReplicationRequest)(nil), // 97: vitess.vtadmin.v19.StopReplicationRequest + (*StopReplicationResponse)(nil), // 98: vitess.vtadmin.v19.StopReplicationResponse + (*TabletExternallyPromotedRequest)(nil), // 99: vitess.vtadmin.v19.TabletExternallyPromotedRequest + (*TabletExternallyPromotedResponse)(nil), // 100: vitess.vtadmin.v19.TabletExternallyPromotedResponse + (*TabletExternallyReparentedRequest)(nil), // 101: vitess.vtadmin.v19.TabletExternallyReparentedRequest + (*ValidateRequest)(nil), // 102: vitess.vtadmin.v19.ValidateRequest + (*ValidateKeyspaceRequest)(nil), // 103: vitess.vtadmin.v19.ValidateKeyspaceRequest + (*ValidateSchemaKeyspaceRequest)(nil), // 104: vitess.vtadmin.v19.ValidateSchemaKeyspaceRequest + (*ValidateShardRequest)(nil), // 105: vitess.vtadmin.v19.ValidateShardRequest + (*ValidateVersionKeyspaceRequest)(nil), // 106: vitess.vtadmin.v19.ValidateVersionKeyspaceRequest + (*ValidateVersionShardRequest)(nil), // 107: vitess.vtadmin.v19.ValidateVersionShardRequest + (*VTExplainRequest)(nil), // 108: vitess.vtadmin.v19.VTExplainRequest + (*VTExplainResponse)(nil), // 109: vitess.vtadmin.v19.VTExplainResponse + nil, // 110: vitess.vtadmin.v19.ClusterCellsAliases.AliasesEntry + nil, // 111: vitess.vtadmin.v19.Keyspace.ShardsEntry + nil, // 112: vitess.vtadmin.v19.Schema.TableSizesEntry + (*Schema_ShardTableSize)(nil), // 113: vitess.vtadmin.v19.Schema.ShardTableSize + (*Schema_TableSize)(nil), // 114: vitess.vtadmin.v19.Schema.TableSize + nil, // 115: vitess.vtadmin.v19.Schema.TableSize.ByShardEntry + (*GetSchemaMigrationsRequest_ClusterRequest)(nil), // 116: vitess.vtadmin.v19.GetSchemaMigrationsRequest.ClusterRequest + nil, // 117: vitess.vtadmin.v19.GetSrvKeyspacesResponse.SrvKeyspacesEntry + nil, // 118: vitess.vtadmin.v19.GetWorkflowsResponse.WorkflowsByClusterEntry + (*ReloadSchemasResponse_KeyspaceResult)(nil), // 119: vitess.vtadmin.v19.ReloadSchemasResponse.KeyspaceResult + (*ReloadSchemasResponse_ShardResult)(nil), // 120: vitess.vtadmin.v19.ReloadSchemasResponse.ShardResult + (*ReloadSchemasResponse_TabletResult)(nil), // 121: vitess.vtadmin.v19.ReloadSchemasResponse.TabletResult + (*v19.BackupInfo)(nil), // 122: vitess.mysqlctl.v19.BackupInfo + (*v191.CellInfo)(nil), // 123: vitess.topodata.v19.CellInfo + (*v192.ShardReplicationPositionsResponse)(nil), // 124: vitess.vtctldata.v19.ShardReplicationPositionsResponse + (*v192.Keyspace)(nil), // 125: vitess.vtctldata.v19.Keyspace + (*v193.TableDefinition)(nil), // 126: vitess.tabletmanagerdata.v19.TableDefinition + (*v192.SchemaMigration)(nil), // 127: vitess.vtctldata.v19.SchemaMigration + (*v192.Shard)(nil), // 128: vitess.vtctldata.v19.Shard + (*v194.SrvVSchema)(nil), // 129: vitess.vschema.v19.SrvVSchema + (*v191.Tablet)(nil), // 130: vitess.topodata.v19.Tablet + (*v194.Keyspace)(nil), // 131: vitess.vschema.v19.Keyspace + (*v192.Workflow)(nil), // 132: vitess.vtctldata.v19.Workflow + (*v192.ApplySchemaRequest)(nil), // 133: vitess.vtctldata.v19.ApplySchemaRequest + (*v192.CancelSchemaMigrationRequest)(nil), // 134: vitess.vtctldata.v19.CancelSchemaMigrationRequest + (*v192.CleanupSchemaMigrationRequest)(nil), // 135: vitess.vtctldata.v19.CleanupSchemaMigrationRequest + (*v192.CompleteSchemaMigrationRequest)(nil), // 136: vitess.vtctldata.v19.CompleteSchemaMigrationRequest + (*v192.CreateKeyspaceRequest)(nil), // 137: vitess.vtctldata.v19.CreateKeyspaceRequest + (*v192.CreateShardRequest)(nil), // 138: vitess.vtctldata.v19.CreateShardRequest + (*v192.DeleteKeyspaceRequest)(nil), // 139: vitess.vtctldata.v19.DeleteKeyspaceRequest + (*v192.DeleteShardsRequest)(nil), // 140: vitess.vtctldata.v19.DeleteShardsRequest + (*v191.TabletAlias)(nil), // 141: vitess.topodata.v19.TabletAlias + (*v192.EmergencyReparentShardRequest)(nil), // 142: vitess.vtctldata.v19.EmergencyReparentShardRequest + (*v195.Event)(nil), // 143: vitess.logutil.v19.Event + (*v192.GetBackupsRequest)(nil), // 144: vitess.vtctldata.v19.GetBackupsRequest + (*v192.LaunchSchemaMigrationRequest)(nil), // 145: vitess.vtctldata.v19.LaunchSchemaMigrationRequest + (*v192.PlannedReparentShardRequest)(nil), // 146: vitess.vtctldata.v19.PlannedReparentShardRequest + (*v192.RetrySchemaMigrationRequest)(nil), // 147: vitess.vtctldata.v19.RetrySchemaMigrationRequest + (*v191.CellsAlias)(nil), // 148: vitess.topodata.v19.CellsAlias + (*v192.GetSchemaMigrationsRequest)(nil), // 149: vitess.vtctldata.v19.GetSchemaMigrationsRequest + (*v192.GetSrvKeyspacesResponse)(nil), // 150: vitess.vtctldata.v19.GetSrvKeyspacesResponse + (*v192.ApplySchemaResponse)(nil), // 151: vitess.vtctldata.v19.ApplySchemaResponse + (*v192.CancelSchemaMigrationResponse)(nil), // 152: vitess.vtctldata.v19.CancelSchemaMigrationResponse + (*v192.CleanupSchemaMigrationResponse)(nil), // 153: vitess.vtctldata.v19.CleanupSchemaMigrationResponse + (*v192.CompleteSchemaMigrationResponse)(nil), // 154: vitess.vtctldata.v19.CompleteSchemaMigrationResponse + (*v192.CreateShardResponse)(nil), // 155: vitess.vtctldata.v19.CreateShardResponse + (*v192.DeleteKeyspaceResponse)(nil), // 156: vitess.vtctldata.v19.DeleteKeyspaceResponse + (*v192.DeleteShardsResponse)(nil), // 157: vitess.vtctldata.v19.DeleteShardsResponse + (*v192.GetFullStatusResponse)(nil), // 158: vitess.vtctldata.v19.GetFullStatusResponse + (*v192.GetTopologyPathResponse)(nil), // 159: vitess.vtctldata.v19.GetTopologyPathResponse + (*v192.LaunchSchemaMigrationResponse)(nil), // 160: vitess.vtctldata.v19.LaunchSchemaMigrationResponse + (*v192.RetrySchemaMigrationResponse)(nil), // 161: vitess.vtctldata.v19.RetrySchemaMigrationResponse + (*v192.ValidateResponse)(nil), // 162: vitess.vtctldata.v19.ValidateResponse + (*v192.ValidateKeyspaceResponse)(nil), // 163: vitess.vtctldata.v19.ValidateKeyspaceResponse + (*v192.ValidateSchemaKeyspaceResponse)(nil), // 164: vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse + (*v192.ValidateShardResponse)(nil), // 165: vitess.vtctldata.v19.ValidateShardResponse + (*v192.ValidateVersionKeyspaceResponse)(nil), // 166: vitess.vtctldata.v19.ValidateVersionKeyspaceResponse + (*v192.ValidateVersionShardResponse)(nil), // 167: vitess.vtctldata.v19.ValidateVersionShardResponse +} +var file_vitess_vtadmin_v19_vtadmin_proto_depIdxs = []int32{ + 1, // 0: vitess.vtadmin.v19.ClusterBackup.cluster:type_name -> vitess.vtadmin.v19.Cluster + 122, // 1: vitess.vtadmin.v19.ClusterBackup.backup:type_name -> vitess.mysqlctl.v19.BackupInfo + 1, // 2: vitess.vtadmin.v19.ClusterCellsAliases.cluster:type_name -> vitess.vtadmin.v19.Cluster + 110, // 3: vitess.vtadmin.v19.ClusterCellsAliases.aliases:type_name -> vitess.vtadmin.v19.ClusterCellsAliases.AliasesEntry + 1, // 4: vitess.vtadmin.v19.ClusterCellInfo.cluster:type_name -> vitess.vtadmin.v19.Cluster + 123, // 5: vitess.vtadmin.v19.ClusterCellInfo.cell_info:type_name -> vitess.topodata.v19.CellInfo + 1, // 6: vitess.vtadmin.v19.ClusterShardReplicationPosition.cluster:type_name -> vitess.vtadmin.v19.Cluster + 124, // 7: vitess.vtadmin.v19.ClusterShardReplicationPosition.position_info:type_name -> vitess.vtctldata.v19.ShardReplicationPositionsResponse + 16, // 8: vitess.vtadmin.v19.ClusterWorkflows.workflows:type_name -> vitess.vtadmin.v19.Workflow + 1, // 9: vitess.vtadmin.v19.Keyspace.cluster:type_name -> vitess.vtadmin.v19.Cluster + 125, // 10: vitess.vtadmin.v19.Keyspace.keyspace:type_name -> vitess.vtctldata.v19.Keyspace + 111, // 11: vitess.vtadmin.v19.Keyspace.shards:type_name -> vitess.vtadmin.v19.Keyspace.ShardsEntry + 1, // 12: vitess.vtadmin.v19.Schema.cluster:type_name -> vitess.vtadmin.v19.Cluster + 126, // 13: vitess.vtadmin.v19.Schema.table_definitions:type_name -> vitess.tabletmanagerdata.v19.TableDefinition + 112, // 14: vitess.vtadmin.v19.Schema.table_sizes:type_name -> vitess.vtadmin.v19.Schema.TableSizesEntry + 1, // 15: vitess.vtadmin.v19.SchemaMigration.cluster:type_name -> vitess.vtadmin.v19.Cluster + 127, // 16: vitess.vtadmin.v19.SchemaMigration.schema_migration:type_name -> vitess.vtctldata.v19.SchemaMigration + 1, // 17: vitess.vtadmin.v19.Shard.cluster:type_name -> vitess.vtadmin.v19.Cluster + 128, // 18: vitess.vtadmin.v19.Shard.shard:type_name -> vitess.vtctldata.v19.Shard + 1, // 19: vitess.vtadmin.v19.SrvVSchema.cluster:type_name -> vitess.vtadmin.v19.Cluster + 129, // 20: vitess.vtadmin.v19.SrvVSchema.srv_v_schema:type_name -> vitess.vschema.v19.SrvVSchema + 1, // 21: vitess.vtadmin.v19.Tablet.cluster:type_name -> vitess.vtadmin.v19.Cluster + 130, // 22: vitess.vtadmin.v19.Tablet.tablet:type_name -> vitess.topodata.v19.Tablet + 0, // 23: vitess.vtadmin.v19.Tablet.state:type_name -> vitess.vtadmin.v19.Tablet.ServingState + 1, // 24: vitess.vtadmin.v19.VSchema.cluster:type_name -> vitess.vtadmin.v19.Cluster + 131, // 25: vitess.vtadmin.v19.VSchema.v_schema:type_name -> vitess.vschema.v19.Keyspace + 1, // 26: vitess.vtadmin.v19.Vtctld.cluster:type_name -> vitess.vtadmin.v19.Cluster + 1, // 27: vitess.vtadmin.v19.VTGate.cluster:type_name -> vitess.vtadmin.v19.Cluster + 1, // 28: vitess.vtadmin.v19.Workflow.cluster:type_name -> vitess.vtadmin.v19.Cluster + 132, // 29: vitess.vtadmin.v19.Workflow.workflow:type_name -> vitess.vtctldata.v19.Workflow + 133, // 30: vitess.vtadmin.v19.ApplySchemaRequest.request:type_name -> vitess.vtctldata.v19.ApplySchemaRequest + 134, // 31: vitess.vtadmin.v19.CancelSchemaMigrationRequest.request:type_name -> vitess.vtctldata.v19.CancelSchemaMigrationRequest + 135, // 32: vitess.vtadmin.v19.CleanupSchemaMigrationRequest.request:type_name -> vitess.vtctldata.v19.CleanupSchemaMigrationRequest + 136, // 33: vitess.vtadmin.v19.CompleteSchemaMigrationRequest.request:type_name -> vitess.vtctldata.v19.CompleteSchemaMigrationRequest + 137, // 34: vitess.vtadmin.v19.CreateKeyspaceRequest.options:type_name -> vitess.vtctldata.v19.CreateKeyspaceRequest + 7, // 35: vitess.vtadmin.v19.CreateKeyspaceResponse.keyspace:type_name -> vitess.vtadmin.v19.Keyspace + 138, // 36: vitess.vtadmin.v19.CreateShardRequest.options:type_name -> vitess.vtctldata.v19.CreateShardRequest + 139, // 37: vitess.vtadmin.v19.DeleteKeyspaceRequest.options:type_name -> vitess.vtctldata.v19.DeleteKeyspaceRequest + 140, // 38: vitess.vtadmin.v19.DeleteShardsRequest.options:type_name -> vitess.vtctldata.v19.DeleteShardsRequest + 141, // 39: vitess.vtadmin.v19.DeleteTabletRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 1, // 40: vitess.vtadmin.v19.DeleteTabletResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 142, // 41: vitess.vtadmin.v19.EmergencyFailoverShardRequest.options:type_name -> vitess.vtctldata.v19.EmergencyReparentShardRequest + 1, // 42: vitess.vtadmin.v19.EmergencyFailoverShardResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 141, // 43: vitess.vtadmin.v19.EmergencyFailoverShardResponse.promoted_primary:type_name -> vitess.topodata.v19.TabletAlias + 143, // 44: vitess.vtadmin.v19.EmergencyFailoverShardResponse.events:type_name -> vitess.logutil.v19.Event + 58, // 45: vitess.vtadmin.v19.FindSchemaRequest.table_size_options:type_name -> vitess.vtadmin.v19.GetSchemaTableSizeOptions + 144, // 46: vitess.vtadmin.v19.GetBackupsRequest.request_options:type_name -> vitess.vtctldata.v19.GetBackupsRequest + 2, // 47: vitess.vtadmin.v19.GetBackupsResponse.backups:type_name -> vitess.vtadmin.v19.ClusterBackup + 4, // 48: vitess.vtadmin.v19.GetCellInfosResponse.cell_infos:type_name -> vitess.vtadmin.v19.ClusterCellInfo + 3, // 49: vitess.vtadmin.v19.GetCellsAliasesResponse.aliases:type_name -> vitess.vtadmin.v19.ClusterCellsAliases + 1, // 50: vitess.vtadmin.v19.GetClustersResponse.clusters:type_name -> vitess.vtadmin.v19.Cluster + 141, // 51: vitess.vtadmin.v19.GetFullStatusRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 15, // 52: vitess.vtadmin.v19.GetGatesResponse.gates:type_name -> vitess.vtadmin.v19.VTGate + 7, // 53: vitess.vtadmin.v19.GetKeyspacesResponse.keyspaces:type_name -> vitess.vtadmin.v19.Keyspace + 58, // 54: vitess.vtadmin.v19.GetSchemaRequest.table_size_options:type_name -> vitess.vtadmin.v19.GetSchemaTableSizeOptions + 58, // 55: vitess.vtadmin.v19.GetSchemasRequest.table_size_options:type_name -> vitess.vtadmin.v19.GetSchemaTableSizeOptions + 8, // 56: vitess.vtadmin.v19.GetSchemasResponse.schemas:type_name -> vitess.vtadmin.v19.Schema + 116, // 57: vitess.vtadmin.v19.GetSchemaMigrationsRequest.cluster_requests:type_name -> vitess.vtadmin.v19.GetSchemaMigrationsRequest.ClusterRequest + 9, // 58: vitess.vtadmin.v19.GetSchemaMigrationsResponse.schema_migrations:type_name -> vitess.vtadmin.v19.SchemaMigration + 5, // 59: vitess.vtadmin.v19.GetShardReplicationPositionsResponse.replication_positions:type_name -> vitess.vtadmin.v19.ClusterShardReplicationPosition + 117, // 60: vitess.vtadmin.v19.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vitess.vtadmin.v19.GetSrvKeyspacesResponse.SrvKeyspacesEntry + 11, // 61: vitess.vtadmin.v19.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vitess.vtadmin.v19.SrvVSchema + 141, // 62: vitess.vtadmin.v19.GetTabletRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 12, // 63: vitess.vtadmin.v19.GetTabletsResponse.tablets:type_name -> vitess.vtadmin.v19.Tablet + 13, // 64: vitess.vtadmin.v19.GetVSchemasResponse.v_schemas:type_name -> vitess.vtadmin.v19.VSchema + 14, // 65: vitess.vtadmin.v19.GetVtctldsResponse.vtctlds:type_name -> vitess.vtadmin.v19.Vtctld + 118, // 66: vitess.vtadmin.v19.GetWorkflowsResponse.workflows_by_cluster:type_name -> vitess.vtadmin.v19.GetWorkflowsResponse.WorkflowsByClusterEntry + 145, // 67: vitess.vtadmin.v19.LaunchSchemaMigrationRequest.request:type_name -> vitess.vtctldata.v19.LaunchSchemaMigrationRequest + 141, // 68: vitess.vtadmin.v19.PingTabletRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 1, // 69: vitess.vtadmin.v19.PingTabletResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 146, // 70: vitess.vtadmin.v19.PlannedFailoverShardRequest.options:type_name -> vitess.vtctldata.v19.PlannedReparentShardRequest + 1, // 71: vitess.vtadmin.v19.PlannedFailoverShardResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 141, // 72: vitess.vtadmin.v19.PlannedFailoverShardResponse.promoted_primary:type_name -> vitess.topodata.v19.TabletAlias + 143, // 73: vitess.vtadmin.v19.PlannedFailoverShardResponse.events:type_name -> vitess.logutil.v19.Event + 141, // 74: vitess.vtadmin.v19.RefreshStateRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 1, // 75: vitess.vtadmin.v19.RefreshStateResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 141, // 76: vitess.vtadmin.v19.ReloadSchemasRequest.tablets:type_name -> vitess.topodata.v19.TabletAlias + 119, // 77: vitess.vtadmin.v19.ReloadSchemasResponse.keyspace_results:type_name -> vitess.vtadmin.v19.ReloadSchemasResponse.KeyspaceResult + 120, // 78: vitess.vtadmin.v19.ReloadSchemasResponse.shard_results:type_name -> vitess.vtadmin.v19.ReloadSchemasResponse.ShardResult + 121, // 79: vitess.vtadmin.v19.ReloadSchemasResponse.tablet_results:type_name -> vitess.vtadmin.v19.ReloadSchemasResponse.TabletResult + 143, // 80: vitess.vtadmin.v19.ReloadSchemaShardResponse.events:type_name -> vitess.logutil.v19.Event + 141, // 81: vitess.vtadmin.v19.RefreshTabletReplicationSourceRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 141, // 82: vitess.vtadmin.v19.RefreshTabletReplicationSourceResponse.primary:type_name -> vitess.topodata.v19.TabletAlias + 1, // 83: vitess.vtadmin.v19.RefreshTabletReplicationSourceResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 147, // 84: vitess.vtadmin.v19.RetrySchemaMigrationRequest.request:type_name -> vitess.vtctldata.v19.RetrySchemaMigrationRequest + 141, // 85: vitess.vtadmin.v19.RunHealthCheckRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 1, // 86: vitess.vtadmin.v19.RunHealthCheckResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 141, // 87: vitess.vtadmin.v19.SetReadOnlyRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 141, // 88: vitess.vtadmin.v19.SetReadWriteRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 141, // 89: vitess.vtadmin.v19.StartReplicationRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 1, // 90: vitess.vtadmin.v19.StartReplicationResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 141, // 91: vitess.vtadmin.v19.StopReplicationRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 1, // 92: vitess.vtadmin.v19.StopReplicationResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 141, // 93: vitess.vtadmin.v19.TabletExternallyPromotedRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 1, // 94: vitess.vtadmin.v19.TabletExternallyPromotedResponse.cluster:type_name -> vitess.vtadmin.v19.Cluster + 141, // 95: vitess.vtadmin.v19.TabletExternallyPromotedResponse.new_primary:type_name -> vitess.topodata.v19.TabletAlias + 141, // 96: vitess.vtadmin.v19.TabletExternallyPromotedResponse.old_primary:type_name -> vitess.topodata.v19.TabletAlias + 141, // 97: vitess.vtadmin.v19.TabletExternallyReparentedRequest.alias:type_name -> vitess.topodata.v19.TabletAlias + 148, // 98: vitess.vtadmin.v19.ClusterCellsAliases.AliasesEntry.value:type_name -> vitess.topodata.v19.CellsAlias + 128, // 99: vitess.vtadmin.v19.Keyspace.ShardsEntry.value:type_name -> vitess.vtctldata.v19.Shard + 114, // 100: vitess.vtadmin.v19.Schema.TableSizesEntry.value:type_name -> vitess.vtadmin.v19.Schema.TableSize + 115, // 101: vitess.vtadmin.v19.Schema.TableSize.by_shard:type_name -> vitess.vtadmin.v19.Schema.TableSize.ByShardEntry + 113, // 102: vitess.vtadmin.v19.Schema.TableSize.ByShardEntry.value:type_name -> vitess.vtadmin.v19.Schema.ShardTableSize + 149, // 103: vitess.vtadmin.v19.GetSchemaMigrationsRequest.ClusterRequest.request:type_name -> vitess.vtctldata.v19.GetSchemaMigrationsRequest + 150, // 104: vitess.vtadmin.v19.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> vitess.vtctldata.v19.GetSrvKeyspacesResponse + 6, // 105: vitess.vtadmin.v19.GetWorkflowsResponse.WorkflowsByClusterEntry.value:type_name -> vitess.vtadmin.v19.ClusterWorkflows + 7, // 106: vitess.vtadmin.v19.ReloadSchemasResponse.KeyspaceResult.keyspace:type_name -> vitess.vtadmin.v19.Keyspace + 143, // 107: vitess.vtadmin.v19.ReloadSchemasResponse.KeyspaceResult.events:type_name -> vitess.logutil.v19.Event + 10, // 108: vitess.vtadmin.v19.ReloadSchemasResponse.ShardResult.shard:type_name -> vitess.vtadmin.v19.Shard + 143, // 109: vitess.vtadmin.v19.ReloadSchemasResponse.ShardResult.events:type_name -> vitess.logutil.v19.Event + 12, // 110: vitess.vtadmin.v19.ReloadSchemasResponse.TabletResult.tablet:type_name -> vitess.vtadmin.v19.Tablet + 17, // 111: vitess.vtadmin.v19.VTAdmin.ApplySchema:input_type -> vitess.vtadmin.v19.ApplySchemaRequest + 18, // 112: vitess.vtadmin.v19.VTAdmin.CancelSchemaMigration:input_type -> vitess.vtadmin.v19.CancelSchemaMigrationRequest + 19, // 113: vitess.vtadmin.v19.VTAdmin.CleanupSchemaMigration:input_type -> vitess.vtadmin.v19.CleanupSchemaMigrationRequest + 20, // 114: vitess.vtadmin.v19.VTAdmin.CompleteSchemaMigration:input_type -> vitess.vtadmin.v19.CompleteSchemaMigrationRequest + 21, // 115: vitess.vtadmin.v19.VTAdmin.CreateKeyspace:input_type -> vitess.vtadmin.v19.CreateKeyspaceRequest + 23, // 116: vitess.vtadmin.v19.VTAdmin.CreateShard:input_type -> vitess.vtadmin.v19.CreateShardRequest + 24, // 117: vitess.vtadmin.v19.VTAdmin.DeleteKeyspace:input_type -> vitess.vtadmin.v19.DeleteKeyspaceRequest + 25, // 118: vitess.vtadmin.v19.VTAdmin.DeleteShards:input_type -> vitess.vtadmin.v19.DeleteShardsRequest + 26, // 119: vitess.vtadmin.v19.VTAdmin.DeleteTablet:input_type -> vitess.vtadmin.v19.DeleteTabletRequest + 28, // 120: vitess.vtadmin.v19.VTAdmin.EmergencyFailoverShard:input_type -> vitess.vtadmin.v19.EmergencyFailoverShardRequest + 30, // 121: vitess.vtadmin.v19.VTAdmin.FindSchema:input_type -> vitess.vtadmin.v19.FindSchemaRequest + 31, // 122: vitess.vtadmin.v19.VTAdmin.GetBackups:input_type -> vitess.vtadmin.v19.GetBackupsRequest + 33, // 123: vitess.vtadmin.v19.VTAdmin.GetCellInfos:input_type -> vitess.vtadmin.v19.GetCellInfosRequest + 35, // 124: vitess.vtadmin.v19.VTAdmin.GetCellsAliases:input_type -> vitess.vtadmin.v19.GetCellsAliasesRequest + 37, // 125: vitess.vtadmin.v19.VTAdmin.GetClusters:input_type -> vitess.vtadmin.v19.GetClustersRequest + 39, // 126: vitess.vtadmin.v19.VTAdmin.GetFullStatus:input_type -> vitess.vtadmin.v19.GetFullStatusRequest + 40, // 127: vitess.vtadmin.v19.VTAdmin.GetGates:input_type -> vitess.vtadmin.v19.GetGatesRequest + 42, // 128: vitess.vtadmin.v19.VTAdmin.GetKeyspace:input_type -> vitess.vtadmin.v19.GetKeyspaceRequest + 43, // 129: vitess.vtadmin.v19.VTAdmin.GetKeyspaces:input_type -> vitess.vtadmin.v19.GetKeyspacesRequest + 45, // 130: vitess.vtadmin.v19.VTAdmin.GetSchema:input_type -> vitess.vtadmin.v19.GetSchemaRequest + 46, // 131: vitess.vtadmin.v19.VTAdmin.GetSchemas:input_type -> vitess.vtadmin.v19.GetSchemasRequest + 48, // 132: vitess.vtadmin.v19.VTAdmin.GetSchemaMigrations:input_type -> vitess.vtadmin.v19.GetSchemaMigrationsRequest + 50, // 133: vitess.vtadmin.v19.VTAdmin.GetShardReplicationPositions:input_type -> vitess.vtadmin.v19.GetShardReplicationPositionsRequest + 52, // 134: vitess.vtadmin.v19.VTAdmin.GetSrvKeyspace:input_type -> vitess.vtadmin.v19.GetSrvKeyspaceRequest + 53, // 135: vitess.vtadmin.v19.VTAdmin.GetSrvKeyspaces:input_type -> vitess.vtadmin.v19.GetSrvKeyspacesRequest + 55, // 136: vitess.vtadmin.v19.VTAdmin.GetSrvVSchema:input_type -> vitess.vtadmin.v19.GetSrvVSchemaRequest + 56, // 137: vitess.vtadmin.v19.VTAdmin.GetSrvVSchemas:input_type -> vitess.vtadmin.v19.GetSrvVSchemasRequest + 59, // 138: vitess.vtadmin.v19.VTAdmin.GetTablet:input_type -> vitess.vtadmin.v19.GetTabletRequest + 60, // 139: vitess.vtadmin.v19.VTAdmin.GetTablets:input_type -> vitess.vtadmin.v19.GetTabletsRequest + 62, // 140: vitess.vtadmin.v19.VTAdmin.GetTopologyPath:input_type -> vitess.vtadmin.v19.GetTopologyPathRequest + 63, // 141: vitess.vtadmin.v19.VTAdmin.GetVSchema:input_type -> vitess.vtadmin.v19.GetVSchemaRequest + 64, // 142: vitess.vtadmin.v19.VTAdmin.GetVSchemas:input_type -> vitess.vtadmin.v19.GetVSchemasRequest + 66, // 143: vitess.vtadmin.v19.VTAdmin.GetVtctlds:input_type -> vitess.vtadmin.v19.GetVtctldsRequest + 68, // 144: vitess.vtadmin.v19.VTAdmin.GetWorkflow:input_type -> vitess.vtadmin.v19.GetWorkflowRequest + 69, // 145: vitess.vtadmin.v19.VTAdmin.GetWorkflows:input_type -> vitess.vtadmin.v19.GetWorkflowsRequest + 71, // 146: vitess.vtadmin.v19.VTAdmin.LaunchSchemaMigration:input_type -> vitess.vtadmin.v19.LaunchSchemaMigrationRequest + 72, // 147: vitess.vtadmin.v19.VTAdmin.PingTablet:input_type -> vitess.vtadmin.v19.PingTabletRequest + 74, // 148: vitess.vtadmin.v19.VTAdmin.PlannedFailoverShard:input_type -> vitess.vtadmin.v19.PlannedFailoverShardRequest + 76, // 149: vitess.vtadmin.v19.VTAdmin.RebuildKeyspaceGraph:input_type -> vitess.vtadmin.v19.RebuildKeyspaceGraphRequest + 78, // 150: vitess.vtadmin.v19.VTAdmin.RefreshState:input_type -> vitess.vtadmin.v19.RefreshStateRequest + 84, // 151: vitess.vtadmin.v19.VTAdmin.RefreshTabletReplicationSource:input_type -> vitess.vtadmin.v19.RefreshTabletReplicationSourceRequest + 80, // 152: vitess.vtadmin.v19.VTAdmin.ReloadSchemas:input_type -> vitess.vtadmin.v19.ReloadSchemasRequest + 82, // 153: vitess.vtadmin.v19.VTAdmin.ReloadSchemaShard:input_type -> vitess.vtadmin.v19.ReloadSchemaShardRequest + 86, // 154: vitess.vtadmin.v19.VTAdmin.RemoveKeyspaceCell:input_type -> vitess.vtadmin.v19.RemoveKeyspaceCellRequest + 88, // 155: vitess.vtadmin.v19.VTAdmin.RetrySchemaMigration:input_type -> vitess.vtadmin.v19.RetrySchemaMigrationRequest + 89, // 156: vitess.vtadmin.v19.VTAdmin.RunHealthCheck:input_type -> vitess.vtadmin.v19.RunHealthCheckRequest + 91, // 157: vitess.vtadmin.v19.VTAdmin.SetReadOnly:input_type -> vitess.vtadmin.v19.SetReadOnlyRequest + 93, // 158: vitess.vtadmin.v19.VTAdmin.SetReadWrite:input_type -> vitess.vtadmin.v19.SetReadWriteRequest + 95, // 159: vitess.vtadmin.v19.VTAdmin.StartReplication:input_type -> vitess.vtadmin.v19.StartReplicationRequest + 97, // 160: vitess.vtadmin.v19.VTAdmin.StopReplication:input_type -> vitess.vtadmin.v19.StopReplicationRequest + 99, // 161: vitess.vtadmin.v19.VTAdmin.TabletExternallyPromoted:input_type -> vitess.vtadmin.v19.TabletExternallyPromotedRequest + 102, // 162: vitess.vtadmin.v19.VTAdmin.Validate:input_type -> vitess.vtadmin.v19.ValidateRequest + 103, // 163: vitess.vtadmin.v19.VTAdmin.ValidateKeyspace:input_type -> vitess.vtadmin.v19.ValidateKeyspaceRequest + 104, // 164: vitess.vtadmin.v19.VTAdmin.ValidateSchemaKeyspace:input_type -> vitess.vtadmin.v19.ValidateSchemaKeyspaceRequest + 105, // 165: vitess.vtadmin.v19.VTAdmin.ValidateShard:input_type -> vitess.vtadmin.v19.ValidateShardRequest + 106, // 166: vitess.vtadmin.v19.VTAdmin.ValidateVersionKeyspace:input_type -> vitess.vtadmin.v19.ValidateVersionKeyspaceRequest + 107, // 167: vitess.vtadmin.v19.VTAdmin.ValidateVersionShard:input_type -> vitess.vtadmin.v19.ValidateVersionShardRequest + 108, // 168: vitess.vtadmin.v19.VTAdmin.VTExplain:input_type -> vitess.vtadmin.v19.VTExplainRequest + 151, // 169: vitess.vtadmin.v19.VTAdmin.ApplySchema:output_type -> vitess.vtctldata.v19.ApplySchemaResponse + 152, // 170: vitess.vtadmin.v19.VTAdmin.CancelSchemaMigration:output_type -> vitess.vtctldata.v19.CancelSchemaMigrationResponse + 153, // 171: vitess.vtadmin.v19.VTAdmin.CleanupSchemaMigration:output_type -> vitess.vtctldata.v19.CleanupSchemaMigrationResponse + 154, // 172: vitess.vtadmin.v19.VTAdmin.CompleteSchemaMigration:output_type -> vitess.vtctldata.v19.CompleteSchemaMigrationResponse + 22, // 173: vitess.vtadmin.v19.VTAdmin.CreateKeyspace:output_type -> vitess.vtadmin.v19.CreateKeyspaceResponse + 155, // 174: vitess.vtadmin.v19.VTAdmin.CreateShard:output_type -> vitess.vtctldata.v19.CreateShardResponse + 156, // 175: vitess.vtadmin.v19.VTAdmin.DeleteKeyspace:output_type -> vitess.vtctldata.v19.DeleteKeyspaceResponse + 157, // 176: vitess.vtadmin.v19.VTAdmin.DeleteShards:output_type -> vitess.vtctldata.v19.DeleteShardsResponse + 27, // 177: vitess.vtadmin.v19.VTAdmin.DeleteTablet:output_type -> vitess.vtadmin.v19.DeleteTabletResponse + 29, // 178: vitess.vtadmin.v19.VTAdmin.EmergencyFailoverShard:output_type -> vitess.vtadmin.v19.EmergencyFailoverShardResponse + 8, // 179: vitess.vtadmin.v19.VTAdmin.FindSchema:output_type -> vitess.vtadmin.v19.Schema + 32, // 180: vitess.vtadmin.v19.VTAdmin.GetBackups:output_type -> vitess.vtadmin.v19.GetBackupsResponse + 34, // 181: vitess.vtadmin.v19.VTAdmin.GetCellInfos:output_type -> vitess.vtadmin.v19.GetCellInfosResponse + 36, // 182: vitess.vtadmin.v19.VTAdmin.GetCellsAliases:output_type -> vitess.vtadmin.v19.GetCellsAliasesResponse + 38, // 183: vitess.vtadmin.v19.VTAdmin.GetClusters:output_type -> vitess.vtadmin.v19.GetClustersResponse + 158, // 184: vitess.vtadmin.v19.VTAdmin.GetFullStatus:output_type -> vitess.vtctldata.v19.GetFullStatusResponse + 41, // 185: vitess.vtadmin.v19.VTAdmin.GetGates:output_type -> vitess.vtadmin.v19.GetGatesResponse + 7, // 186: vitess.vtadmin.v19.VTAdmin.GetKeyspace:output_type -> vitess.vtadmin.v19.Keyspace + 44, // 187: vitess.vtadmin.v19.VTAdmin.GetKeyspaces:output_type -> vitess.vtadmin.v19.GetKeyspacesResponse + 8, // 188: vitess.vtadmin.v19.VTAdmin.GetSchema:output_type -> vitess.vtadmin.v19.Schema + 47, // 189: vitess.vtadmin.v19.VTAdmin.GetSchemas:output_type -> vitess.vtadmin.v19.GetSchemasResponse + 49, // 190: vitess.vtadmin.v19.VTAdmin.GetSchemaMigrations:output_type -> vitess.vtadmin.v19.GetSchemaMigrationsResponse + 51, // 191: vitess.vtadmin.v19.VTAdmin.GetShardReplicationPositions:output_type -> vitess.vtadmin.v19.GetShardReplicationPositionsResponse + 150, // 192: vitess.vtadmin.v19.VTAdmin.GetSrvKeyspace:output_type -> vitess.vtctldata.v19.GetSrvKeyspacesResponse + 54, // 193: vitess.vtadmin.v19.VTAdmin.GetSrvKeyspaces:output_type -> vitess.vtadmin.v19.GetSrvKeyspacesResponse + 11, // 194: vitess.vtadmin.v19.VTAdmin.GetSrvVSchema:output_type -> vitess.vtadmin.v19.SrvVSchema + 57, // 195: vitess.vtadmin.v19.VTAdmin.GetSrvVSchemas:output_type -> vitess.vtadmin.v19.GetSrvVSchemasResponse + 12, // 196: vitess.vtadmin.v19.VTAdmin.GetTablet:output_type -> vitess.vtadmin.v19.Tablet + 61, // 197: vitess.vtadmin.v19.VTAdmin.GetTablets:output_type -> vitess.vtadmin.v19.GetTabletsResponse + 159, // 198: vitess.vtadmin.v19.VTAdmin.GetTopologyPath:output_type -> vitess.vtctldata.v19.GetTopologyPathResponse + 13, // 199: vitess.vtadmin.v19.VTAdmin.GetVSchema:output_type -> vitess.vtadmin.v19.VSchema + 65, // 200: vitess.vtadmin.v19.VTAdmin.GetVSchemas:output_type -> vitess.vtadmin.v19.GetVSchemasResponse + 67, // 201: vitess.vtadmin.v19.VTAdmin.GetVtctlds:output_type -> vitess.vtadmin.v19.GetVtctldsResponse + 16, // 202: vitess.vtadmin.v19.VTAdmin.GetWorkflow:output_type -> vitess.vtadmin.v19.Workflow + 70, // 203: vitess.vtadmin.v19.VTAdmin.GetWorkflows:output_type -> vitess.vtadmin.v19.GetWorkflowsResponse + 160, // 204: vitess.vtadmin.v19.VTAdmin.LaunchSchemaMigration:output_type -> vitess.vtctldata.v19.LaunchSchemaMigrationResponse + 73, // 205: vitess.vtadmin.v19.VTAdmin.PingTablet:output_type -> vitess.vtadmin.v19.PingTabletResponse + 75, // 206: vitess.vtadmin.v19.VTAdmin.PlannedFailoverShard:output_type -> vitess.vtadmin.v19.PlannedFailoverShardResponse + 77, // 207: vitess.vtadmin.v19.VTAdmin.RebuildKeyspaceGraph:output_type -> vitess.vtadmin.v19.RebuildKeyspaceGraphResponse + 79, // 208: vitess.vtadmin.v19.VTAdmin.RefreshState:output_type -> vitess.vtadmin.v19.RefreshStateResponse + 85, // 209: vitess.vtadmin.v19.VTAdmin.RefreshTabletReplicationSource:output_type -> vitess.vtadmin.v19.RefreshTabletReplicationSourceResponse + 81, // 210: vitess.vtadmin.v19.VTAdmin.ReloadSchemas:output_type -> vitess.vtadmin.v19.ReloadSchemasResponse + 83, // 211: vitess.vtadmin.v19.VTAdmin.ReloadSchemaShard:output_type -> vitess.vtadmin.v19.ReloadSchemaShardResponse + 87, // 212: vitess.vtadmin.v19.VTAdmin.RemoveKeyspaceCell:output_type -> vitess.vtadmin.v19.RemoveKeyspaceCellResponse + 161, // 213: vitess.vtadmin.v19.VTAdmin.RetrySchemaMigration:output_type -> vitess.vtctldata.v19.RetrySchemaMigrationResponse + 90, // 214: vitess.vtadmin.v19.VTAdmin.RunHealthCheck:output_type -> vitess.vtadmin.v19.RunHealthCheckResponse + 92, // 215: vitess.vtadmin.v19.VTAdmin.SetReadOnly:output_type -> vitess.vtadmin.v19.SetReadOnlyResponse + 94, // 216: vitess.vtadmin.v19.VTAdmin.SetReadWrite:output_type -> vitess.vtadmin.v19.SetReadWriteResponse + 96, // 217: vitess.vtadmin.v19.VTAdmin.StartReplication:output_type -> vitess.vtadmin.v19.StartReplicationResponse + 98, // 218: vitess.vtadmin.v19.VTAdmin.StopReplication:output_type -> vitess.vtadmin.v19.StopReplicationResponse + 100, // 219: vitess.vtadmin.v19.VTAdmin.TabletExternallyPromoted:output_type -> vitess.vtadmin.v19.TabletExternallyPromotedResponse + 162, // 220: vitess.vtadmin.v19.VTAdmin.Validate:output_type -> vitess.vtctldata.v19.ValidateResponse + 163, // 221: vitess.vtadmin.v19.VTAdmin.ValidateKeyspace:output_type -> vitess.vtctldata.v19.ValidateKeyspaceResponse + 164, // 222: vitess.vtadmin.v19.VTAdmin.ValidateSchemaKeyspace:output_type -> vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse + 165, // 223: vitess.vtadmin.v19.VTAdmin.ValidateShard:output_type -> vitess.vtctldata.v19.ValidateShardResponse + 166, // 224: vitess.vtadmin.v19.VTAdmin.ValidateVersionKeyspace:output_type -> vitess.vtctldata.v19.ValidateVersionKeyspaceResponse + 167, // 225: vitess.vtadmin.v19.VTAdmin.ValidateVersionShard:output_type -> vitess.vtctldata.v19.ValidateVersionShardResponse + 109, // 226: vitess.vtadmin.v19.VTAdmin.VTExplain:output_type -> vitess.vtadmin.v19.VTExplainResponse + 169, // [169:227] is the sub-list for method output_type + 111, // [111:169] is the sub-list for method input_type + 111, // [111:111] is the sub-list for extension type_name + 111, // [111:111] is the sub-list for extension extendee + 0, // [0:111] is the sub-list for field type_name +} + +func init() { file_vitess_vtadmin_v19_vtadmin_proto_init() } +func file_vitess_vtadmin_v19_vtadmin_proto_init() { + if File_vitess_vtadmin_v19_vtadmin_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Cluster); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*ClusterBackup); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*ClusterCellsAliases); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ClusterCellInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ClusterShardReplicationPosition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*ClusterWorkflows); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*Keyspace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*Schema); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*SchemaMigration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*Shard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*SrvVSchema); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*Tablet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*VSchema); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*Vtctld); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*VTGate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*Workflow); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*CancelSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*CleanupSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*CompleteSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*CreateKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*CreateKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*CreateShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*DeleteKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*DeleteShardsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTabletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTabletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*EmergencyFailoverShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*EmergencyFailoverShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*FindSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*GetBackupsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*GetBackupsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfosRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfosResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*GetCellsAliasesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[35].Exporter = func(v any, i int) any { + switch v := v.(*GetCellsAliasesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*GetClustersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[37].Exporter = func(v any, i int) any { + switch v := v.(*GetClustersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[38].Exporter = func(v any, i int) any { + switch v := v.(*GetFullStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*GetGatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*GetGatesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[41].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[42].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[43].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[44].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[45].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[46].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[47].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[48].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[49].Exporter = func(v any, i int) any { + switch v := v.(*GetShardReplicationPositionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[50].Exporter = func(v any, i int) any { + switch v := v.(*GetShardReplicationPositionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[51].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[52].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[53].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[54].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[55].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[56].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[57].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaTableSizeOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[58].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[59].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[60].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[61].Exporter = func(v any, i int) any { + switch v := v.(*GetTopologyPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[62].Exporter = func(v any, i int) any { + switch v := v.(*GetVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[63].Exporter = func(v any, i int) any { + switch v := v.(*GetVSchemasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[64].Exporter = func(v any, i int) any { + switch v := v.(*GetVSchemasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*GetVtctldsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[66].Exporter = func(v any, i int) any { + switch v := v.(*GetVtctldsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[67].Exporter = func(v any, i int) any { + switch v := v.(*GetWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[68].Exporter = func(v any, i int) any { + switch v := v.(*GetWorkflowsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[69].Exporter = func(v any, i int) any { + switch v := v.(*GetWorkflowsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[70].Exporter = func(v any, i int) any { + switch v := v.(*LaunchSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[71].Exporter = func(v any, i int) any { + switch v := v.(*PingTabletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[72].Exporter = func(v any, i int) any { + switch v := v.(*PingTabletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[73].Exporter = func(v any, i int) any { + switch v := v.(*PlannedFailoverShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[74].Exporter = func(v any, i int) any { + switch v := v.(*PlannedFailoverShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[75].Exporter = func(v any, i int) any { + switch v := v.(*RebuildKeyspaceGraphRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[76].Exporter = func(v any, i int) any { + switch v := v.(*RebuildKeyspaceGraphResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[77].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[78].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[79].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[80].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[81].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[82].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[83].Exporter = func(v any, i int) any { + switch v := v.(*RefreshTabletReplicationSourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[84].Exporter = func(v any, i int) any { + switch v := v.(*RefreshTabletReplicationSourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[85].Exporter = func(v any, i int) any { + switch v := v.(*RemoveKeyspaceCellRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[86].Exporter = func(v any, i int) any { + switch v := v.(*RemoveKeyspaceCellResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[87].Exporter = func(v any, i int) any { + switch v := v.(*RetrySchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[88].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[89].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[90].Exporter = func(v any, i int) any { + switch v := v.(*SetReadOnlyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[91].Exporter = func(v any, i int) any { + switch v := v.(*SetReadOnlyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[92].Exporter = func(v any, i int) any { + switch v := v.(*SetReadWriteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[93].Exporter = func(v any, i int) any { + switch v := v.(*SetReadWriteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[94].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[95].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[96].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[97].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[98].Exporter = func(v any, i int) any { + switch v := v.(*TabletExternallyPromotedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[99].Exporter = func(v any, i int) any { + switch v := v.(*TabletExternallyPromotedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[100].Exporter = func(v any, i int) any { + switch v := v.(*TabletExternallyReparentedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[101].Exporter = func(v any, i int) any { + switch v := v.(*ValidateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[102].Exporter = func(v any, i int) any { + switch v := v.(*ValidateKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[103].Exporter = func(v any, i int) any { + switch v := v.(*ValidateSchemaKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[104].Exporter = func(v any, i int) any { + switch v := v.(*ValidateShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[105].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVersionKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[106].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVersionShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[107].Exporter = func(v any, i int) any { + switch v := v.(*VTExplainRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[108].Exporter = func(v any, i int) any { + switch v := v.(*VTExplainResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[112].Exporter = func(v any, i int) any { + switch v := v.(*Schema_ShardTableSize); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[113].Exporter = func(v any, i int) any { + switch v := v.(*Schema_TableSize); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[115].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsRequest_ClusterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[118].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemasResponse_KeyspaceResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[119].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemasResponse_ShardResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtadmin_v19_vtadmin_proto_msgTypes[120].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemasResponse_TabletResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vtadmin_v19_vtadmin_proto_rawDesc, + NumEnums: 1, + NumMessages: 121, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_vitess_vtadmin_v19_vtadmin_proto_goTypes, + DependencyIndexes: file_vitess_vtadmin_v19_vtadmin_proto_depIdxs, + EnumInfos: file_vitess_vtadmin_v19_vtadmin_proto_enumTypes, + MessageInfos: file_vitess_vtadmin_v19_vtadmin_proto_msgTypes, + }.Build() + File_vitess_vtadmin_v19_vtadmin_proto = out.File + file_vitess_vtadmin_v19_vtadmin_proto_rawDesc = nil + file_vitess_vtadmin_v19_vtadmin_proto_goTypes = nil + file_vitess_vtadmin_v19_vtadmin_proto_depIdxs = nil +} diff --git a/gen/vitess/vtadmin/v19/vtadmin_vtproto.pb.go b/gen/vitess/vtadmin/v19/vtadmin_vtproto.pb.go new file mode 100644 index 0000000..758c8bd --- /dev/null +++ b/gen/vitess/vtadmin/v19/vtadmin_vtproto.pb.go @@ -0,0 +1,24763 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/vtadmin/v19/vtadmin.proto + +package vtadminv19 + +import ( + fmt "fmt" + v195 "github.com/planetscale/vitess-types/gen/vitess/logutil/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/v19" + v193 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v194 "github.com/planetscale/vitess-types/gen/vitess/vschema/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Cluster) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Cluster) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Cluster) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarint(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ClusterBackup) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterBackup) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ClusterBackup) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Backup != nil { + if vtmsg, ok := interface{}(m.Backup).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Backup) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ClusterCellsAliases) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterCellsAliases) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ClusterCellsAliases) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Aliases) > 0 { + for k := range m.Aliases { + v := m.Aliases[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ClusterCellInfo) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterCellInfo) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ClusterCellInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CellInfo != nil { + if vtmsg, ok := interface{}(m.CellInfo).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CellInfo) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ClusterShardReplicationPosition) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterShardReplicationPosition) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ClusterShardReplicationPosition) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PositionInfo != nil { + if vtmsg, ok := interface{}(m.PositionInfo).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PositionInfo) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ClusterWorkflows) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterWorkflows) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ClusterWorkflows) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Warnings) > 0 { + for iNdEx := len(m.Warnings) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Warnings[iNdEx]) + copy(dAtA[i:], m.Warnings[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Warnings[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Workflows) > 0 { + for iNdEx := len(m.Workflows) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Workflows[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Keyspace) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Keyspace) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for k := range m.Shards { + v := m.Shards[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if m.Keyspace != nil { + if vtmsg, ok := interface{}(m.Keyspace).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Keyspace) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Schema_ShardTableSize) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Schema_ShardTableSize) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Schema_ShardTableSize) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DataLength != 0 { + i = encodeVarint(dAtA, i, uint64(m.DataLength)) + i-- + dAtA[i] = 0x10 + } + if m.RowCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowCount)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Schema_TableSize) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Schema_TableSize) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Schema_TableSize) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ByShard) > 0 { + for k := range m.ByShard { + v := m.ByShard[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if m.DataLength != 0 { + i = encodeVarint(dAtA, i, uint64(m.DataLength)) + i-- + dAtA[i] = 0x10 + } + if m.RowCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowCount)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Schema) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Schema) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Schema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TableSizes) > 0 { + for k := range m.TableSizes { + v := m.TableSizes[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.TableDefinitions) > 0 { + for iNdEx := len(m.TableDefinitions) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.TableDefinitions[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TableDefinitions[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SchemaMigration) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SchemaMigration) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SchemaMigration) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SchemaMigration != nil { + if vtmsg, ok := interface{}(m.SchemaMigration).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.SchemaMigration) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Shard) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Shard) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Shard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Shard != nil { + if vtmsg, ok := interface{}(m.Shard).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Shard) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SrvVSchema) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SrvVSchema) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SrvVSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SrvVSchema != nil { + if vtmsg, ok := interface{}(m.SrvVSchema).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.SrvVSchema) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Tablet) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tablet) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Tablet) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.FQDN) > 0 { + i -= len(m.FQDN) + copy(dAtA[i:], m.FQDN) + i = encodeVarint(dAtA, i, uint64(len(m.FQDN))) + i-- + dAtA[i] = 0x22 + } + if m.State != 0 { + i = encodeVarint(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x18 + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VSchema) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VSchema) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.VSchema != nil { + if vtmsg, ok := interface{}(m.VSchema).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.VSchema) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Vtctld) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Vtctld) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Vtctld) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.FQDN) > 0 { + i -= len(m.FQDN) + copy(dAtA[i:], m.FQDN) + i = encodeVarint(dAtA, i, uint64(len(m.FQDN))) + i-- + dAtA[i] = 0x1a + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Hostname) > 0 { + i -= len(m.Hostname) + copy(dAtA[i:], m.Hostname) + i = encodeVarint(dAtA, i, uint64(len(m.Hostname))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VTGate) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VTGate) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VTGate) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.FQDN) > 0 { + i -= len(m.FQDN) + copy(dAtA[i:], m.FQDN) + i = encodeVarint(dAtA, i, uint64(len(m.FQDN))) + i-- + dAtA[i] = 0x32 + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x1a + } + if len(m.Pool) > 0 { + i -= len(m.Pool) + copy(dAtA[i:], m.Pool) + i = encodeVarint(dAtA, i, uint64(len(m.Pool))) + i-- + dAtA[i] = 0x12 + } + if len(m.Hostname) > 0 { + i -= len(m.Hostname) + copy(dAtA[i:], m.Hostname) + i = encodeVarint(dAtA, i, uint64(len(m.Hostname))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Workflow) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Workflow != nil { + if vtmsg, ok := interface{}(m.Workflow).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Workflow) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplySchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplySchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplySchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CancelSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CancelSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CancelSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CleanupSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CleanupSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CleanupSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CompleteSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CompleteSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CompleteSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Keyspace != nil { + size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteShardsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteShardsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteShardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteTabletRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteTabletRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AllowPrimary { + i-- + if m.AllowPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteTabletResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteTabletResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EmergencyFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EmergencyFailoverShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *EmergencyFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EmergencyFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EmergencyFailoverShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *EmergencyFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + } + if m.PromotedPrimary != nil { + if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PromotedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FindSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FindSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FindSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TableSizeOptions != nil { + size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Table) > 0 { + i -= len(m.Table) + copy(dAtA[i:], m.Table) + i = encodeVarint(dAtA, i, uint64(len(m.Table))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetBackupsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetBackupsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetBackupsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RequestOptions != nil { + if vtmsg, ok := interface{}(m.RequestOptions).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RequestOptions) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.KeyspaceShards) > 0 { + for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.KeyspaceShards[iNdEx]) + copy(dAtA[i:], m.KeyspaceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetBackupsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetBackupsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetBackupsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Backups) > 0 { + for iNdEx := len(m.Backups) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Backups[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetCellInfosRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellInfosRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellInfosRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.NamesOnly { + i-- + if m.NamesOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetCellInfosResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellInfosResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellInfosResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.CellInfos) > 0 { + for iNdEx := len(m.CellInfos) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.CellInfos[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetCellsAliasesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellsAliasesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellsAliasesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetCellsAliasesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellsAliasesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellsAliasesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Aliases) > 0 { + for iNdEx := len(m.Aliases) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Aliases[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetClustersRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetClustersRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetClustersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetClustersResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetClustersResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetClustersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Clusters) > 0 { + for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Clusters[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetFullStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetFullStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetFullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetGatesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetGatesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetGatesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetGatesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetGatesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetGatesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Gates) > 0 { + for iNdEx := len(m.Gates) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Gates[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Keyspaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TableSizeOptions != nil { + size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if len(m.Table) > 0 { + i -= len(m.Table) + copy(dAtA[i:], m.Table) + i = encodeVarint(dAtA, i, uint64(len(m.Table))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TableSizeOptions != nil { + size, err := m.TableSizeOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSchemasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Schemas) > 0 { + for iNdEx := len(m.Schemas) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Schemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaMigrationsRequest_ClusterRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaMigrationsRequest_ClusterRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaMigrationsRequest_ClusterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaMigrationsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaMigrationsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaMigrationsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterRequests) > 0 { + for iNdEx := len(m.ClusterRequests) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ClusterRequests[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaMigrationsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaMigrationsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaMigrationsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SchemaMigrations) > 0 { + for iNdEx := len(m.SchemaMigrations) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SchemaMigrations[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetShardReplicationPositionsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardReplicationPositionsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardReplicationPositionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.KeyspaceShards) > 0 { + for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.KeyspaceShards[iNdEx]) + copy(dAtA[i:], m.KeyspaceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetShardReplicationPositionsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardReplicationPositionsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardReplicationPositionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ReplicationPositions) > 0 { + for iNdEx := len(m.ReplicationPositions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ReplicationPositions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SrvKeyspaces) > 0 { + for k := range m.SrvKeyspaces { + v := m.SrvKeyspaces[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvVSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSrvVSchemasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvVSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvVSchemasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvVSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SrvVSchemas) > 0 { + for iNdEx := len(m.SrvVSchemas) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.SrvVSchemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaTableSizeOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaTableSizeOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaTableSizeOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IncludeNonServingShards { + i-- + if m.IncludeNonServingShards { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.AggregateSizes { + i-- + if m.AggregateSizes { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GetTabletRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTabletRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetTabletsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTabletsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTabletsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetTabletsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTabletsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tablets) > 0 { + for iNdEx := len(m.Tablets) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Tablets[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetTopologyPathRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTopologyPathRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTopologyPathRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarint(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetVSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetVSchemasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetVSchemasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.VSchemas) > 0 { + for iNdEx := len(m.VSchemas) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.VSchemas[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetVtctldsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVtctldsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVtctldsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetVtctldsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVtctldsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVtctldsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Vtctlds) > 0 { + for iNdEx := len(m.Vtctlds) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Vtctlds[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetWorkflowRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetWorkflowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetWorkflowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ActiveOnly { + i-- + if m.ActiveOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetWorkflowsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.IgnoreKeyspaces) > 0 { + for iNdEx := len(m.IgnoreKeyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IgnoreKeyspaces[iNdEx]) + copy(dAtA[i:], m.IgnoreKeyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.IgnoreKeyspaces[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.ActiveOnly { + i-- + if m.ActiveOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetWorkflowsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.WorkflowsByCluster) > 0 { + for k := range m.WorkflowsByCluster { + v := m.WorkflowsByCluster[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *LaunchSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LaunchSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LaunchSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PingTabletRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PingTabletRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PingTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PingTabletResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PingTabletResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PingTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PlannedFailoverShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PlannedFailoverShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PlannedFailoverShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PlannedFailoverShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PlannedFailoverShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PlannedFailoverShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + } + if m.PromotedPrimary != nil { + if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PromotedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RebuildKeyspaceGraphRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RebuildKeyspaceGraphRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RebuildKeyspaceGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AllowPartial { + i-- + if m.AllowPartial { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RebuildKeyspaceGraphResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RebuildKeyspaceGraphResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RebuildKeyspaceGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IncludePrimary { + i-- + if m.IncludePrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0x32 + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x28 + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Tablets) > 0 { + for iNdEx := len(m.Tablets) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Tablets[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablets[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.KeyspaceShards) > 0 { + for iNdEx := len(m.KeyspaceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.KeyspaceShards[iNdEx]) + copy(dAtA[i:], m.KeyspaceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShards[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keyspaces[iNdEx]) + copy(dAtA[i:], m.Keyspaces[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspaces[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemasResponse_KeyspaceResult) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemasResponse_KeyspaceResult) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemasResponse_KeyspaceResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Keyspace != nil { + size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemasResponse_ShardResult) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemasResponse_ShardResult) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemasResponse_ShardResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Shard != nil { + size, err := m.Shard.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemasResponse_TabletResult) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemasResponse_TabletResult) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemasResponse_TabletResult) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Result) > 0 { + i -= len(m.Result) + copy(dAtA[i:], m.Result) + i = encodeVarint(dAtA, i, uint64(len(m.Result))) + i-- + dAtA[i] = 0x12 + } + if m.Tablet != nil { + size, err := m.Tablet.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TabletResults) > 0 { + for iNdEx := len(m.TabletResults) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TabletResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.ShardResults) > 0 { + for iNdEx := len(m.ShardResults) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.KeyspaceResults) > 0 { + for iNdEx := len(m.KeyspaceResults) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.KeyspaceResults[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x30 + } + if m.IncludePrimary { + i-- + if m.IncludePrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *RefreshTabletReplicationSourceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshTabletReplicationSourceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshTabletReplicationSourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RefreshTabletReplicationSourceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshTabletReplicationSourceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshTabletReplicationSourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if m.Primary != nil { + if vtmsg, ok := interface{}(m.Primary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Primary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RemoveKeyspaceCellRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveKeyspaceCellRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveKeyspaceCellRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Recursive { + i-- + if m.Recursive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RemoveKeyspaceCellResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveKeyspaceCellResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveKeyspaceCellResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RetrySchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RetrySchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RetrySchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Request != nil { + if vtmsg, ok := interface{}(m.Request).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Request) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RunHealthCheckRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunHealthCheckRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RunHealthCheckResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunHealthCheckResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunHealthCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetReadOnlyRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadOnlyRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadOnlyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetReadOnlyResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadOnlyResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadOnlyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SetReadWriteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadWriteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetReadWriteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetReadWriteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetReadWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TabletExternallyPromotedRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TabletExternallyPromotedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyPromotedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TabletExternallyPromotedResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TabletExternallyPromotedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyPromotedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.OldPrimary != nil { + if vtmsg, ok := interface{}(m.OldPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.OldPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.NewPrimary != nil { + if vtmsg, ok := interface{}(m.NewPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.NewPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.Cluster != nil { + size, err := m.Cluster.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TabletExternallyReparentedRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TabletExternallyReparentedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyReparentedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ClusterIds) > 0 { + for iNdEx := len(m.ClusterIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClusterIds[iNdEx]) + copy(dAtA[i:], m.ClusterIds[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Alias != nil { + if vtmsg, ok := interface{}(m.Alias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Alias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateSchemaKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateSchemaKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateSchemaKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateVersionKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVersionKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateVersionShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVersionShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarint(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VTExplainRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VTExplainRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VTExplainRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Cluster) > 0 { + i -= len(m.Cluster) + copy(dAtA[i:], m.Cluster) + i = encodeVarint(dAtA, i, uint64(len(m.Cluster))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VTExplainResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VTExplainResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VTExplainResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Response) > 0 { + i -= len(m.Response) + copy(dAtA[i:], m.Response) + i = encodeVarint(dAtA, i, uint64(len(m.Response))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Cluster) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ClusterBackup) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Backup != nil { + if size, ok := interface{}(m.Backup).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Backup) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ClusterCellsAliases) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Aliases) > 0 { + for k, v := range m.Aliases { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ClusterCellInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CellInfo != nil { + if size, ok := interface{}(m.CellInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellInfo) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ClusterShardReplicationPosition) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PositionInfo != nil { + if size, ok := interface{}(m.PositionInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PositionInfo) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ClusterWorkflows) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Workflows) > 0 { + for _, e := range m.Workflows { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Warnings) > 0 { + for _, s := range m.Warnings { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Keyspace) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Keyspace != nil { + if size, ok := interface{}(m.Keyspace).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Keyspace) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Shards) > 0 { + for k, v := range m.Shards { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Schema_ShardTableSize) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RowCount != 0 { + n += 1 + sov(uint64(m.RowCount)) + } + if m.DataLength != 0 { + n += 1 + sov(uint64(m.DataLength)) + } + n += len(m.unknownFields) + return n +} + +func (m *Schema_TableSize) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RowCount != 0 { + n += 1 + sov(uint64(m.RowCount)) + } + if m.DataLength != 0 { + n += 1 + sov(uint64(m.DataLength)) + } + if len(m.ByShard) > 0 { + for k, v := range m.ByShard { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Schema) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TableDefinitions) > 0 { + for _, e := range m.TableDefinitions { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TableSizes) > 0 { + for k, v := range m.TableSizes { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SchemaMigration) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.SchemaMigration != nil { + if size, ok := interface{}(m.SchemaMigration).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.SchemaMigration) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Shard) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Shard != nil { + if size, ok := interface{}(m.Shard).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Shard) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SrvVSchema) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.SrvVSchema != nil { + if size, ok := interface{}(m.SrvVSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.SrvVSchema) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Tablet) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + if m.State != 0 { + n += 1 + sov(uint64(m.State)) + } + l = len(m.FQDN) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VSchema) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.VSchema != nil { + if size, ok := interface{}(m.VSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.VSchema) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Vtctld) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Hostname) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.FQDN) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VTGate) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Hostname) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Pool) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.FQDN) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Workflow != nil { + if size, ok := interface{}(m.Workflow).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Workflow) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ApplySchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CancelSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CleanupSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CompleteSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + l = m.Keyspace.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteShardsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.AllowPrimary { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteTabletResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *EmergencyFailoverShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *EmergencyFailoverShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PromotedPrimary != nil { + if size, ok := interface{}(m.PromotedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PromotedPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *FindSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Table) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.TableSizeOptions != nil { + l = m.TableSizeOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetBackupsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.KeyspaceShards) > 0 { + for _, s := range m.KeyspaceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.RequestOptions != nil { + if size, ok := interface{}(m.RequestOptions).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RequestOptions) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetBackupsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Backups) > 0 { + for _, e := range m.Backups { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellInfosRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.NamesOnly { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellInfosResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.CellInfos) > 0 { + for _, e := range m.CellInfos { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellsAliasesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellsAliasesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Aliases) > 0 { + for _, e := range m.Aliases { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetClustersRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetClustersResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Clusters) > 0 { + for _, e := range m.Clusters { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetFullStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetGatesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetGatesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Gates) > 0 { + for _, e := range m.Gates { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspacesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspacesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Keyspaces) > 0 { + for _, e := range m.Keyspaces { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Table) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TableSizeOptions != nil { + l = m.TableSizeOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.TableSizeOptions != nil { + l = m.TableSizeOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Schemas) > 0 { + for _, e := range m.Schemas { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaMigrationsRequest_ClusterRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaMigrationsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterRequests) > 0 { + for _, e := range m.ClusterRequests { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaMigrationsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SchemaMigrations) > 0 { + for _, e := range m.SchemaMigrations { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardReplicationPositionsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.KeyspaceShards) > 0 { + for _, s := range m.KeyspaceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardReplicationPositionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ReplicationPositions) > 0 { + for _, e := range m.ReplicationPositions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspacesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspacesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SrvKeyspaces) > 0 { + for k, v := range m.SrvKeyspaces { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SrvVSchemas) > 0 { + for _, e := range m.SrvVSchemas { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaTableSizeOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AggregateSizes { + n += 2 + } + if m.IncludeNonServingShards { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tablets) > 0 { + for _, e := range m.Tablets { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetTopologyPathRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Path) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetVSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetVSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.VSchemas) > 0 { + for _, e := range m.VSchemas { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetVtctldsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetVtctldsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Vtctlds) > 0 { + for _, e := range m.Vtctlds { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ActiveOnly { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.ActiveOnly { + n += 2 + } + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.IgnoreKeyspaces) > 0 { + for _, s := range m.IgnoreKeyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.WorkflowsByCluster) > 0 { + for k, v := range m.WorkflowsByCluster { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *LaunchSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PingTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *PingTabletResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PlannedFailoverShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PlannedFailoverShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PromotedPrimary != nil { + if size, ok := interface{}(m.PromotedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PromotedPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RebuildKeyspaceGraphRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.AllowPartial { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RebuildKeyspaceGraphResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Keyspaces) > 0 { + for _, s := range m.Keyspaces { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.KeyspaceShards) > 0 { + for _, s := range m.KeyspaceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Tablets) > 0 { + for _, e := range m.Tablets { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IncludePrimary { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse_KeyspaceResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + l = m.Keyspace.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse_ShardResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Shard != nil { + l = m.Shard.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse_TabletResult) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + l = m.Tablet.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Result) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.KeyspaceResults) > 0 { + for _, e := range m.KeyspaceResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ShardResults) > 0 { + for _, e := range m.ShardResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletResults) > 0 { + for _, e := range m.TabletResults { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IncludePrimary { + n += 2 + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshTabletReplicationSourceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshTabletReplicationSourceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Primary != nil { + if size, ok := interface{}(m.Primary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Primary) + } + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveKeyspaceCellRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.Recursive { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveKeyspaceCellResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RetrySchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Request != nil { + if size, ok := interface{}(m.Request).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Request) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadOnlyResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SetReadWriteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyPromotedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyPromotedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cluster != nil { + l = m.Cluster.SizeVT() + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.NewPrimary != nil { + if size, ok := interface{}(m.NewPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.NewPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if m.OldPrimary != nil { + if size, ok := interface{}(m.OldPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.OldPrimary) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyReparentedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Alias != nil { + if size, ok := interface{}(m.Alias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Alias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ClusterIds) > 0 { + for _, s := range m.ClusterIds { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateSchemaKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VTExplainRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cluster) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VTExplainResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Response) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Cluster) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Cluster: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Cluster: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterBackup) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterBackup: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterBackup: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Backup", 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.Backup == nil { + m.Backup = &v19.BackupInfo{} + } + if unmarshal, ok := interface{}(m.Backup).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Backup); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterCellsAliases) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterCellsAliases: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterCellsAliases: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Aliases", 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.Aliases == nil { + m.Aliases = make(map[string]*v191.CellsAlias) + } + var mapkey string + var mapvalue *v191.CellsAlias + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v191.CellsAlias{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Aliases[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterCellInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterCellInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterCellInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", 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.CellInfo == nil { + m.CellInfo = &v191.CellInfo{} + } + if unmarshal, ok := interface{}(m.CellInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterShardReplicationPosition) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterShardReplicationPosition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterShardReplicationPosition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PositionInfo", 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.PositionInfo == nil { + m.PositionInfo = &v192.ShardReplicationPositionsResponse{} + } + if unmarshal, ok := interface{}(m.PositionInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PositionInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterWorkflows) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterWorkflows: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterWorkflows: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflows", 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 + } + m.Workflows = append(m.Workflows, &Workflow{}) + if err := m.Workflows[len(m.Workflows)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Warnings", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Warnings = append(m.Warnings, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Keyspace) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &v192.Keyspace{} + } + if unmarshal, ok := interface{}(m.Keyspace).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Keyspace); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", 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.Shards == nil { + m.Shards = make(map[string]*v192.Shard) + } + var mapkey string + var mapvalue *v192.Shard + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v192.Shard{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Shards[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Schema_ShardTableSize) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Schema_ShardTableSize: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Schema_ShardTableSize: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + } + m.RowCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + } + m.DataLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DataLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Schema_TableSize) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Schema_TableSize: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Schema_TableSize: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + } + m.RowCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DataLength", wireType) + } + m.DataLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DataLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ByShard", 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.ByShard == nil { + m.ByShard = make(map[string]*Schema_ShardTableSize) + } + var mapkey string + var mapvalue *Schema_ShardTableSize + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Schema_ShardTableSize{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Schema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Schema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Schema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableDefinitions", 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 + } + m.TableDefinitions = append(m.TableDefinitions, &v193.TableDefinition{}) + if unmarshal, ok := interface{}(m.TableDefinitions[len(m.TableDefinitions)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TableDefinitions[len(m.TableDefinitions)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSizes", 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.TableSizes == nil { + m.TableSizes = make(map[string]*Schema_TableSize) + } + var mapkey string + var mapvalue *Schema_TableSize + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Schema_TableSize{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.TableSizes[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SchemaMigration) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SchemaMigration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SchemaMigration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SchemaMigration", 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.SchemaMigration == nil { + m.SchemaMigration = &v192.SchemaMigration{} + } + if unmarshal, ok := interface{}(m.SchemaMigration).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SchemaMigration); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Shard) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Shard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Shard: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &v192.Shard{} + } + if unmarshal, ok := interface{}(m.Shard).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SrvVSchema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SrvVSchema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SrvVSchema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchema", 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.SrvVSchema == nil { + m.SrvVSchema = &v194.SrvVSchema{} + } + if unmarshal, ok := interface{}(m.SrvVSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SrvVSchema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tablet) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Tablet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Tablet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v191.Tablet{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= Tablet_ServingState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FQDN = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VSchema) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VSchema: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VSchema: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VSchema", 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.VSchema == nil { + m.VSchema = &v194.Keyspace{} + } + if unmarshal, ok := interface{}(m.VSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.VSchema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Vtctld) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Vtctld: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Vtctld: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hostname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FQDN = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VTGate) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VTGate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VTGate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hostname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pool", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Pool = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FQDN", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FQDN = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", 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.Workflow == nil { + m.Workflow = &v192.Workflow{} + } + if unmarshal, ok := interface{}(m.Workflow).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Workflow); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplySchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplySchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &v192.ApplySchemaRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CancelSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CancelSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CancelSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &v192.CancelSchemaMigrationRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CleanupSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &v192.CleanupSchemaMigrationRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CompleteSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &v192.CompleteSchemaMigrationRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &v192.CreateKeyspaceRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &v192.CreateShardRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &v192.DeleteKeyspaceRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteShardsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteShardsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &v192.DeleteShardsRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteTabletRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteTabletRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPrimary = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteTabletResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteTabletResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EmergencyFailoverShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EmergencyFailoverShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EmergencyFailoverShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &v192.EmergencyReparentShardRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EmergencyFailoverShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EmergencyFailoverShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EmergencyFailoverShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", 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.PromotedPrimary == nil { + m.PromotedPrimary = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v195.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FindSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FindSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FindSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Table = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", 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.TableSizeOptions == nil { + m.TableSizeOptions = &GetSchemaTableSizeOptions{} + } + if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetBackupsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetBackupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestOptions", 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.RequestOptions == nil { + m.RequestOptions = &v192.GetBackupsRequest{} + } + if unmarshal, ok := interface{}(m.RequestOptions).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RequestOptions); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetBackupsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetBackupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Backups", 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 + } + m.Backups = append(m.Backups, &ClusterBackup{}) + if err := m.Backups[len(m.Backups)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfosRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfosRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfosRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NamesOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.NamesOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfosResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfosResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfosResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfos", 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 + } + m.CellInfos = append(m.CellInfos, &ClusterCellInfo{}) + if err := m.CellInfos[len(m.CellInfos)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Aliases", 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 + } + m.Aliases = append(m.Aliases, &ClusterCellsAliases{}) + if err := m.Aliases[len(m.Aliases)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetClustersRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetClustersRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetClustersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetClustersResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetClustersResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetClustersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Clusters", 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 + } + m.Clusters = append(m.Clusters, &Cluster{}) + if err := m.Clusters[len(m.Clusters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetFullStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetFullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetGatesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetGatesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetGatesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetGatesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetGatesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetGatesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Gates", 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 + } + m.Gates = append(m.Gates, &VTGate{}) + if err := m.Gates[len(m.Gates)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspacesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspacesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", 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 + } + m.Keyspaces = append(m.Keyspaces, &Keyspace{}) + if err := m.Keyspaces[len(m.Keyspaces)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Table = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", 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.TableSizeOptions == nil { + m.TableSizeOptions = &GetSchemaTableSizeOptions{} + } + if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSizeOptions", 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.TableSizeOptions == nil { + m.TableSizeOptions = &GetSchemaTableSizeOptions{} + } + if err := m.TableSizeOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Schemas", 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 + } + m.Schemas = append(m.Schemas, &Schema{}) + if err := m.Schemas[len(m.Schemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsRequest_ClusterRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest_ClusterRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest_ClusterRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &v192.GetSchemaMigrationsRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterRequests", 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 + } + m.ClusterRequests = append(m.ClusterRequests, &GetSchemaMigrationsRequest_ClusterRequest{}) + if err := m.ClusterRequests[len(m.ClusterRequests)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SchemaMigrations", 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 + } + m.SchemaMigrations = append(m.SchemaMigrations, &SchemaMigration{}) + if err := m.SchemaMigrations[len(m.SchemaMigrations)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardReplicationPositionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardReplicationPositionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardReplicationPositionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardReplicationPositionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardReplicationPositionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationPositions", 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 + } + m.ReplicationPositions = append(m.ReplicationPositions, &ClusterShardReplicationPosition{}) + if err := m.ReplicationPositions[len(m.ReplicationPositions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspacesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspacesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvKeyspaces", 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.SrvKeyspaces == nil { + m.SrvKeyspaces = make(map[string]*v192.GetSrvKeyspacesResponse) + } + var mapkey string + var mapvalue *v192.GetSrvKeyspacesResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v192.GetSrvKeyspacesResponse{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.SrvKeyspaces[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvVSchemasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvVSchemasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchemas", 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 + } + m.SrvVSchemas = append(m.SrvVSchemas, &SrvVSchema{}) + if err := m.SrvVSchemas[len(m.SrvVSchemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaTableSizeOptions) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaTableSizeOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaTableSizeOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AggregateSizes", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AggregateSizes = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeNonServingShards", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeNonServingShards = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablets", 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 + } + m.Tablets = append(m.Tablets, &Tablet{}) + if err := m.Tablets[len(m.Tablets)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTopologyPathRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTopologyPathRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Path = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVSchemasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVSchemasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVSchemasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVSchemasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VSchemas", 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 + } + m.VSchemas = append(m.VSchemas, &VSchema{}) + if err := m.VSchemas[len(m.VSchemas)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVtctldsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVtctldsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVtctldsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVtctldsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVtctldsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVtctldsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vtctlds", 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 + } + m.Vtctlds = append(m.Vtctlds, &Vtctld{}) + if err := m.Vtctlds[len(m.Vtctlds)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetWorkflowRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetWorkflowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ActiveOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetWorkflowsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetWorkflowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ActiveOnly = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IgnoreKeyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IgnoreKeyspaces = append(m.IgnoreKeyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetWorkflowsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetWorkflowsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetWorkflowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowsByCluster", 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.WorkflowsByCluster == nil { + m.WorkflowsByCluster = make(map[string]*ClusterWorkflows) + } + var mapkey string + var mapvalue *ClusterWorkflows + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ClusterWorkflows{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.WorkflowsByCluster[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LaunchSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LaunchSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LaunchSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &v192.LaunchSchemaMigrationRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingTabletRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingTabletRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingTabletResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingTabletResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PlannedFailoverShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PlannedFailoverShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PlannedFailoverShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &v192.PlannedReparentShardRequest{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PlannedFailoverShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PlannedFailoverShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PlannedFailoverShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", 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.PromotedPrimary == nil { + m.PromotedPrimary = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v195.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPartial", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPartial = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RebuildKeyspaceGraphResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspaces = append(m.Keyspaces, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.KeyspaceShards = append(m.KeyspaceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablets", 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 + } + m.Tablets = append(m.Tablets, &v191.TabletAlias{}) + if unmarshal, ok := interface{}(m.Tablets[len(m.Tablets)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablets[len(m.Tablets)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludePrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludePrimary = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemasResponse_KeyspaceResult) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemasResponse_KeyspaceResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemasResponse_KeyspaceResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v195.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemasResponse_ShardResult) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemasResponse_ShardResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemasResponse_ShardResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &Shard{} + } + if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v195.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemasResponse_TabletResult) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemasResponse_TabletResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemasResponse_TabletResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &Tablet{} + } + if err := m.Tablet.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Result = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceResults", 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 + } + m.KeyspaceResults = append(m.KeyspaceResults, &ReloadSchemasResponse_KeyspaceResult{}) + if err := m.KeyspaceResults[len(m.KeyspaceResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardResults", 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 + } + m.ShardResults = append(m.ShardResults, &ReloadSchemasResponse_ShardResult{}) + if err := m.ShardResults[len(m.ShardResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletResults", 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 + } + m.TabletResults = append(m.TabletResults, &ReloadSchemasResponse_TabletResult{}) + if err := m.TabletResults[len(m.TabletResults)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludePrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludePrimary = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v195.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshTabletReplicationSourceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshTabletReplicationSourceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshTabletReplicationSourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshTabletReplicationSourceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshTabletReplicationSourceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshTabletReplicationSourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Primary", 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.Primary == nil { + m.Primary = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Primary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Primary); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveKeyspaceCellRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveKeyspaceCellRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Recursive = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveKeyspaceCellResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveKeyspaceCellResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveKeyspaceCellResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RetrySchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RetrySchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RetrySchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Request", 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.Request == nil { + m.Request = &v192.RetrySchemaMigrationRequest{} + } + if unmarshal, ok := interface{}(m.Request).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Request); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadOnlyRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadOnlyRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadOnlyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadOnlyResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadOnlyResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadOnlyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadWriteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadWriteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadWriteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetReadWriteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetReadWriteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetReadWriteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TabletExternallyPromotedRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TabletExternallyPromotedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TabletExternallyPromotedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TabletExternallyPromotedResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TabletExternallyPromotedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TabletExternallyPromotedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", 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.Cluster == nil { + m.Cluster = &Cluster{} + } + if err := m.Cluster.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", 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.NewPrimary == nil { + m.NewPrimary = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.NewPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OldPrimary", 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.OldPrimary == nil { + m.OldPrimary = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.OldPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.OldPrimary); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TabletExternallyReparentedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TabletExternallyReparentedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", 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.Alias == nil { + m.Alias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Alias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Alias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterIds = append(m.ClusterIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVersionKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVersionShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVersionShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VTExplainRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VTExplainRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VTExplainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cluster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VTExplainResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VTExplainResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VTExplainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Response", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Response = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/vtadmin/v19/vtadminv19connect/vtadmin.connect.go b/gen/vitess/vtadmin/v19/vtadminv19connect/vtadmin.connect.go new file mode 100644 index 0000000..246a527 --- /dev/null +++ b/gen/vitess/vtadmin/v19/vtadminv19connect/vtadmin.connect.go @@ -0,0 +1,2019 @@ +// +//Copyright 2020 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// This package contains the types used by VTAdmin (and later an RPC service). + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/vtadmin/v19/vtadmin.proto + +package vtadminv19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v19 "github.com/planetscale/vitess-types/gen/vitess/vtadmin/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // VTAdminName is the fully-qualified name of the VTAdmin service. + VTAdminName = "vtadmin.VTAdmin" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // VTAdminApplySchemaProcedure is the fully-qualified name of the VTAdmin's ApplySchema RPC. + VTAdminApplySchemaProcedure = "/vtadmin.VTAdmin/ApplySchema" + // VTAdminCancelSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // CancelSchemaMigration RPC. + VTAdminCancelSchemaMigrationProcedure = "/vtadmin.VTAdmin/CancelSchemaMigration" + // VTAdminCleanupSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // CleanupSchemaMigration RPC. + VTAdminCleanupSchemaMigrationProcedure = "/vtadmin.VTAdmin/CleanupSchemaMigration" + // VTAdminCompleteSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // CompleteSchemaMigration RPC. + VTAdminCompleteSchemaMigrationProcedure = "/vtadmin.VTAdmin/CompleteSchemaMigration" + // VTAdminCreateKeyspaceProcedure is the fully-qualified name of the VTAdmin's CreateKeyspace RPC. + VTAdminCreateKeyspaceProcedure = "/vtadmin.VTAdmin/CreateKeyspace" + // VTAdminCreateShardProcedure is the fully-qualified name of the VTAdmin's CreateShard RPC. + VTAdminCreateShardProcedure = "/vtadmin.VTAdmin/CreateShard" + // VTAdminDeleteKeyspaceProcedure is the fully-qualified name of the VTAdmin's DeleteKeyspace RPC. + VTAdminDeleteKeyspaceProcedure = "/vtadmin.VTAdmin/DeleteKeyspace" + // VTAdminDeleteShardsProcedure is the fully-qualified name of the VTAdmin's DeleteShards RPC. + VTAdminDeleteShardsProcedure = "/vtadmin.VTAdmin/DeleteShards" + // VTAdminDeleteTabletProcedure is the fully-qualified name of the VTAdmin's DeleteTablet RPC. + VTAdminDeleteTabletProcedure = "/vtadmin.VTAdmin/DeleteTablet" + // VTAdminEmergencyFailoverShardProcedure is the fully-qualified name of the VTAdmin's + // EmergencyFailoverShard RPC. + VTAdminEmergencyFailoverShardProcedure = "/vtadmin.VTAdmin/EmergencyFailoverShard" + // VTAdminFindSchemaProcedure is the fully-qualified name of the VTAdmin's FindSchema RPC. + VTAdminFindSchemaProcedure = "/vtadmin.VTAdmin/FindSchema" + // VTAdminGetBackupsProcedure is the fully-qualified name of the VTAdmin's GetBackups RPC. + VTAdminGetBackupsProcedure = "/vtadmin.VTAdmin/GetBackups" + // VTAdminGetCellInfosProcedure is the fully-qualified name of the VTAdmin's GetCellInfos RPC. + VTAdminGetCellInfosProcedure = "/vtadmin.VTAdmin/GetCellInfos" + // VTAdminGetCellsAliasesProcedure is the fully-qualified name of the VTAdmin's GetCellsAliases RPC. + VTAdminGetCellsAliasesProcedure = "/vtadmin.VTAdmin/GetCellsAliases" + // VTAdminGetClustersProcedure is the fully-qualified name of the VTAdmin's GetClusters RPC. + VTAdminGetClustersProcedure = "/vtadmin.VTAdmin/GetClusters" + // VTAdminGetFullStatusProcedure is the fully-qualified name of the VTAdmin's GetFullStatus RPC. + VTAdminGetFullStatusProcedure = "/vtadmin.VTAdmin/GetFullStatus" + // VTAdminGetGatesProcedure is the fully-qualified name of the VTAdmin's GetGates RPC. + VTAdminGetGatesProcedure = "/vtadmin.VTAdmin/GetGates" + // VTAdminGetKeyspaceProcedure is the fully-qualified name of the VTAdmin's GetKeyspace RPC. + VTAdminGetKeyspaceProcedure = "/vtadmin.VTAdmin/GetKeyspace" + // VTAdminGetKeyspacesProcedure is the fully-qualified name of the VTAdmin's GetKeyspaces RPC. + VTAdminGetKeyspacesProcedure = "/vtadmin.VTAdmin/GetKeyspaces" + // VTAdminGetSchemaProcedure is the fully-qualified name of the VTAdmin's GetSchema RPC. + VTAdminGetSchemaProcedure = "/vtadmin.VTAdmin/GetSchema" + // VTAdminGetSchemasProcedure is the fully-qualified name of the VTAdmin's GetSchemas RPC. + VTAdminGetSchemasProcedure = "/vtadmin.VTAdmin/GetSchemas" + // VTAdminGetSchemaMigrationsProcedure is the fully-qualified name of the VTAdmin's + // GetSchemaMigrations RPC. + VTAdminGetSchemaMigrationsProcedure = "/vtadmin.VTAdmin/GetSchemaMigrations" + // VTAdminGetShardReplicationPositionsProcedure is the fully-qualified name of the VTAdmin's + // GetShardReplicationPositions RPC. + VTAdminGetShardReplicationPositionsProcedure = "/vtadmin.VTAdmin/GetShardReplicationPositions" + // VTAdminGetSrvKeyspaceProcedure is the fully-qualified name of the VTAdmin's GetSrvKeyspace RPC. + VTAdminGetSrvKeyspaceProcedure = "/vtadmin.VTAdmin/GetSrvKeyspace" + // VTAdminGetSrvKeyspacesProcedure is the fully-qualified name of the VTAdmin's GetSrvKeyspaces RPC. + VTAdminGetSrvKeyspacesProcedure = "/vtadmin.VTAdmin/GetSrvKeyspaces" + // VTAdminGetSrvVSchemaProcedure is the fully-qualified name of the VTAdmin's GetSrvVSchema RPC. + VTAdminGetSrvVSchemaProcedure = "/vtadmin.VTAdmin/GetSrvVSchema" + // VTAdminGetSrvVSchemasProcedure is the fully-qualified name of the VTAdmin's GetSrvVSchemas RPC. + VTAdminGetSrvVSchemasProcedure = "/vtadmin.VTAdmin/GetSrvVSchemas" + // VTAdminGetTabletProcedure is the fully-qualified name of the VTAdmin's GetTablet RPC. + VTAdminGetTabletProcedure = "/vtadmin.VTAdmin/GetTablet" + // VTAdminGetTabletsProcedure is the fully-qualified name of the VTAdmin's GetTablets RPC. + VTAdminGetTabletsProcedure = "/vtadmin.VTAdmin/GetTablets" + // VTAdminGetTopologyPathProcedure is the fully-qualified name of the VTAdmin's GetTopologyPath RPC. + VTAdminGetTopologyPathProcedure = "/vtadmin.VTAdmin/GetTopologyPath" + // VTAdminGetVSchemaProcedure is the fully-qualified name of the VTAdmin's GetVSchema RPC. + VTAdminGetVSchemaProcedure = "/vtadmin.VTAdmin/GetVSchema" + // VTAdminGetVSchemasProcedure is the fully-qualified name of the VTAdmin's GetVSchemas RPC. + VTAdminGetVSchemasProcedure = "/vtadmin.VTAdmin/GetVSchemas" + // VTAdminGetVtctldsProcedure is the fully-qualified name of the VTAdmin's GetVtctlds RPC. + VTAdminGetVtctldsProcedure = "/vtadmin.VTAdmin/GetVtctlds" + // VTAdminGetWorkflowProcedure is the fully-qualified name of the VTAdmin's GetWorkflow RPC. + VTAdminGetWorkflowProcedure = "/vtadmin.VTAdmin/GetWorkflow" + // VTAdminGetWorkflowsProcedure is the fully-qualified name of the VTAdmin's GetWorkflows RPC. + VTAdminGetWorkflowsProcedure = "/vtadmin.VTAdmin/GetWorkflows" + // VTAdminLaunchSchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // LaunchSchemaMigration RPC. + VTAdminLaunchSchemaMigrationProcedure = "/vtadmin.VTAdmin/LaunchSchemaMigration" + // VTAdminPingTabletProcedure is the fully-qualified name of the VTAdmin's PingTablet RPC. + VTAdminPingTabletProcedure = "/vtadmin.VTAdmin/PingTablet" + // VTAdminPlannedFailoverShardProcedure is the fully-qualified name of the VTAdmin's + // PlannedFailoverShard RPC. + VTAdminPlannedFailoverShardProcedure = "/vtadmin.VTAdmin/PlannedFailoverShard" + // VTAdminRebuildKeyspaceGraphProcedure is the fully-qualified name of the VTAdmin's + // RebuildKeyspaceGraph RPC. + VTAdminRebuildKeyspaceGraphProcedure = "/vtadmin.VTAdmin/RebuildKeyspaceGraph" + // VTAdminRefreshStateProcedure is the fully-qualified name of the VTAdmin's RefreshState RPC. + VTAdminRefreshStateProcedure = "/vtadmin.VTAdmin/RefreshState" + // VTAdminRefreshTabletReplicationSourceProcedure is the fully-qualified name of the VTAdmin's + // RefreshTabletReplicationSource RPC. + VTAdminRefreshTabletReplicationSourceProcedure = "/vtadmin.VTAdmin/RefreshTabletReplicationSource" + // VTAdminReloadSchemasProcedure is the fully-qualified name of the VTAdmin's ReloadSchemas RPC. + VTAdminReloadSchemasProcedure = "/vtadmin.VTAdmin/ReloadSchemas" + // VTAdminReloadSchemaShardProcedure is the fully-qualified name of the VTAdmin's ReloadSchemaShard + // RPC. + VTAdminReloadSchemaShardProcedure = "/vtadmin.VTAdmin/ReloadSchemaShard" + // VTAdminRemoveKeyspaceCellProcedure is the fully-qualified name of the VTAdmin's + // RemoveKeyspaceCell RPC. + VTAdminRemoveKeyspaceCellProcedure = "/vtadmin.VTAdmin/RemoveKeyspaceCell" + // VTAdminRetrySchemaMigrationProcedure is the fully-qualified name of the VTAdmin's + // RetrySchemaMigration RPC. + VTAdminRetrySchemaMigrationProcedure = "/vtadmin.VTAdmin/RetrySchemaMigration" + // VTAdminRunHealthCheckProcedure is the fully-qualified name of the VTAdmin's RunHealthCheck RPC. + VTAdminRunHealthCheckProcedure = "/vtadmin.VTAdmin/RunHealthCheck" + // VTAdminSetReadOnlyProcedure is the fully-qualified name of the VTAdmin's SetReadOnly RPC. + VTAdminSetReadOnlyProcedure = "/vtadmin.VTAdmin/SetReadOnly" + // VTAdminSetReadWriteProcedure is the fully-qualified name of the VTAdmin's SetReadWrite RPC. + VTAdminSetReadWriteProcedure = "/vtadmin.VTAdmin/SetReadWrite" + // VTAdminStartReplicationProcedure is the fully-qualified name of the VTAdmin's StartReplication + // RPC. + VTAdminStartReplicationProcedure = "/vtadmin.VTAdmin/StartReplication" + // VTAdminStopReplicationProcedure is the fully-qualified name of the VTAdmin's StopReplication RPC. + VTAdminStopReplicationProcedure = "/vtadmin.VTAdmin/StopReplication" + // VTAdminTabletExternallyPromotedProcedure is the fully-qualified name of the VTAdmin's + // TabletExternallyPromoted RPC. + VTAdminTabletExternallyPromotedProcedure = "/vtadmin.VTAdmin/TabletExternallyPromoted" + // VTAdminValidateProcedure is the fully-qualified name of the VTAdmin's Validate RPC. + VTAdminValidateProcedure = "/vtadmin.VTAdmin/Validate" + // VTAdminValidateKeyspaceProcedure is the fully-qualified name of the VTAdmin's ValidateKeyspace + // RPC. + VTAdminValidateKeyspaceProcedure = "/vtadmin.VTAdmin/ValidateKeyspace" + // VTAdminValidateSchemaKeyspaceProcedure is the fully-qualified name of the VTAdmin's + // ValidateSchemaKeyspace RPC. + VTAdminValidateSchemaKeyspaceProcedure = "/vtadmin.VTAdmin/ValidateSchemaKeyspace" + // VTAdminValidateShardProcedure is the fully-qualified name of the VTAdmin's ValidateShard RPC. + VTAdminValidateShardProcedure = "/vtadmin.VTAdmin/ValidateShard" + // VTAdminValidateVersionKeyspaceProcedure is the fully-qualified name of the VTAdmin's + // ValidateVersionKeyspace RPC. + VTAdminValidateVersionKeyspaceProcedure = "/vtadmin.VTAdmin/ValidateVersionKeyspace" + // VTAdminValidateVersionShardProcedure is the fully-qualified name of the VTAdmin's + // ValidateVersionShard RPC. + VTAdminValidateVersionShardProcedure = "/vtadmin.VTAdmin/ValidateVersionShard" + // VTAdminVTExplainProcedure is the fully-qualified name of the VTAdmin's VTExplain RPC. + VTAdminVTExplainProcedure = "/vtadmin.VTAdmin/VTExplain" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vTAdminServiceDescriptor = v19.File_vitess_vtadmin_v19_vtadmin_proto.Services().ByName("VTAdmin") + vTAdminApplySchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ApplySchema") + vTAdminCancelSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CancelSchemaMigration") + vTAdminCleanupSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CleanupSchemaMigration") + vTAdminCompleteSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CompleteSchemaMigration") + vTAdminCreateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateKeyspace") + vTAdminCreateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("CreateShard") + vTAdminDeleteKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteKeyspace") + vTAdminDeleteShardsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteShards") + vTAdminDeleteTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("DeleteTablet") + vTAdminEmergencyFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("EmergencyFailoverShard") + vTAdminFindSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("FindSchema") + vTAdminGetBackupsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetBackups") + vTAdminGetCellInfosMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellInfos") + vTAdminGetCellsAliasesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetCellsAliases") + vTAdminGetClustersMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetClusters") + vTAdminGetFullStatusMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetFullStatus") + vTAdminGetGatesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetGates") + vTAdminGetKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspace") + vTAdminGetKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetKeyspaces") + vTAdminGetSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchema") + vTAdminGetSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchemas") + vTAdminGetSchemaMigrationsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSchemaMigrations") + vTAdminGetShardReplicationPositionsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetShardReplicationPositions") + vTAdminGetSrvKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspace") + vTAdminGetSrvKeyspacesMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vTAdminGetSrvVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchema") + vTAdminGetSrvVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vTAdminGetTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablet") + vTAdminGetTabletsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTablets") + vTAdminGetTopologyPathMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetTopologyPath") + vTAdminGetVSchemaMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchema") + vTAdminGetVSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVSchemas") + vTAdminGetVtctldsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetVtctlds") + vTAdminGetWorkflowMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflow") + vTAdminGetWorkflowsMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("GetWorkflows") + vTAdminLaunchSchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("LaunchSchemaMigration") + vTAdminPingTabletMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PingTablet") + vTAdminPlannedFailoverShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("PlannedFailoverShard") + vTAdminRebuildKeyspaceGraphMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vTAdminRefreshStateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshState") + vTAdminRefreshTabletReplicationSourceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RefreshTabletReplicationSource") + vTAdminReloadSchemasMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemas") + vTAdminReloadSchemaShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vTAdminRemoveKeyspaceCellMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vTAdminRetrySchemaMigrationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RetrySchemaMigration") + vTAdminRunHealthCheckMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("RunHealthCheck") + vTAdminSetReadOnlyMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadOnly") + vTAdminSetReadWriteMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("SetReadWrite") + vTAdminStartReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StartReplication") + vTAdminStopReplicationMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("StopReplication") + vTAdminTabletExternallyPromotedMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("TabletExternallyPromoted") + vTAdminValidateMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("Validate") + vTAdminValidateKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateKeyspace") + vTAdminValidateSchemaKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vTAdminValidateShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateShard") + vTAdminValidateVersionKeyspaceMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vTAdminValidateVersionShardMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("ValidateVersionShard") + vTAdminVTExplainMethodDescriptor = vTAdminServiceDescriptor.Methods().ByName("VTExplain") +) + +// VTAdminClient is a client for the vtadmin.VTAdmin service. +type VTAdminClient interface { + // ApplySchema applies a schema to a keyspace in the given cluster. + ApplySchema(context.Context, *connect.Request[v19.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) + // CancelSchemaMigration cancels one or all schema migrations in the given + // cluster, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[v19.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) + // CleanupSchemaMigration marks a schema migration in the given cluster as + // ready for artifact cleanup. + CleanupSchemaMigration(context.Context, *connect.Request[v19.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations in the given + // cluster executed with --postpone-completion. + CompleteSchemaMigration(context.Context, *connect.Request[v19.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) + // CreateKeyspace creates a new keyspace in the given cluster. + CreateKeyspace(context.Context, *connect.Request[v19.CreateKeyspaceRequest]) (*connect.Response[v19.CreateKeyspaceResponse], error) + // CreateShard creates a new shard in the given cluster and keyspace. + CreateShard(context.Context, *connect.Request[v19.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) + // DeleteKeyspace deletes a keyspace in the given cluster. + DeleteKeyspace(context.Context, *connect.Request[v19.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) + // DeleteShard deletes one or more shards in the given cluster and keyspace. + DeleteShards(context.Context, *connect.Request[v19.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) + // DeleteTablet deletes a tablet from the topology + DeleteTablet(context.Context, *connect.Request[v19.DeleteTabletRequest]) (*connect.Response[v19.DeleteTabletResponse], error) + // EmergencyFailoverShard fails over a shard to a new primary. It assumes + // the old primary is dead or otherwise not responding. + EmergencyFailoverShard(context.Context, *connect.Request[v19.EmergencyFailoverShardRequest]) (*connect.Response[v19.EmergencyFailoverShardResponse], error) + // FindSchema returns a single Schema that matches the provided table name + // across all specified clusters IDs. Not specifying a set of cluster IDs + // causes the search to span all configured clusters. + // + // An error occurs if either no table exists across any of the clusters with + // the specified table name, or if multiple tables exist with that name. + FindSchema(context.Context, *connect.Request[v19.FindSchemaRequest]) (*connect.Response[v19.Schema], error) + // GetBackups returns backups grouped by cluster. + GetBackups(context.Context, *connect.Request[v19.GetBackupsRequest]) (*connect.Response[v19.GetBackupsResponse], error) + // GetCellInfos returns the CellInfo objects for the specified clusters. + // + // Callers may optionally restrict the set of CellInfos, or restrict the + // response to include only cell names. + GetCellInfos(context.Context, *connect.Request[v19.GetCellInfosRequest]) (*connect.Response[v19.GetCellInfosResponse], error) + // GetCellsAliases returns the CellsAliases data for the specified clusters. + GetCellsAliases(context.Context, *connect.Request[v19.GetCellsAliasesRequest]) (*connect.Response[v19.GetCellsAliasesResponse], error) + // GetClusters returns all configured clusters. + GetClusters(context.Context, *connect.Request[v19.GetClustersRequest]) (*connect.Response[v19.GetClustersResponse], error) + // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + GetFullStatus(context.Context, *connect.Request[v19.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) + // GetGates returns all gates across all the specified clusters. + GetGates(context.Context, *connect.Request[v19.GetGatesRequest]) (*connect.Response[v19.GetGatesResponse], error) + // GetKeyspace returns a keyspace by name in the specified cluster. + GetKeyspace(context.Context, *connect.Request[v19.GetKeyspaceRequest]) (*connect.Response[v19.Keyspace], error) + // GetKeyspaces returns all keyspaces across the specified clusters. + GetKeyspaces(context.Context, *connect.Request[v19.GetKeyspacesRequest]) (*connect.Response[v19.GetKeyspacesResponse], error) + // GetSchema returns the schema for the specified (cluster, keyspace, table) + // tuple. + GetSchema(context.Context, *connect.Request[v19.GetSchemaRequest]) (*connect.Response[v19.Schema], error) + // GetSchemas returns all schemas across the specified clusters. + GetSchemas(context.Context, *connect.Request[v19.GetSchemasRequest]) (*connect.Response[v19.GetSchemasResponse], error) + // GetSchemaMigrations returns one or more online schema migrations for the + // set of keyspaces (or all keyspaces) in the given clusters, analagous to + // repeated executions of `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different behaviors. + // See the documentation on vtctldata.GetSchemaMigrationsRequest for details. + GetSchemaMigrations(context.Context, *connect.Request[v19.GetSchemaMigrationsRequest]) (*connect.Response[v19.GetSchemaMigrationsResponse], error) + // GetShardReplicationPositions returns shard replication positions grouped + // by cluster. + GetShardReplicationPositions(context.Context, *connect.Request[v19.GetShardReplicationPositionsRequest]) (*connect.Response[v19.GetShardReplicationPositionsResponse], error) + // GetSrvKeyspace returns the SrvKeyspace for a keyspace in one or more cells. + GetSrvKeyspace(context.Context, *connect.Request[v19.GetSrvKeyspaceRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) + // GetSrvKeyspaces returns the SrvKeyspaces for all keyspaces across all the specified clusters. + GetSrvKeyspaces(context.Context, *connect.Request[v19.GetSrvKeyspacesRequest]) (*connect.Response[v19.GetSrvKeyspacesResponse], error) + // GetSrvVSchema returns the SrvVSchema for the given cluster and cell. + GetSrvVSchema(context.Context, *connect.Request[v19.GetSrvVSchemaRequest]) (*connect.Response[v19.SrvVSchema], error) + // GetSrvVSchemas returns all SrvVSchemas across all (or specified) clusters + // and cells. + GetSrvVSchemas(context.Context, *connect.Request[v19.GetSrvVSchemasRequest]) (*connect.Response[v19.GetSrvVSchemasResponse], error) + // GetTablet looks up a tablet by hostname across all clusters and returns + // the result. + GetTablet(context.Context, *connect.Request[v19.GetTabletRequest]) (*connect.Response[v19.Tablet], error) + // GetTablets returns all tablets across all the specified clusters. + GetTablets(context.Context, *connect.Request[v19.GetTabletsRequest]) (*connect.Response[v19.GetTabletsResponse], error) + // GetTopologyPath returns the cell located at the specified path in the topology server. + GetTopologyPath(context.Context, *connect.Request[v19.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) + // GetVSchema returns a VSchema for the specified keyspace in the specified + // cluster. + GetVSchema(context.Context, *connect.Request[v19.GetVSchemaRequest]) (*connect.Response[v19.VSchema], error) + // GetVSchemas returns the VSchemas for all specified clusters. + GetVSchemas(context.Context, *connect.Request[v19.GetVSchemasRequest]) (*connect.Response[v19.GetVSchemasResponse], error) + // GetVtctlds returns the Vtctlds for all specified clusters. + GetVtctlds(context.Context, *connect.Request[v19.GetVtctldsRequest]) (*connect.Response[v19.GetVtctldsResponse], error) + // GetWorkflow returns a single Workflow for a given cluster, keyspace, and + // workflow name. + GetWorkflow(context.Context, *connect.Request[v19.GetWorkflowRequest]) (*connect.Response[v19.Workflow], error) + // GetWorkflows returns the Workflows for all specified clusters. + GetWorkflows(context.Context, *connect.Request[v19.GetWorkflowsRequest]) (*connect.Response[v19.GetWorkflowsResponse], error) + // LaunchSchemaMigration launches one or all migrations in the given + // cluster executed with --postpone-launch. + LaunchSchemaMigration(context.Context, *connect.Request[v19.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) + // PingTablet checks that the specified tablet is awake and responding to + // RPCs. This command can be blocked by other in-flight operations. + PingTablet(context.Context, *connect.Request[v19.PingTabletRequest]) (*connect.Response[v19.PingTabletResponse], error) + // PlannedFailoverShard fails over the shard to a new primary, or away from + // an old primary. Both the old and new primaries must be reachable and + // running. + // + // NOTE: A planned failover will not consider replicas outside the current + // shard primary's cell as promotion candidates unless NewPrimary is + // explicitly provided in the request. + PlannedFailoverShard(context.Context, *connect.Request[v19.PlannedFailoverShardRequest]) (*connect.Response[v19.PlannedFailoverShardResponse], error) + // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. + RebuildKeyspaceGraph(context.Context, *connect.Request[v19.RebuildKeyspaceGraphRequest]) (*connect.Response[v19.RebuildKeyspaceGraphResponse], error) + // RefreshState reloads the tablet record on the specified tablet. + RefreshState(context.Context, *connect.Request[v19.RefreshStateRequest]) (*connect.Response[v19.RefreshStateResponse], error) + // RefreshTabletReplicationSource performs a `CHANGE REPLICATION SOURCE TO` + // on a tablet to replicate from the current primary in the shard. + RefreshTabletReplicationSource(context.Context, *connect.Request[v19.RefreshTabletReplicationSourceRequest]) (*connect.Response[v19.RefreshTabletReplicationSourceResponse], error) + // ReloadSchemas reloads the schema definition across keyspaces, shards, or + // tablets in one or more clusters, depending on the request fields (see + // ReloadSchemasRequest for details). + ReloadSchemas(context.Context, *connect.Request[v19.ReloadSchemasRequest]) (*connect.Response[v19.ReloadSchemasResponse], error) + // ReloadSchemaShard reloads the schema on all tablets in a shard. This is done on a best-effort basis. + ReloadSchemaShard(context.Context, *connect.Request[v19.ReloadSchemaShardRequest]) (*connect.Response[v19.ReloadSchemaShardResponse], error) + // RemoveKeyspaceCell removes the cell from the Cells list for all shards in the keyspace, and the SrvKeyspace for that keyspace in that cell. + RemoveKeyspaceCell(context.Context, *connect.Request[v19.RemoveKeyspaceCellRequest]) (*connect.Response[v19.RemoveKeyspaceCellResponse], error) + // RetrySchemaMigration marks a given schema migration in the given cluster + // for retry. + RetrySchemaMigration(context.Context, *connect.Request[v19.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) + // RunHealthCheck runs a healthcheck on the tablet. + RunHealthCheck(context.Context, *connect.Request[v19.RunHealthCheckRequest]) (*connect.Response[v19.RunHealthCheckResponse], error) + // SetReadOnly sets the tablet to read-only mode. + SetReadOnly(context.Context, *connect.Request[v19.SetReadOnlyRequest]) (*connect.Response[v19.SetReadOnlyResponse], error) + // SetReadWrite sets the tablet to read-write mode. + SetReadWrite(context.Context, *connect.Request[v19.SetReadWriteRequest]) (*connect.Response[v19.SetReadWriteResponse], error) + // StartReplication runs the underlying database command to start + // replication on a tablet. + StartReplication(context.Context, *connect.Request[v19.StartReplicationRequest]) (*connect.Response[v19.StartReplicationResponse], error) + // StopReplication runs the underlying database command to stop replication + // on a tablet + StopReplication(context.Context, *connect.Request[v19.StopReplicationRequest]) (*connect.Response[v19.StopReplicationResponse], error) + // TabletExternallyPromoted updates the metadata in a cluster's topology + // to acknowledge a shard primary change performed by an external tool + // (e.g. orchestrator*). + // + // See the Reparenting guide for more information: + // https://vitess.io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting. + // + // * "orchestrator" here refers to external orchestrator, not the newer, + // Vitess-aware orchestrator, VTOrc. + TabletExternallyPromoted(context.Context, *connect.Request[v19.TabletExternallyPromotedRequest]) (*connect.Response[v19.TabletExternallyPromotedResponse], error) + // Validate validates all nodes in a cluster that are reachable from the global replication graph, + // as well as all tablets in discoverable cells, are consistent + Validate(context.Context, *connect.Request[v19.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) + // ValidateKeyspace validates that all nodes reachable from the specified + // keyspace are consistent. + ValidateKeyspace(context.Context, *connect.Request[v19.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) + // ValidateSchemaKeyspace validates that the schema on the primary tablet + // for shard 0 matches the schema on all of the other tablets in the + // keyspace. + ValidateSchemaKeyspace(context.Context, *connect.Request[v19.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) + // ValidateShard validates that that all nodes reachable from the specified shard are consistent. + ValidateShard(context.Context, *connect.Request[v19.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) + // ValidateVersionKeyspace validates that the version on the primary of + // shard 0 matches all of the other tablets in the keyspace. + ValidateVersionKeyspace(context.Context, *connect.Request[v19.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) + // ValidateVersionShard validates that the version on the primary matches all of the replicas. + ValidateVersionShard(context.Context, *connect.Request[v19.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) + // VTExplain provides information on how Vitess plans to execute a + // particular query. + VTExplain(context.Context, *connect.Request[v19.VTExplainRequest]) (*connect.Response[v19.VTExplainResponse], error) +} + +// NewVTAdminClient constructs a client for the vtadmin.VTAdmin service. By default, it +// uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends +// uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or +// connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewVTAdminClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VTAdminClient { + baseURL = strings.TrimRight(baseURL, "/") + return &vTAdminClient{ + applySchema: connect.NewClient[v19.ApplySchemaRequest, v191.ApplySchemaResponse]( + httpClient, + baseURL+VTAdminApplySchemaProcedure, + connect.WithSchema(vTAdminApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + cancelSchemaMigration: connect.NewClient[v19.CancelSchemaMigrationRequest, v191.CancelSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminCancelSchemaMigrationProcedure, + connect.WithSchema(vTAdminCancelSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + cleanupSchemaMigration: connect.NewClient[v19.CleanupSchemaMigrationRequest, v191.CleanupSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminCleanupSchemaMigrationProcedure, + connect.WithSchema(vTAdminCleanupSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + completeSchemaMigration: connect.NewClient[v19.CompleteSchemaMigrationRequest, v191.CompleteSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminCompleteSchemaMigrationProcedure, + connect.WithSchema(vTAdminCompleteSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + createKeyspace: connect.NewClient[v19.CreateKeyspaceRequest, v19.CreateKeyspaceResponse]( + httpClient, + baseURL+VTAdminCreateKeyspaceProcedure, + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + createShard: connect.NewClient[v19.CreateShardRequest, v191.CreateShardResponse]( + httpClient, + baseURL+VTAdminCreateShardProcedure, + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteKeyspace: connect.NewClient[v19.DeleteKeyspaceRequest, v191.DeleteKeyspaceResponse]( + httpClient, + baseURL+VTAdminDeleteKeyspaceProcedure, + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteShards: connect.NewClient[v19.DeleteShardsRequest, v191.DeleteShardsResponse]( + httpClient, + baseURL+VTAdminDeleteShardsProcedure, + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteTablet: connect.NewClient[v19.DeleteTabletRequest, v19.DeleteTabletResponse]( + httpClient, + baseURL+VTAdminDeleteTabletProcedure, + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithClientOptions(opts...), + ), + emergencyFailoverShard: connect.NewClient[v19.EmergencyFailoverShardRequest, v19.EmergencyFailoverShardResponse]( + httpClient, + baseURL+VTAdminEmergencyFailoverShardProcedure, + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + findSchema: connect.NewClient[v19.FindSchemaRequest, v19.Schema]( + httpClient, + baseURL+VTAdminFindSchemaProcedure, + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getBackups: connect.NewClient[v19.GetBackupsRequest, v19.GetBackupsResponse]( + httpClient, + baseURL+VTAdminGetBackupsProcedure, + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getCellInfos: connect.NewClient[v19.GetCellInfosRequest, v19.GetCellInfosResponse]( + httpClient, + baseURL+VTAdminGetCellInfosProcedure, + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getCellsAliases: connect.NewClient[v19.GetCellsAliasesRequest, v19.GetCellsAliasesResponse]( + httpClient, + baseURL+VTAdminGetCellsAliasesProcedure, + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getClusters: connect.NewClient[v19.GetClustersRequest, v19.GetClustersResponse]( + httpClient, + baseURL+VTAdminGetClustersProcedure, + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getFullStatus: connect.NewClient[v19.GetFullStatusRequest, v191.GetFullStatusResponse]( + httpClient, + baseURL+VTAdminGetFullStatusProcedure, + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getGates: connect.NewClient[v19.GetGatesRequest, v19.GetGatesResponse]( + httpClient, + baseURL+VTAdminGetGatesProcedure, + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getKeyspace: connect.NewClient[v19.GetKeyspaceRequest, v19.Keyspace]( + httpClient, + baseURL+VTAdminGetKeyspaceProcedure, + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getKeyspaces: connect.NewClient[v19.GetKeyspacesRequest, v19.GetKeyspacesResponse]( + httpClient, + baseURL+VTAdminGetKeyspacesProcedure, + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchema: connect.NewClient[v19.GetSchemaRequest, v19.Schema]( + httpClient, + baseURL+VTAdminGetSchemaProcedure, + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchemas: connect.NewClient[v19.GetSchemasRequest, v19.GetSchemasResponse]( + httpClient, + baseURL+VTAdminGetSchemasProcedure, + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchemaMigrations: connect.NewClient[v19.GetSchemaMigrationsRequest, v19.GetSchemaMigrationsResponse]( + httpClient, + baseURL+VTAdminGetSchemaMigrationsProcedure, + connect.WithSchema(vTAdminGetSchemaMigrationsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getShardReplicationPositions: connect.NewClient[v19.GetShardReplicationPositionsRequest, v19.GetShardReplicationPositionsResponse]( + httpClient, + baseURL+VTAdminGetShardReplicationPositionsProcedure, + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvKeyspace: connect.NewClient[v19.GetSrvKeyspaceRequest, v191.GetSrvKeyspacesResponse]( + httpClient, + baseURL+VTAdminGetSrvKeyspaceProcedure, + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvKeyspaces: connect.NewClient[v19.GetSrvKeyspacesRequest, v19.GetSrvKeyspacesResponse]( + httpClient, + baseURL+VTAdminGetSrvKeyspacesProcedure, + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvVSchema: connect.NewClient[v19.GetSrvVSchemaRequest, v19.SrvVSchema]( + httpClient, + baseURL+VTAdminGetSrvVSchemaProcedure, + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvVSchemas: connect.NewClient[v19.GetSrvVSchemasRequest, v19.GetSrvVSchemasResponse]( + httpClient, + baseURL+VTAdminGetSrvVSchemasProcedure, + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTablet: connect.NewClient[v19.GetTabletRequest, v19.Tablet]( + httpClient, + baseURL+VTAdminGetTabletProcedure, + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTablets: connect.NewClient[v19.GetTabletsRequest, v19.GetTabletsResponse]( + httpClient, + baseURL+VTAdminGetTabletsProcedure, + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTopologyPath: connect.NewClient[v19.GetTopologyPathRequest, v191.GetTopologyPathResponse]( + httpClient, + baseURL+VTAdminGetTopologyPathProcedure, + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getVSchema: connect.NewClient[v19.GetVSchemaRequest, v19.VSchema]( + httpClient, + baseURL+VTAdminGetVSchemaProcedure, + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getVSchemas: connect.NewClient[v19.GetVSchemasRequest, v19.GetVSchemasResponse]( + httpClient, + baseURL+VTAdminGetVSchemasProcedure, + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getVtctlds: connect.NewClient[v19.GetVtctldsRequest, v19.GetVtctldsResponse]( + httpClient, + baseURL+VTAdminGetVtctldsProcedure, + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getWorkflow: connect.NewClient[v19.GetWorkflowRequest, v19.Workflow]( + httpClient, + baseURL+VTAdminGetWorkflowProcedure, + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getWorkflows: connect.NewClient[v19.GetWorkflowsRequest, v19.GetWorkflowsResponse]( + httpClient, + baseURL+VTAdminGetWorkflowsProcedure, + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + launchSchemaMigration: connect.NewClient[v19.LaunchSchemaMigrationRequest, v191.LaunchSchemaMigrationResponse]( + httpClient, + baseURL+VTAdminLaunchSchemaMigrationProcedure, + connect.WithSchema(vTAdminLaunchSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + pingTablet: connect.NewClient[v19.PingTabletRequest, v19.PingTabletResponse]( + httpClient, + baseURL+VTAdminPingTabletProcedure, + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), + ), + plannedFailoverShard: connect.NewClient[v19.PlannedFailoverShardRequest, v19.PlannedFailoverShardResponse]( + httpClient, + baseURL+VTAdminPlannedFailoverShardProcedure, + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + rebuildKeyspaceGraph: connect.NewClient[v19.RebuildKeyspaceGraphRequest, v19.RebuildKeyspaceGraphResponse]( + httpClient, + baseURL+VTAdminRebuildKeyspaceGraphProcedure, + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), + ), + refreshState: connect.NewClient[v19.RefreshStateRequest, v19.RefreshStateResponse]( + httpClient, + baseURL+VTAdminRefreshStateProcedure, + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + refreshTabletReplicationSource: connect.NewClient[v19.RefreshTabletReplicationSourceRequest, v19.RefreshTabletReplicationSourceResponse]( + httpClient, + baseURL+VTAdminRefreshTabletReplicationSourceProcedure, + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reloadSchemas: connect.NewClient[v19.ReloadSchemasRequest, v19.ReloadSchemasResponse]( + httpClient, + baseURL+VTAdminReloadSchemasProcedure, + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reloadSchemaShard: connect.NewClient[v19.ReloadSchemaShardRequest, v19.ReloadSchemaShardResponse]( + httpClient, + baseURL+VTAdminReloadSchemaShardProcedure, + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + removeKeyspaceCell: connect.NewClient[v19.RemoveKeyspaceCellRequest, v19.RemoveKeyspaceCellResponse]( + httpClient, + baseURL+VTAdminRemoveKeyspaceCellProcedure, + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), + ), + retrySchemaMigration: connect.NewClient[v19.RetrySchemaMigrationRequest, v191.RetrySchemaMigrationResponse]( + httpClient, + baseURL+VTAdminRetrySchemaMigrationProcedure, + connect.WithSchema(vTAdminRetrySchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + runHealthCheck: connect.NewClient[v19.RunHealthCheckRequest, v19.RunHealthCheckResponse]( + httpClient, + baseURL+VTAdminRunHealthCheckProcedure, + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setReadOnly: connect.NewClient[v19.SetReadOnlyRequest, v19.SetReadOnlyResponse]( + httpClient, + baseURL+VTAdminSetReadOnlyProcedure, + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setReadWrite: connect.NewClient[v19.SetReadWriteRequest, v19.SetReadWriteResponse]( + httpClient, + baseURL+VTAdminSetReadWriteProcedure, + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + startReplication: connect.NewClient[v19.StartReplicationRequest, v19.StartReplicationResponse]( + httpClient, + baseURL+VTAdminStartReplicationProcedure, + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + stopReplication: connect.NewClient[v19.StopReplicationRequest, v19.StopReplicationResponse]( + httpClient, + baseURL+VTAdminStopReplicationProcedure, + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + tabletExternallyPromoted: connect.NewClient[v19.TabletExternallyPromotedRequest, v19.TabletExternallyPromotedResponse]( + httpClient, + baseURL+VTAdminTabletExternallyPromotedProcedure, + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validate: connect.NewClient[v19.ValidateRequest, v191.ValidateResponse]( + httpClient, + baseURL+VTAdminValidateProcedure, + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateKeyspace: connect.NewClient[v19.ValidateKeyspaceRequest, v191.ValidateKeyspaceResponse]( + httpClient, + baseURL+VTAdminValidateKeyspaceProcedure, + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateSchemaKeyspace: connect.NewClient[v19.ValidateSchemaKeyspaceRequest, v191.ValidateSchemaKeyspaceResponse]( + httpClient, + baseURL+VTAdminValidateSchemaKeyspaceProcedure, + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateShard: connect.NewClient[v19.ValidateShardRequest, v191.ValidateShardResponse]( + httpClient, + baseURL+VTAdminValidateShardProcedure, + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateVersionKeyspace: connect.NewClient[v19.ValidateVersionKeyspaceRequest, v191.ValidateVersionKeyspaceResponse]( + httpClient, + baseURL+VTAdminValidateVersionKeyspaceProcedure, + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateVersionShard: connect.NewClient[v19.ValidateVersionShardRequest, v191.ValidateVersionShardResponse]( + httpClient, + baseURL+VTAdminValidateVersionShardProcedure, + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vTExplain: connect.NewClient[v19.VTExplainRequest, v19.VTExplainResponse]( + httpClient, + baseURL+VTAdminVTExplainProcedure, + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// vTAdminClient implements VTAdminClient. +type vTAdminClient struct { + applySchema *connect.Client[v19.ApplySchemaRequest, v191.ApplySchemaResponse] + cancelSchemaMigration *connect.Client[v19.CancelSchemaMigrationRequest, v191.CancelSchemaMigrationResponse] + cleanupSchemaMigration *connect.Client[v19.CleanupSchemaMigrationRequest, v191.CleanupSchemaMigrationResponse] + completeSchemaMigration *connect.Client[v19.CompleteSchemaMigrationRequest, v191.CompleteSchemaMigrationResponse] + createKeyspace *connect.Client[v19.CreateKeyspaceRequest, v19.CreateKeyspaceResponse] + createShard *connect.Client[v19.CreateShardRequest, v191.CreateShardResponse] + deleteKeyspace *connect.Client[v19.DeleteKeyspaceRequest, v191.DeleteKeyspaceResponse] + deleteShards *connect.Client[v19.DeleteShardsRequest, v191.DeleteShardsResponse] + deleteTablet *connect.Client[v19.DeleteTabletRequest, v19.DeleteTabletResponse] + emergencyFailoverShard *connect.Client[v19.EmergencyFailoverShardRequest, v19.EmergencyFailoverShardResponse] + findSchema *connect.Client[v19.FindSchemaRequest, v19.Schema] + getBackups *connect.Client[v19.GetBackupsRequest, v19.GetBackupsResponse] + getCellInfos *connect.Client[v19.GetCellInfosRequest, v19.GetCellInfosResponse] + getCellsAliases *connect.Client[v19.GetCellsAliasesRequest, v19.GetCellsAliasesResponse] + getClusters *connect.Client[v19.GetClustersRequest, v19.GetClustersResponse] + getFullStatus *connect.Client[v19.GetFullStatusRequest, v191.GetFullStatusResponse] + getGates *connect.Client[v19.GetGatesRequest, v19.GetGatesResponse] + getKeyspace *connect.Client[v19.GetKeyspaceRequest, v19.Keyspace] + getKeyspaces *connect.Client[v19.GetKeyspacesRequest, v19.GetKeyspacesResponse] + getSchema *connect.Client[v19.GetSchemaRequest, v19.Schema] + getSchemas *connect.Client[v19.GetSchemasRequest, v19.GetSchemasResponse] + getSchemaMigrations *connect.Client[v19.GetSchemaMigrationsRequest, v19.GetSchemaMigrationsResponse] + getShardReplicationPositions *connect.Client[v19.GetShardReplicationPositionsRequest, v19.GetShardReplicationPositionsResponse] + getSrvKeyspace *connect.Client[v19.GetSrvKeyspaceRequest, v191.GetSrvKeyspacesResponse] + getSrvKeyspaces *connect.Client[v19.GetSrvKeyspacesRequest, v19.GetSrvKeyspacesResponse] + getSrvVSchema *connect.Client[v19.GetSrvVSchemaRequest, v19.SrvVSchema] + getSrvVSchemas *connect.Client[v19.GetSrvVSchemasRequest, v19.GetSrvVSchemasResponse] + getTablet *connect.Client[v19.GetTabletRequest, v19.Tablet] + getTablets *connect.Client[v19.GetTabletsRequest, v19.GetTabletsResponse] + getTopologyPath *connect.Client[v19.GetTopologyPathRequest, v191.GetTopologyPathResponse] + getVSchema *connect.Client[v19.GetVSchemaRequest, v19.VSchema] + getVSchemas *connect.Client[v19.GetVSchemasRequest, v19.GetVSchemasResponse] + getVtctlds *connect.Client[v19.GetVtctldsRequest, v19.GetVtctldsResponse] + getWorkflow *connect.Client[v19.GetWorkflowRequest, v19.Workflow] + getWorkflows *connect.Client[v19.GetWorkflowsRequest, v19.GetWorkflowsResponse] + launchSchemaMigration *connect.Client[v19.LaunchSchemaMigrationRequest, v191.LaunchSchemaMigrationResponse] + pingTablet *connect.Client[v19.PingTabletRequest, v19.PingTabletResponse] + plannedFailoverShard *connect.Client[v19.PlannedFailoverShardRequest, v19.PlannedFailoverShardResponse] + rebuildKeyspaceGraph *connect.Client[v19.RebuildKeyspaceGraphRequest, v19.RebuildKeyspaceGraphResponse] + refreshState *connect.Client[v19.RefreshStateRequest, v19.RefreshStateResponse] + refreshTabletReplicationSource *connect.Client[v19.RefreshTabletReplicationSourceRequest, v19.RefreshTabletReplicationSourceResponse] + reloadSchemas *connect.Client[v19.ReloadSchemasRequest, v19.ReloadSchemasResponse] + reloadSchemaShard *connect.Client[v19.ReloadSchemaShardRequest, v19.ReloadSchemaShardResponse] + removeKeyspaceCell *connect.Client[v19.RemoveKeyspaceCellRequest, v19.RemoveKeyspaceCellResponse] + retrySchemaMigration *connect.Client[v19.RetrySchemaMigrationRequest, v191.RetrySchemaMigrationResponse] + runHealthCheck *connect.Client[v19.RunHealthCheckRequest, v19.RunHealthCheckResponse] + setReadOnly *connect.Client[v19.SetReadOnlyRequest, v19.SetReadOnlyResponse] + setReadWrite *connect.Client[v19.SetReadWriteRequest, v19.SetReadWriteResponse] + startReplication *connect.Client[v19.StartReplicationRequest, v19.StartReplicationResponse] + stopReplication *connect.Client[v19.StopReplicationRequest, v19.StopReplicationResponse] + tabletExternallyPromoted *connect.Client[v19.TabletExternallyPromotedRequest, v19.TabletExternallyPromotedResponse] + validate *connect.Client[v19.ValidateRequest, v191.ValidateResponse] + validateKeyspace *connect.Client[v19.ValidateKeyspaceRequest, v191.ValidateKeyspaceResponse] + validateSchemaKeyspace *connect.Client[v19.ValidateSchemaKeyspaceRequest, v191.ValidateSchemaKeyspaceResponse] + validateShard *connect.Client[v19.ValidateShardRequest, v191.ValidateShardResponse] + validateVersionKeyspace *connect.Client[v19.ValidateVersionKeyspaceRequest, v191.ValidateVersionKeyspaceResponse] + validateVersionShard *connect.Client[v19.ValidateVersionShardRequest, v191.ValidateVersionShardResponse] + vTExplain *connect.Client[v19.VTExplainRequest, v19.VTExplainResponse] +} + +// ApplySchema calls vtadmin.VTAdmin.ApplySchema. +func (c *vTAdminClient) ApplySchema(ctx context.Context, req *connect.Request[v19.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) { + return c.applySchema.CallUnary(ctx, req) +} + +// CancelSchemaMigration calls vtadmin.VTAdmin.CancelSchemaMigration. +func (c *vTAdminClient) CancelSchemaMigration(ctx context.Context, req *connect.Request[v19.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) { + return c.cancelSchemaMigration.CallUnary(ctx, req) +} + +// CleanupSchemaMigration calls vtadmin.VTAdmin.CleanupSchemaMigration. +func (c *vTAdminClient) CleanupSchemaMigration(ctx context.Context, req *connect.Request[v19.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) { + return c.cleanupSchemaMigration.CallUnary(ctx, req) +} + +// CompleteSchemaMigration calls vtadmin.VTAdmin.CompleteSchemaMigration. +func (c *vTAdminClient) CompleteSchemaMigration(ctx context.Context, req *connect.Request[v19.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) { + return c.completeSchemaMigration.CallUnary(ctx, req) +} + +// CreateKeyspace calls vtadmin.VTAdmin.CreateKeyspace. +func (c *vTAdminClient) CreateKeyspace(ctx context.Context, req *connect.Request[v19.CreateKeyspaceRequest]) (*connect.Response[v19.CreateKeyspaceResponse], error) { + return c.createKeyspace.CallUnary(ctx, req) +} + +// CreateShard calls vtadmin.VTAdmin.CreateShard. +func (c *vTAdminClient) CreateShard(ctx context.Context, req *connect.Request[v19.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) { + return c.createShard.CallUnary(ctx, req) +} + +// DeleteKeyspace calls vtadmin.VTAdmin.DeleteKeyspace. +func (c *vTAdminClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v19.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) { + return c.deleteKeyspace.CallUnary(ctx, req) +} + +// DeleteShards calls vtadmin.VTAdmin.DeleteShards. +func (c *vTAdminClient) DeleteShards(ctx context.Context, req *connect.Request[v19.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) { + return c.deleteShards.CallUnary(ctx, req) +} + +// DeleteTablet calls vtadmin.VTAdmin.DeleteTablet. +func (c *vTAdminClient) DeleteTablet(ctx context.Context, req *connect.Request[v19.DeleteTabletRequest]) (*connect.Response[v19.DeleteTabletResponse], error) { + return c.deleteTablet.CallUnary(ctx, req) +} + +// EmergencyFailoverShard calls vtadmin.VTAdmin.EmergencyFailoverShard. +func (c *vTAdminClient) EmergencyFailoverShard(ctx context.Context, req *connect.Request[v19.EmergencyFailoverShardRequest]) (*connect.Response[v19.EmergencyFailoverShardResponse], error) { + return c.emergencyFailoverShard.CallUnary(ctx, req) +} + +// FindSchema calls vtadmin.VTAdmin.FindSchema. +func (c *vTAdminClient) FindSchema(ctx context.Context, req *connect.Request[v19.FindSchemaRequest]) (*connect.Response[v19.Schema], error) { + return c.findSchema.CallUnary(ctx, req) +} + +// GetBackups calls vtadmin.VTAdmin.GetBackups. +func (c *vTAdminClient) GetBackups(ctx context.Context, req *connect.Request[v19.GetBackupsRequest]) (*connect.Response[v19.GetBackupsResponse], error) { + return c.getBackups.CallUnary(ctx, req) +} + +// GetCellInfos calls vtadmin.VTAdmin.GetCellInfos. +func (c *vTAdminClient) GetCellInfos(ctx context.Context, req *connect.Request[v19.GetCellInfosRequest]) (*connect.Response[v19.GetCellInfosResponse], error) { + return c.getCellInfos.CallUnary(ctx, req) +} + +// GetCellsAliases calls vtadmin.VTAdmin.GetCellsAliases. +func (c *vTAdminClient) GetCellsAliases(ctx context.Context, req *connect.Request[v19.GetCellsAliasesRequest]) (*connect.Response[v19.GetCellsAliasesResponse], error) { + return c.getCellsAliases.CallUnary(ctx, req) +} + +// GetClusters calls vtadmin.VTAdmin.GetClusters. +func (c *vTAdminClient) GetClusters(ctx context.Context, req *connect.Request[v19.GetClustersRequest]) (*connect.Response[v19.GetClustersResponse], error) { + return c.getClusters.CallUnary(ctx, req) +} + +// GetFullStatus calls vtadmin.VTAdmin.GetFullStatus. +func (c *vTAdminClient) GetFullStatus(ctx context.Context, req *connect.Request[v19.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) { + return c.getFullStatus.CallUnary(ctx, req) +} + +// GetGates calls vtadmin.VTAdmin.GetGates. +func (c *vTAdminClient) GetGates(ctx context.Context, req *connect.Request[v19.GetGatesRequest]) (*connect.Response[v19.GetGatesResponse], error) { + return c.getGates.CallUnary(ctx, req) +} + +// GetKeyspace calls vtadmin.VTAdmin.GetKeyspace. +func (c *vTAdminClient) GetKeyspace(ctx context.Context, req *connect.Request[v19.GetKeyspaceRequest]) (*connect.Response[v19.Keyspace], error) { + return c.getKeyspace.CallUnary(ctx, req) +} + +// GetKeyspaces calls vtadmin.VTAdmin.GetKeyspaces. +func (c *vTAdminClient) GetKeyspaces(ctx context.Context, req *connect.Request[v19.GetKeyspacesRequest]) (*connect.Response[v19.GetKeyspacesResponse], error) { + return c.getKeyspaces.CallUnary(ctx, req) +} + +// GetSchema calls vtadmin.VTAdmin.GetSchema. +func (c *vTAdminClient) GetSchema(ctx context.Context, req *connect.Request[v19.GetSchemaRequest]) (*connect.Response[v19.Schema], error) { + return c.getSchema.CallUnary(ctx, req) +} + +// GetSchemas calls vtadmin.VTAdmin.GetSchemas. +func (c *vTAdminClient) GetSchemas(ctx context.Context, req *connect.Request[v19.GetSchemasRequest]) (*connect.Response[v19.GetSchemasResponse], error) { + return c.getSchemas.CallUnary(ctx, req) +} + +// GetSchemaMigrations calls vtadmin.VTAdmin.GetSchemaMigrations. +func (c *vTAdminClient) GetSchemaMigrations(ctx context.Context, req *connect.Request[v19.GetSchemaMigrationsRequest]) (*connect.Response[v19.GetSchemaMigrationsResponse], error) { + return c.getSchemaMigrations.CallUnary(ctx, req) +} + +// GetShardReplicationPositions calls vtadmin.VTAdmin.GetShardReplicationPositions. +func (c *vTAdminClient) GetShardReplicationPositions(ctx context.Context, req *connect.Request[v19.GetShardReplicationPositionsRequest]) (*connect.Response[v19.GetShardReplicationPositionsResponse], error) { + return c.getShardReplicationPositions.CallUnary(ctx, req) +} + +// GetSrvKeyspace calls vtadmin.VTAdmin.GetSrvKeyspace. +func (c *vTAdminClient) GetSrvKeyspace(ctx context.Context, req *connect.Request[v19.GetSrvKeyspaceRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) { + return c.getSrvKeyspace.CallUnary(ctx, req) +} + +// GetSrvKeyspaces calls vtadmin.VTAdmin.GetSrvKeyspaces. +func (c *vTAdminClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v19.GetSrvKeyspacesRequest]) (*connect.Response[v19.GetSrvKeyspacesResponse], error) { + return c.getSrvKeyspaces.CallUnary(ctx, req) +} + +// GetSrvVSchema calls vtadmin.VTAdmin.GetSrvVSchema. +func (c *vTAdminClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v19.GetSrvVSchemaRequest]) (*connect.Response[v19.SrvVSchema], error) { + return c.getSrvVSchema.CallUnary(ctx, req) +} + +// GetSrvVSchemas calls vtadmin.VTAdmin.GetSrvVSchemas. +func (c *vTAdminClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v19.GetSrvVSchemasRequest]) (*connect.Response[v19.GetSrvVSchemasResponse], error) { + return c.getSrvVSchemas.CallUnary(ctx, req) +} + +// GetTablet calls vtadmin.VTAdmin.GetTablet. +func (c *vTAdminClient) GetTablet(ctx context.Context, req *connect.Request[v19.GetTabletRequest]) (*connect.Response[v19.Tablet], error) { + return c.getTablet.CallUnary(ctx, req) +} + +// GetTablets calls vtadmin.VTAdmin.GetTablets. +func (c *vTAdminClient) GetTablets(ctx context.Context, req *connect.Request[v19.GetTabletsRequest]) (*connect.Response[v19.GetTabletsResponse], error) { + return c.getTablets.CallUnary(ctx, req) +} + +// GetTopologyPath calls vtadmin.VTAdmin.GetTopologyPath. +func (c *vTAdminClient) GetTopologyPath(ctx context.Context, req *connect.Request[v19.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) { + return c.getTopologyPath.CallUnary(ctx, req) +} + +// GetVSchema calls vtadmin.VTAdmin.GetVSchema. +func (c *vTAdminClient) GetVSchema(ctx context.Context, req *connect.Request[v19.GetVSchemaRequest]) (*connect.Response[v19.VSchema], error) { + return c.getVSchema.CallUnary(ctx, req) +} + +// GetVSchemas calls vtadmin.VTAdmin.GetVSchemas. +func (c *vTAdminClient) GetVSchemas(ctx context.Context, req *connect.Request[v19.GetVSchemasRequest]) (*connect.Response[v19.GetVSchemasResponse], error) { + return c.getVSchemas.CallUnary(ctx, req) +} + +// GetVtctlds calls vtadmin.VTAdmin.GetVtctlds. +func (c *vTAdminClient) GetVtctlds(ctx context.Context, req *connect.Request[v19.GetVtctldsRequest]) (*connect.Response[v19.GetVtctldsResponse], error) { + return c.getVtctlds.CallUnary(ctx, req) +} + +// GetWorkflow calls vtadmin.VTAdmin.GetWorkflow. +func (c *vTAdminClient) GetWorkflow(ctx context.Context, req *connect.Request[v19.GetWorkflowRequest]) (*connect.Response[v19.Workflow], error) { + return c.getWorkflow.CallUnary(ctx, req) +} + +// GetWorkflows calls vtadmin.VTAdmin.GetWorkflows. +func (c *vTAdminClient) GetWorkflows(ctx context.Context, req *connect.Request[v19.GetWorkflowsRequest]) (*connect.Response[v19.GetWorkflowsResponse], error) { + return c.getWorkflows.CallUnary(ctx, req) +} + +// LaunchSchemaMigration calls vtadmin.VTAdmin.LaunchSchemaMigration. +func (c *vTAdminClient) LaunchSchemaMigration(ctx context.Context, req *connect.Request[v19.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) { + return c.launchSchemaMigration.CallUnary(ctx, req) +} + +// PingTablet calls vtadmin.VTAdmin.PingTablet. +func (c *vTAdminClient) PingTablet(ctx context.Context, req *connect.Request[v19.PingTabletRequest]) (*connect.Response[v19.PingTabletResponse], error) { + return c.pingTablet.CallUnary(ctx, req) +} + +// PlannedFailoverShard calls vtadmin.VTAdmin.PlannedFailoverShard. +func (c *vTAdminClient) PlannedFailoverShard(ctx context.Context, req *connect.Request[v19.PlannedFailoverShardRequest]) (*connect.Response[v19.PlannedFailoverShardResponse], error) { + return c.plannedFailoverShard.CallUnary(ctx, req) +} + +// RebuildKeyspaceGraph calls vtadmin.VTAdmin.RebuildKeyspaceGraph. +func (c *vTAdminClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v19.RebuildKeyspaceGraphRequest]) (*connect.Response[v19.RebuildKeyspaceGraphResponse], error) { + return c.rebuildKeyspaceGraph.CallUnary(ctx, req) +} + +// RefreshState calls vtadmin.VTAdmin.RefreshState. +func (c *vTAdminClient) RefreshState(ctx context.Context, req *connect.Request[v19.RefreshStateRequest]) (*connect.Response[v19.RefreshStateResponse], error) { + return c.refreshState.CallUnary(ctx, req) +} + +// RefreshTabletReplicationSource calls vtadmin.VTAdmin.RefreshTabletReplicationSource. +func (c *vTAdminClient) RefreshTabletReplicationSource(ctx context.Context, req *connect.Request[v19.RefreshTabletReplicationSourceRequest]) (*connect.Response[v19.RefreshTabletReplicationSourceResponse], error) { + return c.refreshTabletReplicationSource.CallUnary(ctx, req) +} + +// ReloadSchemas calls vtadmin.VTAdmin.ReloadSchemas. +func (c *vTAdminClient) ReloadSchemas(ctx context.Context, req *connect.Request[v19.ReloadSchemasRequest]) (*connect.Response[v19.ReloadSchemasResponse], error) { + return c.reloadSchemas.CallUnary(ctx, req) +} + +// ReloadSchemaShard calls vtadmin.VTAdmin.ReloadSchemaShard. +func (c *vTAdminClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v19.ReloadSchemaShardRequest]) (*connect.Response[v19.ReloadSchemaShardResponse], error) { + return c.reloadSchemaShard.CallUnary(ctx, req) +} + +// RemoveKeyspaceCell calls vtadmin.VTAdmin.RemoveKeyspaceCell. +func (c *vTAdminClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v19.RemoveKeyspaceCellRequest]) (*connect.Response[v19.RemoveKeyspaceCellResponse], error) { + return c.removeKeyspaceCell.CallUnary(ctx, req) +} + +// RetrySchemaMigration calls vtadmin.VTAdmin.RetrySchemaMigration. +func (c *vTAdminClient) RetrySchemaMigration(ctx context.Context, req *connect.Request[v19.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) { + return c.retrySchemaMigration.CallUnary(ctx, req) +} + +// RunHealthCheck calls vtadmin.VTAdmin.RunHealthCheck. +func (c *vTAdminClient) RunHealthCheck(ctx context.Context, req *connect.Request[v19.RunHealthCheckRequest]) (*connect.Response[v19.RunHealthCheckResponse], error) { + return c.runHealthCheck.CallUnary(ctx, req) +} + +// SetReadOnly calls vtadmin.VTAdmin.SetReadOnly. +func (c *vTAdminClient) SetReadOnly(ctx context.Context, req *connect.Request[v19.SetReadOnlyRequest]) (*connect.Response[v19.SetReadOnlyResponse], error) { + return c.setReadOnly.CallUnary(ctx, req) +} + +// SetReadWrite calls vtadmin.VTAdmin.SetReadWrite. +func (c *vTAdminClient) SetReadWrite(ctx context.Context, req *connect.Request[v19.SetReadWriteRequest]) (*connect.Response[v19.SetReadWriteResponse], error) { + return c.setReadWrite.CallUnary(ctx, req) +} + +// StartReplication calls vtadmin.VTAdmin.StartReplication. +func (c *vTAdminClient) StartReplication(ctx context.Context, req *connect.Request[v19.StartReplicationRequest]) (*connect.Response[v19.StartReplicationResponse], error) { + return c.startReplication.CallUnary(ctx, req) +} + +// StopReplication calls vtadmin.VTAdmin.StopReplication. +func (c *vTAdminClient) StopReplication(ctx context.Context, req *connect.Request[v19.StopReplicationRequest]) (*connect.Response[v19.StopReplicationResponse], error) { + return c.stopReplication.CallUnary(ctx, req) +} + +// TabletExternallyPromoted calls vtadmin.VTAdmin.TabletExternallyPromoted. +func (c *vTAdminClient) TabletExternallyPromoted(ctx context.Context, req *connect.Request[v19.TabletExternallyPromotedRequest]) (*connect.Response[v19.TabletExternallyPromotedResponse], error) { + return c.tabletExternallyPromoted.CallUnary(ctx, req) +} + +// Validate calls vtadmin.VTAdmin.Validate. +func (c *vTAdminClient) Validate(ctx context.Context, req *connect.Request[v19.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) { + return c.validate.CallUnary(ctx, req) +} + +// ValidateKeyspace calls vtadmin.VTAdmin.ValidateKeyspace. +func (c *vTAdminClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v19.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) { + return c.validateKeyspace.CallUnary(ctx, req) +} + +// ValidateSchemaKeyspace calls vtadmin.VTAdmin.ValidateSchemaKeyspace. +func (c *vTAdminClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v19.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) { + return c.validateSchemaKeyspace.CallUnary(ctx, req) +} + +// ValidateShard calls vtadmin.VTAdmin.ValidateShard. +func (c *vTAdminClient) ValidateShard(ctx context.Context, req *connect.Request[v19.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) { + return c.validateShard.CallUnary(ctx, req) +} + +// ValidateVersionKeyspace calls vtadmin.VTAdmin.ValidateVersionKeyspace. +func (c *vTAdminClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v19.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) { + return c.validateVersionKeyspace.CallUnary(ctx, req) +} + +// ValidateVersionShard calls vtadmin.VTAdmin.ValidateVersionShard. +func (c *vTAdminClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v19.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) { + return c.validateVersionShard.CallUnary(ctx, req) +} + +// VTExplain calls vtadmin.VTAdmin.VTExplain. +func (c *vTAdminClient) VTExplain(ctx context.Context, req *connect.Request[v19.VTExplainRequest]) (*connect.Response[v19.VTExplainResponse], error) { + return c.vTExplain.CallUnary(ctx, req) +} + +// VTAdminHandler is an implementation of the vtadmin.VTAdmin service. +type VTAdminHandler interface { + // ApplySchema applies a schema to a keyspace in the given cluster. + ApplySchema(context.Context, *connect.Request[v19.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) + // CancelSchemaMigration cancels one or all schema migrations in the given + // cluster, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[v19.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) + // CleanupSchemaMigration marks a schema migration in the given cluster as + // ready for artifact cleanup. + CleanupSchemaMigration(context.Context, *connect.Request[v19.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations in the given + // cluster executed with --postpone-completion. + CompleteSchemaMigration(context.Context, *connect.Request[v19.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) + // CreateKeyspace creates a new keyspace in the given cluster. + CreateKeyspace(context.Context, *connect.Request[v19.CreateKeyspaceRequest]) (*connect.Response[v19.CreateKeyspaceResponse], error) + // CreateShard creates a new shard in the given cluster and keyspace. + CreateShard(context.Context, *connect.Request[v19.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) + // DeleteKeyspace deletes a keyspace in the given cluster. + DeleteKeyspace(context.Context, *connect.Request[v19.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) + // DeleteShard deletes one or more shards in the given cluster and keyspace. + DeleteShards(context.Context, *connect.Request[v19.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) + // DeleteTablet deletes a tablet from the topology + DeleteTablet(context.Context, *connect.Request[v19.DeleteTabletRequest]) (*connect.Response[v19.DeleteTabletResponse], error) + // EmergencyFailoverShard fails over a shard to a new primary. It assumes + // the old primary is dead or otherwise not responding. + EmergencyFailoverShard(context.Context, *connect.Request[v19.EmergencyFailoverShardRequest]) (*connect.Response[v19.EmergencyFailoverShardResponse], error) + // FindSchema returns a single Schema that matches the provided table name + // across all specified clusters IDs. Not specifying a set of cluster IDs + // causes the search to span all configured clusters. + // + // An error occurs if either no table exists across any of the clusters with + // the specified table name, or if multiple tables exist with that name. + FindSchema(context.Context, *connect.Request[v19.FindSchemaRequest]) (*connect.Response[v19.Schema], error) + // GetBackups returns backups grouped by cluster. + GetBackups(context.Context, *connect.Request[v19.GetBackupsRequest]) (*connect.Response[v19.GetBackupsResponse], error) + // GetCellInfos returns the CellInfo objects for the specified clusters. + // + // Callers may optionally restrict the set of CellInfos, or restrict the + // response to include only cell names. + GetCellInfos(context.Context, *connect.Request[v19.GetCellInfosRequest]) (*connect.Response[v19.GetCellInfosResponse], error) + // GetCellsAliases returns the CellsAliases data for the specified clusters. + GetCellsAliases(context.Context, *connect.Request[v19.GetCellsAliasesRequest]) (*connect.Response[v19.GetCellsAliasesResponse], error) + // GetClusters returns all configured clusters. + GetClusters(context.Context, *connect.Request[v19.GetClustersRequest]) (*connect.Response[v19.GetClustersResponse], error) + // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + GetFullStatus(context.Context, *connect.Request[v19.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) + // GetGates returns all gates across all the specified clusters. + GetGates(context.Context, *connect.Request[v19.GetGatesRequest]) (*connect.Response[v19.GetGatesResponse], error) + // GetKeyspace returns a keyspace by name in the specified cluster. + GetKeyspace(context.Context, *connect.Request[v19.GetKeyspaceRequest]) (*connect.Response[v19.Keyspace], error) + // GetKeyspaces returns all keyspaces across the specified clusters. + GetKeyspaces(context.Context, *connect.Request[v19.GetKeyspacesRequest]) (*connect.Response[v19.GetKeyspacesResponse], error) + // GetSchema returns the schema for the specified (cluster, keyspace, table) + // tuple. + GetSchema(context.Context, *connect.Request[v19.GetSchemaRequest]) (*connect.Response[v19.Schema], error) + // GetSchemas returns all schemas across the specified clusters. + GetSchemas(context.Context, *connect.Request[v19.GetSchemasRequest]) (*connect.Response[v19.GetSchemasResponse], error) + // GetSchemaMigrations returns one or more online schema migrations for the + // set of keyspaces (or all keyspaces) in the given clusters, analagous to + // repeated executions of `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different behaviors. + // See the documentation on vtctldata.GetSchemaMigrationsRequest for details. + GetSchemaMigrations(context.Context, *connect.Request[v19.GetSchemaMigrationsRequest]) (*connect.Response[v19.GetSchemaMigrationsResponse], error) + // GetShardReplicationPositions returns shard replication positions grouped + // by cluster. + GetShardReplicationPositions(context.Context, *connect.Request[v19.GetShardReplicationPositionsRequest]) (*connect.Response[v19.GetShardReplicationPositionsResponse], error) + // GetSrvKeyspace returns the SrvKeyspace for a keyspace in one or more cells. + GetSrvKeyspace(context.Context, *connect.Request[v19.GetSrvKeyspaceRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) + // GetSrvKeyspaces returns the SrvKeyspaces for all keyspaces across all the specified clusters. + GetSrvKeyspaces(context.Context, *connect.Request[v19.GetSrvKeyspacesRequest]) (*connect.Response[v19.GetSrvKeyspacesResponse], error) + // GetSrvVSchema returns the SrvVSchema for the given cluster and cell. + GetSrvVSchema(context.Context, *connect.Request[v19.GetSrvVSchemaRequest]) (*connect.Response[v19.SrvVSchema], error) + // GetSrvVSchemas returns all SrvVSchemas across all (or specified) clusters + // and cells. + GetSrvVSchemas(context.Context, *connect.Request[v19.GetSrvVSchemasRequest]) (*connect.Response[v19.GetSrvVSchemasResponse], error) + // GetTablet looks up a tablet by hostname across all clusters and returns + // the result. + GetTablet(context.Context, *connect.Request[v19.GetTabletRequest]) (*connect.Response[v19.Tablet], error) + // GetTablets returns all tablets across all the specified clusters. + GetTablets(context.Context, *connect.Request[v19.GetTabletsRequest]) (*connect.Response[v19.GetTabletsResponse], error) + // GetTopologyPath returns the cell located at the specified path in the topology server. + GetTopologyPath(context.Context, *connect.Request[v19.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) + // GetVSchema returns a VSchema for the specified keyspace in the specified + // cluster. + GetVSchema(context.Context, *connect.Request[v19.GetVSchemaRequest]) (*connect.Response[v19.VSchema], error) + // GetVSchemas returns the VSchemas for all specified clusters. + GetVSchemas(context.Context, *connect.Request[v19.GetVSchemasRequest]) (*connect.Response[v19.GetVSchemasResponse], error) + // GetVtctlds returns the Vtctlds for all specified clusters. + GetVtctlds(context.Context, *connect.Request[v19.GetVtctldsRequest]) (*connect.Response[v19.GetVtctldsResponse], error) + // GetWorkflow returns a single Workflow for a given cluster, keyspace, and + // workflow name. + GetWorkflow(context.Context, *connect.Request[v19.GetWorkflowRequest]) (*connect.Response[v19.Workflow], error) + // GetWorkflows returns the Workflows for all specified clusters. + GetWorkflows(context.Context, *connect.Request[v19.GetWorkflowsRequest]) (*connect.Response[v19.GetWorkflowsResponse], error) + // LaunchSchemaMigration launches one or all migrations in the given + // cluster executed with --postpone-launch. + LaunchSchemaMigration(context.Context, *connect.Request[v19.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) + // PingTablet checks that the specified tablet is awake and responding to + // RPCs. This command can be blocked by other in-flight operations. + PingTablet(context.Context, *connect.Request[v19.PingTabletRequest]) (*connect.Response[v19.PingTabletResponse], error) + // PlannedFailoverShard fails over the shard to a new primary, or away from + // an old primary. Both the old and new primaries must be reachable and + // running. + // + // NOTE: A planned failover will not consider replicas outside the current + // shard primary's cell as promotion candidates unless NewPrimary is + // explicitly provided in the request. + PlannedFailoverShard(context.Context, *connect.Request[v19.PlannedFailoverShardRequest]) (*connect.Response[v19.PlannedFailoverShardResponse], error) + // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. + RebuildKeyspaceGraph(context.Context, *connect.Request[v19.RebuildKeyspaceGraphRequest]) (*connect.Response[v19.RebuildKeyspaceGraphResponse], error) + // RefreshState reloads the tablet record on the specified tablet. + RefreshState(context.Context, *connect.Request[v19.RefreshStateRequest]) (*connect.Response[v19.RefreshStateResponse], error) + // RefreshTabletReplicationSource performs a `CHANGE REPLICATION SOURCE TO` + // on a tablet to replicate from the current primary in the shard. + RefreshTabletReplicationSource(context.Context, *connect.Request[v19.RefreshTabletReplicationSourceRequest]) (*connect.Response[v19.RefreshTabletReplicationSourceResponse], error) + // ReloadSchemas reloads the schema definition across keyspaces, shards, or + // tablets in one or more clusters, depending on the request fields (see + // ReloadSchemasRequest for details). + ReloadSchemas(context.Context, *connect.Request[v19.ReloadSchemasRequest]) (*connect.Response[v19.ReloadSchemasResponse], error) + // ReloadSchemaShard reloads the schema on all tablets in a shard. This is done on a best-effort basis. + ReloadSchemaShard(context.Context, *connect.Request[v19.ReloadSchemaShardRequest]) (*connect.Response[v19.ReloadSchemaShardResponse], error) + // RemoveKeyspaceCell removes the cell from the Cells list for all shards in the keyspace, and the SrvKeyspace for that keyspace in that cell. + RemoveKeyspaceCell(context.Context, *connect.Request[v19.RemoveKeyspaceCellRequest]) (*connect.Response[v19.RemoveKeyspaceCellResponse], error) + // RetrySchemaMigration marks a given schema migration in the given cluster + // for retry. + RetrySchemaMigration(context.Context, *connect.Request[v19.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) + // RunHealthCheck runs a healthcheck on the tablet. + RunHealthCheck(context.Context, *connect.Request[v19.RunHealthCheckRequest]) (*connect.Response[v19.RunHealthCheckResponse], error) + // SetReadOnly sets the tablet to read-only mode. + SetReadOnly(context.Context, *connect.Request[v19.SetReadOnlyRequest]) (*connect.Response[v19.SetReadOnlyResponse], error) + // SetReadWrite sets the tablet to read-write mode. + SetReadWrite(context.Context, *connect.Request[v19.SetReadWriteRequest]) (*connect.Response[v19.SetReadWriteResponse], error) + // StartReplication runs the underlying database command to start + // replication on a tablet. + StartReplication(context.Context, *connect.Request[v19.StartReplicationRequest]) (*connect.Response[v19.StartReplicationResponse], error) + // StopReplication runs the underlying database command to stop replication + // on a tablet + StopReplication(context.Context, *connect.Request[v19.StopReplicationRequest]) (*connect.Response[v19.StopReplicationResponse], error) + // TabletExternallyPromoted updates the metadata in a cluster's topology + // to acknowledge a shard primary change performed by an external tool + // (e.g. orchestrator*). + // + // See the Reparenting guide for more information: + // https://vitess.io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting. + // + // * "orchestrator" here refers to external orchestrator, not the newer, + // Vitess-aware orchestrator, VTOrc. + TabletExternallyPromoted(context.Context, *connect.Request[v19.TabletExternallyPromotedRequest]) (*connect.Response[v19.TabletExternallyPromotedResponse], error) + // Validate validates all nodes in a cluster that are reachable from the global replication graph, + // as well as all tablets in discoverable cells, are consistent + Validate(context.Context, *connect.Request[v19.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) + // ValidateKeyspace validates that all nodes reachable from the specified + // keyspace are consistent. + ValidateKeyspace(context.Context, *connect.Request[v19.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) + // ValidateSchemaKeyspace validates that the schema on the primary tablet + // for shard 0 matches the schema on all of the other tablets in the + // keyspace. + ValidateSchemaKeyspace(context.Context, *connect.Request[v19.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) + // ValidateShard validates that that all nodes reachable from the specified shard are consistent. + ValidateShard(context.Context, *connect.Request[v19.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) + // ValidateVersionKeyspace validates that the version on the primary of + // shard 0 matches all of the other tablets in the keyspace. + ValidateVersionKeyspace(context.Context, *connect.Request[v19.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) + // ValidateVersionShard validates that the version on the primary matches all of the replicas. + ValidateVersionShard(context.Context, *connect.Request[v19.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) + // VTExplain provides information on how Vitess plans to execute a + // particular query. + VTExplain(context.Context, *connect.Request[v19.VTExplainRequest]) (*connect.Response[v19.VTExplainResponse], error) +} + +// NewVTAdminHandler builds an HTTP handler from the service implementation. It returns the path on +// which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewVTAdminHandler(svc VTAdminHandler, opts ...connect.HandlerOption) (string, http.Handler) { + vTAdminApplySchemaHandler := connect.NewUnaryHandler( + VTAdminApplySchemaProcedure, + svc.ApplySchema, + connect.WithSchema(vTAdminApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCancelSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminCancelSchemaMigrationProcedure, + svc.CancelSchemaMigration, + connect.WithSchema(vTAdminCancelSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCleanupSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminCleanupSchemaMigrationProcedure, + svc.CleanupSchemaMigration, + connect.WithSchema(vTAdminCleanupSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCompleteSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminCompleteSchemaMigrationProcedure, + svc.CompleteSchemaMigration, + connect.WithSchema(vTAdminCompleteSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCreateKeyspaceHandler := connect.NewUnaryHandler( + VTAdminCreateKeyspaceProcedure, + svc.CreateKeyspace, + connect.WithSchema(vTAdminCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminCreateShardHandler := connect.NewUnaryHandler( + VTAdminCreateShardProcedure, + svc.CreateShard, + connect.WithSchema(vTAdminCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminDeleteKeyspaceHandler := connect.NewUnaryHandler( + VTAdminDeleteKeyspaceProcedure, + svc.DeleteKeyspace, + connect.WithSchema(vTAdminDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminDeleteShardsHandler := connect.NewUnaryHandler( + VTAdminDeleteShardsProcedure, + svc.DeleteShards, + connect.WithSchema(vTAdminDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminDeleteTabletHandler := connect.NewUnaryHandler( + VTAdminDeleteTabletProcedure, + svc.DeleteTablet, + connect.WithSchema(vTAdminDeleteTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminEmergencyFailoverShardHandler := connect.NewUnaryHandler( + VTAdminEmergencyFailoverShardProcedure, + svc.EmergencyFailoverShard, + connect.WithSchema(vTAdminEmergencyFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminFindSchemaHandler := connect.NewUnaryHandler( + VTAdminFindSchemaProcedure, + svc.FindSchema, + connect.WithSchema(vTAdminFindSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetBackupsHandler := connect.NewUnaryHandler( + VTAdminGetBackupsProcedure, + svc.GetBackups, + connect.WithSchema(vTAdminGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetCellInfosHandler := connect.NewUnaryHandler( + VTAdminGetCellInfosProcedure, + svc.GetCellInfos, + connect.WithSchema(vTAdminGetCellInfosMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetCellsAliasesHandler := connect.NewUnaryHandler( + VTAdminGetCellsAliasesProcedure, + svc.GetCellsAliases, + connect.WithSchema(vTAdminGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetClustersHandler := connect.NewUnaryHandler( + VTAdminGetClustersProcedure, + svc.GetClusters, + connect.WithSchema(vTAdminGetClustersMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetFullStatusHandler := connect.NewUnaryHandler( + VTAdminGetFullStatusProcedure, + svc.GetFullStatus, + connect.WithSchema(vTAdminGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetGatesHandler := connect.NewUnaryHandler( + VTAdminGetGatesProcedure, + svc.GetGates, + connect.WithSchema(vTAdminGetGatesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetKeyspaceHandler := connect.NewUnaryHandler( + VTAdminGetKeyspaceProcedure, + svc.GetKeyspace, + connect.WithSchema(vTAdminGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetKeyspacesHandler := connect.NewUnaryHandler( + VTAdminGetKeyspacesProcedure, + svc.GetKeyspaces, + connect.WithSchema(vTAdminGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSchemaHandler := connect.NewUnaryHandler( + VTAdminGetSchemaProcedure, + svc.GetSchema, + connect.WithSchema(vTAdminGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSchemasHandler := connect.NewUnaryHandler( + VTAdminGetSchemasProcedure, + svc.GetSchemas, + connect.WithSchema(vTAdminGetSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSchemaMigrationsHandler := connect.NewUnaryHandler( + VTAdminGetSchemaMigrationsProcedure, + svc.GetSchemaMigrations, + connect.WithSchema(vTAdminGetSchemaMigrationsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetShardReplicationPositionsHandler := connect.NewUnaryHandler( + VTAdminGetShardReplicationPositionsProcedure, + svc.GetShardReplicationPositions, + connect.WithSchema(vTAdminGetShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSrvKeyspaceHandler := connect.NewUnaryHandler( + VTAdminGetSrvKeyspaceProcedure, + svc.GetSrvKeyspace, + connect.WithSchema(vTAdminGetSrvKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSrvKeyspacesHandler := connect.NewUnaryHandler( + VTAdminGetSrvKeyspacesProcedure, + svc.GetSrvKeyspaces, + connect.WithSchema(vTAdminGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSrvVSchemaHandler := connect.NewUnaryHandler( + VTAdminGetSrvVSchemaProcedure, + svc.GetSrvVSchema, + connect.WithSchema(vTAdminGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetSrvVSchemasHandler := connect.NewUnaryHandler( + VTAdminGetSrvVSchemasProcedure, + svc.GetSrvVSchemas, + connect.WithSchema(vTAdminGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetTabletHandler := connect.NewUnaryHandler( + VTAdminGetTabletProcedure, + svc.GetTablet, + connect.WithSchema(vTAdminGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetTabletsHandler := connect.NewUnaryHandler( + VTAdminGetTabletsProcedure, + svc.GetTablets, + connect.WithSchema(vTAdminGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetTopologyPathHandler := connect.NewUnaryHandler( + VTAdminGetTopologyPathProcedure, + svc.GetTopologyPath, + connect.WithSchema(vTAdminGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetVSchemaHandler := connect.NewUnaryHandler( + VTAdminGetVSchemaProcedure, + svc.GetVSchema, + connect.WithSchema(vTAdminGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetVSchemasHandler := connect.NewUnaryHandler( + VTAdminGetVSchemasProcedure, + svc.GetVSchemas, + connect.WithSchema(vTAdminGetVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetVtctldsHandler := connect.NewUnaryHandler( + VTAdminGetVtctldsProcedure, + svc.GetVtctlds, + connect.WithSchema(vTAdminGetVtctldsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetWorkflowHandler := connect.NewUnaryHandler( + VTAdminGetWorkflowProcedure, + svc.GetWorkflow, + connect.WithSchema(vTAdminGetWorkflowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminGetWorkflowsHandler := connect.NewUnaryHandler( + VTAdminGetWorkflowsProcedure, + svc.GetWorkflows, + connect.WithSchema(vTAdminGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminLaunchSchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminLaunchSchemaMigrationProcedure, + svc.LaunchSchemaMigration, + connect.WithSchema(vTAdminLaunchSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminPingTabletHandler := connect.NewUnaryHandler( + VTAdminPingTabletProcedure, + svc.PingTablet, + connect.WithSchema(vTAdminPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminPlannedFailoverShardHandler := connect.NewUnaryHandler( + VTAdminPlannedFailoverShardProcedure, + svc.PlannedFailoverShard, + connect.WithSchema(vTAdminPlannedFailoverShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( + VTAdminRebuildKeyspaceGraphProcedure, + svc.RebuildKeyspaceGraph, + connect.WithSchema(vTAdminRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminRefreshStateHandler := connect.NewUnaryHandler( + VTAdminRefreshStateProcedure, + svc.RefreshState, + connect.WithSchema(vTAdminRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminRefreshTabletReplicationSourceHandler := connect.NewUnaryHandler( + VTAdminRefreshTabletReplicationSourceProcedure, + svc.RefreshTabletReplicationSource, + connect.WithSchema(vTAdminRefreshTabletReplicationSourceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminReloadSchemasHandler := connect.NewUnaryHandler( + VTAdminReloadSchemasProcedure, + svc.ReloadSchemas, + connect.WithSchema(vTAdminReloadSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminReloadSchemaShardHandler := connect.NewUnaryHandler( + VTAdminReloadSchemaShardProcedure, + svc.ReloadSchemaShard, + connect.WithSchema(vTAdminReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminRemoveKeyspaceCellHandler := connect.NewUnaryHandler( + VTAdminRemoveKeyspaceCellProcedure, + svc.RemoveKeyspaceCell, + connect.WithSchema(vTAdminRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminRetrySchemaMigrationHandler := connect.NewUnaryHandler( + VTAdminRetrySchemaMigrationProcedure, + svc.RetrySchemaMigration, + connect.WithSchema(vTAdminRetrySchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminRunHealthCheckHandler := connect.NewUnaryHandler( + VTAdminRunHealthCheckProcedure, + svc.RunHealthCheck, + connect.WithSchema(vTAdminRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminSetReadOnlyHandler := connect.NewUnaryHandler( + VTAdminSetReadOnlyProcedure, + svc.SetReadOnly, + connect.WithSchema(vTAdminSetReadOnlyMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminSetReadWriteHandler := connect.NewUnaryHandler( + VTAdminSetReadWriteProcedure, + svc.SetReadWrite, + connect.WithSchema(vTAdminSetReadWriteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminStartReplicationHandler := connect.NewUnaryHandler( + VTAdminStartReplicationProcedure, + svc.StartReplication, + connect.WithSchema(vTAdminStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminStopReplicationHandler := connect.NewUnaryHandler( + VTAdminStopReplicationProcedure, + svc.StopReplication, + connect.WithSchema(vTAdminStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminTabletExternallyPromotedHandler := connect.NewUnaryHandler( + VTAdminTabletExternallyPromotedProcedure, + svc.TabletExternallyPromoted, + connect.WithSchema(vTAdminTabletExternallyPromotedMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminValidateHandler := connect.NewUnaryHandler( + VTAdminValidateProcedure, + svc.Validate, + connect.WithSchema(vTAdminValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminValidateKeyspaceHandler := connect.NewUnaryHandler( + VTAdminValidateKeyspaceProcedure, + svc.ValidateKeyspace, + connect.WithSchema(vTAdminValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( + VTAdminValidateSchemaKeyspaceProcedure, + svc.ValidateSchemaKeyspace, + connect.WithSchema(vTAdminValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminValidateShardHandler := connect.NewUnaryHandler( + VTAdminValidateShardProcedure, + svc.ValidateShard, + connect.WithSchema(vTAdminValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminValidateVersionKeyspaceHandler := connect.NewUnaryHandler( + VTAdminValidateVersionKeyspaceProcedure, + svc.ValidateVersionKeyspace, + connect.WithSchema(vTAdminValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminValidateVersionShardHandler := connect.NewUnaryHandler( + VTAdminValidateVersionShardProcedure, + svc.ValidateVersionShard, + connect.WithSchema(vTAdminValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vTAdminVTExplainHandler := connect.NewUnaryHandler( + VTAdminVTExplainProcedure, + svc.VTExplain, + connect.WithSchema(vTAdminVTExplainMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/vtadmin.VTAdmin/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case VTAdminApplySchemaProcedure: + vTAdminApplySchemaHandler.ServeHTTP(w, r) + case VTAdminCancelSchemaMigrationProcedure: + vTAdminCancelSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminCleanupSchemaMigrationProcedure: + vTAdminCleanupSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminCompleteSchemaMigrationProcedure: + vTAdminCompleteSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminCreateKeyspaceProcedure: + vTAdminCreateKeyspaceHandler.ServeHTTP(w, r) + case VTAdminCreateShardProcedure: + vTAdminCreateShardHandler.ServeHTTP(w, r) + case VTAdminDeleteKeyspaceProcedure: + vTAdminDeleteKeyspaceHandler.ServeHTTP(w, r) + case VTAdminDeleteShardsProcedure: + vTAdminDeleteShardsHandler.ServeHTTP(w, r) + case VTAdminDeleteTabletProcedure: + vTAdminDeleteTabletHandler.ServeHTTP(w, r) + case VTAdminEmergencyFailoverShardProcedure: + vTAdminEmergencyFailoverShardHandler.ServeHTTP(w, r) + case VTAdminFindSchemaProcedure: + vTAdminFindSchemaHandler.ServeHTTP(w, r) + case VTAdminGetBackupsProcedure: + vTAdminGetBackupsHandler.ServeHTTP(w, r) + case VTAdminGetCellInfosProcedure: + vTAdminGetCellInfosHandler.ServeHTTP(w, r) + case VTAdminGetCellsAliasesProcedure: + vTAdminGetCellsAliasesHandler.ServeHTTP(w, r) + case VTAdminGetClustersProcedure: + vTAdminGetClustersHandler.ServeHTTP(w, r) + case VTAdminGetFullStatusProcedure: + vTAdminGetFullStatusHandler.ServeHTTP(w, r) + case VTAdminGetGatesProcedure: + vTAdminGetGatesHandler.ServeHTTP(w, r) + case VTAdminGetKeyspaceProcedure: + vTAdminGetKeyspaceHandler.ServeHTTP(w, r) + case VTAdminGetKeyspacesProcedure: + vTAdminGetKeyspacesHandler.ServeHTTP(w, r) + case VTAdminGetSchemaProcedure: + vTAdminGetSchemaHandler.ServeHTTP(w, r) + case VTAdminGetSchemasProcedure: + vTAdminGetSchemasHandler.ServeHTTP(w, r) + case VTAdminGetSchemaMigrationsProcedure: + vTAdminGetSchemaMigrationsHandler.ServeHTTP(w, r) + case VTAdminGetShardReplicationPositionsProcedure: + vTAdminGetShardReplicationPositionsHandler.ServeHTTP(w, r) + case VTAdminGetSrvKeyspaceProcedure: + vTAdminGetSrvKeyspaceHandler.ServeHTTP(w, r) + case VTAdminGetSrvKeyspacesProcedure: + vTAdminGetSrvKeyspacesHandler.ServeHTTP(w, r) + case VTAdminGetSrvVSchemaProcedure: + vTAdminGetSrvVSchemaHandler.ServeHTTP(w, r) + case VTAdminGetSrvVSchemasProcedure: + vTAdminGetSrvVSchemasHandler.ServeHTTP(w, r) + case VTAdminGetTabletProcedure: + vTAdminGetTabletHandler.ServeHTTP(w, r) + case VTAdminGetTabletsProcedure: + vTAdminGetTabletsHandler.ServeHTTP(w, r) + case VTAdminGetTopologyPathProcedure: + vTAdminGetTopologyPathHandler.ServeHTTP(w, r) + case VTAdminGetVSchemaProcedure: + vTAdminGetVSchemaHandler.ServeHTTP(w, r) + case VTAdminGetVSchemasProcedure: + vTAdminGetVSchemasHandler.ServeHTTP(w, r) + case VTAdminGetVtctldsProcedure: + vTAdminGetVtctldsHandler.ServeHTTP(w, r) + case VTAdminGetWorkflowProcedure: + vTAdminGetWorkflowHandler.ServeHTTP(w, r) + case VTAdminGetWorkflowsProcedure: + vTAdminGetWorkflowsHandler.ServeHTTP(w, r) + case VTAdminLaunchSchemaMigrationProcedure: + vTAdminLaunchSchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminPingTabletProcedure: + vTAdminPingTabletHandler.ServeHTTP(w, r) + case VTAdminPlannedFailoverShardProcedure: + vTAdminPlannedFailoverShardHandler.ServeHTTP(w, r) + case VTAdminRebuildKeyspaceGraphProcedure: + vTAdminRebuildKeyspaceGraphHandler.ServeHTTP(w, r) + case VTAdminRefreshStateProcedure: + vTAdminRefreshStateHandler.ServeHTTP(w, r) + case VTAdminRefreshTabletReplicationSourceProcedure: + vTAdminRefreshTabletReplicationSourceHandler.ServeHTTP(w, r) + case VTAdminReloadSchemasProcedure: + vTAdminReloadSchemasHandler.ServeHTTP(w, r) + case VTAdminReloadSchemaShardProcedure: + vTAdminReloadSchemaShardHandler.ServeHTTP(w, r) + case VTAdminRemoveKeyspaceCellProcedure: + vTAdminRemoveKeyspaceCellHandler.ServeHTTP(w, r) + case VTAdminRetrySchemaMigrationProcedure: + vTAdminRetrySchemaMigrationHandler.ServeHTTP(w, r) + case VTAdminRunHealthCheckProcedure: + vTAdminRunHealthCheckHandler.ServeHTTP(w, r) + case VTAdminSetReadOnlyProcedure: + vTAdminSetReadOnlyHandler.ServeHTTP(w, r) + case VTAdminSetReadWriteProcedure: + vTAdminSetReadWriteHandler.ServeHTTP(w, r) + case VTAdminStartReplicationProcedure: + vTAdminStartReplicationHandler.ServeHTTP(w, r) + case VTAdminStopReplicationProcedure: + vTAdminStopReplicationHandler.ServeHTTP(w, r) + case VTAdminTabletExternallyPromotedProcedure: + vTAdminTabletExternallyPromotedHandler.ServeHTTP(w, r) + case VTAdminValidateProcedure: + vTAdminValidateHandler.ServeHTTP(w, r) + case VTAdminValidateKeyspaceProcedure: + vTAdminValidateKeyspaceHandler.ServeHTTP(w, r) + case VTAdminValidateSchemaKeyspaceProcedure: + vTAdminValidateSchemaKeyspaceHandler.ServeHTTP(w, r) + case VTAdminValidateShardProcedure: + vTAdminValidateShardHandler.ServeHTTP(w, r) + case VTAdminValidateVersionKeyspaceProcedure: + vTAdminValidateVersionKeyspaceHandler.ServeHTTP(w, r) + case VTAdminValidateVersionShardProcedure: + vTAdminValidateVersionShardHandler.ServeHTTP(w, r) + case VTAdminVTExplainProcedure: + vTAdminVTExplainHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedVTAdminHandler returns CodeUnimplemented from all methods. +type UnimplementedVTAdminHandler struct{} + +func (UnimplementedVTAdminHandler) ApplySchema(context.Context, *connect.Request[v19.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ApplySchema is not implemented")) +} + +func (UnimplementedVTAdminHandler) CancelSchemaMigration(context.Context, *connect.Request[v19.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CancelSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) CleanupSchemaMigration(context.Context, *connect.Request[v19.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CleanupSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) CompleteSchemaMigration(context.Context, *connect.Request[v19.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CompleteSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) CreateKeyspace(context.Context, *connect.Request[v19.CreateKeyspaceRequest]) (*connect.Response[v19.CreateKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CreateKeyspace is not implemented")) +} + +func (UnimplementedVTAdminHandler) CreateShard(context.Context, *connect.Request[v19.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.CreateShard is not implemented")) +} + +func (UnimplementedVTAdminHandler) DeleteKeyspace(context.Context, *connect.Request[v19.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.DeleteKeyspace is not implemented")) +} + +func (UnimplementedVTAdminHandler) DeleteShards(context.Context, *connect.Request[v19.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.DeleteShards is not implemented")) +} + +func (UnimplementedVTAdminHandler) DeleteTablet(context.Context, *connect.Request[v19.DeleteTabletRequest]) (*connect.Response[v19.DeleteTabletResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.DeleteTablet is not implemented")) +} + +func (UnimplementedVTAdminHandler) EmergencyFailoverShard(context.Context, *connect.Request[v19.EmergencyFailoverShardRequest]) (*connect.Response[v19.EmergencyFailoverShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.EmergencyFailoverShard is not implemented")) +} + +func (UnimplementedVTAdminHandler) FindSchema(context.Context, *connect.Request[v19.FindSchemaRequest]) (*connect.Response[v19.Schema], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.FindSchema is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetBackups(context.Context, *connect.Request[v19.GetBackupsRequest]) (*connect.Response[v19.GetBackupsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetBackups is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetCellInfos(context.Context, *connect.Request[v19.GetCellInfosRequest]) (*connect.Response[v19.GetCellInfosResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetCellInfos is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetCellsAliases(context.Context, *connect.Request[v19.GetCellsAliasesRequest]) (*connect.Response[v19.GetCellsAliasesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetCellsAliases is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetClusters(context.Context, *connect.Request[v19.GetClustersRequest]) (*connect.Response[v19.GetClustersResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetClusters is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetFullStatus(context.Context, *connect.Request[v19.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetFullStatus is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetGates(context.Context, *connect.Request[v19.GetGatesRequest]) (*connect.Response[v19.GetGatesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetGates is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetKeyspace(context.Context, *connect.Request[v19.GetKeyspaceRequest]) (*connect.Response[v19.Keyspace], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetKeyspace is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetKeyspaces(context.Context, *connect.Request[v19.GetKeyspacesRequest]) (*connect.Response[v19.GetKeyspacesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetKeyspaces is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetSchema(context.Context, *connect.Request[v19.GetSchemaRequest]) (*connect.Response[v19.Schema], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSchema is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetSchemas(context.Context, *connect.Request[v19.GetSchemasRequest]) (*connect.Response[v19.GetSchemasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSchemas is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetSchemaMigrations(context.Context, *connect.Request[v19.GetSchemaMigrationsRequest]) (*connect.Response[v19.GetSchemaMigrationsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSchemaMigrations is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetShardReplicationPositions(context.Context, *connect.Request[v19.GetShardReplicationPositionsRequest]) (*connect.Response[v19.GetShardReplicationPositionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetShardReplicationPositions is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetSrvKeyspace(context.Context, *connect.Request[v19.GetSrvKeyspaceRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSrvKeyspace is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetSrvKeyspaces(context.Context, *connect.Request[v19.GetSrvKeyspacesRequest]) (*connect.Response[v19.GetSrvKeyspacesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSrvKeyspaces is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetSrvVSchema(context.Context, *connect.Request[v19.GetSrvVSchemaRequest]) (*connect.Response[v19.SrvVSchema], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSrvVSchema is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetSrvVSchemas(context.Context, *connect.Request[v19.GetSrvVSchemasRequest]) (*connect.Response[v19.GetSrvVSchemasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetSrvVSchemas is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetTablet(context.Context, *connect.Request[v19.GetTabletRequest]) (*connect.Response[v19.Tablet], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetTablet is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetTablets(context.Context, *connect.Request[v19.GetTabletsRequest]) (*connect.Response[v19.GetTabletsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetTablets is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetTopologyPath(context.Context, *connect.Request[v19.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetTopologyPath is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetVSchema(context.Context, *connect.Request[v19.GetVSchemaRequest]) (*connect.Response[v19.VSchema], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetVSchema is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetVSchemas(context.Context, *connect.Request[v19.GetVSchemasRequest]) (*connect.Response[v19.GetVSchemasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetVSchemas is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetVtctlds(context.Context, *connect.Request[v19.GetVtctldsRequest]) (*connect.Response[v19.GetVtctldsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetVtctlds is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetWorkflow(context.Context, *connect.Request[v19.GetWorkflowRequest]) (*connect.Response[v19.Workflow], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetWorkflow is not implemented")) +} + +func (UnimplementedVTAdminHandler) GetWorkflows(context.Context, *connect.Request[v19.GetWorkflowsRequest]) (*connect.Response[v19.GetWorkflowsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.GetWorkflows is not implemented")) +} + +func (UnimplementedVTAdminHandler) LaunchSchemaMigration(context.Context, *connect.Request[v19.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.LaunchSchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) PingTablet(context.Context, *connect.Request[v19.PingTabletRequest]) (*connect.Response[v19.PingTabletResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.PingTablet is not implemented")) +} + +func (UnimplementedVTAdminHandler) PlannedFailoverShard(context.Context, *connect.Request[v19.PlannedFailoverShardRequest]) (*connect.Response[v19.PlannedFailoverShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.PlannedFailoverShard is not implemented")) +} + +func (UnimplementedVTAdminHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v19.RebuildKeyspaceGraphRequest]) (*connect.Response[v19.RebuildKeyspaceGraphResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RebuildKeyspaceGraph is not implemented")) +} + +func (UnimplementedVTAdminHandler) RefreshState(context.Context, *connect.Request[v19.RefreshStateRequest]) (*connect.Response[v19.RefreshStateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RefreshState is not implemented")) +} + +func (UnimplementedVTAdminHandler) RefreshTabletReplicationSource(context.Context, *connect.Request[v19.RefreshTabletReplicationSourceRequest]) (*connect.Response[v19.RefreshTabletReplicationSourceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RefreshTabletReplicationSource is not implemented")) +} + +func (UnimplementedVTAdminHandler) ReloadSchemas(context.Context, *connect.Request[v19.ReloadSchemasRequest]) (*connect.Response[v19.ReloadSchemasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ReloadSchemas is not implemented")) +} + +func (UnimplementedVTAdminHandler) ReloadSchemaShard(context.Context, *connect.Request[v19.ReloadSchemaShardRequest]) (*connect.Response[v19.ReloadSchemaShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ReloadSchemaShard is not implemented")) +} + +func (UnimplementedVTAdminHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v19.RemoveKeyspaceCellRequest]) (*connect.Response[v19.RemoveKeyspaceCellResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RemoveKeyspaceCell is not implemented")) +} + +func (UnimplementedVTAdminHandler) RetrySchemaMigration(context.Context, *connect.Request[v19.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RetrySchemaMigration is not implemented")) +} + +func (UnimplementedVTAdminHandler) RunHealthCheck(context.Context, *connect.Request[v19.RunHealthCheckRequest]) (*connect.Response[v19.RunHealthCheckResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.RunHealthCheck is not implemented")) +} + +func (UnimplementedVTAdminHandler) SetReadOnly(context.Context, *connect.Request[v19.SetReadOnlyRequest]) (*connect.Response[v19.SetReadOnlyResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.SetReadOnly is not implemented")) +} + +func (UnimplementedVTAdminHandler) SetReadWrite(context.Context, *connect.Request[v19.SetReadWriteRequest]) (*connect.Response[v19.SetReadWriteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.SetReadWrite is not implemented")) +} + +func (UnimplementedVTAdminHandler) StartReplication(context.Context, *connect.Request[v19.StartReplicationRequest]) (*connect.Response[v19.StartReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.StartReplication is not implemented")) +} + +func (UnimplementedVTAdminHandler) StopReplication(context.Context, *connect.Request[v19.StopReplicationRequest]) (*connect.Response[v19.StopReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.StopReplication is not implemented")) +} + +func (UnimplementedVTAdminHandler) TabletExternallyPromoted(context.Context, *connect.Request[v19.TabletExternallyPromotedRequest]) (*connect.Response[v19.TabletExternallyPromotedResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.TabletExternallyPromoted is not implemented")) +} + +func (UnimplementedVTAdminHandler) Validate(context.Context, *connect.Request[v19.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.Validate is not implemented")) +} + +func (UnimplementedVTAdminHandler) ValidateKeyspace(context.Context, *connect.Request[v19.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ValidateKeyspace is not implemented")) +} + +func (UnimplementedVTAdminHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v19.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ValidateSchemaKeyspace is not implemented")) +} + +func (UnimplementedVTAdminHandler) ValidateShard(context.Context, *connect.Request[v19.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ValidateShard is not implemented")) +} + +func (UnimplementedVTAdminHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v19.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ValidateVersionKeyspace is not implemented")) +} + +func (UnimplementedVTAdminHandler) ValidateVersionShard(context.Context, *connect.Request[v19.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.ValidateVersionShard is not implemented")) +} + +func (UnimplementedVTAdminHandler) VTExplain(context.Context, *connect.Request[v19.VTExplainRequest]) (*connect.Response[v19.VTExplainResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtadmin.VTAdmin.VTExplain is not implemented")) +} diff --git a/gen/vitess/vtctldata/dev/vtctldata.pb.go b/gen/vitess/vtctldata/dev/vtctldata.pb.go index d5f41a4..f49f69f 100644 --- a/gen/vitess/vtctldata/dev/vtctldata.pb.go +++ b/gen/vitess/vtctldata/dev/vtctldata.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctldata/dev/vtctldata.proto @@ -150,6 +150,55 @@ func (QueryOrdering) EnumDescriptor() ([]byte, []int) { return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{1} } +type ShardedAutoIncrementHandling int32 + +const ( + ShardedAutoIncrementHandling_LEAVE ShardedAutoIncrementHandling = 0 + ShardedAutoIncrementHandling_REMOVE ShardedAutoIncrementHandling = 1 + ShardedAutoIncrementHandling_REPLACE ShardedAutoIncrementHandling = 2 +) + +// Enum value maps for ShardedAutoIncrementHandling. +var ( + ShardedAutoIncrementHandling_name = map[int32]string{ + 0: "LEAVE", + 1: "REMOVE", + 2: "REPLACE", + } + ShardedAutoIncrementHandling_value = map[string]int32{ + "LEAVE": 0, + "REMOVE": 1, + "REPLACE": 2, + } +) + +func (x ShardedAutoIncrementHandling) Enum() *ShardedAutoIncrementHandling { + p := new(ShardedAutoIncrementHandling) + *p = x + return p +} + +func (x ShardedAutoIncrementHandling) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ShardedAutoIncrementHandling) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[2].Descriptor() +} + +func (ShardedAutoIncrementHandling) Type() protoreflect.EnumType { + return &file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[2] +} + +func (x ShardedAutoIncrementHandling) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ShardedAutoIncrementHandling.Descriptor instead. +func (ShardedAutoIncrementHandling) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{2} +} + type SchemaMigration_Strategy int32 const ( @@ -200,11 +249,11 @@ func (x SchemaMigration_Strategy) String() string { } func (SchemaMigration_Strategy) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[2].Descriptor() + return file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[3].Descriptor() } func (SchemaMigration_Strategy) Type() protoreflect.EnumType { - return &file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[2] + return &file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[3] } func (x SchemaMigration_Strategy) Number() protoreflect.EnumNumber { @@ -264,11 +313,11 @@ func (x SchemaMigration_Status) String() string { } func (SchemaMigration_Status) Descriptor() protoreflect.EnumDescriptor { - return file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[3].Descriptor() + return file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[4].Descriptor() } func (SchemaMigration_Status) Type() protoreflect.EnumType { - return &file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[3] + return &file_vitess_vtctldata_dev_vtctldata_proto_enumTypes[4] } func (x SchemaMigration_Status) Number() protoreflect.EnumNumber { @@ -486,6 +535,9 @@ type MaterializeSettings struct { DeferSecondaryKeys bool `protobuf:"varint,14,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,15,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` AtomicCopy bool `protobuf:"varint,16,opt,name=atomic_copy,json=atomicCopy,proto3" json:"atomic_copy,omitempty"` + WorkflowOptions *WorkflowOptions `protobuf:"bytes,17,opt,name=workflow_options,json=workflowOptions,proto3" json:"workflow_options,omitempty"` + // ReferenceTables is set to a csv list of tables, if the materialization is for reference tables. + ReferenceTables []string `protobuf:"bytes,18,rep,name=reference_tables,json=referenceTables,proto3" json:"reference_tables,omitempty"` } func (x *MaterializeSettings) Reset() { @@ -632,6 +684,20 @@ func (x *MaterializeSettings) GetAtomicCopy() bool { return false } +func (x *MaterializeSettings) GetWorkflowOptions() *WorkflowOptions { + if x != nil { + return x.WorkflowOptions + } + return nil +} + +func (x *MaterializeSettings) GetReferenceTables() []string { + if x != nil { + return x.ReferenceTables + } + return nil +} + type Keyspace struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1222,6 +1288,92 @@ func (x *Shard) GetShard() *dev2.Shard { return nil } +type WorkflowOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` + // Remove auto_increment clauses on tables when moving them to a sharded + // keyspace and optionally replace them with vschema AutoIncrement + // definitions. + ShardedAutoIncrementHandling ShardedAutoIncrementHandling `protobuf:"varint,2,opt,name=sharded_auto_increment_handling,json=shardedAutoIncrementHandling,proto3,enum=vitess.vtctldata.dev.ShardedAutoIncrementHandling" json:"sharded_auto_increment_handling,omitempty"` + // Shards on which vreplication streams in the target keyspace are created for this workflow and to which the data + // from the source will be vreplicated. + Shards []string `protobuf:"bytes,3,rep,name=shards,proto3" json:"shards,omitempty"` + Config map[string]string `protobuf:"bytes,4,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Where to create any related schema and vschema objects such as + // sequence tables. + GlobalKeyspace string `protobuf:"bytes,5,opt,name=global_keyspace,json=globalKeyspace,proto3" json:"global_keyspace,omitempty"` +} + +func (x *WorkflowOptions) Reset() { + *x = WorkflowOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowOptions) ProtoMessage() {} + +func (x *WorkflowOptions) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowOptions.ProtoReflect.Descriptor instead. +func (*WorkflowOptions) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7} +} + +func (x *WorkflowOptions) GetTenantId() string { + if x != nil { + return x.TenantId + } + return "" +} + +func (x *WorkflowOptions) GetShardedAutoIncrementHandling() ShardedAutoIncrementHandling { + if x != nil { + return x.ShardedAutoIncrementHandling + } + return ShardedAutoIncrementHandling_LEAVE +} + +func (x *WorkflowOptions) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +func (x *WorkflowOptions) GetConfig() map[string]string { + if x != nil { + return x.Config + } + return nil +} + +func (x *WorkflowOptions) GetGlobalKeyspace() string { + if x != nil { + return x.GlobalKeyspace + } + return "" +} + // TODO: comment the hell out of this. type Workflow struct { state protoimpl.MessageState @@ -1243,12 +1395,15 @@ type Workflow struct { MaxVReplicationTransactionLag int64 `protobuf:"varint,8,opt,name=max_v_replication_transaction_lag,json=maxVReplicationTransactionLag,proto3" json:"max_v_replication_transaction_lag,omitempty"` // This specifies whether to defer the creation of secondary keys. DeferSecondaryKeys bool `protobuf:"varint,9,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // These are additional (optional) settings for vreplication workflows. Previously we used to add it to the + // binlogdata.BinlogSource proto object. More details in go/vt/sidecardb/schema/vreplication.sql. + Options *WorkflowOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` } func (x *Workflow) Reset() { *x = Workflow{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[7] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1261,7 +1416,7 @@ func (x *Workflow) String() string { func (*Workflow) ProtoMessage() {} func (x *Workflow) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[7] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1274,7 +1429,7 @@ func (x *Workflow) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow.ProtoReflect.Descriptor instead. func (*Workflow) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8} } func (x *Workflow) GetName() string { @@ -1340,6 +1495,13 @@ func (x *Workflow) GetDeferSecondaryKeys() bool { return false } +func (x *Workflow) GetOptions() *WorkflowOptions { + if x != nil { + return x.Options + } + return nil +} + type AddCellInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1352,7 +1514,7 @@ type AddCellInfoRequest struct { func (x *AddCellInfoRequest) Reset() { *x = AddCellInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[8] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1365,7 +1527,7 @@ func (x *AddCellInfoRequest) String() string { func (*AddCellInfoRequest) ProtoMessage() {} func (x *AddCellInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[8] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1378,7 +1540,7 @@ func (x *AddCellInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddCellInfoRequest.ProtoReflect.Descriptor instead. func (*AddCellInfoRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{9} } func (x *AddCellInfoRequest) GetName() string { @@ -1404,7 +1566,7 @@ type AddCellInfoResponse struct { func (x *AddCellInfoResponse) Reset() { *x = AddCellInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[9] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1417,7 +1579,7 @@ func (x *AddCellInfoResponse) String() string { func (*AddCellInfoResponse) ProtoMessage() {} func (x *AddCellInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[9] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1430,7 +1592,7 @@ func (x *AddCellInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddCellInfoResponse.ProtoReflect.Descriptor instead. func (*AddCellInfoResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{9} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{10} } type AddCellsAliasRequest struct { @@ -1445,7 +1607,7 @@ type AddCellsAliasRequest struct { func (x *AddCellsAliasRequest) Reset() { *x = AddCellsAliasRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[10] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1458,7 +1620,7 @@ func (x *AddCellsAliasRequest) String() string { func (*AddCellsAliasRequest) ProtoMessage() {} func (x *AddCellsAliasRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[10] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1471,7 +1633,7 @@ func (x *AddCellsAliasRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddCellsAliasRequest.ProtoReflect.Descriptor instead. func (*AddCellsAliasRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{10} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{11} } func (x *AddCellsAliasRequest) GetName() string { @@ -1497,7 +1659,7 @@ type AddCellsAliasResponse struct { func (x *AddCellsAliasResponse) Reset() { *x = AddCellsAliasResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[11] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1510,7 +1672,7 @@ func (x *AddCellsAliasResponse) String() string { func (*AddCellsAliasResponse) ProtoMessage() {} func (x *AddCellsAliasResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[11] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1523,7 +1685,124 @@ func (x *AddCellsAliasResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddCellsAliasResponse.ProtoReflect.Descriptor instead. func (*AddCellsAliasResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{11} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{12} +} + +type ApplyKeyspaceRoutingRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyspaceRoutingRules *dev4.KeyspaceRoutingRules `protobuf:"bytes,1,opt,name=keyspace_routing_rules,json=keyspaceRoutingRules,proto3" json:"keyspace_routing_rules,omitempty"` + // SkipRebuild, if set, will cause ApplyKeyspaceRoutingRules to skip rebuilding the + // SrvVSchema objects in each cell in RebuildCells. + SkipRebuild bool `protobuf:"varint,2,opt,name=skip_rebuild,json=skipRebuild,proto3" json:"skip_rebuild,omitempty"` + // RebuildCells limits the SrvVSchema rebuild to the specified cells. If not + // provided the SrvVSchema will be rebuilt in every cell in the topology. + // + // Ignored if SkipRebuild is set. + RebuildCells []string `protobuf:"bytes,3,rep,name=rebuild_cells,json=rebuildCells,proto3" json:"rebuild_cells,omitempty"` +} + +func (x *ApplyKeyspaceRoutingRulesRequest) Reset() { + *x = ApplyKeyspaceRoutingRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyKeyspaceRoutingRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyKeyspaceRoutingRulesRequest) ProtoMessage() {} + +func (x *ApplyKeyspaceRoutingRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyKeyspaceRoutingRulesRequest.ProtoReflect.Descriptor instead. +func (*ApplyKeyspaceRoutingRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{13} +} + +func (x *ApplyKeyspaceRoutingRulesRequest) GetKeyspaceRoutingRules() *dev4.KeyspaceRoutingRules { + if x != nil { + return x.KeyspaceRoutingRules + } + return nil +} + +func (x *ApplyKeyspaceRoutingRulesRequest) GetSkipRebuild() bool { + if x != nil { + return x.SkipRebuild + } + return false +} + +func (x *ApplyKeyspaceRoutingRulesRequest) GetRebuildCells() []string { + if x != nil { + return x.RebuildCells + } + return nil +} + +type ApplyKeyspaceRoutingRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // KeyspaceRoutingRules returns the current set of rules. + KeyspaceRoutingRules *dev4.KeyspaceRoutingRules `protobuf:"bytes,1,opt,name=keyspace_routing_rules,json=keyspaceRoutingRules,proto3" json:"keyspace_routing_rules,omitempty"` +} + +func (x *ApplyKeyspaceRoutingRulesResponse) Reset() { + *x = ApplyKeyspaceRoutingRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyKeyspaceRoutingRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyKeyspaceRoutingRulesResponse) ProtoMessage() {} + +func (x *ApplyKeyspaceRoutingRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyKeyspaceRoutingRulesResponse.ProtoReflect.Descriptor instead. +func (*ApplyKeyspaceRoutingRulesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{14} +} + +func (x *ApplyKeyspaceRoutingRulesResponse) GetKeyspaceRoutingRules() *dev4.KeyspaceRoutingRules { + if x != nil { + return x.KeyspaceRoutingRules + } + return nil } type ApplyRoutingRulesRequest struct { @@ -1545,7 +1824,7 @@ type ApplyRoutingRulesRequest struct { func (x *ApplyRoutingRulesRequest) Reset() { *x = ApplyRoutingRulesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[12] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1558,7 +1837,7 @@ func (x *ApplyRoutingRulesRequest) String() string { func (*ApplyRoutingRulesRequest) ProtoMessage() {} func (x *ApplyRoutingRulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[12] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1571,7 +1850,7 @@ func (x *ApplyRoutingRulesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyRoutingRulesRequest.ProtoReflect.Descriptor instead. func (*ApplyRoutingRulesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{12} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{15} } func (x *ApplyRoutingRulesRequest) GetRoutingRules() *dev4.RoutingRules { @@ -1604,7 +1883,7 @@ type ApplyRoutingRulesResponse struct { func (x *ApplyRoutingRulesResponse) Reset() { *x = ApplyRoutingRulesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[13] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1617,7 +1896,7 @@ func (x *ApplyRoutingRulesResponse) String() string { func (*ApplyRoutingRulesResponse) ProtoMessage() {} func (x *ApplyRoutingRulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[13] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1630,7 +1909,7 @@ func (x *ApplyRoutingRulesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyRoutingRulesResponse.ProtoReflect.Descriptor instead. func (*ApplyRoutingRulesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{13} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{16} } type ApplyShardRoutingRulesRequest struct { @@ -1652,7 +1931,7 @@ type ApplyShardRoutingRulesRequest struct { func (x *ApplyShardRoutingRulesRequest) Reset() { *x = ApplyShardRoutingRulesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[14] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1665,7 +1944,7 @@ func (x *ApplyShardRoutingRulesRequest) String() string { func (*ApplyShardRoutingRulesRequest) ProtoMessage() {} func (x *ApplyShardRoutingRulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[14] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1678,7 +1957,7 @@ func (x *ApplyShardRoutingRulesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyShardRoutingRulesRequest.ProtoReflect.Descriptor instead. func (*ApplyShardRoutingRulesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{14} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{17} } func (x *ApplyShardRoutingRulesRequest) GetShardRoutingRules() *dev4.ShardRoutingRules { @@ -1711,7 +1990,7 @@ type ApplyShardRoutingRulesResponse struct { func (x *ApplyShardRoutingRulesResponse) Reset() { *x = ApplyShardRoutingRulesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[15] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1724,7 +2003,7 @@ func (x *ApplyShardRoutingRulesResponse) String() string { func (*ApplyShardRoutingRulesResponse) ProtoMessage() {} func (x *ApplyShardRoutingRulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[15] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1737,7 +2016,7 @@ func (x *ApplyShardRoutingRulesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyShardRoutingRulesResponse.ProtoReflect.Descriptor instead. func (*ApplyShardRoutingRulesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{15} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{18} } type ApplySchemaRequest struct { @@ -1769,7 +2048,7 @@ type ApplySchemaRequest struct { func (x *ApplySchemaRequest) Reset() { *x = ApplySchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[16] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1782,7 +2061,7 @@ func (x *ApplySchemaRequest) String() string { func (*ApplySchemaRequest) ProtoMessage() {} func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[16] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1795,7 +2074,7 @@ func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplySchemaRequest.ProtoReflect.Descriptor instead. func (*ApplySchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{16} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{19} } func (x *ApplySchemaRequest) GetKeyspace() string { @@ -1866,7 +2145,7 @@ type ApplySchemaResponse struct { func (x *ApplySchemaResponse) Reset() { *x = ApplySchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[17] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1879,7 +2158,7 @@ func (x *ApplySchemaResponse) String() string { func (*ApplySchemaResponse) ProtoMessage() {} func (x *ApplySchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[17] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1892,7 +2171,7 @@ func (x *ApplySchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplySchemaResponse.ProtoReflect.Descriptor instead. func (*ApplySchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{17} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{20} } func (x *ApplySchemaResponse) GetUuidList() []string { @@ -1920,12 +2199,14 @@ type ApplyVSchemaRequest struct { Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` VSchema *dev4.Keyspace `protobuf:"bytes,5,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` Sql string `protobuf:"bytes,6,opt,name=sql,proto3" json:"sql,omitempty"` + // Strict returns an error if there are unknown vindex params. + Strict bool `protobuf:"varint,7,opt,name=strict,proto3" json:"strict,omitempty"` } func (x *ApplyVSchemaRequest) Reset() { *x = ApplyVSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[18] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1938,7 +2219,7 @@ func (x *ApplyVSchemaRequest) String() string { func (*ApplyVSchemaRequest) ProtoMessage() {} func (x *ApplyVSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[18] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1951,7 +2232,7 @@ func (x *ApplyVSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyVSchemaRequest.ProtoReflect.Descriptor instead. func (*ApplyVSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{18} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{21} } func (x *ApplyVSchemaRequest) GetKeyspace() string { @@ -1996,18 +2277,34 @@ func (x *ApplyVSchemaRequest) GetSql() string { return "" } +func (x *ApplyVSchemaRequest) GetStrict() bool { + if x != nil { + return x.Strict + } + return false +} + type ApplyVSchemaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields VSchema *dev4.Keyspace `protobuf:"bytes,1,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` + // UnknownVindexParams is a map of vindex name to params that were not recognized by the vindex + // type. E.g.: + // + // { + // "lookup_vdx": { + // "params": ["raed_lock", "not_verify"] + // } + // } + UnknownVindexParams map[string]*ApplyVSchemaResponse_ParamList `protobuf:"bytes,2,rep,name=unknown_vindex_params,json=unknownVindexParams,proto3" json:"unknown_vindex_params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *ApplyVSchemaResponse) Reset() { *x = ApplyVSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[19] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2020,7 +2317,7 @@ func (x *ApplyVSchemaResponse) String() string { func (*ApplyVSchemaResponse) ProtoMessage() {} func (x *ApplyVSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[19] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2033,7 +2330,7 @@ func (x *ApplyVSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyVSchemaResponse.ProtoReflect.Descriptor instead. func (*ApplyVSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{19} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{22} } func (x *ApplyVSchemaResponse) GetVSchema() *dev4.Keyspace { @@ -2043,6 +2340,13 @@ func (x *ApplyVSchemaResponse) GetVSchema() *dev4.Keyspace { return nil } +func (x *ApplyVSchemaResponse) GetUnknownVindexParams() map[string]*ApplyVSchemaResponse_ParamList { + if x != nil { + return x.UnknownVindexParams + } + return nil +} + type BackupRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2056,19 +2360,21 @@ type BackupRequest struct { AllowPrimary bool `protobuf:"varint,2,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` // Concurrency specifies the number of compression/checksum jobs to run // simultaneously. - Concurrency uint64 `protobuf:"varint,3,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + Concurrency int32 `protobuf:"varint,3,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty // then the backup becomes incremental and applies as of given position. IncrementalFromPos string `protobuf:"bytes,4,opt,name=incremental_from_pos,json=incrementalFromPos,proto3" json:"incremental_from_pos,omitempty"` // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 // so that it's a backup that can be used for an upgrade. UpgradeSafe bool `protobuf:"varint,5,opt,name=upgrade_safe,json=upgradeSafe,proto3" json:"upgrade_safe,omitempty"` + // BackupEngine specifies if we want to use a particular backup engine for this backup request + BackupEngine *string `protobuf:"bytes,6,opt,name=backup_engine,json=backupEngine,proto3,oneof" json:"backup_engine,omitempty"` } func (x *BackupRequest) Reset() { *x = BackupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[20] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2081,7 +2387,7 @@ func (x *BackupRequest) String() string { func (*BackupRequest) ProtoMessage() {} func (x *BackupRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[20] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2094,7 +2400,7 @@ func (x *BackupRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BackupRequest.ProtoReflect.Descriptor instead. func (*BackupRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{20} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{23} } func (x *BackupRequest) GetTabletAlias() *dev2.TabletAlias { @@ -2111,7 +2417,7 @@ func (x *BackupRequest) GetAllowPrimary() bool { return false } -func (x *BackupRequest) GetConcurrency() uint64 { +func (x *BackupRequest) GetConcurrency() int32 { if x != nil { return x.Concurrency } @@ -2132,6 +2438,13 @@ func (x *BackupRequest) GetUpgradeSafe() bool { return false } +func (x *BackupRequest) GetBackupEngine() string { + if x != nil && x.BackupEngine != nil { + return *x.BackupEngine + } + return "" +} + type BackupResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2147,7 +2460,7 @@ type BackupResponse struct { func (x *BackupResponse) Reset() { *x = BackupResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[21] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2160,7 +2473,7 @@ func (x *BackupResponse) String() string { func (*BackupResponse) ProtoMessage() {} func (x *BackupResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[21] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2173,7 +2486,7 @@ func (x *BackupResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BackupResponse.ProtoReflect.Descriptor instead. func (*BackupResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{21} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{24} } func (x *BackupResponse) GetTabletAlias() *dev2.TabletAlias { @@ -2216,7 +2529,7 @@ type BackupShardRequest struct { AllowPrimary bool `protobuf:"varint,3,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` // Concurrency specifies the number of compression/checksum jobs to run // simultaneously. - Concurrency uint64 `protobuf:"varint,4,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + Concurrency int32 `protobuf:"varint,4,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 // so that it's a backup that can be used for an upgrade. UpgradeSafe bool `protobuf:"varint,5,opt,name=upgrade_safe,json=upgradeSafe,proto3" json:"upgrade_safe,omitempty"` @@ -2228,7 +2541,7 @@ type BackupShardRequest struct { func (x *BackupShardRequest) Reset() { *x = BackupShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[22] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2241,7 +2554,7 @@ func (x *BackupShardRequest) String() string { func (*BackupShardRequest) ProtoMessage() {} func (x *BackupShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[22] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2254,7 +2567,7 @@ func (x *BackupShardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BackupShardRequest.ProtoReflect.Descriptor instead. func (*BackupShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{22} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{25} } func (x *BackupShardRequest) GetKeyspace() string { @@ -2278,7 +2591,7 @@ func (x *BackupShardRequest) GetAllowPrimary() bool { return false } -func (x *BackupShardRequest) GetConcurrency() uint64 { +func (x *BackupShardRequest) GetConcurrency() int32 { if x != nil { return x.Concurrency } @@ -2311,7 +2624,7 @@ type CancelSchemaMigrationRequest struct { func (x *CancelSchemaMigrationRequest) Reset() { *x = CancelSchemaMigrationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[23] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2324,7 +2637,7 @@ func (x *CancelSchemaMigrationRequest) String() string { func (*CancelSchemaMigrationRequest) ProtoMessage() {} func (x *CancelSchemaMigrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[23] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2337,7 +2650,7 @@ func (x *CancelSchemaMigrationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelSchemaMigrationRequest.ProtoReflect.Descriptor instead. func (*CancelSchemaMigrationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{23} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{26} } func (x *CancelSchemaMigrationRequest) GetKeyspace() string { @@ -2365,7 +2678,7 @@ type CancelSchemaMigrationResponse struct { func (x *CancelSchemaMigrationResponse) Reset() { *x = CancelSchemaMigrationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[24] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2378,7 +2691,7 @@ func (x *CancelSchemaMigrationResponse) String() string { func (*CancelSchemaMigrationResponse) ProtoMessage() {} func (x *CancelSchemaMigrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[24] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2391,7 +2704,7 @@ func (x *CancelSchemaMigrationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelSchemaMigrationResponse.ProtoReflect.Descriptor instead. func (*CancelSchemaMigrationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{24} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{27} } func (x *CancelSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { @@ -2401,6 +2714,124 @@ func (x *CancelSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint return nil } +type ChangeTabletTagsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Tags map[string]string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Replace bool `protobuf:"varint,3,opt,name=replace,proto3" json:"replace,omitempty"` +} + +func (x *ChangeTabletTagsRequest) Reset() { + *x = ChangeTabletTagsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTabletTagsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTabletTagsRequest) ProtoMessage() {} + +func (x *ChangeTabletTagsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTabletTagsRequest.ProtoReflect.Descriptor instead. +func (*ChangeTabletTagsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{28} +} + +func (x *ChangeTabletTagsRequest) GetTabletAlias() *dev2.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ChangeTabletTagsRequest) GetTags() map[string]string { + if x != nil { + return x.Tags + } + return nil +} + +func (x *ChangeTabletTagsRequest) GetReplace() bool { + if x != nil { + return x.Replace + } + return false +} + +type ChangeTabletTagsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BeforeTags map[string]string `protobuf:"bytes,1,rep,name=before_tags,json=beforeTags,proto3" json:"before_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AfterTags map[string]string `protobuf:"bytes,2,rep,name=after_tags,json=afterTags,proto3" json:"after_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ChangeTabletTagsResponse) Reset() { + *x = ChangeTabletTagsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTabletTagsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTabletTagsResponse) ProtoMessage() {} + +func (x *ChangeTabletTagsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTabletTagsResponse.ProtoReflect.Descriptor instead. +func (*ChangeTabletTagsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{29} +} + +func (x *ChangeTabletTagsResponse) GetBeforeTags() map[string]string { + if x != nil { + return x.BeforeTags + } + return nil +} + +func (x *ChangeTabletTagsResponse) GetAfterTags() map[string]string { + if x != nil { + return x.AfterTags + } + return nil +} + type ChangeTabletTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2414,7 +2845,7 @@ type ChangeTabletTypeRequest struct { func (x *ChangeTabletTypeRequest) Reset() { *x = ChangeTabletTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[25] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2427,7 +2858,7 @@ func (x *ChangeTabletTypeRequest) String() string { func (*ChangeTabletTypeRequest) ProtoMessage() {} func (x *ChangeTabletTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[25] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2440,7 +2871,7 @@ func (x *ChangeTabletTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeTabletTypeRequest.ProtoReflect.Descriptor instead. func (*ChangeTabletTypeRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{25} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{30} } func (x *ChangeTabletTypeRequest) GetTabletAlias() *dev2.TabletAlias { @@ -2477,7 +2908,7 @@ type ChangeTabletTypeResponse struct { func (x *ChangeTabletTypeResponse) Reset() { *x = ChangeTabletTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[26] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2490,7 +2921,7 @@ func (x *ChangeTabletTypeResponse) String() string { func (*ChangeTabletTypeResponse) ProtoMessage() {} func (x *ChangeTabletTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[26] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2503,7 +2934,7 @@ func (x *ChangeTabletTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeTabletTypeResponse.ProtoReflect.Descriptor instead. func (*ChangeTabletTypeResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{26} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{31} } func (x *ChangeTabletTypeResponse) GetBeforeTablet() *dev2.Tablet { @@ -2527,32 +2958,37 @@ func (x *ChangeTabletTypeResponse) GetWasDryRun() bool { return false } -type CleanupSchemaMigrationRequest struct { +type CheckThrottlerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + AppName string `protobuf:"bytes,2,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` + Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` + // SkipRequestHeartbeats ensures this check does not renew heartbeat lease + SkipRequestHeartbeats bool `protobuf:"varint,4,opt,name=skip_request_heartbeats,json=skipRequestHeartbeats,proto3" json:"skip_request_heartbeats,omitempty"` + // OKIfNotExists asks the throttler to return OK even if the metric does not exist + OkIfNotExists bool `protobuf:"varint,5,opt,name=ok_if_not_exists,json=okIfNotExists,proto3" json:"ok_if_not_exists,omitempty"` } -func (x *CleanupSchemaMigrationRequest) Reset() { - *x = CleanupSchemaMigrationRequest{} +func (x *CheckThrottlerRequest) Reset() { + *x = CheckThrottlerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[27] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CleanupSchemaMigrationRequest) String() string { +func (x *CheckThrottlerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CleanupSchemaMigrationRequest) ProtoMessage() {} +func (*CheckThrottlerRequest) ProtoMessage() {} -func (x *CleanupSchemaMigrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[27] +func (x *CheckThrottlerRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2563,50 +2999,72 @@ func (x *CleanupSchemaMigrationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CleanupSchemaMigrationRequest.ProtoReflect.Descriptor instead. -func (*CleanupSchemaMigrationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{27} +// Deprecated: Use CheckThrottlerRequest.ProtoReflect.Descriptor instead. +func (*CheckThrottlerRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{32} } -func (x *CleanupSchemaMigrationRequest) GetKeyspace() string { +func (x *CheckThrottlerRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.Keyspace + return x.TabletAlias + } + return nil +} + +func (x *CheckThrottlerRequest) GetAppName() string { + if x != nil { + return x.AppName } return "" } -func (x *CleanupSchemaMigrationRequest) GetUuid() string { +func (x *CheckThrottlerRequest) GetScope() string { if x != nil { - return x.Uuid + return x.Scope } return "" } -type CleanupSchemaMigrationResponse struct { +func (x *CheckThrottlerRequest) GetSkipRequestHeartbeats() bool { + if x != nil { + return x.SkipRequestHeartbeats + } + return false +} + +func (x *CheckThrottlerRequest) GetOkIfNotExists() bool { + if x != nil { + return x.OkIfNotExists + } + return false +} + +type CheckThrottlerResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Check *dev1.CheckThrottlerResponse `protobuf:"bytes,2,opt,name=Check,proto3" json:"Check,omitempty"` } -func (x *CleanupSchemaMigrationResponse) Reset() { - *x = CleanupSchemaMigrationResponse{} +func (x *CheckThrottlerResponse) Reset() { + *x = CheckThrottlerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[28] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CleanupSchemaMigrationResponse) String() string { +func (x *CheckThrottlerResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CleanupSchemaMigrationResponse) ProtoMessage() {} +func (*CheckThrottlerResponse) ProtoMessage() {} -func (x *CleanupSchemaMigrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[28] +func (x *CheckThrottlerResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2617,19 +3075,26 @@ func (x *CleanupSchemaMigrationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CleanupSchemaMigrationResponse.ProtoReflect.Descriptor instead. -func (*CleanupSchemaMigrationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{28} +// Deprecated: Use CheckThrottlerResponse.ProtoReflect.Descriptor instead. +func (*CheckThrottlerResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{33} } -func (x *CleanupSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { +func (x *CheckThrottlerResponse) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.RowsAffectedByShard + return x.TabletAlias } return nil } -type CompleteSchemaMigrationRequest struct { +func (x *CheckThrottlerResponse) GetCheck() *dev1.CheckThrottlerResponse { + if x != nil { + return x.Check + } + return nil +} + +type CleanupSchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2638,23 +3103,23 @@ type CompleteSchemaMigrationRequest struct { Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` } -func (x *CompleteSchemaMigrationRequest) Reset() { - *x = CompleteSchemaMigrationRequest{} +func (x *CleanupSchemaMigrationRequest) Reset() { + *x = CleanupSchemaMigrationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[29] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CompleteSchemaMigrationRequest) String() string { +func (x *CleanupSchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CompleteSchemaMigrationRequest) ProtoMessage() {} +func (*CleanupSchemaMigrationRequest) ProtoMessage() {} -func (x *CompleteSchemaMigrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[29] +func (x *CleanupSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2665,26 +3130,26 @@ func (x *CompleteSchemaMigrationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CompleteSchemaMigrationRequest.ProtoReflect.Descriptor instead. -func (*CompleteSchemaMigrationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{29} +// Deprecated: Use CleanupSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CleanupSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{34} } -func (x *CompleteSchemaMigrationRequest) GetKeyspace() string { +func (x *CleanupSchemaMigrationRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *CompleteSchemaMigrationRequest) GetUuid() string { +func (x *CleanupSchemaMigrationRequest) GetUuid() string { if x != nil { return x.Uuid } return "" } -type CompleteSchemaMigrationResponse struct { +type CleanupSchemaMigrationResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2692,10 +3157,112 @@ type CompleteSchemaMigrationResponse struct { RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (x *CompleteSchemaMigrationResponse) Reset() { - *x = CompleteSchemaMigrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[30] +func (x *CleanupSchemaMigrationResponse) Reset() { + *x = CleanupSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CleanupSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CleanupSchemaMigrationResponse) ProtoMessage() {} + +func (x *CleanupSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CleanupSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*CleanupSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{35} +} + +func (x *CleanupSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type CompleteSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *CompleteSchemaMigrationRequest) Reset() { + *x = CompleteSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompleteSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompleteSchemaMigrationRequest) ProtoMessage() {} + +func (x *CompleteSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompleteSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CompleteSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{36} +} + +func (x *CompleteSchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *CompleteSchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type CompleteSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *CompleteSchemaMigrationResponse) Reset() { + *x = CompleteSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2708,7 +3275,7 @@ func (x *CompleteSchemaMigrationResponse) String() string { func (*CompleteSchemaMigrationResponse) ProtoMessage() {} func (x *CompleteSchemaMigrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[30] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2721,7 +3288,7 @@ func (x *CompleteSchemaMigrationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CompleteSchemaMigrationResponse.ProtoReflect.Descriptor instead. func (*CompleteSchemaMigrationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{30} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{37} } func (x *CompleteSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { @@ -2742,9 +3309,6 @@ type CreateKeyspaceRequest struct { Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // AllowEmptyVSchema allows a keyspace to be created with no vschema. AllowEmptyVSchema bool `protobuf:"varint,3,opt,name=allow_empty_v_schema,json=allowEmptyVSchema,proto3" json:"allow_empty_v_schema,omitempty"` - // ServedFroms specifies a set of db_type:keyspace pairs used to serve - // traffic for the keyspace. - ServedFroms []*dev2.Keyspace_ServedFrom `protobuf:"bytes,6,rep,name=served_froms,json=servedFroms,proto3" json:"served_froms,omitempty"` // Type is the type of the keyspace to create. Type dev2.KeyspaceType `protobuf:"varint,7,opt,name=type,proto3,enum=vitess.topodata.dev.KeyspaceType" json:"type,omitempty"` // BaseKeyspace specifies the base keyspace for SNAPSHOT keyspaces. It is @@ -2764,7 +3328,7 @@ type CreateKeyspaceRequest struct { func (x *CreateKeyspaceRequest) Reset() { *x = CreateKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[31] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2777,7 +3341,7 @@ func (x *CreateKeyspaceRequest) String() string { func (*CreateKeyspaceRequest) ProtoMessage() {} func (x *CreateKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[31] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2790,7 +3354,7 @@ func (x *CreateKeyspaceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyspaceRequest.ProtoReflect.Descriptor instead. func (*CreateKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{31} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{38} } func (x *CreateKeyspaceRequest) GetName() string { @@ -2814,13 +3378,6 @@ func (x *CreateKeyspaceRequest) GetAllowEmptyVSchema() bool { return false } -func (x *CreateKeyspaceRequest) GetServedFroms() []*dev2.Keyspace_ServedFrom { - if x != nil { - return x.ServedFroms - } - return nil -} - func (x *CreateKeyspaceRequest) GetType() dev2.KeyspaceType { if x != nil { return x.Type @@ -2868,7 +3425,7 @@ type CreateKeyspaceResponse struct { func (x *CreateKeyspaceResponse) Reset() { *x = CreateKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[32] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2881,7 +3438,7 @@ func (x *CreateKeyspaceResponse) String() string { func (*CreateKeyspaceResponse) ProtoMessage() {} func (x *CreateKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[32] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2894,7 +3451,7 @@ func (x *CreateKeyspaceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyspaceResponse.ProtoReflect.Descriptor instead. func (*CreateKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{32} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{39} } func (x *CreateKeyspaceResponse) GetKeyspace() *Keyspace { @@ -2924,7 +3481,7 @@ type CreateShardRequest struct { func (x *CreateShardRequest) Reset() { *x = CreateShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[33] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2937,7 +3494,7 @@ func (x *CreateShardRequest) String() string { func (*CreateShardRequest) ProtoMessage() {} func (x *CreateShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[33] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2950,7 +3507,7 @@ func (x *CreateShardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateShardRequest.ProtoReflect.Descriptor instead. func (*CreateShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{33} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{40} } func (x *CreateShardRequest) GetKeyspace() string { @@ -2999,7 +3556,7 @@ type CreateShardResponse struct { func (x *CreateShardResponse) Reset() { *x = CreateShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[34] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3012,7 +3569,7 @@ func (x *CreateShardResponse) String() string { func (*CreateShardResponse) ProtoMessage() {} func (x *CreateShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[34] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3025,7 +3582,7 @@ func (x *CreateShardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateShardResponse.ProtoReflect.Descriptor instead. func (*CreateShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{34} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{41} } func (x *CreateShardResponse) GetKeyspace() *Keyspace { @@ -3061,7 +3618,7 @@ type DeleteCellInfoRequest struct { func (x *DeleteCellInfoRequest) Reset() { *x = DeleteCellInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[35] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3074,7 +3631,7 @@ func (x *DeleteCellInfoRequest) String() string { func (*DeleteCellInfoRequest) ProtoMessage() {} func (x *DeleteCellInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[35] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3087,7 +3644,7 @@ func (x *DeleteCellInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteCellInfoRequest.ProtoReflect.Descriptor instead. func (*DeleteCellInfoRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{35} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{42} } func (x *DeleteCellInfoRequest) GetName() string { @@ -3113,7 +3670,7 @@ type DeleteCellInfoResponse struct { func (x *DeleteCellInfoResponse) Reset() { *x = DeleteCellInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[36] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3126,7 +3683,7 @@ func (x *DeleteCellInfoResponse) String() string { func (*DeleteCellInfoResponse) ProtoMessage() {} func (x *DeleteCellInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[36] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3139,7 +3696,7 @@ func (x *DeleteCellInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteCellInfoResponse.ProtoReflect.Descriptor instead. func (*DeleteCellInfoResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{36} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{43} } type DeleteCellsAliasRequest struct { @@ -3153,7 +3710,7 @@ type DeleteCellsAliasRequest struct { func (x *DeleteCellsAliasRequest) Reset() { *x = DeleteCellsAliasRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[37] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3166,7 +3723,7 @@ func (x *DeleteCellsAliasRequest) String() string { func (*DeleteCellsAliasRequest) ProtoMessage() {} func (x *DeleteCellsAliasRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[37] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3179,7 +3736,7 @@ func (x *DeleteCellsAliasRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteCellsAliasRequest.ProtoReflect.Descriptor instead. func (*DeleteCellsAliasRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{37} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{44} } func (x *DeleteCellsAliasRequest) GetName() string { @@ -3198,7 +3755,7 @@ type DeleteCellsAliasResponse struct { func (x *DeleteCellsAliasResponse) Reset() { *x = DeleteCellsAliasResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[38] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3211,7 +3768,7 @@ func (x *DeleteCellsAliasResponse) String() string { func (*DeleteCellsAliasResponse) ProtoMessage() {} func (x *DeleteCellsAliasResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[38] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3224,7 +3781,7 @@ func (x *DeleteCellsAliasResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteCellsAliasResponse.ProtoReflect.Descriptor instead. func (*DeleteCellsAliasResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{38} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{45} } type DeleteKeyspaceRequest struct { @@ -3246,7 +3803,7 @@ type DeleteKeyspaceRequest struct { func (x *DeleteKeyspaceRequest) Reset() { *x = DeleteKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[39] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3259,7 +3816,7 @@ func (x *DeleteKeyspaceRequest) String() string { func (*DeleteKeyspaceRequest) ProtoMessage() {} func (x *DeleteKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[39] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3272,7 +3829,7 @@ func (x *DeleteKeyspaceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyspaceRequest.ProtoReflect.Descriptor instead. func (*DeleteKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{39} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{46} } func (x *DeleteKeyspaceRequest) GetKeyspace() string { @@ -3305,7 +3862,7 @@ type DeleteKeyspaceResponse struct { func (x *DeleteKeyspaceResponse) Reset() { *x = DeleteKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[40] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3318,7 +3875,7 @@ func (x *DeleteKeyspaceResponse) String() string { func (*DeleteKeyspaceResponse) ProtoMessage() {} func (x *DeleteKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[40] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3331,7 +3888,7 @@ func (x *DeleteKeyspaceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyspaceResponse.ProtoReflect.Descriptor instead. func (*DeleteKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{40} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{47} } type DeleteShardsRequest struct { @@ -3357,7 +3914,7 @@ type DeleteShardsRequest struct { func (x *DeleteShardsRequest) Reset() { *x = DeleteShardsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[41] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3370,7 +3927,7 @@ func (x *DeleteShardsRequest) String() string { func (*DeleteShardsRequest) ProtoMessage() {} func (x *DeleteShardsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[41] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3383,7 +3940,7 @@ func (x *DeleteShardsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteShardsRequest.ProtoReflect.Descriptor instead. func (*DeleteShardsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{41} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{48} } func (x *DeleteShardsRequest) GetShards() []*Shard { @@ -3423,7 +3980,7 @@ type DeleteShardsResponse struct { func (x *DeleteShardsResponse) Reset() { *x = DeleteShardsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[42] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3436,7 +3993,7 @@ func (x *DeleteShardsResponse) String() string { func (*DeleteShardsResponse) ProtoMessage() {} func (x *DeleteShardsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[42] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3449,7 +4006,7 @@ func (x *DeleteShardsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteShardsResponse.ProtoReflect.Descriptor instead. func (*DeleteShardsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{42} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{49} } type DeleteSrvVSchemaRequest struct { @@ -3463,7 +4020,7 @@ type DeleteSrvVSchemaRequest struct { func (x *DeleteSrvVSchemaRequest) Reset() { *x = DeleteSrvVSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[43] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3476,7 +4033,7 @@ func (x *DeleteSrvVSchemaRequest) String() string { func (*DeleteSrvVSchemaRequest) ProtoMessage() {} func (x *DeleteSrvVSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[43] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3489,7 +4046,7 @@ func (x *DeleteSrvVSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteSrvVSchemaRequest.ProtoReflect.Descriptor instead. func (*DeleteSrvVSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{43} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{50} } func (x *DeleteSrvVSchemaRequest) GetCell() string { @@ -3508,7 +4065,7 @@ type DeleteSrvVSchemaResponse struct { func (x *DeleteSrvVSchemaResponse) Reset() { *x = DeleteSrvVSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[44] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3521,7 +4078,7 @@ func (x *DeleteSrvVSchemaResponse) String() string { func (*DeleteSrvVSchemaResponse) ProtoMessage() {} func (x *DeleteSrvVSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[44] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3534,7 +4091,7 @@ func (x *DeleteSrvVSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteSrvVSchemaResponse.ProtoReflect.Descriptor instead. func (*DeleteSrvVSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{44} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{51} } type DeleteTabletsRequest struct { @@ -3552,7 +4109,7 @@ type DeleteTabletsRequest struct { func (x *DeleteTabletsRequest) Reset() { *x = DeleteTabletsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[45] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3565,7 +4122,7 @@ func (x *DeleteTabletsRequest) String() string { func (*DeleteTabletsRequest) ProtoMessage() {} func (x *DeleteTabletsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[45] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3578,7 +4135,7 @@ func (x *DeleteTabletsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteTabletsRequest.ProtoReflect.Descriptor instead. func (*DeleteTabletsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{45} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{52} } func (x *DeleteTabletsRequest) GetTabletAliases() []*dev2.TabletAlias { @@ -3604,7 +4161,7 @@ type DeleteTabletsResponse struct { func (x *DeleteTabletsResponse) Reset() { *x = DeleteTabletsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[46] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3617,7 +4174,7 @@ func (x *DeleteTabletsResponse) String() string { func (*DeleteTabletsResponse) ProtoMessage() {} func (x *DeleteTabletsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[46] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3630,7 +4187,7 @@ func (x *DeleteTabletsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteTabletsResponse.ProtoReflect.Descriptor instead. func (*DeleteTabletsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{46} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{53} } type EmergencyReparentShardRequest struct { @@ -3659,12 +4216,15 @@ type EmergencyReparentShardRequest struct { // WaitForAllTablets makes ERS wait for a response from all the tablets before proceeding. // Useful when all the tablets are up and reachable. WaitForAllTablets bool `protobuf:"varint,7,opt,name=wait_for_all_tablets,json=waitForAllTablets,proto3" json:"wait_for_all_tablets,omitempty"` + // ExpectedPrimary is the optional alias we expect to be the current primary in order for + // the reparent operation to succeed. + ExpectedPrimary *dev2.TabletAlias `protobuf:"bytes,8,opt,name=expected_primary,json=expectedPrimary,proto3" json:"expected_primary,omitempty"` } func (x *EmergencyReparentShardRequest) Reset() { *x = EmergencyReparentShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[47] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3677,7 +4237,7 @@ func (x *EmergencyReparentShardRequest) String() string { func (*EmergencyReparentShardRequest) ProtoMessage() {} func (x *EmergencyReparentShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[47] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3690,7 +4250,7 @@ func (x *EmergencyReparentShardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EmergencyReparentShardRequest.ProtoReflect.Descriptor instead. func (*EmergencyReparentShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{47} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{54} } func (x *EmergencyReparentShardRequest) GetKeyspace() string { @@ -3742,6 +4302,13 @@ func (x *EmergencyReparentShardRequest) GetWaitForAllTablets() bool { return false } +func (x *EmergencyReparentShardRequest) GetExpectedPrimary() *dev2.TabletAlias { + if x != nil { + return x.ExpectedPrimary + } + return nil +} + type EmergencyReparentShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3762,7 +4329,7 @@ type EmergencyReparentShardResponse struct { func (x *EmergencyReparentShardResponse) Reset() { *x = EmergencyReparentShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[48] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3775,7 +4342,7 @@ func (x *EmergencyReparentShardResponse) String() string { func (*EmergencyReparentShardResponse) ProtoMessage() {} func (x *EmergencyReparentShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[48] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3788,7 +4355,7 @@ func (x *EmergencyReparentShardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EmergencyReparentShardResponse.ProtoReflect.Descriptor instead. func (*EmergencyReparentShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{48} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{55} } func (x *EmergencyReparentShardResponse) GetKeyspace() string { @@ -3840,7 +4407,7 @@ type ExecuteFetchAsAppRequest struct { func (x *ExecuteFetchAsAppRequest) Reset() { *x = ExecuteFetchAsAppRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[49] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3853,7 +4420,7 @@ func (x *ExecuteFetchAsAppRequest) String() string { func (*ExecuteFetchAsAppRequest) ProtoMessage() {} func (x *ExecuteFetchAsAppRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[49] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3866,7 +4433,7 @@ func (x *ExecuteFetchAsAppRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsAppRequest.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsAppRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{49} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{56} } func (x *ExecuteFetchAsAppRequest) GetTabletAlias() *dev2.TabletAlias { @@ -3908,7 +4475,7 @@ type ExecuteFetchAsAppResponse struct { func (x *ExecuteFetchAsAppResponse) Reset() { *x = ExecuteFetchAsAppResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[50] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3921,7 +4488,7 @@ func (x *ExecuteFetchAsAppResponse) String() string { func (*ExecuteFetchAsAppResponse) ProtoMessage() {} func (x *ExecuteFetchAsAppResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[50] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3934,7 +4501,7 @@ func (x *ExecuteFetchAsAppResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsAppResponse.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsAppResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{50} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{57} } func (x *ExecuteFetchAsAppResponse) GetResult() *dev6.QueryResult { @@ -3969,7 +4536,7 @@ type ExecuteFetchAsDBARequest struct { func (x *ExecuteFetchAsDBARequest) Reset() { *x = ExecuteFetchAsDBARequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[51] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3982,7 +4549,7 @@ func (x *ExecuteFetchAsDBARequest) String() string { func (*ExecuteFetchAsDBARequest) ProtoMessage() {} func (x *ExecuteFetchAsDBARequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[51] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3995,7 +4562,7 @@ func (x *ExecuteFetchAsDBARequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsDBARequest.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsDBARequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{51} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{58} } func (x *ExecuteFetchAsDBARequest) GetTabletAlias() *dev2.TabletAlias { @@ -4044,7 +4611,7 @@ type ExecuteFetchAsDBAResponse struct { func (x *ExecuteFetchAsDBAResponse) Reset() { *x = ExecuteFetchAsDBAResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[52] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4057,7 +4624,7 @@ func (x *ExecuteFetchAsDBAResponse) String() string { func (*ExecuteFetchAsDBAResponse) ProtoMessage() {} func (x *ExecuteFetchAsDBAResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[52] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4070,7 +4637,7 @@ func (x *ExecuteFetchAsDBAResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteFetchAsDBAResponse.ProtoReflect.Descriptor instead. func (*ExecuteFetchAsDBAResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{52} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{59} } func (x *ExecuteFetchAsDBAResponse) GetResult() *dev6.QueryResult { @@ -4092,7 +4659,7 @@ type ExecuteHookRequest struct { func (x *ExecuteHookRequest) Reset() { *x = ExecuteHookRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[53] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4105,7 +4672,7 @@ func (x *ExecuteHookRequest) String() string { func (*ExecuteHookRequest) ProtoMessage() {} func (x *ExecuteHookRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[53] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4118,7 +4685,7 @@ func (x *ExecuteHookRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteHookRequest.ProtoReflect.Descriptor instead. func (*ExecuteHookRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{53} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{60} } func (x *ExecuteHookRequest) GetTabletAlias() *dev2.TabletAlias { @@ -4146,7 +4713,7 @@ type ExecuteHookResponse struct { func (x *ExecuteHookResponse) Reset() { *x = ExecuteHookResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[54] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4159,7 +4726,7 @@ func (x *ExecuteHookResponse) String() string { func (*ExecuteHookResponse) ProtoMessage() {} func (x *ExecuteHookResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[54] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4172,7 +4739,7 @@ func (x *ExecuteHookResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExecuteHookResponse.ProtoReflect.Descriptor instead. func (*ExecuteHookResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{54} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{61} } func (x *ExecuteHookResponse) GetHookResult() *dev1.ExecuteHookResponse { @@ -4182,6 +4749,143 @@ func (x *ExecuteHookResponse) GetHookResult() *dev1.ExecuteHookResponse { return nil } +type ExecuteMultiFetchAsDBARequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // SQL could have potentially multiple queries separated by semicolons. + Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"` + // MaxRows is an optional parameter to limit the number of rows read into the + // QueryResult. Note that this does not apply a LIMIT to a query, just how + // many rows are read from the MySQL server on the tablet side. + // + // This field is optional. Specifying a non-positive value will use whatever + // default is configured in the VtctldService. + MaxRows int64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + // DisableBinlogs instructs the tablet not to use binary logging when + // executing the query. + DisableBinlogs bool `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs,proto3" json:"disable_binlogs,omitempty"` + // ReloadSchema instructs the tablet to reload its schema after executing the + // query. + ReloadSchema bool `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` +} + +func (x *ExecuteMultiFetchAsDBARequest) Reset() { + *x = ExecuteMultiFetchAsDBARequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteMultiFetchAsDBARequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteMultiFetchAsDBARequest) ProtoMessage() {} + +func (x *ExecuteMultiFetchAsDBARequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteMultiFetchAsDBARequest.ProtoReflect.Descriptor instead. +func (*ExecuteMultiFetchAsDBARequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{62} +} + +func (x *ExecuteMultiFetchAsDBARequest) GetTabletAlias() *dev2.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ExecuteMultiFetchAsDBARequest) GetSql() string { + if x != nil { + return x.Sql + } + return "" +} + +func (x *ExecuteMultiFetchAsDBARequest) GetMaxRows() int64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *ExecuteMultiFetchAsDBARequest) GetDisableBinlogs() bool { + if x != nil { + return x.DisableBinlogs + } + return false +} + +func (x *ExecuteMultiFetchAsDBARequest) GetReloadSchema() bool { + if x != nil { + return x.ReloadSchema + } + return false +} + +type ExecuteMultiFetchAsDBAResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []*dev6.QueryResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` +} + +func (x *ExecuteMultiFetchAsDBAResponse) Reset() { + *x = ExecuteMultiFetchAsDBAResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteMultiFetchAsDBAResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteMultiFetchAsDBAResponse) ProtoMessage() {} + +func (x *ExecuteMultiFetchAsDBAResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteMultiFetchAsDBAResponse.ProtoReflect.Descriptor instead. +func (*ExecuteMultiFetchAsDBAResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{63} +} + +func (x *ExecuteMultiFetchAsDBAResponse) GetResults() []*dev6.QueryResult { + if x != nil { + return x.Results + } + return nil +} + type FindAllShardsInKeyspaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4193,7 +4897,7 @@ type FindAllShardsInKeyspaceRequest struct { func (x *FindAllShardsInKeyspaceRequest) Reset() { *x = FindAllShardsInKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[55] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4206,7 +4910,7 @@ func (x *FindAllShardsInKeyspaceRequest) String() string { func (*FindAllShardsInKeyspaceRequest) ProtoMessage() {} func (x *FindAllShardsInKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[55] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4219,7 +4923,7 @@ func (x *FindAllShardsInKeyspaceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllShardsInKeyspaceRequest.ProtoReflect.Descriptor instead. func (*FindAllShardsInKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{55} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{64} } func (x *FindAllShardsInKeyspaceRequest) GetKeyspace() string { @@ -4240,7 +4944,7 @@ type FindAllShardsInKeyspaceResponse struct { func (x *FindAllShardsInKeyspaceResponse) Reset() { *x = FindAllShardsInKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[56] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4253,7 +4957,7 @@ func (x *FindAllShardsInKeyspaceResponse) String() string { func (*FindAllShardsInKeyspaceResponse) ProtoMessage() {} func (x *FindAllShardsInKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[56] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4266,7 +4970,7 @@ func (x *FindAllShardsInKeyspaceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllShardsInKeyspaceResponse.ProtoReflect.Descriptor instead. func (*FindAllShardsInKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{56} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{65} } func (x *FindAllShardsInKeyspaceResponse) GetShards() map[string]*Shard { @@ -4276,6 +4980,108 @@ func (x *FindAllShardsInKeyspaceResponse) GetShards() map[string]*Shard { return nil } +type ForceCutOverSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *ForceCutOverSchemaMigrationRequest) Reset() { + *x = ForceCutOverSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceCutOverSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceCutOverSchemaMigrationRequest) ProtoMessage() {} + +func (x *ForceCutOverSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceCutOverSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*ForceCutOverSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{66} +} + +func (x *ForceCutOverSchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ForceCutOverSchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type ForceCutOverSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *ForceCutOverSchemaMigrationResponse) Reset() { + *x = ForceCutOverSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceCutOverSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceCutOverSchemaMigrationResponse) ProtoMessage() {} + +func (x *ForceCutOverSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceCutOverSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*ForceCutOverSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{67} +} + +func (x *ForceCutOverSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + type GetBackupsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4302,7 +5108,7 @@ type GetBackupsRequest struct { func (x *GetBackupsRequest) Reset() { *x = GetBackupsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[57] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4315,7 +5121,7 @@ func (x *GetBackupsRequest) String() string { func (*GetBackupsRequest) ProtoMessage() {} func (x *GetBackupsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[57] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4328,7 +5134,7 @@ func (x *GetBackupsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBackupsRequest.ProtoReflect.Descriptor instead. func (*GetBackupsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{57} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{68} } func (x *GetBackupsRequest) GetKeyspace() string { @@ -4377,7 +5183,7 @@ type GetBackupsResponse struct { func (x *GetBackupsResponse) Reset() { *x = GetBackupsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[58] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4390,7 +5196,7 @@ func (x *GetBackupsResponse) String() string { func (*GetBackupsResponse) ProtoMessage() {} func (x *GetBackupsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[58] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4403,7 +5209,7 @@ func (x *GetBackupsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBackupsResponse.ProtoReflect.Descriptor instead. func (*GetBackupsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{58} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{69} } func (x *GetBackupsResponse) GetBackups() []*dev7.BackupInfo { @@ -4424,7 +5230,7 @@ type GetCellInfoRequest struct { func (x *GetCellInfoRequest) Reset() { *x = GetCellInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[59] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4437,7 +5243,7 @@ func (x *GetCellInfoRequest) String() string { func (*GetCellInfoRequest) ProtoMessage() {} func (x *GetCellInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[59] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4450,7 +5256,7 @@ func (x *GetCellInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCellInfoRequest.ProtoReflect.Descriptor instead. func (*GetCellInfoRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{59} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{70} } func (x *GetCellInfoRequest) GetCell() string { @@ -4471,7 +5277,7 @@ type GetCellInfoResponse struct { func (x *GetCellInfoResponse) Reset() { *x = GetCellInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[60] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4484,7 +5290,7 @@ func (x *GetCellInfoResponse) String() string { func (*GetCellInfoResponse) ProtoMessage() {} func (x *GetCellInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[60] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4497,7 +5303,7 @@ func (x *GetCellInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCellInfoResponse.ProtoReflect.Descriptor instead. func (*GetCellInfoResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{60} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{71} } func (x *GetCellInfoResponse) GetCellInfo() *dev2.CellInfo { @@ -4516,7 +5322,7 @@ type GetCellInfoNamesRequest struct { func (x *GetCellInfoNamesRequest) Reset() { *x = GetCellInfoNamesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[61] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4529,7 +5335,7 @@ func (x *GetCellInfoNamesRequest) String() string { func (*GetCellInfoNamesRequest) ProtoMessage() {} func (x *GetCellInfoNamesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[61] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4542,7 +5348,7 @@ func (x *GetCellInfoNamesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCellInfoNamesRequest.ProtoReflect.Descriptor instead. func (*GetCellInfoNamesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{61} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{72} } type GetCellInfoNamesResponse struct { @@ -4556,7 +5362,7 @@ type GetCellInfoNamesResponse struct { func (x *GetCellInfoNamesResponse) Reset() { *x = GetCellInfoNamesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[62] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4569,7 +5375,7 @@ func (x *GetCellInfoNamesResponse) String() string { func (*GetCellInfoNamesResponse) ProtoMessage() {} func (x *GetCellInfoNamesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[62] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4582,7 +5388,7 @@ func (x *GetCellInfoNamesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCellInfoNamesResponse.ProtoReflect.Descriptor instead. func (*GetCellInfoNamesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{62} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{73} } func (x *GetCellInfoNamesResponse) GetNames() []string { @@ -4601,7 +5407,7 @@ type GetCellsAliasesRequest struct { func (x *GetCellsAliasesRequest) Reset() { *x = GetCellsAliasesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[63] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4614,7 +5420,7 @@ func (x *GetCellsAliasesRequest) String() string { func (*GetCellsAliasesRequest) ProtoMessage() {} func (x *GetCellsAliasesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[63] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4627,7 +5433,7 @@ func (x *GetCellsAliasesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCellsAliasesRequest.ProtoReflect.Descriptor instead. func (*GetCellsAliasesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{63} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{74} } type GetCellsAliasesResponse struct { @@ -4641,7 +5447,7 @@ type GetCellsAliasesResponse struct { func (x *GetCellsAliasesResponse) Reset() { *x = GetCellsAliasesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[64] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4654,7 +5460,7 @@ func (x *GetCellsAliasesResponse) String() string { func (*GetCellsAliasesResponse) ProtoMessage() {} func (x *GetCellsAliasesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[64] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4667,7 +5473,7 @@ func (x *GetCellsAliasesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetCellsAliasesResponse.ProtoReflect.Descriptor instead. func (*GetCellsAliasesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{64} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{75} } func (x *GetCellsAliasesResponse) GetAliases() map[string]*dev2.CellsAlias { @@ -4688,7 +5494,7 @@ type GetFullStatusRequest struct { func (x *GetFullStatusRequest) Reset() { *x = GetFullStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[65] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4701,7 +5507,7 @@ func (x *GetFullStatusRequest) String() string { func (*GetFullStatusRequest) ProtoMessage() {} func (x *GetFullStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[65] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4714,7 +5520,7 @@ func (x *GetFullStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFullStatusRequest.ProtoReflect.Descriptor instead. func (*GetFullStatusRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{65} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{76} } func (x *GetFullStatusRequest) GetTabletAlias() *dev2.TabletAlias { @@ -4735,7 +5541,7 @@ type GetFullStatusResponse struct { func (x *GetFullStatusResponse) Reset() { *x = GetFullStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[66] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4748,7 +5554,7 @@ func (x *GetFullStatusResponse) String() string { func (*GetFullStatusResponse) ProtoMessage() {} func (x *GetFullStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[66] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4761,7 +5567,7 @@ func (x *GetFullStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFullStatusResponse.ProtoReflect.Descriptor instead. func (*GetFullStatusResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{66} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{77} } func (x *GetFullStatusResponse) GetStatus() *dev8.FullStatus { @@ -4780,7 +5586,7 @@ type GetKeyspacesRequest struct { func (x *GetKeyspacesRequest) Reset() { *x = GetKeyspacesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[67] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4793,7 +5599,7 @@ func (x *GetKeyspacesRequest) String() string { func (*GetKeyspacesRequest) ProtoMessage() {} func (x *GetKeyspacesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[67] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4806,7 +5612,7 @@ func (x *GetKeyspacesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetKeyspacesRequest.ProtoReflect.Descriptor instead. func (*GetKeyspacesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{67} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{78} } type GetKeyspacesResponse struct { @@ -4820,7 +5626,7 @@ type GetKeyspacesResponse struct { func (x *GetKeyspacesResponse) Reset() { *x = GetKeyspacesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[68] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4833,7 +5639,7 @@ func (x *GetKeyspacesResponse) String() string { func (*GetKeyspacesResponse) ProtoMessage() {} func (x *GetKeyspacesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[68] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4846,7 +5652,7 @@ func (x *GetKeyspacesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetKeyspacesResponse.ProtoReflect.Descriptor instead. func (*GetKeyspacesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{68} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{79} } func (x *GetKeyspacesResponse) GetKeyspaces() []*Keyspace { @@ -4867,7 +5673,7 @@ type GetKeyspaceRequest struct { func (x *GetKeyspaceRequest) Reset() { *x = GetKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[69] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4880,7 +5686,7 @@ func (x *GetKeyspaceRequest) String() string { func (*GetKeyspaceRequest) ProtoMessage() {} func (x *GetKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[69] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4893,7 +5699,7 @@ func (x *GetKeyspaceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetKeyspaceRequest.ProtoReflect.Descriptor instead. func (*GetKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{69} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{80} } func (x *GetKeyspaceRequest) GetKeyspace() string { @@ -4914,7 +5720,7 @@ type GetKeyspaceResponse struct { func (x *GetKeyspaceResponse) Reset() { *x = GetKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[70] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4927,7 +5733,7 @@ func (x *GetKeyspaceResponse) String() string { func (*GetKeyspaceResponse) ProtoMessage() {} func (x *GetKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[70] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4940,7 +5746,7 @@ func (x *GetKeyspaceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetKeyspaceResponse.ProtoReflect.Descriptor instead. func (*GetKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{70} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{81} } func (x *GetKeyspaceResponse) GetKeyspace() *Keyspace { @@ -4961,7 +5767,7 @@ type GetPermissionsRequest struct { func (x *GetPermissionsRequest) Reset() { *x = GetPermissionsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[71] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4974,7 +5780,7 @@ func (x *GetPermissionsRequest) String() string { func (*GetPermissionsRequest) ProtoMessage() {} func (x *GetPermissionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[71] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4987,7 +5793,7 @@ func (x *GetPermissionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead. func (*GetPermissionsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{71} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{82} } func (x *GetPermissionsRequest) GetTabletAlias() *dev2.TabletAlias { @@ -5008,7 +5814,7 @@ type GetPermissionsResponse struct { func (x *GetPermissionsResponse) Reset() { *x = GetPermissionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[72] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5021,7 +5827,7 @@ func (x *GetPermissionsResponse) String() string { func (*GetPermissionsResponse) ProtoMessage() {} func (x *GetPermissionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[72] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5034,7 +5840,7 @@ func (x *GetPermissionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead. func (*GetPermissionsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{72} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{83} } func (x *GetPermissionsResponse) GetPermissions() *dev1.Permissions { @@ -5044,6 +5850,91 @@ func (x *GetPermissionsResponse) GetPermissions() *dev1.Permissions { return nil } +type GetKeyspaceRoutingRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetKeyspaceRoutingRulesRequest) Reset() { + *x = GetKeyspaceRoutingRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspaceRoutingRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspaceRoutingRulesRequest) ProtoMessage() {} + +func (x *GetKeyspaceRoutingRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspaceRoutingRulesRequest.ProtoReflect.Descriptor instead. +func (*GetKeyspaceRoutingRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{84} +} + +type GetKeyspaceRoutingRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyspaceRoutingRules *dev4.KeyspaceRoutingRules `protobuf:"bytes,1,opt,name=keyspace_routing_rules,json=keyspaceRoutingRules,proto3" json:"keyspace_routing_rules,omitempty"` +} + +func (x *GetKeyspaceRoutingRulesResponse) Reset() { + *x = GetKeyspaceRoutingRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspaceRoutingRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspaceRoutingRulesResponse) ProtoMessage() {} + +func (x *GetKeyspaceRoutingRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspaceRoutingRulesResponse.ProtoReflect.Descriptor instead. +func (*GetKeyspaceRoutingRulesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{85} +} + +func (x *GetKeyspaceRoutingRulesResponse) GetKeyspaceRoutingRules() *dev4.KeyspaceRoutingRules { + if x != nil { + return x.KeyspaceRoutingRules + } + return nil +} + type GetRoutingRulesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5053,7 +5944,7 @@ type GetRoutingRulesRequest struct { func (x *GetRoutingRulesRequest) Reset() { *x = GetRoutingRulesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[73] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5066,7 +5957,7 @@ func (x *GetRoutingRulesRequest) String() string { func (*GetRoutingRulesRequest) ProtoMessage() {} func (x *GetRoutingRulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[73] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5079,7 +5970,7 @@ func (x *GetRoutingRulesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoutingRulesRequest.ProtoReflect.Descriptor instead. func (*GetRoutingRulesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{73} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{86} } type GetRoutingRulesResponse struct { @@ -5093,7 +5984,7 @@ type GetRoutingRulesResponse struct { func (x *GetRoutingRulesResponse) Reset() { *x = GetRoutingRulesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[74] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5106,7 +5997,7 @@ func (x *GetRoutingRulesResponse) String() string { func (*GetRoutingRulesResponse) ProtoMessage() {} func (x *GetRoutingRulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[74] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5119,7 +6010,7 @@ func (x *GetRoutingRulesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoutingRulesResponse.ProtoReflect.Descriptor instead. func (*GetRoutingRulesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{74} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{87} } func (x *GetRoutingRulesResponse) GetRoutingRules() *dev4.RoutingRules { @@ -5158,7 +6049,7 @@ type GetSchemaRequest struct { func (x *GetSchemaRequest) Reset() { *x = GetSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[75] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5171,7 +6062,7 @@ func (x *GetSchemaRequest) String() string { func (*GetSchemaRequest) ProtoMessage() {} func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[75] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5184,7 +6075,7 @@ func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. func (*GetSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{75} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{88} } func (x *GetSchemaRequest) GetTabletAlias() *dev2.TabletAlias { @@ -5247,7 +6138,7 @@ type GetSchemaResponse struct { func (x *GetSchemaResponse) Reset() { *x = GetSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[76] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5260,7 +6151,7 @@ func (x *GetSchemaResponse) String() string { func (*GetSchemaResponse) ProtoMessage() {} func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[76] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5273,7 +6164,7 @@ func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead. func (*GetSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{76} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{89} } func (x *GetSchemaResponse) GetSchema() *dev1.SchemaDefinition { @@ -5319,7 +6210,7 @@ type GetSchemaMigrationsRequest struct { func (x *GetSchemaMigrationsRequest) Reset() { *x = GetSchemaMigrationsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[77] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5332,7 +6223,7 @@ func (x *GetSchemaMigrationsRequest) String() string { func (*GetSchemaMigrationsRequest) ProtoMessage() {} func (x *GetSchemaMigrationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[77] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[90] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5345,7 +6236,7 @@ func (x *GetSchemaMigrationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaMigrationsRequest.ProtoReflect.Descriptor instead. func (*GetSchemaMigrationsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{77} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{90} } func (x *GetSchemaMigrationsRequest) GetKeyspace() string { @@ -5415,7 +6306,7 @@ type GetSchemaMigrationsResponse struct { func (x *GetSchemaMigrationsResponse) Reset() { *x = GetSchemaMigrationsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[78] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5428,7 +6319,7 @@ func (x *GetSchemaMigrationsResponse) String() string { func (*GetSchemaMigrationsResponse) ProtoMessage() {} func (x *GetSchemaMigrationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[78] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5441,7 +6332,7 @@ func (x *GetSchemaMigrationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaMigrationsResponse.ProtoReflect.Descriptor instead. func (*GetSchemaMigrationsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{78} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{91} } func (x *GetSchemaMigrationsResponse) GetMigrations() []*SchemaMigration { @@ -5451,32 +6342,35 @@ func (x *GetSchemaMigrationsResponse) GetMigrations() []*SchemaMigration { return nil } -type GetShardRequest struct { +type GetShardReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // Cells is the list of cells to fetch data for. Omit to fetch data from all + // cells. + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` } -func (x *GetShardRequest) Reset() { - *x = GetShardRequest{} +func (x *GetShardReplicationRequest) Reset() { + *x = GetShardReplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[79] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetShardRequest) String() string { +func (x *GetShardReplicationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetShardRequest) ProtoMessage() {} +func (*GetShardReplicationRequest) ProtoMessage() {} -func (x *GetShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[79] +func (x *GetShardReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[92] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5487,50 +6381,57 @@ func (x *GetShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetShardRequest.ProtoReflect.Descriptor instead. -func (*GetShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{79} +// Deprecated: Use GetShardReplicationRequest.ProtoReflect.Descriptor instead. +func (*GetShardReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{92} } -func (x *GetShardRequest) GetKeyspace() string { +func (x *GetShardReplicationRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *GetShardRequest) GetShardName() string { +func (x *GetShardReplicationRequest) GetShard() string { if x != nil { - return x.ShardName + return x.Shard } return "" } -type GetShardResponse struct { +func (x *GetShardReplicationRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetShardReplicationResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Shard *Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` + ShardReplicationByCell map[string]*dev2.ShardReplication `protobuf:"bytes,1,rep,name=shard_replication_by_cell,json=shardReplicationByCell,proto3" json:"shard_replication_by_cell,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *GetShardResponse) Reset() { - *x = GetShardResponse{} +func (x *GetShardReplicationResponse) Reset() { + *x = GetShardReplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[80] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetShardResponse) String() string { +func (x *GetShardReplicationResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetShardResponse) ProtoMessage() {} +func (*GetShardReplicationResponse) ProtoMessage() {} -func (x *GetShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[80] +func (x *GetShardReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[93] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5541,41 +6442,44 @@ func (x *GetShardResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetShardResponse.ProtoReflect.Descriptor instead. -func (*GetShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{80} +// Deprecated: Use GetShardReplicationResponse.ProtoReflect.Descriptor instead. +func (*GetShardReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{93} } -func (x *GetShardResponse) GetShard() *Shard { +func (x *GetShardReplicationResponse) GetShardReplicationByCell() map[string]*dev2.ShardReplication { if x != nil { - return x.Shard + return x.ShardReplicationByCell } return nil } -type GetShardRoutingRulesRequest struct { +type GetShardRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` } -func (x *GetShardRoutingRulesRequest) Reset() { - *x = GetShardRoutingRulesRequest{} +func (x *GetShardRequest) Reset() { + *x = GetShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[81] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetShardRoutingRulesRequest) String() string { +func (x *GetShardRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetShardRoutingRulesRequest) ProtoMessage() {} +func (*GetShardRequest) ProtoMessage() {} -func (x *GetShardRoutingRulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[81] +func (x *GetShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[94] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5586,36 +6490,135 @@ func (x *GetShardRoutingRulesRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetShardRoutingRulesRequest.ProtoReflect.Descriptor instead. -func (*GetShardRoutingRulesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{81} +// Deprecated: Use GetShardRequest.ProtoReflect.Descriptor instead. +func (*GetShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{94} } -type GetShardRoutingRulesResponse struct { +func (x *GetShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetShardRequest) GetShardName() string { + if x != nil { + return x.ShardName + } + return "" +} + +type GetShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ShardRoutingRules *dev4.ShardRoutingRules `protobuf:"bytes,1,opt,name=shard_routing_rules,json=shardRoutingRules,proto3" json:"shard_routing_rules,omitempty"` + Shard *Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` } -func (x *GetShardRoutingRulesResponse) Reset() { - *x = GetShardRoutingRulesResponse{} +func (x *GetShardResponse) Reset() { + *x = GetShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[82] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetShardRoutingRulesResponse) String() string { +func (x *GetShardResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetShardRoutingRulesResponse) ProtoMessage() {} +func (*GetShardResponse) ProtoMessage() {} + +func (x *GetShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardResponse.ProtoReflect.Descriptor instead. +func (*GetShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{95} +} + +func (x *GetShardResponse) GetShard() *Shard { + if x != nil { + return x.Shard + } + return nil +} + +type GetShardRoutingRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetShardRoutingRulesRequest) Reset() { + *x = GetShardRoutingRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardRoutingRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardRoutingRulesRequest) ProtoMessage() {} + +func (x *GetShardRoutingRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardRoutingRulesRequest.ProtoReflect.Descriptor instead. +func (*GetShardRoutingRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{96} +} + +type GetShardRoutingRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShardRoutingRules *dev4.ShardRoutingRules `protobuf:"bytes,1,opt,name=shard_routing_rules,json=shardRoutingRules,proto3" json:"shard_routing_rules,omitempty"` +} + +func (x *GetShardRoutingRulesResponse) Reset() { + *x = GetShardRoutingRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardRoutingRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardRoutingRulesResponse) ProtoMessage() {} func (x *GetShardRoutingRulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[82] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[97] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5628,7 +6631,7 @@ func (x *GetShardRoutingRulesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetShardRoutingRulesResponse.ProtoReflect.Descriptor instead. func (*GetShardRoutingRulesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{82} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{97} } func (x *GetShardRoutingRulesResponse) GetShardRoutingRules() *dev4.ShardRoutingRules { @@ -5649,7 +6652,7 @@ type GetSrvKeyspaceNamesRequest struct { func (x *GetSrvKeyspaceNamesRequest) Reset() { *x = GetSrvKeyspaceNamesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[83] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5662,7 +6665,7 @@ func (x *GetSrvKeyspaceNamesRequest) String() string { func (*GetSrvKeyspaceNamesRequest) ProtoMessage() {} func (x *GetSrvKeyspaceNamesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[83] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[98] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5675,7 +6678,7 @@ func (x *GetSrvKeyspaceNamesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvKeyspaceNamesRequest.ProtoReflect.Descriptor instead. func (*GetSrvKeyspaceNamesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{83} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{98} } func (x *GetSrvKeyspaceNamesRequest) GetCells() []string { @@ -5697,7 +6700,7 @@ type GetSrvKeyspaceNamesResponse struct { func (x *GetSrvKeyspaceNamesResponse) Reset() { *x = GetSrvKeyspaceNamesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[84] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5710,7 +6713,7 @@ func (x *GetSrvKeyspaceNamesResponse) String() string { func (*GetSrvKeyspaceNamesResponse) ProtoMessage() {} func (x *GetSrvKeyspaceNamesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[84] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5723,7 +6726,7 @@ func (x *GetSrvKeyspaceNamesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvKeyspaceNamesResponse.ProtoReflect.Descriptor instead. func (*GetSrvKeyspaceNamesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{84} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{99} } func (x *GetSrvKeyspaceNamesResponse) GetNames() map[string]*GetSrvKeyspaceNamesResponse_NameList { @@ -5747,7 +6750,7 @@ type GetSrvKeyspacesRequest struct { func (x *GetSrvKeyspacesRequest) Reset() { *x = GetSrvKeyspacesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[85] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5760,7 +6763,7 @@ func (x *GetSrvKeyspacesRequest) String() string { func (*GetSrvKeyspacesRequest) ProtoMessage() {} func (x *GetSrvKeyspacesRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[85] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5773,7 +6776,7 @@ func (x *GetSrvKeyspacesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvKeyspacesRequest.ProtoReflect.Descriptor instead. func (*GetSrvKeyspacesRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{85} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{100} } func (x *GetSrvKeyspacesRequest) GetKeyspace() string { @@ -5802,7 +6805,7 @@ type GetSrvKeyspacesResponse struct { func (x *GetSrvKeyspacesResponse) Reset() { *x = GetSrvKeyspacesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[86] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5815,7 +6818,7 @@ func (x *GetSrvKeyspacesResponse) String() string { func (*GetSrvKeyspacesResponse) ProtoMessage() {} func (x *GetSrvKeyspacesResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[86] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[101] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5828,7 +6831,7 @@ func (x *GetSrvKeyspacesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvKeyspacesResponse.ProtoReflect.Descriptor instead. func (*GetSrvKeyspacesResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{86} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{101} } func (x *GetSrvKeyspacesResponse) GetSrvKeyspaces() map[string]*dev2.SrvKeyspace { @@ -5860,12 +6863,19 @@ type UpdateThrottlerConfigRequest struct { CheckAsCheckShard bool `protobuf:"varint,8,opt,name=check_as_check_shard,json=checkAsCheckShard,proto3" json:"check_as_check_shard,omitempty"` // ThrottledApp indicates a single throttled app rule (ignored if name is empty) ThrottledApp *dev2.ThrottledAppRule `protobuf:"bytes,9,opt,name=throttled_app,json=throttledApp,proto3" json:"throttled_app,omitempty"` + // MetricName is the name of the metric for which we apply a new threshold + MetricName string `protobuf:"bytes,10,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` + // AppName is the name of the app for which we assign metrics + AppName string `protobuf:"bytes,11,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` + // AppCheckedMetrics are the metrics to be checked got the given AppName. These can be scoped. For example: + // ["lag", "self/loadvg", "shard/threads_running"] + AppCheckedMetrics []string `protobuf:"bytes,12,rep,name=app_checked_metrics,json=appCheckedMetrics,proto3" json:"app_checked_metrics,omitempty"` } func (x *UpdateThrottlerConfigRequest) Reset() { *x = UpdateThrottlerConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[87] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5878,7 +6888,7 @@ func (x *UpdateThrottlerConfigRequest) String() string { func (*UpdateThrottlerConfigRequest) ProtoMessage() {} func (x *UpdateThrottlerConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[87] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[102] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5891,7 +6901,7 @@ func (x *UpdateThrottlerConfigRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateThrottlerConfigRequest.ProtoReflect.Descriptor instead. func (*UpdateThrottlerConfigRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{87} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{102} } func (x *UpdateThrottlerConfigRequest) GetKeyspace() string { @@ -5957,6 +6967,27 @@ func (x *UpdateThrottlerConfigRequest) GetThrottledApp() *dev2.ThrottledAppRule return nil } +func (x *UpdateThrottlerConfigRequest) GetMetricName() string { + if x != nil { + return x.MetricName + } + return "" +} + +func (x *UpdateThrottlerConfigRequest) GetAppName() string { + if x != nil { + return x.AppName + } + return "" +} + +func (x *UpdateThrottlerConfigRequest) GetAppCheckedMetrics() []string { + if x != nil { + return x.AppCheckedMetrics + } + return nil +} + type UpdateThrottlerConfigResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5966,7 +6997,7 @@ type UpdateThrottlerConfigResponse struct { func (x *UpdateThrottlerConfigResponse) Reset() { *x = UpdateThrottlerConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[88] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5979,7 +7010,7 @@ func (x *UpdateThrottlerConfigResponse) String() string { func (*UpdateThrottlerConfigResponse) ProtoMessage() {} func (x *UpdateThrottlerConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[88] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[103] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5992,7 +7023,7 @@ func (x *UpdateThrottlerConfigResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateThrottlerConfigResponse.ProtoReflect.Descriptor instead. func (*UpdateThrottlerConfigResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{88} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{103} } type GetSrvVSchemaRequest struct { @@ -6006,7 +7037,7 @@ type GetSrvVSchemaRequest struct { func (x *GetSrvVSchemaRequest) Reset() { *x = GetSrvVSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[89] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6019,7 +7050,7 @@ func (x *GetSrvVSchemaRequest) String() string { func (*GetSrvVSchemaRequest) ProtoMessage() {} func (x *GetSrvVSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[89] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[104] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6032,7 +7063,7 @@ func (x *GetSrvVSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvVSchemaRequest.ProtoReflect.Descriptor instead. func (*GetSrvVSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{89} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{104} } func (x *GetSrvVSchemaRequest) GetCell() string { @@ -6053,7 +7084,7 @@ type GetSrvVSchemaResponse struct { func (x *GetSrvVSchemaResponse) Reset() { *x = GetSrvVSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[90] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6066,7 +7097,7 @@ func (x *GetSrvVSchemaResponse) String() string { func (*GetSrvVSchemaResponse) ProtoMessage() {} func (x *GetSrvVSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[90] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[105] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6079,7 +7110,7 @@ func (x *GetSrvVSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvVSchemaResponse.ProtoReflect.Descriptor instead. func (*GetSrvVSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{90} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{105} } func (x *GetSrvVSchemaResponse) GetSrvVSchema() *dev4.SrvVSchema { @@ -6100,7 +7131,7 @@ type GetSrvVSchemasRequest struct { func (x *GetSrvVSchemasRequest) Reset() { *x = GetSrvVSchemasRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[91] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6113,7 +7144,7 @@ func (x *GetSrvVSchemasRequest) String() string { func (*GetSrvVSchemasRequest) ProtoMessage() {} func (x *GetSrvVSchemasRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[91] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[106] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6126,7 +7157,7 @@ func (x *GetSrvVSchemasRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvVSchemasRequest.ProtoReflect.Descriptor instead. func (*GetSrvVSchemasRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{91} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{106} } func (x *GetSrvVSchemasRequest) GetCells() []string { @@ -6148,7 +7179,7 @@ type GetSrvVSchemasResponse struct { func (x *GetSrvVSchemasResponse) Reset() { *x = GetSrvVSchemasResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[92] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6161,7 +7192,7 @@ func (x *GetSrvVSchemasResponse) String() string { func (*GetSrvVSchemasResponse) ProtoMessage() {} func (x *GetSrvVSchemasResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[92] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[107] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6174,7 +7205,7 @@ func (x *GetSrvVSchemasResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSrvVSchemasResponse.ProtoReflect.Descriptor instead. func (*GetSrvVSchemasResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{92} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{107} } func (x *GetSrvVSchemasResponse) GetSrvVSchemas() map[string]*dev4.SrvVSchema { @@ -6195,7 +7226,7 @@ type GetTabletRequest struct { func (x *GetTabletRequest) Reset() { *x = GetTabletRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[93] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6208,7 +7239,7 @@ func (x *GetTabletRequest) String() string { func (*GetTabletRequest) ProtoMessage() {} func (x *GetTabletRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[93] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[108] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6221,7 +7252,7 @@ func (x *GetTabletRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTabletRequest.ProtoReflect.Descriptor instead. func (*GetTabletRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{93} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{108} } func (x *GetTabletRequest) GetTabletAlias() *dev2.TabletAlias { @@ -6242,7 +7273,7 @@ type GetTabletResponse struct { func (x *GetTabletResponse) Reset() { *x = GetTabletResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[94] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6255,7 +7286,7 @@ func (x *GetTabletResponse) String() string { func (*GetTabletResponse) ProtoMessage() {} func (x *GetTabletResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[94] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[109] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6268,7 +7299,7 @@ func (x *GetTabletResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTabletResponse.ProtoReflect.Descriptor instead. func (*GetTabletResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{94} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{109} } func (x *GetTabletResponse) GetTablet() *dev2.Tablet { @@ -6310,7 +7341,7 @@ type GetTabletsRequest struct { func (x *GetTabletsRequest) Reset() { *x = GetTabletsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[95] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6323,7 +7354,7 @@ func (x *GetTabletsRequest) String() string { func (*GetTabletsRequest) ProtoMessage() {} func (x *GetTabletsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[95] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[110] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6336,7 +7367,7 @@ func (x *GetTabletsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTabletsRequest.ProtoReflect.Descriptor instead. func (*GetTabletsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{95} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{110} } func (x *GetTabletsRequest) GetKeyspace() string { @@ -6392,7 +7423,7 @@ type GetTabletsResponse struct { func (x *GetTabletsResponse) Reset() { *x = GetTabletsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[96] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6405,7 +7436,7 @@ func (x *GetTabletsResponse) String() string { func (*GetTabletsResponse) ProtoMessage() {} func (x *GetTabletsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[96] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[111] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6418,7 +7449,7 @@ func (x *GetTabletsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTabletsResponse.ProtoReflect.Descriptor instead. func (*GetTabletsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{96} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{111} } func (x *GetTabletsResponse) GetTablets() []*dev2.Tablet { @@ -6428,31 +7459,32 @@ func (x *GetTabletsResponse) GetTablets() []*dev2.Tablet { return nil } -type GetTopologyPathRequest struct { +type GetThrottlerStatusRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + // TabletAlias is the alias of the tablet to probe + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` } -func (x *GetTopologyPathRequest) Reset() { - *x = GetTopologyPathRequest{} +func (x *GetThrottlerStatusRequest) Reset() { + *x = GetThrottlerStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[97] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetTopologyPathRequest) String() string { +func (x *GetThrottlerStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetTopologyPathRequest) ProtoMessage() {} +func (*GetThrottlerStatusRequest) ProtoMessage() {} -func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[97] +func (x *GetThrottlerStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[112] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6463,43 +7495,43 @@ func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetTopologyPathRequest.ProtoReflect.Descriptor instead. -func (*GetTopologyPathRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{97} +// Deprecated: Use GetThrottlerStatusRequest.ProtoReflect.Descriptor instead. +func (*GetThrottlerStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{112} } -func (x *GetTopologyPathRequest) GetPath() string { +func (x *GetThrottlerStatusRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.Path + return x.TabletAlias } - return "" + return nil } -type GetTopologyPathResponse struct { +type GetThrottlerStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Cell *TopologyCell `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` + Status *dev1.GetThrottlerStatusResponse `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` } -func (x *GetTopologyPathResponse) Reset() { - *x = GetTopologyPathResponse{} +func (x *GetThrottlerStatusResponse) Reset() { + *x = GetThrottlerStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[98] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetTopologyPathResponse) String() string { +func (x *GetThrottlerStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetTopologyPathResponse) ProtoMessage() {} +func (*GetThrottlerStatusResponse) ProtoMessage() {} -func (x *GetTopologyPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[98] +func (x *GetThrottlerStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[113] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6510,48 +7542,45 @@ func (x *GetTopologyPathResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetTopologyPathResponse.ProtoReflect.Descriptor instead. -func (*GetTopologyPathResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{98} +// Deprecated: Use GetThrottlerStatusResponse.ProtoReflect.Descriptor instead. +func (*GetThrottlerStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{113} } -func (x *GetTopologyPathResponse) GetCell() *TopologyCell { +func (x *GetThrottlerStatusResponse) GetStatus() *dev1.GetThrottlerStatusResponse { if x != nil { - return x.Cell + return x.Status } return nil } -type TopologyCell struct { +type GetTopologyPathRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - // Data is the file contents of the cell located at path. - // It is only populated if the cell is a terminal node. - Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - Children []string `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + AsJson bool `protobuf:"varint,3,opt,name=as_json,json=asJson,proto3" json:"as_json,omitempty"` } -func (x *TopologyCell) Reset() { - *x = TopologyCell{} +func (x *GetTopologyPathRequest) Reset() { + *x = GetTopologyPathRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[99] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TopologyCell) String() string { +func (x *GetTopologyPathRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TopologyCell) ProtoMessage() {} +func (*GetTopologyPathRequest) ProtoMessage() {} -func (x *TopologyCell) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[99] +func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[114] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6562,64 +7591,110 @@ func (x *TopologyCell) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TopologyCell.ProtoReflect.Descriptor instead. -func (*TopologyCell) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{99} +// Deprecated: Use GetTopologyPathRequest.ProtoReflect.Descriptor instead. +func (*GetTopologyPathRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{114} } -func (x *TopologyCell) GetName() string { +func (x *GetTopologyPathRequest) GetPath() string { if x != nil { - return x.Name + return x.Path } return "" } -func (x *TopologyCell) GetPath() string { +func (x *GetTopologyPathRequest) GetVersion() int64 { if x != nil { - return x.Path + return x.Version } - return "" + return 0 } -func (x *TopologyCell) GetData() string { +func (x *GetTopologyPathRequest) GetAsJson() bool { if x != nil { - return x.Data + return x.AsJson } - return "" + return false } -func (x *TopologyCell) GetChildren() []string { +type GetTopologyPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cell *TopologyCell `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *GetTopologyPathResponse) Reset() { + *x = GetTopologyPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopologyPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopologyPathResponse) ProtoMessage() {} + +func (x *GetTopologyPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTopologyPathResponse.ProtoReflect.Descriptor instead. +func (*GetTopologyPathResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{115} +} + +func (x *GetTopologyPathResponse) GetCell() *TopologyCell { if x != nil { - return x.Children + return x.Cell } return nil } -type GetVSchemaRequest struct { +type TopologyCell struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + // Data is the file contents of the cell located at path. + // It is only populated if the cell is a terminal node. + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + Children []string `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` + Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` } -func (x *GetVSchemaRequest) Reset() { - *x = GetVSchemaRequest{} +func (x *TopologyCell) Reset() { + *x = TopologyCell{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[100] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetVSchemaRequest) String() string { +func (x *TopologyCell) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVSchemaRequest) ProtoMessage() {} +func (*TopologyCell) ProtoMessage() {} -func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[100] +func (x *TopologyCell) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[116] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6630,43 +7705,72 @@ func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVSchemaRequest.ProtoReflect.Descriptor instead. -func (*GetVSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{100} +// Deprecated: Use TopologyCell.ProtoReflect.Descriptor instead. +func (*TopologyCell) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{116} } -func (x *GetVSchemaRequest) GetKeyspace() string { +func (x *TopologyCell) GetName() string { if x != nil { - return x.Keyspace + return x.Name } return "" } -type GetVersionRequest struct { +func (x *TopologyCell) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *TopologyCell) GetData() string { + if x != nil { + return x.Data + } + return "" +} + +func (x *TopologyCell) GetChildren() []string { + if x != nil { + return x.Children + } + return nil +} + +func (x *TopologyCell) GetVersion() int64 { + if x != nil { + return x.Version + } + return 0 +} + +type GetUnresolvedTransactionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + AbandonAge int64 `protobuf:"varint,2,opt,name=abandon_age,json=abandonAge,proto3" json:"abandon_age,omitempty"` // in seconds } -func (x *GetVersionRequest) Reset() { - *x = GetVersionRequest{} +func (x *GetUnresolvedTransactionsRequest) Reset() { + *x = GetUnresolvedTransactionsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[101] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetVersionRequest) String() string { +func (x *GetUnresolvedTransactionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVersionRequest) ProtoMessage() {} +func (*GetUnresolvedTransactionsRequest) ProtoMessage() {} -func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[101] +func (x *GetUnresolvedTransactionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[117] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6677,43 +7781,50 @@ func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead. -func (*GetVersionRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{101} +// Deprecated: Use GetUnresolvedTransactionsRequest.ProtoReflect.Descriptor instead. +func (*GetUnresolvedTransactionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{117} } -func (x *GetVersionRequest) GetTabletAlias() *dev2.TabletAlias { +func (x *GetUnresolvedTransactionsRequest) GetKeyspace() string { if x != nil { - return x.TabletAlias + return x.Keyspace } - return nil + return "" } -type GetVersionResponse struct { +func (x *GetUnresolvedTransactionsRequest) GetAbandonAge() int64 { + if x != nil { + return x.AbandonAge + } + return 0 +} + +type GetUnresolvedTransactionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Transactions []*dev6.TransactionMetadata `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` } -func (x *GetVersionResponse) Reset() { - *x = GetVersionResponse{} +func (x *GetUnresolvedTransactionsResponse) Reset() { + *x = GetUnresolvedTransactionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[102] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetVersionResponse) String() string { +func (x *GetUnresolvedTransactionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVersionResponse) ProtoMessage() {} +func (*GetUnresolvedTransactionsResponse) ProtoMessage() {} -func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[102] +func (x *GetUnresolvedTransactionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[118] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6724,43 +7835,43 @@ func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead. -func (*GetVersionResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{102} +// Deprecated: Use GetUnresolvedTransactionsResponse.ProtoReflect.Descriptor instead. +func (*GetUnresolvedTransactionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{118} } -func (x *GetVersionResponse) GetVersion() string { +func (x *GetUnresolvedTransactionsResponse) GetTransactions() []*dev6.TransactionMetadata { if x != nil { - return x.Version + return x.Transactions } - return "" + return nil } -type GetVSchemaResponse struct { +type GetTransactionInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - VSchema *dev4.Keyspace `protobuf:"bytes,1,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` + Dtid string `protobuf:"bytes,1,opt,name=dtid,proto3" json:"dtid,omitempty"` } -func (x *GetVSchemaResponse) Reset() { - *x = GetVSchemaResponse{} +func (x *GetTransactionInfoRequest) Reset() { + *x = GetTransactionInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[103] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetVSchemaResponse) String() string { +func (x *GetTransactionInfoRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetVSchemaResponse) ProtoMessage() {} +func (*GetTransactionInfoRequest) ProtoMessage() {} -func (x *GetVSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[103] +func (x *GetTransactionInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[119] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6771,48 +7882,47 @@ func (x *GetVSchemaResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetVSchemaResponse.ProtoReflect.Descriptor instead. -func (*GetVSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{103} +// Deprecated: Use GetTransactionInfoRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{119} } -func (x *GetVSchemaResponse) GetVSchema() *dev4.Keyspace { +func (x *GetTransactionInfoRequest) GetDtid() string { if x != nil { - return x.VSchema + return x.Dtid } - return nil + return "" } -type GetWorkflowsRequest struct { +type ShardTransactionState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` - NameOnly bool `protobuf:"varint,3,opt,name=name_only,json=nameOnly,proto3" json:"name_only,omitempty"` - // If you only want a specific workflow then set this field. - Workflow string `protobuf:"bytes,4,opt,name=workflow,proto3" json:"workflow,omitempty"` - IncludeLogs bool `protobuf:"varint,5,opt,name=include_logs,json=includeLogs,proto3" json:"include_logs,omitempty"` + Shard string `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + TimeCreated int64 `protobuf:"varint,4,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` + Statements []string `protobuf:"bytes,5,rep,name=statements,proto3" json:"statements,omitempty"` } -func (x *GetWorkflowsRequest) Reset() { - *x = GetWorkflowsRequest{} +func (x *ShardTransactionState) Reset() { + *x = ShardTransactionState{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[104] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetWorkflowsRequest) String() string { +func (x *ShardTransactionState) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetWorkflowsRequest) ProtoMessage() {} +func (*ShardTransactionState) ProtoMessage() {} -func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[104] +func (x *ShardTransactionState) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[120] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6823,71 +7933,72 @@ func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetWorkflowsRequest.ProtoReflect.Descriptor instead. -func (*GetWorkflowsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{104} +// Deprecated: Use ShardTransactionState.ProtoReflect.Descriptor instead. +func (*ShardTransactionState) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{120} } -func (x *GetWorkflowsRequest) GetKeyspace() string { +func (x *ShardTransactionState) GetShard() string { if x != nil { - return x.Keyspace + return x.Shard } return "" } -func (x *GetWorkflowsRequest) GetActiveOnly() bool { +func (x *ShardTransactionState) GetState() string { if x != nil { - return x.ActiveOnly + return x.State } - return false + return "" } -func (x *GetWorkflowsRequest) GetNameOnly() bool { +func (x *ShardTransactionState) GetMessage() string { if x != nil { - return x.NameOnly + return x.Message } - return false + return "" } -func (x *GetWorkflowsRequest) GetWorkflow() string { +func (x *ShardTransactionState) GetTimeCreated() int64 { if x != nil { - return x.Workflow + return x.TimeCreated } - return "" + return 0 } -func (x *GetWorkflowsRequest) GetIncludeLogs() bool { +func (x *ShardTransactionState) GetStatements() []string { if x != nil { - return x.IncludeLogs + return x.Statements } - return false + return nil } -type GetWorkflowsResponse struct { +type GetTransactionInfoResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"` + Metadata *dev6.TransactionMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + ShardStates []*ShardTransactionState `protobuf:"bytes,2,rep,name=shard_states,json=shardStates,proto3" json:"shard_states,omitempty"` } -func (x *GetWorkflowsResponse) Reset() { - *x = GetWorkflowsResponse{} +func (x *GetTransactionInfoResponse) Reset() { + *x = GetTransactionInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[105] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetWorkflowsResponse) String() string { +func (x *GetTransactionInfoResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetWorkflowsResponse) ProtoMessage() {} +func (*GetTransactionInfoResponse) ProtoMessage() {} -func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[105] +func (x *GetTransactionInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[121] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6898,47 +8009,51 @@ func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetWorkflowsResponse.ProtoReflect.Descriptor instead. -func (*GetWorkflowsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{105} +// Deprecated: Use GetTransactionInfoResponse.ProtoReflect.Descriptor instead. +func (*GetTransactionInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{121} } -func (x *GetWorkflowsResponse) GetWorkflows() []*Workflow { +func (x *GetTransactionInfoResponse) GetMetadata() *dev6.TransactionMetadata { if x != nil { - return x.Workflows + return x.Metadata } return nil } -type InitShardPrimaryRequest struct { +func (x *GetTransactionInfoResponse) GetShardStates() []*ShardTransactionState { + if x != nil { + return x.ShardStates + } + return nil +} + +type ConcludeTransactionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - PrimaryElectTabletAlias *dev2.TabletAlias `protobuf:"bytes,3,opt,name=primary_elect_tablet_alias,json=primaryElectTabletAlias,proto3" json:"primary_elect_tablet_alias,omitempty"` - Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` - WaitReplicasTimeout *dev3.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` + Dtid string `protobuf:"bytes,1,opt,name=dtid,proto3" json:"dtid,omitempty"` + Participants []*dev6.Target `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"` } -func (x *InitShardPrimaryRequest) Reset() { - *x = InitShardPrimaryRequest{} +func (x *ConcludeTransactionRequest) Reset() { + *x = ConcludeTransactionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[106] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InitShardPrimaryRequest) String() string { +func (x *ConcludeTransactionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InitShardPrimaryRequest) ProtoMessage() {} +func (*ConcludeTransactionRequest) ProtoMessage() {} -func (x *InitShardPrimaryRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[106] +func (x *ConcludeTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[122] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6949,71 +8064,48 @@ func (x *InitShardPrimaryRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InitShardPrimaryRequest.ProtoReflect.Descriptor instead. -func (*InitShardPrimaryRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{106} -} - -func (x *InitShardPrimaryRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +// Deprecated: Use ConcludeTransactionRequest.ProtoReflect.Descriptor instead. +func (*ConcludeTransactionRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{122} } -func (x *InitShardPrimaryRequest) GetShard() string { +func (x *ConcludeTransactionRequest) GetDtid() string { if x != nil { - return x.Shard + return x.Dtid } return "" } -func (x *InitShardPrimaryRequest) GetPrimaryElectTabletAlias() *dev2.TabletAlias { - if x != nil { - return x.PrimaryElectTabletAlias - } - return nil -} - -func (x *InitShardPrimaryRequest) GetForce() bool { - if x != nil { - return x.Force - } - return false -} - -func (x *InitShardPrimaryRequest) GetWaitReplicasTimeout() *dev3.Duration { +func (x *ConcludeTransactionRequest) GetParticipants() []*dev6.Target { if x != nil { - return x.WaitReplicasTimeout + return x.Participants } return nil } -type InitShardPrimaryResponse struct { +type ConcludeTransactionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Events []*dev.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` } -func (x *InitShardPrimaryResponse) Reset() { - *x = InitShardPrimaryResponse{} +func (x *ConcludeTransactionResponse) Reset() { + *x = ConcludeTransactionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[107] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InitShardPrimaryResponse) String() string { +func (x *ConcludeTransactionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InitShardPrimaryResponse) ProtoMessage() {} +func (*ConcludeTransactionResponse) ProtoMessage() {} -func (x *InitShardPrimaryResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[107] +func (x *ConcludeTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[123] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7024,44 +8116,36 @@ func (x *InitShardPrimaryResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InitShardPrimaryResponse.ProtoReflect.Descriptor instead. -func (*InitShardPrimaryResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{107} -} - -func (x *InitShardPrimaryResponse) GetEvents() []*dev.Event { - if x != nil { - return x.Events - } - return nil +// Deprecated: Use ConcludeTransactionResponse.ProtoReflect.Descriptor instead. +func (*ConcludeTransactionResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{123} } -type LaunchSchemaMigrationRequest struct { +type GetVSchemaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` } -func (x *LaunchSchemaMigrationRequest) Reset() { - *x = LaunchSchemaMigrationRequest{} +func (x *GetVSchemaRequest) Reset() { + *x = GetVSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[108] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *LaunchSchemaMigrationRequest) String() string { +func (x *GetVSchemaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LaunchSchemaMigrationRequest) ProtoMessage() {} +func (*GetVSchemaRequest) ProtoMessage() {} -func (x *LaunchSchemaMigrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[108] +func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[124] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7072,50 +8156,43 @@ func (x *LaunchSchemaMigrationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LaunchSchemaMigrationRequest.ProtoReflect.Descriptor instead. -func (*LaunchSchemaMigrationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{108} +// Deprecated: Use GetVSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{124} } -func (x *LaunchSchemaMigrationRequest) GetKeyspace() string { +func (x *GetVSchemaRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *LaunchSchemaMigrationRequest) GetUuid() string { - if x != nil { - return x.Uuid - } - return "" -} - -type LaunchSchemaMigrationResponse struct { +type GetVersionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` } -func (x *LaunchSchemaMigrationResponse) Reset() { - *x = LaunchSchemaMigrationResponse{} +func (x *GetVersionRequest) Reset() { + *x = GetVersionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[109] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *LaunchSchemaMigrationResponse) String() string { +func (x *GetVersionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LaunchSchemaMigrationResponse) ProtoMessage() {} +func (*GetVersionRequest) ProtoMessage() {} -func (x *LaunchSchemaMigrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[109] +func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[125] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7126,49 +8203,43 @@ func (x *LaunchSchemaMigrationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LaunchSchemaMigrationResponse.ProtoReflect.Descriptor instead. -func (*LaunchSchemaMigrationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{109} +// Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead. +func (*GetVersionRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{125} } -func (x *LaunchSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { +func (x *GetVersionRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.RowsAffectedByShard + return x.TabletAlias } return nil } -type LookupVindexCreateRequest struct { +type GetVersionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` - Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` - Vindex *dev4.Keyspace `protobuf:"bytes,4,opt,name=vindex,proto3" json:"vindex,omitempty"` - ContinueAfterCopyWithOwner bool `protobuf:"varint,5,opt,name=continue_after_copy_with_owner,json=continueAfterCopyWithOwner,proto3" json:"continue_after_copy_with_owner,omitempty"` - TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` } -func (x *LookupVindexCreateRequest) Reset() { - *x = LookupVindexCreateRequest{} +func (x *GetVersionResponse) Reset() { + *x = GetVersionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[110] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *LookupVindexCreateRequest) String() string { +func (x *GetVersionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LookupVindexCreateRequest) ProtoMessage() {} +func (*GetVersionResponse) ProtoMessage() {} -func (x *LookupVindexCreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[110] +func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[126] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7179,83 +8250,43 @@ func (x *LookupVindexCreateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LookupVindexCreateRequest.ProtoReflect.Descriptor instead. -func (*LookupVindexCreateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{110} -} - -func (x *LookupVindexCreateRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +// Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead. +func (*GetVersionResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{126} } -func (x *LookupVindexCreateRequest) GetWorkflow() string { +func (x *GetVersionResponse) GetVersion() string { if x != nil { - return x.Workflow + return x.Version } return "" } -func (x *LookupVindexCreateRequest) GetCells() []string { - if x != nil { - return x.Cells - } - return nil -} - -func (x *LookupVindexCreateRequest) GetVindex() *dev4.Keyspace { - if x != nil { - return x.Vindex - } - return nil -} - -func (x *LookupVindexCreateRequest) GetContinueAfterCopyWithOwner() bool { - if x != nil { - return x.ContinueAfterCopyWithOwner - } - return false -} - -func (x *LookupVindexCreateRequest) GetTabletTypes() []dev2.TabletType { - if x != nil { - return x.TabletTypes - } - return nil -} - -func (x *LookupVindexCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { - if x != nil { - return x.TabletSelectionPreference - } - return dev1.TabletSelectionPreference(0) -} - -type LookupVindexCreateResponse struct { +type GetVSchemaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + VSchema *dev4.Keyspace `protobuf:"bytes,1,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` } -func (x *LookupVindexCreateResponse) Reset() { - *x = LookupVindexCreateResponse{} +func (x *GetVSchemaResponse) Reset() { + *x = GetVSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[111] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *LookupVindexCreateResponse) String() string { +func (x *GetVSchemaResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LookupVindexCreateResponse) ProtoMessage() {} +func (*GetVSchemaResponse) ProtoMessage() {} -func (x *LookupVindexCreateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[111] +func (x *GetVSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[127] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7266,41 +8297,49 @@ func (x *LookupVindexCreateResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LookupVindexCreateResponse.ProtoReflect.Descriptor instead. -func (*LookupVindexCreateResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{111} +// Deprecated: Use GetVSchemaResponse.ProtoReflect.Descriptor instead. +func (*GetVSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{127} } -type LookupVindexExternalizeRequest struct { +func (x *GetVSchemaResponse) GetVSchema() *dev4.Keyspace { + if x != nil { + return x.VSchema + } + return nil +} + +type GetWorkflowsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Where the lookup vindex lives. - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - // This is the name of the lookup vindex and the vreplication workflow. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Where the vreplication workflow lives. - TableKeyspace string `protobuf:"bytes,3,opt,name=table_keyspace,json=tableKeyspace,proto3" json:"table_keyspace,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` + NameOnly bool `protobuf:"varint,3,opt,name=name_only,json=nameOnly,proto3" json:"name_only,omitempty"` + // If you only want a specific workflow then set this field. + Workflow string `protobuf:"bytes,4,opt,name=workflow,proto3" json:"workflow,omitempty"` + IncludeLogs bool `protobuf:"varint,5,opt,name=include_logs,json=includeLogs,proto3" json:"include_logs,omitempty"` + Shards []string `protobuf:"bytes,6,rep,name=shards,proto3" json:"shards,omitempty"` } -func (x *LookupVindexExternalizeRequest) Reset() { - *x = LookupVindexExternalizeRequest{} +func (x *GetWorkflowsRequest) Reset() { + *x = GetWorkflowsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[112] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *LookupVindexExternalizeRequest) String() string { +func (x *GetWorkflowsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LookupVindexExternalizeRequest) ProtoMessage() {} +func (*GetWorkflowsRequest) ProtoMessage() {} -func (x *LookupVindexExternalizeRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[112] +func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[128] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7311,58 +8350,78 @@ func (x *LookupVindexExternalizeRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LookupVindexExternalizeRequest.ProtoReflect.Descriptor instead. -func (*LookupVindexExternalizeRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{112} +// Deprecated: Use GetWorkflowsRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{128} } -func (x *LookupVindexExternalizeRequest) GetKeyspace() string { +func (x *GetWorkflowsRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *LookupVindexExternalizeRequest) GetName() string { +func (x *GetWorkflowsRequest) GetActiveOnly() bool { if x != nil { - return x.Name + return x.ActiveOnly } - return "" + return false } -func (x *LookupVindexExternalizeRequest) GetTableKeyspace() string { +func (x *GetWorkflowsRequest) GetNameOnly() bool { if x != nil { - return x.TableKeyspace + return x.NameOnly + } + return false +} + +func (x *GetWorkflowsRequest) GetWorkflow() string { + if x != nil { + return x.Workflow } return "" } -type LookupVindexExternalizeResponse struct { +func (x *GetWorkflowsRequest) GetIncludeLogs() bool { + if x != nil { + return x.IncludeLogs + } + return false +} + +func (x *GetWorkflowsRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +type GetWorkflowsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Was the workflow also deleted. - WorkflowDeleted bool `protobuf:"varint,1,opt,name=workflow_deleted,json=workflowDeleted,proto3" json:"workflow_deleted,omitempty"` + Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"` } -func (x *LookupVindexExternalizeResponse) Reset() { - *x = LookupVindexExternalizeResponse{} +func (x *GetWorkflowsResponse) Reset() { + *x = GetWorkflowsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[113] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *LookupVindexExternalizeResponse) String() string { +func (x *GetWorkflowsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LookupVindexExternalizeResponse) ProtoMessage() {} +func (*GetWorkflowsResponse) ProtoMessage() {} -func (x *LookupVindexExternalizeResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[113] +func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[129] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7373,43 +8432,47 @@ func (x *LookupVindexExternalizeResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LookupVindexExternalizeResponse.ProtoReflect.Descriptor instead. -func (*LookupVindexExternalizeResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{113} +// Deprecated: Use GetWorkflowsResponse.ProtoReflect.Descriptor instead. +func (*GetWorkflowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{129} } -func (x *LookupVindexExternalizeResponse) GetWorkflowDeleted() bool { +func (x *GetWorkflowsResponse) GetWorkflows() []*Workflow { if x != nil { - return x.WorkflowDeleted + return x.Workflows } - return false + return nil } -type MaterializeCreateRequest struct { +type InitShardPrimaryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Settings *MaterializeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + PrimaryElectTabletAlias *dev2.TabletAlias `protobuf:"bytes,3,opt,name=primary_elect_tablet_alias,json=primaryElectTabletAlias,proto3" json:"primary_elect_tablet_alias,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` + WaitReplicasTimeout *dev3.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` } -func (x *MaterializeCreateRequest) Reset() { - *x = MaterializeCreateRequest{} +func (x *InitShardPrimaryRequest) Reset() { + *x = InitShardPrimaryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[114] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MaterializeCreateRequest) String() string { +func (x *InitShardPrimaryRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MaterializeCreateRequest) ProtoMessage() {} +func (*InitShardPrimaryRequest) ProtoMessage() {} -func (x *MaterializeCreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[114] +func (x *InitShardPrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[130] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7420,41 +8483,71 @@ func (x *MaterializeCreateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MaterializeCreateRequest.ProtoReflect.Descriptor instead. -func (*MaterializeCreateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{114} +// Deprecated: Use InitShardPrimaryRequest.ProtoReflect.Descriptor instead. +func (*InitShardPrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{130} } -func (x *MaterializeCreateRequest) GetSettings() *MaterializeSettings { +func (x *InitShardPrimaryRequest) GetKeyspace() string { if x != nil { - return x.Settings + return x.Keyspace + } + return "" +} + +func (x *InitShardPrimaryRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *InitShardPrimaryRequest) GetPrimaryElectTabletAlias() *dev2.TabletAlias { + if x != nil { + return x.PrimaryElectTabletAlias } return nil } -type MaterializeCreateResponse struct { +func (x *InitShardPrimaryRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *InitShardPrimaryRequest) GetWaitReplicasTimeout() *dev3.Duration { + if x != nil { + return x.WaitReplicasTimeout + } + return nil +} + +type InitShardPrimaryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Events []*dev.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` } -func (x *MaterializeCreateResponse) Reset() { - *x = MaterializeCreateResponse{} +func (x *InitShardPrimaryResponse) Reset() { + *x = InitShardPrimaryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[115] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MaterializeCreateResponse) String() string { +func (x *InitShardPrimaryResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MaterializeCreateResponse) ProtoMessage() {} +func (*InitShardPrimaryResponse) ProtoMessage() {} -func (x *MaterializeCreateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[115] +func (x *InitShardPrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[131] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7465,61 +8558,44 @@ func (x *MaterializeCreateResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MaterializeCreateResponse.ProtoReflect.Descriptor instead. -func (*MaterializeCreateResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{115} +// Deprecated: Use InitShardPrimaryResponse.ProtoReflect.Descriptor instead. +func (*InitShardPrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{131} } -type MigrateCreateRequest struct { +func (x *InitShardPrimaryResponse) GetEvents() []*dev.Event { + if x != nil { + return x.Events + } + return nil +} + +type LaunchSchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The necessary info gets passed on to each primary tablet involved - // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - SourceKeyspace string `protobuf:"bytes,2,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` - TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` - MountName string `protobuf:"bytes,4,opt,name=mount_name,json=mountName,proto3" json:"mount_name,omitempty"` - Cells []string `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"` - TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` - AllTables bool `protobuf:"varint,8,opt,name=all_tables,json=allTables,proto3" json:"all_tables,omitempty"` - IncludeTables []string `protobuf:"bytes,9,rep,name=include_tables,json=includeTables,proto3" json:"include_tables,omitempty"` - ExcludeTables []string `protobuf:"bytes,10,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` - // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables - SourceTimeZone string `protobuf:"bytes,11,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` - // OnDdl specifies the action to be taken when a DDL is encountered. - OnDdl string `protobuf:"bytes,12,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` - // StopAfterCopy specifies if vreplication should be stopped after copying. - StopAfterCopy bool `protobuf:"varint,13,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` - // DropForeignKeys specifies if foreign key constraints should be elided on the target. - DropForeignKeys bool `protobuf:"varint,14,opt,name=drop_foreign_keys,json=dropForeignKeys,proto3" json:"drop_foreign_keys,omitempty"` - // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. - DeferSecondaryKeys bool `protobuf:"varint,15,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` - // Start the workflow after creating it. - AutoStart bool `protobuf:"varint,16,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` - // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. - NoRoutingRules bool `protobuf:"varint,17,opt,name=no_routing_rules,json=noRoutingRules,proto3" json:"no_routing_rules,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` } -func (x *MigrateCreateRequest) Reset() { - *x = MigrateCreateRequest{} +func (x *LaunchSchemaMigrationRequest) Reset() { + *x = LaunchSchemaMigrationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[116] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MigrateCreateRequest) String() string { +func (x *LaunchSchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MigrateCreateRequest) ProtoMessage() {} +func (*LaunchSchemaMigrationRequest) ProtoMessage() {} -func (x *MigrateCreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[116] +func (x *LaunchSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[132] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7530,160 +8606,190 @@ func (x *MigrateCreateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MigrateCreateRequest.ProtoReflect.Descriptor instead. -func (*MigrateCreateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{116} +// Deprecated: Use LaunchSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*LaunchSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{132} } -func (x *MigrateCreateRequest) GetWorkflow() string { +func (x *LaunchSchemaMigrationRequest) GetKeyspace() string { if x != nil { - return x.Workflow + return x.Keyspace } return "" } -func (x *MigrateCreateRequest) GetSourceKeyspace() string { +func (x *LaunchSchemaMigrationRequest) GetUuid() string { if x != nil { - return x.SourceKeyspace + return x.Uuid } return "" } -func (x *MigrateCreateRequest) GetTargetKeyspace() string { - if x != nil { - return x.TargetKeyspace - } - return "" +type LaunchSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (x *MigrateCreateRequest) GetMountName() string { - if x != nil { - return x.MountName +func (x *LaunchSchemaMigrationResponse) Reset() { + *x = LaunchSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *MigrateCreateRequest) GetCells() []string { - if x != nil { - return x.Cells +func (x *LaunchSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LaunchSchemaMigrationResponse) ProtoMessage() {} + +func (x *LaunchSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[133] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *MigrateCreateRequest) GetTabletTypes() []dev2.TabletType { +// Deprecated: Use LaunchSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*LaunchSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{133} +} + +func (x *LaunchSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { if x != nil { - return x.TabletTypes + return x.RowsAffectedByShard } return nil } -func (x *MigrateCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { - if x != nil { - return x.TabletSelectionPreference - } - return dev1.TabletSelectionPreference(0) +type LookupVindexCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + Vindex *dev4.Keyspace `protobuf:"bytes,4,opt,name=vindex,proto3" json:"vindex,omitempty"` + ContinueAfterCopyWithOwner bool `protobuf:"varint,5,opt,name=continue_after_copy_with_owner,json=continueAfterCopyWithOwner,proto3" json:"continue_after_copy_with_owner,omitempty"` + TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` } -func (x *MigrateCreateRequest) GetAllTables() bool { - if x != nil { - return x.AllTables +func (x *LookupVindexCreateRequest) Reset() { + *x = LookupVindexCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *MigrateCreateRequest) GetIncludeTables() []string { - if x != nil { - return x.IncludeTables - } - return nil +func (x *LookupVindexCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *MigrateCreateRequest) GetExcludeTables() []string { - if x != nil { - return x.ExcludeTables +func (*LookupVindexCreateRequest) ProtoMessage() {} + +func (x *LookupVindexCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[134] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *MigrateCreateRequest) GetSourceTimeZone() string { +// Deprecated: Use LookupVindexCreateRequest.ProtoReflect.Descriptor instead. +func (*LookupVindexCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{134} +} + +func (x *LookupVindexCreateRequest) GetKeyspace() string { if x != nil { - return x.SourceTimeZone + return x.Keyspace } return "" } -func (x *MigrateCreateRequest) GetOnDdl() string { +func (x *LookupVindexCreateRequest) GetWorkflow() string { if x != nil { - return x.OnDdl + return x.Workflow } return "" } -func (x *MigrateCreateRequest) GetStopAfterCopy() bool { +func (x *LookupVindexCreateRequest) GetCells() []string { if x != nil { - return x.StopAfterCopy + return x.Cells } - return false + return nil } -func (x *MigrateCreateRequest) GetDropForeignKeys() bool { +func (x *LookupVindexCreateRequest) GetVindex() *dev4.Keyspace { if x != nil { - return x.DropForeignKeys + return x.Vindex } - return false + return nil } -func (x *MigrateCreateRequest) GetDeferSecondaryKeys() bool { +func (x *LookupVindexCreateRequest) GetContinueAfterCopyWithOwner() bool { if x != nil { - return x.DeferSecondaryKeys + return x.ContinueAfterCopyWithOwner } return false } -func (x *MigrateCreateRequest) GetAutoStart() bool { +func (x *LookupVindexCreateRequest) GetTabletTypes() []dev2.TabletType { if x != nil { - return x.AutoStart + return x.TabletTypes } - return false + return nil } -func (x *MigrateCreateRequest) GetNoRoutingRules() bool { +func (x *LookupVindexCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { if x != nil { - return x.NoRoutingRules + return x.TabletSelectionPreference } - return false + return dev1.TabletSelectionPreference(0) } -type MigrateCompleteRequest struct { +type LookupVindexCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` - KeepData bool `protobuf:"varint,4,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` - KeepRoutingRules bool `protobuf:"varint,5,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` - RenameTables bool `protobuf:"varint,6,opt,name=rename_tables,json=renameTables,proto3" json:"rename_tables,omitempty"` - DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` } -func (x *MigrateCompleteRequest) Reset() { - *x = MigrateCompleteRequest{} +func (x *LookupVindexCreateResponse) Reset() { + *x = LookupVindexCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[117] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MigrateCompleteRequest) String() string { +func (x *LookupVindexCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MigrateCompleteRequest) ProtoMessage() {} +func (*LookupVindexCreateResponse) ProtoMessage() {} -func (x *MigrateCompleteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[117] +func (x *LookupVindexCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[135] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7694,79 +8800,103 @@ func (x *MigrateCompleteRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MigrateCompleteRequest.ProtoReflect.Descriptor instead. -func (*MigrateCompleteRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{117} +// Deprecated: Use LookupVindexCreateResponse.ProtoReflect.Descriptor instead. +func (*LookupVindexCreateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{135} } -func (x *MigrateCompleteRequest) GetWorkflow() string { - if x != nil { - return x.Workflow - } - return "" +type LookupVindexExternalizeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Where the lookup vindex lives. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // This is the name of the lookup vindex and the vreplication workflow. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Where the vreplication workflow lives. + TableKeyspace string `protobuf:"bytes,3,opt,name=table_keyspace,json=tableKeyspace,proto3" json:"table_keyspace,omitempty"` } -func (x *MigrateCompleteRequest) GetTargetKeyspace() string { - if x != nil { - return x.TargetKeyspace +func (x *LookupVindexExternalizeRequest) Reset() { + *x = LookupVindexExternalizeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *MigrateCompleteRequest) GetKeepData() bool { - if x != nil { - return x.KeepData +func (x *LookupVindexExternalizeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LookupVindexExternalizeRequest) ProtoMessage() {} + +func (x *LookupVindexExternalizeRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[136] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -func (x *MigrateCompleteRequest) GetKeepRoutingRules() bool { +// Deprecated: Use LookupVindexExternalizeRequest.ProtoReflect.Descriptor instead. +func (*LookupVindexExternalizeRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{136} +} + +func (x *LookupVindexExternalizeRequest) GetKeyspace() string { if x != nil { - return x.KeepRoutingRules + return x.Keyspace } - return false + return "" } -func (x *MigrateCompleteRequest) GetRenameTables() bool { +func (x *LookupVindexExternalizeRequest) GetName() string { if x != nil { - return x.RenameTables + return x.Name } - return false + return "" } -func (x *MigrateCompleteRequest) GetDryRun() bool { +func (x *LookupVindexExternalizeRequest) GetTableKeyspace() string { if x != nil { - return x.DryRun + return x.TableKeyspace } - return false + return "" } -type MigrateCompleteResponse struct { +type LookupVindexExternalizeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` - DryRunResults []string `protobuf:"bytes,2,rep,name=dry_run_results,json=dryRunResults,proto3" json:"dry_run_results,omitempty"` + // Was the workflow also deleted. + WorkflowDeleted bool `protobuf:"varint,1,opt,name=workflow_deleted,json=workflowDeleted,proto3" json:"workflow_deleted,omitempty"` } -func (x *MigrateCompleteResponse) Reset() { - *x = MigrateCompleteResponse{} +func (x *LookupVindexExternalizeResponse) Reset() { + *x = LookupVindexExternalizeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[118] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MigrateCompleteResponse) String() string { +func (x *LookupVindexExternalizeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MigrateCompleteResponse) ProtoMessage() {} +func (*LookupVindexExternalizeResponse) ProtoMessage() {} -func (x *MigrateCompleteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[118] +func (x *LookupVindexExternalizeResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[137] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7777,53 +8907,43 @@ func (x *MigrateCompleteResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MigrateCompleteResponse.ProtoReflect.Descriptor instead. -func (*MigrateCompleteResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{118} -} - -func (x *MigrateCompleteResponse) GetSummary() string { - if x != nil { - return x.Summary - } - return "" +// Deprecated: Use LookupVindexExternalizeResponse.ProtoReflect.Descriptor instead. +func (*LookupVindexExternalizeResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{137} } -func (x *MigrateCompleteResponse) GetDryRunResults() []string { +func (x *LookupVindexExternalizeResponse) GetWorkflowDeleted() bool { if x != nil { - return x.DryRunResults + return x.WorkflowDeleted } - return nil + return false } -type MountRegisterRequest struct { +type MaterializeCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` - TopoServer string `protobuf:"bytes,2,opt,name=topo_server,json=topoServer,proto3" json:"topo_server,omitempty"` - TopoRoot string `protobuf:"bytes,3,opt,name=topo_root,json=topoRoot,proto3" json:"topo_root,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Settings *MaterializeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` } -func (x *MountRegisterRequest) Reset() { - *x = MountRegisterRequest{} +func (x *MaterializeCreateRequest) Reset() { + *x = MaterializeCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[119] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MountRegisterRequest) String() string { +func (x *MaterializeCreateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MountRegisterRequest) ProtoMessage() {} +func (*MaterializeCreateRequest) ProtoMessage() {} -func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[119] +func (x *MaterializeCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[138] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7834,62 +8954,41 @@ func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MountRegisterRequest.ProtoReflect.Descriptor instead. -func (*MountRegisterRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{119} +// Deprecated: Use MaterializeCreateRequest.ProtoReflect.Descriptor instead. +func (*MaterializeCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{138} } -func (x *MountRegisterRequest) GetTopoType() string { +func (x *MaterializeCreateRequest) GetSettings() *MaterializeSettings { if x != nil { - return x.TopoType - } - return "" -} - -func (x *MountRegisterRequest) GetTopoServer() string { - if x != nil { - return x.TopoServer - } - return "" -} - -func (x *MountRegisterRequest) GetTopoRoot() string { - if x != nil { - return x.TopoRoot - } - return "" -} - -func (x *MountRegisterRequest) GetName() string { - if x != nil { - return x.Name + return x.Settings } - return "" + return nil } -type MountRegisterResponse struct { +type MaterializeCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MountRegisterResponse) Reset() { - *x = MountRegisterResponse{} +func (x *MaterializeCreateResponse) Reset() { + *x = MaterializeCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[120] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MountRegisterResponse) String() string { +func (x *MaterializeCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MountRegisterResponse) ProtoMessage() {} +func (*MaterializeCreateResponse) ProtoMessage() {} -func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[120] +func (x *MaterializeCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[139] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7900,36 +8999,61 @@ func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MountRegisterResponse.ProtoReflect.Descriptor instead. -func (*MountRegisterResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{120} +// Deprecated: Use MaterializeCreateResponse.ProtoReflect.Descriptor instead. +func (*MaterializeCreateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{139} } -type MountUnregisterRequest struct { +type MigrateCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // The necessary info gets passed on to each primary tablet involved + // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + SourceKeyspace string `protobuf:"bytes,2,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + MountName string `protobuf:"bytes,4,opt,name=mount_name,json=mountName,proto3" json:"mount_name,omitempty"` + Cells []string `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + AllTables bool `protobuf:"varint,8,opt,name=all_tables,json=allTables,proto3" json:"all_tables,omitempty"` + IncludeTables []string `protobuf:"bytes,9,rep,name=include_tables,json=includeTables,proto3" json:"include_tables,omitempty"` + ExcludeTables []string `protobuf:"bytes,10,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + SourceTimeZone string `protobuf:"bytes,11,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl string `protobuf:"bytes,12,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` + // StopAfterCopy specifies if vreplication should be stopped after copying. + StopAfterCopy bool `protobuf:"varint,13,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + // DropForeignKeys specifies if foreign key constraints should be elided on the target. + DropForeignKeys bool `protobuf:"varint,14,opt,name=drop_foreign_keys,json=dropForeignKeys,proto3" json:"drop_foreign_keys,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,15,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // Start the workflow after creating it. + AutoStart bool `protobuf:"varint,16,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` + // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. + NoRoutingRules bool `protobuf:"varint,17,opt,name=no_routing_rules,json=noRoutingRules,proto3" json:"no_routing_rules,omitempty"` } -func (x *MountUnregisterRequest) Reset() { - *x = MountUnregisterRequest{} +func (x *MigrateCreateRequest) Reset() { + *x = MigrateCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[121] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MountUnregisterRequest) String() string { +func (x *MigrateCreateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MountUnregisterRequest) ProtoMessage() {} +func (*MigrateCreateRequest) ProtoMessage() {} -func (x *MountUnregisterRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[121] +func (x *MigrateCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[140] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7940,131 +9064,160 @@ func (x *MountUnregisterRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MountUnregisterRequest.ProtoReflect.Descriptor instead. -func (*MountUnregisterRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{121} +// Deprecated: Use MigrateCreateRequest.ProtoReflect.Descriptor instead. +func (*MigrateCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{140} } -func (x *MountUnregisterRequest) GetName() string { +func (x *MigrateCreateRequest) GetWorkflow() string { if x != nil { - return x.Name + return x.Workflow } return "" } -type MountUnregisterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *MigrateCreateRequest) GetSourceKeyspace() string { + if x != nil { + return x.SourceKeyspace + } + return "" } -func (x *MountUnregisterResponse) Reset() { - *x = MountUnregisterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MigrateCreateRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace } + return "" } -func (x *MountUnregisterResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *MigrateCreateRequest) GetMountName() string { + if x != nil { + return x.MountName + } + return "" } -func (*MountUnregisterResponse) ProtoMessage() {} +func (x *MigrateCreateRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} -func (x *MountUnregisterResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[122] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MigrateCreateRequest) GetTabletTypes() []dev2.TabletType { + if x != nil { + return x.TabletTypes } - return mi.MessageOf(x) + return nil } -// Deprecated: Use MountUnregisterResponse.ProtoReflect.Descriptor instead. -func (*MountUnregisterResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{122} +func (x *MigrateCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return dev1.TabletSelectionPreference(0) } -type MountShowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *MigrateCreateRequest) GetAllTables() bool { + if x != nil { + return x.AllTables + } + return false +} - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +func (x *MigrateCreateRequest) GetIncludeTables() []string { + if x != nil { + return x.IncludeTables + } + return nil } -func (x *MountShowRequest) Reset() { - *x = MountShowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MigrateCreateRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables } + return nil } -func (x *MountShowRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *MigrateCreateRequest) GetSourceTimeZone() string { + if x != nil { + return x.SourceTimeZone + } + return "" } -func (*MountShowRequest) ProtoMessage() {} +func (x *MigrateCreateRequest) GetOnDdl() string { + if x != nil { + return x.OnDdl + } + return "" +} -func (x *MountShowRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[123] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MigrateCreateRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy } - return mi.MessageOf(x) + return false } -// Deprecated: Use MountShowRequest.ProtoReflect.Descriptor instead. -func (*MountShowRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{123} +func (x *MigrateCreateRequest) GetDropForeignKeys() bool { + if x != nil { + return x.DropForeignKeys + } + return false } -func (x *MountShowRequest) GetName() string { +func (x *MigrateCreateRequest) GetDeferSecondaryKeys() bool { if x != nil { - return x.Name + return x.DeferSecondaryKeys } - return "" + return false } -type MountShowResponse struct { +func (x *MigrateCreateRequest) GetAutoStart() bool { + if x != nil { + return x.AutoStart + } + return false +} + +func (x *MigrateCreateRequest) GetNoRoutingRules() bool { + if x != nil { + return x.NoRoutingRules + } + return false +} + +type MigrateCompleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` - TopoServer string `protobuf:"bytes,2,opt,name=topo_server,json=topoServer,proto3" json:"topo_server,omitempty"` - TopoRoot string `protobuf:"bytes,3,opt,name=topo_root,json=topoRoot,proto3" json:"topo_root,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + KeepData bool `protobuf:"varint,4,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` + KeepRoutingRules bool `protobuf:"varint,5,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` + RenameTables bool `protobuf:"varint,6,opt,name=rename_tables,json=renameTables,proto3" json:"rename_tables,omitempty"` + DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` } -func (x *MountShowResponse) Reset() { - *x = MountShowResponse{} +func (x *MigrateCompleteRequest) Reset() { + *x = MigrateCompleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[124] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MountShowResponse) String() string { +func (x *MigrateCompleteRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MountShowResponse) ProtoMessage() {} +func (*MigrateCompleteRequest) ProtoMessage() {} -func (x *MountShowResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[124] +func (x *MigrateCompleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[141] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8075,102 +9228,79 @@ func (x *MountShowResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MountShowResponse.ProtoReflect.Descriptor instead. -func (*MountShowResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{124} +// Deprecated: Use MigrateCompleteRequest.ProtoReflect.Descriptor instead. +func (*MigrateCompleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{141} } -func (x *MountShowResponse) GetTopoType() string { +func (x *MigrateCompleteRequest) GetWorkflow() string { if x != nil { - return x.TopoType + return x.Workflow } return "" } -func (x *MountShowResponse) GetTopoServer() string { +func (x *MigrateCompleteRequest) GetTargetKeyspace() string { if x != nil { - return x.TopoServer + return x.TargetKeyspace } return "" } -func (x *MountShowResponse) GetTopoRoot() string { +func (x *MigrateCompleteRequest) GetKeepData() bool { if x != nil { - return x.TopoRoot + return x.KeepData } - return "" + return false } -func (x *MountShowResponse) GetName() string { +func (x *MigrateCompleteRequest) GetKeepRoutingRules() bool { if x != nil { - return x.Name + return x.KeepRoutingRules } - return "" -} - -type MountListRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + return false } -func (x *MountListRequest) Reset() { - *x = MountListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[125] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MigrateCompleteRequest) GetRenameTables() bool { + if x != nil { + return x.RenameTables } + return false } -func (x *MountListRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MountListRequest) ProtoMessage() {} - -func (x *MountListRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[125] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MigrateCompleteRequest) GetDryRun() bool { + if x != nil { + return x.DryRun } - return mi.MessageOf(x) -} - -// Deprecated: Use MountListRequest.ProtoReflect.Descriptor instead. -func (*MountListRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{125} + return false } -type MountListResponse struct { +type MigrateCompleteResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + DryRunResults []string `protobuf:"bytes,2,rep,name=dry_run_results,json=dryRunResults,proto3" json:"dry_run_results,omitempty"` } -func (x *MountListResponse) Reset() { - *x = MountListResponse{} +func (x *MigrateCompleteResponse) Reset() { + *x = MigrateCompleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[126] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MountListResponse) String() string { +func (x *MigrateCompleteResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MountListResponse) ProtoMessage() {} +func (*MigrateCompleteResponse) ProtoMessage() {} -func (x *MountListResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[126] +func (x *MigrateCompleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[142] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8181,72 +9311,53 @@ func (x *MountListResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MountListResponse.ProtoReflect.Descriptor instead. -func (*MountListResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{126} +// Deprecated: Use MigrateCompleteResponse.ProtoReflect.Descriptor instead. +func (*MigrateCompleteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{142} } -func (x *MountListResponse) GetNames() []string { +func (x *MigrateCompleteResponse) GetSummary() string { if x != nil { - return x.Names + return x.Summary + } + return "" +} + +func (x *MigrateCompleteResponse) GetDryRunResults() []string { + if x != nil { + return x.DryRunResults } return nil } -type MoveTablesCreateRequest struct { +type MountRegisterRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The necessary info gets passed on to each primary tablet involved - // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - SourceKeyspace string `protobuf:"bytes,2,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` - TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` - Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` - TabletTypes []dev2.TabletType `protobuf:"varint,5,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,6,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` - SourceShards []string `protobuf:"bytes,7,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` - AllTables bool `protobuf:"varint,8,opt,name=all_tables,json=allTables,proto3" json:"all_tables,omitempty"` - IncludeTables []string `protobuf:"bytes,9,rep,name=include_tables,json=includeTables,proto3" json:"include_tables,omitempty"` - ExcludeTables []string `protobuf:"bytes,10,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` - // The name of the external cluster mounted in topo server. - ExternalClusterName string `protobuf:"bytes,11,opt,name=external_cluster_name,json=externalClusterName,proto3" json:"external_cluster_name,omitempty"` - // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables - SourceTimeZone string `protobuf:"bytes,12,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` - // OnDdl specifies the action to be taken when a DDL is encountered. - OnDdl string `protobuf:"bytes,13,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` - // StopAfterCopy specifies if vreplication should be stopped after copying. - StopAfterCopy bool `protobuf:"varint,14,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` - // DropForeignKeys specifies if foreign key constraints should be elided on the target. - DropForeignKeys bool `protobuf:"varint,15,opt,name=drop_foreign_keys,json=dropForeignKeys,proto3" json:"drop_foreign_keys,omitempty"` - // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. - DeferSecondaryKeys bool `protobuf:"varint,16,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` - // Start the workflow after creating it. - AutoStart bool `protobuf:"varint,17,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` - // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. - NoRoutingRules bool `protobuf:"varint,18,opt,name=no_routing_rules,json=noRoutingRules,proto3" json:"no_routing_rules,omitempty"` - // Run a single copy phase for the entire database. - AtomicCopy bool `protobuf:"varint,19,opt,name=atomic_copy,json=atomicCopy,proto3" json:"atomic_copy,omitempty"` + TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` + TopoServer string `protobuf:"bytes,2,opt,name=topo_server,json=topoServer,proto3" json:"topo_server,omitempty"` + TopoRoot string `protobuf:"bytes,3,opt,name=topo_root,json=topoRoot,proto3" json:"topo_root,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` } -func (x *MoveTablesCreateRequest) Reset() { - *x = MoveTablesCreateRequest{} +func (x *MountRegisterRequest) Reset() { + *x = MountRegisterRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[127] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MoveTablesCreateRequest) String() string { +func (x *MountRegisterRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MoveTablesCreateRequest) ProtoMessage() {} +func (*MountRegisterRequest) ProtoMessage() {} -func (x *MoveTablesCreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[127] +func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[143] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8257,170 +9368,187 @@ func (x *MoveTablesCreateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MoveTablesCreateRequest.ProtoReflect.Descriptor instead. -func (*MoveTablesCreateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{127} +// Deprecated: Use MountRegisterRequest.ProtoReflect.Descriptor instead. +func (*MountRegisterRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{143} } -func (x *MoveTablesCreateRequest) GetWorkflow() string { +func (x *MountRegisterRequest) GetTopoType() string { if x != nil { - return x.Workflow + return x.TopoType } return "" } -func (x *MoveTablesCreateRequest) GetSourceKeyspace() string { +func (x *MountRegisterRequest) GetTopoServer() string { if x != nil { - return x.SourceKeyspace + return x.TopoServer } return "" } -func (x *MoveTablesCreateRequest) GetTargetKeyspace() string { +func (x *MountRegisterRequest) GetTopoRoot() string { if x != nil { - return x.TargetKeyspace + return x.TopoRoot } return "" } -func (x *MoveTablesCreateRequest) GetCells() []string { +func (x *MountRegisterRequest) GetName() string { if x != nil { - return x.Cells + return x.Name } - return nil + return "" } -func (x *MoveTablesCreateRequest) GetTabletTypes() []dev2.TabletType { - if x != nil { - return x.TabletTypes - } - return nil +type MountRegisterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *MoveTablesCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { - if x != nil { - return x.TabletSelectionPreference +func (x *MountRegisterResponse) Reset() { + *x = MountRegisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dev1.TabletSelectionPreference(0) } -func (x *MoveTablesCreateRequest) GetSourceShards() []string { - if x != nil { - return x.SourceShards - } - return nil +func (x *MountRegisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *MoveTablesCreateRequest) GetAllTables() bool { - if x != nil { - return x.AllTables +func (*MountRegisterResponse) ProtoMessage() {} + +func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[144] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -func (x *MoveTablesCreateRequest) GetIncludeTables() []string { - if x != nil { - return x.IncludeTables - } - return nil +// Deprecated: Use MountRegisterResponse.ProtoReflect.Descriptor instead. +func (*MountRegisterResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{144} } -func (x *MoveTablesCreateRequest) GetExcludeTables() []string { - if x != nil { - return x.ExcludeTables - } - return nil +type MountUnregisterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` } -func (x *MoveTablesCreateRequest) GetExternalClusterName() string { - if x != nil { - return x.ExternalClusterName +func (x *MountUnregisterRequest) Reset() { + *x = MountUnregisterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *MoveTablesCreateRequest) GetSourceTimeZone() string { - if x != nil { - return x.SourceTimeZone - } - return "" +func (x *MountUnregisterRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *MoveTablesCreateRequest) GetOnDdl() string { - if x != nil { - return x.OnDdl +func (*MountUnregisterRequest) ProtoMessage() {} + +func (x *MountUnregisterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[145] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *MoveTablesCreateRequest) GetStopAfterCopy() bool { - if x != nil { - return x.StopAfterCopy - } - return false +// Deprecated: Use MountUnregisterRequest.ProtoReflect.Descriptor instead. +func (*MountUnregisterRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{145} } -func (x *MoveTablesCreateRequest) GetDropForeignKeys() bool { +func (x *MountUnregisterRequest) GetName() string { if x != nil { - return x.DropForeignKeys + return x.Name } - return false + return "" } -func (x *MoveTablesCreateRequest) GetDeferSecondaryKeys() bool { - if x != nil { - return x.DeferSecondaryKeys - } - return false +type MountUnregisterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *MoveTablesCreateRequest) GetAutoStart() bool { - if x != nil { - return x.AutoStart +func (x *MountUnregisterResponse) Reset() { + *x = MountUnregisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *MoveTablesCreateRequest) GetNoRoutingRules() bool { - if x != nil { - return x.NoRoutingRules - } - return false +func (x *MountUnregisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *MoveTablesCreateRequest) GetAtomicCopy() bool { - if x != nil { - return x.AtomicCopy +func (*MountUnregisterResponse) ProtoMessage() {} + +func (x *MountUnregisterResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[146] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -type MoveTablesCreateResponse struct { +// Deprecated: Use MountUnregisterResponse.ProtoReflect.Descriptor instead. +func (*MountUnregisterResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{146} +} + +type MountShowRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` - Details []*MoveTablesCreateResponse_TabletInfo `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` } -func (x *MoveTablesCreateResponse) Reset() { - *x = MoveTablesCreateResponse{} +func (x *MountShowRequest) Reset() { + *x = MountShowRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[128] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MoveTablesCreateResponse) String() string { +func (x *MountShowRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MoveTablesCreateResponse) ProtoMessage() {} +func (*MountShowRequest) ProtoMessage() {} -func (x *MoveTablesCreateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[128] +func (x *MountShowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[147] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8431,55 +9559,46 @@ func (x *MoveTablesCreateResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MoveTablesCreateResponse.ProtoReflect.Descriptor instead. -func (*MoveTablesCreateResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{128} +// Deprecated: Use MountShowRequest.ProtoReflect.Descriptor instead. +func (*MountShowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{147} } -func (x *MoveTablesCreateResponse) GetSummary() string { +func (x *MountShowRequest) GetName() string { if x != nil { - return x.Summary + return x.Name } return "" } -func (x *MoveTablesCreateResponse) GetDetails() []*MoveTablesCreateResponse_TabletInfo { - if x != nil { - return x.Details - } - return nil -} - -type MoveTablesCompleteRequest struct { +type MountShowResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` - KeepData bool `protobuf:"varint,4,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` - KeepRoutingRules bool `protobuf:"varint,5,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` - RenameTables bool `protobuf:"varint,6,opt,name=rename_tables,json=renameTables,proto3" json:"rename_tables,omitempty"` - DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` + TopoServer string `protobuf:"bytes,2,opt,name=topo_server,json=topoServer,proto3" json:"topo_server,omitempty"` + TopoRoot string `protobuf:"bytes,3,opt,name=topo_root,json=topoRoot,proto3" json:"topo_root,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` } -func (x *MoveTablesCompleteRequest) Reset() { - *x = MoveTablesCompleteRequest{} +func (x *MountShowResponse) Reset() { + *x = MountShowResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[129] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MoveTablesCompleteRequest) String() string { +func (x *MountShowResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MoveTablesCompleteRequest) ProtoMessage() {} +func (*MountShowResponse) ProtoMessage() {} -func (x *MoveTablesCompleteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[129] +func (x *MountShowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[148] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8490,79 +9609,62 @@ func (x *MoveTablesCompleteRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MoveTablesCompleteRequest.ProtoReflect.Descriptor instead. -func (*MoveTablesCompleteRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{129} +// Deprecated: Use MountShowResponse.ProtoReflect.Descriptor instead. +func (*MountShowResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{148} } -func (x *MoveTablesCompleteRequest) GetWorkflow() string { +func (x *MountShowResponse) GetTopoType() string { if x != nil { - return x.Workflow + return x.TopoType } return "" } -func (x *MoveTablesCompleteRequest) GetTargetKeyspace() string { +func (x *MountShowResponse) GetTopoServer() string { if x != nil { - return x.TargetKeyspace + return x.TopoServer } return "" } -func (x *MoveTablesCompleteRequest) GetKeepData() bool { - if x != nil { - return x.KeepData - } - return false -} - -func (x *MoveTablesCompleteRequest) GetKeepRoutingRules() bool { - if x != nil { - return x.KeepRoutingRules - } - return false -} - -func (x *MoveTablesCompleteRequest) GetRenameTables() bool { +func (x *MountShowResponse) GetTopoRoot() string { if x != nil { - return x.RenameTables + return x.TopoRoot } - return false + return "" } -func (x *MoveTablesCompleteRequest) GetDryRun() bool { +func (x *MountShowResponse) GetName() string { if x != nil { - return x.DryRun + return x.Name } - return false + return "" } -type MoveTablesCompleteResponse struct { +type MountListRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` - DryRunResults []string `protobuf:"bytes,2,rep,name=dry_run_results,json=dryRunResults,proto3" json:"dry_run_results,omitempty"` } -func (x *MoveTablesCompleteResponse) Reset() { - *x = MoveTablesCompleteResponse{} +func (x *MountListRequest) Reset() { + *x = MountListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[130] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MoveTablesCompleteResponse) String() string { +func (x *MountListRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MoveTablesCompleteResponse) ProtoMessage() {} +func (*MountListRequest) ProtoMessage() {} -func (x *MoveTablesCompleteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[130] +func (x *MountListRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[149] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8573,50 +9675,36 @@ func (x *MoveTablesCompleteResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MoveTablesCompleteResponse.ProtoReflect.Descriptor instead. -func (*MoveTablesCompleteResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{130} -} - -func (x *MoveTablesCompleteResponse) GetSummary() string { - if x != nil { - return x.Summary - } - return "" -} - -func (x *MoveTablesCompleteResponse) GetDryRunResults() []string { - if x != nil { - return x.DryRunResults - } - return nil +// Deprecated: Use MountListRequest.ProtoReflect.Descriptor instead. +func (*MountListRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{149} } -type PingTabletRequest struct { +type MountListResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` } -func (x *PingTabletRequest) Reset() { - *x = PingTabletRequest{} +func (x *MountListResponse) Reset() { + *x = MountListResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[131] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PingTabletRequest) String() string { +func (x *MountListResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PingTabletRequest) ProtoMessage() {} +func (*MountListResponse) ProtoMessage() {} -func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[131] +func (x *MountListResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[150] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8627,106 +9715,73 @@ func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PingTabletRequest.ProtoReflect.Descriptor instead. -func (*PingTabletRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{131} +// Deprecated: Use MountListResponse.ProtoReflect.Descriptor instead. +func (*MountListResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{150} } -func (x *PingTabletRequest) GetTabletAlias() *dev2.TabletAlias { +func (x *MountListResponse) GetNames() []string { if x != nil { - return x.TabletAlias + return x.Names } return nil } -type PingTabletResponse struct { +type MoveTablesCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields -} - -func (x *PingTabletResponse) Reset() { - *x = PingTabletResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[132] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} -func (x *PingTabletResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PingTabletResponse) ProtoMessage() {} - -func (x *PingTabletResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[132] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PingTabletResponse.ProtoReflect.Descriptor instead. -func (*PingTabletResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{132} -} - -type PlannedReparentShardRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Keyspace is the name of the keyspace to perform the Planned Reparent in. - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - // Shard is the name of the shard to perform teh Planned Reparent in. - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - // NewPrimary is the alias of the tablet to promote to shard primary. If not - // specified, the vtctld will select the most up-to-date candidate to promote. - // - // It is an error to set NewPrimary and AvoidPrimary to the same alias. - NewPrimary *dev2.TabletAlias `protobuf:"bytes,3,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` - // AvoidPrimary is the alias of the tablet to demote. In other words, - // specifying an AvoidPrimary alias tells the vtctld to promote any replica - // other than this one. A shard whose current primary is not this one is then - // a no-op. - // - // It is an error to set NewPrimary and AvoidPrimary to the same alias. - AvoidPrimary *dev2.TabletAlias `protobuf:"bytes,4,opt,name=avoid_primary,json=avoidPrimary,proto3" json:"avoid_primary,omitempty"` - // WaitReplicasTimeout is the duration of time to wait for replicas to catch - // up in replication both before and after the reparent. The timeout is not - // cumulative across both wait periods, meaning that the replicas have - // WaitReplicasTimeout time to catch up before the reparent, and an additional - // WaitReplicasTimeout time to catch up after the reparent. - WaitReplicasTimeout *dev3.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` - // TolerableReplicationLag is the amount of replication lag that is considered - // acceptable for a tablet to be eligible for promotion when Vitess makes the choice of a new primary. - // A value of 0 indicates that Vitess shouldn't consider the replication lag at all. - TolerableReplicationLag *dev3.Duration `protobuf:"bytes,6,opt,name=tolerable_replication_lag,json=tolerableReplicationLag,proto3" json:"tolerable_replication_lag,omitempty"` + // The necessary info gets passed on to each primary tablet involved + // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + SourceKeyspace string `protobuf:"bytes,2,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []dev2.TabletType `protobuf:"varint,5,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,6,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + SourceShards []string `protobuf:"bytes,7,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` + AllTables bool `protobuf:"varint,8,opt,name=all_tables,json=allTables,proto3" json:"all_tables,omitempty"` + IncludeTables []string `protobuf:"bytes,9,rep,name=include_tables,json=includeTables,proto3" json:"include_tables,omitempty"` + ExcludeTables []string `protobuf:"bytes,10,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + // The name of the external cluster mounted in topo server. + ExternalClusterName string `protobuf:"bytes,11,opt,name=external_cluster_name,json=externalClusterName,proto3" json:"external_cluster_name,omitempty"` + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + SourceTimeZone string `protobuf:"bytes,12,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl string `protobuf:"bytes,13,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` + // StopAfterCopy specifies if vreplication should be stopped after copying. + StopAfterCopy bool `protobuf:"varint,14,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + // DropForeignKeys specifies if foreign key constraints should be elided on the target. + DropForeignKeys bool `protobuf:"varint,15,opt,name=drop_foreign_keys,json=dropForeignKeys,proto3" json:"drop_foreign_keys,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,16,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // Start the workflow after creating it. + AutoStart bool `protobuf:"varint,17,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` + // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. + NoRoutingRules bool `protobuf:"varint,18,opt,name=no_routing_rules,json=noRoutingRules,proto3" json:"no_routing_rules,omitempty"` + // Run a single copy phase for the entire database. + AtomicCopy bool `protobuf:"varint,19,opt,name=atomic_copy,json=atomicCopy,proto3" json:"atomic_copy,omitempty"` + WorkflowOptions *WorkflowOptions `protobuf:"bytes,20,opt,name=workflow_options,json=workflowOptions,proto3" json:"workflow_options,omitempty"` } -func (x *PlannedReparentShardRequest) Reset() { - *x = PlannedReparentShardRequest{} +func (x *MoveTablesCreateRequest) Reset() { + *x = MoveTablesCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[133] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PlannedReparentShardRequest) String() string { +func (x *MoveTablesCreateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PlannedReparentShardRequest) ProtoMessage() {} +func (*MoveTablesCreateRequest) ProtoMessage() {} -func (x *PlannedReparentShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[133] +func (x *MoveTablesCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[151] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8737,159 +9792,177 @@ func (x *PlannedReparentShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PlannedReparentShardRequest.ProtoReflect.Descriptor instead. -func (*PlannedReparentShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{133} +// Deprecated: Use MoveTablesCreateRequest.ProtoReflect.Descriptor instead. +func (*MoveTablesCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{151} } -func (x *PlannedReparentShardRequest) GetKeyspace() string { +func (x *MoveTablesCreateRequest) GetWorkflow() string { if x != nil { - return x.Keyspace + return x.Workflow } return "" } -func (x *PlannedReparentShardRequest) GetShard() string { +func (x *MoveTablesCreateRequest) GetSourceKeyspace() string { if x != nil { - return x.Shard + return x.SourceKeyspace } return "" } -func (x *PlannedReparentShardRequest) GetNewPrimary() *dev2.TabletAlias { +func (x *MoveTablesCreateRequest) GetTargetKeyspace() string { if x != nil { - return x.NewPrimary + return x.TargetKeyspace + } + return "" +} + +func (x *MoveTablesCreateRequest) GetCells() []string { + if x != nil { + return x.Cells } return nil } -func (x *PlannedReparentShardRequest) GetAvoidPrimary() *dev2.TabletAlias { +func (x *MoveTablesCreateRequest) GetTabletTypes() []dev2.TabletType { if x != nil { - return x.AvoidPrimary + return x.TabletTypes } return nil } -func (x *PlannedReparentShardRequest) GetWaitReplicasTimeout() *dev3.Duration { +func (x *MoveTablesCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { if x != nil { - return x.WaitReplicasTimeout + return x.TabletSelectionPreference + } + return dev1.TabletSelectionPreference(0) +} + +func (x *MoveTablesCreateRequest) GetSourceShards() []string { + if x != nil { + return x.SourceShards } return nil } -func (x *PlannedReparentShardRequest) GetTolerableReplicationLag() *dev3.Duration { +func (x *MoveTablesCreateRequest) GetAllTables() bool { if x != nil { - return x.TolerableReplicationLag + return x.AllTables + } + return false +} + +func (x *MoveTablesCreateRequest) GetIncludeTables() []string { + if x != nil { + return x.IncludeTables } return nil } -type PlannedReparentShardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *MoveTablesCreateRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables + } + return nil +} - // Keyspace is the name of the keyspace the Planned Reparent took place in. - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - // Shard is the name of the shard the Planned Reparent took place in. - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - // PromotedPrimary is the alias of the tablet that was promoted to shard - // primary. If NewPrimary was set in the request, then this will be the same - // alias. Otherwise, it will be the alias of the tablet found to be most - // up-to-date. - PromotedPrimary *dev2.TabletAlias `protobuf:"bytes,3,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` - Events []*dev.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` +func (x *MoveTablesCreateRequest) GetExternalClusterName() string { + if x != nil { + return x.ExternalClusterName + } + return "" } -func (x *PlannedReparentShardResponse) Reset() { - *x = PlannedReparentShardResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[134] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MoveTablesCreateRequest) GetSourceTimeZone() string { + if x != nil { + return x.SourceTimeZone } + return "" } -func (x *PlannedReparentShardResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *MoveTablesCreateRequest) GetOnDdl() string { + if x != nil { + return x.OnDdl + } + return "" } -func (*PlannedReparentShardResponse) ProtoMessage() {} +func (x *MoveTablesCreateRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} -func (x *PlannedReparentShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[134] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MoveTablesCreateRequest) GetDropForeignKeys() bool { + if x != nil { + return x.DropForeignKeys } - return mi.MessageOf(x) + return false } -// Deprecated: Use PlannedReparentShardResponse.ProtoReflect.Descriptor instead. -func (*PlannedReparentShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{134} +func (x *MoveTablesCreateRequest) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false } -func (x *PlannedReparentShardResponse) GetKeyspace() string { +func (x *MoveTablesCreateRequest) GetAutoStart() bool { if x != nil { - return x.Keyspace + return x.AutoStart } - return "" + return false } -func (x *PlannedReparentShardResponse) GetShard() string { +func (x *MoveTablesCreateRequest) GetNoRoutingRules() bool { if x != nil { - return x.Shard + return x.NoRoutingRules } - return "" + return false } -func (x *PlannedReparentShardResponse) GetPromotedPrimary() *dev2.TabletAlias { +func (x *MoveTablesCreateRequest) GetAtomicCopy() bool { if x != nil { - return x.PromotedPrimary + return x.AtomicCopy } - return nil + return false } -func (x *PlannedReparentShardResponse) GetEvents() []*dev.Event { +func (x *MoveTablesCreateRequest) GetWorkflowOptions() *WorkflowOptions { if x != nil { - return x.Events + return x.WorkflowOptions } return nil } -type RebuildKeyspaceGraphRequest struct { +type MoveTablesCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` - // AllowPartial, when set, allows a SNAPSHOT keyspace to serve with an - // incomplete set of shards. It is ignored for all other keyspace types. - AllowPartial bool `protobuf:"varint,3,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"` + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + Details []*MoveTablesCreateResponse_TabletInfo `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` } -func (x *RebuildKeyspaceGraphRequest) Reset() { - *x = RebuildKeyspaceGraphRequest{} +func (x *MoveTablesCreateResponse) Reset() { + *x = MoveTablesCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[135] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RebuildKeyspaceGraphRequest) String() string { +func (x *MoveTablesCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RebuildKeyspaceGraphRequest) ProtoMessage() {} +func (*MoveTablesCreateResponse) ProtoMessage() {} -func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[135] +func (x *MoveTablesCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[152] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8900,55 +9973,56 @@ func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RebuildKeyspaceGraphRequest.ProtoReflect.Descriptor instead. -func (*RebuildKeyspaceGraphRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{135} +// Deprecated: Use MoveTablesCreateResponse.ProtoReflect.Descriptor instead. +func (*MoveTablesCreateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{152} } -func (x *RebuildKeyspaceGraphRequest) GetKeyspace() string { +func (x *MoveTablesCreateResponse) GetSummary() string { if x != nil { - return x.Keyspace + return x.Summary } return "" } -func (x *RebuildKeyspaceGraphRequest) GetCells() []string { +func (x *MoveTablesCreateResponse) GetDetails() []*MoveTablesCreateResponse_TabletInfo { if x != nil { - return x.Cells + return x.Details } return nil } -func (x *RebuildKeyspaceGraphRequest) GetAllowPartial() bool { - if x != nil { - return x.AllowPartial - } - return false -} - -type RebuildKeyspaceGraphResponse struct { +type MoveTablesCompleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + KeepData bool `protobuf:"varint,4,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` + KeepRoutingRules bool `protobuf:"varint,5,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` + RenameTables bool `protobuf:"varint,6,opt,name=rename_tables,json=renameTables,proto3" json:"rename_tables,omitempty"` + DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + Shards []string `protobuf:"bytes,8,rep,name=shards,proto3" json:"shards,omitempty"` } -func (x *RebuildKeyspaceGraphResponse) Reset() { - *x = RebuildKeyspaceGraphResponse{} +func (x *MoveTablesCompleteRequest) Reset() { + *x = MoveTablesCompleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[136] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RebuildKeyspaceGraphResponse) String() string { +func (x *MoveTablesCompleteRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RebuildKeyspaceGraphResponse) ProtoMessage() {} +func (*MoveTablesCompleteRequest) ProtoMessage() {} -func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[136] +func (x *MoveTablesCompleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[153] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8959,83 +10033,86 @@ func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RebuildKeyspaceGraphResponse.ProtoReflect.Descriptor instead. -func (*RebuildKeyspaceGraphResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{136} +// Deprecated: Use MoveTablesCompleteRequest.ProtoReflect.Descriptor instead. +func (*MoveTablesCompleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{153} } -type RebuildVSchemaGraphRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Cells specifies the cells to rebuild the SrvVSchema objects for. If empty, - // RebuildVSchemaGraph rebuilds the SrvVSchema for every cell in the topo. - Cells []string `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` +func (x *MoveTablesCompleteRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" } -func (x *RebuildVSchemaGraphRequest) Reset() { - *x = RebuildVSchemaGraphRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[137] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MoveTablesCompleteRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace } + return "" } -func (x *RebuildVSchemaGraphRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *MoveTablesCompleteRequest) GetKeepData() bool { + if x != nil { + return x.KeepData + } + return false } -func (*RebuildVSchemaGraphRequest) ProtoMessage() {} +func (x *MoveTablesCompleteRequest) GetKeepRoutingRules() bool { + if x != nil { + return x.KeepRoutingRules + } + return false +} -func (x *RebuildVSchemaGraphRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[137] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MoveTablesCompleteRequest) GetRenameTables() bool { + if x != nil { + return x.RenameTables } - return mi.MessageOf(x) + return false } -// Deprecated: Use RebuildVSchemaGraphRequest.ProtoReflect.Descriptor instead. -func (*RebuildVSchemaGraphRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{137} +func (x *MoveTablesCompleteRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false } -func (x *RebuildVSchemaGraphRequest) GetCells() []string { +func (x *MoveTablesCompleteRequest) GetShards() []string { if x != nil { - return x.Cells + return x.Shards } return nil } -type RebuildVSchemaGraphResponse struct { +type MoveTablesCompleteResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + DryRunResults []string `protobuf:"bytes,2,rep,name=dry_run_results,json=dryRunResults,proto3" json:"dry_run_results,omitempty"` } -func (x *RebuildVSchemaGraphResponse) Reset() { - *x = RebuildVSchemaGraphResponse{} +func (x *MoveTablesCompleteResponse) Reset() { + *x = MoveTablesCompleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[138] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RebuildVSchemaGraphResponse) String() string { +func (x *MoveTablesCompleteResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RebuildVSchemaGraphResponse) ProtoMessage() {} +func (*MoveTablesCompleteResponse) ProtoMessage() {} -func (x *RebuildVSchemaGraphResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[138] +func (x *MoveTablesCompleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[154] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9046,12 +10123,26 @@ func (x *RebuildVSchemaGraphResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RebuildVSchemaGraphResponse.ProtoReflect.Descriptor instead. -func (*RebuildVSchemaGraphResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{138} +// Deprecated: Use MoveTablesCompleteResponse.ProtoReflect.Descriptor instead. +func (*MoveTablesCompleteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{154} } -type RefreshStateRequest struct { +func (x *MoveTablesCompleteResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *MoveTablesCompleteResponse) GetDryRunResults() []string { + if x != nil { + return x.DryRunResults + } + return nil +} + +type PingTabletRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -9059,23 +10150,23 @@ type RefreshStateRequest struct { TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` } -func (x *RefreshStateRequest) Reset() { - *x = RefreshStateRequest{} +func (x *PingTabletRequest) Reset() { + *x = PingTabletRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[139] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RefreshStateRequest) String() string { +func (x *PingTabletRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshStateRequest) ProtoMessage() {} +func (*PingTabletRequest) ProtoMessage() {} -func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[139] +func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[155] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9086,41 +10177,41 @@ func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. -func (*RefreshStateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{139} +// Deprecated: Use PingTabletRequest.ProtoReflect.Descriptor instead. +func (*PingTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{155} } -func (x *RefreshStateRequest) GetTabletAlias() *dev2.TabletAlias { +func (x *PingTabletRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { return x.TabletAlias } return nil } -type RefreshStateResponse struct { +type PingTabletResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *RefreshStateResponse) Reset() { - *x = RefreshStateResponse{} +func (x *PingTabletResponse) Reset() { + *x = PingTabletResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[140] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RefreshStateResponse) String() string { +func (x *PingTabletResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshStateResponse) ProtoMessage() {} +func (*PingTabletResponse) ProtoMessage() {} -func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[140] +func (x *PingTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[156] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9131,38 +10222,66 @@ func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. -func (*RefreshStateResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{140} +// Deprecated: Use PingTabletResponse.ProtoReflect.Descriptor instead. +func (*PingTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{156} } -type RefreshStateByShardRequest struct { +type PlannedReparentShardRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + // Keyspace is the name of the keyspace to perform the Planned Reparent in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard to perform teh Planned Reparent in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // NewPrimary is the alias of the tablet to promote to shard primary. If not + // specified, the vtctld will select the most up-to-date candidate to promote. + // + // It is an error to set NewPrimary and AvoidPrimary to the same alias. + NewPrimary *dev2.TabletAlias `protobuf:"bytes,3,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` + // AvoidPrimary is the alias of the tablet to demote. In other words, + // specifying an AvoidPrimary alias tells the vtctld to promote any replica + // other than this one. A shard whose current primary is not this one is then + // a no-op. + // + // It is an error to set NewPrimary and AvoidPrimary to the same alias. + AvoidPrimary *dev2.TabletAlias `protobuf:"bytes,4,opt,name=avoid_primary,json=avoidPrimary,proto3" json:"avoid_primary,omitempty"` + // WaitReplicasTimeout is the duration of time to wait for replicas to catch + // up in replication both before and after the reparent. The timeout is not + // cumulative across both wait periods, meaning that the replicas have + // WaitReplicasTimeout time to catch up before the reparent, and an additional + // WaitReplicasTimeout time to catch up after the reparent. + WaitReplicasTimeout *dev3.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` + // TolerableReplicationLag is the amount of replication lag that is considered + // acceptable for a tablet to be eligible for promotion when Vitess makes the choice of a new primary. + // A value of 0 indicates that Vitess shouldn't consider the replication lag at all. + TolerableReplicationLag *dev3.Duration `protobuf:"bytes,6,opt,name=tolerable_replication_lag,json=tolerableReplicationLag,proto3" json:"tolerable_replication_lag,omitempty"` + // AllowCrossCellPromotion allows cross cell promotion, + AllowCrossCellPromotion bool `protobuf:"varint,7,opt,name=allow_cross_cell_promotion,json=allowCrossCellPromotion,proto3" json:"allow_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 *dev2.TabletAlias `protobuf:"bytes,8,opt,name=expected_primary,json=expectedPrimary,proto3" json:"expected_primary,omitempty"` } -func (x *RefreshStateByShardRequest) Reset() { - *x = RefreshStateByShardRequest{} +func (x *PlannedReparentShardRequest) Reset() { + *x = PlannedReparentShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[141] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RefreshStateByShardRequest) String() string { +func (x *PlannedReparentShardRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshStateByShardRequest) ProtoMessage() {} +func (*PlannedReparentShardRequest) ProtoMessage() {} -func (x *RefreshStateByShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[141] +func (x *PlannedReparentShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[157] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9173,59 +10292,101 @@ func (x *RefreshStateByShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RefreshStateByShardRequest.ProtoReflect.Descriptor instead. -func (*RefreshStateByShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{141} +// Deprecated: Use PlannedReparentShardRequest.ProtoReflect.Descriptor instead. +func (*PlannedReparentShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{157} } -func (x *RefreshStateByShardRequest) GetKeyspace() string { +func (x *PlannedReparentShardRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *RefreshStateByShardRequest) GetShard() string { +func (x *PlannedReparentShardRequest) GetShard() string { if x != nil { return x.Shard } return "" } -func (x *RefreshStateByShardRequest) GetCells() []string { +func (x *PlannedReparentShardRequest) GetNewPrimary() *dev2.TabletAlias { if x != nil { - return x.Cells + return x.NewPrimary } return nil } -type RefreshStateByShardResponse struct { - state protoimpl.MessageState +func (x *PlannedReparentShardRequest) GetAvoidPrimary() *dev2.TabletAlias { + if x != nil { + return x.AvoidPrimary + } + return nil +} + +func (x *PlannedReparentShardRequest) GetWaitReplicasTimeout() *dev3.Duration { + if x != nil { + return x.WaitReplicasTimeout + } + return nil +} + +func (x *PlannedReparentShardRequest) GetTolerableReplicationLag() *dev3.Duration { + if x != nil { + return x.TolerableReplicationLag + } + return nil +} + +func (x *PlannedReparentShardRequest) GetAllowCrossCellPromotion() bool { + if x != nil { + return x.AllowCrossCellPromotion + } + return false +} + +func (x *PlannedReparentShardRequest) GetExpectedPrimary() *dev2.TabletAlias { + if x != nil { + return x.ExpectedPrimary + } + return nil +} + +type PlannedReparentShardResponse struct { + state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - IsPartialRefresh bool `protobuf:"varint,1,opt,name=is_partial_refresh,json=isPartialRefresh,proto3" json:"is_partial_refresh,omitempty"` - // This explains why we had a partial refresh (if we did) - PartialRefreshDetails string `protobuf:"bytes,2,opt,name=partial_refresh_details,json=partialRefreshDetails,proto3" json:"partial_refresh_details,omitempty"` + // Keyspace is the name of the keyspace the Planned Reparent took place in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard the Planned Reparent took place in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // PromotedPrimary is the alias of the tablet that was promoted to shard + // primary. If NewPrimary was set in the request, then this will be the same + // alias. Otherwise, it will be the alias of the tablet found to be most + // up-to-date. + PromotedPrimary *dev2.TabletAlias `protobuf:"bytes,3,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` + Events []*dev.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` } -func (x *RefreshStateByShardResponse) Reset() { - *x = RefreshStateByShardResponse{} +func (x *PlannedReparentShardResponse) Reset() { + *x = PlannedReparentShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[142] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RefreshStateByShardResponse) String() string { +func (x *PlannedReparentShardResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RefreshStateByShardResponse) ProtoMessage() {} +func (*PlannedReparentShardResponse) ProtoMessage() {} -func (x *RefreshStateByShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[142] +func (x *PlannedReparentShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[158] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9236,50 +10397,68 @@ func (x *RefreshStateByShardResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RefreshStateByShardResponse.ProtoReflect.Descriptor instead. -func (*RefreshStateByShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{142} +// Deprecated: Use PlannedReparentShardResponse.ProtoReflect.Descriptor instead. +func (*PlannedReparentShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{158} } -func (x *RefreshStateByShardResponse) GetIsPartialRefresh() bool { +func (x *PlannedReparentShardResponse) GetKeyspace() string { if x != nil { - return x.IsPartialRefresh + return x.Keyspace } - return false + return "" } -func (x *RefreshStateByShardResponse) GetPartialRefreshDetails() string { +func (x *PlannedReparentShardResponse) GetShard() string { if x != nil { - return x.PartialRefreshDetails + return x.Shard } return "" } -type ReloadSchemaRequest struct { +func (x *PlannedReparentShardResponse) GetPromotedPrimary() *dev2.TabletAlias { + if x != nil { + return x.PromotedPrimary + } + return nil +} + +func (x *PlannedReparentShardResponse) GetEvents() []*dev.Event { + if x != nil { + return x.Events + } + return nil +} + +type RebuildKeyspaceGraphRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + // AllowPartial, when set, allows a SNAPSHOT keyspace to serve with an + // incomplete set of shards. It is ignored for all other keyspace types. + AllowPartial bool `protobuf:"varint,3,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"` } -func (x *ReloadSchemaRequest) Reset() { - *x = ReloadSchemaRequest{} +func (x *RebuildKeyspaceGraphRequest) Reset() { + *x = RebuildKeyspaceGraphRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[143] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaRequest) String() string { +func (x *RebuildKeyspaceGraphRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaRequest) ProtoMessage() {} +func (*RebuildKeyspaceGraphRequest) ProtoMessage() {} -func (x *ReloadSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[143] +func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[159] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9290,41 +10469,55 @@ func (x *ReloadSchemaRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaRequest.ProtoReflect.Descriptor instead. -func (*ReloadSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{143} +// Deprecated: Use RebuildKeyspaceGraphRequest.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{159} } -func (x *ReloadSchemaRequest) GetTabletAlias() *dev2.TabletAlias { +func (x *RebuildKeyspaceGraphRequest) GetKeyspace() string { if x != nil { - return x.TabletAlias + return x.Keyspace + } + return "" +} + +func (x *RebuildKeyspaceGraphRequest) GetCells() []string { + if x != nil { + return x.Cells } return nil } -type ReloadSchemaResponse struct { +func (x *RebuildKeyspaceGraphRequest) GetAllowPartial() bool { + if x != nil { + return x.AllowPartial + } + return false +} + +type RebuildKeyspaceGraphResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *ReloadSchemaResponse) Reset() { - *x = ReloadSchemaResponse{} +func (x *RebuildKeyspaceGraphResponse) Reset() { + *x = RebuildKeyspaceGraphResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[144] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaResponse) String() string { +func (x *RebuildKeyspaceGraphResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaResponse) ProtoMessage() {} +func (*RebuildKeyspaceGraphResponse) ProtoMessage() {} -func (x *ReloadSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[144] +func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[160] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9335,42 +10528,38 @@ func (x *ReloadSchemaResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaResponse.ProtoReflect.Descriptor instead. -func (*ReloadSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{144} +// Deprecated: Use RebuildKeyspaceGraphResponse.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{160} } -type ReloadSchemaKeyspaceRequest struct { +type RebuildVSchemaGraphRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - WaitPosition string `protobuf:"bytes,2,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` - IncludePrimary bool `protobuf:"varint,3,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` - // Concurrency is the global concurrency across all shards in the keyspace - // (so, at most this many tablets will be reloaded across the keyspace at any - // given point). - Concurrency uint32 `protobuf:"varint,4,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + // Cells specifies the cells to rebuild the SrvVSchema objects for. If empty, + // RebuildVSchemaGraph rebuilds the SrvVSchema for every cell in the topo. + Cells []string `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` } -func (x *ReloadSchemaKeyspaceRequest) Reset() { - *x = ReloadSchemaKeyspaceRequest{} +func (x *RebuildVSchemaGraphRequest) Reset() { + *x = RebuildVSchemaGraphRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[145] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaKeyspaceRequest) String() string { +func (x *RebuildVSchemaGraphRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaKeyspaceRequest) ProtoMessage() {} +func (*RebuildVSchemaGraphRequest) ProtoMessage() {} -func (x *ReloadSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[145] +func (x *RebuildVSchemaGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[161] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9381,64 +10570,81 @@ func (x *ReloadSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. -func (*ReloadSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{145} +// Deprecated: Use RebuildVSchemaGraphRequest.ProtoReflect.Descriptor instead. +func (*RebuildVSchemaGraphRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{161} } -func (x *ReloadSchemaKeyspaceRequest) GetKeyspace() string { +func (x *RebuildVSchemaGraphRequest) GetCells() []string { if x != nil { - return x.Keyspace + return x.Cells } - return "" + return nil } -func (x *ReloadSchemaKeyspaceRequest) GetWaitPosition() string { - if x != nil { - return x.WaitPosition - } - return "" +type RebuildVSchemaGraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *ReloadSchemaKeyspaceRequest) GetIncludePrimary() bool { - if x != nil { - return x.IncludePrimary +func (x *RebuildVSchemaGraphResponse) Reset() { + *x = RebuildVSchemaGraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *ReloadSchemaKeyspaceRequest) GetConcurrency() uint32 { - if x != nil { - return x.Concurrency +func (x *RebuildVSchemaGraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebuildVSchemaGraphResponse) ProtoMessage() {} + +func (x *RebuildVSchemaGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[162] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -type ReloadSchemaKeyspaceResponse struct { +// Deprecated: Use RebuildVSchemaGraphResponse.ProtoReflect.Descriptor instead. +func (*RebuildVSchemaGraphResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{162} +} + +type RefreshStateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Events []*dev.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` } -func (x *ReloadSchemaKeyspaceResponse) Reset() { - *x = ReloadSchemaKeyspaceResponse{} +func (x *RefreshStateRequest) Reset() { + *x = RefreshStateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[146] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[163] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaKeyspaceResponse) String() string { +func (x *RefreshStateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaKeyspaceResponse) ProtoMessage() {} +func (*RefreshStateRequest) ProtoMessage() {} -func (x *ReloadSchemaKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[146] +func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[163] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9449,48 +10655,41 @@ func (x *ReloadSchemaKeyspaceResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaKeyspaceResponse.ProtoReflect.Descriptor instead. -func (*ReloadSchemaKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{146} +// Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. +func (*RefreshStateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{163} } -func (x *ReloadSchemaKeyspaceResponse) GetEvents() []*dev.Event { +func (x *RefreshStateRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.Events + return x.TabletAlias } return nil } -type ReloadSchemaShardRequest struct { +type RefreshStateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - WaitPosition string `protobuf:"bytes,3,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` - IncludePrimary bool `protobuf:"varint,4,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` - // Concurrency is the maximum number of tablets to reload at one time. - Concurrency uint32 `protobuf:"varint,5,opt,name=concurrency,proto3" json:"concurrency,omitempty"` } -func (x *ReloadSchemaShardRequest) Reset() { - *x = ReloadSchemaShardRequest{} +func (x *RefreshStateResponse) Reset() { + *x = RefreshStateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[147] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[164] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaShardRequest) String() string { +func (x *RefreshStateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaShardRequest) ProtoMessage() {} +func (*RefreshStateResponse) ProtoMessage() {} -func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[147] +func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[164] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9501,71 +10700,101 @@ func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaShardRequest.ProtoReflect.Descriptor instead. -func (*ReloadSchemaShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{147} +// Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. +func (*RefreshStateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{164} } -func (x *ReloadSchemaShardRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace +type RefreshStateByShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *RefreshStateByShardRequest) Reset() { + *x = RefreshStateByShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *ReloadSchemaShardRequest) GetShard() string { - if x != nil { - return x.Shard +func (x *RefreshStateByShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateByShardRequest) ProtoMessage() {} + +func (x *RefreshStateByShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[165] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *ReloadSchemaShardRequest) GetWaitPosition() string { +// Deprecated: Use RefreshStateByShardRequest.ProtoReflect.Descriptor instead. +func (*RefreshStateByShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{165} +} + +func (x *RefreshStateByShardRequest) GetKeyspace() string { if x != nil { - return x.WaitPosition + return x.Keyspace } return "" } -func (x *ReloadSchemaShardRequest) GetIncludePrimary() bool { +func (x *RefreshStateByShardRequest) GetShard() string { if x != nil { - return x.IncludePrimary + return x.Shard } - return false + return "" } -func (x *ReloadSchemaShardRequest) GetConcurrency() uint32 { +func (x *RefreshStateByShardRequest) GetCells() []string { if x != nil { - return x.Concurrency + return x.Cells } - return 0 + return nil } -type ReloadSchemaShardResponse struct { +type RefreshStateByShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Events []*dev.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` + IsPartialRefresh bool `protobuf:"varint,1,opt,name=is_partial_refresh,json=isPartialRefresh,proto3" json:"is_partial_refresh,omitempty"` + // This explains why we had a partial refresh (if we did) + PartialRefreshDetails string `protobuf:"bytes,2,opt,name=partial_refresh_details,json=partialRefreshDetails,proto3" json:"partial_refresh_details,omitempty"` } -func (x *ReloadSchemaShardResponse) Reset() { - *x = ReloadSchemaShardResponse{} +func (x *RefreshStateByShardResponse) Reset() { + *x = RefreshStateByShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[148] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[166] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReloadSchemaShardResponse) String() string { +func (x *RefreshStateByShardResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReloadSchemaShardResponse) ProtoMessage() {} +func (*RefreshStateByShardResponse) ProtoMessage() {} -func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[148] +func (x *RefreshStateByShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[166] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9576,45 +10805,50 @@ func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReloadSchemaShardResponse.ProtoReflect.Descriptor instead. -func (*ReloadSchemaShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{148} +// Deprecated: Use RefreshStateByShardResponse.ProtoReflect.Descriptor instead. +func (*RefreshStateByShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{166} } -func (x *ReloadSchemaShardResponse) GetEvents() []*dev.Event { +func (x *RefreshStateByShardResponse) GetIsPartialRefresh() bool { if x != nil { - return x.Events + return x.IsPartialRefresh } - return nil + return false } -type RemoveBackupRequest struct { +func (x *RefreshStateByShardResponse) GetPartialRefreshDetails() string { + if x != nil { + return x.PartialRefreshDetails + } + return "" +} + +type ReloadSchemaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` } -func (x *RemoveBackupRequest) Reset() { - *x = RemoveBackupRequest{} +func (x *ReloadSchemaRequest) Reset() { + *x = ReloadSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[149] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[167] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RemoveBackupRequest) String() string { +func (x *ReloadSchemaRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RemoveBackupRequest) ProtoMessage() {} +func (*ReloadSchemaRequest) ProtoMessage() {} -func (x *RemoveBackupRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[149] +func (x *ReloadSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[167] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9625,55 +10859,41 @@ func (x *RemoveBackupRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RemoveBackupRequest.ProtoReflect.Descriptor instead. -func (*RemoveBackupRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{149} -} - -func (x *RemoveBackupRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *RemoveBackupRequest) GetShard() string { - if x != nil { - return x.Shard - } - return "" +// Deprecated: Use ReloadSchemaRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{167} } -func (x *RemoveBackupRequest) GetName() string { +func (x *ReloadSchemaRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.Name + return x.TabletAlias } - return "" + return nil } -type RemoveBackupResponse struct { +type ReloadSchemaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *RemoveBackupResponse) Reset() { - *x = RemoveBackupResponse{} +func (x *ReloadSchemaResponse) Reset() { + *x = ReloadSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[150] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[168] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RemoveBackupResponse) String() string { +func (x *ReloadSchemaResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RemoveBackupResponse) ProtoMessage() {} +func (*ReloadSchemaResponse) ProtoMessage() {} -func (x *RemoveBackupResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[150] +func (x *ReloadSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[168] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9684,44 +10904,42 @@ func (x *RemoveBackupResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RemoveBackupResponse.ProtoReflect.Descriptor instead. -func (*RemoveBackupResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{150} +// Deprecated: Use ReloadSchemaResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{168} } -type RemoveKeyspaceCellRequest struct { +type ReloadSchemaKeyspaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Cell string `protobuf:"bytes,2,opt,name=cell,proto3" json:"cell,omitempty"` - // Force proceeds even if the cell's topology server cannot be reached. This - // should only be set if a cell has been shut down entirely, and the global - // topology data just needs to be updated. - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - // Recursive also deletes all tablets in that cell belonging to the specified - // keyspace. - Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + WaitPosition string `protobuf:"bytes,2,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + IncludePrimary bool `protobuf:"varint,3,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` + // Concurrency is the global concurrency across all shards in the keyspace + // (so, at most this many tablets will be reloaded across the keyspace at any + // given point). + Concurrency int32 `protobuf:"varint,4,opt,name=concurrency,proto3" json:"concurrency,omitempty"` } -func (x *RemoveKeyspaceCellRequest) Reset() { - *x = RemoveKeyspaceCellRequest{} +func (x *ReloadSchemaKeyspaceRequest) Reset() { + *x = ReloadSchemaKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[151] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RemoveKeyspaceCellRequest) String() string { +func (x *ReloadSchemaKeyspaceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RemoveKeyspaceCellRequest) ProtoMessage() {} +func (*ReloadSchemaKeyspaceRequest) ProtoMessage() {} -func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[151] +func (x *ReloadSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[169] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9732,62 +10950,64 @@ func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RemoveKeyspaceCellRequest.ProtoReflect.Descriptor instead. -func (*RemoveKeyspaceCellRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{151} +// Deprecated: Use ReloadSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{169} } -func (x *RemoveKeyspaceCellRequest) GetKeyspace() string { +func (x *ReloadSchemaKeyspaceRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *RemoveKeyspaceCellRequest) GetCell() string { +func (x *ReloadSchemaKeyspaceRequest) GetWaitPosition() string { if x != nil { - return x.Cell + return x.WaitPosition } return "" } -func (x *RemoveKeyspaceCellRequest) GetForce() bool { +func (x *ReloadSchemaKeyspaceRequest) GetIncludePrimary() bool { if x != nil { - return x.Force + return x.IncludePrimary } return false } -func (x *RemoveKeyspaceCellRequest) GetRecursive() bool { +func (x *ReloadSchemaKeyspaceRequest) GetConcurrency() int32 { if x != nil { - return x.Recursive + return x.Concurrency } - return false + return 0 } -type RemoveKeyspaceCellResponse struct { +type ReloadSchemaKeyspaceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Events []*dev.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` } -func (x *RemoveKeyspaceCellResponse) Reset() { - *x = RemoveKeyspaceCellResponse{} +func (x *ReloadSchemaKeyspaceResponse) Reset() { + *x = ReloadSchemaKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[152] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RemoveKeyspaceCellResponse) String() string { +func (x *ReloadSchemaKeyspaceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RemoveKeyspaceCellResponse) ProtoMessage() {} +func (*ReloadSchemaKeyspaceResponse) ProtoMessage() {} -func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[152] +func (x *ReloadSchemaKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[170] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9798,45 +11018,48 @@ func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RemoveKeyspaceCellResponse.ProtoReflect.Descriptor instead. -func (*RemoveKeyspaceCellResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{152} +// Deprecated: Use ReloadSchemaKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{170} } -type RemoveShardCellRequest struct { +func (x *ReloadSchemaKeyspaceResponse) GetEvents() []*dev.Event { + if x != nil { + return x.Events + } + return nil +} + +type ReloadSchemaShardRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` - Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` - // Force proceeds even if the cell's topology server cannot be reached. This - // should only be set if a cell has been shut down entirely, and the global - // topology data just needs to be updated. - Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` - // Recursive also deletes all tablets in that cell belonging to the specified - // keyspace and shard. - Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + WaitPosition string `protobuf:"bytes,3,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + IncludePrimary bool `protobuf:"varint,4,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` + // Concurrency is the maximum number of tablets to reload at one time. + Concurrency int32 `protobuf:"varint,5,opt,name=concurrency,proto3" json:"concurrency,omitempty"` } -func (x *RemoveShardCellRequest) Reset() { - *x = RemoveShardCellRequest{} +func (x *ReloadSchemaShardRequest) Reset() { + *x = ReloadSchemaShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[153] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RemoveShardCellRequest) String() string { +func (x *ReloadSchemaShardRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RemoveShardCellRequest) ProtoMessage() {} +func (*ReloadSchemaShardRequest) ProtoMessage() {} -func (x *RemoveShardCellRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[153] +func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[171] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9847,111 +11070,71 @@ func (x *RemoveShardCellRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RemoveShardCellRequest.ProtoReflect.Descriptor instead. -func (*RemoveShardCellRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{153} +// Deprecated: Use ReloadSchemaShardRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{171} } -func (x *RemoveShardCellRequest) GetKeyspace() string { +func (x *ReloadSchemaShardRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *RemoveShardCellRequest) GetShardName() string { +func (x *ReloadSchemaShardRequest) GetShard() string { if x != nil { - return x.ShardName + return x.Shard } return "" } -func (x *RemoveShardCellRequest) GetCell() string { +func (x *ReloadSchemaShardRequest) GetWaitPosition() string { if x != nil { - return x.Cell + return x.WaitPosition } return "" } -func (x *RemoveShardCellRequest) GetForce() bool { +func (x *ReloadSchemaShardRequest) GetIncludePrimary() bool { if x != nil { - return x.Force + return x.IncludePrimary } return false } -func (x *RemoveShardCellRequest) GetRecursive() bool { +func (x *ReloadSchemaShardRequest) GetConcurrency() int32 { if x != nil { - return x.Recursive - } - return false -} - -type RemoveShardCellResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RemoveShardCellResponse) Reset() { - *x = RemoveShardCellResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[154] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveShardCellResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveShardCellResponse) ProtoMessage() {} - -func (x *RemoveShardCellResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[154] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms + return x.Concurrency } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveShardCellResponse.ProtoReflect.Descriptor instead. -func (*RemoveShardCellResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{154} + return 0 } -type ReparentTabletRequest struct { +type ReloadSchemaShardResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Tablet is the alias of the tablet that should be reparented under the - // current shard primary. - Tablet *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` + Events []*dev.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` } -func (x *ReparentTabletRequest) Reset() { - *x = ReparentTabletRequest{} +func (x *ReloadSchemaShardResponse) Reset() { + *x = ReloadSchemaShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[155] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReparentTabletRequest) String() string { +func (x *ReloadSchemaShardResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReparentTabletRequest) ProtoMessage() {} +func (*ReloadSchemaShardResponse) ProtoMessage() {} -func (x *ReparentTabletRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[155] +func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[172] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9962,48 +11145,45 @@ func (x *ReparentTabletRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReparentTabletRequest.ProtoReflect.Descriptor instead. -func (*ReparentTabletRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{155} +// Deprecated: Use ReloadSchemaShardResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{172} } -func (x *ReparentTabletRequest) GetTablet() *dev2.TabletAlias { +func (x *ReloadSchemaShardResponse) GetEvents() []*dev.Event { if x != nil { - return x.Tablet + return x.Events } return nil } -type ReparentTabletResponse struct { +type RemoveBackupRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Keyspace is the name of the keyspace the tablet was reparented in. Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - // Shard is the name of the shard the tablet was reparented in. - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - // Primary is the alias of the tablet that the tablet was reparented under. - Primary *dev2.TabletAlias `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (x *ReparentTabletResponse) Reset() { - *x = ReparentTabletResponse{} +func (x *RemoveBackupRequest) Reset() { + *x = RemoveBackupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[156] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReparentTabletResponse) String() string { +func (x *RemoveBackupRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReparentTabletResponse) ProtoMessage() {} +func (*RemoveBackupRequest) ProtoMessage() {} -func (x *ReparentTabletResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[156] +func (x *RemoveBackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[173] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10014,74 +11194,55 @@ func (x *ReparentTabletResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReparentTabletResponse.ProtoReflect.Descriptor instead. -func (*ReparentTabletResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{156} +// Deprecated: Use RemoveBackupRequest.ProtoReflect.Descriptor instead. +func (*RemoveBackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{173} } -func (x *ReparentTabletResponse) GetKeyspace() string { +func (x *RemoveBackupRequest) GetKeyspace() string { if x != nil { return x.Keyspace } return "" } -func (x *ReparentTabletResponse) GetShard() string { +func (x *RemoveBackupRequest) GetShard() string { if x != nil { return x.Shard } return "" } -func (x *ReparentTabletResponse) GetPrimary() *dev2.TabletAlias { +func (x *RemoveBackupRequest) GetName() string { if x != nil { - return x.Primary + return x.Name } - return nil + return "" } -type ReshardCreateRequest struct { +type RemoveBackupResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - SourceShards []string `protobuf:"bytes,3,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` - TargetShards []string `protobuf:"bytes,4,rep,name=target_shards,json=targetShards,proto3" json:"target_shards,omitempty"` - Cells []string `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"` - TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` - // SkipSchemaCopy specifies if the schema should be copied from the source shard, set false if - // schema is already created on the target shard before Reshard is invoked. - SkipSchemaCopy bool `protobuf:"varint,8,opt,name=skip_schema_copy,json=skipSchemaCopy,proto3" json:"skip_schema_copy,omitempty"` - // OnDdl specifies the action to be taken when a DDL is encountered. - OnDdl string `protobuf:"bytes,9,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` - // StopAfterCopy specifies if vreplication should be stopped after copying. - StopAfterCopy bool `protobuf:"varint,10,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` - // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. - DeferSecondaryKeys bool `protobuf:"varint,11,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` - // Start the workflow after creating it. - AutoStart bool `protobuf:"varint,12,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` } -func (x *ReshardCreateRequest) Reset() { - *x = ReshardCreateRequest{} +func (x *RemoveBackupResponse) Reset() { + *x = RemoveBackupResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[157] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[174] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReshardCreateRequest) String() string { +func (x *RemoveBackupResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReshardCreateRequest) ProtoMessage() {} +func (*RemoveBackupResponse) ProtoMessage() {} -func (x *ReshardCreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[157] +func (x *RemoveBackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[174] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10092,132 +11253,159 @@ func (x *ReshardCreateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReshardCreateRequest.ProtoReflect.Descriptor instead. -func (*ReshardCreateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{157} +// Deprecated: Use RemoveBackupResponse.ProtoReflect.Descriptor instead. +func (*RemoveBackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{174} } -func (x *ReshardCreateRequest) GetWorkflow() string { - if x != nil { - return x.Workflow - } - return "" +type RemoveKeyspaceCellRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cell string `protobuf:"bytes,2,opt,name=cell,proto3" json:"cell,omitempty"` + // Force proceeds even if the cell's topology server cannot be reached. This + // should only be set if a cell has been shut down entirely, and the global + // topology data just needs to be updated. + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + // Recursive also deletes all tablets in that cell belonging to the specified + // keyspace. + Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` } -func (x *ReshardCreateRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +func (x *RemoveKeyspaceCellRequest) Reset() { + *x = RemoveKeyspaceCellRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (x *ReshardCreateRequest) GetSourceShards() []string { - if x != nil { - return x.SourceShards - } - return nil +func (x *RemoveKeyspaceCellRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *ReshardCreateRequest) GetTargetShards() []string { - if x != nil { - return x.TargetShards +func (*RemoveKeyspaceCellRequest) ProtoMessage() {} + +func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[175] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *ReshardCreateRequest) GetCells() []string { - if x != nil { - return x.Cells - } - return nil +// Deprecated: Use RemoveKeyspaceCellRequest.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{175} } -func (x *ReshardCreateRequest) GetTabletTypes() []dev2.TabletType { +func (x *RemoveKeyspaceCellRequest) GetKeyspace() string { if x != nil { - return x.TabletTypes + return x.Keyspace } - return nil + return "" } -func (x *ReshardCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { +func (x *RemoveKeyspaceCellRequest) GetCell() string { if x != nil { - return x.TabletSelectionPreference + return x.Cell } - return dev1.TabletSelectionPreference(0) + return "" } -func (x *ReshardCreateRequest) GetSkipSchemaCopy() bool { +func (x *RemoveKeyspaceCellRequest) GetForce() bool { if x != nil { - return x.SkipSchemaCopy + return x.Force } return false } -func (x *ReshardCreateRequest) GetOnDdl() string { +func (x *RemoveKeyspaceCellRequest) GetRecursive() bool { if x != nil { - return x.OnDdl + return x.Recursive } - return "" + return false } -func (x *ReshardCreateRequest) GetStopAfterCopy() bool { - if x != nil { - return x.StopAfterCopy - } - return false +type RemoveKeyspaceCellResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *ReshardCreateRequest) GetDeferSecondaryKeys() bool { - if x != nil { - return x.DeferSecondaryKeys +func (x *RemoveKeyspaceCellResponse) Reset() { + *x = RemoveKeyspaceCellResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *ReshardCreateRequest) GetAutoStart() bool { - if x != nil { - return x.AutoStart +func (x *RemoveKeyspaceCellResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveKeyspaceCellResponse) ProtoMessage() {} + +func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[176] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -type RestoreFromBackupRequest struct { +// Deprecated: Use RemoveKeyspaceCellResponse.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{176} +} + +type RemoveShardCellRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` - // BackupTime, if set, will use the backup taken most closely at or before - // this time. If nil, the latest backup will be restored on the tablet. - BackupTime *dev3.Time `protobuf:"bytes,2,opt,name=backup_time,json=backupTime,proto3" json:"backup_time,omitempty"` - // RestoreToPos indicates a position for a point-in-time recovery. The recovery - // is expected to utilize one full backup, followed by zero or more incremental backups, - // that reach the precise desired position - RestoreToPos string `protobuf:"bytes,3,opt,name=restore_to_pos,json=restoreToPos,proto3" json:"restore_to_pos,omitempty"` - // Dry run does not actually performs the restore, but validates the steps and availability of backups - DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` - // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. - // RestoreToTimestamp and RestoreToPos are mutually exclusive. - RestoreToTimestamp *dev3.Time `protobuf:"bytes,5,opt,name=restore_to_timestamp,json=restoreToTimestamp,proto3" json:"restore_to_timestamp,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` + // Force proceeds even if the cell's topology server cannot be reached. This + // should only be set if a cell has been shut down entirely, and the global + // topology data just needs to be updated. + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` + // Recursive also deletes all tablets in that cell belonging to the specified + // keyspace and shard. + Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"` } -func (x *RestoreFromBackupRequest) Reset() { - *x = RestoreFromBackupRequest{} +func (x *RemoveShardCellRequest) Reset() { + *x = RemoveShardCellRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[158] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RestoreFromBackupRequest) String() string { +func (x *RemoveShardCellRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RestoreFromBackupRequest) ProtoMessage() {} +func (*RemoveShardCellRequest) ProtoMessage() {} -func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[158] +func (x *RemoveShardCellRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[177] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10228,75 +11416,69 @@ func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RestoreFromBackupRequest.ProtoReflect.Descriptor instead. -func (*RestoreFromBackupRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{158} +// Deprecated: Use RemoveShardCellRequest.ProtoReflect.Descriptor instead. +func (*RemoveShardCellRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{177} } -func (x *RestoreFromBackupRequest) GetTabletAlias() *dev2.TabletAlias { +func (x *RemoveShardCellRequest) GetKeyspace() string { if x != nil { - return x.TabletAlias + return x.Keyspace } - return nil + return "" } -func (x *RestoreFromBackupRequest) GetBackupTime() *dev3.Time { +func (x *RemoveShardCellRequest) GetShardName() string { if x != nil { - return x.BackupTime + return x.ShardName } - return nil + return "" } -func (x *RestoreFromBackupRequest) GetRestoreToPos() string { +func (x *RemoveShardCellRequest) GetCell() string { if x != nil { - return x.RestoreToPos + return x.Cell } return "" } -func (x *RestoreFromBackupRequest) GetDryRun() bool { +func (x *RemoveShardCellRequest) GetForce() bool { if x != nil { - return x.DryRun + return x.Force } return false } -func (x *RestoreFromBackupRequest) GetRestoreToTimestamp() *dev3.Time { +func (x *RemoveShardCellRequest) GetRecursive() bool { if x != nil { - return x.RestoreToTimestamp + return x.Recursive } - return nil + return false } -type RestoreFromBackupResponse struct { +type RemoveShardCellResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - // TabletAlias is the alias of the tablet doing the restore. - TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` - Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` - Event *dev.Event `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"` } -func (x *RestoreFromBackupResponse) Reset() { - *x = RestoreFromBackupResponse{} +func (x *RemoveShardCellResponse) Reset() { + *x = RemoveShardCellResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[159] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RestoreFromBackupResponse) String() string { +func (x *RemoveShardCellResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RestoreFromBackupResponse) ProtoMessage() {} +func (*RemoveShardCellResponse) ProtoMessage() {} -func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[159] +func (x *RemoveShardCellResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[178] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10307,65 +11489,38 @@ func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RestoreFromBackupResponse.ProtoReflect.Descriptor instead. -func (*RestoreFromBackupResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{159} -} - -func (x *RestoreFromBackupResponse) GetTabletAlias() *dev2.TabletAlias { - if x != nil { - return x.TabletAlias - } - return nil -} - -func (x *RestoreFromBackupResponse) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *RestoreFromBackupResponse) GetShard() string { - if x != nil { - return x.Shard - } - return "" -} - -func (x *RestoreFromBackupResponse) GetEvent() *dev.Event { - if x != nil { - return x.Event - } - return nil +// Deprecated: Use RemoveShardCellResponse.ProtoReflect.Descriptor instead. +func (*RemoveShardCellResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{178} } -type RetrySchemaMigrationRequest struct { +type ReparentTabletRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` + // Tablet is the alias of the tablet that should be reparented under the + // current shard primary. + Tablet *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` } -func (x *RetrySchemaMigrationRequest) Reset() { - *x = RetrySchemaMigrationRequest{} +func (x *ReparentTabletRequest) Reset() { + *x = ReparentTabletRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[160] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RetrySchemaMigrationRequest) String() string { +func (x *ReparentTabletRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RetrySchemaMigrationRequest) ProtoMessage() {} +func (*ReparentTabletRequest) ProtoMessage() {} -func (x *RetrySchemaMigrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[160] +func (x *ReparentTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[179] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10376,50 +11531,48 @@ func (x *RetrySchemaMigrationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RetrySchemaMigrationRequest.ProtoReflect.Descriptor instead. -func (*RetrySchemaMigrationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{160} -} - -func (x *RetrySchemaMigrationRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +// Deprecated: Use ReparentTabletRequest.ProtoReflect.Descriptor instead. +func (*ReparentTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{179} } -func (x *RetrySchemaMigrationRequest) GetUuid() string { +func (x *ReparentTabletRequest) GetTablet() *dev2.TabletAlias { if x != nil { - return x.Uuid + return x.Tablet } - return "" + return nil } -type RetrySchemaMigrationResponse struct { +type ReparentTabletResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // Keyspace is the name of the keyspace the tablet was reparented in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard the tablet was reparented in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // Primary is the alias of the tablet that the tablet was reparented under. + Primary *dev2.TabletAlias `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` } -func (x *RetrySchemaMigrationResponse) Reset() { - *x = RetrySchemaMigrationResponse{} +func (x *ReparentTabletResponse) Reset() { + *x = ReparentTabletResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[161] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[180] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RetrySchemaMigrationResponse) String() string { +func (x *ReparentTabletResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RetrySchemaMigrationResponse) ProtoMessage() {} +func (*ReparentTabletResponse) ProtoMessage() {} -func (x *RetrySchemaMigrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[161] +func (x *ReparentTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[180] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10430,43 +11583,75 @@ func (x *RetrySchemaMigrationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RetrySchemaMigrationResponse.ProtoReflect.Descriptor instead. -func (*RetrySchemaMigrationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{161} +// Deprecated: Use ReparentTabletResponse.ProtoReflect.Descriptor instead. +func (*ReparentTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{180} } -func (x *RetrySchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { +func (x *ReparentTabletResponse) GetKeyspace() string { if x != nil { - return x.RowsAffectedByShard + return x.Keyspace + } + return "" +} + +func (x *ReparentTabletResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ReparentTabletResponse) GetPrimary() *dev2.TabletAlias { + if x != nil { + return x.Primary } return nil } -type RunHealthCheckRequest struct { +type ReshardCreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + SourceShards []string `protobuf:"bytes,3,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` + TargetShards []string `protobuf:"bytes,4,rep,name=target_shards,json=targetShards,proto3" json:"target_shards,omitempty"` + Cells []string `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + // SkipSchemaCopy specifies if the schema should be copied from the source shard, set false if + // schema is already created on the target shard before Reshard is invoked. + SkipSchemaCopy bool `protobuf:"varint,8,opt,name=skip_schema_copy,json=skipSchemaCopy,proto3" json:"skip_schema_copy,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl string `protobuf:"bytes,9,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` + // StopAfterCopy specifies if vreplication should be stopped after copying. + StopAfterCopy bool `protobuf:"varint,10,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,11,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // Start the workflow after creating it. + AutoStart bool `protobuf:"varint,12,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` + WorkflowOptions *WorkflowOptions `protobuf:"bytes,13,opt,name=workflow_options,json=workflowOptions,proto3" json:"workflow_options,omitempty"` } -func (x *RunHealthCheckRequest) Reset() { - *x = RunHealthCheckRequest{} +func (x *ReshardCreateRequest) Reset() { + *x = ReshardCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[162] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[181] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RunHealthCheckRequest) String() string { +func (x *ReshardCreateRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RunHealthCheckRequest) ProtoMessage() {} +func (*ReshardCreateRequest) ProtoMessage() {} -func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[162] +func (x *ReshardCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[181] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10477,137 +11662,141 @@ func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. -func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{162} +// Deprecated: Use ReshardCreateRequest.ProtoReflect.Descriptor instead. +func (*ReshardCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{181} } -func (x *RunHealthCheckRequest) GetTabletAlias() *dev2.TabletAlias { +func (x *ReshardCreateRequest) GetWorkflow() string { if x != nil { - return x.TabletAlias + return x.Workflow } - return nil + return "" } -type RunHealthCheckResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *ReshardCreateRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" } -func (x *RunHealthCheckResponse) Reset() { - *x = RunHealthCheckResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[163] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ReshardCreateRequest) GetSourceShards() []string { + if x != nil { + return x.SourceShards } + return nil } -func (x *RunHealthCheckResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *ReshardCreateRequest) GetTargetShards() []string { + if x != nil { + return x.TargetShards + } + return nil } -func (*RunHealthCheckResponse) ProtoMessage() {} - -func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[163] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ReshardCreateRequest) GetCells() []string { + if x != nil { + return x.Cells } - return mi.MessageOf(x) + return nil } -// Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. -func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{163} +func (x *ReshardCreateRequest) GetTabletTypes() []dev2.TabletType { + if x != nil { + return x.TabletTypes + } + return nil } -type SetKeyspaceDurabilityPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - DurabilityPolicy string `protobuf:"bytes,2,opt,name=durability_policy,json=durabilityPolicy,proto3" json:"durability_policy,omitempty"` +func (x *ReshardCreateRequest) GetTabletSelectionPreference() dev1.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return dev1.TabletSelectionPreference(0) } -func (x *SetKeyspaceDurabilityPolicyRequest) Reset() { - *x = SetKeyspaceDurabilityPolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[164] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ReshardCreateRequest) GetSkipSchemaCopy() bool { + if x != nil { + return x.SkipSchemaCopy } + return false } -func (x *SetKeyspaceDurabilityPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *ReshardCreateRequest) GetOnDdl() string { + if x != nil { + return x.OnDdl + } + return "" } -func (*SetKeyspaceDurabilityPolicyRequest) ProtoMessage() {} - -func (x *SetKeyspaceDurabilityPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[164] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ReshardCreateRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy } - return mi.MessageOf(x) + return false } -// Deprecated: Use SetKeyspaceDurabilityPolicyRequest.ProtoReflect.Descriptor instead. -func (*SetKeyspaceDurabilityPolicyRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{164} +func (x *ReshardCreateRequest) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false } -func (x *SetKeyspaceDurabilityPolicyRequest) GetKeyspace() string { +func (x *ReshardCreateRequest) GetAutoStart() bool { if x != nil { - return x.Keyspace + return x.AutoStart } - return "" + return false } -func (x *SetKeyspaceDurabilityPolicyRequest) GetDurabilityPolicy() string { +func (x *ReshardCreateRequest) GetWorkflowOptions() *WorkflowOptions { if x != nil { - return x.DurabilityPolicy + return x.WorkflowOptions } - return "" + return nil } -type SetKeyspaceDurabilityPolicyResponse struct { +type RestoreFromBackupRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Keyspace is the updated keyspace record. - Keyspace *dev2.Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // BackupTime, if set, will use the backup taken most closely at or before + // this time. If nil, the latest backup will be restored on the tablet. + BackupTime *dev3.Time `protobuf:"bytes,2,opt,name=backup_time,json=backupTime,proto3" json:"backup_time,omitempty"` + // RestoreToPos indicates a position for a point-in-time recovery. The recovery + // is expected to utilize one full backup, followed by zero or more incremental backups, + // that reach the precise desired position + RestoreToPos string `protobuf:"bytes,3,opt,name=restore_to_pos,json=restoreToPos,proto3" json:"restore_to_pos,omitempty"` + // Dry run does not actually performs the restore, but validates the steps and availability of backups + DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. + // RestoreToTimestamp and RestoreToPos are mutually exclusive. + RestoreToTimestamp *dev3.Time `protobuf:"bytes,5,opt,name=restore_to_timestamp,json=restoreToTimestamp,proto3" json:"restore_to_timestamp,omitempty"` + // AllowedBackupEngines, if present will filter out any backups taken with engines not included in the list + AllowedBackupEngines []string `protobuf:"bytes,6,rep,name=allowed_backup_engines,json=allowedBackupEngines,proto3" json:"allowed_backup_engines,omitempty"` } -func (x *SetKeyspaceDurabilityPolicyResponse) Reset() { - *x = SetKeyspaceDurabilityPolicyResponse{} +func (x *RestoreFromBackupRequest) Reset() { + *x = RestoreFromBackupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[165] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[182] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetKeyspaceDurabilityPolicyResponse) String() string { +func (x *RestoreFromBackupRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetKeyspaceDurabilityPolicyResponse) ProtoMessage() {} +func (*RestoreFromBackupRequest) ProtoMessage() {} -func (x *SetKeyspaceDurabilityPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[165] +func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[182] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10618,47 +11807,82 @@ func (x *SetKeyspaceDurabilityPolicyResponse) ProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -// Deprecated: Use SetKeyspaceDurabilityPolicyResponse.ProtoReflect.Descriptor instead. -func (*SetKeyspaceDurabilityPolicyResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{165} +// Deprecated: Use RestoreFromBackupRequest.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{182} } -func (x *SetKeyspaceDurabilityPolicyResponse) GetKeyspace() *dev2.Keyspace { +func (x *RestoreFromBackupRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.Keyspace + return x.TabletAlias + } + return nil +} + +func (x *RestoreFromBackupRequest) GetBackupTime() *dev3.Time { + if x != nil { + return x.BackupTime + } + return nil +} + +func (x *RestoreFromBackupRequest) GetRestoreToPos() string { + if x != nil { + return x.RestoreToPos + } + return "" +} + +func (x *RestoreFromBackupRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *RestoreFromBackupRequest) GetRestoreToTimestamp() *dev3.Time { + if x != nil { + return x.RestoreToTimestamp + } + return nil +} + +func (x *RestoreFromBackupRequest) GetAllowedBackupEngines() []string { + if x != nil { + return x.AllowedBackupEngines } return nil } -type SetKeyspaceServedFromRequest struct { +type RestoreFromBackupResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - TabletType dev2.TabletType `protobuf:"varint,2,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_type,omitempty"` - Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` - Remove bool `protobuf:"varint,4,opt,name=remove,proto3" json:"remove,omitempty"` - SourceKeyspace string `protobuf:"bytes,5,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` + // TabletAlias is the alias of the tablet doing the restore. + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + Event *dev.Event `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"` } -func (x *SetKeyspaceServedFromRequest) Reset() { - *x = SetKeyspaceServedFromRequest{} +func (x *RestoreFromBackupResponse) Reset() { + *x = RestoreFromBackupResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[166] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[183] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetKeyspaceServedFromRequest) String() string { +func (x *RestoreFromBackupResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetKeyspaceServedFromRequest) ProtoMessage() {} +func (*RestoreFromBackupResponse) ProtoMessage() {} -func (x *SetKeyspaceServedFromRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[166] +func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[183] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10669,72 +11893,65 @@ func (x *SetKeyspaceServedFromRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetKeyspaceServedFromRequest.ProtoReflect.Descriptor instead. -func (*SetKeyspaceServedFromRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{166} -} - -func (x *SetKeyspaceServedFromRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +// Deprecated: Use RestoreFromBackupResponse.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{183} } -func (x *SetKeyspaceServedFromRequest) GetTabletType() dev2.TabletType { +func (x *RestoreFromBackupResponse) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.TabletType + return x.TabletAlias } - return dev2.TabletType(0) + return nil } -func (x *SetKeyspaceServedFromRequest) GetCells() []string { +func (x *RestoreFromBackupResponse) GetKeyspace() string { if x != nil { - return x.Cells + return x.Keyspace } - return nil + return "" } -func (x *SetKeyspaceServedFromRequest) GetRemove() bool { +func (x *RestoreFromBackupResponse) GetShard() string { if x != nil { - return x.Remove + return x.Shard } - return false + return "" } -func (x *SetKeyspaceServedFromRequest) GetSourceKeyspace() string { +func (x *RestoreFromBackupResponse) GetEvent() *dev.Event { if x != nil { - return x.SourceKeyspace + return x.Event } - return "" + return nil } -type SetKeyspaceServedFromResponse struct { +type RetrySchemaMigrationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Keyspace is the updated keyspace record. - Keyspace *dev2.Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` } -func (x *SetKeyspaceServedFromResponse) Reset() { - *x = SetKeyspaceServedFromResponse{} +func (x *RetrySchemaMigrationRequest) Reset() { + *x = RetrySchemaMigrationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[167] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[184] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetKeyspaceServedFromResponse) String() string { +func (x *RetrySchemaMigrationRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetKeyspaceServedFromResponse) ProtoMessage() {} +func (*RetrySchemaMigrationRequest) ProtoMessage() {} -func (x *SetKeyspaceServedFromResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[167] +func (x *RetrySchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[184] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10745,44 +11962,50 @@ func (x *SetKeyspaceServedFromResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetKeyspaceServedFromResponse.ProtoReflect.Descriptor instead. -func (*SetKeyspaceServedFromResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{167} +// Deprecated: Use RetrySchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*RetrySchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{184} } -func (x *SetKeyspaceServedFromResponse) GetKeyspace() *dev2.Keyspace { +func (x *RetrySchemaMigrationRequest) GetKeyspace() string { if x != nil { return x.Keyspace } - return nil + return "" } -type SetKeyspaceShardingInfoRequest struct { +func (x *RetrySchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type RetrySchemaMigrationResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (x *SetKeyspaceShardingInfoRequest) Reset() { - *x = SetKeyspaceShardingInfoRequest{} +func (x *RetrySchemaMigrationResponse) Reset() { + *x = RetrySchemaMigrationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[168] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[185] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetKeyspaceShardingInfoRequest) String() string { +func (x *RetrySchemaMigrationResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetKeyspaceShardingInfoRequest) ProtoMessage() {} +func (*RetrySchemaMigrationResponse) ProtoMessage() {} -func (x *SetKeyspaceShardingInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[168] +func (x *RetrySchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[185] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10793,51 +12016,43 @@ func (x *SetKeyspaceShardingInfoRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetKeyspaceShardingInfoRequest.ProtoReflect.Descriptor instead. -func (*SetKeyspaceShardingInfoRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{168} -} - -func (x *SetKeyspaceShardingInfoRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" +// Deprecated: Use RetrySchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*RetrySchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{185} } -func (x *SetKeyspaceShardingInfoRequest) GetForce() bool { +func (x *RetrySchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { if x != nil { - return x.Force + return x.RowsAffectedByShard } - return false + return nil } -type SetKeyspaceShardingInfoResponse struct { +type RunHealthCheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Keyspace is the updated keyspace record. - Keyspace *dev2.Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` } -func (x *SetKeyspaceShardingInfoResponse) Reset() { - *x = SetKeyspaceShardingInfoResponse{} +func (x *RunHealthCheckRequest) Reset() { + *x = RunHealthCheckRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[169] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[186] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetKeyspaceShardingInfoResponse) String() string { +func (x *RunHealthCheckRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetKeyspaceShardingInfoResponse) ProtoMessage() {} +func (*RunHealthCheckRequest) ProtoMessage() {} -func (x *SetKeyspaceShardingInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[169] +func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[186] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10848,45 +12063,41 @@ func (x *SetKeyspaceShardingInfoResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetKeyspaceShardingInfoResponse.ProtoReflect.Descriptor instead. -func (*SetKeyspaceShardingInfoResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{169} +// Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. +func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{186} } -func (x *SetKeyspaceShardingInfoResponse) GetKeyspace() *dev2.Keyspace { +func (x *RunHealthCheckRequest) GetTabletAlias() *dev2.TabletAlias { if x != nil { - return x.Keyspace + return x.TabletAlias } return nil } -type SetShardIsPrimaryServingRequest struct { +type RunHealthCheckResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - IsServing bool `protobuf:"varint,3,opt,name=is_serving,json=isServing,proto3" json:"is_serving,omitempty"` } -func (x *SetShardIsPrimaryServingRequest) Reset() { - *x = SetShardIsPrimaryServingRequest{} +func (x *RunHealthCheckResponse) Reset() { + *x = RunHealthCheckResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[170] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[187] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetShardIsPrimaryServingRequest) String() string { +func (x *RunHealthCheckResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetShardIsPrimaryServingRequest) ProtoMessage() {} +func (*RunHealthCheckResponse) ProtoMessage() {} -func (x *SetShardIsPrimaryServingRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[170] +func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[187] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10897,58 +12108,37 @@ func (x *SetShardIsPrimaryServingRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetShardIsPrimaryServingRequest.ProtoReflect.Descriptor instead. -func (*SetShardIsPrimaryServingRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{170} -} - -func (x *SetShardIsPrimaryServingRequest) GetKeyspace() string { - if x != nil { - return x.Keyspace - } - return "" -} - -func (x *SetShardIsPrimaryServingRequest) GetShard() string { - if x != nil { - return x.Shard - } - return "" -} - -func (x *SetShardIsPrimaryServingRequest) GetIsServing() bool { - if x != nil { - return x.IsServing - } - return false +// Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. +func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{187} } -type SetShardIsPrimaryServingResponse struct { +type SetKeyspaceDurabilityPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Shard is the updated shard record. - Shard *dev2.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + DurabilityPolicy string `protobuf:"bytes,2,opt,name=durability_policy,json=durabilityPolicy,proto3" json:"durability_policy,omitempty"` } -func (x *SetShardIsPrimaryServingResponse) Reset() { - *x = SetShardIsPrimaryServingResponse{} +func (x *SetKeyspaceDurabilityPolicyRequest) Reset() { + *x = SetKeyspaceDurabilityPolicyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[171] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[188] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetShardIsPrimaryServingResponse) String() string { +func (x *SetKeyspaceDurabilityPolicyRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetShardIsPrimaryServingResponse) ProtoMessage() {} +func (*SetKeyspaceDurabilityPolicyRequest) ProtoMessage() {} -func (x *SetShardIsPrimaryServingResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[171] +func (x *SetKeyspaceDurabilityPolicyRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[188] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10959,63 +12149,51 @@ func (x *SetShardIsPrimaryServingResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetShardIsPrimaryServingResponse.ProtoReflect.Descriptor instead. -func (*SetShardIsPrimaryServingResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{171} +// Deprecated: Use SetKeyspaceDurabilityPolicyRequest.ProtoReflect.Descriptor instead. +func (*SetKeyspaceDurabilityPolicyRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{188} } -func (x *SetShardIsPrimaryServingResponse) GetShard() *dev2.Shard { +func (x *SetKeyspaceDurabilityPolicyRequest) GetKeyspace() string { if x != nil { - return x.Shard + return x.Keyspace } - return nil + return "" } -type SetShardTabletControlRequest struct { +func (x *SetKeyspaceDurabilityPolicyRequest) GetDurabilityPolicy() string { + if x != nil { + return x.DurabilityPolicy + } + return "" +} + +type SetKeyspaceDurabilityPolicyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - TabletType dev2.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_type,omitempty"` - Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` - // DeniedTables updates the list of denied tables the shard will serve for - // the given tablet type. This is useful to fix tables that are being blocked - // after a MoveTables operation. - // - // NOTE: Setting this field will cause DisableQueryService to be ignored. - DeniedTables []string `protobuf:"bytes,5,rep,name=denied_tables,json=deniedTables,proto3" json:"denied_tables,omitempty"` - // DisableQueryService instructs whether to enable the query service on - // tablets of the given type in the shard. This is useful to fix Reshard - // operations gone awry. - // - // NOTE: this is ignored if DeniedTables is not empty. - DisableQueryService bool `protobuf:"varint,6,opt,name=disable_query_service,json=disableQueryService,proto3" json:"disable_query_service,omitempty"` - // Remove removes the ShardTabletControl record entirely. If set, this takes - // precedence over DeniedTables and DisableQueryService fields, and is useful - // to manually remove serving restrictions after a completed MoveTables - // operation. - Remove bool `protobuf:"varint,7,opt,name=remove,proto3" json:"remove,omitempty"` + // Keyspace is the updated keyspace record. + Keyspace *dev2.Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` } -func (x *SetShardTabletControlRequest) Reset() { - *x = SetShardTabletControlRequest{} +func (x *SetKeyspaceDurabilityPolicyResponse) Reset() { + *x = SetKeyspaceDurabilityPolicyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[172] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[189] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetShardTabletControlRequest) String() string { +func (x *SetKeyspaceDurabilityPolicyResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetShardTabletControlRequest) ProtoMessage() {} +func (*SetKeyspaceDurabilityPolicyResponse) ProtoMessage() {} -func (x *SetShardTabletControlRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[172] +func (x *SetKeyspaceDurabilityPolicyResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[189] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11026,86 +12204,99 @@ func (x *SetShardTabletControlRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetShardTabletControlRequest.ProtoReflect.Descriptor instead. -func (*SetShardTabletControlRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{172} +// Deprecated: Use SetKeyspaceDurabilityPolicyResponse.ProtoReflect.Descriptor instead. +func (*SetKeyspaceDurabilityPolicyResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{189} } -func (x *SetShardTabletControlRequest) GetKeyspace() string { +func (x *SetKeyspaceDurabilityPolicyResponse) GetKeyspace() *dev2.Keyspace { if x != nil { return x.Keyspace } - return "" + return nil } -func (x *SetShardTabletControlRequest) GetShard() string { - if x != nil { - return x.Shard - } - return "" +type SetKeyspaceShardingInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` } -func (x *SetShardTabletControlRequest) GetTabletType() dev2.TabletType { - if x != nil { - return x.TabletType +func (x *SetKeyspaceShardingInfoRequest) Reset() { + *x = SetKeyspaceShardingInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[190] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dev2.TabletType(0) } -func (x *SetShardTabletControlRequest) GetCells() []string { - if x != nil { - return x.Cells - } - return nil +func (x *SetKeyspaceShardingInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *SetShardTabletControlRequest) GetDeniedTables() []string { - if x != nil { - return x.DeniedTables +func (*SetKeyspaceShardingInfoRequest) ProtoMessage() {} + +func (x *SetKeyspaceShardingInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[190] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *SetShardTabletControlRequest) GetDisableQueryService() bool { +// Deprecated: Use SetKeyspaceShardingInfoRequest.ProtoReflect.Descriptor instead. +func (*SetKeyspaceShardingInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{190} +} + +func (x *SetKeyspaceShardingInfoRequest) GetKeyspace() string { if x != nil { - return x.DisableQueryService + return x.Keyspace } - return false + return "" } -func (x *SetShardTabletControlRequest) GetRemove() bool { +func (x *SetKeyspaceShardingInfoRequest) GetForce() bool { if x != nil { - return x.Remove + return x.Force } return false } -type SetShardTabletControlResponse struct { +type SetKeyspaceShardingInfoResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Shard is the updated shard record. - Shard *dev2.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` + // Keyspace is the updated keyspace record. + Keyspace *dev2.Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` } -func (x *SetShardTabletControlResponse) Reset() { - *x = SetShardTabletControlResponse{} +func (x *SetKeyspaceShardingInfoResponse) Reset() { + *x = SetKeyspaceShardingInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[173] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[191] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetShardTabletControlResponse) String() string { +func (x *SetKeyspaceShardingInfoResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetShardTabletControlResponse) ProtoMessage() {} +func (*SetKeyspaceShardingInfoResponse) ProtoMessage() {} -func (x *SetShardTabletControlResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[173] +func (x *SetKeyspaceShardingInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[191] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11116,44 +12307,45 @@ func (x *SetShardTabletControlResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetShardTabletControlResponse.ProtoReflect.Descriptor instead. -func (*SetShardTabletControlResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{173} +// Deprecated: Use SetKeyspaceShardingInfoResponse.ProtoReflect.Descriptor instead. +func (*SetKeyspaceShardingInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{191} } -func (x *SetShardTabletControlResponse) GetShard() *dev2.Shard { +func (x *SetKeyspaceShardingInfoResponse) GetKeyspace() *dev2.Keyspace { if x != nil { - return x.Shard + return x.Keyspace } return nil } -type SetWritableRequest struct { +type SetShardIsPrimaryServingRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` - Writable bool `protobuf:"varint,2,opt,name=writable,proto3" json:"writable,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + IsServing bool `protobuf:"varint,3,opt,name=is_serving,json=isServing,proto3" json:"is_serving,omitempty"` } -func (x *SetWritableRequest) Reset() { - *x = SetWritableRequest{} +func (x *SetShardIsPrimaryServingRequest) Reset() { + *x = SetShardIsPrimaryServingRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[174] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[192] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetWritableRequest) String() string { +func (x *SetShardIsPrimaryServingRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetWritableRequest) ProtoMessage() {} +func (*SetShardIsPrimaryServingRequest) ProtoMessage() {} -func (x *SetWritableRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[174] +func (x *SetShardIsPrimaryServingRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[192] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11164,48 +12356,58 @@ func (x *SetWritableRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetWritableRequest.ProtoReflect.Descriptor instead. -func (*SetWritableRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{174} +// Deprecated: Use SetShardIsPrimaryServingRequest.ProtoReflect.Descriptor instead. +func (*SetShardIsPrimaryServingRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{192} } -func (x *SetWritableRequest) GetTabletAlias() *dev2.TabletAlias { +func (x *SetShardIsPrimaryServingRequest) GetKeyspace() string { if x != nil { - return x.TabletAlias + return x.Keyspace } - return nil + return "" } -func (x *SetWritableRequest) GetWritable() bool { +func (x *SetShardIsPrimaryServingRequest) GetShard() string { if x != nil { - return x.Writable + return x.Shard + } + return "" +} + +func (x *SetShardIsPrimaryServingRequest) GetIsServing() bool { + if x != nil { + return x.IsServing } return false } -type SetWritableResponse struct { +type SetShardIsPrimaryServingResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + // Shard is the updated shard record. + Shard *dev2.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` } -func (x *SetWritableResponse) Reset() { - *x = SetWritableResponse{} +func (x *SetShardIsPrimaryServingResponse) Reset() { + *x = SetShardIsPrimaryServingResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[175] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[193] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetWritableResponse) String() string { +func (x *SetShardIsPrimaryServingResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetWritableResponse) ProtoMessage() {} +func (*SetShardIsPrimaryServingResponse) ProtoMessage() {} -func (x *SetWritableResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[175] +func (x *SetShardIsPrimaryServingResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[193] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11216,38 +12418,295 @@ func (x *SetWritableResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetWritableResponse.ProtoReflect.Descriptor instead. -func (*SetWritableResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{175} +// Deprecated: Use SetShardIsPrimaryServingResponse.ProtoReflect.Descriptor instead. +func (*SetShardIsPrimaryServingResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{193} } -type ShardReplicationAddRequest struct { +func (x *SetShardIsPrimaryServingResponse) GetShard() *dev2.Shard { + if x != nil { + return x.Shard + } + return nil +} + +type SetShardTabletControlRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` - TabletAlias *dev2.TabletAlias `protobuf:"bytes,3,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + TabletType dev2.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_type,omitempty"` + Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` + // DeniedTables updates the list of denied tables the shard will serve for + // the given tablet type. This is useful to fix tables that are being blocked + // after a MoveTables operation. + // + // NOTE: Setting this field will cause DisableQueryService to be ignored. + DeniedTables []string `protobuf:"bytes,5,rep,name=denied_tables,json=deniedTables,proto3" json:"denied_tables,omitempty"` + // DisableQueryService instructs whether to enable the query service on + // tablets of the given type in the shard. This is useful to fix Reshard + // operations gone awry. + // + // NOTE: this is ignored if DeniedTables is not empty. + DisableQueryService bool `protobuf:"varint,6,opt,name=disable_query_service,json=disableQueryService,proto3" json:"disable_query_service,omitempty"` + // Remove removes the ShardTabletControl record entirely. If set, this takes + // precedence over DeniedTables and DisableQueryService fields, and is useful + // to manually remove serving restrictions after a completed MoveTables + // operation. + Remove bool `protobuf:"varint,7,opt,name=remove,proto3" json:"remove,omitempty"` } -func (x *ShardReplicationAddRequest) Reset() { - *x = ShardReplicationAddRequest{} +func (x *SetShardTabletControlRequest) Reset() { + *x = SetShardTabletControlRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[176] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[194] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ShardReplicationAddRequest) String() string { +func (x *SetShardTabletControlRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ShardReplicationAddRequest) ProtoMessage() {} +func (*SetShardTabletControlRequest) ProtoMessage() {} + +func (x *SetShardTabletControlRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[194] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetShardTabletControlRequest.ProtoReflect.Descriptor instead. +func (*SetShardTabletControlRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{194} +} + +func (x *SetShardTabletControlRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SetShardTabletControlRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *SetShardTabletControlRequest) GetTabletType() dev2.TabletType { + if x != nil { + return x.TabletType + } + return dev2.TabletType(0) +} + +func (x *SetShardTabletControlRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *SetShardTabletControlRequest) GetDeniedTables() []string { + if x != nil { + return x.DeniedTables + } + return nil +} + +func (x *SetShardTabletControlRequest) GetDisableQueryService() bool { + if x != nil { + return x.DisableQueryService + } + return false +} + +func (x *SetShardTabletControlRequest) GetRemove() bool { + if x != nil { + return x.Remove + } + return false +} + +type SetShardTabletControlResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Shard is the updated shard record. + Shard *dev2.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *SetShardTabletControlResponse) Reset() { + *x = SetShardTabletControlResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[195] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetShardTabletControlResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetShardTabletControlResponse) ProtoMessage() {} + +func (x *SetShardTabletControlResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[195] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetShardTabletControlResponse.ProtoReflect.Descriptor instead. +func (*SetShardTabletControlResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{195} +} + +func (x *SetShardTabletControlResponse) GetShard() *dev2.Shard { + if x != nil { + return x.Shard + } + return nil +} + +type SetWritableRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *dev2.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Writable bool `protobuf:"varint,2,opt,name=writable,proto3" json:"writable,omitempty"` +} + +func (x *SetWritableRequest) Reset() { + *x = SetWritableRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[196] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetWritableRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetWritableRequest) ProtoMessage() {} + +func (x *SetWritableRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[196] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetWritableRequest.ProtoReflect.Descriptor instead. +func (*SetWritableRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{196} +} + +func (x *SetWritableRequest) GetTabletAlias() *dev2.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *SetWritableRequest) GetWritable() bool { + if x != nil { + return x.Writable + } + return false +} + +type SetWritableResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetWritableResponse) Reset() { + *x = SetWritableResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[197] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetWritableResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetWritableResponse) ProtoMessage() {} + +func (x *SetWritableResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[197] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetWritableResponse.ProtoReflect.Descriptor instead. +func (*SetWritableResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{197} +} + +type ShardReplicationAddRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + TabletAlias *dev2.TabletAlias `protobuf:"bytes,3,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ShardReplicationAddRequest) Reset() { + *x = ShardReplicationAddRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[198] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationAddRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationAddRequest) ProtoMessage() {} func (x *ShardReplicationAddRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[176] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[198] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11260,7 +12719,7 @@ func (x *ShardReplicationAddRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardReplicationAddRequest.ProtoReflect.Descriptor instead. func (*ShardReplicationAddRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{176} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{198} } func (x *ShardReplicationAddRequest) GetKeyspace() string { @@ -11293,7 +12752,7 @@ type ShardReplicationAddResponse struct { func (x *ShardReplicationAddResponse) Reset() { *x = ShardReplicationAddResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[177] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[199] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11306,7 +12765,7 @@ func (x *ShardReplicationAddResponse) String() string { func (*ShardReplicationAddResponse) ProtoMessage() {} func (x *ShardReplicationAddResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[177] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[199] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11319,7 +12778,7 @@ func (x *ShardReplicationAddResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardReplicationAddResponse.ProtoReflect.Descriptor instead. func (*ShardReplicationAddResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{177} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{199} } type ShardReplicationFixRequest struct { @@ -11335,7 +12794,7 @@ type ShardReplicationFixRequest struct { func (x *ShardReplicationFixRequest) Reset() { *x = ShardReplicationFixRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[178] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[200] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11348,7 +12807,7 @@ func (x *ShardReplicationFixRequest) String() string { func (*ShardReplicationFixRequest) ProtoMessage() {} func (x *ShardReplicationFixRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[178] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[200] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11361,7 +12820,7 @@ func (x *ShardReplicationFixRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardReplicationFixRequest.ProtoReflect.Descriptor instead. func (*ShardReplicationFixRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{178} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{200} } func (x *ShardReplicationFixRequest) GetKeyspace() string { @@ -11399,7 +12858,7 @@ type ShardReplicationFixResponse struct { func (x *ShardReplicationFixResponse) Reset() { *x = ShardReplicationFixResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[179] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[201] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11412,7 +12871,7 @@ func (x *ShardReplicationFixResponse) String() string { func (*ShardReplicationFixResponse) ProtoMessage() {} func (x *ShardReplicationFixResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[179] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[201] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11425,7 +12884,7 @@ func (x *ShardReplicationFixResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardReplicationFixResponse.ProtoReflect.Descriptor instead. func (*ShardReplicationFixResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{179} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{201} } func (x *ShardReplicationFixResponse) GetError() *dev2.ShardReplicationError { @@ -11447,7 +12906,7 @@ type ShardReplicationPositionsRequest struct { func (x *ShardReplicationPositionsRequest) Reset() { *x = ShardReplicationPositionsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[180] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[202] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11460,7 +12919,7 @@ func (x *ShardReplicationPositionsRequest) String() string { func (*ShardReplicationPositionsRequest) ProtoMessage() {} func (x *ShardReplicationPositionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[180] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[202] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11473,7 +12932,7 @@ func (x *ShardReplicationPositionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardReplicationPositionsRequest.ProtoReflect.Descriptor instead. func (*ShardReplicationPositionsRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{180} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{202} } func (x *ShardReplicationPositionsRequest) GetKeyspace() string { @@ -11506,7 +12965,7 @@ type ShardReplicationPositionsResponse struct { func (x *ShardReplicationPositionsResponse) Reset() { *x = ShardReplicationPositionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[181] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11519,7 +12978,7 @@ func (x *ShardReplicationPositionsResponse) String() string { func (*ShardReplicationPositionsResponse) ProtoMessage() {} func (x *ShardReplicationPositionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[181] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[203] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11532,7 +12991,7 @@ func (x *ShardReplicationPositionsResponse) ProtoReflect() protoreflect.Message // Deprecated: Use ShardReplicationPositionsResponse.ProtoReflect.Descriptor instead. func (*ShardReplicationPositionsResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{181} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{203} } func (x *ShardReplicationPositionsResponse) GetReplicationStatuses() map[string]*dev8.Status { @@ -11562,7 +13021,7 @@ type ShardReplicationRemoveRequest struct { func (x *ShardReplicationRemoveRequest) Reset() { *x = ShardReplicationRemoveRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[182] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[204] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11575,7 +13034,7 @@ func (x *ShardReplicationRemoveRequest) String() string { func (*ShardReplicationRemoveRequest) ProtoMessage() {} func (x *ShardReplicationRemoveRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[182] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[204] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11588,7 +13047,7 @@ func (x *ShardReplicationRemoveRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardReplicationRemoveRequest.ProtoReflect.Descriptor instead. func (*ShardReplicationRemoveRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{182} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{204} } func (x *ShardReplicationRemoveRequest) GetKeyspace() string { @@ -11621,7 +13080,7 @@ type ShardReplicationRemoveResponse struct { func (x *ShardReplicationRemoveResponse) Reset() { *x = ShardReplicationRemoveResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[183] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[205] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11634,7 +13093,7 @@ func (x *ShardReplicationRemoveResponse) String() string { func (*ShardReplicationRemoveResponse) ProtoMessage() {} func (x *ShardReplicationRemoveResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[183] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[205] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11647,7 +13106,7 @@ func (x *ShardReplicationRemoveResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ShardReplicationRemoveResponse.ProtoReflect.Descriptor instead. func (*ShardReplicationRemoveResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{183} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{205} } type SleepTabletRequest struct { @@ -11662,7 +13121,7 @@ type SleepTabletRequest struct { func (x *SleepTabletRequest) Reset() { *x = SleepTabletRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[184] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[206] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11675,7 +13134,7 @@ func (x *SleepTabletRequest) String() string { func (*SleepTabletRequest) ProtoMessage() {} func (x *SleepTabletRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[184] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[206] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11688,7 +13147,7 @@ func (x *SleepTabletRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SleepTabletRequest.ProtoReflect.Descriptor instead. func (*SleepTabletRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{184} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{206} } func (x *SleepTabletRequest) GetTabletAlias() *dev2.TabletAlias { @@ -11714,7 +13173,7 @@ type SleepTabletResponse struct { func (x *SleepTabletResponse) Reset() { *x = SleepTabletResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[185] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11727,7 +13186,7 @@ func (x *SleepTabletResponse) String() string { func (*SleepTabletResponse) ProtoMessage() {} func (x *SleepTabletResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[185] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[207] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11740,7 +13199,7 @@ func (x *SleepTabletResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SleepTabletResponse.ProtoReflect.Descriptor instead. func (*SleepTabletResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{185} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{207} } type SourceShardAddRequest struct { @@ -11764,7 +13223,7 @@ type SourceShardAddRequest struct { func (x *SourceShardAddRequest) Reset() { *x = SourceShardAddRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[186] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[208] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11777,7 +13236,7 @@ func (x *SourceShardAddRequest) String() string { func (*SourceShardAddRequest) ProtoMessage() {} func (x *SourceShardAddRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[186] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[208] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11790,7 +13249,7 @@ func (x *SourceShardAddRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SourceShardAddRequest.ProtoReflect.Descriptor instead. func (*SourceShardAddRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{186} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{208} } func (x *SourceShardAddRequest) GetKeyspace() string { @@ -11854,7 +13313,7 @@ type SourceShardAddResponse struct { func (x *SourceShardAddResponse) Reset() { *x = SourceShardAddResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[187] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[209] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11867,7 +13326,7 @@ func (x *SourceShardAddResponse) String() string { func (*SourceShardAddResponse) ProtoMessage() {} func (x *SourceShardAddResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[187] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[209] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11880,7 +13339,7 @@ func (x *SourceShardAddResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SourceShardAddResponse.ProtoReflect.Descriptor instead. func (*SourceShardAddResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{187} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{209} } func (x *SourceShardAddResponse) GetShard() *dev2.Shard { @@ -11903,7 +13362,7 @@ type SourceShardDeleteRequest struct { func (x *SourceShardDeleteRequest) Reset() { *x = SourceShardDeleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[188] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[210] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11916,7 +13375,7 @@ func (x *SourceShardDeleteRequest) String() string { func (*SourceShardDeleteRequest) ProtoMessage() {} func (x *SourceShardDeleteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[188] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[210] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11929,7 +13388,7 @@ func (x *SourceShardDeleteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SourceShardDeleteRequest.ProtoReflect.Descriptor instead. func (*SourceShardDeleteRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{188} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{210} } func (x *SourceShardDeleteRequest) GetKeyspace() string { @@ -11965,7 +13424,7 @@ type SourceShardDeleteResponse struct { func (x *SourceShardDeleteResponse) Reset() { *x = SourceShardDeleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[189] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[211] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11978,7 +13437,7 @@ func (x *SourceShardDeleteResponse) String() string { func (*SourceShardDeleteResponse) ProtoMessage() {} func (x *SourceShardDeleteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[189] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[211] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11991,7 +13450,7 @@ func (x *SourceShardDeleteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SourceShardDeleteResponse.ProtoReflect.Descriptor instead. func (*SourceShardDeleteResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{189} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{211} } func (x *SourceShardDeleteResponse) GetShard() *dev2.Shard { @@ -12012,7 +13471,7 @@ type StartReplicationRequest struct { func (x *StartReplicationRequest) Reset() { *x = StartReplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[190] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[212] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12025,7 +13484,7 @@ func (x *StartReplicationRequest) String() string { func (*StartReplicationRequest) ProtoMessage() {} func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[190] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[212] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12038,7 +13497,7 @@ func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. func (*StartReplicationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{190} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{212} } func (x *StartReplicationRequest) GetTabletAlias() *dev2.TabletAlias { @@ -12057,7 +13516,7 @@ type StartReplicationResponse struct { func (x *StartReplicationResponse) Reset() { *x = StartReplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[191] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[213] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12070,7 +13529,7 @@ func (x *StartReplicationResponse) String() string { func (*StartReplicationResponse) ProtoMessage() {} func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[191] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[213] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12083,7 +13542,7 @@ func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. func (*StartReplicationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{191} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{213} } type StopReplicationRequest struct { @@ -12097,7 +13556,7 @@ type StopReplicationRequest struct { func (x *StopReplicationRequest) Reset() { *x = StopReplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[192] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[214] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12110,7 +13569,7 @@ func (x *StopReplicationRequest) String() string { func (*StopReplicationRequest) ProtoMessage() {} func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[192] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[214] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12123,7 +13582,7 @@ func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. func (*StopReplicationRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{192} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{214} } func (x *StopReplicationRequest) GetTabletAlias() *dev2.TabletAlias { @@ -12142,7 +13601,7 @@ type StopReplicationResponse struct { func (x *StopReplicationResponse) Reset() { *x = StopReplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[193] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[215] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12155,7 +13614,7 @@ func (x *StopReplicationResponse) String() string { func (*StopReplicationResponse) ProtoMessage() {} func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[193] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[215] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12168,7 +13627,7 @@ func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. func (*StopReplicationResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{193} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{215} } type TabletExternallyReparentedRequest struct { @@ -12184,7 +13643,7 @@ type TabletExternallyReparentedRequest struct { func (x *TabletExternallyReparentedRequest) Reset() { *x = TabletExternallyReparentedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[194] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[216] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12197,7 +13656,7 @@ func (x *TabletExternallyReparentedRequest) String() string { func (*TabletExternallyReparentedRequest) ProtoMessage() {} func (x *TabletExternallyReparentedRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[194] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[216] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12210,7 +13669,7 @@ func (x *TabletExternallyReparentedRequest) ProtoReflect() protoreflect.Message // Deprecated: Use TabletExternallyReparentedRequest.ProtoReflect.Descriptor instead. func (*TabletExternallyReparentedRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{194} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{216} } func (x *TabletExternallyReparentedRequest) GetTablet() *dev2.TabletAlias { @@ -12234,7 +13693,7 @@ type TabletExternallyReparentedResponse struct { func (x *TabletExternallyReparentedResponse) Reset() { *x = TabletExternallyReparentedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[195] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[217] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12247,7 +13706,7 @@ func (x *TabletExternallyReparentedResponse) String() string { func (*TabletExternallyReparentedResponse) ProtoMessage() {} func (x *TabletExternallyReparentedResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[195] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[217] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12260,7 +13719,7 @@ func (x *TabletExternallyReparentedResponse) ProtoReflect() protoreflect.Message // Deprecated: Use TabletExternallyReparentedResponse.ProtoReflect.Descriptor instead. func (*TabletExternallyReparentedResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{195} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{217} } func (x *TabletExternallyReparentedResponse) GetKeyspace() string { @@ -12303,7 +13762,7 @@ type UpdateCellInfoRequest struct { func (x *UpdateCellInfoRequest) Reset() { *x = UpdateCellInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[196] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[218] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12316,7 +13775,7 @@ func (x *UpdateCellInfoRequest) String() string { func (*UpdateCellInfoRequest) ProtoMessage() {} func (x *UpdateCellInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[196] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[218] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12329,7 +13788,7 @@ func (x *UpdateCellInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateCellInfoRequest.ProtoReflect.Descriptor instead. func (*UpdateCellInfoRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{196} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{218} } func (x *UpdateCellInfoRequest) GetName() string { @@ -12358,7 +13817,7 @@ type UpdateCellInfoResponse struct { func (x *UpdateCellInfoResponse) Reset() { *x = UpdateCellInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[197] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[219] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12371,7 +13830,7 @@ func (x *UpdateCellInfoResponse) String() string { func (*UpdateCellInfoResponse) ProtoMessage() {} func (x *UpdateCellInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[197] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[219] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12384,7 +13843,7 @@ func (x *UpdateCellInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateCellInfoResponse.ProtoReflect.Descriptor instead. func (*UpdateCellInfoResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{197} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{219} } func (x *UpdateCellInfoResponse) GetName() string { @@ -12413,7 +13872,7 @@ type UpdateCellsAliasRequest struct { func (x *UpdateCellsAliasRequest) Reset() { *x = UpdateCellsAliasRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[198] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[220] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12426,7 +13885,7 @@ func (x *UpdateCellsAliasRequest) String() string { func (*UpdateCellsAliasRequest) ProtoMessage() {} func (x *UpdateCellsAliasRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[198] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[220] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12439,7 +13898,7 @@ func (x *UpdateCellsAliasRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateCellsAliasRequest.ProtoReflect.Descriptor instead. func (*UpdateCellsAliasRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{198} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{220} } func (x *UpdateCellsAliasRequest) GetName() string { @@ -12468,7 +13927,7 @@ type UpdateCellsAliasResponse struct { func (x *UpdateCellsAliasResponse) Reset() { *x = UpdateCellsAliasResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[199] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[221] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12481,7 +13940,7 @@ func (x *UpdateCellsAliasResponse) String() string { func (*UpdateCellsAliasResponse) ProtoMessage() {} func (x *UpdateCellsAliasResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[199] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[221] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12494,7 +13953,7 @@ func (x *UpdateCellsAliasResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateCellsAliasResponse.ProtoReflect.Descriptor instead. func (*UpdateCellsAliasResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{199} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{221} } func (x *UpdateCellsAliasResponse) GetName() string { @@ -12522,7 +13981,7 @@ type ValidateRequest struct { func (x *ValidateRequest) Reset() { *x = ValidateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[200] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[222] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12535,7 +13994,7 @@ func (x *ValidateRequest) String() string { func (*ValidateRequest) ProtoMessage() {} func (x *ValidateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[200] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[222] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12548,7 +14007,7 @@ func (x *ValidateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead. func (*ValidateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{200} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{222} } func (x *ValidateRequest) GetPingTablets() bool { @@ -12570,7 +14029,7 @@ type ValidateResponse struct { func (x *ValidateResponse) Reset() { *x = ValidateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[201] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[223] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12583,7 +14042,7 @@ func (x *ValidateResponse) String() string { func (*ValidateResponse) ProtoMessage() {} func (x *ValidateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[201] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[223] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12596,7 +14055,7 @@ func (x *ValidateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead. func (*ValidateResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{201} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{223} } func (x *ValidateResponse) GetResults() []string { @@ -12625,7 +14084,7 @@ type ValidateKeyspaceRequest struct { func (x *ValidateKeyspaceRequest) Reset() { *x = ValidateKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[202] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[224] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12638,7 +14097,7 @@ func (x *ValidateKeyspaceRequest) String() string { func (*ValidateKeyspaceRequest) ProtoMessage() {} func (x *ValidateKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[202] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[224] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12651,7 +14110,7 @@ func (x *ValidateKeyspaceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateKeyspaceRequest.ProtoReflect.Descriptor instead. func (*ValidateKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{202} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{224} } func (x *ValidateKeyspaceRequest) GetKeyspace() string { @@ -12680,7 +14139,7 @@ type ValidateKeyspaceResponse struct { func (x *ValidateKeyspaceResponse) Reset() { *x = ValidateKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[203] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[225] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12693,7 +14152,7 @@ func (x *ValidateKeyspaceResponse) String() string { func (*ValidateKeyspaceResponse) ProtoMessage() {} func (x *ValidateKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[203] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[225] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12706,7 +14165,7 @@ func (x *ValidateKeyspaceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateKeyspaceResponse.ProtoReflect.Descriptor instead. func (*ValidateKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{203} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{225} } func (x *ValidateKeyspaceResponse) GetResults() []string { @@ -12738,7 +14197,7 @@ type ValidateSchemaKeyspaceRequest struct { func (x *ValidateSchemaKeyspaceRequest) Reset() { *x = ValidateSchemaKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[204] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[226] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12751,7 +14210,7 @@ func (x *ValidateSchemaKeyspaceRequest) String() string { func (*ValidateSchemaKeyspaceRequest) ProtoMessage() {} func (x *ValidateSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[204] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[226] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12764,7 +14223,7 @@ func (x *ValidateSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. func (*ValidateSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{204} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{226} } func (x *ValidateSchemaKeyspaceRequest) GetKeyspace() string { @@ -12814,7 +14273,7 @@ type ValidateSchemaKeyspaceResponse struct { func (x *ValidateSchemaKeyspaceResponse) Reset() { *x = ValidateSchemaKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[205] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[227] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12827,7 +14286,7 @@ func (x *ValidateSchemaKeyspaceResponse) String() string { func (*ValidateSchemaKeyspaceResponse) ProtoMessage() {} func (x *ValidateSchemaKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[205] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[227] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12840,7 +14299,7 @@ func (x *ValidateSchemaKeyspaceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateSchemaKeyspaceResponse.ProtoReflect.Descriptor instead. func (*ValidateSchemaKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{205} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{227} } func (x *ValidateSchemaKeyspaceResponse) GetResults() []string { @@ -12870,7 +14329,7 @@ type ValidateShardRequest struct { func (x *ValidateShardRequest) Reset() { *x = ValidateShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[206] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[228] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12883,7 +14342,7 @@ func (x *ValidateShardRequest) String() string { func (*ValidateShardRequest) ProtoMessage() {} func (x *ValidateShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[206] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[228] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12896,7 +14355,7 @@ func (x *ValidateShardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateShardRequest.ProtoReflect.Descriptor instead. func (*ValidateShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{206} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{228} } func (x *ValidateShardRequest) GetKeyspace() string { @@ -12931,7 +14390,7 @@ type ValidateShardResponse struct { func (x *ValidateShardResponse) Reset() { *x = ValidateShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[207] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[229] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12944,7 +14403,7 @@ func (x *ValidateShardResponse) String() string { func (*ValidateShardResponse) ProtoMessage() {} func (x *ValidateShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[207] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[229] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12957,7 +14416,7 @@ func (x *ValidateShardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateShardResponse.ProtoReflect.Descriptor instead. func (*ValidateShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{207} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{229} } func (x *ValidateShardResponse) GetResults() []string { @@ -12978,7 +14437,7 @@ type ValidateVersionKeyspaceRequest struct { func (x *ValidateVersionKeyspaceRequest) Reset() { *x = ValidateVersionKeyspaceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[208] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[230] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12991,7 +14450,7 @@ func (x *ValidateVersionKeyspaceRequest) String() string { func (*ValidateVersionKeyspaceRequest) ProtoMessage() {} func (x *ValidateVersionKeyspaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[208] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[230] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13004,7 +14463,7 @@ func (x *ValidateVersionKeyspaceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateVersionKeyspaceRequest.ProtoReflect.Descriptor instead. func (*ValidateVersionKeyspaceRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{208} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{230} } func (x *ValidateVersionKeyspaceRequest) GetKeyspace() string { @@ -13026,7 +14485,7 @@ type ValidateVersionKeyspaceResponse struct { func (x *ValidateVersionKeyspaceResponse) Reset() { *x = ValidateVersionKeyspaceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[209] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[231] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13039,7 +14498,7 @@ func (x *ValidateVersionKeyspaceResponse) String() string { func (*ValidateVersionKeyspaceResponse) ProtoMessage() {} func (x *ValidateVersionKeyspaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[209] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[231] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13052,7 +14511,7 @@ func (x *ValidateVersionKeyspaceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateVersionKeyspaceResponse.ProtoReflect.Descriptor instead. func (*ValidateVersionKeyspaceResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{209} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{231} } func (x *ValidateVersionKeyspaceResponse) GetResults() []string { @@ -13081,7 +14540,7 @@ type ValidateVersionShardRequest struct { func (x *ValidateVersionShardRequest) Reset() { *x = ValidateVersionShardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[210] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[232] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13094,7 +14553,7 @@ func (x *ValidateVersionShardRequest) String() string { func (*ValidateVersionShardRequest) ProtoMessage() {} func (x *ValidateVersionShardRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[210] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[232] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13107,7 +14566,7 @@ func (x *ValidateVersionShardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateVersionShardRequest.ProtoReflect.Descriptor instead. func (*ValidateVersionShardRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{210} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{232} } func (x *ValidateVersionShardRequest) GetKeyspace() string { @@ -13135,7 +14594,7 @@ type ValidateVersionShardResponse struct { func (x *ValidateVersionShardResponse) Reset() { *x = ValidateVersionShardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[211] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[233] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13148,7 +14607,7 @@ func (x *ValidateVersionShardResponse) String() string { func (*ValidateVersionShardResponse) ProtoMessage() {} func (x *ValidateVersionShardResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[211] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[233] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13161,7 +14620,7 @@ func (x *ValidateVersionShardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateVersionShardResponse.ProtoReflect.Descriptor instead. func (*ValidateVersionShardResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{211} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{233} } func (x *ValidateVersionShardResponse) GetResults() []string { @@ -13185,7 +14644,7 @@ type ValidateVSchemaRequest struct { func (x *ValidateVSchemaRequest) Reset() { *x = ValidateVSchemaRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[212] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[234] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13198,7 +14657,7 @@ func (x *ValidateVSchemaRequest) String() string { func (*ValidateVSchemaRequest) ProtoMessage() {} func (x *ValidateVSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[212] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[234] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13211,7 +14670,7 @@ func (x *ValidateVSchemaRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateVSchemaRequest.ProtoReflect.Descriptor instead. func (*ValidateVSchemaRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{212} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{234} } func (x *ValidateVSchemaRequest) GetKeyspace() string { @@ -13254,7 +14713,7 @@ type ValidateVSchemaResponse struct { func (x *ValidateVSchemaResponse) Reset() { *x = ValidateVSchemaResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[213] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[235] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13267,7 +14726,7 @@ func (x *ValidateVSchemaResponse) String() string { func (*ValidateVSchemaResponse) ProtoMessage() {} func (x *ValidateVSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[213] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[235] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13280,7 +14739,7 @@ func (x *ValidateVSchemaResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateVSchemaResponse.ProtoReflect.Descriptor instead. func (*ValidateVSchemaResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{213} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{235} } func (x *ValidateVSchemaResponse) GetResults() []string { @@ -13302,31 +14761,92 @@ type VDiffCreateRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` - SourceCells []string `protobuf:"bytes,4,rep,name=source_cells,json=sourceCells,proto3" json:"source_cells,omitempty"` - TargetCells []string `protobuf:"bytes,5,rep,name=target_cells,json=targetCells,proto3" json:"target_cells,omitempty"` - TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` - TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` - Tables []string `protobuf:"bytes,8,rep,name=tables,proto3" json:"tables,omitempty"` - Limit int64 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` - FilteredReplicationWaitTime *dev3.Duration `protobuf:"bytes,10,opt,name=filtered_replication_wait_time,json=filteredReplicationWaitTime,proto3" json:"filtered_replication_wait_time,omitempty"` - DebugQuery bool `protobuf:"varint,11,opt,name=debug_query,json=debugQuery,proto3" json:"debug_query,omitempty"` - OnlyPKs bool `protobuf:"varint,12,opt,name=only_p_ks,json=onlyPKs,proto3" json:"only_p_ks,omitempty"` - UpdateTableStats bool `protobuf:"varint,13,opt,name=update_table_stats,json=updateTableStats,proto3" json:"update_table_stats,omitempty"` - MaxExtraRowsToCompare int64 `protobuf:"varint,14,opt,name=max_extra_rows_to_compare,json=maxExtraRowsToCompare,proto3" json:"max_extra_rows_to_compare,omitempty"` - Wait bool `protobuf:"varint,15,opt,name=wait,proto3" json:"wait,omitempty"` - WaitUpdateInterval *dev3.Duration `protobuf:"bytes,16,opt,name=wait_update_interval,json=waitUpdateInterval,proto3" json:"wait_update_interval,omitempty"` - AutoRetry bool `protobuf:"varint,17,opt,name=auto_retry,json=autoRetry,proto3" json:"auto_retry,omitempty"` - Verbose bool `protobuf:"varint,18,opt,name=verbose,proto3" json:"verbose,omitempty"` - MaxReportSampleRows int64 `protobuf:"varint,19,opt,name=max_report_sample_rows,json=maxReportSampleRows,proto3" json:"max_report_sample_rows,omitempty"` + // The name of the workflow that we're diffing tables for. + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + // The keyspace where the vreplication workflow is running. + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + // A unique identifier for the vdiff. + // If empty, a new UUID will be generated. + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` + // The cells to look for source tablets in. + // If empty, all cells are used. + SourceCells []string `protobuf:"bytes,4,rep,name=source_cells,json=sourceCells,proto3" json:"source_cells,omitempty"` + // The cells to look for target tablets in. + // If empty, all cells are used. + TargetCells []string `protobuf:"bytes,5,rep,name=target_cells,json=targetCells,proto3" json:"target_cells,omitempty"` + // The tablet types to use when searching for tablets to use when streaming + // results. + // A default value of "replica,rdonly,primary" is used by the tablet picker. + TabletTypes []dev2.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + // When performing source tablet selection, look for candidates in the type + // order as they are listed in the tablet_types value (or the default of + // "replica,rdonly,primary" that the tablet picker uses). + // The default is ANY (0) and you can use INORDER (1) to e.g. ensure that a + // primary tablet is only used if there are no available replica or rdonly + // tablets. + TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + // The tables to compare. If empty, all tables in the workflow are compared. + Tables []string `protobuf:"bytes,8,rep,name=tables,proto3" json:"tables,omitempty"` + // The maximum number of rows to compare for each table on each shard. + // The default is a max int64 value: 2^63 - 1 or 9,223,372,036,854,775,807. + Limit int64 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` + // How long to wait for the relevant vreplication stream(s) to catch up when + // attempting to setup the table snapshots on the source and target to use for + // the diff on each shard. + // The default is 30s. + FilteredReplicationWaitTime *dev3.Duration `protobuf:"bytes,10,opt,name=filtered_replication_wait_time,json=filteredReplicationWaitTime,proto3" json:"filtered_replication_wait_time,omitempty"` + // Include the MySQL query used for the diff in the report that is stored on + // each shard primary tablet in the _vt.vdiff_table records. + DebugQuery bool `protobuf:"varint,11,opt,name=debug_query,json=debugQuery,proto3" json:"debug_query,omitempty"` + // Only show the Primary Key columns in any row diff output. You would + // typically want to use this if you set the max_sample_rows very high. + OnlyPKs bool `protobuf:"varint,12,opt,name=only_p_ks,json=onlyPKs,proto3" json:"only_p_ks,omitempty"` + // Update the table statistics, using ANALYZE TABLE, on each table involved + // in the vdiff during initialization on each target shard. This will ensure + // that progress estimates are as accurate as possible -- but it does involve + // locks and can potentially impact query processing on the target keyspace. + UpdateTableStats bool `protobuf:"varint,13,opt,name=update_table_stats,json=updateTableStats,proto3" json:"update_table_stats,omitempty"` + // If there are collation differences between the source and target, you can + // have rows that are identical but simply returned in a different order from + // MySQL. We will do a second pass to compare the rows for any actual + // differences in this case and this flag allows you to control the resources + // used for this operation. + // The default is 0, comparing no extra rows. + MaxExtraRowsToCompare int64 `protobuf:"varint,14,opt,name=max_extra_rows_to_compare,json=maxExtraRowsToCompare,proto3" json:"max_extra_rows_to_compare,omitempty"` + // Wait for the vdiff to complete before returning (making the call synchronous + // vs asynchronous by default). + Wait bool `protobuf:"varint,15,opt,name=wait,proto3" json:"wait,omitempty"` + // When wait is true, this is how frequently the vdiff progress will be shown. + WaitUpdateInterval *dev3.Duration `protobuf:"bytes,16,opt,name=wait_update_interval,json=waitUpdateInterval,proto3" json:"wait_update_interval,omitempty"` + // Automatically retry the vdiff if we encounter an error. This should almost + // always be set to true (default is false). + AutoRetry bool `protobuf:"varint,17,opt,name=auto_retry,json=autoRetry,proto3" json:"auto_retry,omitempty"` + // Include additional information in the vdiff report that is produced and + // stored on each target shard primary's _vt sidecar database. + Verbose bool `protobuf:"varint,18,opt,name=verbose,proto3" json:"verbose,omitempty"` + // The maximum number of rows to include in the row diff report (when + // differences are found) for each table on each shard. + // The default is 0, which will include no sample rows that differed. + MaxReportSampleRows int64 `protobuf:"varint,19,opt,name=max_report_sample_rows,json=maxReportSampleRows,proto3" json:"max_report_sample_rows,omitempty"` + // The maximum time that a diff of a single table can run on each target shard + // before it is stopped and then later resumed from where we left off. This + // can be helpful in limiting the impact of holding open that large transaction + // where we scan up to every row in the table. + // The default is 0 or no limit. + MaxDiffDuration *dev3.Duration `protobuf:"bytes,20,opt,name=max_diff_duration,json=maxDiffDuration,proto3" json:"max_diff_duration,omitempty"` + // At what length should we truncate the column values in the row diff report + // generated for each table on each shard when differences are detected. + // The default is 0, meaning do not truncate. + RowDiffColumnTruncateAt int64 `protobuf:"varint,21,opt,name=row_diff_column_truncate_at,json=rowDiffColumnTruncateAt,proto3" json:"row_diff_column_truncate_at,omitempty"` + // Auto start the vdiff after creating it. + // The default is true if no value is specified. + AutoStart *bool `protobuf:"varint,22,opt,name=auto_start,json=autoStart,proto3,oneof" json:"auto_start,omitempty"` } func (x *VDiffCreateRequest) Reset() { *x = VDiffCreateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[214] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[236] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13339,7 +14859,7 @@ func (x *VDiffCreateRequest) String() string { func (*VDiffCreateRequest) ProtoMessage() {} func (x *VDiffCreateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[214] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[236] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13352,7 +14872,7 @@ func (x *VDiffCreateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffCreateRequest.ProtoReflect.Descriptor instead. func (*VDiffCreateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{214} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{236} } func (x *VDiffCreateRequest) GetWorkflow() string { @@ -13488,6 +15008,27 @@ func (x *VDiffCreateRequest) GetMaxReportSampleRows() int64 { return 0 } +func (x *VDiffCreateRequest) GetMaxDiffDuration() *dev3.Duration { + if x != nil { + return x.MaxDiffDuration + } + return nil +} + +func (x *VDiffCreateRequest) GetRowDiffColumnTruncateAt() int64 { + if x != nil { + return x.RowDiffColumnTruncateAt + } + return 0 +} + +func (x *VDiffCreateRequest) GetAutoStart() bool { + if x != nil && x.AutoStart != nil { + return *x.AutoStart + } + return false +} + type VDiffCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13501,7 +15042,7 @@ type VDiffCreateResponse struct { func (x *VDiffCreateResponse) Reset() { *x = VDiffCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[215] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[237] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13514,7 +15055,7 @@ func (x *VDiffCreateResponse) String() string { func (*VDiffCreateResponse) ProtoMessage() {} func (x *VDiffCreateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[215] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[237] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13527,7 +15068,7 @@ func (x *VDiffCreateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffCreateResponse.ProtoReflect.Descriptor instead. func (*VDiffCreateResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{215} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{237} } func (x *VDiffCreateResponse) GetUUID() string { @@ -13551,7 +15092,7 @@ type VDiffDeleteRequest struct { func (x *VDiffDeleteRequest) Reset() { *x = VDiffDeleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[216] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[238] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13564,7 +15105,7 @@ func (x *VDiffDeleteRequest) String() string { func (*VDiffDeleteRequest) ProtoMessage() {} func (x *VDiffDeleteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[216] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[238] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13577,7 +15118,7 @@ func (x *VDiffDeleteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffDeleteRequest.ProtoReflect.Descriptor instead. func (*VDiffDeleteRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{216} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{238} } func (x *VDiffDeleteRequest) GetWorkflow() string { @@ -13610,7 +15151,7 @@ type VDiffDeleteResponse struct { func (x *VDiffDeleteResponse) Reset() { *x = VDiffDeleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[217] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[239] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13623,7 +15164,7 @@ func (x *VDiffDeleteResponse) String() string { func (*VDiffDeleteResponse) ProtoMessage() {} func (x *VDiffDeleteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[217] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[239] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13636,7 +15177,7 @@ func (x *VDiffDeleteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffDeleteResponse.ProtoReflect.Descriptor instead. func (*VDiffDeleteResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{217} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{239} } type VDiffResumeRequest struct { @@ -13644,15 +15185,16 @@ type VDiffResumeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` + TargetShards []string `protobuf:"bytes,4,rep,name=target_shards,json=targetShards,proto3" json:"target_shards,omitempty"` } func (x *VDiffResumeRequest) Reset() { *x = VDiffResumeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[218] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[240] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13665,7 +15207,7 @@ func (x *VDiffResumeRequest) String() string { func (*VDiffResumeRequest) ProtoMessage() {} func (x *VDiffResumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[218] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[240] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13678,7 +15220,7 @@ func (x *VDiffResumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffResumeRequest.ProtoReflect.Descriptor instead. func (*VDiffResumeRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{218} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{240} } func (x *VDiffResumeRequest) GetWorkflow() string { @@ -13702,6 +15244,13 @@ func (x *VDiffResumeRequest) GetUuid() string { return "" } +func (x *VDiffResumeRequest) GetTargetShards() []string { + if x != nil { + return x.TargetShards + } + return nil +} + type VDiffResumeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13711,7 +15260,7 @@ type VDiffResumeResponse struct { func (x *VDiffResumeResponse) Reset() { *x = VDiffResumeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[219] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[241] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13724,7 +15273,7 @@ func (x *VDiffResumeResponse) String() string { func (*VDiffResumeResponse) ProtoMessage() {} func (x *VDiffResumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[219] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[241] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13737,7 +15286,7 @@ func (x *VDiffResumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffResumeResponse.ProtoReflect.Descriptor instead. func (*VDiffResumeResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{219} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{241} } type VDiffShowRequest struct { @@ -13754,7 +15303,7 @@ type VDiffShowRequest struct { func (x *VDiffShowRequest) Reset() { *x = VDiffShowRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[220] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[242] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13767,7 +15316,7 @@ func (x *VDiffShowRequest) String() string { func (*VDiffShowRequest) ProtoMessage() {} func (x *VDiffShowRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[220] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[242] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13780,7 +15329,7 @@ func (x *VDiffShowRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffShowRequest.ProtoReflect.Descriptor instead. func (*VDiffShowRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{220} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{242} } func (x *VDiffShowRequest) GetWorkflow() string { @@ -13816,7 +15365,7 @@ type VDiffShowResponse struct { func (x *VDiffShowResponse) Reset() { *x = VDiffShowResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[221] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[243] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13829,7 +15378,7 @@ func (x *VDiffShowResponse) String() string { func (*VDiffShowResponse) ProtoMessage() {} func (x *VDiffShowResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[221] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[243] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13842,7 +15391,7 @@ func (x *VDiffShowResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffShowResponse.ProtoReflect.Descriptor instead. func (*VDiffShowResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{221} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{243} } func (x *VDiffShowResponse) GetTabletResponses() map[string]*dev1.VDiffResponse { @@ -13857,15 +15406,16 @@ type VDiffStopRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` - Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` + TargetShards []string `protobuf:"bytes,4,rep,name=target_shards,json=targetShards,proto3" json:"target_shards,omitempty"` } func (x *VDiffStopRequest) Reset() { *x = VDiffStopRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[222] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[244] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13878,7 +15428,7 @@ func (x *VDiffStopRequest) String() string { func (*VDiffStopRequest) ProtoMessage() {} func (x *VDiffStopRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[222] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[244] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13891,7 +15441,7 @@ func (x *VDiffStopRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffStopRequest.ProtoReflect.Descriptor instead. func (*VDiffStopRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{222} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{244} } func (x *VDiffStopRequest) GetWorkflow() string { @@ -13915,7 +15465,14 @@ func (x *VDiffStopRequest) GetUuid() string { return "" } -type VDiffStopResponse struct { +func (x *VDiffStopRequest) GetTargetShards() []string { + if x != nil { + return x.TargetShards + } + return nil +} + +type VDiffStopResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -13924,7 +15481,7 @@ type VDiffStopResponse struct { func (x *VDiffStopResponse) Reset() { *x = VDiffStopResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[223] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[245] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13937,7 +15494,7 @@ func (x *VDiffStopResponse) String() string { func (*VDiffStopResponse) ProtoMessage() {} func (x *VDiffStopResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[223] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[245] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13950,7 +15507,7 @@ func (x *VDiffStopResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VDiffStopResponse.ProtoReflect.Descriptor instead. func (*VDiffStopResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{223} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{245} } type WorkflowDeleteRequest struct { @@ -13958,16 +15515,21 @@ type WorkflowDeleteRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` - KeepData bool `protobuf:"varint,3,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` - KeepRoutingRules bool `protobuf:"varint,4,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + KeepData bool `protobuf:"varint,3,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` + KeepRoutingRules bool `protobuf:"varint,4,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` + Shards []string `protobuf:"bytes,5,rep,name=shards,proto3" json:"shards,omitempty"` + // The max records to delete from the moved tables when cleaning + // up the migrated data. This is only used with multi-tenant + // MoveTables migrations. + DeleteBatchSize int64 `protobuf:"varint,6,opt,name=delete_batch_size,json=deleteBatchSize,proto3" json:"delete_batch_size,omitempty"` } func (x *WorkflowDeleteRequest) Reset() { *x = WorkflowDeleteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[224] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[246] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13980,7 +15542,7 @@ func (x *WorkflowDeleteRequest) String() string { func (*WorkflowDeleteRequest) ProtoMessage() {} func (x *WorkflowDeleteRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[224] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[246] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13993,7 +15555,7 @@ func (x *WorkflowDeleteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowDeleteRequest.ProtoReflect.Descriptor instead. func (*WorkflowDeleteRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{224} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{246} } func (x *WorkflowDeleteRequest) GetKeyspace() string { @@ -14024,6 +15586,20 @@ func (x *WorkflowDeleteRequest) GetKeepRoutingRules() bool { return false } +func (x *WorkflowDeleteRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +func (x *WorkflowDeleteRequest) GetDeleteBatchSize() int64 { + if x != nil { + return x.DeleteBatchSize + } + return 0 +} + type WorkflowDeleteResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14036,7 +15612,7 @@ type WorkflowDeleteResponse struct { func (x *WorkflowDeleteResponse) Reset() { *x = WorkflowDeleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[225] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[247] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14049,7 +15625,7 @@ func (x *WorkflowDeleteResponse) String() string { func (*WorkflowDeleteResponse) ProtoMessage() {} func (x *WorkflowDeleteResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[225] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[247] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14062,7 +15638,7 @@ func (x *WorkflowDeleteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowDeleteResponse.ProtoReflect.Descriptor instead. func (*WorkflowDeleteResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{225} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{247} } func (x *WorkflowDeleteResponse) GetSummary() string { @@ -14084,14 +15660,15 @@ type WorkflowStatusRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` - Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Shards []string `protobuf:"bytes,3,rep,name=shards,proto3" json:"shards,omitempty"` } func (x *WorkflowStatusRequest) Reset() { *x = WorkflowStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[226] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[248] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14104,7 +15681,7 @@ func (x *WorkflowStatusRequest) String() string { func (*WorkflowStatusRequest) ProtoMessage() {} func (x *WorkflowStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[226] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[248] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14117,7 +15694,7 @@ func (x *WorkflowStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowStatusRequest.ProtoReflect.Descriptor instead. func (*WorkflowStatusRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{226} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{248} } func (x *WorkflowStatusRequest) GetKeyspace() string { @@ -14134,6 +15711,13 @@ func (x *WorkflowStatusRequest) GetWorkflow() string { return "" } +func (x *WorkflowStatusRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + type WorkflowStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14148,7 +15732,7 @@ type WorkflowStatusResponse struct { func (x *WorkflowStatusResponse) Reset() { *x = WorkflowStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[227] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[249] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14161,7 +15745,7 @@ func (x *WorkflowStatusResponse) String() string { func (*WorkflowStatusResponse) ProtoMessage() {} func (x *WorkflowStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[227] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[249] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14174,7 +15758,7 @@ func (x *WorkflowStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowStatusResponse.ProtoReflect.Descriptor instead. func (*WorkflowStatusResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{227} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{249} } func (x *WorkflowStatusResponse) GetTableCopyState() map[string]*WorkflowStatusResponse_TableCopyState { @@ -14213,12 +15797,14 @@ type WorkflowSwitchTrafficRequest struct { Timeout *dev3.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` DryRun bool `protobuf:"varint,9,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` InitializeTargetSequences bool `protobuf:"varint,10,opt,name=initialize_target_sequences,json=initializeTargetSequences,proto3" json:"initialize_target_sequences,omitempty"` + Shards []string `protobuf:"bytes,11,rep,name=shards,proto3" json:"shards,omitempty"` + Force bool `protobuf:"varint,12,opt,name=force,proto3" json:"force,omitempty"` } func (x *WorkflowSwitchTrafficRequest) Reset() { *x = WorkflowSwitchTrafficRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[228] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[250] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14231,7 +15817,7 @@ func (x *WorkflowSwitchTrafficRequest) String() string { func (*WorkflowSwitchTrafficRequest) ProtoMessage() {} func (x *WorkflowSwitchTrafficRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[228] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[250] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14244,7 +15830,7 @@ func (x *WorkflowSwitchTrafficRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowSwitchTrafficRequest.ProtoReflect.Descriptor instead. func (*WorkflowSwitchTrafficRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{228} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{250} } func (x *WorkflowSwitchTrafficRequest) GetKeyspace() string { @@ -14317,6 +15903,20 @@ func (x *WorkflowSwitchTrafficRequest) GetInitializeTargetSequences() bool { return false } +func (x *WorkflowSwitchTrafficRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +func (x *WorkflowSwitchTrafficRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + type WorkflowSwitchTrafficResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14331,7 +15931,7 @@ type WorkflowSwitchTrafficResponse struct { func (x *WorkflowSwitchTrafficResponse) Reset() { *x = WorkflowSwitchTrafficResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[229] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[251] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14344,7 +15944,7 @@ func (x *WorkflowSwitchTrafficResponse) String() string { func (*WorkflowSwitchTrafficResponse) ProtoMessage() {} func (x *WorkflowSwitchTrafficResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[229] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[251] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14357,7 +15957,7 @@ func (x *WorkflowSwitchTrafficResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowSwitchTrafficResponse.ProtoReflect.Descriptor instead. func (*WorkflowSwitchTrafficResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{229} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{251} } func (x *WorkflowSwitchTrafficResponse) GetSummary() string { @@ -14402,7 +16002,7 @@ type WorkflowUpdateRequest struct { func (x *WorkflowUpdateRequest) Reset() { *x = WorkflowUpdateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[230] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[252] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14415,7 +16015,7 @@ func (x *WorkflowUpdateRequest) String() string { func (*WorkflowUpdateRequest) ProtoMessage() {} func (x *WorkflowUpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[230] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[252] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14428,7 +16028,7 @@ func (x *WorkflowUpdateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowUpdateRequest.ProtoReflect.Descriptor instead. func (*WorkflowUpdateRequest) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{230} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{252} } func (x *WorkflowUpdateRequest) GetKeyspace() string { @@ -14457,7 +16057,7 @@ type WorkflowUpdateResponse struct { func (x *WorkflowUpdateResponse) Reset() { *x = WorkflowUpdateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[231] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[253] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14470,7 +16070,7 @@ func (x *WorkflowUpdateResponse) String() string { func (*WorkflowUpdateResponse) ProtoMessage() {} func (x *WorkflowUpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[231] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[253] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14483,7 +16083,7 @@ func (x *WorkflowUpdateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkflowUpdateResponse.ProtoReflect.Descriptor instead. func (*WorkflowUpdateResponse) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{231} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{253} } func (x *WorkflowUpdateResponse) GetSummary() string { @@ -14500,6 +16100,225 @@ func (x *WorkflowUpdateResponse) GetDetails() []*WorkflowUpdateResponse_TabletIn return nil } +type GetMirrorRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetMirrorRulesRequest) Reset() { + *x = GetMirrorRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[254] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMirrorRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMirrorRulesRequest) ProtoMessage() {} + +func (x *GetMirrorRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[254] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMirrorRulesRequest.ProtoReflect.Descriptor instead. +func (*GetMirrorRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{254} +} + +type GetMirrorRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MirrorRules *dev4.MirrorRules `protobuf:"bytes,1,opt,name=mirror_rules,json=mirrorRules,proto3" json:"mirror_rules,omitempty"` +} + +func (x *GetMirrorRulesResponse) Reset() { + *x = GetMirrorRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[255] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMirrorRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMirrorRulesResponse) ProtoMessage() {} + +func (x *GetMirrorRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[255] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMirrorRulesResponse.ProtoReflect.Descriptor instead. +func (*GetMirrorRulesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{255} +} + +func (x *GetMirrorRulesResponse) GetMirrorRules() *dev4.MirrorRules { + if x != nil { + return x.MirrorRules + } + return nil +} + +type WorkflowMirrorTrafficRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + TabletTypes []dev2.TabletType `protobuf:"varint,3,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + Percent float32 `protobuf:"fixed32,4,opt,name=percent,proto3" json:"percent,omitempty"` +} + +func (x *WorkflowMirrorTrafficRequest) Reset() { + *x = WorkflowMirrorTrafficRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[256] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowMirrorTrafficRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowMirrorTrafficRequest) ProtoMessage() {} + +func (x *WorkflowMirrorTrafficRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[256] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowMirrorTrafficRequest.ProtoReflect.Descriptor instead. +func (*WorkflowMirrorTrafficRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{256} +} + +func (x *WorkflowMirrorTrafficRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *WorkflowMirrorTrafficRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *WorkflowMirrorTrafficRequest) GetTabletTypes() []dev2.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *WorkflowMirrorTrafficRequest) GetPercent() float32 { + if x != nil { + return x.Percent + } + return 0 +} + +type WorkflowMirrorTrafficResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + StartState string `protobuf:"bytes,2,opt,name=start_state,json=startState,proto3" json:"start_state,omitempty"` + CurrentState string `protobuf:"bytes,3,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"` +} + +func (x *WorkflowMirrorTrafficResponse) Reset() { + *x = WorkflowMirrorTrafficResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[257] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowMirrorTrafficResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowMirrorTrafficResponse) ProtoMessage() {} + +func (x *WorkflowMirrorTrafficResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[257] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowMirrorTrafficResponse.ProtoReflect.Descriptor instead. +func (*WorkflowMirrorTrafficResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{257} +} + +func (x *WorkflowMirrorTrafficResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *WorkflowMirrorTrafficResponse) GetStartState() string { + if x != nil { + return x.StartState + } + return "" +} + +func (x *WorkflowMirrorTrafficResponse) GetCurrentState() string { + if x != nil { + return x.CurrentState + } + return "" +} + type Workflow_ReplicationLocation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14512,7 +16331,7 @@ type Workflow_ReplicationLocation struct { func (x *Workflow_ReplicationLocation) Reset() { *x = Workflow_ReplicationLocation{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[233] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[260] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14525,7 +16344,7 @@ func (x *Workflow_ReplicationLocation) String() string { func (*Workflow_ReplicationLocation) ProtoMessage() {} func (x *Workflow_ReplicationLocation) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[233] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[260] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14538,7 +16357,7 @@ func (x *Workflow_ReplicationLocation) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow_ReplicationLocation.ProtoReflect.Descriptor instead. func (*Workflow_ReplicationLocation) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7, 1} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8, 1} } func (x *Workflow_ReplicationLocation) GetKeyspace() string { @@ -14568,7 +16387,7 @@ type Workflow_ShardStream struct { func (x *Workflow_ShardStream) Reset() { *x = Workflow_ShardStream{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[234] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[261] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14581,7 +16400,7 @@ func (x *Workflow_ShardStream) String() string { func (*Workflow_ShardStream) ProtoMessage() {} func (x *Workflow_ShardStream) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[234] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[261] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14594,7 +16413,7 @@ func (x *Workflow_ShardStream) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow_ShardStream.ProtoReflect.Descriptor instead. func (*Workflow_ShardStream) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7, 2} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8, 2} } func (x *Workflow_ShardStream) GetStreams() []*Workflow_Stream { @@ -14644,16 +16463,19 @@ type Workflow_Stream struct { // Note that this field being set does not necessarily mean that Logs is nil; // if there are N logs that exist for the stream, and we fail to fetch the // ith log, we will still return logs in [0, i) + (i, N]. - LogFetchError string `protobuf:"bytes,14,opt,name=log_fetch_error,json=logFetchError,proto3" json:"log_fetch_error,omitempty"` - Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` - RowsCopied int64 `protobuf:"varint,16,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` - ThrottlerStatus *Workflow_Stream_ThrottlerStatus `protobuf:"bytes,17,opt,name=throttler_status,json=throttlerStatus,proto3" json:"throttler_status,omitempty"` + LogFetchError string `protobuf:"bytes,14,opt,name=log_fetch_error,json=logFetchError,proto3" json:"log_fetch_error,omitempty"` + Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` + RowsCopied int64 `protobuf:"varint,16,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` + ThrottlerStatus *Workflow_Stream_ThrottlerStatus `protobuf:"bytes,17,opt,name=throttler_status,json=throttlerStatus,proto3" json:"throttler_status,omitempty"` + TabletTypes []dev2.TabletType `protobuf:"varint,18,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.dev.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference dev1.TabletSelectionPreference `protobuf:"varint,19,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.dev.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + Cells []string `protobuf:"bytes,20,rep,name=cells,proto3" json:"cells,omitempty"` } func (x *Workflow_Stream) Reset() { *x = Workflow_Stream{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[235] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[262] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14666,7 +16488,7 @@ func (x *Workflow_Stream) String() string { func (*Workflow_Stream) ProtoMessage() {} func (x *Workflow_Stream) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[235] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[262] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14679,7 +16501,7 @@ func (x *Workflow_Stream) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow_Stream.ProtoReflect.Descriptor instead. func (*Workflow_Stream) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7, 3} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8, 3} } func (x *Workflow_Stream) GetId() int64 { @@ -14801,21 +16623,43 @@ func (x *Workflow_Stream) GetThrottlerStatus() *Workflow_Stream_ThrottlerStatus return nil } -type Workflow_Stream_CopyState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` - LastPk string `protobuf:"bytes,2,opt,name=last_pk,json=lastPk,proto3" json:"last_pk,omitempty"` -} - -func (x *Workflow_Stream_CopyState) Reset() { - *x = Workflow_Stream_CopyState{} - if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[236] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *Workflow_Stream) GetTabletTypes() []dev2.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *Workflow_Stream) GetTabletSelectionPreference() dev1.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return dev1.TabletSelectionPreference(0) +} + +func (x *Workflow_Stream) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type Workflow_Stream_CopyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` + LastPk string `protobuf:"bytes,2,opt,name=last_pk,json=lastPk,proto3" json:"last_pk,omitempty"` + StreamId int64 `protobuf:"varint,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` +} + +func (x *Workflow_Stream_CopyState) Reset() { + *x = Workflow_Stream_CopyState{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[263] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } @@ -14826,7 +16670,7 @@ func (x *Workflow_Stream_CopyState) String() string { func (*Workflow_Stream_CopyState) ProtoMessage() {} func (x *Workflow_Stream_CopyState) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[236] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[263] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14839,7 +16683,7 @@ func (x *Workflow_Stream_CopyState) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow_Stream_CopyState.ProtoReflect.Descriptor instead. func (*Workflow_Stream_CopyState) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7, 3, 0} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8, 3, 0} } func (x *Workflow_Stream_CopyState) GetTable() string { @@ -14856,6 +16700,13 @@ func (x *Workflow_Stream_CopyState) GetLastPk() string { return "" } +func (x *Workflow_Stream_CopyState) GetStreamId() int64 { + if x != nil { + return x.StreamId + } + return 0 +} + type Workflow_Stream_Log struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14874,7 +16725,7 @@ type Workflow_Stream_Log struct { func (x *Workflow_Stream_Log) Reset() { *x = Workflow_Stream_Log{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[237] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[264] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14887,7 +16738,7 @@ func (x *Workflow_Stream_Log) String() string { func (*Workflow_Stream_Log) ProtoMessage() {} func (x *Workflow_Stream_Log) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[237] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[264] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14900,7 +16751,7 @@ func (x *Workflow_Stream_Log) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow_Stream_Log.ProtoReflect.Descriptor instead. func (*Workflow_Stream_Log) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7, 3, 1} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8, 3, 1} } func (x *Workflow_Stream_Log) GetId() int64 { @@ -14971,7 +16822,7 @@ type Workflow_Stream_ThrottlerStatus struct { func (x *Workflow_Stream_ThrottlerStatus) Reset() { *x = Workflow_Stream_ThrottlerStatus{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[238] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[265] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14984,7 +16835,7 @@ func (x *Workflow_Stream_ThrottlerStatus) String() string { func (*Workflow_Stream_ThrottlerStatus) ProtoMessage() {} func (x *Workflow_Stream_ThrottlerStatus) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[238] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[265] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14997,7 +16848,7 @@ func (x *Workflow_Stream_ThrottlerStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use Workflow_Stream_ThrottlerStatus.ProtoReflect.Descriptor instead. func (*Workflow_Stream_ThrottlerStatus) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{7, 3, 2} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{8, 3, 2} } func (x *Workflow_Stream_ThrottlerStatus) GetComponentThrottled() string { @@ -15014,6 +16865,53 @@ func (x *Workflow_Stream_ThrottlerStatus) GetTimeThrottled() *dev3.Time { return nil } +type ApplyVSchemaResponse_ParamList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Params []string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"` +} + +func (x *ApplyVSchemaResponse_ParamList) Reset() { + *x = ApplyVSchemaResponse_ParamList{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[268] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyVSchemaResponse_ParamList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyVSchemaResponse_ParamList) ProtoMessage() {} + +func (x *ApplyVSchemaResponse_ParamList) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[268] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyVSchemaResponse_ParamList.ProtoReflect.Descriptor instead. +func (*ApplyVSchemaResponse_ParamList) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{22, 1} +} + +func (x *ApplyVSchemaResponse_ParamList) GetParams() []string { + if x != nil { + return x.Params + } + return nil +} + type GetSrvKeyspaceNamesResponse_NameList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -15025,7 +16923,7 @@ type GetSrvKeyspaceNamesResponse_NameList struct { func (x *GetSrvKeyspaceNamesResponse_NameList) Reset() { *x = GetSrvKeyspaceNamesResponse_NameList{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[246] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[280] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15038,7 +16936,7 @@ func (x *GetSrvKeyspaceNamesResponse_NameList) String() string { func (*GetSrvKeyspaceNamesResponse_NameList) ProtoMessage() {} func (x *GetSrvKeyspaceNamesResponse_NameList) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[246] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[280] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15051,7 +16949,7 @@ func (x *GetSrvKeyspaceNamesResponse_NameList) ProtoReflect() protoreflect.Messa // Deprecated: Use GetSrvKeyspaceNamesResponse_NameList.ProtoReflect.Descriptor instead. func (*GetSrvKeyspaceNamesResponse_NameList) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{84, 1} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{99, 1} } func (x *GetSrvKeyspaceNamesResponse_NameList) GetNames() []string { @@ -15074,7 +16972,7 @@ type MoveTablesCreateResponse_TabletInfo struct { func (x *MoveTablesCreateResponse_TabletInfo) Reset() { *x = MoveTablesCreateResponse_TabletInfo{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[250] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[284] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15087,7 +16985,7 @@ func (x *MoveTablesCreateResponse_TabletInfo) String() string { func (*MoveTablesCreateResponse_TabletInfo) ProtoMessage() {} func (x *MoveTablesCreateResponse_TabletInfo) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[250] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[284] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15100,7 +16998,7 @@ func (x *MoveTablesCreateResponse_TabletInfo) ProtoReflect() protoreflect.Messag // Deprecated: Use MoveTablesCreateResponse_TabletInfo.ProtoReflect.Descriptor instead. func (*MoveTablesCreateResponse_TabletInfo) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{128, 0} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{152, 0} } func (x *MoveTablesCreateResponse_TabletInfo) GetTablet() *dev2.TabletAlias { @@ -15130,7 +17028,7 @@ type WorkflowDeleteResponse_TabletInfo struct { func (x *WorkflowDeleteResponse_TabletInfo) Reset() { *x = WorkflowDeleteResponse_TabletInfo{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[260] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[294] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15143,7 +17041,7 @@ func (x *WorkflowDeleteResponse_TabletInfo) String() string { func (*WorkflowDeleteResponse_TabletInfo) ProtoMessage() {} func (x *WorkflowDeleteResponse_TabletInfo) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[260] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[294] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15156,7 +17054,7 @@ func (x *WorkflowDeleteResponse_TabletInfo) ProtoReflect() protoreflect.Message // Deprecated: Use WorkflowDeleteResponse_TabletInfo.ProtoReflect.Descriptor instead. func (*WorkflowDeleteResponse_TabletInfo) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{225, 0} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{247, 0} } func (x *WorkflowDeleteResponse_TabletInfo) GetTablet() *dev2.TabletAlias { @@ -15189,7 +17087,7 @@ type WorkflowStatusResponse_TableCopyState struct { func (x *WorkflowStatusResponse_TableCopyState) Reset() { *x = WorkflowStatusResponse_TableCopyState{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[261] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[295] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15202,7 +17100,7 @@ func (x *WorkflowStatusResponse_TableCopyState) String() string { func (*WorkflowStatusResponse_TableCopyState) ProtoMessage() {} func (x *WorkflowStatusResponse_TableCopyState) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[261] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[295] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15215,7 +17113,7 @@ func (x *WorkflowStatusResponse_TableCopyState) ProtoReflect() protoreflect.Mess // Deprecated: Use WorkflowStatusResponse_TableCopyState.ProtoReflect.Descriptor instead. func (*WorkflowStatusResponse_TableCopyState) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{227, 0} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{249, 0} } func (x *WorkflowStatusResponse_TableCopyState) GetRowsCopied() int64 { @@ -15276,7 +17174,7 @@ type WorkflowStatusResponse_ShardStreamState struct { func (x *WorkflowStatusResponse_ShardStreamState) Reset() { *x = WorkflowStatusResponse_ShardStreamState{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[262] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[296] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15289,7 +17187,7 @@ func (x *WorkflowStatusResponse_ShardStreamState) String() string { func (*WorkflowStatusResponse_ShardStreamState) ProtoMessage() {} func (x *WorkflowStatusResponse_ShardStreamState) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[262] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[296] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15302,7 +17200,7 @@ func (x *WorkflowStatusResponse_ShardStreamState) ProtoReflect() protoreflect.Me // Deprecated: Use WorkflowStatusResponse_ShardStreamState.ProtoReflect.Descriptor instead. func (*WorkflowStatusResponse_ShardStreamState) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{227, 1} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{249, 1} } func (x *WorkflowStatusResponse_ShardStreamState) GetId() int32 { @@ -15358,7 +17256,7 @@ type WorkflowStatusResponse_ShardStreams struct { func (x *WorkflowStatusResponse_ShardStreams) Reset() { *x = WorkflowStatusResponse_ShardStreams{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[263] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[297] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15371,7 +17269,7 @@ func (x *WorkflowStatusResponse_ShardStreams) String() string { func (*WorkflowStatusResponse_ShardStreams) ProtoMessage() {} func (x *WorkflowStatusResponse_ShardStreams) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[263] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[297] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15384,7 +17282,7 @@ func (x *WorkflowStatusResponse_ShardStreams) ProtoReflect() protoreflect.Messag // Deprecated: Use WorkflowStatusResponse_ShardStreams.ProtoReflect.Descriptor instead. func (*WorkflowStatusResponse_ShardStreams) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{227, 2} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{249, 2} } func (x *WorkflowStatusResponse_ShardStreams) GetStreams() []*WorkflowStatusResponse_ShardStreamState { @@ -15408,7 +17306,7 @@ type WorkflowUpdateResponse_TabletInfo struct { func (x *WorkflowUpdateResponse_TabletInfo) Reset() { *x = WorkflowUpdateResponse_TabletInfo{} if protoimpl.UnsafeEnabled { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[266] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[300] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15421,7 +17319,7 @@ func (x *WorkflowUpdateResponse_TabletInfo) String() string { func (*WorkflowUpdateResponse_TabletInfo) ProtoMessage() {} func (x *WorkflowUpdateResponse_TabletInfo) ProtoReflect() protoreflect.Message { - mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[266] + mi := &file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[300] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15434,7 +17332,7 @@ func (x *WorkflowUpdateResponse_TabletInfo) ProtoReflect() protoreflect.Message // Deprecated: Use WorkflowUpdateResponse_TabletInfo.ProtoReflect.Descriptor instead. func (*WorkflowUpdateResponse_TabletInfo) Descriptor() ([]byte, []int) { - return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{231, 0} + return file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP(), []int{253, 0} } func (x *WorkflowUpdateResponse_TabletInfo) GetTablet() *dev2.TabletAlias { @@ -15500,7 +17398,7 @@ var file_vitess_vtctldata_dev_vtctldata_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x64, 0x6c, 0x22, 0xa4, 0x06, 0x0a, 0x13, 0x4d, 0x61, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x64, 0x6c, 0x22, 0xa1, 0x07, 0x0a, 0x13, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, @@ -15551,186 +17449,217 @@ var file_vitess_vtctldata_dev_vtctldata_proto_rawDesc = []byte{ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x70, 0x79, - 0x22, 0x59, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x39, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xe5, 0x14, 0x0a, 0x0f, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, - 0x75, 0x69, 0x64, 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, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, - 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x12, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, - 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, - 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x61, 0x64, - 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x07, 0x61, 0x64, 0x64, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3a, - 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, - 0x61, 0x64, 0x79, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x07, 0x72, 0x65, 0x61, 0x64, 0x79, 0x41, 0x74, 0x12, 0x36, - 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, - 0x73, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, 0x6c, 0x69, 0x76, - 0x65, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3a, - 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x63, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x6c, - 0x65, 0x61, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x12, 0x50, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x59, 0x0a, + 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xe5, 0x14, 0x0a, 0x0f, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, + 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, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x2f, 0x0a, 0x13, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, + 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x18, 0x0a, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x52, 0x07, 0x61, 0x64, 0x64, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3a, 0x0a, 0x0c, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x63, 0x6c, 0x65, 0x61, - 0x6e, 0x65, 0x64, 0x55, 0x70, 0x41, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, - 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6c, 0x6f, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, - 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, - 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x16, 0x20, - 0x01, 0x28, 0x02, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, - 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x64, - 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x64, 0x64, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x74, 0x61, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, - 0x64, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x74, 0x61, 0x53, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, - 0x69, 0x65, 0x64, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, - 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, - 0x6f, 0x77, 0x73, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x75, 0x6e, - 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x69, 0x71, - 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x72, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x1f, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x61, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x6f, 0x73, 0x74, 0x70, - 0x6f, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x21, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x43, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x18, 0x72, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x72, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x5f, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1b, 0x64, 0x72, 0x6f, 0x70, - 0x70, 0x65, 0x64, 0x4e, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x70, 0x61, 0x6e, - 0x64, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, - 0x65, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, - 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, - 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, - 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x26, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x27, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, - 0x65, 0x64, 0x55, 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x65, - 0x77, 0x18, 0x28, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x12, - 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x61, 0x64, - 0x79, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, - 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, - 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x2b, - 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x75, 0x73, 0x65, 0x72, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, - 0x6c, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x69, - 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, - 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x43, 0x0a, 0x11, 0x6c, 0x61, - 0x73, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x2d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0f, - 0x6c, 0x61, 0x73, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, - 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, - 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, - 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, - 0x0b, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, 0x27, 0x0a, 0x0f, - 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x5f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x18, - 0x30, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x4c, - 0x61, 0x75, 0x6e, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x31, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, - 0x75, 0x74, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, - 0x32, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x75, 0x74, 0x6f, 0x76, 0x65, 0x72, 0x41, 0x74, - 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x69, 0x6d, 0x6d, - 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, - 0x61, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x0b, - 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x34, 0x20, 0x01, 0x28, + 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x79, + 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x52, 0x07, 0x72, 0x65, 0x61, 0x64, 0x79, 0x41, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, + 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3a, 0x0a, 0x0c, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, - 0x65, 0x77, 0x65, 0x64, 0x41, 0x74, 0x12, 0x48, 0x0a, 0x14, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, - 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x35, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, 0x72, - 0x65, 0x61, 0x64, 0x79, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, - 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, - 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x36, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, - 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x08, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x49, 0x54, 0x45, 0x53, - 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x00, 0x12, - 0x09, 0x0a, 0x05, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x54, - 0x4f, 0x53, 0x43, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x10, - 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x10, 0x04, 0x1a, 0x02, 0x10, 0x01, - 0x22, 0x71, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, 0x55, 0x45, - 0x53, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, - 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, - 0x03, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, - 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, - 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x07, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 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, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x05, - 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0xf0, - 0x10, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x6e, + 0x65, 0x64, 0x5f, 0x75, 0x70, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x65, 0x64, + 0x55, 0x70, 0x41, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, + 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, + 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x13, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x38, 0x0a, + 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x02, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, + 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x64, 0x6c, 0x5f, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x64, 0x6c, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x74, 0x61, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, + 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x74, 0x61, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, + 0x18, 0x1b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, + 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, + 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x77, + 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, + 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x64, + 0x64, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x2e, 0x0a, + 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x20, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, + 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x21, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x18, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, + 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, + 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x44, + 0x0a, 0x1f, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x5f, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1b, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, + 0x4e, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, + 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x24, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x65, + 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x25, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x4e, 0x6f, + 0x74, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6e, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x26, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, + 0x27, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x55, + 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x28, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x12, 0x2a, 0x0a, 0x11, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54, 0x6f, + 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x64, 0x69, + 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x64, 0x69, 0x63, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x2b, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x11, 0x75, 0x73, 0x65, 0x72, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x52, + 0x61, 0x74, 0x69, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, + 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, + 0x69, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x43, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x2d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0f, 0x6c, 0x61, 0x73, + 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2f, 0x0a, 0x13, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x64, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x6f, + 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x3a, 0x0a, + 0x0c, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x2f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x63, 0x61, + 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6f, 0x73, + 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x5f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x18, 0x30, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x31, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x74, 0x6f, + 0x76, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, 0x32, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x75, 0x74, 0x6f, 0x76, 0x65, 0x72, 0x41, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x33, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x0b, 0x72, 0x65, 0x76, + 0x69, 0x65, 0x77, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x34, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x48, 0x0a, 0x14, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x74, 0x6f, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x35, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, 0x72, 0x65, 0x61, 0x64, + 0x79, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, 0x12, 0x39, 0x0a, + 0x19, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, + 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x36, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, + 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x67, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x49, 0x54, 0x45, 0x53, 0x53, 0x10, 0x00, + 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, + 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x54, 0x4f, 0x53, 0x43, + 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x09, + 0x0a, 0x05, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x10, 0x04, 0x1a, 0x02, 0x10, 0x01, 0x22, 0x71, 0x0a, + 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x45, + 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, + 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x03, 0x12, 0x09, + 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, + 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, + 0x54, 0x45, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, + 0x22, 0x69, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 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, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0xf0, 0x02, 0x0a, 0x0f, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x79, 0x0a, 0x1f, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x63, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x65, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x1c, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x65, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x48, + 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, + 0x49, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa1, + 0x13, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, @@ -15762,258 +17691,428 @@ var file_vitess_vtctldata_dev_vtctldata_proto_rawDesc = []byte{ 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, - 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x1a, 0x6b, - 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 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, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x49, 0x0a, 0x13, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 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, 0x1a, 0xcf, 0x01, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3f, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x3f, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, + 0x6b, 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 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, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x49, 0x0a, 0x13, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 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, 0x1a, 0xcf, 0x01, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3f, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x69, + 0x73, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, + 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x1a, 0xc6, 0x0b, 0x0a, 0x06, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x02, 0x69, 0x64, 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, 0x06, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, + 0x6f, 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4c, + 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3a, 0x0a, 0x0c, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x74, 0x69, 0x6d, + 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x07, - 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0e, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x73, - 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x1a, 0xd6, 0x09, 0x0a, 0x06, 0x53, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x02, 0x69, 0x64, 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, 0x06, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, - 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, - 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, - 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3a, 0x0a, 0x0c, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x43, + 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x70, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, + 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, + 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, + 0x67, 0x46, 0x65, 0x74, 0x63, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, + 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, + 0x12, 0x60, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x1a, 0x57, 0x0a, 0x09, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x61, 0x73, 0x74, + 0x5f, 0x70, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x50, + 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x1a, 0xfc, + 0x01, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x36, 0x0a, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x43, 0x6f, - 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, - 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x67, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, - 0x67, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x10, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, - 0x60, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x1a, 0x3a, 0x0a, 0x09, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x6b, 0x1a, 0xfc, 0x01, - 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x36, 0x0a, 0x0a, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x82, 0x01, 0x0a, - 0x0f, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, - 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, - 0x64, 0x12, 0x3e, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, - 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, - 0x64, 0x22, 0x64, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x6d, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x82, 0x01, + 0x0a, 0x0f, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, + 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x64, 0x22, 0x64, 0x0a, 0x12, 0x41, 0x64, 0x64, 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, 0x3a, 0x0a, 0x09, + 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, + 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x43, + 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x40, 0x0a, 0x14, 0x41, 0x64, 0x64, 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, 0x3a, 0x0a, 0x09, 0x63, - 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x43, 0x65, - 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, - 0x0a, 0x14, 0x41, 0x64, 0x64, 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, 0x14, 0x0a, 0x05, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, - 0x22, 0x17, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x18, 0x41, 0x70, - 0x70, 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, - 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xca, 0x01, 0x0a, 0x20, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, + 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x5e, 0x0a, 0x16, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, + 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, + 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x14, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x65, + 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x21, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, + 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, + 0x16, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x12, 0x21, 0x0a, - 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x6f, - 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x1d, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x13, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x6f, + 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x14, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xa9, 0x01, + 0x0a, 0x18, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, 0x21, 0x0a, 0x0c, 0x73, - 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x23, - 0x0a, 0x0d, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x65, - 0x6c, 0x6c, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x22, 0xe4, 0x02, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x64, - 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x64, 0x64, 0x6c, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x1b, 0x0a, - 0x09, 0x75, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x08, 0x75, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a, 0x15, 0x77, 0x61, 0x69, 0x74, 0x5f, - 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 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, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, - 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, - 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0xf3, 0x01, 0x0a, - 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, - 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x75, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x77, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x42, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, - 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, - 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0xce, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x21, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, - 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x6b, - 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, - 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, - 0x75, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x70, 0x70, + 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x1d, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 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, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x65, + 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 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, 0x22, 0xe4, 0x02, 0x0a, 0x12, 0x41, 0x70, + 0x70, 0x6c, 0x79, 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, 0x10, 0x0a, 0x03, + 0x73, 0x71, 0x6c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x21, + 0x0a, 0x0c, 0x64, 0x64, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x64, 0x6c, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, + 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x75, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, + 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a, 0x15, 0x77, + 0x61, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 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, 0x37, 0x0a, 0x09, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, + 0x53, 0x69, 0x7a, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, + 0x22, 0xf3, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x75, 0x69, 0x64, + 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x75, 0x75, 0x69, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x77, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, + 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, + 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe6, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, + 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, 0x21, 0x0a, 0x0c, 0x73, 0x6b, + 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x17, 0x0a, + 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x37, 0x0a, 0x08, + 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x22, + 0xeb, 0x02, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x73, 0x71, 0x6c, 0x22, 0x4f, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x22, 0xf0, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, + 0x61, 0x12, 0x77, 0x0a, 0x15, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x76, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x43, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x55, 0x6e, 0x6b, + 0x6e, 0x6f, 0x77, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x56, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x7c, 0x0a, 0x18, 0x55, 0x6e, + 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, + 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, 0x4a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x23, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xac, 0x02, + 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x23, 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, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, + 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x69, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, + 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x12, 0x21, 0x0a, + 0x0c, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x61, 0x66, 0x65, + 0x12, 0x28, 0x0a, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x62, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x22, 0xb8, 0x01, 0x0a, + 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, + 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 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, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 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, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x61, 0x66, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, + 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, + 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x22, 0x4e, 0x0a, 0x1c, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xeb, 0x01, 0x0a, + 0x1d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, + 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x4c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, + 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfe, 0x01, 0x0a, 0x17, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x23, 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, - 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x63, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, - 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x46, 0x72, 0x6f, - 0x6d, 0x50, 0x6f, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, - 0x73, 0x61, 0x66, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x70, 0x67, 0x72, - 0x61, 0x64, 0x65, 0x53, 0x61, 0x66, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, - 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 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, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 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, 0x04, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x63, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x73, 0x61, - 0x66, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, - 0x65, 0x53, 0x61, 0x66, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, - 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x22, 0x4e, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x63, 0x65, - 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xeb, 0x01, 0x0a, 0x1d, 0x43, 0x61, 0x6e, 0x63, - 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x16, 0x72, 0x6f, - 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x4b, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x61, 0x67, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6c, + 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd6, 0x02, 0x0a, 0x18, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x61, 0x67, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x62, 0x65, 0x66, 0x6f, + 0x72, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, + 0x66, 0x6f, 0x72, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x62, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x5c, 0x0a, 0x0a, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x66, + 0x74, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, 0x66, + 0x74, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x42, 0x65, 0x66, 0x6f, 0x72, + 0x65, 0x54, 0x61, 0x67, 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, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0e, 0x41, 0x66, 0x74, 0x65, 0x72, 0x54, + 0x61, 0x67, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb1, 0x01, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x38, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x64, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0xbc, 0x01, 0x0a, 0x18, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x0c, 0x62, 0x65, 0x66, 0x6f, 0x72, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x0b, 0x61, 0x66, 0x74, 0x65, + 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x77, 0x61, 0x73, 0x5f, 0x64, + 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x77, 0x61, + 0x73, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0xee, 0x01, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x6b, 0x69, 0x70, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x12, + 0x27, 0x0a, 0x10, 0x6f, 0x6b, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6f, 0x6b, 0x49, 0x66, 0x4e, + 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x4a, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x22, 0x4f, 0x0a, 0x1d, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xed, 0x01, 0x0a, 0x1e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, + 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, @@ -16022,41 +18121,18 @@ var file_vitess_vtctldata_dev_vtctldata_proto_rawDesc = []byte{ 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb1, 0x01, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x38, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x64, 0x62, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0xbc, 0x01, 0x0a, 0x18, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, - 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x0c, 0x62, 0x65, 0x66, 0x6f, - 0x72, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x66, 0x74, 0x65, - 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x0b, 0x61, 0x66, 0x74, - 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x77, 0x61, 0x73, 0x5f, - 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x77, - 0x61, 0x73, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0x4f, 0x0a, 0x1d, 0x43, 0x6c, 0x65, 0x61, - 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xed, 0x01, 0x0a, 0x1e, 0x43, 0x6c, - 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, - 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, - 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xef, 0x01, 0x0a, 0x1f, 0x43, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x16, + 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, + 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, @@ -16065,625 +18141,799 @@ var file_vitess_vtctldata_dev_vtctldata_proto_rawDesc = []byte{ 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a, 0x1e, 0x43, 0x6f, 0x6d, - 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xef, 0x01, 0x0a, 0x1f, - 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x83, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, - 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x4e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, - 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, - 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xba, 0x03, - 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 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, 0x14, 0x0a, 0x05, 0x66, - 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, - 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, - 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x12, 0x4b, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, - 0x6d, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, - 0x6f, 0x6d, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x73, 0x12, - 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, - 0x61, 0x73, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, - 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0c, 0x73, 0x6e, 0x61, - 0x70, 0x73, 0x68, 0x6f, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x75, 0x72, - 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, - 0x72, 0x5f, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x44, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, - 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x54, 0x0a, 0x16, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x22, 0x8c, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 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, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, - 0x75, 0x64, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, - 0xb6, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, - 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, - 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73, 0x68, 0x61, 0x72, 0x64, 0x41, 0x6c, 0x72, 0x65, 0x61, - 0x64, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, - 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 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, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, - 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x67, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 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, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, - 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, - 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf3, 0x02, 0x0a, 0x15, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x2f, 0x0a, + 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x76, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x35, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, + 0x73, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, + 0x73, 0x68, 0x6f, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x75, 0x72, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, + 0x5f, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x44, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, + 0x54, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, - 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x26, - 0x0a, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x5f, 0x69, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, - 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x49, 0x66, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x16, 0x0a, 0x14, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 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, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, - 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x84, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x23, 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, - 0xa2, 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, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, - 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x49, 0x0a, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, - 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x52, 0x0e, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x73, 0x12, 0x4f, 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, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x64, 0x65, 0x76, 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, 0x3f, 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, 0x12, 0x2f, 0x0a, 0x14, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x11, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, + 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 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, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x25, 0x0a, + 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x22, 0xb6, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x5f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x41, 0x0a, + 0x15, 0x44, 0x65, 0x6c, 0x65, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, + 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x17, 0x44, 0x65, + 0x6c, 0x65, 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, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 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, 0x1c, 0x0a, 0x09, 0x72, 0x65, + 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, + 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x18, + 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x33, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x06, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, + 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, + 0x69, 0x76, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x5f, 0x69, 0x66, 0x5f, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x76, + 0x65, 0x6e, 0x49, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x66, + 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, + 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x17, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 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, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, + 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x23, 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, 0xef, 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, 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, 0x4b, 0x0a, 0x10, 0x70, 0x72, 0x6f, - 0x6d, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, + 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, 0x49, 0x0a, 0x0f, 0x69, + 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0e, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x4f, 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, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 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, 0x3f, 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, 0x12, 0x2f, 0x0a, 0x14, 0x77, 0x61, 0x69, 0x74, + 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, + 0x6c, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x12, 0x4b, 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, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xab, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xde, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0xd2, 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, 0x4b, 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, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xab, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x22, 0xbb, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 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, 0x60, 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, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x69, - 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 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, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xde, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x52, + 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, 0x35, 0x0a, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x22, 0xbb, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x60, + 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, 0x30, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x69, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xdf, 0x01, 0x0a, 0x1d, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x73, 0x71, 0x6c, 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, 0x59, 0x0a, + 0x1e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x37, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 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, 0xd4, 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, 0x59, 0x0a, 0x06, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 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, 0x56, 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, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x54, 0x0a, + 0x22, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, + 0x75, 0x69, 0x64, 0x22, 0xf7, 0x01, 0x0a, 0x23, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, + 0x4f, 0x76, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x16, + 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, + 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, 0x72, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 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, 0x4f, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, + 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 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, 0x51, 0x0a, 0x13, 0x47, 0x65, 0x74, + 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xcc, 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, + 0x54, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5b, 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, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, + 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x5b, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x57, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x54, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 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, 0xd4, 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, 0x59, 0x0a, 0x06, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x76, 0x69, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x51, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, + 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5c, 0x0a, 0x15, 0x47, 0x65, + 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x65, 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, 0x4b, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, + 0x14, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, + 0x52, 0x75, 0x6c, 0x65, 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, + 0x60, 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, 0x45, 0x0a, 0x0d, 0x72, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xbb, 0x02, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 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, + 0x5b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, 0xd9, 0x02, 0x0a, + 0x1a, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 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, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x33, + 0x0a, 0x06, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x63, + 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x22, 0x64, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x56, 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, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0a, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x64, + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x9a, 0x02, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x19, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x63, 0x65, + 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x43, 0x65, + 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x43, 0x65, 0x6c, 0x6c, 0x1a, + 0x70, 0x0a, 0x1b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x43, 0x65, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 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, 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, - 0x4f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x76, 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, 0x51, 0x0a, 0x13, 0x47, 0x65, - 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xcc, 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, 0x54, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5b, 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, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, - 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x5b, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x57, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x54, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x51, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x3a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5c, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, - 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 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, 0x65, 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, 0x4b, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x60, 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, 0x45, 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, 0xbb, 0x02, 0x0a, - 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5b, 0x0a, 0x11, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x46, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xd9, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 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, + 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x75, 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, 0x55, 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, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x89, 0x02, 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, 0x52, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x74, 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, 0x50, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x33, 0x0a, 0x06, 0x72, 0x65, 0x63, - 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x39, - 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69, - 0x6e, 0x67, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, - 0x6b, 0x69, 0x70, 0x22, 0x64, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6d, - 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, 0x75, 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, 0x55, 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, 0x25, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x89, 0x02, 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, 0x52, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x74, 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, 0x50, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76, 0x69, + 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, 0xe2, 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, 0x64, 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 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, 0x61, 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, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xef, 0x03, + 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 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, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, - 0x22, 0xe2, 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, 0x64, 0x0a, 0x0d, - 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x61, 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, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x83, 0x03, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x28, 0x0a, + 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x5f, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x53, 0x65, 0x6c, 0x66, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, + 0x61, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, + 0x70, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, + 0x41, 0x70, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x2e, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x61, 0x70, + 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, + 0x1f, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 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, 0x59, 0x0a, 0x15, + 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, + 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, 0xdb, 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, 0x61, 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5e, 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, 0x34, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, + 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x57, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 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, 0x48, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, + 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0xfe, 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, 0x47, 0x0a, + 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, + 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x73, 0x22, 0x60, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x6e, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x5f, 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, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x17, 0x0a, 0x07, 0x61, 0x73, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x61, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x51, 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, 0x36, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, + 0x79, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x80, 0x01, 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, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5f, + 0x0a, 0x20, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 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, 0x1f, + 0x0a, 0x0b, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x41, 0x67, 0x65, 0x22, + 0x6e, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x2f, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, + 0x22, 0xa0, 0x01, 0x0a, 0x15, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4e, 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 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, 0x58, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x4d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0xc6, + 0x01, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, - 0x6c, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, 0x12, - 0x2d, 0x0a, 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, - 0x6b, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x6c, 0x66, 0x12, 0x2f, - 0x0a, 0x14, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, - 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, - 0x4a, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x68, 0x72, - 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x74, - 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x22, 0x1f, 0x0a, 0x1d, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x59, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, - 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xdb, 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, 0x61, 0x0a, - 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5e, 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, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x72, 0x76, 0x56, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x57, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, - 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 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, 0x48, 0x0a, 0x11, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, - 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x22, 0xfe, 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, + 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, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x21, 0x0a, 0x0c, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x54, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x22, 0x91, 0x02, + 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, 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, 0x47, 0x0a, 0x0e, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, - 0x51, 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, 0x36, 0x0a, 0x04, 0x63, 0x65, - 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x58, 0x0a, 0x11, 0x47, - 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x4d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x22, 0xae, 0x01, 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, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x5d, 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, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x4f, 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, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x64, 0x65, 0x76, 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, 0x4d, 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, 0x31, 0x0a, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0x4e, 0x0a, 0x1c, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, + 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, + 0x22, 0xeb, 0x01, 0x0a, 0x1d, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, + 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa0, + 0x03, 0x0a, 0x19, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, + 0x72, 0x65, 0x61, 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, 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, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x61, - 0x6d, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6c, 0x6f, - 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x54, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, - 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x22, 0x91, 0x02, 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, 0x5d, 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, 0x20, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 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, 0x4f, - 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, 0x1b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, - 0x76, 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, - 0x4d, 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, 0x31, 0x0a, 0x06, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x4e, - 0x0a, 0x1c, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xeb, - 0x01, 0x0a, 0x1d, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, - 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x81, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x4c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, - 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa0, 0x03, 0x0a, - 0x19, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, - 0x61, 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, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x42, - 0x0a, 0x1e, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, - 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, - 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x77, 0x6e, - 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x42, 0x0a, 0x1e, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x5f, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, + 0x75, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x77, 0x0a, 0x1e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 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, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x4c, 0x0a, 0x1f, 0x4c, 0x6f, 0x6f, 0x6b, + 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x61, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, + 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x61, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf3, 0x05, 0x0a, 0x14, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, @@ -16694,801 +18944,728 @@ var file_vitess_vtctldata_dev_vtctldata_proto_rawDesc = []byte{ 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, - 0x1c, 0x0a, 0x1a, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x77, 0x0a, - 0x1e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 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, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x4c, 0x0a, 0x1f, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, - 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x64, 0x22, 0x61, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, - 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x45, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, - 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x61, 0x74, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf3, 0x05, 0x0a, 0x14, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, - 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, - 0x0a, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, - 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x09, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, - 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, - 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, - 0x6f, 0x70, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6f, 0x72, 0x65, - 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, - 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, - 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, - 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, - 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, - 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x6f, 0x52, 0x6f, - 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x16, 0x4d, - 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, - 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6b, - 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x5f, - 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, - 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, - 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, - 0x52, 0x75, 0x6e, 0x22, 0x5b, 0x0a, 0x17, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, + 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, + 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x26, 0x0a, + 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, + 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6f, + 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, + 0x73, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, + 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x6f, + 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xe6, 0x01, 0x0a, + 0x16, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x65, + 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, + 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, + 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0x5b, 0x0a, 0x17, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x72, + 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x14, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, + 0x6f, 0x70, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x74, 0x6f, 0x70, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, + 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, + 0x6f, 0x70, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, + 0x6f, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, + 0x70, 0x6f, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x16, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x10, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, + 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, + 0x70, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, + 0x6f, 0x70, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x5f, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, + 0x70, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, + 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, + 0x6f, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x29, 0x0a, + 0x11, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 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, 0xa3, 0x07, 0x0a, 0x17, 0x4d, 0x6f, 0x76, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, + 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x61, 0x6c, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x26, 0x0a, 0x0f, + 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, + 0x43, 0x6f, 0x70, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6f, 0x72, + 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, + 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, + 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, + 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x6f, 0x52, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, + 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0a, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x50, 0x0a, 0x10, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0f, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xeb, + 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, + 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x81, 0x02, 0x0a, + 0x19, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, + 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x52, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, + 0x22, 0x5e, 0x0a, 0x1a, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, - 0x22, 0x85, 0x01, 0x0a, 0x14, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, - 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, - 0x70, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x70, - 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, 0x5f, - 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, - 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x6f, 0x75, 0x6e, - 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x2c, 0x0a, 0x16, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x19, 0x0a, 0x17, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x10, 0x4d, 0x6f, - 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, - 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x70, 0x6f, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x72, - 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x52, - 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x29, 0x0a, 0x11, 0x4d, - 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 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, 0xd1, 0x06, 0x0a, 0x17, 0x4d, 0x6f, 0x76, 0x65, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, - 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, + 0x22, 0x58, 0x0a, 0x11, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 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, 0x8d, 0x04, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x45, 0x0a, 0x0d, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x5f, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6c, - 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, - 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x5a, - 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x0d, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, - 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, - 0x70, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, - 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, - 0x72, 0x6f, 0x70, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x30, + 0x65, 0x76, 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, 0x4f, 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, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 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, 0x57, 0x0a, + 0x19, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x17, 0x74, + 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x12, 0x3b, 0x0a, 0x1a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x4b, 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, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, 0xd0, 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, 0x4b, 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, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, + 0x6c, 0x2e, 0x64, 0x65, 0x76, 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, 0x5a, 0x0a, 0x13, + 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5a, 0x0a, 0x13, + 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x05, 0x52, + 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x51, 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, 0x31, 0x0a, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, + 0x76, 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, + 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x4e, + 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, 0x31, 0x0a, 0x06, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, + 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, 0x51, 0x0a, 0x15, 0x52, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0x86, + 0x01, 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, 0x3a, 0x0a, 0x07, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0xf7, 0x04, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 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, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x23, 0x0a, + 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0e, 0x73, 0x6b, 0x69, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x70, 0x79, 0x12, + 0x15, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, + 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, - 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, + 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x11, + 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, - 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x6f, 0x52, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x74, 0x6f, - 0x6d, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x70, 0x79, 0x22, 0xeb, 0x01, 0x0a, 0x18, 0x4d, - 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, - 0x79, 0x12, 0x53, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x64, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, + 0x50, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0xd9, 0x02, 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, 0x43, + 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0xe9, 0x01, 0x0a, 0x19, 0x4d, 0x6f, 0x76, - 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, - 0x65, 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x6b, 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, - 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, - 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, - 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, - 0x79, 0x52, 0x75, 0x6e, 0x22, 0x5e, 0x0a, 0x1a, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, - 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x73, 0x22, 0x58, 0x0a, 0x11, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x83, 0x03, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x12, 0x38, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, + 0x0e, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6f, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, + 0x50, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x49, 0x0a, 0x14, + 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x65, 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, + 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x22, 0xc3, 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, 0x43, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, + 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x22, 0x4d, 0x0a, 0x1b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, + 0x69, 0x64, 0x22, 0xe9, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, 0x72, + 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, + 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5c, + 0x0a, 0x15, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, 0x60, 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, 0x39, 0x0a, 0x08, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 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, 0x5c, 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, 0x39, 0x0a, 0x08, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 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, 0x54, 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, 0x30, 0x0a, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, + 0x99, 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, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x51, 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, 0x30, 0x0a, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, 0x45, 0x0a, 0x0d, 0x61, 0x76, 0x6f, - 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x4f, 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, - 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x64, 0x65, 0x76, 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, 0x57, 0x0a, 0x19, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x17, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x22, 0xd0, 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, + 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x75, + 0x0a, 0x12, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 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, 0x93, 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, 0x4b, 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, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 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, 0x5a, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, - 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, - 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, - 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5a, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, - 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x43, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x51, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 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, 0x4e, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, - 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 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, + 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, 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, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x5f, 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, 0x40, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 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, 0x51, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 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, 0xd7, 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, 0x83, 0x01, 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, 0x50, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x65, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, + 0x6a, 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, 0x38, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x59, 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, + 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, - 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0x86, 0x01, 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, 0x3a, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x22, 0xa5, 0x04, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 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, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, - 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, - 0x28, 0x0a, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, - 0x6f, 0x70, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x6b, 0x69, 0x70, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x6e, 0x5f, - 0x64, 0x64, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, 0x6c, - 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, - 0x6f, 0x70, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, - 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, - 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, - 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x22, 0xa3, 0x02, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x38, 0x0a, 0x0b, 0x62, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, - 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, - 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x50, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, - 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, - 0x79, 0x52, 0x75, 0x6e, 0x12, 0x49, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, - 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, - 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, - 0xc3, 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, 0x43, 0x0a, - 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, - 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, - 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x4d, 0x0a, 0x1b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x75, 0x75, 0x69, 0x64, 0x22, 0xe9, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, - 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, - 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, - 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x5c, 0x0a, 0x15, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x60, 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, 0x39, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xd3, 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, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, - 0x5a, 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, 0x39, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5c, 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, 0x39, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x54, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x22, 0x99, 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, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, - 0x51, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x22, 0x75, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x92, 0x01, 0x0a, 0x12, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x93, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x37, 0x0a, + 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x64, 0x65, 0x76, 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, 0xfb, 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, 0x05, 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, 0x3a, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x72, + 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 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, 0x4a, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 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, 0x5f, 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, 0x40, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0xd7, 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, 0x83, 0x01, 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, 0x50, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x65, 0x0a, 0x0a, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x46, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x6a, 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, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, - 0x59, 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, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 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, 0x43, - 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, - 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x92, 0x01, 0x0a, 0x12, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x4d, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x5e, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5d, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x37, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 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, 0xfb, 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, 0x05, 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, 0x3a, 0x0a, 0x09, 0x6b, - 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 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, - 0x4a, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 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, 0x05, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x4d, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x5e, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, 0x5d, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x5d, 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, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, - 0xdc, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 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, 0x41, 0x0a, 0x0b, 0x6f, - 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x67, - 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, 0x3a, 0x0a, 0x09, 0x63, - 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x68, 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, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, - 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, - 0x6f, 0x22, 0x6f, 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, 0x40, 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, - 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, - 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x22, 0x70, 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, 0x40, 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x91, 0x02, 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, 0x6d, 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, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x74, 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x92, 0x02, 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, - 0x6c, 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, 0x42, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 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, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 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, 0x9e, 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, + 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, 0x5d, 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, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0xdc, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x41, 0x0a, 0x0b, 0x6f, 0x6c, 0x64, 0x5f, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 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, 0x67, 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, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x22, 0x68, 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, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x6f, 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, 0x40, 0x0a, 0x0b, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x70, + 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, 0x40, + 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x91, 0x02, 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, 0x72, 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, - 0x48, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x6d, 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, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x74, 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x92, 0x02, 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, 0x6c, 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, 0x42, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x6e, 0x0a, 0x13, 0x52, 0x65, 0x73, @@ -17498,356 +19675,444 @@ var file_vitess_vtctldata_dev_vtctldata_proto_rawDesc = []byte{ 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 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, 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, 0xa0, 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, 0x73, 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, - 0x49, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 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, 0x9e, 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, 0x72, 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, 0x48, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 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, 0x6e, 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, 0x41, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 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, 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, 0x90, 0x02, 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, 0x6b, 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, 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x6e, 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, 0x41, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, + 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, 0xa0, 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, 0x73, 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, 0x49, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0xf6, 0x06, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, - 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, - 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, - 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x14, - 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x12, 0x60, 0x0a, 0x1e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, - 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x61, 0x69, - 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1b, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, - 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x62, - 0x75, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, - 0x70, 0x5f, 0x6b, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x6c, 0x79, - 0x50, 0x4b, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x12, 0x38, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, - 0x6f, 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, - 0x77, 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x77, - 0x61, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, - 0x4d, 0x0a, 0x14, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x77, 0x61, 0x69, 0x74, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1d, - 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x72, 0x79, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x72, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x77, - 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x22, 0x29, 0x0a, 0x13, - 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x55, 0x55, 0x49, 0x44, 0x22, 0x6b, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x61, 0x72, 0x67, 0x22, 0x15, 0x0a, 0x13, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6d, 0x0a, 0x12, 0x56, - 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x65, 0x76, 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, 0x6e, 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, + 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x90, 0x02, 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, 0x6b, 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, 0x41, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, + 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0xb0, 0x08, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, + 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x65, 0x6c, + 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x60, 0x0a, 0x1e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x70, 0x5f, 0x6b, 0x73, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x6c, 0x79, 0x50, 0x4b, 0x73, 0x12, + 0x2c, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x38, 0x0a, + 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, + 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x15, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, 0x77, 0x73, 0x54, 0x6f, + 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, 0x69, 0x74, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, 0x4d, 0x0a, 0x14, 0x77, + 0x61, 0x69, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x76, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x77, 0x61, 0x69, 0x74, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, + 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, + 0x62, 0x6f, 0x73, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, + 0x6f, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x13, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x61, + 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, + 0x64, 0x69, 0x66, 0x66, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x44, 0x69, 0x66, 0x66, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x3c, 0x0a, 0x1b, 0x72, 0x6f, 0x77, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x74, + 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x72, 0x6f, 0x77, 0x44, 0x69, 0x66, 0x66, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x41, 0x74, 0x12, + 0x22, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x16, 0x20, + 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x22, 0x29, 0x0a, 0x13, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x55, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x55, 0x49, 0x44, 0x22, 0x6b, 0x0a, + 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, + 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x22, 0x15, 0x0a, 0x13, 0x56, 0x44, + 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x92, 0x01, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, + 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, + 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0x0a, + 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x56, 0x44, - 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x69, 0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x22, 0xed, 0x01, 0x0a, - 0x11, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x67, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x1a, 0x6f, 0x0a, 0x14, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6b, 0x0a, 0x10, - 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x56, 0x44, 0x69, - 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9a, - 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 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, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, - 0x12, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x52, - 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xe7, 0x01, 0x0a, 0x16, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, - 0x12, 0x51, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, - 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0xa8, 0x08, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x6a, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, - 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x63, 0x0a, - 0x0d, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x66, 0x66, - 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, 0xe8, 0x01, 0x0a, 0x0e, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, - 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, - 0x6f, 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x72, 0x6f, 0x77, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x6f, - 0x77, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x02, 0x52, 0x0e, 0x72, 0x6f, 0x77, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x70, - 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, - 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, - 0x65, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x62, 0x79, 0x74, 0x65, 0x73, - 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x02, 0x52, 0x0f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, - 0x67, 0x65, 0x1a, 0xc7, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x22, 0xed, 0x01, 0x0a, 0x11, 0x56, 0x44, 0x69, + 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, + 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x1a, 0x6f, 0x0a, 0x14, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x90, 0x01, 0x0a, 0x10, 0x56, 0x44, 0x69, + 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x56, + 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xde, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 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, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, 0x65, 0x65, + 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, + 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, + 0x65, 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, + 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x51, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x1a, 0x67, 0x0a, 0x0c, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x57, 0x0a, 0x07, - 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x07, 0x73, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x73, 0x1a, 0x7e, 0x0a, 0x13, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, - 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 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, 0x51, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x7a, 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 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, 0x4f, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x69, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x67, 0x0a, 0x15, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x22, 0xa8, 0x08, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6a, 0x0a, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x63, 0x0a, 0x0d, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, 0xe8, 0x01, 0x0a, 0x0e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, + 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, + 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, + 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x77, + 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, + 0x6f, 0x77, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x6f, 0x77, 0x73, + 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x0e, 0x72, 0x6f, 0x77, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, + 0x70, 0x69, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x70, + 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x0f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x1a, 0xc7, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x1a, 0x67, 0x0a, 0x0c, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x57, 0x0a, 0x07, 0x73, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0xf8, 0x03, 0x0a, 0x1c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, - 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x73, 0x1a, 0x7e, 0x0a, 0x13, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, + 0x53, 0x74, 0x61, 0x74, 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, 0x51, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, + 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x7a, 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 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, 0x4f, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0xa6, 0x04, 0x0a, 0x1c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, + 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 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, 0x1a, 0x0a, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, + 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x18, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x3c, + 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, + 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, + 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x3e, 0x0a, 0x1b, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x19, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x1d, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, + 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, + 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x72, + 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, + 0x70, 0x64, 0x61, 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, 0x12, 0x66, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x51, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, + 0x74, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, + 0x0c, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, + 0x75, 0x6c, 0x65, 0x73, 0x52, 0x0b, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, + 0x73, 0x22, 0xb4, 0x01, 0x0a, 0x1c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x69, + 0x72, 0x72, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, - 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, - 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x18, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, - 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, - 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, - 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, - 0x6f, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x3e, 0x0a, 0x1b, - 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x19, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xa7, 0x01, 0x0a, - 0x1d, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, - 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, - 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, - 0x0a, 0x0f, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 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, 0x12, 0x66, 0x0a, 0x0e, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x51, 0x0a, 0x07, 0x64, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 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, 0x2a, 0x38, 0x0a, 0x0d, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x4e, - 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, - 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, - 0x4e, 0x47, 0x10, 0x02, 0x42, 0x4b, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x64, 0x65, - 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, + 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x07, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x22, 0x7f, 0x0a, 0x1d, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, + 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, + 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, + 0x61, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 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, 0x2a, 0x38, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, + 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, + 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x2a, + 0x42, 0x0a, 0x1c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x65, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x49, 0x6e, + 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x12, + 0x09, 0x0a, 0x05, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, + 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, + 0x45, 0x10, 0x02, 0x42, 0x4b, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2f, + 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x64, 0x65, 0x76, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -17862,529 +20127,603 @@ func file_vitess_vtctldata_dev_vtctldata_proto_rawDescGZIP() []byte { return file_vitess_vtctldata_dev_vtctldata_proto_rawDescData } -var file_vitess_vtctldata_dev_vtctldata_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_vitess_vtctldata_dev_vtctldata_proto_msgTypes = make([]protoimpl.MessageInfo, 267) -var file_vitess_vtctldata_dev_vtctldata_proto_goTypes = []interface{}{ +var file_vitess_vtctldata_dev_vtctldata_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_vitess_vtctldata_dev_vtctldata_proto_msgTypes = make([]protoimpl.MessageInfo, 301) +var file_vitess_vtctldata_dev_vtctldata_proto_goTypes = []any{ (MaterializationIntent)(0), // 0: vitess.vtctldata.dev.MaterializationIntent (QueryOrdering)(0), // 1: vitess.vtctldata.dev.QueryOrdering - (SchemaMigration_Strategy)(0), // 2: vitess.vtctldata.dev.SchemaMigration.Strategy - (SchemaMigration_Status)(0), // 3: vitess.vtctldata.dev.SchemaMigration.Status - (*ExecuteVtctlCommandRequest)(nil), // 4: vitess.vtctldata.dev.ExecuteVtctlCommandRequest - (*ExecuteVtctlCommandResponse)(nil), // 5: vitess.vtctldata.dev.ExecuteVtctlCommandResponse - (*TableMaterializeSettings)(nil), // 6: vitess.vtctldata.dev.TableMaterializeSettings - (*MaterializeSettings)(nil), // 7: vitess.vtctldata.dev.MaterializeSettings - (*Keyspace)(nil), // 8: vitess.vtctldata.dev.Keyspace - (*SchemaMigration)(nil), // 9: vitess.vtctldata.dev.SchemaMigration - (*Shard)(nil), // 10: vitess.vtctldata.dev.Shard - (*Workflow)(nil), // 11: vitess.vtctldata.dev.Workflow - (*AddCellInfoRequest)(nil), // 12: vitess.vtctldata.dev.AddCellInfoRequest - (*AddCellInfoResponse)(nil), // 13: vitess.vtctldata.dev.AddCellInfoResponse - (*AddCellsAliasRequest)(nil), // 14: vitess.vtctldata.dev.AddCellsAliasRequest - (*AddCellsAliasResponse)(nil), // 15: vitess.vtctldata.dev.AddCellsAliasResponse - (*ApplyRoutingRulesRequest)(nil), // 16: vitess.vtctldata.dev.ApplyRoutingRulesRequest - (*ApplyRoutingRulesResponse)(nil), // 17: vitess.vtctldata.dev.ApplyRoutingRulesResponse - (*ApplyShardRoutingRulesRequest)(nil), // 18: vitess.vtctldata.dev.ApplyShardRoutingRulesRequest - (*ApplyShardRoutingRulesResponse)(nil), // 19: vitess.vtctldata.dev.ApplyShardRoutingRulesResponse - (*ApplySchemaRequest)(nil), // 20: vitess.vtctldata.dev.ApplySchemaRequest - (*ApplySchemaResponse)(nil), // 21: vitess.vtctldata.dev.ApplySchemaResponse - (*ApplyVSchemaRequest)(nil), // 22: vitess.vtctldata.dev.ApplyVSchemaRequest - (*ApplyVSchemaResponse)(nil), // 23: vitess.vtctldata.dev.ApplyVSchemaResponse - (*BackupRequest)(nil), // 24: vitess.vtctldata.dev.BackupRequest - (*BackupResponse)(nil), // 25: vitess.vtctldata.dev.BackupResponse - (*BackupShardRequest)(nil), // 26: vitess.vtctldata.dev.BackupShardRequest - (*CancelSchemaMigrationRequest)(nil), // 27: vitess.vtctldata.dev.CancelSchemaMigrationRequest - (*CancelSchemaMigrationResponse)(nil), // 28: vitess.vtctldata.dev.CancelSchemaMigrationResponse - (*ChangeTabletTypeRequest)(nil), // 29: vitess.vtctldata.dev.ChangeTabletTypeRequest - (*ChangeTabletTypeResponse)(nil), // 30: vitess.vtctldata.dev.ChangeTabletTypeResponse - (*CleanupSchemaMigrationRequest)(nil), // 31: vitess.vtctldata.dev.CleanupSchemaMigrationRequest - (*CleanupSchemaMigrationResponse)(nil), // 32: vitess.vtctldata.dev.CleanupSchemaMigrationResponse - (*CompleteSchemaMigrationRequest)(nil), // 33: vitess.vtctldata.dev.CompleteSchemaMigrationRequest - (*CompleteSchemaMigrationResponse)(nil), // 34: vitess.vtctldata.dev.CompleteSchemaMigrationResponse - (*CreateKeyspaceRequest)(nil), // 35: vitess.vtctldata.dev.CreateKeyspaceRequest - (*CreateKeyspaceResponse)(nil), // 36: vitess.vtctldata.dev.CreateKeyspaceResponse - (*CreateShardRequest)(nil), // 37: vitess.vtctldata.dev.CreateShardRequest - (*CreateShardResponse)(nil), // 38: vitess.vtctldata.dev.CreateShardResponse - (*DeleteCellInfoRequest)(nil), // 39: vitess.vtctldata.dev.DeleteCellInfoRequest - (*DeleteCellInfoResponse)(nil), // 40: vitess.vtctldata.dev.DeleteCellInfoResponse - (*DeleteCellsAliasRequest)(nil), // 41: vitess.vtctldata.dev.DeleteCellsAliasRequest - (*DeleteCellsAliasResponse)(nil), // 42: vitess.vtctldata.dev.DeleteCellsAliasResponse - (*DeleteKeyspaceRequest)(nil), // 43: vitess.vtctldata.dev.DeleteKeyspaceRequest - (*DeleteKeyspaceResponse)(nil), // 44: vitess.vtctldata.dev.DeleteKeyspaceResponse - (*DeleteShardsRequest)(nil), // 45: vitess.vtctldata.dev.DeleteShardsRequest - (*DeleteShardsResponse)(nil), // 46: vitess.vtctldata.dev.DeleteShardsResponse - (*DeleteSrvVSchemaRequest)(nil), // 47: vitess.vtctldata.dev.DeleteSrvVSchemaRequest - (*DeleteSrvVSchemaResponse)(nil), // 48: vitess.vtctldata.dev.DeleteSrvVSchemaResponse - (*DeleteTabletsRequest)(nil), // 49: vitess.vtctldata.dev.DeleteTabletsRequest - (*DeleteTabletsResponse)(nil), // 50: vitess.vtctldata.dev.DeleteTabletsResponse - (*EmergencyReparentShardRequest)(nil), // 51: vitess.vtctldata.dev.EmergencyReparentShardRequest - (*EmergencyReparentShardResponse)(nil), // 52: vitess.vtctldata.dev.EmergencyReparentShardResponse - (*ExecuteFetchAsAppRequest)(nil), // 53: vitess.vtctldata.dev.ExecuteFetchAsAppRequest - (*ExecuteFetchAsAppResponse)(nil), // 54: vitess.vtctldata.dev.ExecuteFetchAsAppResponse - (*ExecuteFetchAsDBARequest)(nil), // 55: vitess.vtctldata.dev.ExecuteFetchAsDBARequest - (*ExecuteFetchAsDBAResponse)(nil), // 56: vitess.vtctldata.dev.ExecuteFetchAsDBAResponse - (*ExecuteHookRequest)(nil), // 57: vitess.vtctldata.dev.ExecuteHookRequest - (*ExecuteHookResponse)(nil), // 58: vitess.vtctldata.dev.ExecuteHookResponse - (*FindAllShardsInKeyspaceRequest)(nil), // 59: vitess.vtctldata.dev.FindAllShardsInKeyspaceRequest - (*FindAllShardsInKeyspaceResponse)(nil), // 60: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse - (*GetBackupsRequest)(nil), // 61: vitess.vtctldata.dev.GetBackupsRequest - (*GetBackupsResponse)(nil), // 62: vitess.vtctldata.dev.GetBackupsResponse - (*GetCellInfoRequest)(nil), // 63: vitess.vtctldata.dev.GetCellInfoRequest - (*GetCellInfoResponse)(nil), // 64: vitess.vtctldata.dev.GetCellInfoResponse - (*GetCellInfoNamesRequest)(nil), // 65: vitess.vtctldata.dev.GetCellInfoNamesRequest - (*GetCellInfoNamesResponse)(nil), // 66: vitess.vtctldata.dev.GetCellInfoNamesResponse - (*GetCellsAliasesRequest)(nil), // 67: vitess.vtctldata.dev.GetCellsAliasesRequest - (*GetCellsAliasesResponse)(nil), // 68: vitess.vtctldata.dev.GetCellsAliasesResponse - (*GetFullStatusRequest)(nil), // 69: vitess.vtctldata.dev.GetFullStatusRequest - (*GetFullStatusResponse)(nil), // 70: vitess.vtctldata.dev.GetFullStatusResponse - (*GetKeyspacesRequest)(nil), // 71: vitess.vtctldata.dev.GetKeyspacesRequest - (*GetKeyspacesResponse)(nil), // 72: vitess.vtctldata.dev.GetKeyspacesResponse - (*GetKeyspaceRequest)(nil), // 73: vitess.vtctldata.dev.GetKeyspaceRequest - (*GetKeyspaceResponse)(nil), // 74: vitess.vtctldata.dev.GetKeyspaceResponse - (*GetPermissionsRequest)(nil), // 75: vitess.vtctldata.dev.GetPermissionsRequest - (*GetPermissionsResponse)(nil), // 76: vitess.vtctldata.dev.GetPermissionsResponse - (*GetRoutingRulesRequest)(nil), // 77: vitess.vtctldata.dev.GetRoutingRulesRequest - (*GetRoutingRulesResponse)(nil), // 78: vitess.vtctldata.dev.GetRoutingRulesResponse - (*GetSchemaRequest)(nil), // 79: vitess.vtctldata.dev.GetSchemaRequest - (*GetSchemaResponse)(nil), // 80: vitess.vtctldata.dev.GetSchemaResponse - (*GetSchemaMigrationsRequest)(nil), // 81: vitess.vtctldata.dev.GetSchemaMigrationsRequest - (*GetSchemaMigrationsResponse)(nil), // 82: vitess.vtctldata.dev.GetSchemaMigrationsResponse - (*GetShardRequest)(nil), // 83: vitess.vtctldata.dev.GetShardRequest - (*GetShardResponse)(nil), // 84: vitess.vtctldata.dev.GetShardResponse - (*GetShardRoutingRulesRequest)(nil), // 85: vitess.vtctldata.dev.GetShardRoutingRulesRequest - (*GetShardRoutingRulesResponse)(nil), // 86: vitess.vtctldata.dev.GetShardRoutingRulesResponse - (*GetSrvKeyspaceNamesRequest)(nil), // 87: vitess.vtctldata.dev.GetSrvKeyspaceNamesRequest - (*GetSrvKeyspaceNamesResponse)(nil), // 88: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse - (*GetSrvKeyspacesRequest)(nil), // 89: vitess.vtctldata.dev.GetSrvKeyspacesRequest - (*GetSrvKeyspacesResponse)(nil), // 90: vitess.vtctldata.dev.GetSrvKeyspacesResponse - (*UpdateThrottlerConfigRequest)(nil), // 91: vitess.vtctldata.dev.UpdateThrottlerConfigRequest - (*UpdateThrottlerConfigResponse)(nil), // 92: vitess.vtctldata.dev.UpdateThrottlerConfigResponse - (*GetSrvVSchemaRequest)(nil), // 93: vitess.vtctldata.dev.GetSrvVSchemaRequest - (*GetSrvVSchemaResponse)(nil), // 94: vitess.vtctldata.dev.GetSrvVSchemaResponse - (*GetSrvVSchemasRequest)(nil), // 95: vitess.vtctldata.dev.GetSrvVSchemasRequest - (*GetSrvVSchemasResponse)(nil), // 96: vitess.vtctldata.dev.GetSrvVSchemasResponse - (*GetTabletRequest)(nil), // 97: vitess.vtctldata.dev.GetTabletRequest - (*GetTabletResponse)(nil), // 98: vitess.vtctldata.dev.GetTabletResponse - (*GetTabletsRequest)(nil), // 99: vitess.vtctldata.dev.GetTabletsRequest - (*GetTabletsResponse)(nil), // 100: vitess.vtctldata.dev.GetTabletsResponse - (*GetTopologyPathRequest)(nil), // 101: vitess.vtctldata.dev.GetTopologyPathRequest - (*GetTopologyPathResponse)(nil), // 102: vitess.vtctldata.dev.GetTopologyPathResponse - (*TopologyCell)(nil), // 103: vitess.vtctldata.dev.TopologyCell - (*GetVSchemaRequest)(nil), // 104: vitess.vtctldata.dev.GetVSchemaRequest - (*GetVersionRequest)(nil), // 105: vitess.vtctldata.dev.GetVersionRequest - (*GetVersionResponse)(nil), // 106: vitess.vtctldata.dev.GetVersionResponse - (*GetVSchemaResponse)(nil), // 107: vitess.vtctldata.dev.GetVSchemaResponse - (*GetWorkflowsRequest)(nil), // 108: vitess.vtctldata.dev.GetWorkflowsRequest - (*GetWorkflowsResponse)(nil), // 109: vitess.vtctldata.dev.GetWorkflowsResponse - (*InitShardPrimaryRequest)(nil), // 110: vitess.vtctldata.dev.InitShardPrimaryRequest - (*InitShardPrimaryResponse)(nil), // 111: vitess.vtctldata.dev.InitShardPrimaryResponse - (*LaunchSchemaMigrationRequest)(nil), // 112: vitess.vtctldata.dev.LaunchSchemaMigrationRequest - (*LaunchSchemaMigrationResponse)(nil), // 113: vitess.vtctldata.dev.LaunchSchemaMigrationResponse - (*LookupVindexCreateRequest)(nil), // 114: vitess.vtctldata.dev.LookupVindexCreateRequest - (*LookupVindexCreateResponse)(nil), // 115: vitess.vtctldata.dev.LookupVindexCreateResponse - (*LookupVindexExternalizeRequest)(nil), // 116: vitess.vtctldata.dev.LookupVindexExternalizeRequest - (*LookupVindexExternalizeResponse)(nil), // 117: vitess.vtctldata.dev.LookupVindexExternalizeResponse - (*MaterializeCreateRequest)(nil), // 118: vitess.vtctldata.dev.MaterializeCreateRequest - (*MaterializeCreateResponse)(nil), // 119: vitess.vtctldata.dev.MaterializeCreateResponse - (*MigrateCreateRequest)(nil), // 120: vitess.vtctldata.dev.MigrateCreateRequest - (*MigrateCompleteRequest)(nil), // 121: vitess.vtctldata.dev.MigrateCompleteRequest - (*MigrateCompleteResponse)(nil), // 122: vitess.vtctldata.dev.MigrateCompleteResponse - (*MountRegisterRequest)(nil), // 123: vitess.vtctldata.dev.MountRegisterRequest - (*MountRegisterResponse)(nil), // 124: vitess.vtctldata.dev.MountRegisterResponse - (*MountUnregisterRequest)(nil), // 125: vitess.vtctldata.dev.MountUnregisterRequest - (*MountUnregisterResponse)(nil), // 126: vitess.vtctldata.dev.MountUnregisterResponse - (*MountShowRequest)(nil), // 127: vitess.vtctldata.dev.MountShowRequest - (*MountShowResponse)(nil), // 128: vitess.vtctldata.dev.MountShowResponse - (*MountListRequest)(nil), // 129: vitess.vtctldata.dev.MountListRequest - (*MountListResponse)(nil), // 130: vitess.vtctldata.dev.MountListResponse - (*MoveTablesCreateRequest)(nil), // 131: vitess.vtctldata.dev.MoveTablesCreateRequest - (*MoveTablesCreateResponse)(nil), // 132: vitess.vtctldata.dev.MoveTablesCreateResponse - (*MoveTablesCompleteRequest)(nil), // 133: vitess.vtctldata.dev.MoveTablesCompleteRequest - (*MoveTablesCompleteResponse)(nil), // 134: vitess.vtctldata.dev.MoveTablesCompleteResponse - (*PingTabletRequest)(nil), // 135: vitess.vtctldata.dev.PingTabletRequest - (*PingTabletResponse)(nil), // 136: vitess.vtctldata.dev.PingTabletResponse - (*PlannedReparentShardRequest)(nil), // 137: vitess.vtctldata.dev.PlannedReparentShardRequest - (*PlannedReparentShardResponse)(nil), // 138: vitess.vtctldata.dev.PlannedReparentShardResponse - (*RebuildKeyspaceGraphRequest)(nil), // 139: vitess.vtctldata.dev.RebuildKeyspaceGraphRequest - (*RebuildKeyspaceGraphResponse)(nil), // 140: vitess.vtctldata.dev.RebuildKeyspaceGraphResponse - (*RebuildVSchemaGraphRequest)(nil), // 141: vitess.vtctldata.dev.RebuildVSchemaGraphRequest - (*RebuildVSchemaGraphResponse)(nil), // 142: vitess.vtctldata.dev.RebuildVSchemaGraphResponse - (*RefreshStateRequest)(nil), // 143: vitess.vtctldata.dev.RefreshStateRequest - (*RefreshStateResponse)(nil), // 144: vitess.vtctldata.dev.RefreshStateResponse - (*RefreshStateByShardRequest)(nil), // 145: vitess.vtctldata.dev.RefreshStateByShardRequest - (*RefreshStateByShardResponse)(nil), // 146: vitess.vtctldata.dev.RefreshStateByShardResponse - (*ReloadSchemaRequest)(nil), // 147: vitess.vtctldata.dev.ReloadSchemaRequest - (*ReloadSchemaResponse)(nil), // 148: vitess.vtctldata.dev.ReloadSchemaResponse - (*ReloadSchemaKeyspaceRequest)(nil), // 149: vitess.vtctldata.dev.ReloadSchemaKeyspaceRequest - (*ReloadSchemaKeyspaceResponse)(nil), // 150: vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse - (*ReloadSchemaShardRequest)(nil), // 151: vitess.vtctldata.dev.ReloadSchemaShardRequest - (*ReloadSchemaShardResponse)(nil), // 152: vitess.vtctldata.dev.ReloadSchemaShardResponse - (*RemoveBackupRequest)(nil), // 153: vitess.vtctldata.dev.RemoveBackupRequest - (*RemoveBackupResponse)(nil), // 154: vitess.vtctldata.dev.RemoveBackupResponse - (*RemoveKeyspaceCellRequest)(nil), // 155: vitess.vtctldata.dev.RemoveKeyspaceCellRequest - (*RemoveKeyspaceCellResponse)(nil), // 156: vitess.vtctldata.dev.RemoveKeyspaceCellResponse - (*RemoveShardCellRequest)(nil), // 157: vitess.vtctldata.dev.RemoveShardCellRequest - (*RemoveShardCellResponse)(nil), // 158: vitess.vtctldata.dev.RemoveShardCellResponse - (*ReparentTabletRequest)(nil), // 159: vitess.vtctldata.dev.ReparentTabletRequest - (*ReparentTabletResponse)(nil), // 160: vitess.vtctldata.dev.ReparentTabletResponse - (*ReshardCreateRequest)(nil), // 161: vitess.vtctldata.dev.ReshardCreateRequest - (*RestoreFromBackupRequest)(nil), // 162: vitess.vtctldata.dev.RestoreFromBackupRequest - (*RestoreFromBackupResponse)(nil), // 163: vitess.vtctldata.dev.RestoreFromBackupResponse - (*RetrySchemaMigrationRequest)(nil), // 164: vitess.vtctldata.dev.RetrySchemaMigrationRequest - (*RetrySchemaMigrationResponse)(nil), // 165: vitess.vtctldata.dev.RetrySchemaMigrationResponse - (*RunHealthCheckRequest)(nil), // 166: vitess.vtctldata.dev.RunHealthCheckRequest - (*RunHealthCheckResponse)(nil), // 167: vitess.vtctldata.dev.RunHealthCheckResponse - (*SetKeyspaceDurabilityPolicyRequest)(nil), // 168: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyRequest - (*SetKeyspaceDurabilityPolicyResponse)(nil), // 169: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse - (*SetKeyspaceServedFromRequest)(nil), // 170: vitess.vtctldata.dev.SetKeyspaceServedFromRequest - (*SetKeyspaceServedFromResponse)(nil), // 171: vitess.vtctldata.dev.SetKeyspaceServedFromResponse - (*SetKeyspaceShardingInfoRequest)(nil), // 172: vitess.vtctldata.dev.SetKeyspaceShardingInfoRequest - (*SetKeyspaceShardingInfoResponse)(nil), // 173: vitess.vtctldata.dev.SetKeyspaceShardingInfoResponse - (*SetShardIsPrimaryServingRequest)(nil), // 174: vitess.vtctldata.dev.SetShardIsPrimaryServingRequest - (*SetShardIsPrimaryServingResponse)(nil), // 175: vitess.vtctldata.dev.SetShardIsPrimaryServingResponse - (*SetShardTabletControlRequest)(nil), // 176: vitess.vtctldata.dev.SetShardTabletControlRequest - (*SetShardTabletControlResponse)(nil), // 177: vitess.vtctldata.dev.SetShardTabletControlResponse - (*SetWritableRequest)(nil), // 178: vitess.vtctldata.dev.SetWritableRequest - (*SetWritableResponse)(nil), // 179: vitess.vtctldata.dev.SetWritableResponse - (*ShardReplicationAddRequest)(nil), // 180: vitess.vtctldata.dev.ShardReplicationAddRequest - (*ShardReplicationAddResponse)(nil), // 181: vitess.vtctldata.dev.ShardReplicationAddResponse - (*ShardReplicationFixRequest)(nil), // 182: vitess.vtctldata.dev.ShardReplicationFixRequest - (*ShardReplicationFixResponse)(nil), // 183: vitess.vtctldata.dev.ShardReplicationFixResponse - (*ShardReplicationPositionsRequest)(nil), // 184: vitess.vtctldata.dev.ShardReplicationPositionsRequest - (*ShardReplicationPositionsResponse)(nil), // 185: vitess.vtctldata.dev.ShardReplicationPositionsResponse - (*ShardReplicationRemoveRequest)(nil), // 186: vitess.vtctldata.dev.ShardReplicationRemoveRequest - (*ShardReplicationRemoveResponse)(nil), // 187: vitess.vtctldata.dev.ShardReplicationRemoveResponse - (*SleepTabletRequest)(nil), // 188: vitess.vtctldata.dev.SleepTabletRequest - (*SleepTabletResponse)(nil), // 189: vitess.vtctldata.dev.SleepTabletResponse - (*SourceShardAddRequest)(nil), // 190: vitess.vtctldata.dev.SourceShardAddRequest - (*SourceShardAddResponse)(nil), // 191: vitess.vtctldata.dev.SourceShardAddResponse - (*SourceShardDeleteRequest)(nil), // 192: vitess.vtctldata.dev.SourceShardDeleteRequest - (*SourceShardDeleteResponse)(nil), // 193: vitess.vtctldata.dev.SourceShardDeleteResponse - (*StartReplicationRequest)(nil), // 194: vitess.vtctldata.dev.StartReplicationRequest - (*StartReplicationResponse)(nil), // 195: vitess.vtctldata.dev.StartReplicationResponse - (*StopReplicationRequest)(nil), // 196: vitess.vtctldata.dev.StopReplicationRequest - (*StopReplicationResponse)(nil), // 197: vitess.vtctldata.dev.StopReplicationResponse - (*TabletExternallyReparentedRequest)(nil), // 198: vitess.vtctldata.dev.TabletExternallyReparentedRequest - (*TabletExternallyReparentedResponse)(nil), // 199: vitess.vtctldata.dev.TabletExternallyReparentedResponse - (*UpdateCellInfoRequest)(nil), // 200: vitess.vtctldata.dev.UpdateCellInfoRequest - (*UpdateCellInfoResponse)(nil), // 201: vitess.vtctldata.dev.UpdateCellInfoResponse - (*UpdateCellsAliasRequest)(nil), // 202: vitess.vtctldata.dev.UpdateCellsAliasRequest - (*UpdateCellsAliasResponse)(nil), // 203: vitess.vtctldata.dev.UpdateCellsAliasResponse - (*ValidateRequest)(nil), // 204: vitess.vtctldata.dev.ValidateRequest - (*ValidateResponse)(nil), // 205: vitess.vtctldata.dev.ValidateResponse - (*ValidateKeyspaceRequest)(nil), // 206: vitess.vtctldata.dev.ValidateKeyspaceRequest - (*ValidateKeyspaceResponse)(nil), // 207: vitess.vtctldata.dev.ValidateKeyspaceResponse - (*ValidateSchemaKeyspaceRequest)(nil), // 208: vitess.vtctldata.dev.ValidateSchemaKeyspaceRequest - (*ValidateSchemaKeyspaceResponse)(nil), // 209: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse - (*ValidateShardRequest)(nil), // 210: vitess.vtctldata.dev.ValidateShardRequest - (*ValidateShardResponse)(nil), // 211: vitess.vtctldata.dev.ValidateShardResponse - (*ValidateVersionKeyspaceRequest)(nil), // 212: vitess.vtctldata.dev.ValidateVersionKeyspaceRequest - (*ValidateVersionKeyspaceResponse)(nil), // 213: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse - (*ValidateVersionShardRequest)(nil), // 214: vitess.vtctldata.dev.ValidateVersionShardRequest - (*ValidateVersionShardResponse)(nil), // 215: vitess.vtctldata.dev.ValidateVersionShardResponse - (*ValidateVSchemaRequest)(nil), // 216: vitess.vtctldata.dev.ValidateVSchemaRequest - (*ValidateVSchemaResponse)(nil), // 217: vitess.vtctldata.dev.ValidateVSchemaResponse - (*VDiffCreateRequest)(nil), // 218: vitess.vtctldata.dev.VDiffCreateRequest - (*VDiffCreateResponse)(nil), // 219: vitess.vtctldata.dev.VDiffCreateResponse - (*VDiffDeleteRequest)(nil), // 220: vitess.vtctldata.dev.VDiffDeleteRequest - (*VDiffDeleteResponse)(nil), // 221: vitess.vtctldata.dev.VDiffDeleteResponse - (*VDiffResumeRequest)(nil), // 222: vitess.vtctldata.dev.VDiffResumeRequest - (*VDiffResumeResponse)(nil), // 223: vitess.vtctldata.dev.VDiffResumeResponse - (*VDiffShowRequest)(nil), // 224: vitess.vtctldata.dev.VDiffShowRequest - (*VDiffShowResponse)(nil), // 225: vitess.vtctldata.dev.VDiffShowResponse - (*VDiffStopRequest)(nil), // 226: vitess.vtctldata.dev.VDiffStopRequest - (*VDiffStopResponse)(nil), // 227: vitess.vtctldata.dev.VDiffStopResponse - (*WorkflowDeleteRequest)(nil), // 228: vitess.vtctldata.dev.WorkflowDeleteRequest - (*WorkflowDeleteResponse)(nil), // 229: vitess.vtctldata.dev.WorkflowDeleteResponse - (*WorkflowStatusRequest)(nil), // 230: vitess.vtctldata.dev.WorkflowStatusRequest - (*WorkflowStatusResponse)(nil), // 231: vitess.vtctldata.dev.WorkflowStatusResponse - (*WorkflowSwitchTrafficRequest)(nil), // 232: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest - (*WorkflowSwitchTrafficResponse)(nil), // 233: vitess.vtctldata.dev.WorkflowSwitchTrafficResponse - (*WorkflowUpdateRequest)(nil), // 234: vitess.vtctldata.dev.WorkflowUpdateRequest - (*WorkflowUpdateResponse)(nil), // 235: vitess.vtctldata.dev.WorkflowUpdateResponse - nil, // 236: vitess.vtctldata.dev.Workflow.ShardStreamsEntry - (*Workflow_ReplicationLocation)(nil), // 237: vitess.vtctldata.dev.Workflow.ReplicationLocation - (*Workflow_ShardStream)(nil), // 238: vitess.vtctldata.dev.Workflow.ShardStream - (*Workflow_Stream)(nil), // 239: vitess.vtctldata.dev.Workflow.Stream - (*Workflow_Stream_CopyState)(nil), // 240: vitess.vtctldata.dev.Workflow.Stream.CopyState - (*Workflow_Stream_Log)(nil), // 241: vitess.vtctldata.dev.Workflow.Stream.Log - (*Workflow_Stream_ThrottlerStatus)(nil), // 242: vitess.vtctldata.dev.Workflow.Stream.ThrottlerStatus - nil, // 243: vitess.vtctldata.dev.ApplySchemaResponse.RowsAffectedByShardEntry - nil, // 244: vitess.vtctldata.dev.CancelSchemaMigrationResponse.RowsAffectedByShardEntry - nil, // 245: vitess.vtctldata.dev.CleanupSchemaMigrationResponse.RowsAffectedByShardEntry - nil, // 246: vitess.vtctldata.dev.CompleteSchemaMigrationResponse.RowsAffectedByShardEntry - nil, // 247: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.ShardsEntry - nil, // 248: vitess.vtctldata.dev.GetCellsAliasesResponse.AliasesEntry - nil, // 249: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NamesEntry - (*GetSrvKeyspaceNamesResponse_NameList)(nil), // 250: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NameList - nil, // 251: vitess.vtctldata.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry - nil, // 252: vitess.vtctldata.dev.GetSrvVSchemasResponse.SrvVSchemasEntry - nil, // 253: vitess.vtctldata.dev.LaunchSchemaMigrationResponse.RowsAffectedByShardEntry - (*MoveTablesCreateResponse_TabletInfo)(nil), // 254: vitess.vtctldata.dev.MoveTablesCreateResponse.TabletInfo - nil, // 255: vitess.vtctldata.dev.RetrySchemaMigrationResponse.RowsAffectedByShardEntry - nil, // 256: vitess.vtctldata.dev.ShardReplicationPositionsResponse.ReplicationStatusesEntry - nil, // 257: vitess.vtctldata.dev.ShardReplicationPositionsResponse.TabletMapEntry - nil, // 258: vitess.vtctldata.dev.ValidateResponse.ResultsByKeyspaceEntry - nil, // 259: vitess.vtctldata.dev.ValidateKeyspaceResponse.ResultsByShardEntry - nil, // 260: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.ResultsByShardEntry - nil, // 261: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.ResultsByShardEntry - nil, // 262: vitess.vtctldata.dev.ValidateVSchemaResponse.ResultsByShardEntry - nil, // 263: vitess.vtctldata.dev.VDiffShowResponse.TabletResponsesEntry - (*WorkflowDeleteResponse_TabletInfo)(nil), // 264: vitess.vtctldata.dev.WorkflowDeleteResponse.TabletInfo - (*WorkflowStatusResponse_TableCopyState)(nil), // 265: vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyState - (*WorkflowStatusResponse_ShardStreamState)(nil), // 266: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamState - (*WorkflowStatusResponse_ShardStreams)(nil), // 267: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreams - nil, // 268: vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyStateEntry - nil, // 269: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamsEntry - (*WorkflowUpdateResponse_TabletInfo)(nil), // 270: vitess.vtctldata.dev.WorkflowUpdateResponse.TabletInfo - (*dev.Event)(nil), // 271: vitess.logutil.dev.Event - (dev1.TabletSelectionPreference)(0), // 272: vitess.tabletmanagerdata.dev.TabletSelectionPreference - (*dev2.Keyspace)(nil), // 273: vitess.topodata.dev.Keyspace - (*dev3.Time)(nil), // 274: vitess.vttime.dev.Time - (*dev2.TabletAlias)(nil), // 275: vitess.topodata.dev.TabletAlias - (*dev3.Duration)(nil), // 276: vitess.vttime.dev.Duration - (*dev2.Shard)(nil), // 277: vitess.topodata.dev.Shard - (*dev2.CellInfo)(nil), // 278: vitess.topodata.dev.CellInfo - (*dev4.RoutingRules)(nil), // 279: vitess.vschema.dev.RoutingRules - (*dev4.ShardRoutingRules)(nil), // 280: vitess.vschema.dev.ShardRoutingRules - (*dev5.CallerID)(nil), // 281: vitess.vtrpc.dev.CallerID - (*dev4.Keyspace)(nil), // 282: vitess.vschema.dev.Keyspace - (dev2.TabletType)(0), // 283: vitess.topodata.dev.TabletType - (*dev2.Tablet)(nil), // 284: vitess.topodata.dev.Tablet - (*dev2.Keyspace_ServedFrom)(nil), // 285: vitess.topodata.dev.Keyspace.ServedFrom - (dev2.KeyspaceType)(0), // 286: vitess.topodata.dev.KeyspaceType - (*dev6.QueryResult)(nil), // 287: vitess.query.dev.QueryResult - (*dev1.ExecuteHookRequest)(nil), // 288: vitess.tabletmanagerdata.dev.ExecuteHookRequest - (*dev1.ExecuteHookResponse)(nil), // 289: vitess.tabletmanagerdata.dev.ExecuteHookResponse - (*dev7.BackupInfo)(nil), // 290: vitess.mysqlctl.dev.BackupInfo - (*dev8.FullStatus)(nil), // 291: vitess.replicationdata.dev.FullStatus - (*dev1.Permissions)(nil), // 292: vitess.tabletmanagerdata.dev.Permissions - (*dev1.SchemaDefinition)(nil), // 293: vitess.tabletmanagerdata.dev.SchemaDefinition - (*dev2.ThrottledAppRule)(nil), // 294: vitess.topodata.dev.ThrottledAppRule - (*dev4.SrvVSchema)(nil), // 295: vitess.vschema.dev.SrvVSchema - (*dev2.ShardReplicationError)(nil), // 296: vitess.topodata.dev.ShardReplicationError - (*dev2.KeyRange)(nil), // 297: vitess.topodata.dev.KeyRange - (*dev2.CellsAlias)(nil), // 298: vitess.topodata.dev.CellsAlias - (*dev1.UpdateVReplicationWorkflowRequest)(nil), // 299: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest - (*dev2.Shard_TabletControl)(nil), // 300: vitess.topodata.dev.Shard.TabletControl - (*dev9.BinlogSource)(nil), // 301: vitess.binlogdata.dev.BinlogSource - (*dev2.SrvKeyspace)(nil), // 302: vitess.topodata.dev.SrvKeyspace - (*dev8.Status)(nil), // 303: vitess.replicationdata.dev.Status - (*dev1.VDiffResponse)(nil), // 304: vitess.tabletmanagerdata.dev.VDiffResponse + (ShardedAutoIncrementHandling)(0), // 2: vitess.vtctldata.dev.ShardedAutoIncrementHandling + (SchemaMigration_Strategy)(0), // 3: vitess.vtctldata.dev.SchemaMigration.Strategy + (SchemaMigration_Status)(0), // 4: vitess.vtctldata.dev.SchemaMigration.Status + (*ExecuteVtctlCommandRequest)(nil), // 5: vitess.vtctldata.dev.ExecuteVtctlCommandRequest + (*ExecuteVtctlCommandResponse)(nil), // 6: vitess.vtctldata.dev.ExecuteVtctlCommandResponse + (*TableMaterializeSettings)(nil), // 7: vitess.vtctldata.dev.TableMaterializeSettings + (*MaterializeSettings)(nil), // 8: vitess.vtctldata.dev.MaterializeSettings + (*Keyspace)(nil), // 9: vitess.vtctldata.dev.Keyspace + (*SchemaMigration)(nil), // 10: vitess.vtctldata.dev.SchemaMigration + (*Shard)(nil), // 11: vitess.vtctldata.dev.Shard + (*WorkflowOptions)(nil), // 12: vitess.vtctldata.dev.WorkflowOptions + (*Workflow)(nil), // 13: vitess.vtctldata.dev.Workflow + (*AddCellInfoRequest)(nil), // 14: vitess.vtctldata.dev.AddCellInfoRequest + (*AddCellInfoResponse)(nil), // 15: vitess.vtctldata.dev.AddCellInfoResponse + (*AddCellsAliasRequest)(nil), // 16: vitess.vtctldata.dev.AddCellsAliasRequest + (*AddCellsAliasResponse)(nil), // 17: vitess.vtctldata.dev.AddCellsAliasResponse + (*ApplyKeyspaceRoutingRulesRequest)(nil), // 18: vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesRequest + (*ApplyKeyspaceRoutingRulesResponse)(nil), // 19: vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesResponse + (*ApplyRoutingRulesRequest)(nil), // 20: vitess.vtctldata.dev.ApplyRoutingRulesRequest + (*ApplyRoutingRulesResponse)(nil), // 21: vitess.vtctldata.dev.ApplyRoutingRulesResponse + (*ApplyShardRoutingRulesRequest)(nil), // 22: vitess.vtctldata.dev.ApplyShardRoutingRulesRequest + (*ApplyShardRoutingRulesResponse)(nil), // 23: vitess.vtctldata.dev.ApplyShardRoutingRulesResponse + (*ApplySchemaRequest)(nil), // 24: vitess.vtctldata.dev.ApplySchemaRequest + (*ApplySchemaResponse)(nil), // 25: vitess.vtctldata.dev.ApplySchemaResponse + (*ApplyVSchemaRequest)(nil), // 26: vitess.vtctldata.dev.ApplyVSchemaRequest + (*ApplyVSchemaResponse)(nil), // 27: vitess.vtctldata.dev.ApplyVSchemaResponse + (*BackupRequest)(nil), // 28: vitess.vtctldata.dev.BackupRequest + (*BackupResponse)(nil), // 29: vitess.vtctldata.dev.BackupResponse + (*BackupShardRequest)(nil), // 30: vitess.vtctldata.dev.BackupShardRequest + (*CancelSchemaMigrationRequest)(nil), // 31: vitess.vtctldata.dev.CancelSchemaMigrationRequest + (*CancelSchemaMigrationResponse)(nil), // 32: vitess.vtctldata.dev.CancelSchemaMigrationResponse + (*ChangeTabletTagsRequest)(nil), // 33: vitess.vtctldata.dev.ChangeTabletTagsRequest + (*ChangeTabletTagsResponse)(nil), // 34: vitess.vtctldata.dev.ChangeTabletTagsResponse + (*ChangeTabletTypeRequest)(nil), // 35: vitess.vtctldata.dev.ChangeTabletTypeRequest + (*ChangeTabletTypeResponse)(nil), // 36: vitess.vtctldata.dev.ChangeTabletTypeResponse + (*CheckThrottlerRequest)(nil), // 37: vitess.vtctldata.dev.CheckThrottlerRequest + (*CheckThrottlerResponse)(nil), // 38: vitess.vtctldata.dev.CheckThrottlerResponse + (*CleanupSchemaMigrationRequest)(nil), // 39: vitess.vtctldata.dev.CleanupSchemaMigrationRequest + (*CleanupSchemaMigrationResponse)(nil), // 40: vitess.vtctldata.dev.CleanupSchemaMigrationResponse + (*CompleteSchemaMigrationRequest)(nil), // 41: vitess.vtctldata.dev.CompleteSchemaMigrationRequest + (*CompleteSchemaMigrationResponse)(nil), // 42: vitess.vtctldata.dev.CompleteSchemaMigrationResponse + (*CreateKeyspaceRequest)(nil), // 43: vitess.vtctldata.dev.CreateKeyspaceRequest + (*CreateKeyspaceResponse)(nil), // 44: vitess.vtctldata.dev.CreateKeyspaceResponse + (*CreateShardRequest)(nil), // 45: vitess.vtctldata.dev.CreateShardRequest + (*CreateShardResponse)(nil), // 46: vitess.vtctldata.dev.CreateShardResponse + (*DeleteCellInfoRequest)(nil), // 47: vitess.vtctldata.dev.DeleteCellInfoRequest + (*DeleteCellInfoResponse)(nil), // 48: vitess.vtctldata.dev.DeleteCellInfoResponse + (*DeleteCellsAliasRequest)(nil), // 49: vitess.vtctldata.dev.DeleteCellsAliasRequest + (*DeleteCellsAliasResponse)(nil), // 50: vitess.vtctldata.dev.DeleteCellsAliasResponse + (*DeleteKeyspaceRequest)(nil), // 51: vitess.vtctldata.dev.DeleteKeyspaceRequest + (*DeleteKeyspaceResponse)(nil), // 52: vitess.vtctldata.dev.DeleteKeyspaceResponse + (*DeleteShardsRequest)(nil), // 53: vitess.vtctldata.dev.DeleteShardsRequest + (*DeleteShardsResponse)(nil), // 54: vitess.vtctldata.dev.DeleteShardsResponse + (*DeleteSrvVSchemaRequest)(nil), // 55: vitess.vtctldata.dev.DeleteSrvVSchemaRequest + (*DeleteSrvVSchemaResponse)(nil), // 56: vitess.vtctldata.dev.DeleteSrvVSchemaResponse + (*DeleteTabletsRequest)(nil), // 57: vitess.vtctldata.dev.DeleteTabletsRequest + (*DeleteTabletsResponse)(nil), // 58: vitess.vtctldata.dev.DeleteTabletsResponse + (*EmergencyReparentShardRequest)(nil), // 59: vitess.vtctldata.dev.EmergencyReparentShardRequest + (*EmergencyReparentShardResponse)(nil), // 60: vitess.vtctldata.dev.EmergencyReparentShardResponse + (*ExecuteFetchAsAppRequest)(nil), // 61: vitess.vtctldata.dev.ExecuteFetchAsAppRequest + (*ExecuteFetchAsAppResponse)(nil), // 62: vitess.vtctldata.dev.ExecuteFetchAsAppResponse + (*ExecuteFetchAsDBARequest)(nil), // 63: vitess.vtctldata.dev.ExecuteFetchAsDBARequest + (*ExecuteFetchAsDBAResponse)(nil), // 64: vitess.vtctldata.dev.ExecuteFetchAsDBAResponse + (*ExecuteHookRequest)(nil), // 65: vitess.vtctldata.dev.ExecuteHookRequest + (*ExecuteHookResponse)(nil), // 66: vitess.vtctldata.dev.ExecuteHookResponse + (*ExecuteMultiFetchAsDBARequest)(nil), // 67: vitess.vtctldata.dev.ExecuteMultiFetchAsDBARequest + (*ExecuteMultiFetchAsDBAResponse)(nil), // 68: vitess.vtctldata.dev.ExecuteMultiFetchAsDBAResponse + (*FindAllShardsInKeyspaceRequest)(nil), // 69: vitess.vtctldata.dev.FindAllShardsInKeyspaceRequest + (*FindAllShardsInKeyspaceResponse)(nil), // 70: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse + (*ForceCutOverSchemaMigrationRequest)(nil), // 71: vitess.vtctldata.dev.ForceCutOverSchemaMigrationRequest + (*ForceCutOverSchemaMigrationResponse)(nil), // 72: vitess.vtctldata.dev.ForceCutOverSchemaMigrationResponse + (*GetBackupsRequest)(nil), // 73: vitess.vtctldata.dev.GetBackupsRequest + (*GetBackupsResponse)(nil), // 74: vitess.vtctldata.dev.GetBackupsResponse + (*GetCellInfoRequest)(nil), // 75: vitess.vtctldata.dev.GetCellInfoRequest + (*GetCellInfoResponse)(nil), // 76: vitess.vtctldata.dev.GetCellInfoResponse + (*GetCellInfoNamesRequest)(nil), // 77: vitess.vtctldata.dev.GetCellInfoNamesRequest + (*GetCellInfoNamesResponse)(nil), // 78: vitess.vtctldata.dev.GetCellInfoNamesResponse + (*GetCellsAliasesRequest)(nil), // 79: vitess.vtctldata.dev.GetCellsAliasesRequest + (*GetCellsAliasesResponse)(nil), // 80: vitess.vtctldata.dev.GetCellsAliasesResponse + (*GetFullStatusRequest)(nil), // 81: vitess.vtctldata.dev.GetFullStatusRequest + (*GetFullStatusResponse)(nil), // 82: vitess.vtctldata.dev.GetFullStatusResponse + (*GetKeyspacesRequest)(nil), // 83: vitess.vtctldata.dev.GetKeyspacesRequest + (*GetKeyspacesResponse)(nil), // 84: vitess.vtctldata.dev.GetKeyspacesResponse + (*GetKeyspaceRequest)(nil), // 85: vitess.vtctldata.dev.GetKeyspaceRequest + (*GetKeyspaceResponse)(nil), // 86: vitess.vtctldata.dev.GetKeyspaceResponse + (*GetPermissionsRequest)(nil), // 87: vitess.vtctldata.dev.GetPermissionsRequest + (*GetPermissionsResponse)(nil), // 88: vitess.vtctldata.dev.GetPermissionsResponse + (*GetKeyspaceRoutingRulesRequest)(nil), // 89: vitess.vtctldata.dev.GetKeyspaceRoutingRulesRequest + (*GetKeyspaceRoutingRulesResponse)(nil), // 90: vitess.vtctldata.dev.GetKeyspaceRoutingRulesResponse + (*GetRoutingRulesRequest)(nil), // 91: vitess.vtctldata.dev.GetRoutingRulesRequest + (*GetRoutingRulesResponse)(nil), // 92: vitess.vtctldata.dev.GetRoutingRulesResponse + (*GetSchemaRequest)(nil), // 93: vitess.vtctldata.dev.GetSchemaRequest + (*GetSchemaResponse)(nil), // 94: vitess.vtctldata.dev.GetSchemaResponse + (*GetSchemaMigrationsRequest)(nil), // 95: vitess.vtctldata.dev.GetSchemaMigrationsRequest + (*GetSchemaMigrationsResponse)(nil), // 96: vitess.vtctldata.dev.GetSchemaMigrationsResponse + (*GetShardReplicationRequest)(nil), // 97: vitess.vtctldata.dev.GetShardReplicationRequest + (*GetShardReplicationResponse)(nil), // 98: vitess.vtctldata.dev.GetShardReplicationResponse + (*GetShardRequest)(nil), // 99: vitess.vtctldata.dev.GetShardRequest + (*GetShardResponse)(nil), // 100: vitess.vtctldata.dev.GetShardResponse + (*GetShardRoutingRulesRequest)(nil), // 101: vitess.vtctldata.dev.GetShardRoutingRulesRequest + (*GetShardRoutingRulesResponse)(nil), // 102: vitess.vtctldata.dev.GetShardRoutingRulesResponse + (*GetSrvKeyspaceNamesRequest)(nil), // 103: vitess.vtctldata.dev.GetSrvKeyspaceNamesRequest + (*GetSrvKeyspaceNamesResponse)(nil), // 104: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse + (*GetSrvKeyspacesRequest)(nil), // 105: vitess.vtctldata.dev.GetSrvKeyspacesRequest + (*GetSrvKeyspacesResponse)(nil), // 106: vitess.vtctldata.dev.GetSrvKeyspacesResponse + (*UpdateThrottlerConfigRequest)(nil), // 107: vitess.vtctldata.dev.UpdateThrottlerConfigRequest + (*UpdateThrottlerConfigResponse)(nil), // 108: vitess.vtctldata.dev.UpdateThrottlerConfigResponse + (*GetSrvVSchemaRequest)(nil), // 109: vitess.vtctldata.dev.GetSrvVSchemaRequest + (*GetSrvVSchemaResponse)(nil), // 110: vitess.vtctldata.dev.GetSrvVSchemaResponse + (*GetSrvVSchemasRequest)(nil), // 111: vitess.vtctldata.dev.GetSrvVSchemasRequest + (*GetSrvVSchemasResponse)(nil), // 112: vitess.vtctldata.dev.GetSrvVSchemasResponse + (*GetTabletRequest)(nil), // 113: vitess.vtctldata.dev.GetTabletRequest + (*GetTabletResponse)(nil), // 114: vitess.vtctldata.dev.GetTabletResponse + (*GetTabletsRequest)(nil), // 115: vitess.vtctldata.dev.GetTabletsRequest + (*GetTabletsResponse)(nil), // 116: vitess.vtctldata.dev.GetTabletsResponse + (*GetThrottlerStatusRequest)(nil), // 117: vitess.vtctldata.dev.GetThrottlerStatusRequest + (*GetThrottlerStatusResponse)(nil), // 118: vitess.vtctldata.dev.GetThrottlerStatusResponse + (*GetTopologyPathRequest)(nil), // 119: vitess.vtctldata.dev.GetTopologyPathRequest + (*GetTopologyPathResponse)(nil), // 120: vitess.vtctldata.dev.GetTopologyPathResponse + (*TopologyCell)(nil), // 121: vitess.vtctldata.dev.TopologyCell + (*GetUnresolvedTransactionsRequest)(nil), // 122: vitess.vtctldata.dev.GetUnresolvedTransactionsRequest + (*GetUnresolvedTransactionsResponse)(nil), // 123: vitess.vtctldata.dev.GetUnresolvedTransactionsResponse + (*GetTransactionInfoRequest)(nil), // 124: vitess.vtctldata.dev.GetTransactionInfoRequest + (*ShardTransactionState)(nil), // 125: vitess.vtctldata.dev.ShardTransactionState + (*GetTransactionInfoResponse)(nil), // 126: vitess.vtctldata.dev.GetTransactionInfoResponse + (*ConcludeTransactionRequest)(nil), // 127: vitess.vtctldata.dev.ConcludeTransactionRequest + (*ConcludeTransactionResponse)(nil), // 128: vitess.vtctldata.dev.ConcludeTransactionResponse + (*GetVSchemaRequest)(nil), // 129: vitess.vtctldata.dev.GetVSchemaRequest + (*GetVersionRequest)(nil), // 130: vitess.vtctldata.dev.GetVersionRequest + (*GetVersionResponse)(nil), // 131: vitess.vtctldata.dev.GetVersionResponse + (*GetVSchemaResponse)(nil), // 132: vitess.vtctldata.dev.GetVSchemaResponse + (*GetWorkflowsRequest)(nil), // 133: vitess.vtctldata.dev.GetWorkflowsRequest + (*GetWorkflowsResponse)(nil), // 134: vitess.vtctldata.dev.GetWorkflowsResponse + (*InitShardPrimaryRequest)(nil), // 135: vitess.vtctldata.dev.InitShardPrimaryRequest + (*InitShardPrimaryResponse)(nil), // 136: vitess.vtctldata.dev.InitShardPrimaryResponse + (*LaunchSchemaMigrationRequest)(nil), // 137: vitess.vtctldata.dev.LaunchSchemaMigrationRequest + (*LaunchSchemaMigrationResponse)(nil), // 138: vitess.vtctldata.dev.LaunchSchemaMigrationResponse + (*LookupVindexCreateRequest)(nil), // 139: vitess.vtctldata.dev.LookupVindexCreateRequest + (*LookupVindexCreateResponse)(nil), // 140: vitess.vtctldata.dev.LookupVindexCreateResponse + (*LookupVindexExternalizeRequest)(nil), // 141: vitess.vtctldata.dev.LookupVindexExternalizeRequest + (*LookupVindexExternalizeResponse)(nil), // 142: vitess.vtctldata.dev.LookupVindexExternalizeResponse + (*MaterializeCreateRequest)(nil), // 143: vitess.vtctldata.dev.MaterializeCreateRequest + (*MaterializeCreateResponse)(nil), // 144: vitess.vtctldata.dev.MaterializeCreateResponse + (*MigrateCreateRequest)(nil), // 145: vitess.vtctldata.dev.MigrateCreateRequest + (*MigrateCompleteRequest)(nil), // 146: vitess.vtctldata.dev.MigrateCompleteRequest + (*MigrateCompleteResponse)(nil), // 147: vitess.vtctldata.dev.MigrateCompleteResponse + (*MountRegisterRequest)(nil), // 148: vitess.vtctldata.dev.MountRegisterRequest + (*MountRegisterResponse)(nil), // 149: vitess.vtctldata.dev.MountRegisterResponse + (*MountUnregisterRequest)(nil), // 150: vitess.vtctldata.dev.MountUnregisterRequest + (*MountUnregisterResponse)(nil), // 151: vitess.vtctldata.dev.MountUnregisterResponse + (*MountShowRequest)(nil), // 152: vitess.vtctldata.dev.MountShowRequest + (*MountShowResponse)(nil), // 153: vitess.vtctldata.dev.MountShowResponse + (*MountListRequest)(nil), // 154: vitess.vtctldata.dev.MountListRequest + (*MountListResponse)(nil), // 155: vitess.vtctldata.dev.MountListResponse + (*MoveTablesCreateRequest)(nil), // 156: vitess.vtctldata.dev.MoveTablesCreateRequest + (*MoveTablesCreateResponse)(nil), // 157: vitess.vtctldata.dev.MoveTablesCreateResponse + (*MoveTablesCompleteRequest)(nil), // 158: vitess.vtctldata.dev.MoveTablesCompleteRequest + (*MoveTablesCompleteResponse)(nil), // 159: vitess.vtctldata.dev.MoveTablesCompleteResponse + (*PingTabletRequest)(nil), // 160: vitess.vtctldata.dev.PingTabletRequest + (*PingTabletResponse)(nil), // 161: vitess.vtctldata.dev.PingTabletResponse + (*PlannedReparentShardRequest)(nil), // 162: vitess.vtctldata.dev.PlannedReparentShardRequest + (*PlannedReparentShardResponse)(nil), // 163: vitess.vtctldata.dev.PlannedReparentShardResponse + (*RebuildKeyspaceGraphRequest)(nil), // 164: vitess.vtctldata.dev.RebuildKeyspaceGraphRequest + (*RebuildKeyspaceGraphResponse)(nil), // 165: vitess.vtctldata.dev.RebuildKeyspaceGraphResponse + (*RebuildVSchemaGraphRequest)(nil), // 166: vitess.vtctldata.dev.RebuildVSchemaGraphRequest + (*RebuildVSchemaGraphResponse)(nil), // 167: vitess.vtctldata.dev.RebuildVSchemaGraphResponse + (*RefreshStateRequest)(nil), // 168: vitess.vtctldata.dev.RefreshStateRequest + (*RefreshStateResponse)(nil), // 169: vitess.vtctldata.dev.RefreshStateResponse + (*RefreshStateByShardRequest)(nil), // 170: vitess.vtctldata.dev.RefreshStateByShardRequest + (*RefreshStateByShardResponse)(nil), // 171: vitess.vtctldata.dev.RefreshStateByShardResponse + (*ReloadSchemaRequest)(nil), // 172: vitess.vtctldata.dev.ReloadSchemaRequest + (*ReloadSchemaResponse)(nil), // 173: vitess.vtctldata.dev.ReloadSchemaResponse + (*ReloadSchemaKeyspaceRequest)(nil), // 174: vitess.vtctldata.dev.ReloadSchemaKeyspaceRequest + (*ReloadSchemaKeyspaceResponse)(nil), // 175: vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse + (*ReloadSchemaShardRequest)(nil), // 176: vitess.vtctldata.dev.ReloadSchemaShardRequest + (*ReloadSchemaShardResponse)(nil), // 177: vitess.vtctldata.dev.ReloadSchemaShardResponse + (*RemoveBackupRequest)(nil), // 178: vitess.vtctldata.dev.RemoveBackupRequest + (*RemoveBackupResponse)(nil), // 179: vitess.vtctldata.dev.RemoveBackupResponse + (*RemoveKeyspaceCellRequest)(nil), // 180: vitess.vtctldata.dev.RemoveKeyspaceCellRequest + (*RemoveKeyspaceCellResponse)(nil), // 181: vitess.vtctldata.dev.RemoveKeyspaceCellResponse + (*RemoveShardCellRequest)(nil), // 182: vitess.vtctldata.dev.RemoveShardCellRequest + (*RemoveShardCellResponse)(nil), // 183: vitess.vtctldata.dev.RemoveShardCellResponse + (*ReparentTabletRequest)(nil), // 184: vitess.vtctldata.dev.ReparentTabletRequest + (*ReparentTabletResponse)(nil), // 185: vitess.vtctldata.dev.ReparentTabletResponse + (*ReshardCreateRequest)(nil), // 186: vitess.vtctldata.dev.ReshardCreateRequest + (*RestoreFromBackupRequest)(nil), // 187: vitess.vtctldata.dev.RestoreFromBackupRequest + (*RestoreFromBackupResponse)(nil), // 188: vitess.vtctldata.dev.RestoreFromBackupResponse + (*RetrySchemaMigrationRequest)(nil), // 189: vitess.vtctldata.dev.RetrySchemaMigrationRequest + (*RetrySchemaMigrationResponse)(nil), // 190: vitess.vtctldata.dev.RetrySchemaMigrationResponse + (*RunHealthCheckRequest)(nil), // 191: vitess.vtctldata.dev.RunHealthCheckRequest + (*RunHealthCheckResponse)(nil), // 192: vitess.vtctldata.dev.RunHealthCheckResponse + (*SetKeyspaceDurabilityPolicyRequest)(nil), // 193: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyRequest + (*SetKeyspaceDurabilityPolicyResponse)(nil), // 194: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse + (*SetKeyspaceShardingInfoRequest)(nil), // 195: vitess.vtctldata.dev.SetKeyspaceShardingInfoRequest + (*SetKeyspaceShardingInfoResponse)(nil), // 196: vitess.vtctldata.dev.SetKeyspaceShardingInfoResponse + (*SetShardIsPrimaryServingRequest)(nil), // 197: vitess.vtctldata.dev.SetShardIsPrimaryServingRequest + (*SetShardIsPrimaryServingResponse)(nil), // 198: vitess.vtctldata.dev.SetShardIsPrimaryServingResponse + (*SetShardTabletControlRequest)(nil), // 199: vitess.vtctldata.dev.SetShardTabletControlRequest + (*SetShardTabletControlResponse)(nil), // 200: vitess.vtctldata.dev.SetShardTabletControlResponse + (*SetWritableRequest)(nil), // 201: vitess.vtctldata.dev.SetWritableRequest + (*SetWritableResponse)(nil), // 202: vitess.vtctldata.dev.SetWritableResponse + (*ShardReplicationAddRequest)(nil), // 203: vitess.vtctldata.dev.ShardReplicationAddRequest + (*ShardReplicationAddResponse)(nil), // 204: vitess.vtctldata.dev.ShardReplicationAddResponse + (*ShardReplicationFixRequest)(nil), // 205: vitess.vtctldata.dev.ShardReplicationFixRequest + (*ShardReplicationFixResponse)(nil), // 206: vitess.vtctldata.dev.ShardReplicationFixResponse + (*ShardReplicationPositionsRequest)(nil), // 207: vitess.vtctldata.dev.ShardReplicationPositionsRequest + (*ShardReplicationPositionsResponse)(nil), // 208: vitess.vtctldata.dev.ShardReplicationPositionsResponse + (*ShardReplicationRemoveRequest)(nil), // 209: vitess.vtctldata.dev.ShardReplicationRemoveRequest + (*ShardReplicationRemoveResponse)(nil), // 210: vitess.vtctldata.dev.ShardReplicationRemoveResponse + (*SleepTabletRequest)(nil), // 211: vitess.vtctldata.dev.SleepTabletRequest + (*SleepTabletResponse)(nil), // 212: vitess.vtctldata.dev.SleepTabletResponse + (*SourceShardAddRequest)(nil), // 213: vitess.vtctldata.dev.SourceShardAddRequest + (*SourceShardAddResponse)(nil), // 214: vitess.vtctldata.dev.SourceShardAddResponse + (*SourceShardDeleteRequest)(nil), // 215: vitess.vtctldata.dev.SourceShardDeleteRequest + (*SourceShardDeleteResponse)(nil), // 216: vitess.vtctldata.dev.SourceShardDeleteResponse + (*StartReplicationRequest)(nil), // 217: vitess.vtctldata.dev.StartReplicationRequest + (*StartReplicationResponse)(nil), // 218: vitess.vtctldata.dev.StartReplicationResponse + (*StopReplicationRequest)(nil), // 219: vitess.vtctldata.dev.StopReplicationRequest + (*StopReplicationResponse)(nil), // 220: vitess.vtctldata.dev.StopReplicationResponse + (*TabletExternallyReparentedRequest)(nil), // 221: vitess.vtctldata.dev.TabletExternallyReparentedRequest + (*TabletExternallyReparentedResponse)(nil), // 222: vitess.vtctldata.dev.TabletExternallyReparentedResponse + (*UpdateCellInfoRequest)(nil), // 223: vitess.vtctldata.dev.UpdateCellInfoRequest + (*UpdateCellInfoResponse)(nil), // 224: vitess.vtctldata.dev.UpdateCellInfoResponse + (*UpdateCellsAliasRequest)(nil), // 225: vitess.vtctldata.dev.UpdateCellsAliasRequest + (*UpdateCellsAliasResponse)(nil), // 226: vitess.vtctldata.dev.UpdateCellsAliasResponse + (*ValidateRequest)(nil), // 227: vitess.vtctldata.dev.ValidateRequest + (*ValidateResponse)(nil), // 228: vitess.vtctldata.dev.ValidateResponse + (*ValidateKeyspaceRequest)(nil), // 229: vitess.vtctldata.dev.ValidateKeyspaceRequest + (*ValidateKeyspaceResponse)(nil), // 230: vitess.vtctldata.dev.ValidateKeyspaceResponse + (*ValidateSchemaKeyspaceRequest)(nil), // 231: vitess.vtctldata.dev.ValidateSchemaKeyspaceRequest + (*ValidateSchemaKeyspaceResponse)(nil), // 232: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse + (*ValidateShardRequest)(nil), // 233: vitess.vtctldata.dev.ValidateShardRequest + (*ValidateShardResponse)(nil), // 234: vitess.vtctldata.dev.ValidateShardResponse + (*ValidateVersionKeyspaceRequest)(nil), // 235: vitess.vtctldata.dev.ValidateVersionKeyspaceRequest + (*ValidateVersionKeyspaceResponse)(nil), // 236: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse + (*ValidateVersionShardRequest)(nil), // 237: vitess.vtctldata.dev.ValidateVersionShardRequest + (*ValidateVersionShardResponse)(nil), // 238: vitess.vtctldata.dev.ValidateVersionShardResponse + (*ValidateVSchemaRequest)(nil), // 239: vitess.vtctldata.dev.ValidateVSchemaRequest + (*ValidateVSchemaResponse)(nil), // 240: vitess.vtctldata.dev.ValidateVSchemaResponse + (*VDiffCreateRequest)(nil), // 241: vitess.vtctldata.dev.VDiffCreateRequest + (*VDiffCreateResponse)(nil), // 242: vitess.vtctldata.dev.VDiffCreateResponse + (*VDiffDeleteRequest)(nil), // 243: vitess.vtctldata.dev.VDiffDeleteRequest + (*VDiffDeleteResponse)(nil), // 244: vitess.vtctldata.dev.VDiffDeleteResponse + (*VDiffResumeRequest)(nil), // 245: vitess.vtctldata.dev.VDiffResumeRequest + (*VDiffResumeResponse)(nil), // 246: vitess.vtctldata.dev.VDiffResumeResponse + (*VDiffShowRequest)(nil), // 247: vitess.vtctldata.dev.VDiffShowRequest + (*VDiffShowResponse)(nil), // 248: vitess.vtctldata.dev.VDiffShowResponse + (*VDiffStopRequest)(nil), // 249: vitess.vtctldata.dev.VDiffStopRequest + (*VDiffStopResponse)(nil), // 250: vitess.vtctldata.dev.VDiffStopResponse + (*WorkflowDeleteRequest)(nil), // 251: vitess.vtctldata.dev.WorkflowDeleteRequest + (*WorkflowDeleteResponse)(nil), // 252: vitess.vtctldata.dev.WorkflowDeleteResponse + (*WorkflowStatusRequest)(nil), // 253: vitess.vtctldata.dev.WorkflowStatusRequest + (*WorkflowStatusResponse)(nil), // 254: vitess.vtctldata.dev.WorkflowStatusResponse + (*WorkflowSwitchTrafficRequest)(nil), // 255: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest + (*WorkflowSwitchTrafficResponse)(nil), // 256: vitess.vtctldata.dev.WorkflowSwitchTrafficResponse + (*WorkflowUpdateRequest)(nil), // 257: vitess.vtctldata.dev.WorkflowUpdateRequest + (*WorkflowUpdateResponse)(nil), // 258: vitess.vtctldata.dev.WorkflowUpdateResponse + (*GetMirrorRulesRequest)(nil), // 259: vitess.vtctldata.dev.GetMirrorRulesRequest + (*GetMirrorRulesResponse)(nil), // 260: vitess.vtctldata.dev.GetMirrorRulesResponse + (*WorkflowMirrorTrafficRequest)(nil), // 261: vitess.vtctldata.dev.WorkflowMirrorTrafficRequest + (*WorkflowMirrorTrafficResponse)(nil), // 262: vitess.vtctldata.dev.WorkflowMirrorTrafficResponse + nil, // 263: vitess.vtctldata.dev.WorkflowOptions.ConfigEntry + nil, // 264: vitess.vtctldata.dev.Workflow.ShardStreamsEntry + (*Workflow_ReplicationLocation)(nil), // 265: vitess.vtctldata.dev.Workflow.ReplicationLocation + (*Workflow_ShardStream)(nil), // 266: vitess.vtctldata.dev.Workflow.ShardStream + (*Workflow_Stream)(nil), // 267: vitess.vtctldata.dev.Workflow.Stream + (*Workflow_Stream_CopyState)(nil), // 268: vitess.vtctldata.dev.Workflow.Stream.CopyState + (*Workflow_Stream_Log)(nil), // 269: vitess.vtctldata.dev.Workflow.Stream.Log + (*Workflow_Stream_ThrottlerStatus)(nil), // 270: vitess.vtctldata.dev.Workflow.Stream.ThrottlerStatus + nil, // 271: vitess.vtctldata.dev.ApplySchemaResponse.RowsAffectedByShardEntry + nil, // 272: vitess.vtctldata.dev.ApplyVSchemaResponse.UnknownVindexParamsEntry + (*ApplyVSchemaResponse_ParamList)(nil), // 273: vitess.vtctldata.dev.ApplyVSchemaResponse.ParamList + nil, // 274: vitess.vtctldata.dev.CancelSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 275: vitess.vtctldata.dev.ChangeTabletTagsRequest.TagsEntry + nil, // 276: vitess.vtctldata.dev.ChangeTabletTagsResponse.BeforeTagsEntry + nil, // 277: vitess.vtctldata.dev.ChangeTabletTagsResponse.AfterTagsEntry + nil, // 278: vitess.vtctldata.dev.CleanupSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 279: vitess.vtctldata.dev.CompleteSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 280: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.ShardsEntry + nil, // 281: vitess.vtctldata.dev.ForceCutOverSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 282: vitess.vtctldata.dev.GetCellsAliasesResponse.AliasesEntry + nil, // 283: vitess.vtctldata.dev.GetShardReplicationResponse.ShardReplicationByCellEntry + nil, // 284: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NamesEntry + (*GetSrvKeyspaceNamesResponse_NameList)(nil), // 285: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NameList + nil, // 286: vitess.vtctldata.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry + nil, // 287: vitess.vtctldata.dev.GetSrvVSchemasResponse.SrvVSchemasEntry + nil, // 288: vitess.vtctldata.dev.LaunchSchemaMigrationResponse.RowsAffectedByShardEntry + (*MoveTablesCreateResponse_TabletInfo)(nil), // 289: vitess.vtctldata.dev.MoveTablesCreateResponse.TabletInfo + nil, // 290: vitess.vtctldata.dev.RetrySchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 291: vitess.vtctldata.dev.ShardReplicationPositionsResponse.ReplicationStatusesEntry + nil, // 292: vitess.vtctldata.dev.ShardReplicationPositionsResponse.TabletMapEntry + nil, // 293: vitess.vtctldata.dev.ValidateResponse.ResultsByKeyspaceEntry + nil, // 294: vitess.vtctldata.dev.ValidateKeyspaceResponse.ResultsByShardEntry + nil, // 295: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.ResultsByShardEntry + nil, // 296: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.ResultsByShardEntry + nil, // 297: vitess.vtctldata.dev.ValidateVSchemaResponse.ResultsByShardEntry + nil, // 298: vitess.vtctldata.dev.VDiffShowResponse.TabletResponsesEntry + (*WorkflowDeleteResponse_TabletInfo)(nil), // 299: vitess.vtctldata.dev.WorkflowDeleteResponse.TabletInfo + (*WorkflowStatusResponse_TableCopyState)(nil), // 300: vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyState + (*WorkflowStatusResponse_ShardStreamState)(nil), // 301: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamState + (*WorkflowStatusResponse_ShardStreams)(nil), // 302: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreams + nil, // 303: vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyStateEntry + nil, // 304: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamsEntry + (*WorkflowUpdateResponse_TabletInfo)(nil), // 305: vitess.vtctldata.dev.WorkflowUpdateResponse.TabletInfo + (*dev.Event)(nil), // 306: vitess.logutil.dev.Event + (dev1.TabletSelectionPreference)(0), // 307: vitess.tabletmanagerdata.dev.TabletSelectionPreference + (*dev2.Keyspace)(nil), // 308: vitess.topodata.dev.Keyspace + (*dev3.Time)(nil), // 309: vitess.vttime.dev.Time + (*dev2.TabletAlias)(nil), // 310: vitess.topodata.dev.TabletAlias + (*dev3.Duration)(nil), // 311: vitess.vttime.dev.Duration + (*dev2.Shard)(nil), // 312: vitess.topodata.dev.Shard + (*dev2.CellInfo)(nil), // 313: vitess.topodata.dev.CellInfo + (*dev4.KeyspaceRoutingRules)(nil), // 314: vitess.vschema.dev.KeyspaceRoutingRules + (*dev4.RoutingRules)(nil), // 315: vitess.vschema.dev.RoutingRules + (*dev4.ShardRoutingRules)(nil), // 316: vitess.vschema.dev.ShardRoutingRules + (*dev5.CallerID)(nil), // 317: vitess.vtrpc.dev.CallerID + (*dev4.Keyspace)(nil), // 318: vitess.vschema.dev.Keyspace + (dev2.TabletType)(0), // 319: vitess.topodata.dev.TabletType + (*dev2.Tablet)(nil), // 320: vitess.topodata.dev.Tablet + (*dev1.CheckThrottlerResponse)(nil), // 321: vitess.tabletmanagerdata.dev.CheckThrottlerResponse + (dev2.KeyspaceType)(0), // 322: vitess.topodata.dev.KeyspaceType + (*dev6.QueryResult)(nil), // 323: vitess.query.dev.QueryResult + (*dev1.ExecuteHookRequest)(nil), // 324: vitess.tabletmanagerdata.dev.ExecuteHookRequest + (*dev1.ExecuteHookResponse)(nil), // 325: vitess.tabletmanagerdata.dev.ExecuteHookResponse + (*dev7.BackupInfo)(nil), // 326: vitess.mysqlctl.dev.BackupInfo + (*dev8.FullStatus)(nil), // 327: vitess.replicationdata.dev.FullStatus + (*dev1.Permissions)(nil), // 328: vitess.tabletmanagerdata.dev.Permissions + (*dev1.SchemaDefinition)(nil), // 329: vitess.tabletmanagerdata.dev.SchemaDefinition + (*dev2.ThrottledAppRule)(nil), // 330: vitess.topodata.dev.ThrottledAppRule + (*dev4.SrvVSchema)(nil), // 331: vitess.vschema.dev.SrvVSchema + (*dev1.GetThrottlerStatusResponse)(nil), // 332: vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse + (*dev6.TransactionMetadata)(nil), // 333: vitess.query.dev.TransactionMetadata + (*dev6.Target)(nil), // 334: vitess.query.dev.Target + (*dev2.ShardReplicationError)(nil), // 335: vitess.topodata.dev.ShardReplicationError + (*dev2.KeyRange)(nil), // 336: vitess.topodata.dev.KeyRange + (*dev2.CellsAlias)(nil), // 337: vitess.topodata.dev.CellsAlias + (*dev1.UpdateVReplicationWorkflowRequest)(nil), // 338: vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest + (*dev4.MirrorRules)(nil), // 339: vitess.vschema.dev.MirrorRules + (*dev2.Shard_TabletControl)(nil), // 340: vitess.topodata.dev.Shard.TabletControl + (*dev9.BinlogSource)(nil), // 341: vitess.binlogdata.dev.BinlogSource + (*dev2.ShardReplication)(nil), // 342: vitess.topodata.dev.ShardReplication + (*dev2.SrvKeyspace)(nil), // 343: vitess.topodata.dev.SrvKeyspace + (*dev8.Status)(nil), // 344: vitess.replicationdata.dev.Status + (*dev1.VDiffResponse)(nil), // 345: vitess.tabletmanagerdata.dev.VDiffResponse } var file_vitess_vtctldata_dev_vtctldata_proto_depIdxs = []int32{ - 271, // 0: vitess.vtctldata.dev.ExecuteVtctlCommandResponse.event:type_name -> vitess.logutil.dev.Event - 6, // 1: vitess.vtctldata.dev.MaterializeSettings.table_settings:type_name -> vitess.vtctldata.dev.TableMaterializeSettings + 306, // 0: vitess.vtctldata.dev.ExecuteVtctlCommandResponse.event:type_name -> vitess.logutil.dev.Event + 7, // 1: vitess.vtctldata.dev.MaterializeSettings.table_settings:type_name -> vitess.vtctldata.dev.TableMaterializeSettings 0, // 2: vitess.vtctldata.dev.MaterializeSettings.materialization_intent:type_name -> vitess.vtctldata.dev.MaterializationIntent - 272, // 3: vitess.vtctldata.dev.MaterializeSettings.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 273, // 4: vitess.vtctldata.dev.Keyspace.keyspace:type_name -> vitess.topodata.dev.Keyspace - 2, // 5: vitess.vtctldata.dev.SchemaMigration.strategy:type_name -> vitess.vtctldata.dev.SchemaMigration.Strategy - 274, // 6: vitess.vtctldata.dev.SchemaMigration.added_at:type_name -> vitess.vttime.dev.Time - 274, // 7: vitess.vtctldata.dev.SchemaMigration.requested_at:type_name -> vitess.vttime.dev.Time - 274, // 8: vitess.vtctldata.dev.SchemaMigration.ready_at:type_name -> vitess.vttime.dev.Time - 274, // 9: vitess.vtctldata.dev.SchemaMigration.started_at:type_name -> vitess.vttime.dev.Time - 274, // 10: vitess.vtctldata.dev.SchemaMigration.liveness_timestamp:type_name -> vitess.vttime.dev.Time - 274, // 11: vitess.vtctldata.dev.SchemaMigration.completed_at:type_name -> vitess.vttime.dev.Time - 274, // 12: vitess.vtctldata.dev.SchemaMigration.cleaned_up_at:type_name -> vitess.vttime.dev.Time - 3, // 13: vitess.vtctldata.dev.SchemaMigration.status:type_name -> vitess.vtctldata.dev.SchemaMigration.Status - 275, // 14: vitess.vtctldata.dev.SchemaMigration.tablet:type_name -> vitess.topodata.dev.TabletAlias - 276, // 15: vitess.vtctldata.dev.SchemaMigration.artifact_retention:type_name -> vitess.vttime.dev.Duration - 274, // 16: vitess.vtctldata.dev.SchemaMigration.last_throttled_at:type_name -> vitess.vttime.dev.Time - 274, // 17: vitess.vtctldata.dev.SchemaMigration.cancelled_at:type_name -> vitess.vttime.dev.Time - 274, // 18: vitess.vtctldata.dev.SchemaMigration.reviewed_at:type_name -> vitess.vttime.dev.Time - 274, // 19: vitess.vtctldata.dev.SchemaMigration.ready_to_complete_at:type_name -> vitess.vttime.dev.Time - 277, // 20: vitess.vtctldata.dev.Shard.shard:type_name -> vitess.topodata.dev.Shard - 237, // 21: vitess.vtctldata.dev.Workflow.source:type_name -> vitess.vtctldata.dev.Workflow.ReplicationLocation - 237, // 22: vitess.vtctldata.dev.Workflow.target:type_name -> vitess.vtctldata.dev.Workflow.ReplicationLocation - 236, // 23: vitess.vtctldata.dev.Workflow.shard_streams:type_name -> vitess.vtctldata.dev.Workflow.ShardStreamsEntry - 278, // 24: vitess.vtctldata.dev.AddCellInfoRequest.cell_info:type_name -> vitess.topodata.dev.CellInfo - 279, // 25: vitess.vtctldata.dev.ApplyRoutingRulesRequest.routing_rules:type_name -> vitess.vschema.dev.RoutingRules - 280, // 26: vitess.vtctldata.dev.ApplyShardRoutingRulesRequest.shard_routing_rules:type_name -> vitess.vschema.dev.ShardRoutingRules - 276, // 27: vitess.vtctldata.dev.ApplySchemaRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration - 281, // 28: vitess.vtctldata.dev.ApplySchemaRequest.caller_id:type_name -> vitess.vtrpc.dev.CallerID - 243, // 29: vitess.vtctldata.dev.ApplySchemaResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.ApplySchemaResponse.RowsAffectedByShardEntry - 282, // 30: vitess.vtctldata.dev.ApplyVSchemaRequest.v_schema:type_name -> vitess.vschema.dev.Keyspace - 282, // 31: vitess.vtctldata.dev.ApplyVSchemaResponse.v_schema:type_name -> vitess.vschema.dev.Keyspace - 275, // 32: vitess.vtctldata.dev.BackupRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 275, // 33: vitess.vtctldata.dev.BackupResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 271, // 34: vitess.vtctldata.dev.BackupResponse.event:type_name -> vitess.logutil.dev.Event - 244, // 35: vitess.vtctldata.dev.CancelSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.CancelSchemaMigrationResponse.RowsAffectedByShardEntry - 275, // 36: vitess.vtctldata.dev.ChangeTabletTypeRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 283, // 37: vitess.vtctldata.dev.ChangeTabletTypeRequest.db_type:type_name -> vitess.topodata.dev.TabletType - 284, // 38: vitess.vtctldata.dev.ChangeTabletTypeResponse.before_tablet:type_name -> vitess.topodata.dev.Tablet - 284, // 39: vitess.vtctldata.dev.ChangeTabletTypeResponse.after_tablet:type_name -> vitess.topodata.dev.Tablet - 245, // 40: vitess.vtctldata.dev.CleanupSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.CleanupSchemaMigrationResponse.RowsAffectedByShardEntry - 246, // 41: vitess.vtctldata.dev.CompleteSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.CompleteSchemaMigrationResponse.RowsAffectedByShardEntry - 285, // 42: vitess.vtctldata.dev.CreateKeyspaceRequest.served_froms:type_name -> vitess.topodata.dev.Keyspace.ServedFrom - 286, // 43: vitess.vtctldata.dev.CreateKeyspaceRequest.type:type_name -> vitess.topodata.dev.KeyspaceType - 274, // 44: vitess.vtctldata.dev.CreateKeyspaceRequest.snapshot_time:type_name -> vitess.vttime.dev.Time - 8, // 45: vitess.vtctldata.dev.CreateKeyspaceResponse.keyspace:type_name -> vitess.vtctldata.dev.Keyspace - 8, // 46: vitess.vtctldata.dev.CreateShardResponse.keyspace:type_name -> vitess.vtctldata.dev.Keyspace - 10, // 47: vitess.vtctldata.dev.CreateShardResponse.shard:type_name -> vitess.vtctldata.dev.Shard - 10, // 48: vitess.vtctldata.dev.DeleteShardsRequest.shards:type_name -> vitess.vtctldata.dev.Shard - 275, // 49: vitess.vtctldata.dev.DeleteTabletsRequest.tablet_aliases:type_name -> vitess.topodata.dev.TabletAlias - 275, // 50: vitess.vtctldata.dev.EmergencyReparentShardRequest.new_primary:type_name -> vitess.topodata.dev.TabletAlias - 275, // 51: vitess.vtctldata.dev.EmergencyReparentShardRequest.ignore_replicas:type_name -> vitess.topodata.dev.TabletAlias - 276, // 52: vitess.vtctldata.dev.EmergencyReparentShardRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration - 275, // 53: vitess.vtctldata.dev.EmergencyReparentShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias - 271, // 54: vitess.vtctldata.dev.EmergencyReparentShardResponse.events:type_name -> vitess.logutil.dev.Event - 275, // 55: vitess.vtctldata.dev.ExecuteFetchAsAppRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 287, // 56: vitess.vtctldata.dev.ExecuteFetchAsAppResponse.result:type_name -> vitess.query.dev.QueryResult - 275, // 57: vitess.vtctldata.dev.ExecuteFetchAsDBARequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 287, // 58: vitess.vtctldata.dev.ExecuteFetchAsDBAResponse.result:type_name -> vitess.query.dev.QueryResult - 275, // 59: vitess.vtctldata.dev.ExecuteHookRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 288, // 60: vitess.vtctldata.dev.ExecuteHookRequest.tablet_hook_request:type_name -> vitess.tabletmanagerdata.dev.ExecuteHookRequest - 289, // 61: vitess.vtctldata.dev.ExecuteHookResponse.hook_result:type_name -> vitess.tabletmanagerdata.dev.ExecuteHookResponse - 247, // 62: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.shards:type_name -> vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.ShardsEntry - 290, // 63: vitess.vtctldata.dev.GetBackupsResponse.backups:type_name -> vitess.mysqlctl.dev.BackupInfo - 278, // 64: vitess.vtctldata.dev.GetCellInfoResponse.cell_info:type_name -> vitess.topodata.dev.CellInfo - 248, // 65: vitess.vtctldata.dev.GetCellsAliasesResponse.aliases:type_name -> vitess.vtctldata.dev.GetCellsAliasesResponse.AliasesEntry - 275, // 66: vitess.vtctldata.dev.GetFullStatusRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 291, // 67: vitess.vtctldata.dev.GetFullStatusResponse.status:type_name -> vitess.replicationdata.dev.FullStatus - 8, // 68: vitess.vtctldata.dev.GetKeyspacesResponse.keyspaces:type_name -> vitess.vtctldata.dev.Keyspace - 8, // 69: vitess.vtctldata.dev.GetKeyspaceResponse.keyspace:type_name -> vitess.vtctldata.dev.Keyspace - 275, // 70: vitess.vtctldata.dev.GetPermissionsRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 292, // 71: vitess.vtctldata.dev.GetPermissionsResponse.permissions:type_name -> vitess.tabletmanagerdata.dev.Permissions - 279, // 72: vitess.vtctldata.dev.GetRoutingRulesResponse.routing_rules:type_name -> vitess.vschema.dev.RoutingRules - 275, // 73: vitess.vtctldata.dev.GetSchemaRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 293, // 74: vitess.vtctldata.dev.GetSchemaResponse.schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition - 3, // 75: vitess.vtctldata.dev.GetSchemaMigrationsRequest.status:type_name -> vitess.vtctldata.dev.SchemaMigration.Status - 276, // 76: vitess.vtctldata.dev.GetSchemaMigrationsRequest.recent:type_name -> vitess.vttime.dev.Duration - 1, // 77: vitess.vtctldata.dev.GetSchemaMigrationsRequest.order:type_name -> vitess.vtctldata.dev.QueryOrdering - 9, // 78: vitess.vtctldata.dev.GetSchemaMigrationsResponse.migrations:type_name -> vitess.vtctldata.dev.SchemaMigration - 10, // 79: vitess.vtctldata.dev.GetShardResponse.shard:type_name -> vitess.vtctldata.dev.Shard - 280, // 80: vitess.vtctldata.dev.GetShardRoutingRulesResponse.shard_routing_rules:type_name -> vitess.vschema.dev.ShardRoutingRules - 249, // 81: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.names:type_name -> vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NamesEntry - 251, // 82: vitess.vtctldata.dev.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vitess.vtctldata.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry - 294, // 83: vitess.vtctldata.dev.UpdateThrottlerConfigRequest.throttled_app:type_name -> vitess.topodata.dev.ThrottledAppRule - 295, // 84: vitess.vtctldata.dev.GetSrvVSchemaResponse.srv_v_schema:type_name -> vitess.vschema.dev.SrvVSchema - 252, // 85: vitess.vtctldata.dev.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vitess.vtctldata.dev.GetSrvVSchemasResponse.SrvVSchemasEntry - 275, // 86: vitess.vtctldata.dev.GetTabletRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 284, // 87: vitess.vtctldata.dev.GetTabletResponse.tablet:type_name -> vitess.topodata.dev.Tablet - 275, // 88: vitess.vtctldata.dev.GetTabletsRequest.tablet_aliases:type_name -> vitess.topodata.dev.TabletAlias - 283, // 89: vitess.vtctldata.dev.GetTabletsRequest.tablet_type:type_name -> vitess.topodata.dev.TabletType - 284, // 90: vitess.vtctldata.dev.GetTabletsResponse.tablets:type_name -> vitess.topodata.dev.Tablet - 103, // 91: vitess.vtctldata.dev.GetTopologyPathResponse.cell:type_name -> vitess.vtctldata.dev.TopologyCell - 275, // 92: vitess.vtctldata.dev.GetVersionRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 282, // 93: vitess.vtctldata.dev.GetVSchemaResponse.v_schema:type_name -> vitess.vschema.dev.Keyspace - 11, // 94: vitess.vtctldata.dev.GetWorkflowsResponse.workflows:type_name -> vitess.vtctldata.dev.Workflow - 275, // 95: vitess.vtctldata.dev.InitShardPrimaryRequest.primary_elect_tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 276, // 96: vitess.vtctldata.dev.InitShardPrimaryRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration - 271, // 97: vitess.vtctldata.dev.InitShardPrimaryResponse.events:type_name -> vitess.logutil.dev.Event - 253, // 98: vitess.vtctldata.dev.LaunchSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.LaunchSchemaMigrationResponse.RowsAffectedByShardEntry - 282, // 99: vitess.vtctldata.dev.LookupVindexCreateRequest.vindex:type_name -> vitess.vschema.dev.Keyspace - 283, // 100: vitess.vtctldata.dev.LookupVindexCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 272, // 101: vitess.vtctldata.dev.LookupVindexCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 7, // 102: vitess.vtctldata.dev.MaterializeCreateRequest.settings:type_name -> vitess.vtctldata.dev.MaterializeSettings - 283, // 103: vitess.vtctldata.dev.MigrateCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 272, // 104: vitess.vtctldata.dev.MigrateCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 283, // 105: vitess.vtctldata.dev.MoveTablesCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 272, // 106: vitess.vtctldata.dev.MoveTablesCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 254, // 107: vitess.vtctldata.dev.MoveTablesCreateResponse.details:type_name -> vitess.vtctldata.dev.MoveTablesCreateResponse.TabletInfo - 275, // 108: vitess.vtctldata.dev.PingTabletRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 275, // 109: vitess.vtctldata.dev.PlannedReparentShardRequest.new_primary:type_name -> vitess.topodata.dev.TabletAlias - 275, // 110: vitess.vtctldata.dev.PlannedReparentShardRequest.avoid_primary:type_name -> vitess.topodata.dev.TabletAlias - 276, // 111: vitess.vtctldata.dev.PlannedReparentShardRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration - 276, // 112: vitess.vtctldata.dev.PlannedReparentShardRequest.tolerable_replication_lag:type_name -> vitess.vttime.dev.Duration - 275, // 113: vitess.vtctldata.dev.PlannedReparentShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias - 271, // 114: vitess.vtctldata.dev.PlannedReparentShardResponse.events:type_name -> vitess.logutil.dev.Event - 275, // 115: vitess.vtctldata.dev.RefreshStateRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 275, // 116: vitess.vtctldata.dev.ReloadSchemaRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 271, // 117: vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse.events:type_name -> vitess.logutil.dev.Event - 271, // 118: vitess.vtctldata.dev.ReloadSchemaShardResponse.events:type_name -> vitess.logutil.dev.Event - 275, // 119: vitess.vtctldata.dev.ReparentTabletRequest.tablet:type_name -> vitess.topodata.dev.TabletAlias - 275, // 120: vitess.vtctldata.dev.ReparentTabletResponse.primary:type_name -> vitess.topodata.dev.TabletAlias - 283, // 121: vitess.vtctldata.dev.ReshardCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 272, // 122: vitess.vtctldata.dev.ReshardCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 275, // 123: vitess.vtctldata.dev.RestoreFromBackupRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 274, // 124: vitess.vtctldata.dev.RestoreFromBackupRequest.backup_time:type_name -> vitess.vttime.dev.Time - 274, // 125: vitess.vtctldata.dev.RestoreFromBackupRequest.restore_to_timestamp:type_name -> vitess.vttime.dev.Time - 275, // 126: vitess.vtctldata.dev.RestoreFromBackupResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 271, // 127: vitess.vtctldata.dev.RestoreFromBackupResponse.event:type_name -> vitess.logutil.dev.Event - 255, // 128: vitess.vtctldata.dev.RetrySchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.RetrySchemaMigrationResponse.RowsAffectedByShardEntry - 275, // 129: vitess.vtctldata.dev.RunHealthCheckRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 273, // 130: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse.keyspace:type_name -> vitess.topodata.dev.Keyspace - 283, // 131: vitess.vtctldata.dev.SetKeyspaceServedFromRequest.tablet_type:type_name -> vitess.topodata.dev.TabletType - 273, // 132: vitess.vtctldata.dev.SetKeyspaceServedFromResponse.keyspace:type_name -> vitess.topodata.dev.Keyspace - 273, // 133: vitess.vtctldata.dev.SetKeyspaceShardingInfoResponse.keyspace:type_name -> vitess.topodata.dev.Keyspace - 277, // 134: vitess.vtctldata.dev.SetShardIsPrimaryServingResponse.shard:type_name -> vitess.topodata.dev.Shard - 283, // 135: vitess.vtctldata.dev.SetShardTabletControlRequest.tablet_type:type_name -> vitess.topodata.dev.TabletType - 277, // 136: vitess.vtctldata.dev.SetShardTabletControlResponse.shard:type_name -> vitess.topodata.dev.Shard - 275, // 137: vitess.vtctldata.dev.SetWritableRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 275, // 138: vitess.vtctldata.dev.ShardReplicationAddRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 296, // 139: vitess.vtctldata.dev.ShardReplicationFixResponse.error:type_name -> vitess.topodata.dev.ShardReplicationError - 256, // 140: vitess.vtctldata.dev.ShardReplicationPositionsResponse.replication_statuses:type_name -> vitess.vtctldata.dev.ShardReplicationPositionsResponse.ReplicationStatusesEntry - 257, // 141: vitess.vtctldata.dev.ShardReplicationPositionsResponse.tablet_map:type_name -> vitess.vtctldata.dev.ShardReplicationPositionsResponse.TabletMapEntry - 275, // 142: vitess.vtctldata.dev.ShardReplicationRemoveRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 275, // 143: vitess.vtctldata.dev.SleepTabletRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 276, // 144: vitess.vtctldata.dev.SleepTabletRequest.duration:type_name -> vitess.vttime.dev.Duration - 297, // 145: vitess.vtctldata.dev.SourceShardAddRequest.key_range:type_name -> vitess.topodata.dev.KeyRange - 277, // 146: vitess.vtctldata.dev.SourceShardAddResponse.shard:type_name -> vitess.topodata.dev.Shard - 277, // 147: vitess.vtctldata.dev.SourceShardDeleteResponse.shard:type_name -> vitess.topodata.dev.Shard - 275, // 148: vitess.vtctldata.dev.StartReplicationRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 275, // 149: vitess.vtctldata.dev.StopReplicationRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias - 275, // 150: vitess.vtctldata.dev.TabletExternallyReparentedRequest.tablet:type_name -> vitess.topodata.dev.TabletAlias - 275, // 151: vitess.vtctldata.dev.TabletExternallyReparentedResponse.new_primary:type_name -> vitess.topodata.dev.TabletAlias - 275, // 152: vitess.vtctldata.dev.TabletExternallyReparentedResponse.old_primary:type_name -> vitess.topodata.dev.TabletAlias - 278, // 153: vitess.vtctldata.dev.UpdateCellInfoRequest.cell_info:type_name -> vitess.topodata.dev.CellInfo - 278, // 154: vitess.vtctldata.dev.UpdateCellInfoResponse.cell_info:type_name -> vitess.topodata.dev.CellInfo - 298, // 155: vitess.vtctldata.dev.UpdateCellsAliasRequest.cells_alias:type_name -> vitess.topodata.dev.CellsAlias - 298, // 156: vitess.vtctldata.dev.UpdateCellsAliasResponse.cells_alias:type_name -> vitess.topodata.dev.CellsAlias - 258, // 157: vitess.vtctldata.dev.ValidateResponse.results_by_keyspace:type_name -> vitess.vtctldata.dev.ValidateResponse.ResultsByKeyspaceEntry - 259, // 158: vitess.vtctldata.dev.ValidateKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateKeyspaceResponse.ResultsByShardEntry - 260, // 159: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.ResultsByShardEntry - 261, // 160: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.ResultsByShardEntry - 262, // 161: vitess.vtctldata.dev.ValidateVSchemaResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateVSchemaResponse.ResultsByShardEntry - 283, // 162: vitess.vtctldata.dev.VDiffCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 272, // 163: vitess.vtctldata.dev.VDiffCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference - 276, // 164: vitess.vtctldata.dev.VDiffCreateRequest.filtered_replication_wait_time:type_name -> vitess.vttime.dev.Duration - 276, // 165: vitess.vtctldata.dev.VDiffCreateRequest.wait_update_interval:type_name -> vitess.vttime.dev.Duration - 263, // 166: vitess.vtctldata.dev.VDiffShowResponse.tablet_responses:type_name -> vitess.vtctldata.dev.VDiffShowResponse.TabletResponsesEntry - 264, // 167: vitess.vtctldata.dev.WorkflowDeleteResponse.details:type_name -> vitess.vtctldata.dev.WorkflowDeleteResponse.TabletInfo - 268, // 168: vitess.vtctldata.dev.WorkflowStatusResponse.table_copy_state:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyStateEntry - 269, // 169: vitess.vtctldata.dev.WorkflowStatusResponse.shard_streams:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamsEntry - 283, // 170: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType - 276, // 171: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest.max_replication_lag_allowed:type_name -> vitess.vttime.dev.Duration - 276, // 172: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest.timeout:type_name -> vitess.vttime.dev.Duration - 299, // 173: vitess.vtctldata.dev.WorkflowUpdateRequest.tablet_request:type_name -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest - 270, // 174: vitess.vtctldata.dev.WorkflowUpdateResponse.details:type_name -> vitess.vtctldata.dev.WorkflowUpdateResponse.TabletInfo - 238, // 175: vitess.vtctldata.dev.Workflow.ShardStreamsEntry.value:type_name -> vitess.vtctldata.dev.Workflow.ShardStream - 239, // 176: vitess.vtctldata.dev.Workflow.ShardStream.streams:type_name -> vitess.vtctldata.dev.Workflow.Stream - 300, // 177: vitess.vtctldata.dev.Workflow.ShardStream.tablet_controls:type_name -> vitess.topodata.dev.Shard.TabletControl - 275, // 178: vitess.vtctldata.dev.Workflow.Stream.tablet:type_name -> vitess.topodata.dev.TabletAlias - 301, // 179: vitess.vtctldata.dev.Workflow.Stream.binlog_source:type_name -> vitess.binlogdata.dev.BinlogSource - 274, // 180: vitess.vtctldata.dev.Workflow.Stream.transaction_timestamp:type_name -> vitess.vttime.dev.Time - 274, // 181: vitess.vtctldata.dev.Workflow.Stream.time_updated:type_name -> vitess.vttime.dev.Time - 240, // 182: vitess.vtctldata.dev.Workflow.Stream.copy_states:type_name -> vitess.vtctldata.dev.Workflow.Stream.CopyState - 241, // 183: vitess.vtctldata.dev.Workflow.Stream.logs:type_name -> vitess.vtctldata.dev.Workflow.Stream.Log - 242, // 184: vitess.vtctldata.dev.Workflow.Stream.throttler_status:type_name -> vitess.vtctldata.dev.Workflow.Stream.ThrottlerStatus - 274, // 185: vitess.vtctldata.dev.Workflow.Stream.Log.created_at:type_name -> vitess.vttime.dev.Time - 274, // 186: vitess.vtctldata.dev.Workflow.Stream.Log.updated_at:type_name -> vitess.vttime.dev.Time - 274, // 187: vitess.vtctldata.dev.Workflow.Stream.ThrottlerStatus.time_throttled:type_name -> vitess.vttime.dev.Time - 10, // 188: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.ShardsEntry.value:type_name -> vitess.vtctldata.dev.Shard - 298, // 189: vitess.vtctldata.dev.GetCellsAliasesResponse.AliasesEntry.value:type_name -> vitess.topodata.dev.CellsAlias - 250, // 190: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NamesEntry.value:type_name -> vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NameList - 302, // 191: vitess.vtctldata.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> vitess.topodata.dev.SrvKeyspace - 295, // 192: vitess.vtctldata.dev.GetSrvVSchemasResponse.SrvVSchemasEntry.value:type_name -> vitess.vschema.dev.SrvVSchema - 275, // 193: vitess.vtctldata.dev.MoveTablesCreateResponse.TabletInfo.tablet:type_name -> vitess.topodata.dev.TabletAlias - 303, // 194: vitess.vtctldata.dev.ShardReplicationPositionsResponse.ReplicationStatusesEntry.value:type_name -> vitess.replicationdata.dev.Status - 284, // 195: vitess.vtctldata.dev.ShardReplicationPositionsResponse.TabletMapEntry.value:type_name -> vitess.topodata.dev.Tablet - 207, // 196: vitess.vtctldata.dev.ValidateResponse.ResultsByKeyspaceEntry.value:type_name -> vitess.vtctldata.dev.ValidateKeyspaceResponse - 211, // 197: vitess.vtctldata.dev.ValidateKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse - 211, // 198: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse - 211, // 199: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse - 211, // 200: vitess.vtctldata.dev.ValidateVSchemaResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse - 304, // 201: vitess.vtctldata.dev.VDiffShowResponse.TabletResponsesEntry.value:type_name -> vitess.tabletmanagerdata.dev.VDiffResponse - 275, // 202: vitess.vtctldata.dev.WorkflowDeleteResponse.TabletInfo.tablet:type_name -> vitess.topodata.dev.TabletAlias - 275, // 203: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamState.tablet:type_name -> vitess.topodata.dev.TabletAlias - 266, // 204: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreams.streams:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamState - 265, // 205: vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyStateEntry.value:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyState - 267, // 206: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamsEntry.value:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreams - 275, // 207: vitess.vtctldata.dev.WorkflowUpdateResponse.TabletInfo.tablet:type_name -> vitess.topodata.dev.TabletAlias - 208, // [208:208] is the sub-list for method output_type - 208, // [208:208] is the sub-list for method input_type - 208, // [208:208] is the sub-list for extension type_name - 208, // [208:208] is the sub-list for extension extendee - 0, // [0:208] is the sub-list for field type_name + 307, // 3: vitess.vtctldata.dev.MaterializeSettings.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 12, // 4: vitess.vtctldata.dev.MaterializeSettings.workflow_options:type_name -> vitess.vtctldata.dev.WorkflowOptions + 308, // 5: vitess.vtctldata.dev.Keyspace.keyspace:type_name -> vitess.topodata.dev.Keyspace + 3, // 6: vitess.vtctldata.dev.SchemaMigration.strategy:type_name -> vitess.vtctldata.dev.SchemaMigration.Strategy + 309, // 7: vitess.vtctldata.dev.SchemaMigration.added_at:type_name -> vitess.vttime.dev.Time + 309, // 8: vitess.vtctldata.dev.SchemaMigration.requested_at:type_name -> vitess.vttime.dev.Time + 309, // 9: vitess.vtctldata.dev.SchemaMigration.ready_at:type_name -> vitess.vttime.dev.Time + 309, // 10: vitess.vtctldata.dev.SchemaMigration.started_at:type_name -> vitess.vttime.dev.Time + 309, // 11: vitess.vtctldata.dev.SchemaMigration.liveness_timestamp:type_name -> vitess.vttime.dev.Time + 309, // 12: vitess.vtctldata.dev.SchemaMigration.completed_at:type_name -> vitess.vttime.dev.Time + 309, // 13: vitess.vtctldata.dev.SchemaMigration.cleaned_up_at:type_name -> vitess.vttime.dev.Time + 4, // 14: vitess.vtctldata.dev.SchemaMigration.status:type_name -> vitess.vtctldata.dev.SchemaMigration.Status + 310, // 15: vitess.vtctldata.dev.SchemaMigration.tablet:type_name -> vitess.topodata.dev.TabletAlias + 311, // 16: vitess.vtctldata.dev.SchemaMigration.artifact_retention:type_name -> vitess.vttime.dev.Duration + 309, // 17: vitess.vtctldata.dev.SchemaMigration.last_throttled_at:type_name -> vitess.vttime.dev.Time + 309, // 18: vitess.vtctldata.dev.SchemaMigration.cancelled_at:type_name -> vitess.vttime.dev.Time + 309, // 19: vitess.vtctldata.dev.SchemaMigration.reviewed_at:type_name -> vitess.vttime.dev.Time + 309, // 20: vitess.vtctldata.dev.SchemaMigration.ready_to_complete_at:type_name -> vitess.vttime.dev.Time + 312, // 21: vitess.vtctldata.dev.Shard.shard:type_name -> vitess.topodata.dev.Shard + 2, // 22: vitess.vtctldata.dev.WorkflowOptions.sharded_auto_increment_handling:type_name -> vitess.vtctldata.dev.ShardedAutoIncrementHandling + 263, // 23: vitess.vtctldata.dev.WorkflowOptions.config:type_name -> vitess.vtctldata.dev.WorkflowOptions.ConfigEntry + 265, // 24: vitess.vtctldata.dev.Workflow.source:type_name -> vitess.vtctldata.dev.Workflow.ReplicationLocation + 265, // 25: vitess.vtctldata.dev.Workflow.target:type_name -> vitess.vtctldata.dev.Workflow.ReplicationLocation + 264, // 26: vitess.vtctldata.dev.Workflow.shard_streams:type_name -> vitess.vtctldata.dev.Workflow.ShardStreamsEntry + 12, // 27: vitess.vtctldata.dev.Workflow.options:type_name -> vitess.vtctldata.dev.WorkflowOptions + 313, // 28: vitess.vtctldata.dev.AddCellInfoRequest.cell_info:type_name -> vitess.topodata.dev.CellInfo + 314, // 29: vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesRequest.keyspace_routing_rules:type_name -> vitess.vschema.dev.KeyspaceRoutingRules + 314, // 30: vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesResponse.keyspace_routing_rules:type_name -> vitess.vschema.dev.KeyspaceRoutingRules + 315, // 31: vitess.vtctldata.dev.ApplyRoutingRulesRequest.routing_rules:type_name -> vitess.vschema.dev.RoutingRules + 316, // 32: vitess.vtctldata.dev.ApplyShardRoutingRulesRequest.shard_routing_rules:type_name -> vitess.vschema.dev.ShardRoutingRules + 311, // 33: vitess.vtctldata.dev.ApplySchemaRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration + 317, // 34: vitess.vtctldata.dev.ApplySchemaRequest.caller_id:type_name -> vitess.vtrpc.dev.CallerID + 271, // 35: vitess.vtctldata.dev.ApplySchemaResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.ApplySchemaResponse.RowsAffectedByShardEntry + 318, // 36: vitess.vtctldata.dev.ApplyVSchemaRequest.v_schema:type_name -> vitess.vschema.dev.Keyspace + 318, // 37: vitess.vtctldata.dev.ApplyVSchemaResponse.v_schema:type_name -> vitess.vschema.dev.Keyspace + 272, // 38: vitess.vtctldata.dev.ApplyVSchemaResponse.unknown_vindex_params:type_name -> vitess.vtctldata.dev.ApplyVSchemaResponse.UnknownVindexParamsEntry + 310, // 39: vitess.vtctldata.dev.BackupRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 40: vitess.vtctldata.dev.BackupResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 306, // 41: vitess.vtctldata.dev.BackupResponse.event:type_name -> vitess.logutil.dev.Event + 274, // 42: vitess.vtctldata.dev.CancelSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.CancelSchemaMigrationResponse.RowsAffectedByShardEntry + 310, // 43: vitess.vtctldata.dev.ChangeTabletTagsRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 275, // 44: vitess.vtctldata.dev.ChangeTabletTagsRequest.tags:type_name -> vitess.vtctldata.dev.ChangeTabletTagsRequest.TagsEntry + 276, // 45: vitess.vtctldata.dev.ChangeTabletTagsResponse.before_tags:type_name -> vitess.vtctldata.dev.ChangeTabletTagsResponse.BeforeTagsEntry + 277, // 46: vitess.vtctldata.dev.ChangeTabletTagsResponse.after_tags:type_name -> vitess.vtctldata.dev.ChangeTabletTagsResponse.AfterTagsEntry + 310, // 47: vitess.vtctldata.dev.ChangeTabletTypeRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 319, // 48: vitess.vtctldata.dev.ChangeTabletTypeRequest.db_type:type_name -> vitess.topodata.dev.TabletType + 320, // 49: vitess.vtctldata.dev.ChangeTabletTypeResponse.before_tablet:type_name -> vitess.topodata.dev.Tablet + 320, // 50: vitess.vtctldata.dev.ChangeTabletTypeResponse.after_tablet:type_name -> vitess.topodata.dev.Tablet + 310, // 51: vitess.vtctldata.dev.CheckThrottlerRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 52: vitess.vtctldata.dev.CheckThrottlerResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 321, // 53: vitess.vtctldata.dev.CheckThrottlerResponse.Check:type_name -> vitess.tabletmanagerdata.dev.CheckThrottlerResponse + 278, // 54: vitess.vtctldata.dev.CleanupSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.CleanupSchemaMigrationResponse.RowsAffectedByShardEntry + 279, // 55: vitess.vtctldata.dev.CompleteSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.CompleteSchemaMigrationResponse.RowsAffectedByShardEntry + 322, // 56: vitess.vtctldata.dev.CreateKeyspaceRequest.type:type_name -> vitess.topodata.dev.KeyspaceType + 309, // 57: vitess.vtctldata.dev.CreateKeyspaceRequest.snapshot_time:type_name -> vitess.vttime.dev.Time + 9, // 58: vitess.vtctldata.dev.CreateKeyspaceResponse.keyspace:type_name -> vitess.vtctldata.dev.Keyspace + 9, // 59: vitess.vtctldata.dev.CreateShardResponse.keyspace:type_name -> vitess.vtctldata.dev.Keyspace + 11, // 60: vitess.vtctldata.dev.CreateShardResponse.shard:type_name -> vitess.vtctldata.dev.Shard + 11, // 61: vitess.vtctldata.dev.DeleteShardsRequest.shards:type_name -> vitess.vtctldata.dev.Shard + 310, // 62: vitess.vtctldata.dev.DeleteTabletsRequest.tablet_aliases:type_name -> vitess.topodata.dev.TabletAlias + 310, // 63: vitess.vtctldata.dev.EmergencyReparentShardRequest.new_primary:type_name -> vitess.topodata.dev.TabletAlias + 310, // 64: vitess.vtctldata.dev.EmergencyReparentShardRequest.ignore_replicas:type_name -> vitess.topodata.dev.TabletAlias + 311, // 65: vitess.vtctldata.dev.EmergencyReparentShardRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration + 310, // 66: vitess.vtctldata.dev.EmergencyReparentShardRequest.expected_primary:type_name -> vitess.topodata.dev.TabletAlias + 310, // 67: vitess.vtctldata.dev.EmergencyReparentShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias + 306, // 68: vitess.vtctldata.dev.EmergencyReparentShardResponse.events:type_name -> vitess.logutil.dev.Event + 310, // 69: vitess.vtctldata.dev.ExecuteFetchAsAppRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 323, // 70: vitess.vtctldata.dev.ExecuteFetchAsAppResponse.result:type_name -> vitess.query.dev.QueryResult + 310, // 71: vitess.vtctldata.dev.ExecuteFetchAsDBARequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 323, // 72: vitess.vtctldata.dev.ExecuteFetchAsDBAResponse.result:type_name -> vitess.query.dev.QueryResult + 310, // 73: vitess.vtctldata.dev.ExecuteHookRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 324, // 74: vitess.vtctldata.dev.ExecuteHookRequest.tablet_hook_request:type_name -> vitess.tabletmanagerdata.dev.ExecuteHookRequest + 325, // 75: vitess.vtctldata.dev.ExecuteHookResponse.hook_result:type_name -> vitess.tabletmanagerdata.dev.ExecuteHookResponse + 310, // 76: vitess.vtctldata.dev.ExecuteMultiFetchAsDBARequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 323, // 77: vitess.vtctldata.dev.ExecuteMultiFetchAsDBAResponse.results:type_name -> vitess.query.dev.QueryResult + 280, // 78: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.shards:type_name -> vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.ShardsEntry + 281, // 79: vitess.vtctldata.dev.ForceCutOverSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.ForceCutOverSchemaMigrationResponse.RowsAffectedByShardEntry + 326, // 80: vitess.vtctldata.dev.GetBackupsResponse.backups:type_name -> vitess.mysqlctl.dev.BackupInfo + 313, // 81: vitess.vtctldata.dev.GetCellInfoResponse.cell_info:type_name -> vitess.topodata.dev.CellInfo + 282, // 82: vitess.vtctldata.dev.GetCellsAliasesResponse.aliases:type_name -> vitess.vtctldata.dev.GetCellsAliasesResponse.AliasesEntry + 310, // 83: vitess.vtctldata.dev.GetFullStatusRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 327, // 84: vitess.vtctldata.dev.GetFullStatusResponse.status:type_name -> vitess.replicationdata.dev.FullStatus + 9, // 85: vitess.vtctldata.dev.GetKeyspacesResponse.keyspaces:type_name -> vitess.vtctldata.dev.Keyspace + 9, // 86: vitess.vtctldata.dev.GetKeyspaceResponse.keyspace:type_name -> vitess.vtctldata.dev.Keyspace + 310, // 87: vitess.vtctldata.dev.GetPermissionsRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 328, // 88: vitess.vtctldata.dev.GetPermissionsResponse.permissions:type_name -> vitess.tabletmanagerdata.dev.Permissions + 314, // 89: vitess.vtctldata.dev.GetKeyspaceRoutingRulesResponse.keyspace_routing_rules:type_name -> vitess.vschema.dev.KeyspaceRoutingRules + 315, // 90: vitess.vtctldata.dev.GetRoutingRulesResponse.routing_rules:type_name -> vitess.vschema.dev.RoutingRules + 310, // 91: vitess.vtctldata.dev.GetSchemaRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 329, // 92: vitess.vtctldata.dev.GetSchemaResponse.schema:type_name -> vitess.tabletmanagerdata.dev.SchemaDefinition + 4, // 93: vitess.vtctldata.dev.GetSchemaMigrationsRequest.status:type_name -> vitess.vtctldata.dev.SchemaMigration.Status + 311, // 94: vitess.vtctldata.dev.GetSchemaMigrationsRequest.recent:type_name -> vitess.vttime.dev.Duration + 1, // 95: vitess.vtctldata.dev.GetSchemaMigrationsRequest.order:type_name -> vitess.vtctldata.dev.QueryOrdering + 10, // 96: vitess.vtctldata.dev.GetSchemaMigrationsResponse.migrations:type_name -> vitess.vtctldata.dev.SchemaMigration + 283, // 97: vitess.vtctldata.dev.GetShardReplicationResponse.shard_replication_by_cell:type_name -> vitess.vtctldata.dev.GetShardReplicationResponse.ShardReplicationByCellEntry + 11, // 98: vitess.vtctldata.dev.GetShardResponse.shard:type_name -> vitess.vtctldata.dev.Shard + 316, // 99: vitess.vtctldata.dev.GetShardRoutingRulesResponse.shard_routing_rules:type_name -> vitess.vschema.dev.ShardRoutingRules + 284, // 100: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.names:type_name -> vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NamesEntry + 286, // 101: vitess.vtctldata.dev.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vitess.vtctldata.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry + 330, // 102: vitess.vtctldata.dev.UpdateThrottlerConfigRequest.throttled_app:type_name -> vitess.topodata.dev.ThrottledAppRule + 331, // 103: vitess.vtctldata.dev.GetSrvVSchemaResponse.srv_v_schema:type_name -> vitess.vschema.dev.SrvVSchema + 287, // 104: vitess.vtctldata.dev.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vitess.vtctldata.dev.GetSrvVSchemasResponse.SrvVSchemasEntry + 310, // 105: vitess.vtctldata.dev.GetTabletRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 320, // 106: vitess.vtctldata.dev.GetTabletResponse.tablet:type_name -> vitess.topodata.dev.Tablet + 310, // 107: vitess.vtctldata.dev.GetTabletsRequest.tablet_aliases:type_name -> vitess.topodata.dev.TabletAlias + 319, // 108: vitess.vtctldata.dev.GetTabletsRequest.tablet_type:type_name -> vitess.topodata.dev.TabletType + 320, // 109: vitess.vtctldata.dev.GetTabletsResponse.tablets:type_name -> vitess.topodata.dev.Tablet + 310, // 110: vitess.vtctldata.dev.GetThrottlerStatusRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 332, // 111: vitess.vtctldata.dev.GetThrottlerStatusResponse.status:type_name -> vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse + 121, // 112: vitess.vtctldata.dev.GetTopologyPathResponse.cell:type_name -> vitess.vtctldata.dev.TopologyCell + 333, // 113: vitess.vtctldata.dev.GetUnresolvedTransactionsResponse.transactions:type_name -> vitess.query.dev.TransactionMetadata + 333, // 114: vitess.vtctldata.dev.GetTransactionInfoResponse.metadata:type_name -> vitess.query.dev.TransactionMetadata + 125, // 115: vitess.vtctldata.dev.GetTransactionInfoResponse.shard_states:type_name -> vitess.vtctldata.dev.ShardTransactionState + 334, // 116: vitess.vtctldata.dev.ConcludeTransactionRequest.participants:type_name -> vitess.query.dev.Target + 310, // 117: vitess.vtctldata.dev.GetVersionRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 318, // 118: vitess.vtctldata.dev.GetVSchemaResponse.v_schema:type_name -> vitess.vschema.dev.Keyspace + 13, // 119: vitess.vtctldata.dev.GetWorkflowsResponse.workflows:type_name -> vitess.vtctldata.dev.Workflow + 310, // 120: vitess.vtctldata.dev.InitShardPrimaryRequest.primary_elect_tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 311, // 121: vitess.vtctldata.dev.InitShardPrimaryRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration + 306, // 122: vitess.vtctldata.dev.InitShardPrimaryResponse.events:type_name -> vitess.logutil.dev.Event + 288, // 123: vitess.vtctldata.dev.LaunchSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.LaunchSchemaMigrationResponse.RowsAffectedByShardEntry + 318, // 124: vitess.vtctldata.dev.LookupVindexCreateRequest.vindex:type_name -> vitess.vschema.dev.Keyspace + 319, // 125: vitess.vtctldata.dev.LookupVindexCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 307, // 126: vitess.vtctldata.dev.LookupVindexCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 8, // 127: vitess.vtctldata.dev.MaterializeCreateRequest.settings:type_name -> vitess.vtctldata.dev.MaterializeSettings + 319, // 128: vitess.vtctldata.dev.MigrateCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 307, // 129: vitess.vtctldata.dev.MigrateCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 319, // 130: vitess.vtctldata.dev.MoveTablesCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 307, // 131: vitess.vtctldata.dev.MoveTablesCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 12, // 132: vitess.vtctldata.dev.MoveTablesCreateRequest.workflow_options:type_name -> vitess.vtctldata.dev.WorkflowOptions + 289, // 133: vitess.vtctldata.dev.MoveTablesCreateResponse.details:type_name -> vitess.vtctldata.dev.MoveTablesCreateResponse.TabletInfo + 310, // 134: vitess.vtctldata.dev.PingTabletRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 135: vitess.vtctldata.dev.PlannedReparentShardRequest.new_primary:type_name -> vitess.topodata.dev.TabletAlias + 310, // 136: vitess.vtctldata.dev.PlannedReparentShardRequest.avoid_primary:type_name -> vitess.topodata.dev.TabletAlias + 311, // 137: vitess.vtctldata.dev.PlannedReparentShardRequest.wait_replicas_timeout:type_name -> vitess.vttime.dev.Duration + 311, // 138: vitess.vtctldata.dev.PlannedReparentShardRequest.tolerable_replication_lag:type_name -> vitess.vttime.dev.Duration + 310, // 139: vitess.vtctldata.dev.PlannedReparentShardRequest.expected_primary:type_name -> vitess.topodata.dev.TabletAlias + 310, // 140: vitess.vtctldata.dev.PlannedReparentShardResponse.promoted_primary:type_name -> vitess.topodata.dev.TabletAlias + 306, // 141: vitess.vtctldata.dev.PlannedReparentShardResponse.events:type_name -> vitess.logutil.dev.Event + 310, // 142: vitess.vtctldata.dev.RefreshStateRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 143: vitess.vtctldata.dev.ReloadSchemaRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 306, // 144: vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse.events:type_name -> vitess.logutil.dev.Event + 306, // 145: vitess.vtctldata.dev.ReloadSchemaShardResponse.events:type_name -> vitess.logutil.dev.Event + 310, // 146: vitess.vtctldata.dev.ReparentTabletRequest.tablet:type_name -> vitess.topodata.dev.TabletAlias + 310, // 147: vitess.vtctldata.dev.ReparentTabletResponse.primary:type_name -> vitess.topodata.dev.TabletAlias + 319, // 148: vitess.vtctldata.dev.ReshardCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 307, // 149: vitess.vtctldata.dev.ReshardCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 12, // 150: vitess.vtctldata.dev.ReshardCreateRequest.workflow_options:type_name -> vitess.vtctldata.dev.WorkflowOptions + 310, // 151: vitess.vtctldata.dev.RestoreFromBackupRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 309, // 152: vitess.vtctldata.dev.RestoreFromBackupRequest.backup_time:type_name -> vitess.vttime.dev.Time + 309, // 153: vitess.vtctldata.dev.RestoreFromBackupRequest.restore_to_timestamp:type_name -> vitess.vttime.dev.Time + 310, // 154: vitess.vtctldata.dev.RestoreFromBackupResponse.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 306, // 155: vitess.vtctldata.dev.RestoreFromBackupResponse.event:type_name -> vitess.logutil.dev.Event + 290, // 156: vitess.vtctldata.dev.RetrySchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.dev.RetrySchemaMigrationResponse.RowsAffectedByShardEntry + 310, // 157: vitess.vtctldata.dev.RunHealthCheckRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 308, // 158: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse.keyspace:type_name -> vitess.topodata.dev.Keyspace + 308, // 159: vitess.vtctldata.dev.SetKeyspaceShardingInfoResponse.keyspace:type_name -> vitess.topodata.dev.Keyspace + 312, // 160: vitess.vtctldata.dev.SetShardIsPrimaryServingResponse.shard:type_name -> vitess.topodata.dev.Shard + 319, // 161: vitess.vtctldata.dev.SetShardTabletControlRequest.tablet_type:type_name -> vitess.topodata.dev.TabletType + 312, // 162: vitess.vtctldata.dev.SetShardTabletControlResponse.shard:type_name -> vitess.topodata.dev.Shard + 310, // 163: vitess.vtctldata.dev.SetWritableRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 164: vitess.vtctldata.dev.ShardReplicationAddRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 335, // 165: vitess.vtctldata.dev.ShardReplicationFixResponse.error:type_name -> vitess.topodata.dev.ShardReplicationError + 291, // 166: vitess.vtctldata.dev.ShardReplicationPositionsResponse.replication_statuses:type_name -> vitess.vtctldata.dev.ShardReplicationPositionsResponse.ReplicationStatusesEntry + 292, // 167: vitess.vtctldata.dev.ShardReplicationPositionsResponse.tablet_map:type_name -> vitess.vtctldata.dev.ShardReplicationPositionsResponse.TabletMapEntry + 310, // 168: vitess.vtctldata.dev.ShardReplicationRemoveRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 169: vitess.vtctldata.dev.SleepTabletRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 311, // 170: vitess.vtctldata.dev.SleepTabletRequest.duration:type_name -> vitess.vttime.dev.Duration + 336, // 171: vitess.vtctldata.dev.SourceShardAddRequest.key_range:type_name -> vitess.topodata.dev.KeyRange + 312, // 172: vitess.vtctldata.dev.SourceShardAddResponse.shard:type_name -> vitess.topodata.dev.Shard + 312, // 173: vitess.vtctldata.dev.SourceShardDeleteResponse.shard:type_name -> vitess.topodata.dev.Shard + 310, // 174: vitess.vtctldata.dev.StartReplicationRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 175: vitess.vtctldata.dev.StopReplicationRequest.tablet_alias:type_name -> vitess.topodata.dev.TabletAlias + 310, // 176: vitess.vtctldata.dev.TabletExternallyReparentedRequest.tablet:type_name -> vitess.topodata.dev.TabletAlias + 310, // 177: vitess.vtctldata.dev.TabletExternallyReparentedResponse.new_primary:type_name -> vitess.topodata.dev.TabletAlias + 310, // 178: vitess.vtctldata.dev.TabletExternallyReparentedResponse.old_primary:type_name -> vitess.topodata.dev.TabletAlias + 313, // 179: vitess.vtctldata.dev.UpdateCellInfoRequest.cell_info:type_name -> vitess.topodata.dev.CellInfo + 313, // 180: vitess.vtctldata.dev.UpdateCellInfoResponse.cell_info:type_name -> vitess.topodata.dev.CellInfo + 337, // 181: vitess.vtctldata.dev.UpdateCellsAliasRequest.cells_alias:type_name -> vitess.topodata.dev.CellsAlias + 337, // 182: vitess.vtctldata.dev.UpdateCellsAliasResponse.cells_alias:type_name -> vitess.topodata.dev.CellsAlias + 293, // 183: vitess.vtctldata.dev.ValidateResponse.results_by_keyspace:type_name -> vitess.vtctldata.dev.ValidateResponse.ResultsByKeyspaceEntry + 294, // 184: vitess.vtctldata.dev.ValidateKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateKeyspaceResponse.ResultsByShardEntry + 295, // 185: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.ResultsByShardEntry + 296, // 186: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.ResultsByShardEntry + 297, // 187: vitess.vtctldata.dev.ValidateVSchemaResponse.results_by_shard:type_name -> vitess.vtctldata.dev.ValidateVSchemaResponse.ResultsByShardEntry + 319, // 188: vitess.vtctldata.dev.VDiffCreateRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 307, // 189: vitess.vtctldata.dev.VDiffCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 311, // 190: vitess.vtctldata.dev.VDiffCreateRequest.filtered_replication_wait_time:type_name -> vitess.vttime.dev.Duration + 311, // 191: vitess.vtctldata.dev.VDiffCreateRequest.wait_update_interval:type_name -> vitess.vttime.dev.Duration + 311, // 192: vitess.vtctldata.dev.VDiffCreateRequest.max_diff_duration:type_name -> vitess.vttime.dev.Duration + 298, // 193: vitess.vtctldata.dev.VDiffShowResponse.tablet_responses:type_name -> vitess.vtctldata.dev.VDiffShowResponse.TabletResponsesEntry + 299, // 194: vitess.vtctldata.dev.WorkflowDeleteResponse.details:type_name -> vitess.vtctldata.dev.WorkflowDeleteResponse.TabletInfo + 303, // 195: vitess.vtctldata.dev.WorkflowStatusResponse.table_copy_state:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyStateEntry + 304, // 196: vitess.vtctldata.dev.WorkflowStatusResponse.shard_streams:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamsEntry + 319, // 197: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 311, // 198: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest.max_replication_lag_allowed:type_name -> vitess.vttime.dev.Duration + 311, // 199: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest.timeout:type_name -> vitess.vttime.dev.Duration + 338, // 200: vitess.vtctldata.dev.WorkflowUpdateRequest.tablet_request:type_name -> vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest + 305, // 201: vitess.vtctldata.dev.WorkflowUpdateResponse.details:type_name -> vitess.vtctldata.dev.WorkflowUpdateResponse.TabletInfo + 339, // 202: vitess.vtctldata.dev.GetMirrorRulesResponse.mirror_rules:type_name -> vitess.vschema.dev.MirrorRules + 319, // 203: vitess.vtctldata.dev.WorkflowMirrorTrafficRequest.tablet_types:type_name -> vitess.topodata.dev.TabletType + 266, // 204: vitess.vtctldata.dev.Workflow.ShardStreamsEntry.value:type_name -> vitess.vtctldata.dev.Workflow.ShardStream + 267, // 205: vitess.vtctldata.dev.Workflow.ShardStream.streams:type_name -> vitess.vtctldata.dev.Workflow.Stream + 340, // 206: vitess.vtctldata.dev.Workflow.ShardStream.tablet_controls:type_name -> vitess.topodata.dev.Shard.TabletControl + 310, // 207: vitess.vtctldata.dev.Workflow.Stream.tablet:type_name -> vitess.topodata.dev.TabletAlias + 341, // 208: vitess.vtctldata.dev.Workflow.Stream.binlog_source:type_name -> vitess.binlogdata.dev.BinlogSource + 309, // 209: vitess.vtctldata.dev.Workflow.Stream.transaction_timestamp:type_name -> vitess.vttime.dev.Time + 309, // 210: vitess.vtctldata.dev.Workflow.Stream.time_updated:type_name -> vitess.vttime.dev.Time + 268, // 211: vitess.vtctldata.dev.Workflow.Stream.copy_states:type_name -> vitess.vtctldata.dev.Workflow.Stream.CopyState + 269, // 212: vitess.vtctldata.dev.Workflow.Stream.logs:type_name -> vitess.vtctldata.dev.Workflow.Stream.Log + 270, // 213: vitess.vtctldata.dev.Workflow.Stream.throttler_status:type_name -> vitess.vtctldata.dev.Workflow.Stream.ThrottlerStatus + 319, // 214: vitess.vtctldata.dev.Workflow.Stream.tablet_types:type_name -> vitess.topodata.dev.TabletType + 307, // 215: vitess.vtctldata.dev.Workflow.Stream.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.dev.TabletSelectionPreference + 309, // 216: vitess.vtctldata.dev.Workflow.Stream.Log.created_at:type_name -> vitess.vttime.dev.Time + 309, // 217: vitess.vtctldata.dev.Workflow.Stream.Log.updated_at:type_name -> vitess.vttime.dev.Time + 309, // 218: vitess.vtctldata.dev.Workflow.Stream.ThrottlerStatus.time_throttled:type_name -> vitess.vttime.dev.Time + 273, // 219: vitess.vtctldata.dev.ApplyVSchemaResponse.UnknownVindexParamsEntry.value:type_name -> vitess.vtctldata.dev.ApplyVSchemaResponse.ParamList + 11, // 220: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse.ShardsEntry.value:type_name -> vitess.vtctldata.dev.Shard + 337, // 221: vitess.vtctldata.dev.GetCellsAliasesResponse.AliasesEntry.value:type_name -> vitess.topodata.dev.CellsAlias + 342, // 222: vitess.vtctldata.dev.GetShardReplicationResponse.ShardReplicationByCellEntry.value:type_name -> vitess.topodata.dev.ShardReplication + 285, // 223: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NamesEntry.value:type_name -> vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse.NameList + 343, // 224: vitess.vtctldata.dev.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> vitess.topodata.dev.SrvKeyspace + 331, // 225: vitess.vtctldata.dev.GetSrvVSchemasResponse.SrvVSchemasEntry.value:type_name -> vitess.vschema.dev.SrvVSchema + 310, // 226: vitess.vtctldata.dev.MoveTablesCreateResponse.TabletInfo.tablet:type_name -> vitess.topodata.dev.TabletAlias + 344, // 227: vitess.vtctldata.dev.ShardReplicationPositionsResponse.ReplicationStatusesEntry.value:type_name -> vitess.replicationdata.dev.Status + 320, // 228: vitess.vtctldata.dev.ShardReplicationPositionsResponse.TabletMapEntry.value:type_name -> vitess.topodata.dev.Tablet + 230, // 229: vitess.vtctldata.dev.ValidateResponse.ResultsByKeyspaceEntry.value:type_name -> vitess.vtctldata.dev.ValidateKeyspaceResponse + 234, // 230: vitess.vtctldata.dev.ValidateKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse + 234, // 231: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse + 234, // 232: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse + 234, // 233: vitess.vtctldata.dev.ValidateVSchemaResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.dev.ValidateShardResponse + 345, // 234: vitess.vtctldata.dev.VDiffShowResponse.TabletResponsesEntry.value:type_name -> vitess.tabletmanagerdata.dev.VDiffResponse + 310, // 235: vitess.vtctldata.dev.WorkflowDeleteResponse.TabletInfo.tablet:type_name -> vitess.topodata.dev.TabletAlias + 310, // 236: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamState.tablet:type_name -> vitess.topodata.dev.TabletAlias + 301, // 237: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreams.streams:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamState + 300, // 238: vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyStateEntry.value:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.TableCopyState + 302, // 239: vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreamsEntry.value:type_name -> vitess.vtctldata.dev.WorkflowStatusResponse.ShardStreams + 310, // 240: vitess.vtctldata.dev.WorkflowUpdateResponse.TabletInfo.tablet:type_name -> vitess.topodata.dev.TabletAlias + 241, // [241:241] is the sub-list for method output_type + 241, // [241:241] is the sub-list for method input_type + 241, // [241:241] is the sub-list for extension type_name + 241, // [241:241] is the sub-list for extension extendee + 0, // [0:241] is the sub-list for field type_name } func init() { file_vitess_vtctldata_dev_vtctldata_proto_init() } @@ -18393,7 +20732,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ExecuteVtctlCommandRequest); i { case 0: return &v.state @@ -18405,8 +20744,296 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteVtctlCommandResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteVtctlCommandResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*TableMaterializeSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*MaterializeSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*Keyspace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*SchemaMigration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*Shard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*Workflow); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*AddCellInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*AddCellInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*AddCellsAliasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*AddCellsAliasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*ApplyKeyspaceRoutingRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*ApplyKeyspaceRoutingRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*ApplyRoutingRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*ApplyRoutingRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*ApplyShardRoutingRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*ApplyShardRoutingRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*ApplyVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*ApplyVSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*BackupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*BackupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*BackupShardRequest); i { case 0: return &v.state case 1: @@ -18417,8 +21044,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TableMaterializeSettings); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*CancelSchemaMigrationRequest); i { case 0: return &v.state case 1: @@ -18429,8 +21056,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MaterializeSettings); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*CancelSchemaMigrationResponse); i { case 0: return &v.state case 1: @@ -18441,8 +21068,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Keyspace); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTabletTagsRequest); i { case 0: return &v.state case 1: @@ -18453,8 +21080,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SchemaMigration); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTabletTagsResponse); i { case 0: return &v.state case 1: @@ -18465,8 +21092,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Shard); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTabletTypeRequest); i { case 0: return &v.state case 1: @@ -18477,8 +21104,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Workflow); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTabletTypeResponse); i { case 0: return &v.state case 1: @@ -18489,8 +21116,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddCellInfoRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*CheckThrottlerRequest); i { case 0: return &v.state case 1: @@ -18501,8 +21128,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddCellInfoResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*CheckThrottlerResponse); i { case 0: return &v.state case 1: @@ -18513,8 +21140,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddCellsAliasRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*CleanupSchemaMigrationRequest); i { case 0: return &v.state case 1: @@ -18525,8 +21152,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddCellsAliasResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[35].Exporter = func(v any, i int) any { + switch v := v.(*CleanupSchemaMigrationResponse); i { case 0: return &v.state case 1: @@ -18537,8 +21164,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRoutingRulesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*CompleteSchemaMigrationRequest); i { case 0: return &v.state case 1: @@ -18549,8 +21176,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyRoutingRulesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[37].Exporter = func(v any, i int) any { + switch v := v.(*CompleteSchemaMigrationResponse); i { case 0: return &v.state case 1: @@ -18561,8 +21188,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyShardRoutingRulesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[38].Exporter = func(v any, i int) any { + switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state case 1: @@ -18573,8 +21200,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyShardRoutingRulesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state case 1: @@ -18585,8 +21212,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplySchemaRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*CreateShardRequest); i { case 0: return &v.state case 1: @@ -18597,8 +21224,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplySchemaResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[41].Exporter = func(v any, i int) any { + switch v := v.(*CreateShardResponse); i { case 0: return &v.state case 1: @@ -18609,8 +21236,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyVSchemaRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[42].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellInfoRequest); i { case 0: return &v.state case 1: @@ -18621,8 +21248,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyVSchemaResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[43].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellInfoResponse); i { case 0: return &v.state case 1: @@ -18633,8 +21260,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[44].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellsAliasRequest); i { case 0: return &v.state case 1: @@ -18645,8 +21272,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[45].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellsAliasResponse); i { case 0: return &v.state case 1: @@ -18657,8 +21284,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupShardRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[46].Exporter = func(v any, i int) any { + switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state case 1: @@ -18669,8 +21296,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelSchemaMigrationRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[47].Exporter = func(v any, i int) any { + switch v := v.(*DeleteKeyspaceResponse); i { case 0: return &v.state case 1: @@ -18681,8 +21308,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelSchemaMigrationResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[48].Exporter = func(v any, i int) any { + switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state case 1: @@ -18693,8 +21320,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeTabletTypeRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[49].Exporter = func(v any, i int) any { + switch v := v.(*DeleteShardsResponse); i { case 0: return &v.state case 1: @@ -18705,8 +21332,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeTabletTypeResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[50].Exporter = func(v any, i int) any { + switch v := v.(*DeleteSrvVSchemaRequest); i { case 0: return &v.state case 1: @@ -18717,8 +21344,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CleanupSchemaMigrationRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[51].Exporter = func(v any, i int) any { + switch v := v.(*DeleteSrvVSchemaResponse); i { case 0: return &v.state case 1: @@ -18729,8 +21356,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CleanupSchemaMigrationResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[52].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTabletsRequest); i { case 0: return &v.state case 1: @@ -18741,8 +21368,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompleteSchemaMigrationRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[53].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTabletsResponse); i { case 0: return &v.state case 1: @@ -18753,8 +21380,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompleteSchemaMigrationResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[54].Exporter = func(v any, i int) any { + switch v := v.(*EmergencyReparentShardRequest); i { case 0: return &v.state case 1: @@ -18765,8 +21392,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateKeyspaceRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[55].Exporter = func(v any, i int) any { + switch v := v.(*EmergencyReparentShardResponse); i { case 0: return &v.state case 1: @@ -18777,8 +21404,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateKeyspaceResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[56].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state case 1: @@ -18789,8 +21416,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateShardRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[57].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state case 1: @@ -18801,8 +21428,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateShardResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[58].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDBARequest); i { case 0: return &v.state case 1: @@ -18813,8 +21440,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCellInfoRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[59].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDBAResponse); i { case 0: return &v.state case 1: @@ -18825,8 +21452,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCellInfoResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[60].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookRequest); i { case 0: return &v.state case 1: @@ -18837,8 +21464,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCellsAliasRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[61].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookResponse); i { case 0: return &v.state case 1: @@ -18849,8 +21476,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCellsAliasResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[62].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteMultiFetchAsDBARequest); i { case 0: return &v.state case 1: @@ -18861,8 +21488,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteKeyspaceRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[63].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteMultiFetchAsDBAResponse); i { case 0: return &v.state case 1: @@ -18873,8 +21500,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteKeyspaceResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[64].Exporter = func(v any, i int) any { + switch v := v.(*FindAllShardsInKeyspaceRequest); i { case 0: return &v.state case 1: @@ -18885,8 +21512,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteShardsRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*FindAllShardsInKeyspaceResponse); i { case 0: return &v.state case 1: @@ -18897,8 +21524,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteShardsResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[66].Exporter = func(v any, i int) any { + switch v := v.(*ForceCutOverSchemaMigrationRequest); i { case 0: return &v.state case 1: @@ -18909,8 +21536,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSrvVSchemaRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[67].Exporter = func(v any, i int) any { + switch v := v.(*ForceCutOverSchemaMigrationResponse); i { case 0: return &v.state case 1: @@ -18921,8 +21548,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSrvVSchemaResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[68].Exporter = func(v any, i int) any { + switch v := v.(*GetBackupsRequest); i { case 0: return &v.state case 1: @@ -18933,8 +21560,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTabletsRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[69].Exporter = func(v any, i int) any { + switch v := v.(*GetBackupsResponse); i { case 0: return &v.state case 1: @@ -18945,8 +21572,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTabletsResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[70].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoRequest); i { case 0: return &v.state case 1: @@ -18957,8 +21584,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmergencyReparentShardRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[71].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoResponse); i { case 0: return &v.state case 1: @@ -18969,8 +21596,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmergencyReparentShardResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[72].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoNamesRequest); i { case 0: return &v.state case 1: @@ -18981,8 +21608,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsAppRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[73].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoNamesResponse); i { case 0: return &v.state case 1: @@ -18993,8 +21620,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsAppResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[74].Exporter = func(v any, i int) any { + switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state case 1: @@ -19005,8 +21632,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsDBARequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[75].Exporter = func(v any, i int) any { + switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state case 1: @@ -19017,8 +21644,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteFetchAsDBAResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[76].Exporter = func(v any, i int) any { + switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state case 1: @@ -19029,8 +21656,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteHookRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[77].Exporter = func(v any, i int) any { + switch v := v.(*GetFullStatusResponse); i { case 0: return &v.state case 1: @@ -19041,8 +21668,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteHookResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[78].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state case 1: @@ -19053,8 +21680,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllShardsInKeyspaceRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[79].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state case 1: @@ -19065,8 +21692,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllShardsInKeyspaceResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[80].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state case 1: @@ -19077,8 +21704,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBackupsRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[81].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspaceResponse); i { case 0: return &v.state case 1: @@ -19089,8 +21716,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBackupsResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[82].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsRequest); i { case 0: return &v.state case 1: @@ -19101,8 +21728,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCellInfoRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[83].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsResponse); i { case 0: return &v.state case 1: @@ -19113,8 +21740,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCellInfoResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[84].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspaceRoutingRulesRequest); i { case 0: return &v.state case 1: @@ -19125,8 +21752,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCellInfoNamesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[85].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspaceRoutingRulesResponse); i { case 0: return &v.state case 1: @@ -19137,8 +21764,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCellInfoNamesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[86].Exporter = func(v any, i int) any { + switch v := v.(*GetRoutingRulesRequest); i { case 0: return &v.state case 1: @@ -19149,8 +21776,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCellsAliasesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[87].Exporter = func(v any, i int) any { + switch v := v.(*GetRoutingRulesResponse); i { case 0: return &v.state case 1: @@ -19161,8 +21788,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCellsAliasesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[88].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaRequest); i { case 0: return &v.state case 1: @@ -19173,8 +21800,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFullStatusRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[89].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaResponse); i { case 0: return &v.state case 1: @@ -19185,8 +21812,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFullStatusResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[90].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsRequest); i { case 0: return &v.state case 1: @@ -19197,8 +21824,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetKeyspacesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[91].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsResponse); i { case 0: return &v.state case 1: @@ -19209,8 +21836,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetKeyspacesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[92].Exporter = func(v any, i int) any { + switch v := v.(*GetShardReplicationRequest); i { case 0: return &v.state case 1: @@ -19221,8 +21848,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetKeyspaceRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[93].Exporter = func(v any, i int) any { + switch v := v.(*GetShardReplicationResponse); i { case 0: return &v.state case 1: @@ -19233,8 +21860,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetKeyspaceResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[94].Exporter = func(v any, i int) any { + switch v := v.(*GetShardRequest); i { case 0: return &v.state case 1: @@ -19245,8 +21872,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPermissionsRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[95].Exporter = func(v any, i int) any { + switch v := v.(*GetShardResponse); i { case 0: return &v.state case 1: @@ -19257,8 +21884,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPermissionsResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[96].Exporter = func(v any, i int) any { + switch v := v.(*GetShardRoutingRulesRequest); i { case 0: return &v.state case 1: @@ -19269,8 +21896,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRoutingRulesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[97].Exporter = func(v any, i int) any { + switch v := v.(*GetShardRoutingRulesResponse); i { case 0: return &v.state case 1: @@ -19281,8 +21908,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRoutingRulesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[98].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspaceNamesRequest); i { case 0: return &v.state case 1: @@ -19293,8 +21920,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[99].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspaceNamesResponse); i { case 0: return &v.state case 1: @@ -19305,8 +21932,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[100].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspacesRequest); i { case 0: return &v.state case 1: @@ -19317,8 +21944,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaMigrationsRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[101].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspacesResponse); i { case 0: return &v.state case 1: @@ -19329,8 +21956,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaMigrationsResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[102].Exporter = func(v any, i int) any { + switch v := v.(*UpdateThrottlerConfigRequest); i { case 0: return &v.state case 1: @@ -19341,8 +21968,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetShardRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[103].Exporter = func(v any, i int) any { + switch v := v.(*UpdateThrottlerConfigResponse); i { case 0: return &v.state case 1: @@ -19353,8 +21980,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetShardResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[104].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state case 1: @@ -19365,8 +21992,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetShardRoutingRulesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[105].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemaResponse); i { case 0: return &v.state case 1: @@ -19377,8 +22004,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetShardRoutingRulesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[106].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state case 1: @@ -19389,8 +22016,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvKeyspaceNamesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[107].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state case 1: @@ -19401,8 +22028,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvKeyspaceNamesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[108].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletRequest); i { case 0: return &v.state case 1: @@ -19413,8 +22040,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvKeyspacesRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[109].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletResponse); i { case 0: return &v.state case 1: @@ -19425,8 +22052,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvKeyspacesResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[110].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletsRequest); i { case 0: return &v.state case 1: @@ -19437,8 +22064,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateThrottlerConfigRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[111].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletsResponse); i { case 0: return &v.state case 1: @@ -19449,8 +22076,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateThrottlerConfigResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[112].Exporter = func(v any, i int) any { + switch v := v.(*GetThrottlerStatusRequest); i { case 0: return &v.state case 1: @@ -19461,8 +22088,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvVSchemaRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[113].Exporter = func(v any, i int) any { + switch v := v.(*GetThrottlerStatusResponse); i { case 0: return &v.state case 1: @@ -19473,8 +22100,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvVSchemaResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[114].Exporter = func(v any, i int) any { + switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state case 1: @@ -19485,8 +22112,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvVSchemasRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[115].Exporter = func(v any, i int) any { + switch v := v.(*GetTopologyPathResponse); i { case 0: return &v.state case 1: @@ -19497,8 +22124,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSrvVSchemasResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[116].Exporter = func(v any, i int) any { + switch v := v.(*TopologyCell); i { case 0: return &v.state case 1: @@ -19509,8 +22136,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTabletRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[117].Exporter = func(v any, i int) any { + switch v := v.(*GetUnresolvedTransactionsRequest); i { case 0: return &v.state case 1: @@ -19521,8 +22148,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTabletResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[118].Exporter = func(v any, i int) any { + switch v := v.(*GetUnresolvedTransactionsResponse); i { case 0: return &v.state case 1: @@ -19533,8 +22160,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTabletsRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[119].Exporter = func(v any, i int) any { + switch v := v.(*GetTransactionInfoRequest); i { case 0: return &v.state case 1: @@ -19545,8 +22172,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTabletsResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[120].Exporter = func(v any, i int) any { + switch v := v.(*ShardTransactionState); i { case 0: return &v.state case 1: @@ -19557,8 +22184,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTopologyPathRequest); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[121].Exporter = func(v any, i int) any { + switch v := v.(*GetTransactionInfoResponse); i { case 0: return &v.state case 1: @@ -19569,8 +22196,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTopologyPathResponse); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[122].Exporter = func(v any, i int) any { + switch v := v.(*ConcludeTransactionRequest); i { case 0: return &v.state case 1: @@ -19581,8 +22208,8 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TopologyCell); i { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[123].Exporter = func(v any, i int) any { + switch v := v.(*ConcludeTransactionResponse); i { case 0: return &v.state case 1: @@ -19593,7 +22220,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[124].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -19605,7 +22232,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[125].Exporter = func(v any, i int) any { switch v := v.(*GetVersionRequest); i { case 0: return &v.state @@ -19617,7 +22244,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[126].Exporter = func(v any, i int) any { switch v := v.(*GetVersionResponse); i { case 0: return &v.state @@ -19629,7 +22256,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[127].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaResponse); i { case 0: return &v.state @@ -19641,7 +22268,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[128].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -19653,7 +22280,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[129].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -19665,7 +22292,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[130].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryRequest); i { case 0: return &v.state @@ -19677,7 +22304,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[131].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryResponse); i { case 0: return &v.state @@ -19689,7 +22316,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[132].Exporter = func(v any, i int) any { switch v := v.(*LaunchSchemaMigrationRequest); i { case 0: return &v.state @@ -19701,7 +22328,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[133].Exporter = func(v any, i int) any { switch v := v.(*LaunchSchemaMigrationResponse); i { case 0: return &v.state @@ -19713,7 +22340,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[134].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexCreateRequest); i { case 0: return &v.state @@ -19725,7 +22352,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[135].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexCreateResponse); i { case 0: return &v.state @@ -19737,7 +22364,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[136].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexExternalizeRequest); i { case 0: return &v.state @@ -19749,7 +22376,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[137].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexExternalizeResponse); i { case 0: return &v.state @@ -19761,7 +22388,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[138].Exporter = func(v any, i int) any { switch v := v.(*MaterializeCreateRequest); i { case 0: return &v.state @@ -19773,7 +22400,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[139].Exporter = func(v any, i int) any { switch v := v.(*MaterializeCreateResponse); i { case 0: return &v.state @@ -19785,7 +22412,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[140].Exporter = func(v any, i int) any { switch v := v.(*MigrateCreateRequest); i { case 0: return &v.state @@ -19797,7 +22424,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[141].Exporter = func(v any, i int) any { switch v := v.(*MigrateCompleteRequest); i { case 0: return &v.state @@ -19809,7 +22436,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[142].Exporter = func(v any, i int) any { switch v := v.(*MigrateCompleteResponse); i { case 0: return &v.state @@ -19821,7 +22448,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[143].Exporter = func(v any, i int) any { switch v := v.(*MountRegisterRequest); i { case 0: return &v.state @@ -19833,7 +22460,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[144].Exporter = func(v any, i int) any { switch v := v.(*MountRegisterResponse); i { case 0: return &v.state @@ -19845,7 +22472,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[145].Exporter = func(v any, i int) any { switch v := v.(*MountUnregisterRequest); i { case 0: return &v.state @@ -19857,7 +22484,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[146].Exporter = func(v any, i int) any { switch v := v.(*MountUnregisterResponse); i { case 0: return &v.state @@ -19869,7 +22496,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[147].Exporter = func(v any, i int) any { switch v := v.(*MountShowRequest); i { case 0: return &v.state @@ -19881,7 +22508,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[148].Exporter = func(v any, i int) any { switch v := v.(*MountShowResponse); i { case 0: return &v.state @@ -19893,7 +22520,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[149].Exporter = func(v any, i int) any { switch v := v.(*MountListRequest); i { case 0: return &v.state @@ -19905,7 +22532,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[150].Exporter = func(v any, i int) any { switch v := v.(*MountListResponse); i { case 0: return &v.state @@ -19917,7 +22544,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[151].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCreateRequest); i { case 0: return &v.state @@ -19929,7 +22556,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[152].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCreateResponse); i { case 0: return &v.state @@ -19941,7 +22568,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[153].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCompleteRequest); i { case 0: return &v.state @@ -19953,7 +22580,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[154].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCompleteResponse); i { case 0: return &v.state @@ -19965,7 +22592,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[155].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -19977,7 +22604,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[156].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -19989,7 +22616,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[157].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardRequest); i { case 0: return &v.state @@ -20001,7 +22628,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[158].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardResponse); i { case 0: return &v.state @@ -20013,7 +22640,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[159].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -20025,7 +22652,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[160].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -20037,7 +22664,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[161].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphRequest); i { case 0: return &v.state @@ -20049,7 +22676,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[162].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphResponse); i { case 0: return &v.state @@ -20061,7 +22688,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[163].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -20073,7 +22700,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[164].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -20085,7 +22712,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[165].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardRequest); i { case 0: return &v.state @@ -20097,7 +22724,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[166].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardResponse); i { case 0: return &v.state @@ -20109,7 +22736,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[167].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaRequest); i { case 0: return &v.state @@ -20121,7 +22748,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[168].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state @@ -20133,7 +22760,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[169].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceRequest); i { case 0: return &v.state @@ -20145,7 +22772,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[170].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceResponse); i { case 0: return &v.state @@ -20157,7 +22784,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[171].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -20169,7 +22796,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[172].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -20181,7 +22808,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[173].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupRequest); i { case 0: return &v.state @@ -20193,7 +22820,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[174].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupResponse); i { case 0: return &v.state @@ -20205,7 +22832,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[175].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -20217,7 +22844,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[176].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -20229,7 +22856,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[177].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellRequest); i { case 0: return &v.state @@ -20241,7 +22868,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[178].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellResponse); i { case 0: return &v.state @@ -20253,7 +22880,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[179].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletRequest); i { case 0: return &v.state @@ -20265,7 +22892,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[180].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletResponse); i { case 0: return &v.state @@ -20277,7 +22904,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[181].Exporter = func(v any, i int) any { switch v := v.(*ReshardCreateRequest); i { case 0: return &v.state @@ -20289,7 +22916,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[182].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state @@ -20301,7 +22928,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[183].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state @@ -20313,7 +22940,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[184].Exporter = func(v any, i int) any { switch v := v.(*RetrySchemaMigrationRequest); i { case 0: return &v.state @@ -20325,7 +22952,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[185].Exporter = func(v any, i int) any { switch v := v.(*RetrySchemaMigrationResponse); i { case 0: return &v.state @@ -20337,7 +22964,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[186].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -20349,7 +22976,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[187].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -20361,7 +22988,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[188].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyRequest); i { case 0: return &v.state @@ -20373,7 +23000,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[189].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyResponse); i { case 0: return &v.state @@ -20385,31 +23012,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetKeyspaceServedFromRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetKeyspaceServedFromResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[190].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoRequest); i { case 0: return &v.state @@ -20421,7 +23024,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[191].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoResponse); i { case 0: return &v.state @@ -20433,7 +23036,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[192].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingRequest); i { case 0: return &v.state @@ -20445,7 +23048,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[193].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingResponse); i { case 0: return &v.state @@ -20457,7 +23060,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[194].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlRequest); i { case 0: return &v.state @@ -20469,7 +23072,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[195].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlResponse); i { case 0: return &v.state @@ -20481,7 +23084,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[196].Exporter = func(v any, i int) any { switch v := v.(*SetWritableRequest); i { case 0: return &v.state @@ -20493,7 +23096,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[197].Exporter = func(v any, i int) any { switch v := v.(*SetWritableResponse); i { case 0: return &v.state @@ -20505,7 +23108,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[198].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddRequest); i { case 0: return &v.state @@ -20517,7 +23120,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[199].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddResponse); i { case 0: return &v.state @@ -20529,7 +23132,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[200].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixRequest); i { case 0: return &v.state @@ -20541,7 +23144,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[201].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixResponse); i { case 0: return &v.state @@ -20553,7 +23156,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[202].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsRequest); i { case 0: return &v.state @@ -20565,7 +23168,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[203].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsResponse); i { case 0: return &v.state @@ -20577,7 +23180,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[204].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveRequest); i { case 0: return &v.state @@ -20589,7 +23192,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[205].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveResponse); i { case 0: return &v.state @@ -20601,7 +23204,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[206].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletRequest); i { case 0: return &v.state @@ -20613,7 +23216,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[207].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletResponse); i { case 0: return &v.state @@ -20625,7 +23228,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[208].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddRequest); i { case 0: return &v.state @@ -20637,7 +23240,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[209].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddResponse); i { case 0: return &v.state @@ -20649,7 +23252,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[210].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteRequest); i { case 0: return &v.state @@ -20661,7 +23264,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[211].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteResponse); i { case 0: return &v.state @@ -20673,7 +23276,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[212].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -20685,7 +23288,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[213].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -20697,7 +23300,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[214].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -20709,7 +23312,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[215].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -20721,7 +23324,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[216].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -20733,7 +23336,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[217].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedResponse); i { case 0: return &v.state @@ -20745,7 +23348,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[218].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoRequest); i { case 0: return &v.state @@ -20757,7 +23360,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[219].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoResponse); i { case 0: return &v.state @@ -20769,7 +23372,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[220].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasRequest); i { case 0: return &v.state @@ -20781,7 +23384,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[221].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasResponse); i { case 0: return &v.state @@ -20793,7 +23396,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[222].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -20805,7 +23408,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[223].Exporter = func(v any, i int) any { switch v := v.(*ValidateResponse); i { case 0: return &v.state @@ -20817,7 +23420,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[224].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -20829,7 +23432,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[225].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceResponse); i { case 0: return &v.state @@ -20841,7 +23444,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[226].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -20853,7 +23456,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[227].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceResponse); i { case 0: return &v.state @@ -20865,7 +23468,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[228].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -20877,7 +23480,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[229].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardResponse); i { case 0: return &v.state @@ -20889,7 +23492,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[230].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -20901,7 +23504,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[231].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceResponse); i { case 0: return &v.state @@ -20913,7 +23516,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[232].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -20925,7 +23528,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[233].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardResponse); i { case 0: return &v.state @@ -20937,7 +23540,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[234].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaRequest); i { case 0: return &v.state @@ -20949,7 +23552,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[235].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaResponse); i { case 0: return &v.state @@ -20961,7 +23564,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[236].Exporter = func(v any, i int) any { switch v := v.(*VDiffCreateRequest); i { case 0: return &v.state @@ -20973,7 +23576,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[237].Exporter = func(v any, i int) any { switch v := v.(*VDiffCreateResponse); i { case 0: return &v.state @@ -20985,7 +23588,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[238].Exporter = func(v any, i int) any { switch v := v.(*VDiffDeleteRequest); i { case 0: return &v.state @@ -20997,7 +23600,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[239].Exporter = func(v any, i int) any { switch v := v.(*VDiffDeleteResponse); i { case 0: return &v.state @@ -21009,7 +23612,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[218].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[240].Exporter = func(v any, i int) any { switch v := v.(*VDiffResumeRequest); i { case 0: return &v.state @@ -21021,7 +23624,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[219].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[241].Exporter = func(v any, i int) any { switch v := v.(*VDiffResumeResponse); i { case 0: return &v.state @@ -21033,7 +23636,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[220].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[242].Exporter = func(v any, i int) any { switch v := v.(*VDiffShowRequest); i { case 0: return &v.state @@ -21045,7 +23648,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[221].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[243].Exporter = func(v any, i int) any { switch v := v.(*VDiffShowResponse); i { case 0: return &v.state @@ -21057,7 +23660,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[244].Exporter = func(v any, i int) any { switch v := v.(*VDiffStopRequest); i { case 0: return &v.state @@ -21069,7 +23672,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[223].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[245].Exporter = func(v any, i int) any { switch v := v.(*VDiffStopResponse); i { case 0: return &v.state @@ -21081,7 +23684,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[224].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[246].Exporter = func(v any, i int) any { switch v := v.(*WorkflowDeleteRequest); i { case 0: return &v.state @@ -21093,7 +23696,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[225].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[247].Exporter = func(v any, i int) any { switch v := v.(*WorkflowDeleteResponse); i { case 0: return &v.state @@ -21105,7 +23708,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[226].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[248].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusRequest); i { case 0: return &v.state @@ -21117,7 +23720,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[227].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[249].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse); i { case 0: return &v.state @@ -21129,7 +23732,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[228].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[250].Exporter = func(v any, i int) any { switch v := v.(*WorkflowSwitchTrafficRequest); i { case 0: return &v.state @@ -21141,7 +23744,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[229].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[251].Exporter = func(v any, i int) any { switch v := v.(*WorkflowSwitchTrafficResponse); i { case 0: return &v.state @@ -21153,7 +23756,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[230].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[252].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateRequest); i { case 0: return &v.state @@ -21165,7 +23768,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[231].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[253].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateResponse); i { case 0: return &v.state @@ -21177,7 +23780,55 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[233].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[254].Exporter = func(v any, i int) any { + switch v := v.(*GetMirrorRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[255].Exporter = func(v any, i int) any { + switch v := v.(*GetMirrorRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[256].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowMirrorTrafficRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[257].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowMirrorTrafficResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[260].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ReplicationLocation); i { case 0: return &v.state @@ -21189,7 +23840,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[234].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[261].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ShardStream); i { case 0: return &v.state @@ -21201,7 +23852,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[235].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[262].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream); i { case 0: return &v.state @@ -21213,7 +23864,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[236].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[263].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_CopyState); i { case 0: return &v.state @@ -21225,7 +23876,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[237].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[264].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_Log); i { case 0: return &v.state @@ -21237,7 +23888,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[238].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[265].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_ThrottlerStatus); i { case 0: return &v.state @@ -21249,7 +23900,19 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[246].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[268].Exporter = func(v any, i int) any { + switch v := v.(*ApplyVSchemaResponse_ParamList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[280].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesResponse_NameList); i { case 0: return &v.state @@ -21261,7 +23924,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[250].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[284].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCreateResponse_TabletInfo); i { case 0: return &v.state @@ -21273,7 +23936,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[260].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[294].Exporter = func(v any, i int) any { switch v := v.(*WorkflowDeleteResponse_TabletInfo); i { case 0: return &v.state @@ -21285,7 +23948,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[261].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[295].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse_TableCopyState); i { case 0: return &v.state @@ -21297,7 +23960,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[262].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[296].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse_ShardStreamState); i { case 0: return &v.state @@ -21309,7 +23972,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[263].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[297].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse_ShardStreams); i { case 0: return &v.state @@ -21321,7 +23984,7 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[266].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[300].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateResponse_TabletInfo); i { case 0: return &v.state @@ -21334,13 +23997,15 @@ func file_vitess_vtctldata_dev_vtctldata_proto_init() { } } } + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[23].OneofWrappers = []any{} + file_vitess_vtctldata_dev_vtctldata_proto_msgTypes[236].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vitess_vtctldata_dev_vtctldata_proto_rawDesc, - NumEnums: 4, - NumMessages: 267, + NumEnums: 5, + NumMessages: 301, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/vitess/vtctldata/dev/vtctldata_vtproto.pb.go b/gen/vitess/vtctldata/dev/vtctldata_vtproto.pb.go index 5cc3a10..006ddf1 100644 --- a/gen/vitess/vtctldata/dev/vtctldata_vtproto.pb.go +++ b/gen/vitess/vtctldata/dev/vtctldata_vtproto.pb.go @@ -217,6 +217,29 @@ func (m *MaterializeSettings) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.ReferenceTables) > 0 { + for iNdEx := len(m.ReferenceTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ReferenceTables[iNdEx]) + copy(dAtA[i:], m.ReferenceTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ReferenceTables[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + } + if m.WorkflowOptions != nil { + size, err := m.WorkflowOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } if m.AtomicCopy { i-- if m.AtomicCopy { @@ -1160,6 +1183,86 @@ func (m *Shard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *WorkflowOptions) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowOptions) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.GlobalKeyspace) > 0 { + i -= len(m.GlobalKeyspace) + copy(dAtA[i:], m.GlobalKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.GlobalKeyspace))) + i-- + dAtA[i] = 0x2a + } + if len(m.Config) > 0 { + for k := range m.Config { + v := m.Config[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.ShardedAutoIncrementHandling != 0 { + i = encodeVarint(dAtA, i, uint64(m.ShardedAutoIncrementHandling)) + i-- + dAtA[i] = 0x10 + } + if len(m.TenantId) > 0 { + i -= len(m.TenantId) + copy(dAtA[i:], m.TenantId) + i = encodeVarint(dAtA, i, uint64(len(m.TenantId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *Workflow_ReplicationLocation) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -1318,6 +1421,11 @@ func (m *Workflow_Stream_CopyState) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.StreamId != 0 { + i = encodeVarint(dAtA, i, uint64(m.StreamId)) + i-- + dAtA[i] = 0x18 + } if len(m.LastPk) > 0 { i -= len(m.LastPk) copy(dAtA[i:], m.LastPk) @@ -1540,6 +1648,47 @@ func (m *Workflow_Stream) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } if m.ThrottlerStatus != nil { size, err := m.ThrottlerStatus.MarshalToSizedBufferVT(dAtA[:i]) if err != nil { @@ -1767,6 +1916,16 @@ func (m *Workflow) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Options != nil { + size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x52 + } if m.DeferSecondaryKeys { i-- if m.DeferSecondaryKeys { @@ -2030,6 +2189,135 @@ func (m *AddCellsAliasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) return len(dAtA) - i, nil } +func (m *ApplyKeyspaceRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyKeyspaceRoutingRulesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyKeyspaceRoutingRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RebuildCells) > 0 { + for iNdEx := len(m.RebuildCells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.RebuildCells[iNdEx]) + copy(dAtA[i:], m.RebuildCells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.RebuildCells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.SkipRebuild { + i-- + if m.SkipRebuild { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.KeyspaceRoutingRules != nil { + if vtmsg, ok := interface{}(m.KeyspaceRoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.KeyspaceRoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplyKeyspaceRoutingRulesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyKeyspaceRoutingRulesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyKeyspaceRoutingRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.KeyspaceRoutingRules != nil { + if vtmsg, ok := interface{}(m.KeyspaceRoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.KeyspaceRoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *ApplyRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -2454,6 +2742,16 @@ func (m *ApplyVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Strict { + i-- + if m.Strict { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } if len(m.Sql) > 0 { i -= len(m.Sql) copy(dAtA[i:], m.Sql) @@ -2522,6 +2820,48 @@ func (m *ApplyVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ApplyVSchemaResponse_ParamList) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyVSchemaResponse_ParamList) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyVSchemaResponse_ParamList) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Params) > 0 { + for iNdEx := len(m.Params) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Params[iNdEx]) + copy(dAtA[i:], m.Params[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Params[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *ApplyVSchemaResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -2552,6 +2892,28 @@ func (m *ApplyVSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.UnknownVindexParams) > 0 { + for k := range m.UnknownVindexParams { + v := m.UnknownVindexParams[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } if m.VSchema != nil { if vtmsg, ok := interface{}(m.VSchema).(interface { MarshalToSizedBufferVT([]byte) (int, error) @@ -2607,6 +2969,13 @@ func (m *BackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.BackupEngine != nil { + i -= len(*m.BackupEngine) + copy(dAtA[i:], *m.BackupEngine) + i = encodeVarint(dAtA, i, uint64(len(*m.BackupEngine))) + i-- + dAtA[i] = 0x32 + } if m.UpgradeSafe { i-- if m.UpgradeSafe { @@ -2931,6 +3300,161 @@ func (m *CancelSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int return len(dAtA) - i, nil } +func (m *ChangeTabletTagsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangeTabletTagsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTabletTagsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Replace { + i-- + if m.Replace { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Tags) > 0 { + for k := range m.Tags { + v := m.Tags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChangeTabletTagsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangeTabletTagsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTabletTagsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AfterTags) > 0 { + for k := range m.AfterTags { + v := m.AfterTags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.BeforeTags) > 0 { + for k := range m.BeforeTags { + v := m.BeforeTags[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *ChangeTabletTypeRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -3088,7 +3612,7 @@ func (m *ChangeTabletTypeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *CleanupSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { +func (m *CheckThrottlerRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3101,12 +3625,12 @@ func (m *CleanupSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CleanupSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *CheckThrottlerRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CleanupSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CheckThrottlerRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3118,24 +3642,66 @@ func (m *CleanupSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.Uuid) > 0 { - i -= len(m.Uuid) - copy(dAtA[i:], m.Uuid) - i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + if m.OkIfNotExists { + i-- + if m.OkIfNotExists { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.SkipRequestHeartbeats { + i-- + if m.SkipRequestHeartbeats { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Scope) > 0 { + i -= len(m.Scope) + copy(dAtA[i:], m.Scope) + i = encodeVarint(dAtA, i, uint64(len(m.Scope))) + i-- + dAtA[i] = 0x1a + } + if len(m.AppName) > 0 { + i -= len(m.AppName) + copy(dAtA[i:], m.AppName) + i = encodeVarint(dAtA, i, uint64(len(m.AppName))) i-- dAtA[i] = 0x12 } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CleanupSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { +func (m *CheckThrottlerResponse) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3148,12 +3714,12 @@ func (m *CleanupSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CleanupSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { +func (m *CheckThrottlerResponse) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CleanupSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CheckThrottlerResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3165,27 +3731,54 @@ func (m *CleanupSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (in i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } - if len(m.RowsAffectedByShard) > 0 { - for k := range m.RowsAffectedByShard { - v := m.RowsAffectedByShard[k] - baseI := i - i = encodeVarint(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarint(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa + if m.Check != nil { + if vtmsg, ok := interface{}(m.Check).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Check) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) } + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CompleteSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { +func (m *CleanupSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil } @@ -3198,12 +3791,109 @@ func (m *CompleteSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CompleteSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { +func (m *CleanupSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { size := m.SizeVT() return m.MarshalToSizedBufferVT(dAtA[:size]) } -func (m *CompleteSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { +func (m *CleanupSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CleanupSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CleanupSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CleanupSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *CompleteSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CompleteSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CompleteSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { if m == nil { return 0, nil } @@ -3360,30 +4050,6 @@ func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i-- dAtA[i] = 0x38 } - if len(m.ServedFroms) > 0 { - for iNdEx := len(m.ServedFroms) - 1; iNdEx >= 0; iNdEx-- { - if vtmsg, ok := interface{}(m.ServedFroms[iNdEx]).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.ServedFroms[iNdEx]) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0x32 - } - } if m.AllowEmptyVSchema { i-- if m.AllowEmptyVSchema { @@ -4147,6 +4813,28 @@ func (m *EmergencyReparentShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.ExpectedPrimary != nil { + if vtmsg, ok := interface{}(m.ExpectedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ExpectedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 + } if m.WaitForAllTablets { i-- if m.WaitForAllTablets { @@ -4751,6 +5439,150 @@ func (m *ExecuteHookResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ExecuteMultiFetchAsDBARequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteMultiFetchAsDBARequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteMultiFetchAsDBARequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReloadSchema { + i-- + if m.ReloadSchema { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.DisableBinlogs { + i-- + if m.DisableBinlogs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteMultiFetchAsDBAResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteMultiFetchAsDBAResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteMultiFetchAsDBAResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Results[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Results[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *FindAllShardsInKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -4846,6 +5678,103 @@ func (m *FindAllShardsInKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (i return len(dAtA) - i, nil } +func (m *ForceCutOverSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ForceCutOverSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ForceCutOverSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ForceCutOverSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ForceCutOverSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ForceCutOverSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *GetBackupsRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -5621,6 +6550,94 @@ func (m *GetPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error return len(dAtA) - i, nil } +func (m *GetKeyspaceRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspaceRoutingRulesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspaceRoutingRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspaceRoutingRulesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspaceRoutingRulesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspaceRoutingRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.KeyspaceRoutingRules != nil { + if vtmsg, ok := interface{}(m.KeyspaceRoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.KeyspaceRoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *GetRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -6018,6 +7035,129 @@ func (m *GetSchemaMigrationsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, return len(dAtA) - i, nil } +func (m *GetShardReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetShardReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ShardReplicationByCell) > 0 { + for k := range m.ShardReplicationByCell { + v := m.ShardReplicationByCell[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *GetShardRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -6481,6 +7621,29 @@ func (m *UpdateThrottlerConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.AppCheckedMetrics) > 0 { + for iNdEx := len(m.AppCheckedMetrics) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AppCheckedMetrics[iNdEx]) + copy(dAtA[i:], m.AppCheckedMetrics[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.AppCheckedMetrics[iNdEx]))) + i-- + dAtA[i] = 0x62 + } + } + if len(m.AppName) > 0 { + i -= len(m.AppName) + copy(dAtA[i:], m.AppName) + i = encodeVarint(dAtA, i, uint64(len(m.AppName))) + i-- + dAtA[i] = 0x5a + } + if len(m.MetricName) > 0 { + i -= len(m.MetricName) + copy(dAtA[i:], m.MetricName) + i = encodeVarint(dAtA, i, uint64(len(m.MetricName))) + i-- + dAtA[i] = 0x52 + } if m.ThrottledApp != nil { if vtmsg, ok := interface{}(m.ThrottledApp).(interface { MarshalToSizedBufferVT([]byte) (int, error) @@ -7075,6 +8238,116 @@ func (m *GetTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *GetThrottlerStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetThrottlerStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetThrottlerStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetThrottlerStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetThrottlerStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetThrottlerStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *GetTopologyPathRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -7105,6 +8378,21 @@ func (m *GetTopologyPathRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.AsJson { + i-- + if m.AsJson { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Version != 0 { + i = encodeVarint(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x10 + } if len(m.Path) > 0 { i -= len(m.Path) copy(dAtA[i:], m.Path) @@ -7188,6 +8476,11 @@ func (m *TopologyCell) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Version != 0 { + i = encodeVarint(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x28 + } if len(m.Children) > 0 { for iNdEx := len(m.Children) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Children[iNdEx]) @@ -7221,6 +8514,380 @@ func (m *TopologyCell) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *GetUnresolvedTransactionsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetUnresolvedTransactionsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetUnresolvedTransactionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AbandonAge != 0 { + i = encodeVarint(dAtA, i, uint64(m.AbandonAge)) + i-- + dAtA[i] = 0x10 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetUnresolvedTransactionsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetUnresolvedTransactionsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetUnresolvedTransactionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Transactions) > 0 { + for iNdEx := len(m.Transactions) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Transactions[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Transactions[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetTransactionInfoRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTransactionInfoRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTransactionInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardTransactionState) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardTransactionState) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardTransactionState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Statements) > 0 { + for iNdEx := len(m.Statements) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Statements[iNdEx]) + copy(dAtA[i:], m.Statements[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Statements[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.TimeCreated != 0 { + i = encodeVarint(dAtA, i, uint64(m.TimeCreated)) + i-- + dAtA[i] = 0x20 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x1a + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarint(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0x12 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetTransactionInfoResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTransactionInfoResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTransactionInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ShardStates) > 0 { + for iNdEx := len(m.ShardStates) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardStates[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if m.Metadata != nil { + if vtmsg, ok := interface{}(m.Metadata).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Metadata) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConcludeTransactionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConcludeTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ConcludeTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Participants) > 0 { + for iNdEx := len(m.Participants) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Participants[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Participants[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConcludeTransactionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConcludeTransactionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ConcludeTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + func (m *GetVSchemaRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -7441,6 +9108,15 @@ func (m *GetWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } if m.IncludeLogs { i-- if m.IncludeLogs { @@ -8809,6 +10485,18 @@ func (m *MoveTablesCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.WorkflowOptions != nil { + size, err := m.WorkflowOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } if m.AtomicCopy { i-- if m.AtomicCopy { @@ -9141,6 +10829,15 @@ func (m *MoveTablesCompleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, er i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } if m.DryRun { i-- if m.DryRun { @@ -9365,6 +11062,38 @@ func (m *PlannedReparentShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.ExpectedPrimary != nil { + if vtmsg, ok := interface{}(m.ExpectedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ExpectedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 + } + if m.AllowCrossCellPromotion { + i-- + if m.AllowCrossCellPromotion { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } if m.TolerableReplicationLag != nil { if vtmsg, ok := interface{}(m.TolerableReplicationLag).(interface { MarshalToSizedBufferVT([]byte) (int, error) @@ -10705,6 +12434,16 @@ func (m *ReshardCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.WorkflowOptions != nil { + size, err := m.WorkflowOptions.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x6a + } if m.AutoStart { i-- if m.AutoStart { @@ -10852,6 +12591,15 @@ func (m *RestoreFromBackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, err i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.AllowedBackupEngines) > 0 { + for iNdEx := len(m.AllowedBackupEngines) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AllowedBackupEngines[iNdEx]) + copy(dAtA[i:], m.AllowedBackupEngines[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.AllowedBackupEngines[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } if m.RestoreToTimestamp != nil { if vtmsg, ok := interface{}(m.RestoreToTimestamp).(interface { MarshalToSizedBufferVT([]byte) (int, error) @@ -11316,132 +13064,6 @@ func (m *SetKeyspaceDurabilityPolicyResponse) MarshalToSizedBufferVT(dAtA []byte return len(dAtA) - i, nil } -func (m *SetKeyspaceServedFromRequest) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetKeyspaceServedFromRequest) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *SetKeyspaceServedFromRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if len(m.SourceKeyspace) > 0 { - i -= len(m.SourceKeyspace) - copy(dAtA[i:], m.SourceKeyspace) - i = encodeVarint(dAtA, i, uint64(len(m.SourceKeyspace))) - i-- - dAtA[i] = 0x2a - } - if m.Remove { - i-- - if m.Remove { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if len(m.Cells) > 0 { - for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Cells[iNdEx]) - copy(dAtA[i:], m.Cells[iNdEx]) - i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if m.TabletType != 0 { - i = encodeVarint(dAtA, i, uint64(m.TabletType)) - i-- - dAtA[i] = 0x10 - } - if len(m.Keyspace) > 0 { - i -= len(m.Keyspace) - copy(dAtA[i:], m.Keyspace) - i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetKeyspaceServedFromResponse) MarshalVT() (dAtA []byte, err error) { - if m == nil { - return nil, nil - } - size := m.SizeVT() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBufferVT(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetKeyspaceServedFromResponse) MarshalToVT(dAtA []byte) (int, error) { - size := m.SizeVT() - return m.MarshalToSizedBufferVT(dAtA[:size]) -} - -func (m *SetKeyspaceServedFromResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { - if m == nil { - return 0, nil - } - i := len(dAtA) - _ = i - var l int - _ = l - if m.unknownFields != nil { - i -= len(m.unknownFields) - copy(dAtA[i:], m.unknownFields) - } - if m.Keyspace != nil { - if vtmsg, ok := interface{}(m.Keyspace).(interface { - MarshalToSizedBufferVT([]byte) (int, error) - }); ok { - size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarint(dAtA, i, uint64(size)) - } else { - encoded, err := proto.Marshal(m.Keyspace) - if err != nil { - return 0, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = encodeVarint(dAtA, i, uint64(len(encoded))) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *SetKeyspaceShardingInfoRequest) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -14120,6 +15742,49 @@ func (m *VDiffCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.AutoStart != nil { + i-- + if *m.AutoStart { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if m.RowDiffColumnTruncateAt != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowDiffColumnTruncateAt)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if m.MaxDiffDuration != nil { + if vtmsg, ok := interface{}(m.MaxDiffDuration).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.MaxDiffDuration) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } if m.MaxReportSampleRows != 0 { i = encodeVarint(dAtA, i, uint64(m.MaxReportSampleRows)) i-- @@ -14481,6 +16146,15 @@ func (m *VDiffResumeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.TargetShards) > 0 { + for iNdEx := len(m.TargetShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TargetShards[iNdEx]) + copy(dAtA[i:], m.TargetShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.TargetShards[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } if len(m.Uuid) > 0 { i -= len(m.Uuid) copy(dAtA[i:], m.Uuid) @@ -14689,6 +16363,15 @@ func (m *VDiffStopRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.TargetShards) > 0 { + for iNdEx := len(m.TargetShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TargetShards[iNdEx]) + copy(dAtA[i:], m.TargetShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.TargetShards[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } if len(m.Uuid) > 0 { i -= len(m.Uuid) copy(dAtA[i:], m.Uuid) @@ -14776,6 +16459,20 @@ func (m *WorkflowDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.DeleteBatchSize != 0 { + i = encodeVarint(dAtA, i, uint64(m.DeleteBatchSize)) + i-- + dAtA[i] = 0x30 + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } if m.KeepRoutingRules { i-- if m.KeepRoutingRules { @@ -14960,6 +16657,15 @@ func (m *WorkflowStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } if len(m.Workflow) > 0 { i -= len(m.Workflow) copy(dAtA[i:], m.Workflow) @@ -15289,6 +16995,25 @@ func (m *WorkflowSwitchTrafficRequest) MarshalToSizedBufferVT(dAtA []byte) (int, i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x5a + } + } if m.InitializeTargetSequences { i-- if m.InitializeTargetSequences { @@ -15657,6 +17382,222 @@ func (m *WorkflowUpdateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error return len(dAtA) - i, nil } +func (m *GetMirrorRulesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetMirrorRulesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetMirrorRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetMirrorRulesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetMirrorRulesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetMirrorRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MirrorRules != nil { + if vtmsg, ok := interface{}(m.MirrorRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.MirrorRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowMirrorTrafficRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowMirrorTrafficRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowMirrorTrafficRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Percent != 0 { + i -= 4 + binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Percent)))) + i-- + dAtA[i] = 0x25 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1a + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowMirrorTrafficResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowMirrorTrafficResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowMirrorTrafficResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.CurrentState) > 0 { + i -= len(m.CurrentState) + copy(dAtA[i:], m.CurrentState) + i = encodeVarint(dAtA, i, uint64(len(m.CurrentState))) + i-- + dAtA[i] = 0x1a + } + if len(m.StartState) > 0 { + i -= len(m.StartState) + copy(dAtA[i:], m.StartState) + i = encodeVarint(dAtA, i, uint64(len(m.StartState))) + i-- + dAtA[i] = 0x12 + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarint(dAtA []byte, offset int, v uint64) int { offset -= sov(v) base := offset @@ -15798,6 +17739,16 @@ func (m *MaterializeSettings) SizeVT() (n int) { if m.AtomicCopy { n += 3 } + if m.WorkflowOptions != nil { + l = m.WorkflowOptions.SizeVT() + n += 2 + l + sov(uint64(l)) + } + if len(m.ReferenceTables) > 0 { + for _, s := range m.ReferenceTables { + l = len(s) + n += 2 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -16139,6 +18090,41 @@ func (m *Shard) SizeVT() (n int) { return n } +func (m *WorkflowOptions) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TenantId) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ShardedAutoIncrementHandling != 0 { + n += 1 + sov(uint64(m.ShardedAutoIncrementHandling)) + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Config) > 0 { + for k, v := range m.Config { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.GlobalKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + func (m *Workflow_ReplicationLocation) SizeVT() (n int) { if m == nil { return 0 @@ -16204,6 +18190,9 @@ func (m *Workflow_Stream_CopyState) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.StreamId != 0 { + n += 1 + sov(uint64(m.StreamId)) + } n += len(m.unknownFields) return n } @@ -16385,6 +18374,22 @@ func (m *Workflow_Stream) SizeVT() (n int) { l = m.ThrottlerStatus.SizeVT() n += 2 + l + sov(uint64(l)) } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 2 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 2 + sov(uint64(m.TabletSelectionPreference)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 2 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -16437,6 +18442,10 @@ func (m *Workflow) SizeVT() (n int) { if m.DeferSecondaryKeys { n += 2 } + if m.Options != nil { + l = m.Options.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -16505,6 +18514,55 @@ func (m *AddCellsAliasResponse) SizeVT() (n int) { return n } +func (m *ApplyKeyspaceRoutingRulesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.KeyspaceRoutingRules != nil { + if size, ok := interface{}(m.KeyspaceRoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.KeyspaceRoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + if m.SkipRebuild { + n += 2 + } + if len(m.RebuildCells) > 0 { + for _, s := range m.RebuildCells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyKeyspaceRoutingRulesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.KeyspaceRoutingRules != nil { + if size, ok := interface{}(m.KeyspaceRoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.KeyspaceRoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + func (m *ApplyRoutingRulesRequest) SizeVT() (n int) { if m == nil { return 0 @@ -16700,6 +18758,25 @@ func (m *ApplyVSchemaRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.Strict { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyVSchemaResponse_ParamList) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Params) > 0 { + for _, s := range m.Params { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -16720,6 +18797,19 @@ func (m *ApplyVSchemaResponse) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + if len(m.UnknownVindexParams) > 0 { + for k, v := range m.UnknownVindexParams { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } n += len(m.unknownFields) return n } @@ -16753,6 +18843,10 @@ func (m *BackupRequest) SizeVT() (n int) { if m.UpgradeSafe { n += 2 } + if m.BackupEngine != nil { + l = len(*m.BackupEngine) + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -16862,6 +18956,63 @@ func (m *CancelSchemaMigrationResponse) SizeVT() (n int) { return n } +func (m *ChangeTabletTagsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Tags) > 0 { + for k, v := range m.Tags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if m.Replace { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ChangeTabletTagsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.BeforeTags) > 0 { + for k, v := range m.BeforeTags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.AfterTags) > 0 { + for k, v := range m.AfterTags { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + func (m *ChangeTabletTypeRequest) SizeVT() (n int) { if m == nil { return 0 @@ -16921,6 +19072,70 @@ func (m *ChangeTabletTypeResponse) SizeVT() (n int) { return n } +func (m *CheckThrottlerRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.AppName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Scope) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SkipRequestHeartbeats { + n += 2 + } + if m.OkIfNotExists { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *CheckThrottlerResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.Check != nil { + if size, ok := interface{}(m.Check).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Check) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + func (m *CleanupSchemaMigrationRequest) SizeVT() (n int) { if m == nil { return 0 @@ -17009,18 +19224,6 @@ func (m *CreateKeyspaceRequest) SizeVT() (n int) { if m.AllowEmptyVSchema { n += 2 } - if len(m.ServedFroms) > 0 { - for _, e := range m.ServedFroms { - if size, ok := interface{}(e).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(e) - } - n += 1 + l + sov(uint64(l)) - } - } if m.Type != 0 { n += 1 + sov(uint64(m.Type)) } @@ -17336,6 +19539,16 @@ func (m *EmergencyReparentShardRequest) SizeVT() (n int) { if m.WaitForAllTablets { n += 2 } + if m.ExpectedPrimary != nil { + if size, ok := interface{}(m.ExpectedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ExpectedPrimary) + } + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -17533,6 +19746,61 @@ func (m *ExecuteHookResponse) SizeVT() (n int) { return n } +func (m *ExecuteMultiFetchAsDBARequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.DisableBinlogs { + n += 2 + } + if m.ReloadSchema { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteMultiFetchAsDBAResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, e := range m.Results { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + func (m *FindAllShardsInKeyspaceRequest) SizeVT() (n int) { if m == nil { return 0 @@ -17570,6 +19838,42 @@ func (m *FindAllShardsInKeyspaceResponse) SizeVT() (n int) { return n } +func (m *ForceCutOverSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ForceCutOverSchemaMigrationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + func (m *GetBackupsRequest) SizeVT() (n int) { if m == nil { return 0 @@ -17852,6 +20156,36 @@ func (m *GetPermissionsResponse) SizeVT() (n int) { return n } +func (m *GetKeyspaceRoutingRulesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspaceRoutingRulesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.KeyspaceRoutingRules != nil { + if size, ok := interface{}(m.KeyspaceRoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.KeyspaceRoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + func (m *GetRoutingRulesRequest) SizeVT() (n int) { if m == nil { return 0 @@ -18006,6 +20340,59 @@ func (m *GetSchemaMigrationsResponse) SizeVT() (n int) { return n } +func (m *GetShardReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ShardReplicationByCell) > 0 { + for k, v := range m.ShardReplicationByCell { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + func (m *GetShardRequest) SizeVT() (n int) { if m == nil { return 0 @@ -18214,6 +20601,20 @@ func (m *UpdateThrottlerConfigRequest) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + l = len(m.MetricName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.AppName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.AppCheckedMetrics) > 0 { + for _, s := range m.AppCheckedMetrics { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -18411,6 +20812,46 @@ func (m *GetTabletsResponse) SizeVT() (n int) { return n } +func (m *GetThrottlerStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetThrottlerStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + func (m *GetTopologyPathRequest) SizeVT() (n int) { if m == nil { return 0 @@ -18421,6 +20862,12 @@ func (m *GetTopologyPathRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.Version != 0 { + n += 1 + sov(uint64(m.Version)) + } + if m.AsJson { + n += 2 + } n += len(m.unknownFields) return n } @@ -18463,6 +20910,155 @@ func (m *TopologyCell) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } + if m.Version != 0 { + n += 1 + sov(uint64(m.Version)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetUnresolvedTransactionsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.AbandonAge != 0 { + n += 1 + sov(uint64(m.AbandonAge)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetUnresolvedTransactionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Transactions) > 0 { + for _, e := range m.Transactions { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetTransactionInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardTransactionState) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.State) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TimeCreated != 0 { + n += 1 + sov(uint64(m.TimeCreated)) + } + if len(m.Statements) > 0 { + for _, s := range m.Statements { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetTransactionInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Metadata != nil { + if size, ok := interface{}(m.Metadata).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Metadata) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.ShardStates) > 0 { + for _, e := range m.ShardStates { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ConcludeTransactionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Participants) > 0 { + for _, e := range m.Participants { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ConcludeTransactionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l n += len(m.unknownFields) return n } @@ -18558,6 +21154,12 @@ func (m *GetWorkflowsRequest) SizeVT() (n int) { if m.IncludeLogs { n += 2 } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -19134,6 +21736,10 @@ func (m *MoveTablesCreateRequest) SizeVT() (n int) { if m.AtomicCopy { n += 3 } + if m.WorkflowOptions != nil { + l = m.WorkflowOptions.SizeVT() + n += 2 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -19207,6 +21813,12 @@ func (m *MoveTablesCompleteRequest) SizeVT() (n int) { if m.DryRun { n += 2 } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -19315,6 +21927,19 @@ func (m *PlannedReparentShardRequest) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + if m.AllowCrossCellPromotion { + n += 2 + } + if m.ExpectedPrimary != nil { + if size, ok := interface{}(m.ExpectedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ExpectedPrimary) + } + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -19825,6 +22450,10 @@ func (m *ReshardCreateRequest) SizeVT() (n int) { if m.AutoStart { n += 2 } + if m.WorkflowOptions != nil { + l = m.WorkflowOptions.SizeVT() + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -19872,6 +22501,12 @@ func (m *RestoreFromBackupRequest) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + if len(m.AllowedBackupEngines) > 0 { + for _, s := range m.AllowedBackupEngines { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -20018,56 +22653,6 @@ func (m *SetKeyspaceDurabilityPolicyResponse) SizeVT() (n int) { return n } -func (m *SetKeyspaceServedFromRequest) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Keyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - if m.TabletType != 0 { - n += 1 + sov(uint64(m.TabletType)) - } - if len(m.Cells) > 0 { - for _, s := range m.Cells { - l = len(s) - n += 1 + l + sov(uint64(l)) - } - } - if m.Remove { - n += 2 - } - l = len(m.SourceKeyspace) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} - -func (m *SetKeyspaceServedFromResponse) SizeVT() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Keyspace != nil { - if size, ok := interface{}(m.Keyspace).(interface { - SizeVT() int - }); ok { - l = size.SizeVT() - } else { - l = proto.Size(m.Keyspace) - } - n += 1 + l + sov(uint64(l)) - } - n += len(m.unknownFields) - return n -} - func (m *SetKeyspaceShardingInfoRequest) SizeVT() (n int) { if m == nil { return 0 @@ -21193,6 +23778,22 @@ func (m *VDiffCreateRequest) SizeVT() (n int) { if m.MaxReportSampleRows != 0 { n += 2 + sov(uint64(m.MaxReportSampleRows)) } + if m.MaxDiffDuration != nil { + if size, ok := interface{}(m.MaxDiffDuration).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.MaxDiffDuration) + } + n += 2 + l + sov(uint64(l)) + } + if m.RowDiffColumnTruncateAt != 0 { + n += 2 + sov(uint64(m.RowDiffColumnTruncateAt)) + } + if m.AutoStart != nil { + n += 3 + } n += len(m.unknownFields) return n } @@ -21261,6 +23862,12 @@ func (m *VDiffResumeRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if len(m.TargetShards) > 0 { + for _, s := range m.TargetShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -21344,6 +23951,12 @@ func (m *VDiffStopRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if len(m.TargetShards) > 0 { + for _, s := range m.TargetShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -21378,6 +23991,15 @@ func (m *WorkflowDeleteRequest) SizeVT() (n int) { if m.KeepRoutingRules { n += 2 } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.DeleteBatchSize != 0 { + n += 1 + sov(uint64(m.DeleteBatchSize)) + } n += len(m.unknownFields) return n } @@ -21439,6 +24061,12 @@ func (m *WorkflowStatusRequest) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } n += len(m.unknownFields) return n } @@ -21625,6 +24253,15 @@ func (m *WorkflowSwitchTrafficRequest) SizeVT() (n int) { if m.InitializeTargetSequences { n += 2 } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Force { + n += 2 + } n += len(m.unknownFields) return n } @@ -21724,6 +24361,86 @@ func (m *WorkflowUpdateResponse) SizeVT() (n int) { return n } +func (m *GetMirrorRulesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetMirrorRulesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.MirrorRules != nil { + if size, ok := interface{}(m.MirrorRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.MirrorRules) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowMirrorTrafficRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.Percent != 0 { + n += 5 + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowMirrorTrafficResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.StartState) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CurrentState) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + func sov(x uint64) (n int) { return (bits.Len64(x|1) + 6) / 7 } @@ -22555,6 +25272,74 @@ func (m *MaterializeSettings) UnmarshalVT(dAtA []byte) error { } } m.AtomicCopy = bool(v != 0) + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowOptions", 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.WorkflowOptions == nil { + m.WorkflowOptions = &WorkflowOptions{} + } + if err := m.WorkflowOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReferenceTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReferenceTables = append(m.ReferenceTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -24542,7 +27327,7 @@ func (m *Shard) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *Workflow_ReplicationLocation) UnmarshalVT(dAtA []byte) error { +func (m *WorkflowOptions) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24565,15 +27350,15 @@ func (m *Workflow_ReplicationLocation) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Workflow_ReplicationLocation: wiretype end group for non-group") + return fmt.Errorf("proto: WorkflowOptions: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Workflow_ReplicationLocation: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WorkflowOptions: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TenantId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -24601,7 +27386,300 @@ func (m *Workflow_ReplicationLocation) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.TenantId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardedAutoIncrementHandling", wireType) + } + m.ShardedAutoIncrementHandling = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ShardedAutoIncrementHandling |= ShardedAutoIncrementHandling(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Config", 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.Config == nil { + m.Config = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Config[mapkey] = mapvalue + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GlobalKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GlobalKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow_ReplicationLocation) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow_ReplicationLocation: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow_ReplicationLocation: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -24897,6 +27975,25 @@ func (m *Workflow_Stream_CopyState) UnmarshalVT(dAtA []byte) error { } m.LastPk = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StreamId", wireType) + } + m.StreamId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StreamId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -25941,6 +29038,126 @@ func (m *Workflow_Stream) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex + case 18: + if wireType == 0 { + var v dev2.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev2.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]dev2.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v dev2.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev2.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= dev1.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -26347,6 +29564,42 @@ func (m *Workflow) UnmarshalVT(dAtA []byte) error { } } m.DeferSecondaryKeys = bool(v != 0) + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &WorkflowOptions{} + } + if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -26713,7 +29966,7 @@ func (m *AddCellsAliasResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ApplyRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { +func (m *ApplyKeyspaceRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26736,15 +29989,15 @@ func (m *ApplyRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ApplyRoutingRulesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ApplyKeyspaceRoutingRulesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ApplyRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ApplyKeyspaceRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceRoutingRules", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26771,17 +30024,17 @@ func (m *ApplyRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RoutingRules == nil { - m.RoutingRules = &dev5.RoutingRules{} + if m.KeyspaceRoutingRules == nil { + m.KeyspaceRoutingRules = &dev5.KeyspaceRoutingRules{} } - if unmarshal, ok := interface{}(m.RoutingRules).(interface { + if unmarshal, ok := interface{}(m.KeyspaceRoutingRules).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RoutingRules); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.KeyspaceRoutingRules); err != nil { return err } } @@ -26860,7 +30113,7 @@ func (m *ApplyRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ApplyRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { +func (m *ApplyKeyspaceRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26883,12 +30136,56 @@ func (m *ApplyRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ApplyRoutingRulesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ApplyKeyspaceRoutingRulesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ApplyRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ApplyKeyspaceRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceRoutingRules", 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.KeyspaceRoutingRules == nil { + m.KeyspaceRoutingRules = &dev5.KeyspaceRoutingRules{} + } + if unmarshal, ok := interface{}(m.KeyspaceRoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.KeyspaceRoutingRules); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -26911,7 +30208,7 @@ func (m *ApplyRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ApplyShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { +func (m *ApplyRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26934,15 +30231,15 @@ func (m *ApplyShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ApplyShardRoutingRulesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ApplyRoutingRulesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ApplyShardRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ApplyRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardRoutingRules", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26969,17 +30266,17 @@ func (m *ApplyShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ShardRoutingRules == nil { - m.ShardRoutingRules = &dev5.ShardRoutingRules{} + if m.RoutingRules == nil { + m.RoutingRules = &dev5.RoutingRules{} } - if unmarshal, ok := interface{}(m.ShardRoutingRules).(interface { + if unmarshal, ok := interface{}(m.RoutingRules).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ShardRoutingRules); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RoutingRules); err != nil { return err } } @@ -27058,58 +30355,256 @@ func (m *ApplyShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ApplyShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ApplyShardRoutingRulesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ApplyShardRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *ApplyRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyShardRoutingRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyShardRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardRoutingRules", 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.ShardRoutingRules == nil { + m.ShardRoutingRules = &dev5.ShardRoutingRules{} + } + if unmarshal, ok := interface{}(m.ShardRoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ShardRoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipRebuild", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipRebuild = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RebuildCells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RebuildCells = append(m.RebuildCells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyShardRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyShardRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27832,6 +31327,109 @@ func (m *ApplyVSchemaRequest) UnmarshalVT(dAtA []byte) error { } m.Sql = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Strict", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Strict = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyVSchemaResponse_ParamList) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyVSchemaResponse_ParamList: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyVSchemaResponse_ParamList: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Params = append(m.Params, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -27927,6 +31525,135 @@ func (m *ApplyVSchemaResponse) UnmarshalVT(dAtA []byte) error { } } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UnknownVindexParams", 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.UnknownVindexParams == nil { + m.UnknownVindexParams = make(map[string]*ApplyVSchemaResponse_ParamList) + } + var mapkey string + var mapvalue *ApplyVSchemaResponse_ParamList + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ApplyVSchemaResponse_ParamList{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.UnknownVindexParams[mapkey] = mapvalue + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -28056,7 +31783,7 @@ func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Concurrency |= uint64(b&0x7F) << shift + m.Concurrency |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -28113,6 +31840,39 @@ func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { } } m.UpgradeSafe = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BackupEngine", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.BackupEngine = &s + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -28465,7 +32225,7 @@ func (m *BackupShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Concurrency |= uint64(b&0x7F) << shift + m.Concurrency |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -28823,7 +32583,7 @@ func (m *CancelSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ChangeTabletTypeRequest) UnmarshalVT(dAtA []byte) error { +func (m *ChangeTabletTagsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28846,10 +32606,10 @@ func (m *ChangeTabletTypeRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ChangeTabletTypeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ChangeTabletTagsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ChangeTabletTypeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ChangeTabletTagsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -28897,98 +32657,8 @@ func (m *ChangeTabletTypeRequest) UnmarshalVT(dAtA []byte) error { } iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DbType", wireType) - } - m.DbType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DbType |= dev2.TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DryRun = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChangeTabletTypeResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChangeTabletTypeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChangeTabletTypeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BeforeTablet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29015,68 +32685,107 @@ func (m *ChangeTabletTypeResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.BeforeTablet == nil { - m.BeforeTablet = &dev2.Tablet{} - } - if unmarshal, ok := interface{}(m.BeforeTablet).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BeforeTablet); err != nil { - return err - } - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AfterTablet", 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 m.Tags == nil { + m.Tags = make(map[string]string) } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AfterTablet == nil { - m.AfterTablet = &dev2.Tablet{} - } - if unmarshal, ok := interface{}(m.AfterTablet).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.AfterTablet); err != nil { - return err + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } + m.Tags[mapkey] = mapvalue iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WasDryRun", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Replace", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -29093,122 +32802,7 @@ func (m *ChangeTabletTypeResponse) UnmarshalVT(dAtA []byte) error { break } } - m.WasDryRun = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CleanupSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CleanupSchemaMigrationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CleanupSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uuid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.Replace = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -29231,7 +32825,7 @@ func (m *CleanupSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { +func (m *ChangeTabletTagsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29254,15 +32848,15 @@ func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CleanupSchemaMigrationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ChangeTabletTagsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CleanupSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ChangeTabletTagsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BeforeTags", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29289,11 +32883,11 @@ func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RowsAffectedByShard == nil { - m.RowsAffectedByShard = make(map[string]uint64) + if m.BeforeTags == nil { + m.BeforeTags = make(map[string]string) } var mapkey string - var mapvalue uint64 + var mapvalue string for iNdEx < postIndex { entryPreIndex := iNdEx var wire uint64 @@ -29342,6 +32936,7 @@ func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey } else if fieldNum == 2 { + var stringLenmapvalue uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -29351,11 +32946,24 @@ func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - mapvalue |= uint64(b&0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue } else { iNdEx = entryPreIndex skippy, err := skip(dAtA[iNdEx:]) @@ -29371,177 +32979,11 @@ func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { iNdEx += skippy } } - m.RowsAffectedByShard[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CompleteSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CompleteSchemaMigrationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CompleteSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.BeforeTags[mapkey] = mapvalue iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uuid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CompleteSchemaMigrationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CompleteSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AfterTags", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29568,11 +33010,11 @@ func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RowsAffectedByShard == nil { - m.RowsAffectedByShard = make(map[string]uint64) + if m.AfterTags == nil { + m.AfterTags = make(map[string]string) } var mapkey string - var mapvalue uint64 + var mapvalue string for iNdEx < postIndex { entryPreIndex := iNdEx var wire uint64 @@ -29621,6 +33063,7 @@ func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey } else if fieldNum == 2 { + var stringLenmapvalue uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -29630,11 +33073,24 @@ func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - mapvalue |= uint64(b&0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue } else { iNdEx = entryPreIndex skippy, err := skip(dAtA[iNdEx:]) @@ -29650,7 +33106,7 @@ func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { iNdEx += skippy } } - m.RowsAffectedByShard[mapkey] = mapvalue + m.AfterTags[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -29674,7 +33130,7 @@ func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *ChangeTabletTypeRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29697,17 +33153,17 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ChangeTabletTypeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ChangeTabletTypeRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -29717,29 +33173,41 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + if m.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DbType", wireType) } - var v int + m.DbType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -29749,15 +33217,14 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.DbType |= dev2.TabletType(b&0x7F) << shift if b < 0x80 { break } } - m.Force = bool(v != 0) case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowEmptyVSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -29774,103 +33241,61 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { break } } - m.AllowEmptyVSchema = bool(v != 0) - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServedFroms", 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 - } + m.DryRun = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - if msglen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.ServedFroms = append(m.ServedFroms, &dev2.Keyspace_ServedFrom{}) - if unmarshal, ok := interface{}(m.ServedFroms[len(m.ServedFroms)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ServedFroms[len(m.ServedFroms)-1]); err != nil { - return err - } - } - iNdEx = postIndex - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= dev2.KeyspaceType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BaseKeyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangeTabletTypeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.BaseKeyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangeTabletTypeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangeTabletTypeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BeforeTablet", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29897,26 +33322,26 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SnapshotTime == nil { - m.SnapshotTime = &dev3.Time{} + if m.BeforeTablet == nil { + m.BeforeTablet = &dev2.Tablet{} } - if unmarshal, ok := interface{}(m.SnapshotTime).(interface { + if unmarshal, ok := interface{}(m.BeforeTablet).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SnapshotTime); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BeforeTablet); err != nil { return err } } iNdEx = postIndex - case 10: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DurabilityPolicy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AfterTablet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -29926,29 +33351,41 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.DurabilityPolicy = string(dAtA[iNdEx:postIndex]) + if m.AfterTablet == nil { + m.AfterTablet = &dev2.Tablet{} + } + if unmarshal, ok := interface{}(m.AfterTablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.AfterTablet); err != nil { + return err + } + } iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SidecarDbName", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WasDryRun", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -29958,24 +33395,12 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SidecarDbName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.WasDryRun = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -29998,7 +33423,7 @@ func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { +func (m *CheckThrottlerRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30021,15 +33446,15 @@ func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateKeyspaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CheckThrottlerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CheckThrottlerRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30056,67 +33481,24 @@ func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Keyspace == nil { - m.Keyspace = &Keyspace{} + if m.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} } - if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateShardRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30144,11 +33526,11 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.AppName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30176,11 +33558,11 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ShardName = string(dAtA[iNdEx:postIndex]) + m.Scope = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SkipRequestHeartbeats", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -30197,10 +33579,10 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { break } } - m.Force = bool(v != 0) - case 4: + m.SkipRequestHeartbeats = bool(v != 0) + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeParent", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OkIfNotExists", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -30217,7 +33599,7 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { break } } - m.IncludeParent = bool(v != 0) + m.OkIfNotExists = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -30240,7 +33622,7 @@ func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *CreateShardResponse) UnmarshalVT(dAtA []byte) error { +func (m *CheckThrottlerResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30263,15 +33645,15 @@ func (m *CreateShardResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateShardResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CheckThrottlerResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CheckThrottlerResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30298,16 +33680,24 @@ func (m *CreateShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Keyspace == nil { - m.Keyspace = &Keyspace{} + if m.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} } - if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Check", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30334,33 +33724,21 @@ func (m *CreateShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Shard == nil { - m.Shard = &Shard{} - } - if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardAlreadyExists", wireType) + if m.Check == nil { + m.Check = &dev1.CheckThrottlerResponse{} } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.Check).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Check); err != nil { + return err } } - m.ShardAlreadyExists = bool(v != 0) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -30383,7 +33761,7 @@ func (m *CreateShardResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteCellInfoRequest) UnmarshalVT(dAtA []byte) error { +func (m *CleanupSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30406,15 +33784,15 @@ func (m *DeleteCellInfoRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteCellInfoRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30442,13 +33820,13 @@ func (m *DeleteCellInfoRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -30458,12 +33836,24 @@ func (m *DeleteCellInfoRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.Force = bool(v != 0) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -30486,7 +33876,7 @@ func (m *DeleteCellInfoRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteCellInfoResponse) UnmarshalVT(dAtA []byte) error { +func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30509,12 +33899,125 @@ func (m *DeleteCellInfoResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteCellInfoResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CleanupSchemaMigrationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CleanupSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -30537,7 +34040,7 @@ func (m *DeleteCellInfoResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteCellsAliasRequest) UnmarshalVT(dAtA []byte) error { +func (m *CompleteSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30560,15 +34063,15 @@ func (m *DeleteCellsAliasRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteCellsAliasRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteCellsAliasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30596,7 +34099,39 @@ func (m *DeleteCellsAliasRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -30620,7 +34155,7 @@ func (m *DeleteCellsAliasRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteCellsAliasResponse) UnmarshalVT(dAtA []byte) error { +func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30643,20 +34178,133 @@ func (m *DeleteCellsAliasResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteCellsAliasResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CompleteSchemaMigrationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteCellsAliasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CompleteSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength + 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -30671,7 +34319,7 @@ func (m *DeleteCellsAliasResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30694,15 +34342,15 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30730,11 +34378,11 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -30751,10 +34399,10 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { break } } - m.Recursive = bool(v != 0) + m.Force = bool(v != 0) case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllowEmptyVSchema", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -30771,7 +34419,166 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { break } } - m.Force = bool(v != 0) + m.AllowEmptyVSchema = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= dev2.KeyspaceType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BaseKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BaseKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTime", 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.SnapshotTime == nil { + m.SnapshotTime = &dev3.Time{} + } + if unmarshal, ok := interface{}(m.SnapshotTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SnapshotTime); err != nil { + return err + } + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DurabilityPolicy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DurabilityPolicy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SidecarDbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SidecarDbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -30794,7 +34601,7 @@ func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteKeyspaceResponse) UnmarshalVT(dAtA []byte) error { +func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30817,12 +34624,48 @@ func (m *DeleteKeyspaceResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteKeyspaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateKeyspaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -30845,7 +34688,7 @@ func (m *DeleteKeyspaceResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { +func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30868,17 +34711,17 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteShardsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteShardsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -30888,31 +34731,29 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Shards = append(m.Shards, &Shard{}) - if err := m.Shards[len(m.Shards)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardName", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -30922,15 +34763,27 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.Recursive = bool(v != 0) - case 4: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ShardName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EvenIfServing", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -30947,10 +34800,10 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { break } } - m.EvenIfServing = bool(v != 0) - case 5: + m.Force = bool(v != 0) + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeParent", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -30967,7 +34820,7 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { break } } - m.Force = bool(v != 0) + m.IncludeParent = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -30990,7 +34843,7 @@ func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteShardsResponse) UnmarshalVT(dAtA []byte) error { +func (m *CreateShardResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31013,12 +34866,104 @@ func (m *DeleteShardsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteShardsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateShardResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteShardsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &Shard{} + } + if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardAlreadyExists", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ShardAlreadyExists = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -31041,7 +34986,7 @@ func (m *DeleteShardsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *DeleteCellInfoRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31064,15 +35009,15 @@ func (m *DeleteSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteSrvVSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteCellInfoRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31100,18 +35045,38 @@ func (m *DeleteSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cell = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) } - if (iNdEx + skippy) > l { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) @@ -31124,7 +35089,7 @@ func (m *DeleteSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { +func (m *DeleteCellInfoResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31147,10 +35112,10 @@ func (m *DeleteSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteSrvVSchemaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteCellInfoResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteSrvVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -31175,7 +35140,7 @@ func (m *DeleteSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteTabletsRequest) UnmarshalVT(dAtA []byte) error { +func (m *DeleteCellsAliasRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31198,17 +35163,17 @@ func (m *DeleteTabletsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteTabletsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteCellsAliasRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteCellsAliasRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAliases", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -31218,54 +35183,24 @@ func (m *DeleteTabletsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.TabletAliases = append(m.TabletAliases, &dev2.TabletAlias{}) - if unmarshal, ok := interface{}(m.TabletAliases[len(m.TabletAliases)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAliases[len(m.TabletAliases)-1]); err != nil { - return err - } - } + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AllowPrimary = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -31288,7 +35223,7 @@ func (m *DeleteTabletsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *DeleteTabletsResponse) UnmarshalVT(dAtA []byte) error { +func (m *DeleteCellsAliasResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31311,10 +35246,10 @@ func (m *DeleteTabletsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteTabletsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteCellsAliasResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteCellsAliasResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -31339,7 +35274,7 @@ func (m *DeleteTabletsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31362,10 +35297,10 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EmergencyReparentShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EmergencyReparentShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -31401,10 +35336,10 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -31414,29 +35349,17 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Shard = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.Recursive = bool(v != 0) case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -31446,39 +35369,117 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + m.Force = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.NewPrimary == nil { - m.NewPrimary = &dev2.TabletAlias{} + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if unmarshal, ok := interface{}(m.NewPrimary).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { - return err - } + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 4: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteShardsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteShardsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IgnoreReplicas", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31505,24 +35506,16 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IgnoreReplicas = append(m.IgnoreReplicas, &dev2.TabletAlias{}) - if unmarshal, ok := interface{}(m.IgnoreReplicas[len(m.IgnoreReplicas)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.IgnoreReplicas[len(m.IgnoreReplicas)-1]); err != nil { - return err - } + m.Shards = append(m.Shards, &Shard{}) + if err := m.Shards[len(m.Shards)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitReplicasTimeout", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -31532,39 +35525,15 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= 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.WaitReplicasTimeout == nil { - m.WaitReplicasTimeout = &dev3.Duration{} - } - if unmarshal, ok := interface{}(m.WaitReplicasTimeout).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.WaitReplicasTimeout); err != nil { - return err - } - } - iNdEx = postIndex - case 6: + m.Recursive = bool(v != 0) + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PreventCrossCellPromotion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EvenIfServing", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -31581,10 +35550,10 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { break } } - m.PreventCrossCellPromotion = bool(v != 0) - case 7: + m.EvenIfServing = bool(v != 0) + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitForAllTablets", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -31601,7 +35570,7 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { break } } - m.WaitForAllTablets = bool(v != 0) + m.Force = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -31624,7 +35593,7 @@ func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *EmergencyReparentShardResponse) UnmarshalVT(dAtA []byte) error { +func (m *DeleteShardsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31647,47 +35616,66 @@ func (m *EmergencyReparentShardResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EmergencyReparentShardResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteShardsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EmergencyReparentShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteShardsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteSrvVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31715,94 +35703,59 @@ func (m *EmergencyReparentShardResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) + m.Cell = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", 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 + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.PromotedPrimary == nil { - m.PromotedPrimary = &dev2.TabletAlias{} - } - if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { - return err - } - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Events = append(m.Events, &dev.Event{}) - if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { - return err - } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteSrvVSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteSrvVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -31825,7 +35778,7 @@ func (m *EmergencyReparentShardResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { +func (m *DeleteTabletsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31848,15 +35801,15 @@ func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsAppRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteTabletsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsAppRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAliases", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31883,75 +35836,22 @@ func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TabletAlias == nil { - m.TabletAlias = &dev2.TabletAlias{} - } - if unmarshal, ok := interface{}(m.TabletAlias).(interface { + m.TabletAliases = append(m.TabletAliases, &dev2.TabletAlias{}) + if unmarshal, ok := interface{}(m.TabletAliases[len(m.TabletAliases)-1]).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAliases[len(m.TabletAliases)-1]); err != nil { return err } } iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Query = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) - } - m.MaxRows = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxRows |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UsePool", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -31968,7 +35868,7 @@ func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { break } } - m.UsePool = bool(v != 0) + m.AllowPrimary = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -31991,7 +35891,7 @@ func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { +func (m *DeleteTabletsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32014,56 +35914,12 @@ func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsAppResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteTabletsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { - m.Result = &dev7.QueryResult{} - } - if unmarshal, ok := interface{}(m.Result).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { - return err - } - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -32086,7 +35942,7 @@ func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { +func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32109,15 +35965,79 @@ func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsDBARequest: wiretype end group for non-group") + return fmt.Errorf("proto: EmergencyReparentShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsDBARequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EmergencyReparentShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32144,26 +36064,26 @@ func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TabletAlias == nil { - m.TabletAlias = &dev2.TabletAlias{} + if m.NewPrimary == nil { + m.NewPrimary = &dev2.TabletAlias{} } - if unmarshal, ok := interface{}(m.TabletAlias).(interface { + if unmarshal, ok := interface{}(m.NewPrimary).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { return err } } iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IgnoreReplicas", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -32173,29 +36093,39 @@ func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Query = string(dAtA[iNdEx:postIndex]) + m.IgnoreReplicas = append(m.IgnoreReplicas, &dev2.TabletAlias{}) + if unmarshal, ok := interface{}(m.IgnoreReplicas[len(m.IgnoreReplicas)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.IgnoreReplicas[len(m.IgnoreReplicas)-1]); err != nil { + return err + } + } iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitReplicasTimeout", wireType) } - m.MaxRows = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -32205,14 +36135,39 @@ func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxRows |= int64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 4: + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WaitReplicasTimeout == nil { + m.WaitReplicasTimeout = &dev3.Duration{} + } + if unmarshal, ok := interface{}(m.WaitReplicasTimeout).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.WaitReplicasTimeout); err != nil { + return err + } + } + iNdEx = postIndex + case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PreventCrossCellPromotion", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -32229,10 +36184,10 @@ func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { break } } - m.DisableBinlogs = bool(v != 0) - case 5: + m.PreventCrossCellPromotion = bool(v != 0) + case 7: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field WaitForAllTablets", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -32249,7 +36204,51 @@ func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { break } } - m.ReloadSchema = bool(v != 0) + m.WaitForAllTablets = 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 = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.ExpectedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ExpectedPrimary); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -32272,7 +36271,7 @@ func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteFetchAsDBAResponse) UnmarshalVT(dAtA []byte) error { +func (m *EmergencyReparentShardResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32295,15 +36294,79 @@ func (m *ExecuteFetchAsDBAResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteFetchAsDBAResponse: wiretype end group for non-group") + return fmt.Errorf("proto: EmergencyReparentShardResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteFetchAsDBAResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EmergencyReparentShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32330,17 +36393,59 @@ func (m *ExecuteFetchAsDBAResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Result == nil { - m.Result = &dev7.QueryResult{} + if m.PromotedPrimary == nil { + m.PromotedPrimary = &dev2.TabletAlias{} } - if unmarshal, ok := interface{}(m.Result).(interface { + if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &dev.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { return err } } @@ -32367,7 +36472,7 @@ func (m *ExecuteFetchAsDBAResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32390,10 +36495,10 @@ func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteHookRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteHookRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32442,9 +36547,9 @@ func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletHookRequest", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -32454,36 +36559,63 @@ func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.TabletHookRequest == nil { - m.TabletHookRequest = &dev1.ExecuteHookRequest{} + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) } - if unmarshal, ok := interface{}(m.TabletHookRequest).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletHookRequest); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= int64(b&0x7F) << shift + if b < 0x80 { + break } } - iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UsePool", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UsePool = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -32506,7 +36638,7 @@ func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32529,15 +36661,15 @@ func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExecuteHookResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExecuteHookResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HookResult", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32564,17 +36696,17 @@ func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.HookResult == nil { - m.HookResult = &dev1.ExecuteHookResponse{} + if m.Result == nil { + m.Result = &dev7.QueryResult{} } - if unmarshal, ok := interface{}(m.HookResult).(interface { + if unmarshal, ok := interface{}(m.Result).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.HookResult); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { return err } } @@ -32601,7 +36733,7 @@ func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *FindAllShardsInKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32624,15 +36756,59 @@ func (m *FindAllShardsInKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FindAllShardsInKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteFetchAsDBARequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FindAllShardsInKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteFetchAsDBARequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32660,8 +36836,67 @@ func (m *FindAllShardsInKeyspaceRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Query = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableBinlogs = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -32684,7 +36919,7 @@ func (m *FindAllShardsInKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *FindAllShardsInKeyspaceResponse) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteFetchAsDBAResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32707,15 +36942,15 @@ func (m *FindAllShardsInKeyspaceResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FindAllShardsInKeyspaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteFetchAsDBAResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FindAllShardsInKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteFetchAsDBAResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32742,105 +36977,20 @@ func (m *FindAllShardsInKeyspaceResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Shards == nil { - m.Shards = make(map[string]*Shard) + if m.Result == nil { + m.Result = &dev7.QueryResult{} } - var mapkey string - var mapvalue *Shard - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &Shard{} - if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err } } - m.Shards[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -32864,7 +37014,7 @@ func (m *FindAllShardsInKeyspaceResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32887,17 +37037,17 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetBackupsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteHookRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetBackupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteHookRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -32907,29 +37057,41 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + if m.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletHookRequest", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -32939,82 +37101,36 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) - } - m.Limit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Limit |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Detailed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Detailed = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DetailedLimit", wireType) + if m.TabletHookRequest == nil { + m.TabletHookRequest = &dev1.ExecuteHookRequest{} } - m.DetailedLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.TabletHookRequest).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - m.DetailedLimit |= uint32(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletHookRequest); err != nil { + return err } } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -33037,7 +37153,7 @@ func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33060,15 +37176,15 @@ func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetBackupsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteHookResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetBackupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteHookResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Backups", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HookResult", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33095,15 +37211,17 @@ func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Backups = append(m.Backups, &dev8.BackupInfo{}) - if unmarshal, ok := interface{}(m.Backups[len(m.Backups)-1]).(interface { + if m.HookResult == nil { + m.HookResult = &dev1.ExecuteHookResponse{} + } + if unmarshal, ok := interface{}(m.HookResult).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Backups[len(m.Backups)-1]); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.HookResult); err != nil { return err } } @@ -33130,7 +37248,7 @@ func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellInfoRequest) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteMultiFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33153,15 +37271,59 @@ func (m *GetCellInfoRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellInfoRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteMultiFetchAsDBARequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteMultiFetchAsDBARequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33189,8 +37351,67 @@ func (m *GetCellInfoRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cell = string(dAtA[iNdEx:postIndex]) + m.Sql = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableBinlogs = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -33213,7 +37434,7 @@ func (m *GetCellInfoRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellInfoResponse) UnmarshalVT(dAtA []byte) error { +func (m *ExecuteMultiFetchAsDBAResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33236,15 +37457,15 @@ func (m *GetCellInfoResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellInfoResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ExecuteMultiFetchAsDBAResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExecuteMultiFetchAsDBAResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33271,17 +37492,15 @@ func (m *GetCellInfoResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.CellInfo == nil { - m.CellInfo = &dev2.CellInfo{} - } - if unmarshal, ok := interface{}(m.CellInfo).(interface { + m.Results = append(m.Results, &dev7.QueryResult{}) + if unmarshal, ok := interface{}(m.Results[len(m.Results)-1]).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Results[len(m.Results)-1]); err != nil { return err } } @@ -33308,7 +37527,7 @@ func (m *GetCellInfoResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellInfoNamesRequest) UnmarshalVT(dAtA []byte) error { +func (m *FindAllShardsInKeyspaceRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33331,12 +37550,44 @@ func (m *GetCellInfoNamesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellInfoNamesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: FindAllShardsInKeyspaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellInfoNamesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FindAllShardsInKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -33359,7 +37610,7 @@ func (m *GetCellInfoNamesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellInfoNamesResponse) UnmarshalVT(dAtA []byte) error { +func (m *FindAllShardsInKeyspaceResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33382,17 +37633,17 @@ func (m *GetCellInfoNamesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellInfoNamesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: FindAllShardsInKeyspaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellInfoNamesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FindAllShardsInKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -33402,23 +37653,120 @@ func (m *GetCellInfoNamesResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + if m.Shards == nil { + m.Shards = make(map[string]*Shard) + } + var mapkey string + var mapvalue *Shard + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Shard{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Shards[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -33442,7 +37790,7 @@ func (m *GetCellInfoNamesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { +func (m *ForceCutOverSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33465,12 +37813,76 @@ func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellsAliasesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ForceCutOverSchemaMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellsAliasesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ForceCutOverSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -33493,7 +37905,7 @@ func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { +func (m *ForceCutOverSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33516,15 +37928,15 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCellsAliasesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ForceCutOverSchemaMigrationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCellsAliasesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ForceCutOverSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Aliases", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33551,11 +37963,11 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Aliases == nil { - m.Aliases = make(map[string]*dev2.CellsAlias) + if m.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) } var mapkey string - var mapvalue *dev2.CellsAlias + var mapvalue uint64 for iNdEx < postIndex { entryPreIndex := iNdEx var wire uint64 @@ -33604,7 +38016,6 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey } else if fieldNum == 2 { - var mapmsglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -33614,34 +38025,11 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - mapmsglen |= int(b&0x7F) << shift + mapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &dev2.CellsAlias{} - if unmarshal, ok := interface{}(mapvalue).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { - return err - } - } - iNdEx = postmsgIndex } else { iNdEx = entryPreIndex skippy, err := skip(dAtA[iNdEx:]) @@ -33657,7 +38045,7 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { iNdEx += skippy } } - m.Aliases[mapkey] = mapvalue + m.RowsAffectedByShard[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -33681,7 +38069,7 @@ func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33704,15 +38092,188 @@ func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetFullStatusRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetBackupsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetFullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetBackupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + m.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Limit |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Detailed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Detailed = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DetailedLimit", wireType) + } + m.DetailedLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DetailedLimit |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetBackupsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetBackupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Backups", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33739,17 +38300,15 @@ func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TabletAlias == nil { - m.TabletAlias = &dev2.TabletAlias{} - } - if unmarshal, ok := interface{}(m.TabletAlias).(interface { + m.Backups = append(m.Backups, &dev8.BackupInfo{}) + if unmarshal, ok := interface{}(m.Backups[len(m.Backups)-1]).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Backups[len(m.Backups)-1]); err != nil { return err } } @@ -33776,7 +38335,7 @@ func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetFullStatusResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetCellInfoRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33799,15 +38358,98 @@ func (m *GetFullStatusResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetFullStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetCellInfoRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetFullStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfoResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33834,17 +38476,17 @@ func (m *GetFullStatusResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Status == nil { - m.Status = &dev9.FullStatus{} + if m.CellInfo == nil { + m.CellInfo = &dev2.CellInfo{} } - if unmarshal, ok := interface{}(m.Status).(interface { + if unmarshal, ok := interface{}(m.CellInfo).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { return err } } @@ -33871,7 +38513,2191 @@ func (m *GetFullStatusResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetCellInfoNamesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfoNamesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfoNamesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfoNamesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfoNamesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfoNamesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Aliases", 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.Aliases == nil { + m.Aliases = make(map[string]*dev2.CellsAlias) + } + var mapkey string + var mapvalue *dev2.CellsAlias + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &dev2.CellsAlias{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Aliases[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetFullStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetFullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetFullStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetFullStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetFullStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status == nil { + m.Status = &dev9.FullStatus{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspacesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspacesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", 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 + } + m.Keyspaces = append(m.Keyspaces, &Keyspace{}) + if err := m.Keyspaces[len(m.Keyspaces)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", 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.Permissions == nil { + m.Permissions = &dev1.Permissions{} + } + if unmarshal, ok := interface{}(m.Permissions).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Permissions); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspaceRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspaceRoutingRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspaceRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspaceRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspaceRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspaceRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceRoutingRules", 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.KeyspaceRoutingRules == nil { + m.KeyspaceRoutingRules = &dev5.KeyspaceRoutingRules{} + } + if unmarshal, ok := interface{}(m.KeyspaceRoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.KeyspaceRoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetRoutingRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", 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.RoutingRules == nil { + m.RoutingRules = &dev5.RoutingRules{} + } + if unmarshal, ok := interface{}(m.RoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeViews = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableNamesOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableNamesOnly = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSizesOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableSizesOnly = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSchemaOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableSchemaOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Schema", 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.Schema == nil { + m.Schema = &dev1.SchemaDefinition{} + } + if unmarshal, ok := interface{}(m.Schema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Schema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationContext", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MigrationContext = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + m.Status = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Status |= SchemaMigration_Status(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Recent", 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.Recent == nil { + m.Recent = &dev3.Duration{} + } + if unmarshal, ok := interface{}(m.Recent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Recent); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) + } + m.Order = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Order |= QueryOrdering(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + m.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Limit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Skip", wireType) + } + m.Skip = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Skip |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Migrations", 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 + } + m.Migrations = append(m.Migrations, &SchemaMigration{}) + if err := m.Migrations[len(m.Migrations)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardReplicationResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33894,12 +40720,149 @@ func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetKeyspacesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetShardReplicationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetShardReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardReplicationByCell", 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.ShardReplicationByCell == nil { + m.ShardReplicationByCell = make(map[string]*dev2.ShardReplication) + } + var mapkey string + var mapvalue *dev2.ShardReplication + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &dev2.ShardReplication{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ShardReplicationByCell[mapkey] = mapvalue + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -33922,7 +40885,7 @@ func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetShardRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33945,17 +40908,17 @@ func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetKeyspacesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetShardRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -33965,25 +40928,55 @@ func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspaces = append(m.Keyspaces, &Keyspace{}) - if err := m.Keyspaces[len(m.Keyspaces)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ShardName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -34007,7 +41000,7 @@ func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetShardResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34030,17 +41023,17 @@ func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetKeyspaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetShardResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -34050,23 +41043,27 @@ func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + if m.Shard == nil { + m.Shard = &Shard{} + } + if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -34090,7 +41087,7 @@ func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetKeyspaceResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34113,48 +41110,12 @@ func (m *GetKeyspaceResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetKeyspaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetShardRoutingRulesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetShardRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { - m.Keyspace = &Keyspace{} - } - if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -34177,7 +41138,7 @@ func (m *GetKeyspaceResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34200,15 +41161,15 @@ func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPermissionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetShardRoutingRulesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetShardRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ShardRoutingRules", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -34235,17 +41196,17 @@ func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TabletAlias == nil { - m.TabletAlias = &dev2.TabletAlias{} + if m.ShardRoutingRules == nil { + m.ShardRoutingRules = &dev5.ShardRoutingRules{} } - if unmarshal, ok := interface{}(m.TabletAlias).(interface { + if unmarshal, ok := interface{}(m.ShardRoutingRules).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ShardRoutingRules); err != nil { return err } } @@ -34272,7 +41233,7 @@ func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspaceNamesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34295,17 +41256,17 @@ func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPermissionsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspaceNamesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspaceNamesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -34315,35 +41276,23 @@ func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Permissions == nil { - m.Permissions = &dev1.Permissions{} - } - if unmarshal, ok := interface{}(m.Permissions).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Permissions); err != nil { - return err - } - } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -34367,7 +41316,7 @@ func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspaceNamesResponse_NameList) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34390,12 +41339,44 @@ func (m *GetRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetRoutingRulesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse_NameList: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse_NameList: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -34418,7 +41399,7 @@ func (m *GetRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34441,15 +41422,15 @@ func (m *GetRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetRoutingRulesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -34476,20 +41457,105 @@ func (m *GetRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RoutingRules == nil { - m.RoutingRules = &dev5.RoutingRules{} + if m.Names == nil { + m.Names = make(map[string]*GetSrvKeyspaceNamesResponse_NameList) } - if unmarshal, ok := interface{}(m.RoutingRules).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var mapkey string + var mapvalue *GetSrvKeyspaceNamesResponse_NameList + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RoutingRules); err != nil { - return err + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &GetSrvKeyspaceNamesResponse_NameList{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } + m.Names[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -34513,7 +41579,7 @@ func (m *GetRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34536,59 +41602,15 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspacesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { - m.TabletAlias = &dev2.TabletAlias{} - } - if unmarshal, ok := interface{}(m.TabletAlias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { - return err - } - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34616,11 +41638,11 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34648,88 +41670,8 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IncludeViews = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TableNamesOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TableNamesOnly = bool(v != 0) - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TableSizesOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TableSizesOnly = bool(v != 0) - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TableSchemaOnly", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.TableSchemaOnly = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -34752,7 +41694,7 @@ func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34775,15 +41717,15 @@ func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvKeyspacesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SrvKeyspaces", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -34810,20 +41752,113 @@ func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Schema == nil { - m.Schema = &dev1.SchemaDefinition{} + if m.SrvKeyspaces == nil { + m.SrvKeyspaces = make(map[string]*dev2.SrvKeyspace) } - if unmarshal, ok := interface{}(m.Schema).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err + var mapkey string + var mapvalue *dev2.SrvKeyspace + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Schema); err != nil { - return err + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &dev2.SrvKeyspace{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } + m.SrvKeyspaces[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -34847,7 +41882,7 @@ func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { +func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34870,10 +41905,10 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSchemaMigrationsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateThrottlerConfigRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateThrottlerConfigRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -34909,10 +41944,10 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -34922,27 +41957,46 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + m.Enable = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Disable", wireType) } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if postIndex > l { + m.Disable = bool(v != 0) + case 4: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) + } + var v uint64 + if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } - m.Uuid = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Threshold = float64(math.Float64frombits(v)) + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationContext", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CustomQuery", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34970,13 +42024,13 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.MigrationContext = string(dAtA[iNdEx:postIndex]) + m.CustomQuery = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CustomQuerySet", wireType) } - m.Status = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -34986,14 +42040,55 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Status |= SchemaMigration_Status(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 5: + m.CustomQuerySet = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckAsCheckSelf", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CheckAsCheckSelf = bool(v != 0) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckAsCheckShard", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CheckAsCheckShard = bool(v != 0) + case 9: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Recent", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ThrottledApp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -35020,26 +42115,26 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Recent == nil { - m.Recent = &dev3.Duration{} + if m.ThrottledApp == nil { + m.ThrottledApp = &dev2.ThrottledAppRule{} } - if unmarshal, ok := interface{}(m.Recent).(interface { + if unmarshal, ok := interface{}(m.ThrottledApp).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Recent); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ThrottledApp); err != nil { return err } } iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MetricName", wireType) } - m.Order = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -35049,35 +42144,29 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Order |= QueryOrdering(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - m.Limit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Limit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Skip", wireType) + if postIndex > l { + return io.ErrUnexpectedEOF } - m.Skip = 0 + m.MetricName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) + } + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -35087,67 +42176,29 @@ func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Skip |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetSchemaMigrationsResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetSchemaMigrationsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetSchemaMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.AppName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Migrations", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AppCheckedMetrics", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -35157,25 +42208,23 @@ func (m *GetSchemaMigrationsResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Migrations = append(m.Migrations, &SchemaMigration{}) - if err := m.Migrations[len(m.Migrations)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AppCheckedMetrics = append(m.AppCheckedMetrics, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -35199,7 +42248,7 @@ func (m *GetSchemaMigrationsResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetShardRequest) UnmarshalVT(dAtA []byte) error { +func (m *UpdateThrottlerConfigResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35222,76 +42271,12 @@ func (m *GetShardRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetShardRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateThrottlerConfigResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateThrottlerConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ShardName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -35314,7 +42299,7 @@ func (m *GetShardRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetShardResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35337,17 +42322,17 @@ func (m *GetShardResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetShardResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvVSchemaRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -35357,27 +42342,23 @@ func (m *GetShardResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Shard == nil { - m.Shard = &Shard{} - } - if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Cell = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -35401,58 +42382,7 @@ func (m *GetShardResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetShardRoutingRulesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetShardRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35475,15 +42405,15 @@ func (m *GetShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetShardRoutingRulesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvVSchemaResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetShardRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardRoutingRules", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchema", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -35510,17 +42440,17 @@ func (m *GetShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ShardRoutingRules == nil { - m.ShardRoutingRules = &dev5.ShardRoutingRules{} + if m.SrvVSchema == nil { + m.SrvVSchema = &dev5.SrvVSchema{} } - if unmarshal, ok := interface{}(m.ShardRoutingRules).(interface { + if unmarshal, ok := interface{}(m.SrvVSchema).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ShardRoutingRules); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SrvVSchema); err != nil { return err } } @@ -35547,7 +42477,7 @@ func (m *GetShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvKeyspaceNamesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35570,13 +42500,13 @@ func (m *GetSrvKeyspaceNamesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspaceNamesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvVSchemasRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspaceNamesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } @@ -35630,90 +42560,7 @@ func (m *GetSrvKeyspaceNamesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvKeyspaceNamesResponse_NameList) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse_NameList: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse_NameList: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35736,15 +42583,15 @@ func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetSrvVSchemasResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetSrvVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchemas", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -35771,11 +42618,11 @@ func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Names == nil { - m.Names = make(map[string]*GetSrvKeyspaceNamesResponse_NameList) + if m.SrvVSchemas == nil { + m.SrvVSchemas = make(map[string]*dev5.SrvVSchema) } var mapkey string - var mapvalue *GetSrvKeyspaceNamesResponse_NameList + var mapvalue *dev5.SrvVSchema for iNdEx < postIndex { entryPreIndex := iNdEx var wire uint64 @@ -35849,9 +42696,17 @@ func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { if postmsgIndex > l { return io.ErrUnexpectedEOF } - mapvalue = &GetSrvKeyspaceNamesResponse_NameList{} - if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err + mapvalue = &dev5.SrvVSchema{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } } iNdEx = postmsgIndex } else { @@ -35869,7 +42724,7 @@ func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { iNdEx += skippy } } - m.Names[mapkey] = mapvalue + m.SrvVSchemas[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -35893,7 +42748,7 @@ func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35916,49 +42771,17 @@ func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspacesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTabletRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -35968,23 +42791,35 @@ func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + if m.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } iNdEx = postIndex default: iNdEx = preIndex @@ -36008,7 +42843,7 @@ func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetTabletResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36031,15 +42866,15 @@ func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvKeyspacesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTabletResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrvKeyspaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -36066,113 +42901,20 @@ func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SrvKeyspaces == nil { - m.SrvKeyspaces = make(map[string]*dev2.SrvKeyspace) + if m.Tablet == nil { + m.Tablet = &dev2.Tablet{} } - var mapkey string - var mapvalue *dev2.SrvKeyspace - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &dev2.SrvKeyspace{} - if unmarshal, ok := interface{}(mapvalue).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { - return err - } - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err } } - m.SrvKeyspaces[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -36196,7 +42938,7 @@ func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36219,10 +42961,10 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateThrottlerConfigRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTabletsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateThrottlerConfigRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -36258,10 +43000,10 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -36271,46 +43013,27 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.Enable = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Disable", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength } - m.Disable = bool(v != 0) - case 4: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength } - var v uint64 - if (iNdEx + 8) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Threshold = float64(math.Float64frombits(v)) - case 5: + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CustomQuery", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -36338,11 +43061,11 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CustomQuery = string(dAtA[iNdEx:postIndex]) + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 6: + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CustomQuerySet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Strict", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -36359,12 +43082,12 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { break } } - m.CustomQuerySet = bool(v != 0) - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CheckAsCheckSelf", wireType) + m.Strict = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAliases", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -36374,17 +43097,39 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.CheckAsCheckSelf = bool(v != 0) - case 8: + if msglen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TabletAliases = append(m.TabletAliases, &dev2.TabletAlias{}) + if unmarshal, ok := interface{}(m.TabletAliases[len(m.TabletAliases)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAliases[len(m.TabletAliases)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CheckAsCheckShard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) } - var v int + m.TabletType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -36394,15 +43139,65 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.TabletType |= dev2.TabletType(b&0x7F) << shift if b < 0x80 { break } } - m.CheckAsCheckShard = bool(v != 0) - case 9: + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThrottledApp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tablets", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -36429,17 +43224,110 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ThrottledApp == nil { - m.ThrottledApp = &dev2.ThrottledAppRule{} + m.Tablets = append(m.Tablets, &dev2.Tablet{}) + if unmarshal, ok := interface{}(m.Tablets[len(m.Tablets)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablets[len(m.Tablets)-1]); err != nil { + return err + } } - if unmarshal, ok := interface{}(m.ThrottledApp).(interface { + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetThrottlerStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetThrottlerStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetThrottlerStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ThrottledApp); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { return err } } @@ -36466,7 +43354,7 @@ func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *UpdateThrottlerConfigResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetThrottlerStatusResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36489,12 +43377,56 @@ func (m *UpdateThrottlerConfigResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateThrottlerConfigResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetThrottlerStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateThrottlerConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetThrottlerStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status == nil { + m.Status = &dev1.GetThrottlerStatusResponse{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -36517,7 +43449,7 @@ func (m *UpdateThrottlerConfigResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36540,15 +43472,15 @@ func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvVSchemaRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopologyPathRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopologyPathRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -36576,8 +43508,47 @@ func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cell = string(dAtA[iNdEx:postIndex]) + m.Path = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AsJson", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AsJson = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -36600,7 +43571,7 @@ func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetTopologyPathResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36623,15 +43594,15 @@ func (m *GetSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvVSchemaResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopologyPathResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopologyPathResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchema", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -36655,22 +43626,14 @@ func (m *GetSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { if postIndex < 0 { return ErrInvalidLength } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SrvVSchema == nil { - m.SrvVSchema = &dev5.SrvVSchema{} - } - if unmarshal, ok := interface{}(m.SrvVSchema).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SrvVSchema); err != nil { - return err - } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Cell == nil { + m.Cell = &TopologyCell{} + } + if err := m.Cell.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -36695,7 +43658,7 @@ func (m *GetSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { +func (m *TopologyCell) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36718,15 +43681,47 @@ func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvVSchemasRequest: wiretype end group for non-group") + return fmt.Errorf("proto: TopologyCell: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TopologyCell: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -36754,8 +43749,91 @@ func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + m.Path = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Children", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Children = append(m.Children, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -36778,7 +43856,7 @@ func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetUnresolvedTransactionsRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36801,17 +43879,17 @@ func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetSrvVSchemasResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUnresolvedTransactionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetSrvVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUnresolvedTransactionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchemas", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -36821,129 +43899,43 @@ func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.SrvVSchemas == nil { - m.SrvVSchemas = make(map[string]*dev5.SrvVSchema) + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AbandonAge", wireType) } - var mapkey string - var mapvalue *dev5.SrvVSchema - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + m.AbandonAge = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLength - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLength - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLength - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &dev5.SrvVSchema{} - if unmarshal, ok := interface{}(mapvalue).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { - return err - } - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AbandonAge |= int64(b&0x7F) << shift + if b < 0x80 { + break } } - m.SrvVSchemas[mapkey] = mapvalue - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -36966,7 +43958,7 @@ func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { +func (m *GetUnresolvedTransactionsResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36989,15 +43981,15 @@ func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTabletRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUnresolvedTransactionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUnresolvedTransactionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Transactions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -37024,17 +44016,15 @@ func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TabletAlias == nil { - m.TabletAlias = &dev2.TabletAlias{} - } - if unmarshal, ok := interface{}(m.TabletAlias).(interface { + m.Transactions = append(m.Transactions, &dev7.TransactionMetadata{}) + if unmarshal, ok := interface{}(m.Transactions[len(m.Transactions)-1]).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Transactions[len(m.Transactions)-1]); err != nil { return err } } @@ -37061,7 +44051,7 @@ func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetTabletResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetTransactionInfoRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37084,17 +44074,17 @@ func (m *GetTabletResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTabletResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTransactionInfoRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTransactionInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tablet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -37104,35 +44094,23 @@ func (m *GetTabletResponse) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Tablet == nil { - m.Tablet = &dev2.Tablet{} - } - if unmarshal, ok := interface{}(m.Tablet).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { - return err - } - } + m.Dtid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -37156,7 +44134,7 @@ func (m *GetTabletResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { +func (m *ShardTransactionState) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37179,15 +44157,15 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTabletsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ShardTransactionState: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ShardTransactionState: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37215,11 +44193,11 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Shard = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37247,11 +44225,11 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Shard = string(dAtA[iNdEx:postIndex]) + m.State = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37279,13 +44257,13 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + m.Message = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Strict", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TimeCreated", wireType) } - var v int + m.TimeCreated = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -37295,17 +44273,16 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.TimeCreated |= int64(b&0x7F) << shift if b < 0x80 { break } } - m.Strict = bool(v != 0) case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAliases", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Statements", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -37315,53 +44292,24 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLength } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.TabletAliases = append(m.TabletAliases, &dev2.TabletAlias{}) - if unmarshal, ok := interface{}(m.TabletAliases[len(m.TabletAliases)-1]).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAliases[len(m.TabletAliases)-1]); err != nil { - return err - } - } + m.Statements = append(m.Statements, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) - } - m.TabletType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TabletType |= dev2.TabletType(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -37384,7 +44332,7 @@ func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { +func (m *GetTransactionInfoResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37407,15 +44355,15 @@ func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTabletsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTransactionInfoResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTransactionInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tablets", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -37442,156 +44390,24 @@ func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tablets = append(m.Tablets, &dev2.Tablet{}) - if unmarshal, ok := interface{}(m.Tablets[len(m.Tablets)-1]).(interface { + if m.Metadata == nil { + m.Metadata = &dev7.TransactionMetadata{} + } + if unmarshal, ok := interface{}(m.Metadata).(interface { UnmarshalVT([]byte) error }); ok { if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablets[len(m.Tablets)-1]); err != nil { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Metadata); err != nil { return err } } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTopologyPathRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopologyPathRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Path = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTopologyPathResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTopologyPathResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopologyPathResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ShardStates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -37618,10 +44434,8 @@ func (m *GetTopologyPathResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Cell == nil { - m.Cell = &TopologyCell{} - } - if err := m.Cell.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + m.ShardStates = append(m.ShardStates, &ShardTransactionState{}) + if err := m.ShardStates[len(m.ShardStates)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -37647,7 +44461,7 @@ func (m *GetTopologyPathResponse) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *TopologyCell) UnmarshalVT(dAtA []byte) error { +func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37670,15 +44484,15 @@ func (m *TopologyCell) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TopologyCell: wiretype end group for non-group") + return fmt.Errorf("proto: ConcludeTransactionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TopologyCell: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ConcludeTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37706,13 +44520,13 @@ func (m *TopologyCell) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Dtid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Participants", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -37722,88 +44536,85 @@ func (m *TopologyCell) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Path = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.Participants = append(m.Participants, &dev7.Target{}) + if unmarshal, ok := interface{}(m.Participants[len(m.Participants)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Participants[len(m.Participants)-1]); err != nil { + return err } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Data = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Children", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Children = append(m.Children, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConcludeTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConcludeTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -38335,6 +45146,38 @@ func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { } } m.IncludeLogs = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -41937,6 +48780,42 @@ func (m *MoveTablesCreateRequest) UnmarshalVT(dAtA []byte) error { } } m.AtomicCopy = bool(v != 0) + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowOptions", 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.WorkflowOptions == nil { + m.WorkflowOptions = &WorkflowOptions{} + } + if err := m.WorkflowOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -42364,6 +49243,38 @@ func (m *MoveTablesCompleteRequest) UnmarshalVT(dAtA []byte) error { } } m.DryRun = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -42916,6 +49827,70 @@ func (m *PlannedReparentShardRequest) UnmarshalVT(dAtA []byte) error { } } iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowCrossCellPromotion", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowCrossCellPromotion = 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 = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.ExpectedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ExpectedPrimary); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -44128,7 +51103,7 @@ func (m *ReloadSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Concurrency |= uint32(b&0x7F) << shift + m.Concurrency |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -44407,7 +51382,7 @@ func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Concurrency |= uint32(b&0x7F) << shift + m.Concurrency |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -45812,6 +52787,42 @@ func (m *ReshardCreateRequest) UnmarshalVT(dAtA []byte) error { } } m.AutoStart = bool(v != 0) + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowOptions", 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.WorkflowOptions == nil { + m.WorkflowOptions = &WorkflowOptions{} + } + if err := m.WorkflowOptions.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -46047,6 +53058,38 @@ func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { } } iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowedBackupEngines", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllowedBackupEngines = append(m.AllowedBackupEngines, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -46574,373 +53617,17 @@ func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { - m.TabletAlias = &dev2.TabletAlias{} - } - if unmarshal, ok := interface{}(m.TabletAlias).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { - return err - } - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetKeyspaceDurabilityPolicyRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DurabilityPolicy", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DurabilityPolicy = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetKeyspaceDurabilityPolicyResponse) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { - m.Keyspace = &dev2.Keyspace{} - } - if unmarshal, ok := interface{}(m.Keyspace).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Keyspace); err != nil { - return err - } - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetKeyspaceServedFromRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetKeyspaceServedFromRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetKeyspaceServedFromRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflow @@ -46950,46 +53637,141 @@ func (m *SetKeyspaceServedFromRequest) UnmarshalVT(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLength } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + if m.TabletAlias == nil { + m.TabletAlias = &dev2.TabletAlias{} } - m.TabletType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - m.TabletType |= dev2.TabletType(b&0x7F) << shift - if b < 0x80 { - break + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err } } - case 3: + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetKeyspaceDurabilityPolicyRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -47017,31 +53799,11 @@ func (m *SetKeyspaceServedFromRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Remove", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Remove = bool(v != 0) - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceKeyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DurabilityPolicy", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -47069,7 +53831,7 @@ func (m *SetKeyspaceServedFromRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SourceKeyspace = string(dAtA[iNdEx:postIndex]) + m.DurabilityPolicy = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -47093,7 +53855,7 @@ func (m *SetKeyspaceServedFromRequest) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *SetKeyspaceServedFromResponse) UnmarshalVT(dAtA []byte) error { +func (m *SetKeyspaceDurabilityPolicyResponse) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -47116,10 +53878,10 @@ func (m *SetKeyspaceServedFromResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetKeyspaceServedFromResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetKeyspaceServedFromResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -53752,6 +60514,90 @@ func (m *VDiffCreateRequest) UnmarshalVT(dAtA []byte) error { break } } + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxDiffDuration", 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.MaxDiffDuration == nil { + m.MaxDiffDuration = &dev3.Duration{} + } + if unmarshal, ok := interface{}(m.MaxDiffDuration).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.MaxDiffDuration); err != nil { + return err + } + } + iNdEx = postIndex + case 21: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowDiffColumnTruncateAt", wireType) + } + m.RowDiffColumnTruncateAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowDiffColumnTruncateAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 22: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.AutoStart = &b default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -54180,6 +61026,38 @@ func (m *VDiffResumeRequest) UnmarshalVT(dAtA []byte) error { } m.Uuid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetShards = append(m.TargetShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -54713,6 +61591,38 @@ func (m *VDiffStopRequest) UnmarshalVT(dAtA []byte) error { } m.Uuid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetShards = append(m.TargetShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -54877,102 +61787,300 @@ func (m *WorkflowDeleteRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Workflow = string(dAtA[iNdEx:postIndex]) + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepData", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepData = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepRoutingRules", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepRoutingRules = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeleteBatchSize", wireType) + } + m.DeleteBatchSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DeleteBatchSize |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowDeleteResponse_TabletInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowDeleteResponse_TabletInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowDeleteResponse_TabletInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &dev2.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Deleted = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowDeleteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowDeleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeepData", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.KeepData = bool(v != 0) - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeepRoutingRules", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.KeepRoutingRules = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WorkflowDeleteResponse_TabletInfo) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WorkflowDeleteResponse_TabletInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WorkflowDeleteResponse_TabletInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tablet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -54999,41 +62107,11 @@ func (m *WorkflowDeleteResponse_TabletInfo) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Tablet == nil { - m.Tablet = &dev2.TabletAlias{} - } - if unmarshal, ok := interface{}(m.Tablet).(interface { - UnmarshalVT([]byte) error - }); ok { - if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - } else { - if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { - return err - } + m.Details = append(m.Details, &WorkflowDeleteResponse_TabletInfo{}) + if err := m.Details[len(m.Details)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Deleted = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -55056,7 +62134,7 @@ func (m *WorkflowDeleteResponse_TabletInfo) UnmarshalVT(dAtA []byte) error { } return nil } -func (m *WorkflowDeleteResponse) UnmarshalVT(dAtA []byte) error { +func (m *WorkflowStatusRequest) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -55079,15 +62157,15 @@ func (m *WorkflowDeleteResponse) UnmarshalVT(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: WorkflowDeleteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: WorkflowStatusRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: WorkflowDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WorkflowStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -55115,96 +62193,11 @@ func (m *WorkflowDeleteResponse) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Summary = string(dAtA[iNdEx:postIndex]) + m.Keyspace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", 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 - } - m.Details = append(m.Details, &WorkflowDeleteResponse_TabletInfo{}) - if err := m.Details[len(m.Details)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skip(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLength - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WorkflowStatusRequest) UnmarshalVT(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WorkflowStatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WorkflowStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -55232,11 +62225,11 @@ func (m *WorkflowStatusRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Keyspace = string(dAtA[iNdEx:postIndex]) + m.Workflow = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -55264,7 +62257,7 @@ func (m *WorkflowStatusRequest) UnmarshalVT(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Workflow = string(dAtA[iNdEx:postIndex]) + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -56428,7 +63421,27 @@ func (m *WorkflowSwitchTrafficRequest) UnmarshalVT(dAtA []byte) error { iNdEx = postIndex case 9: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitializeTargetSequences", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -56445,10 +63458,42 @@ func (m *WorkflowSwitchTrafficRequest) UnmarshalVT(dAtA []byte) error { break } } - m.DryRun = bool(v != 0) - case 10: + m.InitializeTargetSequences = bool(v != 0) + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 12: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field InitializeTargetSequences", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -56465,7 +63510,7 @@ func (m *WorkflowSwitchTrafficRequest) UnmarshalVT(dAtA []byte) error { break } } - m.InitializeTargetSequences = bool(v != 0) + m.Force = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -57026,6 +64071,494 @@ func (m *WorkflowUpdateResponse) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *GetMirrorRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetMirrorRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetMirrorRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetMirrorRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetMirrorRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetMirrorRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MirrorRules", 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.MirrorRules == nil { + m.MirrorRules = &dev5.MirrorRules{} + } + if unmarshal, ok := interface{}(m.MirrorRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.MirrorRules); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowMirrorTrafficRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowMirrorTrafficRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowMirrorTrafficRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType == 0 { + var v dev2.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev2.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]dev2.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v dev2.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= dev2.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 4: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field Percent", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.Percent = float32(math.Float32frombits(v)) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowMirrorTrafficResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowMirrorTrafficResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowMirrorTrafficResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartState", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StartState = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentState", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CurrentState = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skip(dAtA []byte) (n int, err error) { l := len(dAtA) diff --git a/gen/vitess/vtctldata/v16/vtctldata.pb.go b/gen/vitess/vtctldata/v16/vtctldata.pb.go index df8e38b..0d0a7dd 100644 --- a/gen/vitess/vtctldata/v16/vtctldata.pb.go +++ b/gen/vitess/vtctldata/v16/vtctldata.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctldata/v16/vtctldata.proto @@ -12223,7 +12223,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_rawDescGZIP() []byte { var file_vitess_vtctldata_v16_vtctldata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtctldata_v16_vtctldata_proto_msgTypes = make([]protoimpl.MessageInfo, 198) -var file_vitess_vtctldata_v16_vtctldata_proto_goTypes = []interface{}{ +var file_vitess_vtctldata_v16_vtctldata_proto_goTypes = []any{ (MaterializationIntent)(0), // 0: vitess.vtctldata.v16.MaterializationIntent (*ExecuteVtctlCommandRequest)(nil), // 1: vitess.vtctldata.v16.ExecuteVtctlCommandRequest (*ExecuteVtctlCommandResponse)(nil), // 2: vitess.vtctldata.v16.ExecuteVtctlCommandResponse @@ -12613,7 +12613,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ExecuteVtctlCommandRequest); i { case 0: return &v.state @@ -12625,7 +12625,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ExecuteVtctlCommandResponse); i { case 0: return &v.state @@ -12637,7 +12637,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*TableMaterializeSettings); i { case 0: return &v.state @@ -12649,7 +12649,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*MaterializeSettings); i { case 0: return &v.state @@ -12661,7 +12661,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -12673,7 +12673,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -12685,7 +12685,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*Workflow); i { case 0: return &v.state @@ -12697,7 +12697,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*AddCellInfoRequest); i { case 0: return &v.state @@ -12709,7 +12709,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*AddCellInfoResponse); i { case 0: return &v.state @@ -12721,7 +12721,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*AddCellsAliasRequest); i { case 0: return &v.state @@ -12733,7 +12733,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*AddCellsAliasResponse); i { case 0: return &v.state @@ -12745,7 +12745,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ApplyRoutingRulesRequest); i { case 0: return &v.state @@ -12757,7 +12757,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ApplyRoutingRulesResponse); i { case 0: return &v.state @@ -12769,7 +12769,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ApplyShardRoutingRulesRequest); i { case 0: return &v.state @@ -12781,7 +12781,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ApplyShardRoutingRulesResponse); i { case 0: return &v.state @@ -12793,7 +12793,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaRequest); i { case 0: return &v.state @@ -12805,7 +12805,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaResponse); i { case 0: return &v.state @@ -12817,7 +12817,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*ApplyVSchemaRequest); i { case 0: return &v.state @@ -12829,7 +12829,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*ApplyVSchemaResponse); i { case 0: return &v.state @@ -12841,7 +12841,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*BackupRequest); i { case 0: return &v.state @@ -12853,7 +12853,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*BackupResponse); i { case 0: return &v.state @@ -12865,7 +12865,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*BackupShardRequest); i { case 0: return &v.state @@ -12877,7 +12877,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*ChangeTabletTypeRequest); i { case 0: return &v.state @@ -12889,7 +12889,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*ChangeTabletTypeResponse); i { case 0: return &v.state @@ -12901,7 +12901,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state @@ -12913,7 +12913,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state @@ -12925,7 +12925,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*CreateShardRequest); i { case 0: return &v.state @@ -12937,7 +12937,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*CreateShardResponse); i { case 0: return &v.state @@ -12949,7 +12949,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellInfoRequest); i { case 0: return &v.state @@ -12961,7 +12961,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellInfoResponse); i { case 0: return &v.state @@ -12973,7 +12973,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellsAliasRequest); i { case 0: return &v.state @@ -12985,7 +12985,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellsAliasResponse); i { case 0: return &v.state @@ -12997,7 +12997,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state @@ -13009,7 +13009,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceResponse); i { case 0: return &v.state @@ -13021,7 +13021,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state @@ -13033,7 +13033,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsResponse); i { case 0: return &v.state @@ -13045,7 +13045,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*DeleteSrvVSchemaRequest); i { case 0: return &v.state @@ -13057,7 +13057,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*DeleteSrvVSchemaResponse); i { case 0: return &v.state @@ -13069,7 +13069,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletsRequest); i { case 0: return &v.state @@ -13081,7 +13081,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletsResponse); i { case 0: return &v.state @@ -13093,7 +13093,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*EmergencyReparentShardRequest); i { case 0: return &v.state @@ -13105,7 +13105,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*EmergencyReparentShardResponse); i { case 0: return &v.state @@ -13117,7 +13117,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state @@ -13129,7 +13129,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state @@ -13141,7 +13141,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDBARequest); i { case 0: return &v.state @@ -13153,7 +13153,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDBAResponse); i { case 0: return &v.state @@ -13165,7 +13165,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookRequest); i { case 0: return &v.state @@ -13177,7 +13177,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookResponse); i { case 0: return &v.state @@ -13189,7 +13189,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*FindAllShardsInKeyspaceRequest); i { case 0: return &v.state @@ -13201,7 +13201,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*FindAllShardsInKeyspaceResponse); i { case 0: return &v.state @@ -13213,7 +13213,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsRequest); i { case 0: return &v.state @@ -13225,7 +13225,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsResponse); i { case 0: return &v.state @@ -13237,7 +13237,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoRequest); i { case 0: return &v.state @@ -13249,7 +13249,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoResponse); i { case 0: return &v.state @@ -13261,7 +13261,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoNamesRequest); i { case 0: return &v.state @@ -13273,7 +13273,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoNamesResponse); i { case 0: return &v.state @@ -13285,7 +13285,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state @@ -13297,7 +13297,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state @@ -13309,7 +13309,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state @@ -13321,7 +13321,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusResponse); i { case 0: return &v.state @@ -13333,7 +13333,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state @@ -13345,7 +13345,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state @@ -13357,7 +13357,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state @@ -13369,7 +13369,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceResponse); i { case 0: return &v.state @@ -13381,7 +13381,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsRequest); i { case 0: return &v.state @@ -13393,7 +13393,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsResponse); i { case 0: return &v.state @@ -13405,7 +13405,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*GetRoutingRulesRequest); i { case 0: return &v.state @@ -13417,7 +13417,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*GetRoutingRulesResponse); i { case 0: return &v.state @@ -13429,7 +13429,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -13441,7 +13441,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -13453,7 +13453,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*GetShardRequest); i { case 0: return &v.state @@ -13465,7 +13465,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*GetShardResponse); i { case 0: return &v.state @@ -13477,7 +13477,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*GetShardRoutingRulesRequest); i { case 0: return &v.state @@ -13489,7 +13489,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*GetShardRoutingRulesResponse); i { case 0: return &v.state @@ -13501,7 +13501,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesRequest); i { case 0: return &v.state @@ -13513,7 +13513,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesResponse); i { case 0: return &v.state @@ -13525,7 +13525,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesRequest); i { case 0: return &v.state @@ -13537,7 +13537,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesResponse); i { case 0: return &v.state @@ -13549,7 +13549,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*UpdateThrottlerConfigRequest); i { case 0: return &v.state @@ -13561,7 +13561,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*UpdateThrottlerConfigResponse); i { case 0: return &v.state @@ -13573,7 +13573,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state @@ -13585,7 +13585,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaResponse); i { case 0: return &v.state @@ -13597,7 +13597,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state @@ -13609,7 +13609,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state @@ -13621,7 +13621,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*GetTabletRequest); i { case 0: return &v.state @@ -13633,7 +13633,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*GetTabletResponse); i { case 0: return &v.state @@ -13645,7 +13645,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsRequest); i { case 0: return &v.state @@ -13657,7 +13657,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsResponse); i { case 0: return &v.state @@ -13669,7 +13669,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state @@ -13681,7 +13681,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathResponse); i { case 0: return &v.state @@ -13693,7 +13693,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*TopologyCell); i { case 0: return &v.state @@ -13705,7 +13705,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -13717,7 +13717,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*GetVersionRequest); i { case 0: return &v.state @@ -13729,7 +13729,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*GetVersionResponse); i { case 0: return &v.state @@ -13741,7 +13741,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaResponse); i { case 0: return &v.state @@ -13753,7 +13753,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -13765,7 +13765,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -13777,7 +13777,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryRequest); i { case 0: return &v.state @@ -13789,7 +13789,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryResponse); i { case 0: return &v.state @@ -13801,7 +13801,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -13813,7 +13813,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -13825,7 +13825,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[101].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardRequest); i { case 0: return &v.state @@ -13837,7 +13837,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[102].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardResponse); i { case 0: return &v.state @@ -13849,7 +13849,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -13861,7 +13861,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -13873,7 +13873,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[105].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphRequest); i { case 0: return &v.state @@ -13885,7 +13885,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[106].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphResponse); i { case 0: return &v.state @@ -13897,7 +13897,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[107].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -13909,7 +13909,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[108].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -13921,7 +13921,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[109].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardRequest); i { case 0: return &v.state @@ -13933,7 +13933,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[110].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardResponse); i { case 0: return &v.state @@ -13945,7 +13945,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[111].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaRequest); i { case 0: return &v.state @@ -13957,7 +13957,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[112].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state @@ -13969,7 +13969,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[113].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceRequest); i { case 0: return &v.state @@ -13981,7 +13981,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[114].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceResponse); i { case 0: return &v.state @@ -13993,7 +13993,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[115].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -14005,7 +14005,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[116].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -14017,7 +14017,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[117].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupRequest); i { case 0: return &v.state @@ -14029,7 +14029,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[118].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupResponse); i { case 0: return &v.state @@ -14041,7 +14041,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[119].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -14053,7 +14053,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[120].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -14065,7 +14065,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[121].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellRequest); i { case 0: return &v.state @@ -14077,7 +14077,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[122].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellResponse); i { case 0: return &v.state @@ -14089,7 +14089,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[123].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletRequest); i { case 0: return &v.state @@ -14101,7 +14101,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[124].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletResponse); i { case 0: return &v.state @@ -14113,7 +14113,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[125].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state @@ -14125,7 +14125,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[126].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state @@ -14137,7 +14137,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[127].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -14149,7 +14149,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[128].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -14161,7 +14161,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[129].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyRequest); i { case 0: return &v.state @@ -14173,7 +14173,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[130].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyResponse); i { case 0: return &v.state @@ -14185,7 +14185,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[131].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceServedFromRequest); i { case 0: return &v.state @@ -14197,7 +14197,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[132].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceServedFromResponse); i { case 0: return &v.state @@ -14209,7 +14209,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[133].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoRequest); i { case 0: return &v.state @@ -14221,7 +14221,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[134].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoResponse); i { case 0: return &v.state @@ -14233,7 +14233,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[135].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingRequest); i { case 0: return &v.state @@ -14245,7 +14245,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[136].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingResponse); i { case 0: return &v.state @@ -14257,7 +14257,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[137].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlRequest); i { case 0: return &v.state @@ -14269,7 +14269,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[138].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlResponse); i { case 0: return &v.state @@ -14281,7 +14281,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[139].Exporter = func(v any, i int) any { switch v := v.(*SetWritableRequest); i { case 0: return &v.state @@ -14293,7 +14293,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[140].Exporter = func(v any, i int) any { switch v := v.(*SetWritableResponse); i { case 0: return &v.state @@ -14305,7 +14305,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[141].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddRequest); i { case 0: return &v.state @@ -14317,7 +14317,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[142].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddResponse); i { case 0: return &v.state @@ -14329,7 +14329,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[143].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixRequest); i { case 0: return &v.state @@ -14341,7 +14341,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[144].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixResponse); i { case 0: return &v.state @@ -14353,7 +14353,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[145].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsRequest); i { case 0: return &v.state @@ -14365,7 +14365,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[146].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsResponse); i { case 0: return &v.state @@ -14377,7 +14377,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[147].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveRequest); i { case 0: return &v.state @@ -14389,7 +14389,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[148].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveResponse); i { case 0: return &v.state @@ -14401,7 +14401,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[149].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletRequest); i { case 0: return &v.state @@ -14413,7 +14413,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[150].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletResponse); i { case 0: return &v.state @@ -14425,7 +14425,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[151].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddRequest); i { case 0: return &v.state @@ -14437,7 +14437,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[152].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddResponse); i { case 0: return &v.state @@ -14449,7 +14449,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[153].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteRequest); i { case 0: return &v.state @@ -14461,7 +14461,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[154].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteResponse); i { case 0: return &v.state @@ -14473,7 +14473,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[155].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -14485,7 +14485,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[156].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -14497,7 +14497,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[157].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -14509,7 +14509,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[158].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -14521,7 +14521,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[159].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -14533,7 +14533,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[160].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedResponse); i { case 0: return &v.state @@ -14545,7 +14545,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[161].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoRequest); i { case 0: return &v.state @@ -14557,7 +14557,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[162].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoResponse); i { case 0: return &v.state @@ -14569,7 +14569,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[163].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasRequest); i { case 0: return &v.state @@ -14581,7 +14581,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[164].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasResponse); i { case 0: return &v.state @@ -14593,7 +14593,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[165].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -14605,7 +14605,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[166].Exporter = func(v any, i int) any { switch v := v.(*ValidateResponse); i { case 0: return &v.state @@ -14617,7 +14617,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[167].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -14629,7 +14629,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[168].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceResponse); i { case 0: return &v.state @@ -14641,7 +14641,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[169].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -14653,7 +14653,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[170].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceResponse); i { case 0: return &v.state @@ -14665,7 +14665,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[171].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -14677,7 +14677,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[172].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardResponse); i { case 0: return &v.state @@ -14689,7 +14689,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[173].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -14701,7 +14701,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[174].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceResponse); i { case 0: return &v.state @@ -14713,7 +14713,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[175].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -14725,7 +14725,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[176].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardResponse); i { case 0: return &v.state @@ -14737,7 +14737,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[177].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaRequest); i { case 0: return &v.state @@ -14749,7 +14749,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[178].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaResponse); i { case 0: return &v.state @@ -14761,7 +14761,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[180].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ReplicationLocation); i { case 0: return &v.state @@ -14773,7 +14773,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[181].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ShardStream); i { case 0: return &v.state @@ -14785,7 +14785,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[182].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream); i { case 0: return &v.state @@ -14797,7 +14797,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[183].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_CopyState); i { case 0: return &v.state @@ -14809,7 +14809,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[184].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_Log); i { case 0: return &v.state @@ -14821,7 +14821,7 @@ func file_vitess_vtctldata_v16_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v16_vtctldata_proto_msgTypes[188].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesResponse_NameList); i { case 0: return &v.state diff --git a/gen/vitess/vtctldata/v17/vtctldata.pb.go b/gen/vitess/vtctldata/v17/vtctldata.pb.go index 7973f4d..c175622 100644 --- a/gen/vitess/vtctldata/v17/vtctldata.pb.go +++ b/gen/vitess/vtctldata/v17/vtctldata.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctldata/v17/vtctldata.proto @@ -12437,7 +12437,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_rawDescGZIP() []byte { var file_vitess_vtctldata_v17_vtctldata_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtctldata_v17_vtctldata_proto_msgTypes = make([]protoimpl.MessageInfo, 201) -var file_vitess_vtctldata_v17_vtctldata_proto_goTypes = []interface{}{ +var file_vitess_vtctldata_v17_vtctldata_proto_goTypes = []any{ (MaterializationIntent)(0), // 0: vitess.vtctldata.v17.MaterializationIntent (*ExecuteVtctlCommandRequest)(nil), // 1: vitess.vtctldata.v17.ExecuteVtctlCommandRequest (*ExecuteVtctlCommandResponse)(nil), // 2: vitess.vtctldata.v17.ExecuteVtctlCommandResponse @@ -12833,7 +12833,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ExecuteVtctlCommandRequest); i { case 0: return &v.state @@ -12845,7 +12845,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ExecuteVtctlCommandResponse); i { case 0: return &v.state @@ -12857,7 +12857,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*TableMaterializeSettings); i { case 0: return &v.state @@ -12869,7 +12869,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*MaterializeSettings); i { case 0: return &v.state @@ -12881,7 +12881,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -12893,7 +12893,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -12905,7 +12905,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*Workflow); i { case 0: return &v.state @@ -12917,7 +12917,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*AddCellInfoRequest); i { case 0: return &v.state @@ -12929,7 +12929,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*AddCellInfoResponse); i { case 0: return &v.state @@ -12941,7 +12941,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*AddCellsAliasRequest); i { case 0: return &v.state @@ -12953,7 +12953,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*AddCellsAliasResponse); i { case 0: return &v.state @@ -12965,7 +12965,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ApplyRoutingRulesRequest); i { case 0: return &v.state @@ -12977,7 +12977,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ApplyRoutingRulesResponse); i { case 0: return &v.state @@ -12989,7 +12989,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ApplyShardRoutingRulesRequest); i { case 0: return &v.state @@ -13001,7 +13001,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ApplyShardRoutingRulesResponse); i { case 0: return &v.state @@ -13013,7 +13013,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaRequest); i { case 0: return &v.state @@ -13025,7 +13025,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaResponse); i { case 0: return &v.state @@ -13037,7 +13037,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*ApplyVSchemaRequest); i { case 0: return &v.state @@ -13049,7 +13049,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*ApplyVSchemaResponse); i { case 0: return &v.state @@ -13061,7 +13061,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*BackupRequest); i { case 0: return &v.state @@ -13073,7 +13073,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*BackupResponse); i { case 0: return &v.state @@ -13085,7 +13085,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*BackupShardRequest); i { case 0: return &v.state @@ -13097,7 +13097,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*ChangeTabletTypeRequest); i { case 0: return &v.state @@ -13109,7 +13109,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*ChangeTabletTypeResponse); i { case 0: return &v.state @@ -13121,7 +13121,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state @@ -13133,7 +13133,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state @@ -13145,7 +13145,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*CreateShardRequest); i { case 0: return &v.state @@ -13157,7 +13157,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*CreateShardResponse); i { case 0: return &v.state @@ -13169,7 +13169,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellInfoRequest); i { case 0: return &v.state @@ -13181,7 +13181,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellInfoResponse); i { case 0: return &v.state @@ -13193,7 +13193,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellsAliasRequest); i { case 0: return &v.state @@ -13205,7 +13205,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellsAliasResponse); i { case 0: return &v.state @@ -13217,7 +13217,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state @@ -13229,7 +13229,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceResponse); i { case 0: return &v.state @@ -13241,7 +13241,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state @@ -13253,7 +13253,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsResponse); i { case 0: return &v.state @@ -13265,7 +13265,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*DeleteSrvVSchemaRequest); i { case 0: return &v.state @@ -13277,7 +13277,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*DeleteSrvVSchemaResponse); i { case 0: return &v.state @@ -13289,7 +13289,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletsRequest); i { case 0: return &v.state @@ -13301,7 +13301,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletsResponse); i { case 0: return &v.state @@ -13313,7 +13313,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*EmergencyReparentShardRequest); i { case 0: return &v.state @@ -13325,7 +13325,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*EmergencyReparentShardResponse); i { case 0: return &v.state @@ -13337,7 +13337,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state @@ -13349,7 +13349,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state @@ -13361,7 +13361,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDBARequest); i { case 0: return &v.state @@ -13373,7 +13373,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDBAResponse); i { case 0: return &v.state @@ -13385,7 +13385,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookRequest); i { case 0: return &v.state @@ -13397,7 +13397,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookResponse); i { case 0: return &v.state @@ -13409,7 +13409,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*FindAllShardsInKeyspaceRequest); i { case 0: return &v.state @@ -13421,7 +13421,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*FindAllShardsInKeyspaceResponse); i { case 0: return &v.state @@ -13433,7 +13433,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsRequest); i { case 0: return &v.state @@ -13445,7 +13445,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsResponse); i { case 0: return &v.state @@ -13457,7 +13457,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoRequest); i { case 0: return &v.state @@ -13469,7 +13469,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoResponse); i { case 0: return &v.state @@ -13481,7 +13481,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoNamesRequest); i { case 0: return &v.state @@ -13493,7 +13493,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoNamesResponse); i { case 0: return &v.state @@ -13505,7 +13505,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state @@ -13517,7 +13517,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state @@ -13529,7 +13529,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state @@ -13541,7 +13541,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusResponse); i { case 0: return &v.state @@ -13553,7 +13553,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state @@ -13565,7 +13565,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state @@ -13577,7 +13577,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state @@ -13589,7 +13589,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceResponse); i { case 0: return &v.state @@ -13601,7 +13601,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsRequest); i { case 0: return &v.state @@ -13613,7 +13613,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsResponse); i { case 0: return &v.state @@ -13625,7 +13625,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*GetRoutingRulesRequest); i { case 0: return &v.state @@ -13637,7 +13637,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*GetRoutingRulesResponse); i { case 0: return &v.state @@ -13649,7 +13649,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -13661,7 +13661,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -13673,7 +13673,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*GetShardRequest); i { case 0: return &v.state @@ -13685,7 +13685,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*GetShardResponse); i { case 0: return &v.state @@ -13697,7 +13697,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*GetShardRoutingRulesRequest); i { case 0: return &v.state @@ -13709,7 +13709,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*GetShardRoutingRulesResponse); i { case 0: return &v.state @@ -13721,7 +13721,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesRequest); i { case 0: return &v.state @@ -13733,7 +13733,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesResponse); i { case 0: return &v.state @@ -13745,7 +13745,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesRequest); i { case 0: return &v.state @@ -13757,7 +13757,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesResponse); i { case 0: return &v.state @@ -13769,7 +13769,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*UpdateThrottlerConfigRequest); i { case 0: return &v.state @@ -13781,7 +13781,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*UpdateThrottlerConfigResponse); i { case 0: return &v.state @@ -13793,7 +13793,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state @@ -13805,7 +13805,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaResponse); i { case 0: return &v.state @@ -13817,7 +13817,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state @@ -13829,7 +13829,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state @@ -13841,7 +13841,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*GetTabletRequest); i { case 0: return &v.state @@ -13853,7 +13853,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*GetTabletResponse); i { case 0: return &v.state @@ -13865,7 +13865,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsRequest); i { case 0: return &v.state @@ -13877,7 +13877,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsResponse); i { case 0: return &v.state @@ -13889,7 +13889,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state @@ -13901,7 +13901,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathResponse); i { case 0: return &v.state @@ -13913,7 +13913,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*TopologyCell); i { case 0: return &v.state @@ -13925,7 +13925,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -13937,7 +13937,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*GetVersionRequest); i { case 0: return &v.state @@ -13949,7 +13949,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*GetVersionResponse); i { case 0: return &v.state @@ -13961,7 +13961,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaResponse); i { case 0: return &v.state @@ -13973,7 +13973,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -13985,7 +13985,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -13997,7 +13997,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryRequest); i { case 0: return &v.state @@ -14009,7 +14009,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryResponse); i { case 0: return &v.state @@ -14021,7 +14021,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -14033,7 +14033,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -14045,7 +14045,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[101].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardRequest); i { case 0: return &v.state @@ -14057,7 +14057,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[102].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardResponse); i { case 0: return &v.state @@ -14069,7 +14069,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -14081,7 +14081,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -14093,7 +14093,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[105].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphRequest); i { case 0: return &v.state @@ -14105,7 +14105,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[106].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphResponse); i { case 0: return &v.state @@ -14117,7 +14117,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[107].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -14129,7 +14129,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[108].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -14141,7 +14141,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[109].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardRequest); i { case 0: return &v.state @@ -14153,7 +14153,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[110].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardResponse); i { case 0: return &v.state @@ -14165,7 +14165,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[111].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaRequest); i { case 0: return &v.state @@ -14177,7 +14177,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[112].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state @@ -14189,7 +14189,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[113].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceRequest); i { case 0: return &v.state @@ -14201,7 +14201,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[114].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceResponse); i { case 0: return &v.state @@ -14213,7 +14213,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[115].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -14225,7 +14225,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[116].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -14237,7 +14237,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[117].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupRequest); i { case 0: return &v.state @@ -14249,7 +14249,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[118].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupResponse); i { case 0: return &v.state @@ -14261,7 +14261,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[119].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -14273,7 +14273,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[120].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -14285,7 +14285,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[121].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellRequest); i { case 0: return &v.state @@ -14297,7 +14297,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[122].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellResponse); i { case 0: return &v.state @@ -14309,7 +14309,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[123].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletRequest); i { case 0: return &v.state @@ -14321,7 +14321,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[124].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletResponse); i { case 0: return &v.state @@ -14333,7 +14333,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[125].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state @@ -14345,7 +14345,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[126].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state @@ -14357,7 +14357,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[127].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -14369,7 +14369,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[128].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -14381,7 +14381,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[129].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyRequest); i { case 0: return &v.state @@ -14393,7 +14393,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[130].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyResponse); i { case 0: return &v.state @@ -14405,7 +14405,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[131].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceServedFromRequest); i { case 0: return &v.state @@ -14417,7 +14417,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[132].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceServedFromResponse); i { case 0: return &v.state @@ -14429,7 +14429,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[133].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoRequest); i { case 0: return &v.state @@ -14441,7 +14441,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[134].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoResponse); i { case 0: return &v.state @@ -14453,7 +14453,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[135].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingRequest); i { case 0: return &v.state @@ -14465,7 +14465,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[136].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingResponse); i { case 0: return &v.state @@ -14477,7 +14477,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[137].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlRequest); i { case 0: return &v.state @@ -14489,7 +14489,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[138].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlResponse); i { case 0: return &v.state @@ -14501,7 +14501,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[139].Exporter = func(v any, i int) any { switch v := v.(*SetWritableRequest); i { case 0: return &v.state @@ -14513,7 +14513,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[140].Exporter = func(v any, i int) any { switch v := v.(*SetWritableResponse); i { case 0: return &v.state @@ -14525,7 +14525,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[141].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddRequest); i { case 0: return &v.state @@ -14537,7 +14537,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[142].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddResponse); i { case 0: return &v.state @@ -14549,7 +14549,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[143].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixRequest); i { case 0: return &v.state @@ -14561,7 +14561,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[144].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixResponse); i { case 0: return &v.state @@ -14573,7 +14573,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[145].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsRequest); i { case 0: return &v.state @@ -14585,7 +14585,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[146].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsResponse); i { case 0: return &v.state @@ -14597,7 +14597,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[147].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveRequest); i { case 0: return &v.state @@ -14609,7 +14609,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[148].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveResponse); i { case 0: return &v.state @@ -14621,7 +14621,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[149].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletRequest); i { case 0: return &v.state @@ -14633,7 +14633,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[150].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletResponse); i { case 0: return &v.state @@ -14645,7 +14645,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[151].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddRequest); i { case 0: return &v.state @@ -14657,7 +14657,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[152].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddResponse); i { case 0: return &v.state @@ -14669,7 +14669,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[153].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteRequest); i { case 0: return &v.state @@ -14681,7 +14681,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[154].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteResponse); i { case 0: return &v.state @@ -14693,7 +14693,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[155].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -14705,7 +14705,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[156].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -14717,7 +14717,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[157].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -14729,7 +14729,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[158].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -14741,7 +14741,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[159].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -14753,7 +14753,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[160].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedResponse); i { case 0: return &v.state @@ -14765,7 +14765,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[161].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoRequest); i { case 0: return &v.state @@ -14777,7 +14777,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[162].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoResponse); i { case 0: return &v.state @@ -14789,7 +14789,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[163].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasRequest); i { case 0: return &v.state @@ -14801,7 +14801,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[164].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasResponse); i { case 0: return &v.state @@ -14813,7 +14813,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[165].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -14825,7 +14825,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[166].Exporter = func(v any, i int) any { switch v := v.(*ValidateResponse); i { case 0: return &v.state @@ -14837,7 +14837,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[167].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -14849,7 +14849,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[168].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceResponse); i { case 0: return &v.state @@ -14861,7 +14861,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[169].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -14873,7 +14873,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[170].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceResponse); i { case 0: return &v.state @@ -14885,7 +14885,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[171].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -14897,7 +14897,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[172].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardResponse); i { case 0: return &v.state @@ -14909,7 +14909,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[173].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -14921,7 +14921,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[174].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceResponse); i { case 0: return &v.state @@ -14933,7 +14933,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[175].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -14945,7 +14945,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[176].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardResponse); i { case 0: return &v.state @@ -14957,7 +14957,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[177].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaRequest); i { case 0: return &v.state @@ -14969,7 +14969,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[178].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaResponse); i { case 0: return &v.state @@ -14981,7 +14981,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[179].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateRequest); i { case 0: return &v.state @@ -14993,7 +14993,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[180].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateResponse); i { case 0: return &v.state @@ -15005,7 +15005,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[182].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ReplicationLocation); i { case 0: return &v.state @@ -15017,7 +15017,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[183].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ShardStream); i { case 0: return &v.state @@ -15029,7 +15029,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[184].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream); i { case 0: return &v.state @@ -15041,7 +15041,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[185].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_CopyState); i { case 0: return &v.state @@ -15053,7 +15053,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[186].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_Log); i { case 0: return &v.state @@ -15065,7 +15065,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[190].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesResponse_NameList); i { case 0: return &v.state @@ -15077,7 +15077,7 @@ func file_vitess_vtctldata_v17_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v17_vtctldata_proto_msgTypes[200].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateResponse_TabletInfo); i { case 0: return &v.state diff --git a/gen/vitess/vtctldata/v18/vtctldata.pb.go b/gen/vitess/vtctldata/v18/vtctldata.pb.go index 61c12a9..29d217c 100644 --- a/gen/vitess/vtctldata/v18/vtctldata.pb.go +++ b/gen/vitess/vtctldata/v18/vtctldata.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctldata/v18/vtctldata.proto @@ -17824,7 +17824,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_rawDescGZIP() []byte { var file_vitess_vtctldata_v18_vtctldata_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_vitess_vtctldata_v18_vtctldata_proto_msgTypes = make([]protoimpl.MessageInfo, 267) -var file_vitess_vtctldata_v18_vtctldata_proto_goTypes = []interface{}{ +var file_vitess_vtctldata_v18_vtctldata_proto_goTypes = []any{ (MaterializationIntent)(0), // 0: vitess.vtctldata.v18.MaterializationIntent (QueryOrdering)(0), // 1: vitess.vtctldata.v18.QueryOrdering (SchemaMigration_Strategy)(0), // 2: vitess.vtctldata.v18.SchemaMigration.Strategy @@ -18352,7 +18352,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ExecuteVtctlCommandRequest); i { case 0: return &v.state @@ -18364,7 +18364,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ExecuteVtctlCommandResponse); i { case 0: return &v.state @@ -18376,7 +18376,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*TableMaterializeSettings); i { case 0: return &v.state @@ -18388,7 +18388,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*MaterializeSettings); i { case 0: return &v.state @@ -18400,7 +18400,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -18412,7 +18412,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*SchemaMigration); i { case 0: return &v.state @@ -18424,7 +18424,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -18436,7 +18436,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*Workflow); i { case 0: return &v.state @@ -18448,7 +18448,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*AddCellInfoRequest); i { case 0: return &v.state @@ -18460,7 +18460,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*AddCellInfoResponse); i { case 0: return &v.state @@ -18472,7 +18472,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*AddCellsAliasRequest); i { case 0: return &v.state @@ -18484,7 +18484,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*AddCellsAliasResponse); i { case 0: return &v.state @@ -18496,7 +18496,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*ApplyRoutingRulesRequest); i { case 0: return &v.state @@ -18508,7 +18508,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ApplyRoutingRulesResponse); i { case 0: return &v.state @@ -18520,7 +18520,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*ApplyShardRoutingRulesRequest); i { case 0: return &v.state @@ -18532,7 +18532,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ApplyShardRoutingRulesResponse); i { case 0: return &v.state @@ -18544,7 +18544,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaRequest); i { case 0: return &v.state @@ -18556,7 +18556,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*ApplySchemaResponse); i { case 0: return &v.state @@ -18568,7 +18568,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*ApplyVSchemaRequest); i { case 0: return &v.state @@ -18580,7 +18580,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*ApplyVSchemaResponse); i { case 0: return &v.state @@ -18592,7 +18592,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*BackupRequest); i { case 0: return &v.state @@ -18604,7 +18604,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*BackupResponse); i { case 0: return &v.state @@ -18616,7 +18616,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*BackupShardRequest); i { case 0: return &v.state @@ -18628,7 +18628,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*CancelSchemaMigrationRequest); i { case 0: return &v.state @@ -18640,7 +18640,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*CancelSchemaMigrationResponse); i { case 0: return &v.state @@ -18652,7 +18652,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*ChangeTabletTypeRequest); i { case 0: return &v.state @@ -18664,7 +18664,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*ChangeTabletTypeResponse); i { case 0: return &v.state @@ -18676,7 +18676,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*CleanupSchemaMigrationRequest); i { case 0: return &v.state @@ -18688,7 +18688,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*CleanupSchemaMigrationResponse); i { case 0: return &v.state @@ -18700,7 +18700,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*CompleteSchemaMigrationRequest); i { case 0: return &v.state @@ -18712,7 +18712,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*CompleteSchemaMigrationResponse); i { case 0: return &v.state @@ -18724,7 +18724,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceRequest); i { case 0: return &v.state @@ -18736,7 +18736,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*CreateKeyspaceResponse); i { case 0: return &v.state @@ -18748,7 +18748,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*CreateShardRequest); i { case 0: return &v.state @@ -18760,7 +18760,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*CreateShardResponse); i { case 0: return &v.state @@ -18772,7 +18772,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellInfoRequest); i { case 0: return &v.state @@ -18784,7 +18784,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellInfoResponse); i { case 0: return &v.state @@ -18796,7 +18796,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellsAliasRequest); i { case 0: return &v.state @@ -18808,7 +18808,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*DeleteCellsAliasResponse); i { case 0: return &v.state @@ -18820,7 +18820,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceRequest); i { case 0: return &v.state @@ -18832,7 +18832,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[40].Exporter = func(v any, i int) any { switch v := v.(*DeleteKeyspaceResponse); i { case 0: return &v.state @@ -18844,7 +18844,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[41].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsRequest); i { case 0: return &v.state @@ -18856,7 +18856,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[42].Exporter = func(v any, i int) any { switch v := v.(*DeleteShardsResponse); i { case 0: return &v.state @@ -18868,7 +18868,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[43].Exporter = func(v any, i int) any { switch v := v.(*DeleteSrvVSchemaRequest); i { case 0: return &v.state @@ -18880,7 +18880,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[44].Exporter = func(v any, i int) any { switch v := v.(*DeleteSrvVSchemaResponse); i { case 0: return &v.state @@ -18892,7 +18892,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[45].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletsRequest); i { case 0: return &v.state @@ -18904,7 +18904,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[46].Exporter = func(v any, i int) any { switch v := v.(*DeleteTabletsResponse); i { case 0: return &v.state @@ -18916,7 +18916,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[47].Exporter = func(v any, i int) any { switch v := v.(*EmergencyReparentShardRequest); i { case 0: return &v.state @@ -18928,7 +18928,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[48].Exporter = func(v any, i int) any { switch v := v.(*EmergencyReparentShardResponse); i { case 0: return &v.state @@ -18940,7 +18940,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[49].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppRequest); i { case 0: return &v.state @@ -18952,7 +18952,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[50].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsAppResponse); i { case 0: return &v.state @@ -18964,7 +18964,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[51].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDBARequest); i { case 0: return &v.state @@ -18976,7 +18976,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[52].Exporter = func(v any, i int) any { switch v := v.(*ExecuteFetchAsDBAResponse); i { case 0: return &v.state @@ -18988,7 +18988,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[53].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookRequest); i { case 0: return &v.state @@ -19000,7 +19000,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[54].Exporter = func(v any, i int) any { switch v := v.(*ExecuteHookResponse); i { case 0: return &v.state @@ -19012,7 +19012,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[55].Exporter = func(v any, i int) any { switch v := v.(*FindAllShardsInKeyspaceRequest); i { case 0: return &v.state @@ -19024,7 +19024,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[56].Exporter = func(v any, i int) any { switch v := v.(*FindAllShardsInKeyspaceResponse); i { case 0: return &v.state @@ -19036,7 +19036,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[57].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsRequest); i { case 0: return &v.state @@ -19048,7 +19048,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[58].Exporter = func(v any, i int) any { switch v := v.(*GetBackupsResponse); i { case 0: return &v.state @@ -19060,7 +19060,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[59].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoRequest); i { case 0: return &v.state @@ -19072,7 +19072,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[60].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoResponse); i { case 0: return &v.state @@ -19084,7 +19084,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[61].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoNamesRequest); i { case 0: return &v.state @@ -19096,7 +19096,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[62].Exporter = func(v any, i int) any { switch v := v.(*GetCellInfoNamesResponse); i { case 0: return &v.state @@ -19108,7 +19108,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[63].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesRequest); i { case 0: return &v.state @@ -19120,7 +19120,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[64].Exporter = func(v any, i int) any { switch v := v.(*GetCellsAliasesResponse); i { case 0: return &v.state @@ -19132,7 +19132,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[65].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusRequest); i { case 0: return &v.state @@ -19144,7 +19144,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[66].Exporter = func(v any, i int) any { switch v := v.(*GetFullStatusResponse); i { case 0: return &v.state @@ -19156,7 +19156,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[67].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesRequest); i { case 0: return &v.state @@ -19168,7 +19168,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[68].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspacesResponse); i { case 0: return &v.state @@ -19180,7 +19180,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[69].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceRequest); i { case 0: return &v.state @@ -19192,7 +19192,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[70].Exporter = func(v any, i int) any { switch v := v.(*GetKeyspaceResponse); i { case 0: return &v.state @@ -19204,7 +19204,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[71].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsRequest); i { case 0: return &v.state @@ -19216,7 +19216,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[72].Exporter = func(v any, i int) any { switch v := v.(*GetPermissionsResponse); i { case 0: return &v.state @@ -19228,7 +19228,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[73].Exporter = func(v any, i int) any { switch v := v.(*GetRoutingRulesRequest); i { case 0: return &v.state @@ -19240,7 +19240,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[74].Exporter = func(v any, i int) any { switch v := v.(*GetRoutingRulesResponse); i { case 0: return &v.state @@ -19252,7 +19252,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[75].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaRequest); i { case 0: return &v.state @@ -19264,7 +19264,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[76].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaResponse); i { case 0: return &v.state @@ -19276,7 +19276,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[77].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaMigrationsRequest); i { case 0: return &v.state @@ -19288,7 +19288,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[78].Exporter = func(v any, i int) any { switch v := v.(*GetSchemaMigrationsResponse); i { case 0: return &v.state @@ -19300,7 +19300,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[79].Exporter = func(v any, i int) any { switch v := v.(*GetShardRequest); i { case 0: return &v.state @@ -19312,7 +19312,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[80].Exporter = func(v any, i int) any { switch v := v.(*GetShardResponse); i { case 0: return &v.state @@ -19324,7 +19324,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[81].Exporter = func(v any, i int) any { switch v := v.(*GetShardRoutingRulesRequest); i { case 0: return &v.state @@ -19336,7 +19336,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[82].Exporter = func(v any, i int) any { switch v := v.(*GetShardRoutingRulesResponse); i { case 0: return &v.state @@ -19348,7 +19348,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[83].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesRequest); i { case 0: return &v.state @@ -19360,7 +19360,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[84].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesResponse); i { case 0: return &v.state @@ -19372,7 +19372,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[85].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesRequest); i { case 0: return &v.state @@ -19384,7 +19384,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[86].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspacesResponse); i { case 0: return &v.state @@ -19396,7 +19396,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[87].Exporter = func(v any, i int) any { switch v := v.(*UpdateThrottlerConfigRequest); i { case 0: return &v.state @@ -19408,7 +19408,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[88].Exporter = func(v any, i int) any { switch v := v.(*UpdateThrottlerConfigResponse); i { case 0: return &v.state @@ -19420,7 +19420,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[89].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaRequest); i { case 0: return &v.state @@ -19432,7 +19432,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[90].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemaResponse); i { case 0: return &v.state @@ -19444,7 +19444,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[91].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasRequest); i { case 0: return &v.state @@ -19456,7 +19456,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[92].Exporter = func(v any, i int) any { switch v := v.(*GetSrvVSchemasResponse); i { case 0: return &v.state @@ -19468,7 +19468,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[93].Exporter = func(v any, i int) any { switch v := v.(*GetTabletRequest); i { case 0: return &v.state @@ -19480,7 +19480,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[94].Exporter = func(v any, i int) any { switch v := v.(*GetTabletResponse); i { case 0: return &v.state @@ -19492,7 +19492,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[95].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsRequest); i { case 0: return &v.state @@ -19504,7 +19504,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[96].Exporter = func(v any, i int) any { switch v := v.(*GetTabletsResponse); i { case 0: return &v.state @@ -19516,7 +19516,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[97].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathRequest); i { case 0: return &v.state @@ -19528,7 +19528,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[98].Exporter = func(v any, i int) any { switch v := v.(*GetTopologyPathResponse); i { case 0: return &v.state @@ -19540,7 +19540,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[99].Exporter = func(v any, i int) any { switch v := v.(*TopologyCell); i { case 0: return &v.state @@ -19552,7 +19552,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[100].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaRequest); i { case 0: return &v.state @@ -19564,7 +19564,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[101].Exporter = func(v any, i int) any { switch v := v.(*GetVersionRequest); i { case 0: return &v.state @@ -19576,7 +19576,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[102].Exporter = func(v any, i int) any { switch v := v.(*GetVersionResponse); i { case 0: return &v.state @@ -19588,7 +19588,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[103].Exporter = func(v any, i int) any { switch v := v.(*GetVSchemaResponse); i { case 0: return &v.state @@ -19600,7 +19600,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[104].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsRequest); i { case 0: return &v.state @@ -19612,7 +19612,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[105].Exporter = func(v any, i int) any { switch v := v.(*GetWorkflowsResponse); i { case 0: return &v.state @@ -19624,7 +19624,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[106].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryRequest); i { case 0: return &v.state @@ -19636,7 +19636,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[107].Exporter = func(v any, i int) any { switch v := v.(*InitShardPrimaryResponse); i { case 0: return &v.state @@ -19648,7 +19648,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[108].Exporter = func(v any, i int) any { switch v := v.(*LaunchSchemaMigrationRequest); i { case 0: return &v.state @@ -19660,7 +19660,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[109].Exporter = func(v any, i int) any { switch v := v.(*LaunchSchemaMigrationResponse); i { case 0: return &v.state @@ -19672,7 +19672,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[110].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexCreateRequest); i { case 0: return &v.state @@ -19684,7 +19684,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[111].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexCreateResponse); i { case 0: return &v.state @@ -19696,7 +19696,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[112].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexExternalizeRequest); i { case 0: return &v.state @@ -19708,7 +19708,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[113].Exporter = func(v any, i int) any { switch v := v.(*LookupVindexExternalizeResponse); i { case 0: return &v.state @@ -19720,7 +19720,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[114].Exporter = func(v any, i int) any { switch v := v.(*MaterializeCreateRequest); i { case 0: return &v.state @@ -19732,7 +19732,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[115].Exporter = func(v any, i int) any { switch v := v.(*MaterializeCreateResponse); i { case 0: return &v.state @@ -19744,7 +19744,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[116].Exporter = func(v any, i int) any { switch v := v.(*MigrateCreateRequest); i { case 0: return &v.state @@ -19756,7 +19756,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[117].Exporter = func(v any, i int) any { switch v := v.(*MigrateCompleteRequest); i { case 0: return &v.state @@ -19768,7 +19768,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[118].Exporter = func(v any, i int) any { switch v := v.(*MigrateCompleteResponse); i { case 0: return &v.state @@ -19780,7 +19780,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[119].Exporter = func(v any, i int) any { switch v := v.(*MountRegisterRequest); i { case 0: return &v.state @@ -19792,7 +19792,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[120].Exporter = func(v any, i int) any { switch v := v.(*MountRegisterResponse); i { case 0: return &v.state @@ -19804,7 +19804,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[121].Exporter = func(v any, i int) any { switch v := v.(*MountUnregisterRequest); i { case 0: return &v.state @@ -19816,7 +19816,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[122].Exporter = func(v any, i int) any { switch v := v.(*MountUnregisterResponse); i { case 0: return &v.state @@ -19828,7 +19828,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[123].Exporter = func(v any, i int) any { switch v := v.(*MountShowRequest); i { case 0: return &v.state @@ -19840,7 +19840,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[124].Exporter = func(v any, i int) any { switch v := v.(*MountShowResponse); i { case 0: return &v.state @@ -19852,7 +19852,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[125].Exporter = func(v any, i int) any { switch v := v.(*MountListRequest); i { case 0: return &v.state @@ -19864,7 +19864,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[126].Exporter = func(v any, i int) any { switch v := v.(*MountListResponse); i { case 0: return &v.state @@ -19876,7 +19876,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[127].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCreateRequest); i { case 0: return &v.state @@ -19888,7 +19888,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[128].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCreateResponse); i { case 0: return &v.state @@ -19900,7 +19900,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[129].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCompleteRequest); i { case 0: return &v.state @@ -19912,7 +19912,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[130].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCompleteResponse); i { case 0: return &v.state @@ -19924,7 +19924,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[131].Exporter = func(v any, i int) any { switch v := v.(*PingTabletRequest); i { case 0: return &v.state @@ -19936,7 +19936,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[132].Exporter = func(v any, i int) any { switch v := v.(*PingTabletResponse); i { case 0: return &v.state @@ -19948,7 +19948,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[133].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardRequest); i { case 0: return &v.state @@ -19960,7 +19960,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[134].Exporter = func(v any, i int) any { switch v := v.(*PlannedReparentShardResponse); i { case 0: return &v.state @@ -19972,7 +19972,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[135].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphRequest); i { case 0: return &v.state @@ -19984,7 +19984,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[136].Exporter = func(v any, i int) any { switch v := v.(*RebuildKeyspaceGraphResponse); i { case 0: return &v.state @@ -19996,7 +19996,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[137].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphRequest); i { case 0: return &v.state @@ -20008,7 +20008,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[138].Exporter = func(v any, i int) any { switch v := v.(*RebuildVSchemaGraphResponse); i { case 0: return &v.state @@ -20020,7 +20020,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[139].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateRequest); i { case 0: return &v.state @@ -20032,7 +20032,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[140].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateResponse); i { case 0: return &v.state @@ -20044,7 +20044,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[141].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardRequest); i { case 0: return &v.state @@ -20056,7 +20056,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[142].Exporter = func(v any, i int) any { switch v := v.(*RefreshStateByShardResponse); i { case 0: return &v.state @@ -20068,7 +20068,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[143].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaRequest); i { case 0: return &v.state @@ -20080,7 +20080,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[144].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaResponse); i { case 0: return &v.state @@ -20092,7 +20092,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[145].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceRequest); i { case 0: return &v.state @@ -20104,7 +20104,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[146].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaKeyspaceResponse); i { case 0: return &v.state @@ -20116,7 +20116,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[147].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardRequest); i { case 0: return &v.state @@ -20128,7 +20128,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[148].Exporter = func(v any, i int) any { switch v := v.(*ReloadSchemaShardResponse); i { case 0: return &v.state @@ -20140,7 +20140,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[149].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupRequest); i { case 0: return &v.state @@ -20152,7 +20152,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[150].Exporter = func(v any, i int) any { switch v := v.(*RemoveBackupResponse); i { case 0: return &v.state @@ -20164,7 +20164,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[151].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellRequest); i { case 0: return &v.state @@ -20176,7 +20176,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[152].Exporter = func(v any, i int) any { switch v := v.(*RemoveKeyspaceCellResponse); i { case 0: return &v.state @@ -20188,7 +20188,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[153].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellRequest); i { case 0: return &v.state @@ -20200,7 +20200,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[154].Exporter = func(v any, i int) any { switch v := v.(*RemoveShardCellResponse); i { case 0: return &v.state @@ -20212,7 +20212,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[155].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletRequest); i { case 0: return &v.state @@ -20224,7 +20224,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[156].Exporter = func(v any, i int) any { switch v := v.(*ReparentTabletResponse); i { case 0: return &v.state @@ -20236,7 +20236,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[157].Exporter = func(v any, i int) any { switch v := v.(*ReshardCreateRequest); i { case 0: return &v.state @@ -20248,7 +20248,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[158].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupRequest); i { case 0: return &v.state @@ -20260,7 +20260,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[159].Exporter = func(v any, i int) any { switch v := v.(*RestoreFromBackupResponse); i { case 0: return &v.state @@ -20272,7 +20272,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[160].Exporter = func(v any, i int) any { switch v := v.(*RetrySchemaMigrationRequest); i { case 0: return &v.state @@ -20284,7 +20284,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[161].Exporter = func(v any, i int) any { switch v := v.(*RetrySchemaMigrationResponse); i { case 0: return &v.state @@ -20296,7 +20296,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[162].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckRequest); i { case 0: return &v.state @@ -20308,7 +20308,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[163].Exporter = func(v any, i int) any { switch v := v.(*RunHealthCheckResponse); i { case 0: return &v.state @@ -20320,7 +20320,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[164].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyRequest); i { case 0: return &v.state @@ -20332,7 +20332,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[165].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceDurabilityPolicyResponse); i { case 0: return &v.state @@ -20344,7 +20344,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[166].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceServedFromRequest); i { case 0: return &v.state @@ -20356,7 +20356,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[167].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceServedFromResponse); i { case 0: return &v.state @@ -20368,7 +20368,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[168].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoRequest); i { case 0: return &v.state @@ -20380,7 +20380,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[169].Exporter = func(v any, i int) any { switch v := v.(*SetKeyspaceShardingInfoResponse); i { case 0: return &v.state @@ -20392,7 +20392,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[170].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingRequest); i { case 0: return &v.state @@ -20404,7 +20404,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[171].Exporter = func(v any, i int) any { switch v := v.(*SetShardIsPrimaryServingResponse); i { case 0: return &v.state @@ -20416,7 +20416,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[172].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlRequest); i { case 0: return &v.state @@ -20428,7 +20428,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[173].Exporter = func(v any, i int) any { switch v := v.(*SetShardTabletControlResponse); i { case 0: return &v.state @@ -20440,7 +20440,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[174].Exporter = func(v any, i int) any { switch v := v.(*SetWritableRequest); i { case 0: return &v.state @@ -20452,7 +20452,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[175].Exporter = func(v any, i int) any { switch v := v.(*SetWritableResponse); i { case 0: return &v.state @@ -20464,7 +20464,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[176].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddRequest); i { case 0: return &v.state @@ -20476,7 +20476,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[177].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationAddResponse); i { case 0: return &v.state @@ -20488,7 +20488,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[178].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixRequest); i { case 0: return &v.state @@ -20500,7 +20500,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[179].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationFixResponse); i { case 0: return &v.state @@ -20512,7 +20512,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[180].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsRequest); i { case 0: return &v.state @@ -20524,7 +20524,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[181].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationPositionsResponse); i { case 0: return &v.state @@ -20536,7 +20536,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[182].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveRequest); i { case 0: return &v.state @@ -20548,7 +20548,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[183].Exporter = func(v any, i int) any { switch v := v.(*ShardReplicationRemoveResponse); i { case 0: return &v.state @@ -20560,7 +20560,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[184].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletRequest); i { case 0: return &v.state @@ -20572,7 +20572,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[185].Exporter = func(v any, i int) any { switch v := v.(*SleepTabletResponse); i { case 0: return &v.state @@ -20584,7 +20584,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[186].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddRequest); i { case 0: return &v.state @@ -20596,7 +20596,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[187].Exporter = func(v any, i int) any { switch v := v.(*SourceShardAddResponse); i { case 0: return &v.state @@ -20608,7 +20608,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[188].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteRequest); i { case 0: return &v.state @@ -20620,7 +20620,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[189].Exporter = func(v any, i int) any { switch v := v.(*SourceShardDeleteResponse); i { case 0: return &v.state @@ -20632,7 +20632,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[190].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationRequest); i { case 0: return &v.state @@ -20644,7 +20644,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[191].Exporter = func(v any, i int) any { switch v := v.(*StartReplicationResponse); i { case 0: return &v.state @@ -20656,7 +20656,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[192].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationRequest); i { case 0: return &v.state @@ -20668,7 +20668,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[193].Exporter = func(v any, i int) any { switch v := v.(*StopReplicationResponse); i { case 0: return &v.state @@ -20680,7 +20680,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[194].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedRequest); i { case 0: return &v.state @@ -20692,7 +20692,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[195].Exporter = func(v any, i int) any { switch v := v.(*TabletExternallyReparentedResponse); i { case 0: return &v.state @@ -20704,7 +20704,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[196].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoRequest); i { case 0: return &v.state @@ -20716,7 +20716,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[197].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellInfoResponse); i { case 0: return &v.state @@ -20728,7 +20728,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[198].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasRequest); i { case 0: return &v.state @@ -20740,7 +20740,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[199].Exporter = func(v any, i int) any { switch v := v.(*UpdateCellsAliasResponse); i { case 0: return &v.state @@ -20752,7 +20752,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[200].Exporter = func(v any, i int) any { switch v := v.(*ValidateRequest); i { case 0: return &v.state @@ -20764,7 +20764,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[201].Exporter = func(v any, i int) any { switch v := v.(*ValidateResponse); i { case 0: return &v.state @@ -20776,7 +20776,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[202].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceRequest); i { case 0: return &v.state @@ -20788,7 +20788,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[203].Exporter = func(v any, i int) any { switch v := v.(*ValidateKeyspaceResponse); i { case 0: return &v.state @@ -20800,7 +20800,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[204].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceRequest); i { case 0: return &v.state @@ -20812,7 +20812,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[205].Exporter = func(v any, i int) any { switch v := v.(*ValidateSchemaKeyspaceResponse); i { case 0: return &v.state @@ -20824,7 +20824,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[206].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardRequest); i { case 0: return &v.state @@ -20836,7 +20836,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[207].Exporter = func(v any, i int) any { switch v := v.(*ValidateShardResponse); i { case 0: return &v.state @@ -20848,7 +20848,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[208].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceRequest); i { case 0: return &v.state @@ -20860,7 +20860,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[209].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionKeyspaceResponse); i { case 0: return &v.state @@ -20872,7 +20872,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[210].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardRequest); i { case 0: return &v.state @@ -20884,7 +20884,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[211].Exporter = func(v any, i int) any { switch v := v.(*ValidateVersionShardResponse); i { case 0: return &v.state @@ -20896,7 +20896,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[212].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaRequest); i { case 0: return &v.state @@ -20908,7 +20908,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[213].Exporter = func(v any, i int) any { switch v := v.(*ValidateVSchemaResponse); i { case 0: return &v.state @@ -20920,7 +20920,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[214].Exporter = func(v any, i int) any { switch v := v.(*VDiffCreateRequest); i { case 0: return &v.state @@ -20932,7 +20932,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[215].Exporter = func(v any, i int) any { switch v := v.(*VDiffCreateResponse); i { case 0: return &v.state @@ -20944,7 +20944,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[216].Exporter = func(v any, i int) any { switch v := v.(*VDiffDeleteRequest); i { case 0: return &v.state @@ -20956,7 +20956,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[217].Exporter = func(v any, i int) any { switch v := v.(*VDiffDeleteResponse); i { case 0: return &v.state @@ -20968,7 +20968,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[218].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[218].Exporter = func(v any, i int) any { switch v := v.(*VDiffResumeRequest); i { case 0: return &v.state @@ -20980,7 +20980,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[219].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[219].Exporter = func(v any, i int) any { switch v := v.(*VDiffResumeResponse); i { case 0: return &v.state @@ -20992,7 +20992,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[220].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[220].Exporter = func(v any, i int) any { switch v := v.(*VDiffShowRequest); i { case 0: return &v.state @@ -21004,7 +21004,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[221].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[221].Exporter = func(v any, i int) any { switch v := v.(*VDiffShowResponse); i { case 0: return &v.state @@ -21016,7 +21016,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[222].Exporter = func(v any, i int) any { switch v := v.(*VDiffStopRequest); i { case 0: return &v.state @@ -21028,7 +21028,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[223].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[223].Exporter = func(v any, i int) any { switch v := v.(*VDiffStopResponse); i { case 0: return &v.state @@ -21040,7 +21040,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[224].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[224].Exporter = func(v any, i int) any { switch v := v.(*WorkflowDeleteRequest); i { case 0: return &v.state @@ -21052,7 +21052,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[225].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[225].Exporter = func(v any, i int) any { switch v := v.(*WorkflowDeleteResponse); i { case 0: return &v.state @@ -21064,7 +21064,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[226].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[226].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusRequest); i { case 0: return &v.state @@ -21076,7 +21076,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[227].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[227].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse); i { case 0: return &v.state @@ -21088,7 +21088,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[228].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[228].Exporter = func(v any, i int) any { switch v := v.(*WorkflowSwitchTrafficRequest); i { case 0: return &v.state @@ -21100,7 +21100,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[229].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[229].Exporter = func(v any, i int) any { switch v := v.(*WorkflowSwitchTrafficResponse); i { case 0: return &v.state @@ -21112,7 +21112,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[230].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[230].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateRequest); i { case 0: return &v.state @@ -21124,7 +21124,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[231].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[231].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateResponse); i { case 0: return &v.state @@ -21136,7 +21136,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[233].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[233].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ReplicationLocation); i { case 0: return &v.state @@ -21148,7 +21148,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[234].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[234].Exporter = func(v any, i int) any { switch v := v.(*Workflow_ShardStream); i { case 0: return &v.state @@ -21160,7 +21160,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[235].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[235].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream); i { case 0: return &v.state @@ -21172,7 +21172,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[236].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[236].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_CopyState); i { case 0: return &v.state @@ -21184,7 +21184,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[237].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[237].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_Log); i { case 0: return &v.state @@ -21196,7 +21196,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[238].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[238].Exporter = func(v any, i int) any { switch v := v.(*Workflow_Stream_ThrottlerStatus); i { case 0: return &v.state @@ -21208,7 +21208,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[246].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[246].Exporter = func(v any, i int) any { switch v := v.(*GetSrvKeyspaceNamesResponse_NameList); i { case 0: return &v.state @@ -21220,7 +21220,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[250].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[250].Exporter = func(v any, i int) any { switch v := v.(*MoveTablesCreateResponse_TabletInfo); i { case 0: return &v.state @@ -21232,7 +21232,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[260].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[260].Exporter = func(v any, i int) any { switch v := v.(*WorkflowDeleteResponse_TabletInfo); i { case 0: return &v.state @@ -21244,7 +21244,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[261].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[261].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse_TableCopyState); i { case 0: return &v.state @@ -21256,7 +21256,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[262].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[262].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse_ShardStreamState); i { case 0: return &v.state @@ -21268,7 +21268,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[263].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[263].Exporter = func(v any, i int) any { switch v := v.(*WorkflowStatusResponse_ShardStreams); i { case 0: return &v.state @@ -21280,7 +21280,7 @@ func file_vitess_vtctldata_v18_vtctldata_proto_init() { return nil } } - file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[266].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtctldata_v18_vtctldata_proto_msgTypes[266].Exporter = func(v any, i int) any { switch v := v.(*WorkflowUpdateResponse_TabletInfo); i { case 0: return &v.state diff --git a/gen/vitess/vtctldata/v19/vtctldata.pb.go b/gen/vitess/vtctldata/v19/vtctldata.pb.go new file mode 100644 index 0000000..a52aacf --- /dev/null +++ b/gen/vitess/vtctldata/v19/vtctldata.pb.go @@ -0,0 +1,21700 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This package contains the data structures for a service allowing +// you to use vtctld as a server for vt commands. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vtctldata/v19/vtctldata.proto + +package vtctldatav19 + +import ( + v199 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/logutil/v19" + v197 "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/v19" + v196 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v198 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v194 "github.com/planetscale/vitess-types/gen/vitess/vschema/v19" + v195 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + v193 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MaterializationIntent describes the reason for creating the Materialize flow +type MaterializationIntent int32 + +const ( + // CUSTOM is the default value + MaterializationIntent_CUSTOM MaterializationIntent = 0 + // MOVETABLES is when we are creating a MoveTables flow + MaterializationIntent_MOVETABLES MaterializationIntent = 1 + // CREATELOOKUPINDEX is when we are creating a CreateLookupIndex flow + MaterializationIntent_CREATELOOKUPINDEX MaterializationIntent = 2 +) + +// Enum value maps for MaterializationIntent. +var ( + MaterializationIntent_name = map[int32]string{ + 0: "CUSTOM", + 1: "MOVETABLES", + 2: "CREATELOOKUPINDEX", + } + MaterializationIntent_value = map[string]int32{ + "CUSTOM": 0, + "MOVETABLES": 1, + "CREATELOOKUPINDEX": 2, + } +) + +func (x MaterializationIntent) Enum() *MaterializationIntent { + p := new(MaterializationIntent) + *p = x + return p +} + +func (x MaterializationIntent) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MaterializationIntent) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[0].Descriptor() +} + +func (MaterializationIntent) Type() protoreflect.EnumType { + return &file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[0] +} + +func (x MaterializationIntent) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MaterializationIntent.Descriptor instead. +func (MaterializationIntent) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{0} +} + +type QueryOrdering int32 + +const ( + QueryOrdering_NONE QueryOrdering = 0 + QueryOrdering_ASCENDING QueryOrdering = 1 + QueryOrdering_DESCENDING QueryOrdering = 2 +) + +// Enum value maps for QueryOrdering. +var ( + QueryOrdering_name = map[int32]string{ + 0: "NONE", + 1: "ASCENDING", + 2: "DESCENDING", + } + QueryOrdering_value = map[string]int32{ + "NONE": 0, + "ASCENDING": 1, + "DESCENDING": 2, + } +) + +func (x QueryOrdering) Enum() *QueryOrdering { + p := new(QueryOrdering) + *p = x + return p +} + +func (x QueryOrdering) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QueryOrdering) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[1].Descriptor() +} + +func (QueryOrdering) Type() protoreflect.EnumType { + return &file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[1] +} + +func (x QueryOrdering) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use QueryOrdering.Descriptor instead. +func (QueryOrdering) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{1} +} + +type SchemaMigration_Strategy int32 + +const ( + // SchemaMigration_VITESS uses vreplication to run the schema migration. It is + // the default strategy for OnlineDDL requests. + // + // SchemaMigration_VITESS was also formerly called "ONLINE". + SchemaMigration_VITESS SchemaMigration_Strategy = 0 + SchemaMigration_ONLINE SchemaMigration_Strategy = 0 + SchemaMigration_GHOST SchemaMigration_Strategy = 1 + SchemaMigration_PTOSC SchemaMigration_Strategy = 2 + // SchemaMigration_DIRECT runs the migration directly against MySQL (e.g. `ALTER TABLE ...`), + // meaning it is not actually an "online" DDL migration. + SchemaMigration_DIRECT SchemaMigration_Strategy = 3 + // SchemaMigration_MYSQL is a managed migration (queued and executed by the + // scheduler) but runs through a MySQL `ALTER TABLE`. + SchemaMigration_MYSQL SchemaMigration_Strategy = 4 +) + +// Enum value maps for SchemaMigration_Strategy. +var ( + SchemaMigration_Strategy_name = map[int32]string{ + 0: "VITESS", + // Duplicate value: 0: "ONLINE", + 1: "GHOST", + 2: "PTOSC", + 3: "DIRECT", + 4: "MYSQL", + } + SchemaMigration_Strategy_value = map[string]int32{ + "VITESS": 0, + "ONLINE": 0, + "GHOST": 1, + "PTOSC": 2, + "DIRECT": 3, + "MYSQL": 4, + } +) + +func (x SchemaMigration_Strategy) Enum() *SchemaMigration_Strategy { + p := new(SchemaMigration_Strategy) + *p = x + return p +} + +func (x SchemaMigration_Strategy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SchemaMigration_Strategy) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[2].Descriptor() +} + +func (SchemaMigration_Strategy) Type() protoreflect.EnumType { + return &file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[2] +} + +func (x SchemaMigration_Strategy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SchemaMigration_Strategy.Descriptor instead. +func (SchemaMigration_Strategy) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{5, 0} +} + +type SchemaMigration_Status int32 + +const ( + SchemaMigration_UNKNOWN SchemaMigration_Status = 0 + SchemaMigration_REQUESTED SchemaMigration_Status = 1 + SchemaMigration_CANCELLED SchemaMigration_Status = 2 + SchemaMigration_QUEUED SchemaMigration_Status = 3 + SchemaMigration_READY SchemaMigration_Status = 4 + SchemaMigration_RUNNING SchemaMigration_Status = 5 + SchemaMigration_COMPLETE SchemaMigration_Status = 6 + SchemaMigration_FAILED SchemaMigration_Status = 7 +) + +// Enum value maps for SchemaMigration_Status. +var ( + SchemaMigration_Status_name = map[int32]string{ + 0: "UNKNOWN", + 1: "REQUESTED", + 2: "CANCELLED", + 3: "QUEUED", + 4: "READY", + 5: "RUNNING", + 6: "COMPLETE", + 7: "FAILED", + } + SchemaMigration_Status_value = map[string]int32{ + "UNKNOWN": 0, + "REQUESTED": 1, + "CANCELLED": 2, + "QUEUED": 3, + "READY": 4, + "RUNNING": 5, + "COMPLETE": 6, + "FAILED": 7, + } +) + +func (x SchemaMigration_Status) Enum() *SchemaMigration_Status { + p := new(SchemaMigration_Status) + *p = x + return p +} + +func (x SchemaMigration_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SchemaMigration_Status) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[3].Descriptor() +} + +func (SchemaMigration_Status) Type() protoreflect.EnumType { + return &file_vitess_vtctldata_v19_vtctldata_proto_enumTypes[3] +} + +func (x SchemaMigration_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SchemaMigration_Status.Descriptor instead. +func (SchemaMigration_Status) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{5, 1} +} + +// ExecuteVtctlCommandRequest is the payload for ExecuteVtctlCommand. +// timeouts are in nanoseconds. +type ExecuteVtctlCommandRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` + ActionTimeout int64 `protobuf:"varint,2,opt,name=action_timeout,json=actionTimeout,proto3" json:"action_timeout,omitempty"` +} + +func (x *ExecuteVtctlCommandRequest) Reset() { + *x = ExecuteVtctlCommandRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteVtctlCommandRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteVtctlCommandRequest) ProtoMessage() {} + +func (x *ExecuteVtctlCommandRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteVtctlCommandRequest.ProtoReflect.Descriptor instead. +func (*ExecuteVtctlCommandRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{0} +} + +func (x *ExecuteVtctlCommandRequest) GetArgs() []string { + if x != nil { + return x.Args + } + return nil +} + +func (x *ExecuteVtctlCommandRequest) GetActionTimeout() int64 { + if x != nil { + return x.ActionTimeout + } + return 0 +} + +// ExecuteVtctlCommandResponse is streamed back by ExecuteVtctlCommand. +type ExecuteVtctlCommandResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Event *v19.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` +} + +func (x *ExecuteVtctlCommandResponse) Reset() { + *x = ExecuteVtctlCommandResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteVtctlCommandResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteVtctlCommandResponse) ProtoMessage() {} + +func (x *ExecuteVtctlCommandResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteVtctlCommandResponse.ProtoReflect.Descriptor instead. +func (*ExecuteVtctlCommandResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{1} +} + +func (x *ExecuteVtctlCommandResponse) GetEvent() *v19.Event { + if x != nil { + return x.Event + } + return nil +} + +// TableMaterializeSttings contains the settings for one table. +type TableMaterializeSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetTable string `protobuf:"bytes,1,opt,name=target_table,json=targetTable,proto3" json:"target_table,omitempty"` + // source_expression is a select statement. + SourceExpression string `protobuf:"bytes,2,opt,name=source_expression,json=sourceExpression,proto3" json:"source_expression,omitempty"` + // create_ddl contains the DDL to create the target table. + // If empty, the target table must already exist. + // if "copy", the target table DDL is the same as the source table. + CreateDdl string `protobuf:"bytes,3,opt,name=create_ddl,json=createDdl,proto3" json:"create_ddl,omitempty"` +} + +func (x *TableMaterializeSettings) Reset() { + *x = TableMaterializeSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableMaterializeSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableMaterializeSettings) ProtoMessage() {} + +func (x *TableMaterializeSettings) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TableMaterializeSettings.ProtoReflect.Descriptor instead. +func (*TableMaterializeSettings) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{2} +} + +func (x *TableMaterializeSettings) GetTargetTable() string { + if x != nil { + return x.TargetTable + } + return "" +} + +func (x *TableMaterializeSettings) GetSourceExpression() string { + if x != nil { + return x.SourceExpression + } + return "" +} + +func (x *TableMaterializeSettings) GetCreateDdl() string { + if x != nil { + return x.CreateDdl + } + return "" +} + +// MaterializeSettings contains the settings for the Materialize command. +type MaterializeSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // workflow is the name of the workflow. + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + SourceKeyspace string `protobuf:"bytes,2,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + // stop_after_copy specifies if vreplication should be stopped after copying. + StopAfterCopy bool `protobuf:"varint,4,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + TableSettings []*TableMaterializeSettings `protobuf:"bytes,5,rep,name=table_settings,json=tableSettings,proto3" json:"table_settings,omitempty"` + // optional parameters. + Cell string `protobuf:"bytes,6,opt,name=cell,proto3" json:"cell,omitempty"` + TabletTypes string `protobuf:"bytes,7,opt,name=tablet_types,json=tabletTypes,proto3" json:"tablet_types,omitempty"` + // ExternalCluster is the name of the mounted cluster which has the source keyspace/db for this workflow + // it is of the type + ExternalCluster string `protobuf:"bytes,8,opt,name=external_cluster,json=externalCluster,proto3" json:"external_cluster,omitempty"` + // MaterializationIntent is used to identify the reason behind the materialization workflow: eg. MoveTables, CreateLookupVindex + MaterializationIntent MaterializationIntent `protobuf:"varint,9,opt,name=materialization_intent,json=materializationIntent,proto3,enum=vitess.vtctldata.v19.MaterializationIntent" json:"materialization_intent,omitempty"` + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTable + SourceTimeZone string `protobuf:"bytes,10,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` + // TargetTimeZone is not currently specifiable by the user, defaults to UTC for the forward workflows + // and to the SourceTimeZone in reverse workflows + TargetTimeZone string `protobuf:"bytes,11,opt,name=target_time_zone,json=targetTimeZone,proto3" json:"target_time_zone,omitempty"` + SourceShards []string `protobuf:"bytes,12,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl string `protobuf:"bytes,13,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,14,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + TabletSelectionPreference v191.TabletSelectionPreference `protobuf:"varint,15,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + AtomicCopy bool `protobuf:"varint,16,opt,name=atomic_copy,json=atomicCopy,proto3" json:"atomic_copy,omitempty"` +} + +func (x *MaterializeSettings) Reset() { + *x = MaterializeSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterializeSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterializeSettings) ProtoMessage() {} + +func (x *MaterializeSettings) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterializeSettings.ProtoReflect.Descriptor instead. +func (*MaterializeSettings) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{3} +} + +func (x *MaterializeSettings) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *MaterializeSettings) GetSourceKeyspace() string { + if x != nil { + return x.SourceKeyspace + } + return "" +} + +func (x *MaterializeSettings) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *MaterializeSettings) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} + +func (x *MaterializeSettings) GetTableSettings() []*TableMaterializeSettings { + if x != nil { + return x.TableSettings + } + return nil +} + +func (x *MaterializeSettings) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *MaterializeSettings) GetTabletTypes() string { + if x != nil { + return x.TabletTypes + } + return "" +} + +func (x *MaterializeSettings) GetExternalCluster() string { + if x != nil { + return x.ExternalCluster + } + return "" +} + +func (x *MaterializeSettings) GetMaterializationIntent() MaterializationIntent { + if x != nil { + return x.MaterializationIntent + } + return MaterializationIntent_CUSTOM +} + +func (x *MaterializeSettings) GetSourceTimeZone() string { + if x != nil { + return x.SourceTimeZone + } + return "" +} + +func (x *MaterializeSettings) GetTargetTimeZone() string { + if x != nil { + return x.TargetTimeZone + } + return "" +} + +func (x *MaterializeSettings) GetSourceShards() []string { + if x != nil { + return x.SourceShards + } + return nil +} + +func (x *MaterializeSettings) GetOnDdl() string { + if x != nil { + return x.OnDdl + } + return "" +} + +func (x *MaterializeSettings) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false +} + +func (x *MaterializeSettings) GetTabletSelectionPreference() v191.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return v191.TabletSelectionPreference(0) +} + +func (x *MaterializeSettings) GetAtomicCopy() bool { + if x != nil { + return x.AtomicCopy + } + return false +} + +type Keyspace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Keyspace *v192.Keyspace `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *Keyspace) Reset() { + *x = Keyspace{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Keyspace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Keyspace) ProtoMessage() {} + +func (x *Keyspace) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Keyspace.ProtoReflect.Descriptor instead. +func (*Keyspace) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{4} +} + +func (x *Keyspace) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Keyspace) GetKeyspace() *v192.Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +// SchemaMigration represents a row in the schema_migrations sidecar table. +type SchemaMigration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + Schema string `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"` + Table string `protobuf:"bytes,5,opt,name=table,proto3" json:"table,omitempty"` + MigrationStatement string `protobuf:"bytes,6,opt,name=migration_statement,json=migrationStatement,proto3" json:"migration_statement,omitempty"` + Strategy SchemaMigration_Strategy `protobuf:"varint,7,opt,name=strategy,proto3,enum=vitess.vtctldata.v19.SchemaMigration_Strategy" json:"strategy,omitempty"` + Options string `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"` + AddedAt *v193.Time `protobuf:"bytes,9,opt,name=added_at,json=addedAt,proto3" json:"added_at,omitempty"` + RequestedAt *v193.Time `protobuf:"bytes,10,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` + ReadyAt *v193.Time `protobuf:"bytes,11,opt,name=ready_at,json=readyAt,proto3" json:"ready_at,omitempty"` + StartedAt *v193.Time `protobuf:"bytes,12,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + LivenessTimestamp *v193.Time `protobuf:"bytes,13,opt,name=liveness_timestamp,json=livenessTimestamp,proto3" json:"liveness_timestamp,omitempty"` + CompletedAt *v193.Time `protobuf:"bytes,14,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` + CleanedUpAt *v193.Time `protobuf:"bytes,15,opt,name=cleaned_up_at,json=cleanedUpAt,proto3" json:"cleaned_up_at,omitempty"` + Status SchemaMigration_Status `protobuf:"varint,16,opt,name=status,proto3,enum=vitess.vtctldata.v19.SchemaMigration_Status" json:"status,omitempty"` + LogPath string `protobuf:"bytes,17,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` + Artifacts string `protobuf:"bytes,18,opt,name=artifacts,proto3" json:"artifacts,omitempty"` + Retries uint64 `protobuf:"varint,19,opt,name=retries,proto3" json:"retries,omitempty"` + Tablet *v192.TabletAlias `protobuf:"bytes,20,opt,name=tablet,proto3" json:"tablet,omitempty"` + TabletFailure bool `protobuf:"varint,21,opt,name=tablet_failure,json=tabletFailure,proto3" json:"tablet_failure,omitempty"` + Progress float32 `protobuf:"fixed32,22,opt,name=progress,proto3" json:"progress,omitempty"` + MigrationContext string `protobuf:"bytes,23,opt,name=migration_context,json=migrationContext,proto3" json:"migration_context,omitempty"` + DdlAction string `protobuf:"bytes,24,opt,name=ddl_action,json=ddlAction,proto3" json:"ddl_action,omitempty"` + Message string `protobuf:"bytes,25,opt,name=message,proto3" json:"message,omitempty"` + EtaSeconds int64 `protobuf:"varint,26,opt,name=eta_seconds,json=etaSeconds,proto3" json:"eta_seconds,omitempty"` + RowsCopied uint64 `protobuf:"varint,27,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` + TableRows int64 `protobuf:"varint,28,opt,name=table_rows,json=tableRows,proto3" json:"table_rows,omitempty"` + AddedUniqueKeys uint32 `protobuf:"varint,29,opt,name=added_unique_keys,json=addedUniqueKeys,proto3" json:"added_unique_keys,omitempty"` + RemovedUniqueKeys uint32 `protobuf:"varint,30,opt,name=removed_unique_keys,json=removedUniqueKeys,proto3" json:"removed_unique_keys,omitempty"` + LogFile string `protobuf:"bytes,31,opt,name=log_file,json=logFile,proto3" json:"log_file,omitempty"` + ArtifactRetention *v193.Duration `protobuf:"bytes,32,opt,name=artifact_retention,json=artifactRetention,proto3" json:"artifact_retention,omitempty"` + PostponeCompletion bool `protobuf:"varint,33,opt,name=postpone_completion,json=postponeCompletion,proto3" json:"postpone_completion,omitempty"` + RemovedUniqueKeyNames string `protobuf:"bytes,34,opt,name=removed_unique_key_names,json=removedUniqueKeyNames,proto3" json:"removed_unique_key_names,omitempty"` + DroppedNoDefaultColumnNames string `protobuf:"bytes,35,opt,name=dropped_no_default_column_names,json=droppedNoDefaultColumnNames,proto3" json:"dropped_no_default_column_names,omitempty"` + ExpandedColumnNames string `protobuf:"bytes,36,opt,name=expanded_column_names,json=expandedColumnNames,proto3" json:"expanded_column_names,omitempty"` + RevertibleNotes string `protobuf:"bytes,37,opt,name=revertible_notes,json=revertibleNotes,proto3" json:"revertible_notes,omitempty"` + AllowConcurrent bool `protobuf:"varint,38,opt,name=allow_concurrent,json=allowConcurrent,proto3" json:"allow_concurrent,omitempty"` + RevertedUuid string `protobuf:"bytes,39,opt,name=reverted_uuid,json=revertedUuid,proto3" json:"reverted_uuid,omitempty"` + IsView bool `protobuf:"varint,40,opt,name=is_view,json=isView,proto3" json:"is_view,omitempty"` + ReadyToComplete bool `protobuf:"varint,41,opt,name=ready_to_complete,json=readyToComplete,proto3" json:"ready_to_complete,omitempty"` + VitessLivenessIndicator int64 `protobuf:"varint,42,opt,name=vitess_liveness_indicator,json=vitessLivenessIndicator,proto3" json:"vitess_liveness_indicator,omitempty"` + UserThrottleRatio float32 `protobuf:"fixed32,43,opt,name=user_throttle_ratio,json=userThrottleRatio,proto3" json:"user_throttle_ratio,omitempty"` + SpecialPlan string `protobuf:"bytes,44,opt,name=special_plan,json=specialPlan,proto3" json:"special_plan,omitempty"` + LastThrottledAt *v193.Time `protobuf:"bytes,45,opt,name=last_throttled_at,json=lastThrottledAt,proto3" json:"last_throttled_at,omitempty"` + ComponentThrottled string `protobuf:"bytes,46,opt,name=component_throttled,json=componentThrottled,proto3" json:"component_throttled,omitempty"` + CancelledAt *v193.Time `protobuf:"bytes,47,opt,name=cancelled_at,json=cancelledAt,proto3" json:"cancelled_at,omitempty"` + PostponeLaunch bool `protobuf:"varint,48,opt,name=postpone_launch,json=postponeLaunch,proto3" json:"postpone_launch,omitempty"` + Stage string `protobuf:"bytes,49,opt,name=stage,proto3" json:"stage,omitempty"` // enum? + CutoverAttempts uint32 `protobuf:"varint,50,opt,name=cutover_attempts,json=cutoverAttempts,proto3" json:"cutover_attempts,omitempty"` + IsImmediateOperation bool `protobuf:"varint,51,opt,name=is_immediate_operation,json=isImmediateOperation,proto3" json:"is_immediate_operation,omitempty"` + ReviewedAt *v193.Time `protobuf:"bytes,52,opt,name=reviewed_at,json=reviewedAt,proto3" json:"reviewed_at,omitempty"` + ReadyToCompleteAt *v193.Time `protobuf:"bytes,53,opt,name=ready_to_complete_at,json=readyToCompleteAt,proto3" json:"ready_to_complete_at,omitempty"` + RemovedForeignKeyNames string `protobuf:"bytes,54,opt,name=removed_foreign_key_names,json=removedForeignKeyNames,proto3" json:"removed_foreign_key_names,omitempty"` +} + +func (x *SchemaMigration) Reset() { + *x = SchemaMigration{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SchemaMigration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SchemaMigration) ProtoMessage() {} + +func (x *SchemaMigration) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SchemaMigration.ProtoReflect.Descriptor instead. +func (*SchemaMigration) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{5} +} + +func (x *SchemaMigration) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *SchemaMigration) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SchemaMigration) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *SchemaMigration) GetSchema() string { + if x != nil { + return x.Schema + } + return "" +} + +func (x *SchemaMigration) GetTable() string { + if x != nil { + return x.Table + } + return "" +} + +func (x *SchemaMigration) GetMigrationStatement() string { + if x != nil { + return x.MigrationStatement + } + return "" +} + +func (x *SchemaMigration) GetStrategy() SchemaMigration_Strategy { + if x != nil { + return x.Strategy + } + return SchemaMigration_VITESS +} + +func (x *SchemaMigration) GetOptions() string { + if x != nil { + return x.Options + } + return "" +} + +func (x *SchemaMigration) GetAddedAt() *v193.Time { + if x != nil { + return x.AddedAt + } + return nil +} + +func (x *SchemaMigration) GetRequestedAt() *v193.Time { + if x != nil { + return x.RequestedAt + } + return nil +} + +func (x *SchemaMigration) GetReadyAt() *v193.Time { + if x != nil { + return x.ReadyAt + } + return nil +} + +func (x *SchemaMigration) GetStartedAt() *v193.Time { + if x != nil { + return x.StartedAt + } + return nil +} + +func (x *SchemaMigration) GetLivenessTimestamp() *v193.Time { + if x != nil { + return x.LivenessTimestamp + } + return nil +} + +func (x *SchemaMigration) GetCompletedAt() *v193.Time { + if x != nil { + return x.CompletedAt + } + return nil +} + +func (x *SchemaMigration) GetCleanedUpAt() *v193.Time { + if x != nil { + return x.CleanedUpAt + } + return nil +} + +func (x *SchemaMigration) GetStatus() SchemaMigration_Status { + if x != nil { + return x.Status + } + return SchemaMigration_UNKNOWN +} + +func (x *SchemaMigration) GetLogPath() string { + if x != nil { + return x.LogPath + } + return "" +} + +func (x *SchemaMigration) GetArtifacts() string { + if x != nil { + return x.Artifacts + } + return "" +} + +func (x *SchemaMigration) GetRetries() uint64 { + if x != nil { + return x.Retries + } + return 0 +} + +func (x *SchemaMigration) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *SchemaMigration) GetTabletFailure() bool { + if x != nil { + return x.TabletFailure + } + return false +} + +func (x *SchemaMigration) GetProgress() float32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *SchemaMigration) GetMigrationContext() string { + if x != nil { + return x.MigrationContext + } + return "" +} + +func (x *SchemaMigration) GetDdlAction() string { + if x != nil { + return x.DdlAction + } + return "" +} + +func (x *SchemaMigration) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *SchemaMigration) GetEtaSeconds() int64 { + if x != nil { + return x.EtaSeconds + } + return 0 +} + +func (x *SchemaMigration) GetRowsCopied() uint64 { + if x != nil { + return x.RowsCopied + } + return 0 +} + +func (x *SchemaMigration) GetTableRows() int64 { + if x != nil { + return x.TableRows + } + return 0 +} + +func (x *SchemaMigration) GetAddedUniqueKeys() uint32 { + if x != nil { + return x.AddedUniqueKeys + } + return 0 +} + +func (x *SchemaMigration) GetRemovedUniqueKeys() uint32 { + if x != nil { + return x.RemovedUniqueKeys + } + return 0 +} + +func (x *SchemaMigration) GetLogFile() string { + if x != nil { + return x.LogFile + } + return "" +} + +func (x *SchemaMigration) GetArtifactRetention() *v193.Duration { + if x != nil { + return x.ArtifactRetention + } + return nil +} + +func (x *SchemaMigration) GetPostponeCompletion() bool { + if x != nil { + return x.PostponeCompletion + } + return false +} + +func (x *SchemaMigration) GetRemovedUniqueKeyNames() string { + if x != nil { + return x.RemovedUniqueKeyNames + } + return "" +} + +func (x *SchemaMigration) GetDroppedNoDefaultColumnNames() string { + if x != nil { + return x.DroppedNoDefaultColumnNames + } + return "" +} + +func (x *SchemaMigration) GetExpandedColumnNames() string { + if x != nil { + return x.ExpandedColumnNames + } + return "" +} + +func (x *SchemaMigration) GetRevertibleNotes() string { + if x != nil { + return x.RevertibleNotes + } + return "" +} + +func (x *SchemaMigration) GetAllowConcurrent() bool { + if x != nil { + return x.AllowConcurrent + } + return false +} + +func (x *SchemaMigration) GetRevertedUuid() string { + if x != nil { + return x.RevertedUuid + } + return "" +} + +func (x *SchemaMigration) GetIsView() bool { + if x != nil { + return x.IsView + } + return false +} + +func (x *SchemaMigration) GetReadyToComplete() bool { + if x != nil { + return x.ReadyToComplete + } + return false +} + +func (x *SchemaMigration) GetVitessLivenessIndicator() int64 { + if x != nil { + return x.VitessLivenessIndicator + } + return 0 +} + +func (x *SchemaMigration) GetUserThrottleRatio() float32 { + if x != nil { + return x.UserThrottleRatio + } + return 0 +} + +func (x *SchemaMigration) GetSpecialPlan() string { + if x != nil { + return x.SpecialPlan + } + return "" +} + +func (x *SchemaMigration) GetLastThrottledAt() *v193.Time { + if x != nil { + return x.LastThrottledAt + } + return nil +} + +func (x *SchemaMigration) GetComponentThrottled() string { + if x != nil { + return x.ComponentThrottled + } + return "" +} + +func (x *SchemaMigration) GetCancelledAt() *v193.Time { + if x != nil { + return x.CancelledAt + } + return nil +} + +func (x *SchemaMigration) GetPostponeLaunch() bool { + if x != nil { + return x.PostponeLaunch + } + return false +} + +func (x *SchemaMigration) GetStage() string { + if x != nil { + return x.Stage + } + return "" +} + +func (x *SchemaMigration) GetCutoverAttempts() uint32 { + if x != nil { + return x.CutoverAttempts + } + return 0 +} + +func (x *SchemaMigration) GetIsImmediateOperation() bool { + if x != nil { + return x.IsImmediateOperation + } + return false +} + +func (x *SchemaMigration) GetReviewedAt() *v193.Time { + if x != nil { + return x.ReviewedAt + } + return nil +} + +func (x *SchemaMigration) GetReadyToCompleteAt() *v193.Time { + if x != nil { + return x.ReadyToCompleteAt + } + return nil +} + +func (x *SchemaMigration) GetRemovedForeignKeyNames() string { + if x != nil { + return x.RemovedForeignKeyNames + } + return "" +} + +type Shard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Shard *v192.Shard `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *Shard) Reset() { + *x = Shard{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shard) ProtoMessage() {} + +func (x *Shard) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Shard.ProtoReflect.Descriptor instead. +func (*Shard) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{6} +} + +func (x *Shard) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *Shard) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Shard) GetShard() *v192.Shard { + if x != nil { + return x.Shard + } + return nil +} + +// TODO: comment the hell out of this. +type Workflow struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source *Workflow_ReplicationLocation `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` + Target *Workflow_ReplicationLocation `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + // This represents how long it's been since we processed any event in the + // stream. + MaxVReplicationLag int64 `protobuf:"varint,4,opt,name=max_v_replication_lag,json=maxVReplicationLag,proto3" json:"max_v_replication_lag,omitempty"` + ShardStreams map[string]*Workflow_ShardStream `protobuf:"bytes,5,rep,name=shard_streams,json=shardStreams,proto3" json:"shard_streams,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + WorkflowType string `protobuf:"bytes,6,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + WorkflowSubType string `protobuf:"bytes,7,opt,name=workflow_sub_type,json=workflowSubType,proto3" json:"workflow_sub_type,omitempty"` + // This represents the lag across all shards, between the current time and + // the timestamp of the last transaction OR heartbeat timestamp (if there + // have been no writes to replicate from the source). + MaxVReplicationTransactionLag int64 `protobuf:"varint,8,opt,name=max_v_replication_transaction_lag,json=maxVReplicationTransactionLag,proto3" json:"max_v_replication_transaction_lag,omitempty"` + // This specifies whether to defer the creation of secondary keys. + DeferSecondaryKeys bool `protobuf:"varint,9,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` +} + +func (x *Workflow) Reset() { + *x = Workflow{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow) ProtoMessage() {} + +func (x *Workflow) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow.ProtoReflect.Descriptor instead. +func (*Workflow) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{7} +} + +func (x *Workflow) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Workflow) GetSource() *Workflow_ReplicationLocation { + if x != nil { + return x.Source + } + return nil +} + +func (x *Workflow) GetTarget() *Workflow_ReplicationLocation { + if x != nil { + return x.Target + } + return nil +} + +func (x *Workflow) GetMaxVReplicationLag() int64 { + if x != nil { + return x.MaxVReplicationLag + } + return 0 +} + +func (x *Workflow) GetShardStreams() map[string]*Workflow_ShardStream { + if x != nil { + return x.ShardStreams + } + return nil +} + +func (x *Workflow) GetWorkflowType() string { + if x != nil { + return x.WorkflowType + } + return "" +} + +func (x *Workflow) GetWorkflowSubType() string { + if x != nil { + return x.WorkflowSubType + } + return "" +} + +func (x *Workflow) GetMaxVReplicationTransactionLag() int64 { + if x != nil { + return x.MaxVReplicationTransactionLag + } + return 0 +} + +func (x *Workflow) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false +} + +type AddCellInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + CellInfo *v192.CellInfo `protobuf:"bytes,2,opt,name=cell_info,json=cellInfo,proto3" json:"cell_info,omitempty"` +} + +func (x *AddCellInfoRequest) Reset() { + *x = AddCellInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddCellInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddCellInfoRequest) ProtoMessage() {} + +func (x *AddCellInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddCellInfoRequest.ProtoReflect.Descriptor instead. +func (*AddCellInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{8} +} + +func (x *AddCellInfoRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *AddCellInfoRequest) GetCellInfo() *v192.CellInfo { + if x != nil { + return x.CellInfo + } + return nil +} + +type AddCellInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddCellInfoResponse) Reset() { + *x = AddCellInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddCellInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddCellInfoResponse) ProtoMessage() {} + +func (x *AddCellInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddCellInfoResponse.ProtoReflect.Descriptor instead. +func (*AddCellInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{9} +} + +type AddCellsAliasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *AddCellsAliasRequest) Reset() { + *x = AddCellsAliasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddCellsAliasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddCellsAliasRequest) ProtoMessage() {} + +func (x *AddCellsAliasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddCellsAliasRequest.ProtoReflect.Descriptor instead. +func (*AddCellsAliasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{10} +} + +func (x *AddCellsAliasRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *AddCellsAliasRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type AddCellsAliasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddCellsAliasResponse) Reset() { + *x = AddCellsAliasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddCellsAliasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddCellsAliasResponse) ProtoMessage() {} + +func (x *AddCellsAliasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddCellsAliasResponse.ProtoReflect.Descriptor instead. +func (*AddCellsAliasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{11} +} + +type ApplyRoutingRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutingRules *v194.RoutingRules `protobuf:"bytes,1,opt,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` + // SkipRebuild, if set, will cause ApplyRoutingRules to skip rebuilding the + // SrvVSchema objects in each cell in RebuildCells. + SkipRebuild bool `protobuf:"varint,2,opt,name=skip_rebuild,json=skipRebuild,proto3" json:"skip_rebuild,omitempty"` + // RebuildCells limits the SrvVSchema rebuild to the specified cells. If not + // provided the SrvVSchema will be rebuilt in every cell in the topology. + // + // Ignored if SkipRebuild is set. + RebuildCells []string `protobuf:"bytes,3,rep,name=rebuild_cells,json=rebuildCells,proto3" json:"rebuild_cells,omitempty"` +} + +func (x *ApplyRoutingRulesRequest) Reset() { + *x = ApplyRoutingRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyRoutingRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyRoutingRulesRequest) ProtoMessage() {} + +func (x *ApplyRoutingRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyRoutingRulesRequest.ProtoReflect.Descriptor instead. +func (*ApplyRoutingRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{12} +} + +func (x *ApplyRoutingRulesRequest) GetRoutingRules() *v194.RoutingRules { + if x != nil { + return x.RoutingRules + } + return nil +} + +func (x *ApplyRoutingRulesRequest) GetSkipRebuild() bool { + if x != nil { + return x.SkipRebuild + } + return false +} + +func (x *ApplyRoutingRulesRequest) GetRebuildCells() []string { + if x != nil { + return x.RebuildCells + } + return nil +} + +type ApplyRoutingRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ApplyRoutingRulesResponse) Reset() { + *x = ApplyRoutingRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyRoutingRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyRoutingRulesResponse) ProtoMessage() {} + +func (x *ApplyRoutingRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyRoutingRulesResponse.ProtoReflect.Descriptor instead. +func (*ApplyRoutingRulesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{13} +} + +type ApplyShardRoutingRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShardRoutingRules *v194.ShardRoutingRules `protobuf:"bytes,1,opt,name=shard_routing_rules,json=shardRoutingRules,proto3" json:"shard_routing_rules,omitempty"` + // SkipRebuild, if set, will cause ApplyShardRoutingRules to skip rebuilding the + // SrvVSchema objects in each cell in RebuildCells. + SkipRebuild bool `protobuf:"varint,2,opt,name=skip_rebuild,json=skipRebuild,proto3" json:"skip_rebuild,omitempty"` + // RebuildCells limits the SrvVSchema rebuild to the specified cells. If not + // provided the SrvVSchema will be rebuilt in every cell in the topology. + // + // Ignored if SkipRebuild is set. + RebuildCells []string `protobuf:"bytes,3,rep,name=rebuild_cells,json=rebuildCells,proto3" json:"rebuild_cells,omitempty"` +} + +func (x *ApplyShardRoutingRulesRequest) Reset() { + *x = ApplyShardRoutingRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyShardRoutingRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyShardRoutingRulesRequest) ProtoMessage() {} + +func (x *ApplyShardRoutingRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyShardRoutingRulesRequest.ProtoReflect.Descriptor instead. +func (*ApplyShardRoutingRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{14} +} + +func (x *ApplyShardRoutingRulesRequest) GetShardRoutingRules() *v194.ShardRoutingRules { + if x != nil { + return x.ShardRoutingRules + } + return nil +} + +func (x *ApplyShardRoutingRulesRequest) GetSkipRebuild() bool { + if x != nil { + return x.SkipRebuild + } + return false +} + +func (x *ApplyShardRoutingRulesRequest) GetRebuildCells() []string { + if x != nil { + return x.RebuildCells + } + return nil +} + +type ApplyShardRoutingRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ApplyShardRoutingRulesResponse) Reset() { + *x = ApplyShardRoutingRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyShardRoutingRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyShardRoutingRulesResponse) ProtoMessage() {} + +func (x *ApplyShardRoutingRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyShardRoutingRulesResponse.ProtoReflect.Descriptor instead. +func (*ApplyShardRoutingRulesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{15} +} + +type ApplySchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // SQL commands to run. + Sql []string `protobuf:"bytes,3,rep,name=sql,proto3" json:"sql,omitempty"` + // Online DDL strategy, compatible with @@ddl_strategy session variable (examples: 'gh-ost', 'pt-osc', 'gh-ost --max-load=Threads_running=100'") + DdlStrategy string `protobuf:"bytes,4,opt,name=ddl_strategy,json=ddlStrategy,proto3" json:"ddl_strategy,omitempty"` + // Optional: explicit UUIDs for migration. + // If given, must match number of DDL changes + UuidList []string `protobuf:"bytes,5,rep,name=uuid_list,json=uuidList,proto3" json:"uuid_list,omitempty"` + // For Online DDL, optionally supply a custom unique string used as context for the migration(s) in this command. + // By default a unique context is auto-generated by Vitess + MigrationContext string `protobuf:"bytes,6,opt,name=migration_context,json=migrationContext,proto3" json:"migration_context,omitempty"` + // WaitReplicasTimeout is the duration of time to wait for replicas to catch + // up in reparenting. + WaitReplicasTimeout *v193.Duration `protobuf:"bytes,7,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v195.CallerID `protobuf:"bytes,9,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + // BatchSize indicates how many queries to apply together + BatchSize int64 `protobuf:"varint,10,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` +} + +func (x *ApplySchemaRequest) Reset() { + *x = ApplySchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplySchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplySchemaRequest) ProtoMessage() {} + +func (x *ApplySchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplySchemaRequest.ProtoReflect.Descriptor instead. +func (*ApplySchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{16} +} + +func (x *ApplySchemaRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ApplySchemaRequest) GetSql() []string { + if x != nil { + return x.Sql + } + return nil +} + +func (x *ApplySchemaRequest) GetDdlStrategy() string { + if x != nil { + return x.DdlStrategy + } + return "" +} + +func (x *ApplySchemaRequest) GetUuidList() []string { + if x != nil { + return x.UuidList + } + return nil +} + +func (x *ApplySchemaRequest) GetMigrationContext() string { + if x != nil { + return x.MigrationContext + } + return "" +} + +func (x *ApplySchemaRequest) GetWaitReplicasTimeout() *v193.Duration { + if x != nil { + return x.WaitReplicasTimeout + } + return nil +} + +func (x *ApplySchemaRequest) GetCallerId() *v195.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *ApplySchemaRequest) GetBatchSize() int64 { + if x != nil { + return x.BatchSize + } + return 0 +} + +type ApplySchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UuidList []string `protobuf:"bytes,1,rep,name=uuid_list,json=uuidList,proto3" json:"uuid_list,omitempty"` + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,2,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *ApplySchemaResponse) Reset() { + *x = ApplySchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplySchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplySchemaResponse) ProtoMessage() {} + +func (x *ApplySchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplySchemaResponse.ProtoReflect.Descriptor instead. +func (*ApplySchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{17} +} + +func (x *ApplySchemaResponse) GetUuidList() []string { + if x != nil { + return x.UuidList + } + return nil +} + +func (x *ApplySchemaResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type ApplyVSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + SkipRebuild bool `protobuf:"varint,2,opt,name=skip_rebuild,json=skipRebuild,proto3" json:"skip_rebuild,omitempty"` + DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` + VSchema *v194.Keyspace `protobuf:"bytes,5,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` + Sql string `protobuf:"bytes,6,opt,name=sql,proto3" json:"sql,omitempty"` + // Strict returns an error if there are unknown vindex params. + Strict bool `protobuf:"varint,7,opt,name=strict,proto3" json:"strict,omitempty"` +} + +func (x *ApplyVSchemaRequest) Reset() { + *x = ApplyVSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyVSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyVSchemaRequest) ProtoMessage() {} + +func (x *ApplyVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyVSchemaRequest.ProtoReflect.Descriptor instead. +func (*ApplyVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{18} +} + +func (x *ApplyVSchemaRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ApplyVSchemaRequest) GetSkipRebuild() bool { + if x != nil { + return x.SkipRebuild + } + return false +} + +func (x *ApplyVSchemaRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *ApplyVSchemaRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *ApplyVSchemaRequest) GetVSchema() *v194.Keyspace { + if x != nil { + return x.VSchema + } + return nil +} + +func (x *ApplyVSchemaRequest) GetSql() string { + if x != nil { + return x.Sql + } + return "" +} + +func (x *ApplyVSchemaRequest) GetStrict() bool { + if x != nil { + return x.Strict + } + return false +} + +type ApplyVSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VSchema *v194.Keyspace `protobuf:"bytes,1,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` + // UnknownVindexParams is a map of vindex name to params that were not recognized by the vindex + // type. E.g.: + // + // { + // "lookup_vdx": { + // "params": ["raed_lock", "not_verify"] + // } + // } + UnknownVindexParams map[string]*ApplyVSchemaResponse_ParamList `protobuf:"bytes,2,rep,name=unknown_vindex_params,json=unknownVindexParams,proto3" json:"unknown_vindex_params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ApplyVSchemaResponse) Reset() { + *x = ApplyVSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyVSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyVSchemaResponse) ProtoMessage() {} + +func (x *ApplyVSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyVSchemaResponse.ProtoReflect.Descriptor instead. +func (*ApplyVSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{19} +} + +func (x *ApplyVSchemaResponse) GetVSchema() *v194.Keyspace { + if x != nil { + return x.VSchema + } + return nil +} + +func (x *ApplyVSchemaResponse) GetUnknownVindexParams() map[string]*ApplyVSchemaResponse_ParamList { + if x != nil { + return x.UnknownVindexParams + } + return nil +} + +type BackupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // AllowPrimary allows the backup to proceed if TabletAlias is a PRIMARY. + // + // WARNING: If using the builtin backup engine, this will shutdown mysqld on + // the primary for the duration of the backup, and no writes will be possible. + AllowPrimary bool `protobuf:"varint,2,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` + // Concurrency specifies the number of compression/checksum jobs to run + // simultaneously. + Concurrency int32 `protobuf:"varint,3,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty + // then the backup becomes incremental and applies as of given position. + IncrementalFromPos string `protobuf:"bytes,4,opt,name=incremental_from_pos,json=incrementalFromPos,proto3" json:"incremental_from_pos,omitempty"` + // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 + // so that it's a backup that can be used for an upgrade. + UpgradeSafe bool `protobuf:"varint,5,opt,name=upgrade_safe,json=upgradeSafe,proto3" json:"upgrade_safe,omitempty"` +} + +func (x *BackupRequest) Reset() { + *x = BackupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupRequest) ProtoMessage() {} + +func (x *BackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupRequest.ProtoReflect.Descriptor instead. +func (*BackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{20} +} + +func (x *BackupRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *BackupRequest) GetAllowPrimary() bool { + if x != nil { + return x.AllowPrimary + } + return false +} + +func (x *BackupRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +func (x *BackupRequest) GetIncrementalFromPos() string { + if x != nil { + return x.IncrementalFromPos + } + return "" +} + +func (x *BackupRequest) GetUpgradeSafe() bool { + if x != nil { + return x.UpgradeSafe + } + return false +} + +type BackupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // TabletAlias is the alias being used for the backup. + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + Event *v19.Event `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"` +} + +func (x *BackupResponse) Reset() { + *x = BackupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupResponse) ProtoMessage() {} + +func (x *BackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupResponse.ProtoReflect.Descriptor instead. +func (*BackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{21} +} + +func (x *BackupResponse) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *BackupResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *BackupResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *BackupResponse) GetEvent() *v19.Event { + if x != nil { + return x.Event + } + return nil +} + +type BackupShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // AllowPrimary allows the backup to occur on a PRIMARY tablet. See + // BackupRequest.AllowPrimary for warnings and caveats. + AllowPrimary bool `protobuf:"varint,3,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` + // Concurrency specifies the number of compression/checksum jobs to run + // simultaneously. + Concurrency int32 `protobuf:"varint,4,opt,name=concurrency,proto3" json:"concurrency,omitempty"` + // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 + // so that it's a backup that can be used for an upgrade. + UpgradeSafe bool `protobuf:"varint,5,opt,name=upgrade_safe,json=upgradeSafe,proto3" json:"upgrade_safe,omitempty"` + // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty + // then the backup becomes incremental and applies as of given position. + IncrementalFromPos string `protobuf:"bytes,6,opt,name=incremental_from_pos,json=incrementalFromPos,proto3" json:"incremental_from_pos,omitempty"` +} + +func (x *BackupShardRequest) Reset() { + *x = BackupShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupShardRequest) ProtoMessage() {} + +func (x *BackupShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupShardRequest.ProtoReflect.Descriptor instead. +func (*BackupShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{22} +} + +func (x *BackupShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *BackupShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *BackupShardRequest) GetAllowPrimary() bool { + if x != nil { + return x.AllowPrimary + } + return false +} + +func (x *BackupShardRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +func (x *BackupShardRequest) GetUpgradeSafe() bool { + if x != nil { + return x.UpgradeSafe + } + return false +} + +func (x *BackupShardRequest) GetIncrementalFromPos() string { + if x != nil { + return x.IncrementalFromPos + } + return "" +} + +type CancelSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *CancelSchemaMigrationRequest) Reset() { + *x = CancelSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelSchemaMigrationRequest) ProtoMessage() {} + +func (x *CancelSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CancelSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{23} +} + +func (x *CancelSchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *CancelSchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type CancelSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *CancelSchemaMigrationResponse) Reset() { + *x = CancelSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelSchemaMigrationResponse) ProtoMessage() {} + +func (x *CancelSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*CancelSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{24} +} + +func (x *CancelSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type ChangeTabletTypeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + DbType v192.TabletType `protobuf:"varint,2,opt,name=db_type,json=dbType,proto3,enum=vitess.topodata.v19.TabletType" json:"db_type,omitempty"` + DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` +} + +func (x *ChangeTabletTypeRequest) Reset() { + *x = ChangeTabletTypeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTabletTypeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTabletTypeRequest) ProtoMessage() {} + +func (x *ChangeTabletTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTabletTypeRequest.ProtoReflect.Descriptor instead. +func (*ChangeTabletTypeRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{25} +} + +func (x *ChangeTabletTypeRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ChangeTabletTypeRequest) GetDbType() v192.TabletType { + if x != nil { + return x.DbType + } + return v192.TabletType(0) +} + +func (x *ChangeTabletTypeRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +type ChangeTabletTypeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BeforeTablet *v192.Tablet `protobuf:"bytes,1,opt,name=before_tablet,json=beforeTablet,proto3" json:"before_tablet,omitempty"` + AfterTablet *v192.Tablet `protobuf:"bytes,2,opt,name=after_tablet,json=afterTablet,proto3" json:"after_tablet,omitempty"` + WasDryRun bool `protobuf:"varint,3,opt,name=was_dry_run,json=wasDryRun,proto3" json:"was_dry_run,omitempty"` +} + +func (x *ChangeTabletTypeResponse) Reset() { + *x = ChangeTabletTypeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeTabletTypeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeTabletTypeResponse) ProtoMessage() {} + +func (x *ChangeTabletTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangeTabletTypeResponse.ProtoReflect.Descriptor instead. +func (*ChangeTabletTypeResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{26} +} + +func (x *ChangeTabletTypeResponse) GetBeforeTablet() *v192.Tablet { + if x != nil { + return x.BeforeTablet + } + return nil +} + +func (x *ChangeTabletTypeResponse) GetAfterTablet() *v192.Tablet { + if x != nil { + return x.AfterTablet + } + return nil +} + +func (x *ChangeTabletTypeResponse) GetWasDryRun() bool { + if x != nil { + return x.WasDryRun + } + return false +} + +type CleanupSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *CleanupSchemaMigrationRequest) Reset() { + *x = CleanupSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CleanupSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CleanupSchemaMigrationRequest) ProtoMessage() {} + +func (x *CleanupSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CleanupSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CleanupSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{27} +} + +func (x *CleanupSchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *CleanupSchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type CleanupSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *CleanupSchemaMigrationResponse) Reset() { + *x = CleanupSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CleanupSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CleanupSchemaMigrationResponse) ProtoMessage() {} + +func (x *CleanupSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CleanupSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*CleanupSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{28} +} + +func (x *CleanupSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type CompleteSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *CompleteSchemaMigrationRequest) Reset() { + *x = CompleteSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompleteSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompleteSchemaMigrationRequest) ProtoMessage() {} + +func (x *CompleteSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompleteSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*CompleteSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{29} +} + +func (x *CompleteSchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *CompleteSchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type CompleteSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *CompleteSchemaMigrationResponse) Reset() { + *x = CompleteSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompleteSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompleteSchemaMigrationResponse) ProtoMessage() {} + +func (x *CompleteSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompleteSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*CompleteSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{30} +} + +func (x *CompleteSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type CreateKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name is the name of the keyspace. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Force proceeds with the request even if the keyspace already exists. + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + // AllowEmptyVSchema allows a keyspace to be created with no vschema. + AllowEmptyVSchema bool `protobuf:"varint,3,opt,name=allow_empty_v_schema,json=allowEmptyVSchema,proto3" json:"allow_empty_v_schema,omitempty"` + // Type is the type of the keyspace to create. + Type v192.KeyspaceType `protobuf:"varint,7,opt,name=type,proto3,enum=vitess.topodata.v19.KeyspaceType" json:"type,omitempty"` + // BaseKeyspace specifies the base keyspace for SNAPSHOT keyspaces. It is + // required to create a SNAPSHOT keyspace. + BaseKeyspace string `protobuf:"bytes,8,opt,name=base_keyspace,json=baseKeyspace,proto3" json:"base_keyspace,omitempty"` + // SnapshotTime specifies the snapshot time for this keyspace. It is required + // to create a SNAPSHOT keyspace. + SnapshotTime *v193.Time `protobuf:"bytes,9,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` + // DurabilityPolicy is the durability policy to be + // used for this keyspace. + DurabilityPolicy string `protobuf:"bytes,10,opt,name=durability_policy,json=durabilityPolicy,proto3" json:"durability_policy,omitempty"` + // SidecarDBName is the name of the sidecar database that + // each vttablet in the keyspace will use. + SidecarDbName string `protobuf:"bytes,11,opt,name=sidecar_db_name,json=sidecarDbName,proto3" json:"sidecar_db_name,omitempty"` +} + +func (x *CreateKeyspaceRequest) Reset() { + *x = CreateKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateKeyspaceRequest) ProtoMessage() {} + +func (x *CreateKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*CreateKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{31} +} + +func (x *CreateKeyspaceRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CreateKeyspaceRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *CreateKeyspaceRequest) GetAllowEmptyVSchema() bool { + if x != nil { + return x.AllowEmptyVSchema + } + return false +} + +func (x *CreateKeyspaceRequest) GetType() v192.KeyspaceType { + if x != nil { + return x.Type + } + return v192.KeyspaceType(0) +} + +func (x *CreateKeyspaceRequest) GetBaseKeyspace() string { + if x != nil { + return x.BaseKeyspace + } + return "" +} + +func (x *CreateKeyspaceRequest) GetSnapshotTime() *v193.Time { + if x != nil { + return x.SnapshotTime + } + return nil +} + +func (x *CreateKeyspaceRequest) GetDurabilityPolicy() string { + if x != nil { + return x.DurabilityPolicy + } + return "" +} + +func (x *CreateKeyspaceRequest) GetSidecarDbName() string { + if x != nil { + return x.SidecarDbName + } + return "" +} + +type CreateKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the newly-created keyspace. + Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *CreateKeyspaceResponse) Reset() { + *x = CreateKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateKeyspaceResponse) ProtoMessage() {} + +func (x *CreateKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*CreateKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{32} +} + +func (x *CreateKeyspaceResponse) GetKeyspace() *Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +type CreateShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace to create the shard in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // ShardName is the name of the shard to create. E.g. "-" or "-80". + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + // Force treats an attempt to create a shard that already exists as a + // non-error. + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + // IncludeParent creates the parent keyspace as an empty BASE keyspace, if it + // doesn't already exist. + IncludeParent bool `protobuf:"varint,4,opt,name=include_parent,json=includeParent,proto3" json:"include_parent,omitempty"` +} + +func (x *CreateShardRequest) Reset() { + *x = CreateShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateShardRequest) ProtoMessage() {} + +func (x *CreateShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateShardRequest.ProtoReflect.Descriptor instead. +func (*CreateShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{33} +} + +func (x *CreateShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *CreateShardRequest) GetShardName() string { + if x != nil { + return x.ShardName + } + return "" +} + +func (x *CreateShardRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *CreateShardRequest) GetIncludeParent() bool { + if x != nil { + return x.IncludeParent + } + return false +} + +type CreateShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the created keyspace. It is set only if IncludeParent was + // specified in the request and the parent keyspace needed to be created. + Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the newly-created shard object. + Shard *Shard `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // ShardAlreadyExists is set if Force was specified in the request and the + // shard already existed. + ShardAlreadyExists bool `protobuf:"varint,3,opt,name=shard_already_exists,json=shardAlreadyExists,proto3" json:"shard_already_exists,omitempty"` +} + +func (x *CreateShardResponse) Reset() { + *x = CreateShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateShardResponse) ProtoMessage() {} + +func (x *CreateShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateShardResponse.ProtoReflect.Descriptor instead. +func (*CreateShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{34} +} + +func (x *CreateShardResponse) GetKeyspace() *Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +func (x *CreateShardResponse) GetShard() *Shard { + if x != nil { + return x.Shard + } + return nil +} + +func (x *CreateShardResponse) GetShardAlreadyExists() bool { + if x != nil { + return x.ShardAlreadyExists + } + return false +} + +type DeleteCellInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` +} + +func (x *DeleteCellInfoRequest) Reset() { + *x = DeleteCellInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteCellInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteCellInfoRequest) ProtoMessage() {} + +func (x *DeleteCellInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteCellInfoRequest.ProtoReflect.Descriptor instead. +func (*DeleteCellInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{35} +} + +func (x *DeleteCellInfoRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DeleteCellInfoRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +type DeleteCellInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteCellInfoResponse) Reset() { + *x = DeleteCellInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteCellInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteCellInfoResponse) ProtoMessage() {} + +func (x *DeleteCellInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteCellInfoResponse.ProtoReflect.Descriptor instead. +func (*DeleteCellInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{36} +} + +type DeleteCellsAliasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *DeleteCellsAliasRequest) Reset() { + *x = DeleteCellsAliasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteCellsAliasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteCellsAliasRequest) ProtoMessage() {} + +func (x *DeleteCellsAliasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteCellsAliasRequest.ProtoReflect.Descriptor instead. +func (*DeleteCellsAliasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{37} +} + +func (x *DeleteCellsAliasRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type DeleteCellsAliasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteCellsAliasResponse) Reset() { + *x = DeleteCellsAliasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteCellsAliasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteCellsAliasResponse) ProtoMessage() {} + +func (x *DeleteCellsAliasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteCellsAliasResponse.ProtoReflect.Descriptor instead. +func (*DeleteCellsAliasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{38} +} + +type DeleteKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace to delete. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Recursive causes all shards in the keyspace to be recursively deleted + // before deleting the keyspace. It is an error to call DeleteKeyspace on a + // non-empty keyspace without also specifying Recursive. + Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` + // Force allows a keyspace to be deleted even if the keyspace lock cannot be + // obtained. This should only be used to force-clean a keyspace. + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` +} + +func (x *DeleteKeyspaceRequest) Reset() { + *x = DeleteKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteKeyspaceRequest) ProtoMessage() {} + +func (x *DeleteKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*DeleteKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{39} +} + +func (x *DeleteKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *DeleteKeyspaceRequest) GetRecursive() bool { + if x != nil { + return x.Recursive + } + return false +} + +func (x *DeleteKeyspaceRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +type DeleteKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteKeyspaceResponse) Reset() { + *x = DeleteKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteKeyspaceResponse) ProtoMessage() {} + +func (x *DeleteKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*DeleteKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{40} +} + +type DeleteShardsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Shards is the list of shards to delete. The nested topodatapb.Shard field + // is not required for DeleteShard, but the Keyspace and Shard fields are. + Shards []*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty"` + // Recursive also deletes all tablets belonging to the shard(s). It is an + // error to call DeleteShard on a non-empty shard without also specificying + // Recursive. + Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` + // EvenIfServing allows a shard to be deleted even if it is serving, which is + // normally an error. Use with caution. + EvenIfServing bool `protobuf:"varint,4,opt,name=even_if_serving,json=evenIfServing,proto3" json:"even_if_serving,omitempty"` + // Force allows a shard to be deleted even if the shard lock cannot be + // obtained. This should only be used to force-clean a shard. + Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` +} + +func (x *DeleteShardsRequest) Reset() { + *x = DeleteShardsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteShardsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteShardsRequest) ProtoMessage() {} + +func (x *DeleteShardsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteShardsRequest.ProtoReflect.Descriptor instead. +func (*DeleteShardsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{41} +} + +func (x *DeleteShardsRequest) GetShards() []*Shard { + if x != nil { + return x.Shards + } + return nil +} + +func (x *DeleteShardsRequest) GetRecursive() bool { + if x != nil { + return x.Recursive + } + return false +} + +func (x *DeleteShardsRequest) GetEvenIfServing() bool { + if x != nil { + return x.EvenIfServing + } + return false +} + +func (x *DeleteShardsRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +type DeleteShardsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteShardsResponse) Reset() { + *x = DeleteShardsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteShardsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteShardsResponse) ProtoMessage() {} + +func (x *DeleteShardsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteShardsResponse.ProtoReflect.Descriptor instead. +func (*DeleteShardsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{42} +} + +type DeleteSrvVSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cell string `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *DeleteSrvVSchemaRequest) Reset() { + *x = DeleteSrvVSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteSrvVSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteSrvVSchemaRequest) ProtoMessage() {} + +func (x *DeleteSrvVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteSrvVSchemaRequest.ProtoReflect.Descriptor instead. +func (*DeleteSrvVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{43} +} + +func (x *DeleteSrvVSchemaRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +type DeleteSrvVSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteSrvVSchemaResponse) Reset() { + *x = DeleteSrvVSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteSrvVSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteSrvVSchemaResponse) ProtoMessage() {} + +func (x *DeleteSrvVSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteSrvVSchemaResponse.ProtoReflect.Descriptor instead. +func (*DeleteSrvVSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{44} +} + +type DeleteTabletsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // TabletAliases is the list of tablets to delete. + TabletAliases []*v192.TabletAlias `protobuf:"bytes,1,rep,name=tablet_aliases,json=tabletAliases,proto3" json:"tablet_aliases,omitempty"` + // AllowPrimary allows for the primary tablet of a shard to be deleted. + // Use with caution. + AllowPrimary bool `protobuf:"varint,2,opt,name=allow_primary,json=allowPrimary,proto3" json:"allow_primary,omitempty"` +} + +func (x *DeleteTabletsRequest) Reset() { + *x = DeleteTabletsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteTabletsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteTabletsRequest) ProtoMessage() {} + +func (x *DeleteTabletsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteTabletsRequest.ProtoReflect.Descriptor instead. +func (*DeleteTabletsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{45} +} + +func (x *DeleteTabletsRequest) GetTabletAliases() []*v192.TabletAlias { + if x != nil { + return x.TabletAliases + } + return nil +} + +func (x *DeleteTabletsRequest) GetAllowPrimary() bool { + if x != nil { + return x.AllowPrimary + } + return false +} + +type DeleteTabletsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteTabletsResponse) Reset() { + *x = DeleteTabletsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteTabletsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteTabletsResponse) ProtoMessage() {} + +func (x *DeleteTabletsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteTabletsResponse.ProtoReflect.Descriptor instead. +func (*DeleteTabletsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{46} +} + +type EmergencyReparentShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace to perform the Emergency Reparent in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard to perform the Emergency Reparent in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // Optional alias of a tablet that should become the new shard primary. If not + // not specified, the vtctld will select the most up-to-date canditate to + // promote. + NewPrimary *v192.TabletAlias `protobuf:"bytes,3,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` + // List of replica aliases to ignore during the Emergency Reparent. The vtctld + // will not attempt to stop replication on these tablets, nor attempt to + // demote any that may think they are the shard primary. + IgnoreReplicas []*v192.TabletAlias `protobuf:"bytes,4,rep,name=ignore_replicas,json=ignoreReplicas,proto3" json:"ignore_replicas,omitempty"` + // WaitReplicasTimeout is the duration of time to wait for replicas to catch + // up in reparenting. + WaitReplicasTimeout *v193.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` + // 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"` + // WaitForAllTablets makes ERS wait for a response from all the tablets before proceeding. + // Useful when all the tablets are up and reachable. + WaitForAllTablets bool `protobuf:"varint,7,opt,name=wait_for_all_tablets,json=waitForAllTablets,proto3" json:"wait_for_all_tablets,omitempty"` +} + +func (x *EmergencyReparentShardRequest) Reset() { + *x = EmergencyReparentShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmergencyReparentShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmergencyReparentShardRequest) ProtoMessage() {} + +func (x *EmergencyReparentShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EmergencyReparentShardRequest.ProtoReflect.Descriptor instead. +func (*EmergencyReparentShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{47} +} + +func (x *EmergencyReparentShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *EmergencyReparentShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *EmergencyReparentShardRequest) GetNewPrimary() *v192.TabletAlias { + if x != nil { + return x.NewPrimary + } + return nil +} + +func (x *EmergencyReparentShardRequest) GetIgnoreReplicas() []*v192.TabletAlias { + if x != nil { + return x.IgnoreReplicas + } + return nil +} + +func (x *EmergencyReparentShardRequest) GetWaitReplicasTimeout() *v193.Duration { + if x != nil { + return x.WaitReplicasTimeout + } + return nil +} + +func (x *EmergencyReparentShardRequest) GetPreventCrossCellPromotion() bool { + if x != nil { + return x.PreventCrossCellPromotion + } + return false +} + +func (x *EmergencyReparentShardRequest) GetWaitForAllTablets() bool { + if x != nil { + return x.WaitForAllTablets + } + return false +} + +type EmergencyReparentShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace the Emergency Reparent took place in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard the Emergency Reparent took place in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // PromotedPrimary is the alias of the tablet that was promoted to shard + // primary. If NewPrimary was set in the request, then this will be the same + // alias. Otherwise, it will be the alias of the tablet found to be most + // up-to-date. + PromotedPrimary *v192.TabletAlias `protobuf:"bytes,3,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` + Events []*v19.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *EmergencyReparentShardResponse) Reset() { + *x = EmergencyReparentShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmergencyReparentShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmergencyReparentShardResponse) ProtoMessage() {} + +func (x *EmergencyReparentShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EmergencyReparentShardResponse.ProtoReflect.Descriptor instead. +func (*EmergencyReparentShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{48} +} + +func (x *EmergencyReparentShardResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *EmergencyReparentShardResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *EmergencyReparentShardResponse) GetPromotedPrimary() *v192.TabletAlias { + if x != nil { + return x.PromotedPrimary + } + return nil +} + +func (x *EmergencyReparentShardResponse) GetEvents() []*v19.Event { + if x != nil { + return x.Events + } + return nil +} + +type ExecuteFetchAsAppRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + // MaxRows is an optional parameter to limit the number of rows read into the + // QueryResult. Note that this does not apply a LIMIT to the query, just how + // many rows are read from the MySQL server on the tablet side. + // + // This field is optional. Specifying a non-positive value will use whatever + // default is configured in the VtctldService. + MaxRows int64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + // UsePool causes the query to be run with a pooled connection to the tablet. + UsePool bool `protobuf:"varint,4,opt,name=use_pool,json=usePool,proto3" json:"use_pool,omitempty"` +} + +func (x *ExecuteFetchAsAppRequest) Reset() { + *x = ExecuteFetchAsAppRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsAppRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsAppRequest) ProtoMessage() {} + +func (x *ExecuteFetchAsAppRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsAppRequest.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsAppRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{49} +} + +func (x *ExecuteFetchAsAppRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ExecuteFetchAsAppRequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +func (x *ExecuteFetchAsAppRequest) GetMaxRows() int64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *ExecuteFetchAsAppRequest) GetUsePool() bool { + if x != nil { + return x.UsePool + } + return false +} + +type ExecuteFetchAsAppResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v196.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteFetchAsAppResponse) Reset() { + *x = ExecuteFetchAsAppResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsAppResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsAppResponse) ProtoMessage() {} + +func (x *ExecuteFetchAsAppResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsAppResponse.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsAppResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{50} +} + +func (x *ExecuteFetchAsAppResponse) GetResult() *v196.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ExecuteFetchAsDBARequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + // MaxRows is an optional parameter to limit the number of rows read into the + // QueryResult. Note that this does not apply a LIMIT to the query, just how + // many rows are read from the MySQL server on the tablet side. + // + // This field is optional. Specifying a non-positive value will use whatever + // default is configured in the VtctldService. + MaxRows int64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"` + // DisableBinlogs instructs the tablet not to use binary logging when + // executing the query. + DisableBinlogs bool `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs,proto3" json:"disable_binlogs,omitempty"` + // ReloadSchema instructs the tablet to reload its schema after executing the + // query. + ReloadSchema bool `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema,proto3" json:"reload_schema,omitempty"` +} + +func (x *ExecuteFetchAsDBARequest) Reset() { + *x = ExecuteFetchAsDBARequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsDBARequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsDBARequest) ProtoMessage() {} + +func (x *ExecuteFetchAsDBARequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsDBARequest.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsDBARequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{51} +} + +func (x *ExecuteFetchAsDBARequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ExecuteFetchAsDBARequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +func (x *ExecuteFetchAsDBARequest) GetMaxRows() int64 { + if x != nil { + return x.MaxRows + } + return 0 +} + +func (x *ExecuteFetchAsDBARequest) GetDisableBinlogs() bool { + if x != nil { + return x.DisableBinlogs + } + return false +} + +func (x *ExecuteFetchAsDBARequest) GetReloadSchema() bool { + if x != nil { + return x.ReloadSchema + } + return false +} + +type ExecuteFetchAsDBAResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *v196.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteFetchAsDBAResponse) Reset() { + *x = ExecuteFetchAsDBAResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteFetchAsDBAResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteFetchAsDBAResponse) ProtoMessage() {} + +func (x *ExecuteFetchAsDBAResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteFetchAsDBAResponse.ProtoReflect.Descriptor instead. +func (*ExecuteFetchAsDBAResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{52} +} + +func (x *ExecuteFetchAsDBAResponse) GetResult() *v196.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +type ExecuteHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + TabletHookRequest *v191.ExecuteHookRequest `protobuf:"bytes,2,opt,name=tablet_hook_request,json=tabletHookRequest,proto3" json:"tablet_hook_request,omitempty"` +} + +func (x *ExecuteHookRequest) Reset() { + *x = ExecuteHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteHookRequest) ProtoMessage() {} + +func (x *ExecuteHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteHookRequest.ProtoReflect.Descriptor instead. +func (*ExecuteHookRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{53} +} + +func (x *ExecuteHookRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *ExecuteHookRequest) GetTabletHookRequest() *v191.ExecuteHookRequest { + if x != nil { + return x.TabletHookRequest + } + return nil +} + +type ExecuteHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HookResult *v191.ExecuteHookResponse `protobuf:"bytes,1,opt,name=hook_result,json=hookResult,proto3" json:"hook_result,omitempty"` +} + +func (x *ExecuteHookResponse) Reset() { + *x = ExecuteHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteHookResponse) ProtoMessage() {} + +func (x *ExecuteHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteHookResponse.ProtoReflect.Descriptor instead. +func (*ExecuteHookResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{54} +} + +func (x *ExecuteHookResponse) GetHookResult() *v191.ExecuteHookResponse { + if x != nil { + return x.HookResult + } + return nil +} + +type FindAllShardsInKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *FindAllShardsInKeyspaceRequest) Reset() { + *x = FindAllShardsInKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllShardsInKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllShardsInKeyspaceRequest) ProtoMessage() {} + +func (x *FindAllShardsInKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllShardsInKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*FindAllShardsInKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{55} +} + +func (x *FindAllShardsInKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type FindAllShardsInKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shards map[string]*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *FindAllShardsInKeyspaceResponse) Reset() { + *x = FindAllShardsInKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllShardsInKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllShardsInKeyspaceResponse) ProtoMessage() {} + +func (x *FindAllShardsInKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllShardsInKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*FindAllShardsInKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{56} +} + +func (x *FindAllShardsInKeyspaceResponse) GetShards() map[string]*Shard { + if x != nil { + return x.Shards + } + return nil +} + +type ForceCutOverSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *ForceCutOverSchemaMigrationRequest) Reset() { + *x = ForceCutOverSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceCutOverSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceCutOverSchemaMigrationRequest) ProtoMessage() {} + +func (x *ForceCutOverSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceCutOverSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*ForceCutOverSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{57} +} + +func (x *ForceCutOverSchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ForceCutOverSchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type ForceCutOverSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *ForceCutOverSchemaMigrationResponse) Reset() { + *x = ForceCutOverSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForceCutOverSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForceCutOverSchemaMigrationResponse) ProtoMessage() {} + +func (x *ForceCutOverSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForceCutOverSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*ForceCutOverSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{58} +} + +func (x *ForceCutOverSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type GetBackupsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // Limit, if nonzero, will return only the most N recent backups. + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + // Detailed indicates whether to use the backupengine, if supported, to + // populate additional fields, such as Engine and Status, on BackupInfo + // objects in the response. If not set, or if the backupengine does not + // support populating these fields, Engine will always be empty, and Status + // will always be UNKNOWN. + Detailed bool `protobuf:"varint,4,opt,name=detailed,proto3" json:"detailed,omitempty"` + // DetailedLimit, if nonzero, will only populate additional fields (see Detailed) + // on the N most recent backups. The Limit field still dictates the total + // number of backup info objects returned, so, in reality, min(Limit, DetailedLimit) + // backup infos will have additional fields set, and any remaining backups + // will not. + DetailedLimit uint32 `protobuf:"varint,5,opt,name=detailed_limit,json=detailedLimit,proto3" json:"detailed_limit,omitempty"` +} + +func (x *GetBackupsRequest) Reset() { + *x = GetBackupsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBackupsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBackupsRequest) ProtoMessage() {} + +func (x *GetBackupsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBackupsRequest.ProtoReflect.Descriptor instead. +func (*GetBackupsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{59} +} + +func (x *GetBackupsRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetBackupsRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *GetBackupsRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *GetBackupsRequest) GetDetailed() bool { + if x != nil { + return x.Detailed + } + return false +} + +func (x *GetBackupsRequest) GetDetailedLimit() uint32 { + if x != nil { + return x.DetailedLimit + } + return 0 +} + +type GetBackupsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Backups []*v197.BackupInfo `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` +} + +func (x *GetBackupsResponse) Reset() { + *x = GetBackupsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBackupsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBackupsResponse) ProtoMessage() {} + +func (x *GetBackupsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBackupsResponse.ProtoReflect.Descriptor instead. +func (*GetBackupsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{60} +} + +func (x *GetBackupsResponse) GetBackups() []*v197.BackupInfo { + if x != nil { + return x.Backups + } + return nil +} + +type GetCellInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cell string `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *GetCellInfoRequest) Reset() { + *x = GetCellInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellInfoRequest) ProtoMessage() {} + +func (x *GetCellInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellInfoRequest.ProtoReflect.Descriptor instead. +func (*GetCellInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{61} +} + +func (x *GetCellInfoRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +type GetCellInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CellInfo *v192.CellInfo `protobuf:"bytes,1,opt,name=cell_info,json=cellInfo,proto3" json:"cell_info,omitempty"` +} + +func (x *GetCellInfoResponse) Reset() { + *x = GetCellInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellInfoResponse) ProtoMessage() {} + +func (x *GetCellInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellInfoResponse.ProtoReflect.Descriptor instead. +func (*GetCellInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{62} +} + +func (x *GetCellInfoResponse) GetCellInfo() *v192.CellInfo { + if x != nil { + return x.CellInfo + } + return nil +} + +type GetCellInfoNamesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetCellInfoNamesRequest) Reset() { + *x = GetCellInfoNamesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellInfoNamesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellInfoNamesRequest) ProtoMessage() {} + +func (x *GetCellInfoNamesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellInfoNamesRequest.ProtoReflect.Descriptor instead. +func (*GetCellInfoNamesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{63} +} + +type GetCellInfoNamesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *GetCellInfoNamesResponse) Reset() { + *x = GetCellInfoNamesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellInfoNamesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellInfoNamesResponse) ProtoMessage() {} + +func (x *GetCellInfoNamesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellInfoNamesResponse.ProtoReflect.Descriptor instead. +func (*GetCellInfoNamesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{64} +} + +func (x *GetCellInfoNamesResponse) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +type GetCellsAliasesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetCellsAliasesRequest) Reset() { + *x = GetCellsAliasesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellsAliasesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellsAliasesRequest) ProtoMessage() {} + +func (x *GetCellsAliasesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellsAliasesRequest.ProtoReflect.Descriptor instead. +func (*GetCellsAliasesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{65} +} + +type GetCellsAliasesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Aliases map[string]*v192.CellsAlias `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetCellsAliasesResponse) Reset() { + *x = GetCellsAliasesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCellsAliasesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCellsAliasesResponse) ProtoMessage() {} + +func (x *GetCellsAliasesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCellsAliasesResponse.ProtoReflect.Descriptor instead. +func (*GetCellsAliasesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{66} +} + +func (x *GetCellsAliasesResponse) GetAliases() map[string]*v192.CellsAlias { + if x != nil { + return x.Aliases + } + return nil +} + +type GetFullStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *GetFullStatusRequest) Reset() { + *x = GetFullStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFullStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFullStatusRequest) ProtoMessage() {} + +func (x *GetFullStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFullStatusRequest.ProtoReflect.Descriptor instead. +func (*GetFullStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{67} +} + +func (x *GetFullStatusRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type GetFullStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status *v198.FullStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *GetFullStatusResponse) Reset() { + *x = GetFullStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFullStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFullStatusResponse) ProtoMessage() {} + +func (x *GetFullStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFullStatusResponse.ProtoReflect.Descriptor instead. +func (*GetFullStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{68} +} + +func (x *GetFullStatusResponse) GetStatus() *v198.FullStatus { + if x != nil { + return x.Status + } + return nil +} + +type GetKeyspacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetKeyspacesRequest) Reset() { + *x = GetKeyspacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspacesRequest) ProtoMessage() {} + +func (x *GetKeyspacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspacesRequest.ProtoReflect.Descriptor instead. +func (*GetKeyspacesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{69} +} + +type GetKeyspacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspaces []*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` +} + +func (x *GetKeyspacesResponse) Reset() { + *x = GetKeyspacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspacesResponse) ProtoMessage() {} + +func (x *GetKeyspacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspacesResponse.ProtoReflect.Descriptor instead. +func (*GetKeyspacesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{70} +} + +func (x *GetKeyspacesResponse) GetKeyspaces() []*Keyspace { + if x != nil { + return x.Keyspaces + } + return nil +} + +type GetKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *GetKeyspaceRequest) Reset() { + *x = GetKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspaceRequest) ProtoMessage() {} + +func (x *GetKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*GetKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{71} +} + +func (x *GetKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type GetKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace *Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *GetKeyspaceResponse) Reset() { + *x = GetKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetKeyspaceResponse) ProtoMessage() {} + +func (x *GetKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*GetKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{72} +} + +func (x *GetKeyspaceResponse) GetKeyspace() *Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +type GetPermissionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *GetPermissionsRequest) Reset() { + *x = GetPermissionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPermissionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPermissionsRequest) ProtoMessage() {} + +func (x *GetPermissionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead. +func (*GetPermissionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{73} +} + +func (x *GetPermissionsRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type GetPermissionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Permissions *v191.Permissions `protobuf:"bytes,1,opt,name=permissions,proto3" json:"permissions,omitempty"` +} + +func (x *GetPermissionsResponse) Reset() { + *x = GetPermissionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPermissionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPermissionsResponse) ProtoMessage() {} + +func (x *GetPermissionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead. +func (*GetPermissionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{74} +} + +func (x *GetPermissionsResponse) GetPermissions() *v191.Permissions { + if x != nil { + return x.Permissions + } + return nil +} + +type GetRoutingRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetRoutingRulesRequest) Reset() { + *x = GetRoutingRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRoutingRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRoutingRulesRequest) ProtoMessage() {} + +func (x *GetRoutingRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRoutingRulesRequest.ProtoReflect.Descriptor instead. +func (*GetRoutingRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{75} +} + +type GetRoutingRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoutingRules *v194.RoutingRules `protobuf:"bytes,1,opt,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` +} + +func (x *GetRoutingRulesResponse) Reset() { + *x = GetRoutingRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRoutingRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRoutingRulesResponse) ProtoMessage() {} + +func (x *GetRoutingRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRoutingRulesResponse.ProtoReflect.Descriptor instead. +func (*GetRoutingRulesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{76} +} + +func (x *GetRoutingRulesResponse) GetRoutingRules() *v194.RoutingRules { + if x != nil { + return x.RoutingRules + } + return nil +} + +type GetSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // Tables is a list of tables for which we should gather information. Each is + // either an exact match, or a regular expression of the form /regexp/. + Tables []string `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"` + // ExcludeTables is a list of tables to exclude from the result. Each is + // either an exact match, or a regular expression of the form /regexp/. + ExcludeTables []string `protobuf:"bytes,3,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + // IncludeViews specifies whether to include views in the result. + IncludeViews bool `protobuf:"varint,4,opt,name=include_views,json=includeViews,proto3" json:"include_views,omitempty"` + // TableNamesOnly specifies whether to limit the results to just table names, + // rather than full schema information for each table. + TableNamesOnly bool `protobuf:"varint,5,opt,name=table_names_only,json=tableNamesOnly,proto3" json:"table_names_only,omitempty"` + // TableSizesOnly specifies whether to limit the results to just table sizes, + // rather than full schema information for each table. It is ignored if + // TableNamesOnly is set to true. + TableSizesOnly bool `protobuf:"varint,6,opt,name=table_sizes_only,json=tableSizesOnly,proto3" json:"table_sizes_only,omitempty"` + // TableSchemaOnly specifies whether to limit the results to just table/view + // schema definition (CREATE TABLE/VIEW statements) and skip column/field information + TableSchemaOnly bool `protobuf:"varint,7,opt,name=table_schema_only,json=tableSchemaOnly,proto3" json:"table_schema_only,omitempty"` +} + +func (x *GetSchemaRequest) Reset() { + *x = GetSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaRequest) ProtoMessage() {} + +func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{77} +} + +func (x *GetSchemaRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *GetSchemaRequest) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +func (x *GetSchemaRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables + } + return nil +} + +func (x *GetSchemaRequest) GetIncludeViews() bool { + if x != nil { + return x.IncludeViews + } + return false +} + +func (x *GetSchemaRequest) GetTableNamesOnly() bool { + if x != nil { + return x.TableNamesOnly + } + return false +} + +func (x *GetSchemaRequest) GetTableSizesOnly() bool { + if x != nil { + return x.TableSizesOnly + } + return false +} + +func (x *GetSchemaRequest) GetTableSchemaOnly() bool { + if x != nil { + return x.TableSchemaOnly + } + return false +} + +type GetSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Schema *v191.SchemaDefinition `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` +} + +func (x *GetSchemaResponse) Reset() { + *x = GetSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaResponse) ProtoMessage() {} + +func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead. +func (*GetSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{78} +} + +func (x *GetSchemaResponse) GetSchema() *v191.SchemaDefinition { + if x != nil { + return x.Schema + } + return nil +} + +// GetSchemaMigrationsRequest controls the behavior of the GetSchemaMigrations +// rpc. +// +// Keyspace is a required field, while all other fields are optional. +// +// If UUID is set, other optional fields will be ignored, since there will be at +// most one migration with that UUID. Furthermore, if no migration with that +// UUID exists, an empty response, not an error, is returned. +// +// MigrationContext, Status, and Recent are mutually exclusive. +type GetSchemaMigrationsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Uuid, if set, will cause GetSchemaMigrations to return exactly 1 migration, + // namely the one with that UUID. If no migration exists, the response will + // be an empty slice, not an error. + // + // If this field is set, other fields (status filters, limit, skip, order) are + // ignored. + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` + MigrationContext string `protobuf:"bytes,3,opt,name=migration_context,json=migrationContext,proto3" json:"migration_context,omitempty"` + Status SchemaMigration_Status `protobuf:"varint,4,opt,name=status,proto3,enum=vitess.vtctldata.v19.SchemaMigration_Status" json:"status,omitempty"` + // Recent, if set, returns migrations requested between now and the provided + // value. + Recent *v193.Duration `protobuf:"bytes,5,opt,name=recent,proto3" json:"recent,omitempty"` + Order QueryOrdering `protobuf:"varint,6,opt,name=order,proto3,enum=vitess.vtctldata.v19.QueryOrdering" json:"order,omitempty"` + Limit uint64 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"` + Skip uint64 `protobuf:"varint,8,opt,name=skip,proto3" json:"skip,omitempty"` +} + +func (x *GetSchemaMigrationsRequest) Reset() { + *x = GetSchemaMigrationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaMigrationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaMigrationsRequest) ProtoMessage() {} + +func (x *GetSchemaMigrationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaMigrationsRequest.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{79} +} + +func (x *GetSchemaMigrationsRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetSchemaMigrationsRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *GetSchemaMigrationsRequest) GetMigrationContext() string { + if x != nil { + return x.MigrationContext + } + return "" +} + +func (x *GetSchemaMigrationsRequest) GetStatus() SchemaMigration_Status { + if x != nil { + return x.Status + } + return SchemaMigration_UNKNOWN +} + +func (x *GetSchemaMigrationsRequest) GetRecent() *v193.Duration { + if x != nil { + return x.Recent + } + return nil +} + +func (x *GetSchemaMigrationsRequest) GetOrder() QueryOrdering { + if x != nil { + return x.Order + } + return QueryOrdering_NONE +} + +func (x *GetSchemaMigrationsRequest) GetLimit() uint64 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *GetSchemaMigrationsRequest) GetSkip() uint64 { + if x != nil { + return x.Skip + } + return 0 +} + +type GetSchemaMigrationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Migrations []*SchemaMigration `protobuf:"bytes,1,rep,name=migrations,proto3" json:"migrations,omitempty"` +} + +func (x *GetSchemaMigrationsResponse) Reset() { + *x = GetSchemaMigrationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSchemaMigrationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSchemaMigrationsResponse) ProtoMessage() {} + +func (x *GetSchemaMigrationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSchemaMigrationsResponse.ProtoReflect.Descriptor instead. +func (*GetSchemaMigrationsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{80} +} + +func (x *GetSchemaMigrationsResponse) GetMigrations() []*SchemaMigration { + if x != nil { + return x.Migrations + } + return nil +} + +type GetShardReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // Cells is the list of cells to fetch data for. Omit to fetch data from all + // cells. + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *GetShardReplicationRequest) Reset() { + *x = GetShardReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardReplicationRequest) ProtoMessage() {} + +func (x *GetShardReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardReplicationRequest.ProtoReflect.Descriptor instead. +func (*GetShardReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{81} +} + +func (x *GetShardReplicationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetShardReplicationRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *GetShardReplicationRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetShardReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShardReplicationByCell map[string]*v192.ShardReplication `protobuf:"bytes,1,rep,name=shard_replication_by_cell,json=shardReplicationByCell,proto3" json:"shard_replication_by_cell,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetShardReplicationResponse) Reset() { + *x = GetShardReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardReplicationResponse) ProtoMessage() {} + +func (x *GetShardReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardReplicationResponse.ProtoReflect.Descriptor instead. +func (*GetShardReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{82} +} + +func (x *GetShardReplicationResponse) GetShardReplicationByCell() map[string]*v192.ShardReplication { + if x != nil { + return x.ShardReplicationByCell + } + return nil +} + +type GetShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` +} + +func (x *GetShardRequest) Reset() { + *x = GetShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardRequest) ProtoMessage() {} + +func (x *GetShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardRequest.ProtoReflect.Descriptor instead. +func (*GetShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{83} +} + +func (x *GetShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetShardRequest) GetShardName() string { + if x != nil { + return x.ShardName + } + return "" +} + +type GetShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shard *Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *GetShardResponse) Reset() { + *x = GetShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardResponse) ProtoMessage() {} + +func (x *GetShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardResponse.ProtoReflect.Descriptor instead. +func (*GetShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{84} +} + +func (x *GetShardResponse) GetShard() *Shard { + if x != nil { + return x.Shard + } + return nil +} + +type GetShardRoutingRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetShardRoutingRulesRequest) Reset() { + *x = GetShardRoutingRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardRoutingRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardRoutingRulesRequest) ProtoMessage() {} + +func (x *GetShardRoutingRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardRoutingRulesRequest.ProtoReflect.Descriptor instead. +func (*GetShardRoutingRulesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{85} +} + +type GetShardRoutingRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShardRoutingRules *v194.ShardRoutingRules `protobuf:"bytes,1,opt,name=shard_routing_rules,json=shardRoutingRules,proto3" json:"shard_routing_rules,omitempty"` +} + +func (x *GetShardRoutingRulesResponse) Reset() { + *x = GetShardRoutingRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetShardRoutingRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetShardRoutingRulesResponse) ProtoMessage() {} + +func (x *GetShardRoutingRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetShardRoutingRulesResponse.ProtoReflect.Descriptor instead. +func (*GetShardRoutingRulesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{86} +} + +func (x *GetShardRoutingRulesResponse) GetShardRoutingRules() *v194.ShardRoutingRules { + if x != nil { + return x.ShardRoutingRules + } + return nil +} + +type GetSrvKeyspaceNamesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cells []string `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *GetSrvKeyspaceNamesRequest) Reset() { + *x = GetSrvKeyspaceNamesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspaceNamesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspaceNamesRequest) ProtoMessage() {} + +func (x *GetSrvKeyspaceNamesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspaceNamesRequest.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspaceNamesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{87} +} + +func (x *GetSrvKeyspaceNamesRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvKeyspaceNamesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Names is a mapping of cell name to a list of SrvKeyspace names. + Names map[string]*GetSrvKeyspaceNamesResponse_NameList `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetSrvKeyspaceNamesResponse) Reset() { + *x = GetSrvKeyspaceNamesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspaceNamesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspaceNamesResponse) ProtoMessage() {} + +func (x *GetSrvKeyspaceNamesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[88] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspaceNamesResponse.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspaceNamesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{88} +} + +func (x *GetSrvKeyspaceNamesResponse) GetNames() map[string]*GetSrvKeyspaceNamesResponse_NameList { + if x != nil { + return x.Names + } + return nil +} + +type GetSrvKeyspacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *GetSrvKeyspacesRequest) Reset() { + *x = GetSrvKeyspacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspacesRequest) ProtoMessage() {} + +func (x *GetSrvKeyspacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspacesRequest.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspacesRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{89} +} + +func (x *GetSrvKeyspacesRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetSrvKeyspacesRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvKeyspacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // SrvKeyspaces is a mapping of cell name to SrvKeyspace. + SrvKeyspaces map[string]*v192.SrvKeyspace `protobuf:"bytes,1,rep,name=srv_keyspaces,json=srvKeyspaces,proto3" json:"srv_keyspaces,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetSrvKeyspacesResponse) Reset() { + *x = GetSrvKeyspacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspacesResponse) ProtoMessage() {} + +func (x *GetSrvKeyspacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspacesResponse.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspacesResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{90} +} + +func (x *GetSrvKeyspacesResponse) GetSrvKeyspaces() map[string]*v192.SrvKeyspace { + if x != nil { + return x.SrvKeyspaces + } + return nil +} + +type UpdateThrottlerConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Enable instructs to enable the throttler + Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"` + // Disable instructs to disable the throttler + Disable bool `protobuf:"varint,3,opt,name=disable,proto3" json:"disable,omitempty"` + // Threshold for throttler (with no custom query, ie using default query, only positive values are considered) + Threshold float64 `protobuf:"fixed64,4,opt,name=threshold,proto3" json:"threshold,omitempty"` + // CustomQuery replaces the default replication lag query + CustomQuery string `protobuf:"bytes,5,opt,name=custom_query,json=customQuery,proto3" json:"custom_query,omitempty"` + // CustomQuerySet indicates that the value of CustomQuery has changed + CustomQuerySet bool `protobuf:"varint,6,opt,name=custom_query_set,json=customQuerySet,proto3" json:"custom_query_set,omitempty"` + // CheckAsCheckSelf instructs the throttler to respond to /check requests by checking the tablet's own health + CheckAsCheckSelf bool `protobuf:"varint,7,opt,name=check_as_check_self,json=checkAsCheckSelf,proto3" json:"check_as_check_self,omitempty"` + // CheckAsCheckShard instructs the throttler to respond to /check requests by checking the shard's health (this is the default behavior) + CheckAsCheckShard bool `protobuf:"varint,8,opt,name=check_as_check_shard,json=checkAsCheckShard,proto3" json:"check_as_check_shard,omitempty"` + // ThrottledApp indicates a single throttled app rule (ignored if name is empty) + ThrottledApp *v192.ThrottledAppRule `protobuf:"bytes,9,opt,name=throttled_app,json=throttledApp,proto3" json:"throttled_app,omitempty"` +} + +func (x *UpdateThrottlerConfigRequest) Reset() { + *x = UpdateThrottlerConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateThrottlerConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateThrottlerConfigRequest) ProtoMessage() {} + +func (x *UpdateThrottlerConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[91] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateThrottlerConfigRequest.ProtoReflect.Descriptor instead. +func (*UpdateThrottlerConfigRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{91} +} + +func (x *UpdateThrottlerConfigRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *UpdateThrottlerConfigRequest) GetEnable() bool { + if x != nil { + return x.Enable + } + return false +} + +func (x *UpdateThrottlerConfigRequest) GetDisable() bool { + if x != nil { + return x.Disable + } + return false +} + +func (x *UpdateThrottlerConfigRequest) GetThreshold() float64 { + if x != nil { + return x.Threshold + } + return 0 +} + +func (x *UpdateThrottlerConfigRequest) GetCustomQuery() string { + if x != nil { + return x.CustomQuery + } + return "" +} + +func (x *UpdateThrottlerConfigRequest) GetCustomQuerySet() bool { + if x != nil { + return x.CustomQuerySet + } + return false +} + +func (x *UpdateThrottlerConfigRequest) GetCheckAsCheckSelf() bool { + if x != nil { + return x.CheckAsCheckSelf + } + return false +} + +func (x *UpdateThrottlerConfigRequest) GetCheckAsCheckShard() bool { + if x != nil { + return x.CheckAsCheckShard + } + return false +} + +func (x *UpdateThrottlerConfigRequest) GetThrottledApp() *v192.ThrottledAppRule { + if x != nil { + return x.ThrottledApp + } + return nil +} + +type UpdateThrottlerConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *UpdateThrottlerConfigResponse) Reset() { + *x = UpdateThrottlerConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateThrottlerConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateThrottlerConfigResponse) ProtoMessage() {} + +func (x *UpdateThrottlerConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateThrottlerConfigResponse.ProtoReflect.Descriptor instead. +func (*UpdateThrottlerConfigResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{92} +} + +type GetSrvVSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cell string `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *GetSrvVSchemaRequest) Reset() { + *x = GetSrvVSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvVSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvVSchemaRequest) ProtoMessage() {} + +func (x *GetSrvVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvVSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{93} +} + +func (x *GetSrvVSchemaRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +type GetSrvVSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrvVSchema *v194.SrvVSchema `protobuf:"bytes,1,opt,name=srv_v_schema,json=srvVSchema,proto3" json:"srv_v_schema,omitempty"` +} + +func (x *GetSrvVSchemaResponse) Reset() { + *x = GetSrvVSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvVSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvVSchemaResponse) ProtoMessage() {} + +func (x *GetSrvVSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvVSchemaResponse.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{94} +} + +func (x *GetSrvVSchemaResponse) GetSrvVSchema() *v194.SrvVSchema { + if x != nil { + return x.SrvVSchema + } + return nil +} + +type GetSrvVSchemasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *GetSrvVSchemasRequest) Reset() { + *x = GetSrvVSchemasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvVSchemasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvVSchemasRequest) ProtoMessage() {} + +func (x *GetSrvVSchemasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvVSchemasRequest.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{95} +} + +func (x *GetSrvVSchemasRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type GetSrvVSchemasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // SrvVSchemas is a mapping of cell name to SrvVSchema + SrvVSchemas map[string]*v194.SrvVSchema `protobuf:"bytes,1,rep,name=srv_v_schemas,json=srvVSchemas,proto3" json:"srv_v_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GetSrvVSchemasResponse) Reset() { + *x = GetSrvVSchemasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvVSchemasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvVSchemasResponse) ProtoMessage() {} + +func (x *GetSrvVSchemasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvVSchemasResponse.ProtoReflect.Descriptor instead. +func (*GetSrvVSchemasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{96} +} + +func (x *GetSrvVSchemasResponse) GetSrvVSchemas() map[string]*v194.SrvVSchema { + if x != nil { + return x.SrvVSchemas + } + return nil +} + +type GetTabletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *GetTabletRequest) Reset() { + *x = GetTabletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTabletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTabletRequest) ProtoMessage() {} + +func (x *GetTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTabletRequest.ProtoReflect.Descriptor instead. +func (*GetTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{97} +} + +func (x *GetTabletRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type GetTabletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablet *v192.Tablet `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` +} + +func (x *GetTabletResponse) Reset() { + *x = GetTabletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTabletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTabletResponse) ProtoMessage() {} + +func (x *GetTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTabletResponse.ProtoReflect.Descriptor instead. +func (*GetTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{98} +} + +func (x *GetTabletResponse) GetTablet() *v192.Tablet { + if x != nil { + return x.Tablet + } + return nil +} + +type GetTabletsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace to return tablets for. Omit to return + // tablets from all keyspaces. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard to return tablets for. This field is ignored + // if Keyspace is not set. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // Cells is an optional set of cells to return tablets for. + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + // Strict specifies how the server should treat failures from individual + // cells. + // + // When false (the default), GetTablets will return data from any cells that + // return successfully, but will fail the request if all cells fail. When + // true, any individual cell can fail the full request. + Strict bool `protobuf:"varint,4,opt,name=strict,proto3" json:"strict,omitempty"` + // TabletAliases is an optional list of tablet aliases to fetch Tablet objects + // for. If specified, Keyspace, Shard, and Cells are ignored, and tablets are + // looked up by their respective aliases' Cells directly. + TabletAliases []*v192.TabletAlias `protobuf:"bytes,5,rep,name=tablet_aliases,json=tabletAliases,proto3" json:"tablet_aliases,omitempty"` + // tablet_type specifies the type of tablets to return. Omit to return all + // tablet types. + TabletType v192.TabletType `protobuf:"varint,6,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_type,omitempty"` +} + +func (x *GetTabletsRequest) Reset() { + *x = GetTabletsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTabletsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTabletsRequest) ProtoMessage() {} + +func (x *GetTabletsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[99] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTabletsRequest.ProtoReflect.Descriptor instead. +func (*GetTabletsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{99} +} + +func (x *GetTabletsRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetTabletsRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *GetTabletsRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *GetTabletsRequest) GetStrict() bool { + if x != nil { + return x.Strict + } + return false +} + +func (x *GetTabletsRequest) GetTabletAliases() []*v192.TabletAlias { + if x != nil { + return x.TabletAliases + } + return nil +} + +func (x *GetTabletsRequest) GetTabletType() v192.TabletType { + if x != nil { + return x.TabletType + } + return v192.TabletType(0) +} + +type GetTabletsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablets []*v192.Tablet `protobuf:"bytes,1,rep,name=tablets,proto3" json:"tablets,omitempty"` +} + +func (x *GetTabletsResponse) Reset() { + *x = GetTabletsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTabletsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTabletsResponse) ProtoMessage() {} + +func (x *GetTabletsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[100] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTabletsResponse.ProtoReflect.Descriptor instead. +func (*GetTabletsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{100} +} + +func (x *GetTabletsResponse) GetTablets() []*v192.Tablet { + if x != nil { + return x.Tablets + } + return nil +} + +type GetTopologyPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *GetTopologyPathRequest) Reset() { + *x = GetTopologyPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopologyPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopologyPathRequest) ProtoMessage() {} + +func (x *GetTopologyPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTopologyPathRequest.ProtoReflect.Descriptor instead. +func (*GetTopologyPathRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{101} +} + +func (x *GetTopologyPathRequest) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +type GetTopologyPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cell *TopologyCell `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *GetTopologyPathResponse) Reset() { + *x = GetTopologyPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopologyPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopologyPathResponse) ProtoMessage() {} + +func (x *GetTopologyPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[102] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTopologyPathResponse.ProtoReflect.Descriptor instead. +func (*GetTopologyPathResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{102} +} + +func (x *GetTopologyPathResponse) GetCell() *TopologyCell { + if x != nil { + return x.Cell + } + return nil +} + +type TopologyCell struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + // Data is the file contents of the cell located at path. + // It is only populated if the cell is a terminal node. + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + Children []string `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` +} + +func (x *TopologyCell) Reset() { + *x = TopologyCell{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopologyCell) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopologyCell) ProtoMessage() {} + +func (x *TopologyCell) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TopologyCell.ProtoReflect.Descriptor instead. +func (*TopologyCell) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{103} +} + +func (x *TopologyCell) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *TopologyCell) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *TopologyCell) GetData() string { + if x != nil { + return x.Data + } + return "" +} + +func (x *TopologyCell) GetChildren() []string { + if x != nil { + return x.Children + } + return nil +} + +type GetVSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *GetVSchemaRequest) Reset() { + *x = GetVSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVSchemaRequest) ProtoMessage() {} + +func (x *GetVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[104] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{104} +} + +func (x *GetVSchemaRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type GetVersionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *GetVersionRequest) Reset() { + *x = GetVersionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVersionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVersionRequest) ProtoMessage() {} + +func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead. +func (*GetVersionRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{105} +} + +func (x *GetVersionRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type GetVersionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *GetVersionResponse) Reset() { + *x = GetVersionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVersionResponse) ProtoMessage() {} + +func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[106] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead. +func (*GetVersionResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{106} +} + +func (x *GetVersionResponse) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +type GetVSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VSchema *v194.Keyspace `protobuf:"bytes,1,opt,name=v_schema,json=vSchema,proto3" json:"v_schema,omitempty"` +} + +func (x *GetVSchemaResponse) Reset() { + *x = GetVSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetVSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetVSchemaResponse) ProtoMessage() {} + +func (x *GetVSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetVSchemaResponse.ProtoReflect.Descriptor instead. +func (*GetVSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{107} +} + +func (x *GetVSchemaResponse) GetVSchema() *v194.Keyspace { + if x != nil { + return x.VSchema + } + return nil +} + +type GetWorkflowsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` + NameOnly bool `protobuf:"varint,3,opt,name=name_only,json=nameOnly,proto3" json:"name_only,omitempty"` + // If you only want a specific workflow then set this field. + Workflow string `protobuf:"bytes,4,opt,name=workflow,proto3" json:"workflow,omitempty"` + IncludeLogs bool `protobuf:"varint,5,opt,name=include_logs,json=includeLogs,proto3" json:"include_logs,omitempty"` + Shards []string `protobuf:"bytes,6,rep,name=shards,proto3" json:"shards,omitempty"` +} + +func (x *GetWorkflowsRequest) Reset() { + *x = GetWorkflowsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkflowsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkflowsRequest) ProtoMessage() {} + +func (x *GetWorkflowsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[108] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWorkflowsRequest.ProtoReflect.Descriptor instead. +func (*GetWorkflowsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{108} +} + +func (x *GetWorkflowsRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *GetWorkflowsRequest) GetActiveOnly() bool { + if x != nil { + return x.ActiveOnly + } + return false +} + +func (x *GetWorkflowsRequest) GetNameOnly() bool { + if x != nil { + return x.NameOnly + } + return false +} + +func (x *GetWorkflowsRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *GetWorkflowsRequest) GetIncludeLogs() bool { + if x != nil { + return x.IncludeLogs + } + return false +} + +func (x *GetWorkflowsRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +type GetWorkflowsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"` +} + +func (x *GetWorkflowsResponse) Reset() { + *x = GetWorkflowsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkflowsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkflowsResponse) ProtoMessage() {} + +func (x *GetWorkflowsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[109] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetWorkflowsResponse.ProtoReflect.Descriptor instead. +func (*GetWorkflowsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{109} +} + +func (x *GetWorkflowsResponse) GetWorkflows() []*Workflow { + if x != nil { + return x.Workflows + } + return nil +} + +type InitShardPrimaryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + PrimaryElectTabletAlias *v192.TabletAlias `protobuf:"bytes,3,opt,name=primary_elect_tablet_alias,json=primaryElectTabletAlias,proto3" json:"primary_elect_tablet_alias,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` + WaitReplicasTimeout *v193.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` +} + +func (x *InitShardPrimaryRequest) Reset() { + *x = InitShardPrimaryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitShardPrimaryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitShardPrimaryRequest) ProtoMessage() {} + +func (x *InitShardPrimaryRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[110] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitShardPrimaryRequest.ProtoReflect.Descriptor instead. +func (*InitShardPrimaryRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{110} +} + +func (x *InitShardPrimaryRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *InitShardPrimaryRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *InitShardPrimaryRequest) GetPrimaryElectTabletAlias() *v192.TabletAlias { + if x != nil { + return x.PrimaryElectTabletAlias + } + return nil +} + +func (x *InitShardPrimaryRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *InitShardPrimaryRequest) GetWaitReplicasTimeout() *v193.Duration { + if x != nil { + return x.WaitReplicasTimeout + } + return nil +} + +type InitShardPrimaryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*v19.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *InitShardPrimaryResponse) Reset() { + *x = InitShardPrimaryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitShardPrimaryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitShardPrimaryResponse) ProtoMessage() {} + +func (x *InitShardPrimaryResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[111] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InitShardPrimaryResponse.ProtoReflect.Descriptor instead. +func (*InitShardPrimaryResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{111} +} + +func (x *InitShardPrimaryResponse) GetEvents() []*v19.Event { + if x != nil { + return x.Events + } + return nil +} + +type LaunchSchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *LaunchSchemaMigrationRequest) Reset() { + *x = LaunchSchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LaunchSchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LaunchSchemaMigrationRequest) ProtoMessage() {} + +func (x *LaunchSchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LaunchSchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*LaunchSchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{112} +} + +func (x *LaunchSchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *LaunchSchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type LaunchSchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *LaunchSchemaMigrationResponse) Reset() { + *x = LaunchSchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LaunchSchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LaunchSchemaMigrationResponse) ProtoMessage() {} + +func (x *LaunchSchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LaunchSchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*LaunchSchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{113} +} + +func (x *LaunchSchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type LookupVindexCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + Vindex *v194.Keyspace `protobuf:"bytes,4,opt,name=vindex,proto3" json:"vindex,omitempty"` + ContinueAfterCopyWithOwner bool `protobuf:"varint,5,opt,name=continue_after_copy_with_owner,json=continueAfterCopyWithOwner,proto3" json:"continue_after_copy_with_owner,omitempty"` + TabletTypes []v192.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference v191.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` +} + +func (x *LookupVindexCreateRequest) Reset() { + *x = LookupVindexCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LookupVindexCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LookupVindexCreateRequest) ProtoMessage() {} + +func (x *LookupVindexCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[114] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LookupVindexCreateRequest.ProtoReflect.Descriptor instead. +func (*LookupVindexCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{114} +} + +func (x *LookupVindexCreateRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *LookupVindexCreateRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *LookupVindexCreateRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *LookupVindexCreateRequest) GetVindex() *v194.Keyspace { + if x != nil { + return x.Vindex + } + return nil +} + +func (x *LookupVindexCreateRequest) GetContinueAfterCopyWithOwner() bool { + if x != nil { + return x.ContinueAfterCopyWithOwner + } + return false +} + +func (x *LookupVindexCreateRequest) GetTabletTypes() []v192.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *LookupVindexCreateRequest) GetTabletSelectionPreference() v191.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return v191.TabletSelectionPreference(0) +} + +type LookupVindexCreateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *LookupVindexCreateResponse) Reset() { + *x = LookupVindexCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LookupVindexCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LookupVindexCreateResponse) ProtoMessage() {} + +func (x *LookupVindexCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LookupVindexCreateResponse.ProtoReflect.Descriptor instead. +func (*LookupVindexCreateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{115} +} + +type LookupVindexExternalizeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Where the lookup vindex lives. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // This is the name of the lookup vindex and the vreplication workflow. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Where the vreplication workflow lives. + TableKeyspace string `protobuf:"bytes,3,opt,name=table_keyspace,json=tableKeyspace,proto3" json:"table_keyspace,omitempty"` +} + +func (x *LookupVindexExternalizeRequest) Reset() { + *x = LookupVindexExternalizeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LookupVindexExternalizeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LookupVindexExternalizeRequest) ProtoMessage() {} + +func (x *LookupVindexExternalizeRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[116] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LookupVindexExternalizeRequest.ProtoReflect.Descriptor instead. +func (*LookupVindexExternalizeRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{116} +} + +func (x *LookupVindexExternalizeRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *LookupVindexExternalizeRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *LookupVindexExternalizeRequest) GetTableKeyspace() string { + if x != nil { + return x.TableKeyspace + } + return "" +} + +type LookupVindexExternalizeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Was the workflow also deleted. + WorkflowDeleted bool `protobuf:"varint,1,opt,name=workflow_deleted,json=workflowDeleted,proto3" json:"workflow_deleted,omitempty"` +} + +func (x *LookupVindexExternalizeResponse) Reset() { + *x = LookupVindexExternalizeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LookupVindexExternalizeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LookupVindexExternalizeResponse) ProtoMessage() {} + +func (x *LookupVindexExternalizeResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[117] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LookupVindexExternalizeResponse.ProtoReflect.Descriptor instead. +func (*LookupVindexExternalizeResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{117} +} + +func (x *LookupVindexExternalizeResponse) GetWorkflowDeleted() bool { + if x != nil { + return x.WorkflowDeleted + } + return false +} + +type MaterializeCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Settings *MaterializeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` +} + +func (x *MaterializeCreateRequest) Reset() { + *x = MaterializeCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterializeCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterializeCreateRequest) ProtoMessage() {} + +func (x *MaterializeCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[118] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterializeCreateRequest.ProtoReflect.Descriptor instead. +func (*MaterializeCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{118} +} + +func (x *MaterializeCreateRequest) GetSettings() *MaterializeSettings { + if x != nil { + return x.Settings + } + return nil +} + +type MaterializeCreateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MaterializeCreateResponse) Reset() { + *x = MaterializeCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MaterializeCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MaterializeCreateResponse) ProtoMessage() {} + +func (x *MaterializeCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[119] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MaterializeCreateResponse.ProtoReflect.Descriptor instead. +func (*MaterializeCreateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{119} +} + +type MigrateCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The necessary info gets passed on to each primary tablet involved + // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + SourceKeyspace string `protobuf:"bytes,2,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + MountName string `protobuf:"bytes,4,opt,name=mount_name,json=mountName,proto3" json:"mount_name,omitempty"` + Cells []string `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []v192.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference v191.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + AllTables bool `protobuf:"varint,8,opt,name=all_tables,json=allTables,proto3" json:"all_tables,omitempty"` + IncludeTables []string `protobuf:"bytes,9,rep,name=include_tables,json=includeTables,proto3" json:"include_tables,omitempty"` + ExcludeTables []string `protobuf:"bytes,10,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + SourceTimeZone string `protobuf:"bytes,11,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl string `protobuf:"bytes,12,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` + // StopAfterCopy specifies if vreplication should be stopped after copying. + StopAfterCopy bool `protobuf:"varint,13,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + // DropForeignKeys specifies if foreign key constraints should be elided on the target. + DropForeignKeys bool `protobuf:"varint,14,opt,name=drop_foreign_keys,json=dropForeignKeys,proto3" json:"drop_foreign_keys,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,15,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // Start the workflow after creating it. + AutoStart bool `protobuf:"varint,16,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` + // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. + NoRoutingRules bool `protobuf:"varint,17,opt,name=no_routing_rules,json=noRoutingRules,proto3" json:"no_routing_rules,omitempty"` +} + +func (x *MigrateCreateRequest) Reset() { + *x = MigrateCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MigrateCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MigrateCreateRequest) ProtoMessage() {} + +func (x *MigrateCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[120] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MigrateCreateRequest.ProtoReflect.Descriptor instead. +func (*MigrateCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{120} +} + +func (x *MigrateCreateRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *MigrateCreateRequest) GetSourceKeyspace() string { + if x != nil { + return x.SourceKeyspace + } + return "" +} + +func (x *MigrateCreateRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *MigrateCreateRequest) GetMountName() string { + if x != nil { + return x.MountName + } + return "" +} + +func (x *MigrateCreateRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *MigrateCreateRequest) GetTabletTypes() []v192.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *MigrateCreateRequest) GetTabletSelectionPreference() v191.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return v191.TabletSelectionPreference(0) +} + +func (x *MigrateCreateRequest) GetAllTables() bool { + if x != nil { + return x.AllTables + } + return false +} + +func (x *MigrateCreateRequest) GetIncludeTables() []string { + if x != nil { + return x.IncludeTables + } + return nil +} + +func (x *MigrateCreateRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables + } + return nil +} + +func (x *MigrateCreateRequest) GetSourceTimeZone() string { + if x != nil { + return x.SourceTimeZone + } + return "" +} + +func (x *MigrateCreateRequest) GetOnDdl() string { + if x != nil { + return x.OnDdl + } + return "" +} + +func (x *MigrateCreateRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} + +func (x *MigrateCreateRequest) GetDropForeignKeys() bool { + if x != nil { + return x.DropForeignKeys + } + return false +} + +func (x *MigrateCreateRequest) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false +} + +func (x *MigrateCreateRequest) GetAutoStart() bool { + if x != nil { + return x.AutoStart + } + return false +} + +func (x *MigrateCreateRequest) GetNoRoutingRules() bool { + if x != nil { + return x.NoRoutingRules + } + return false +} + +type MigrateCompleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + KeepData bool `protobuf:"varint,4,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` + KeepRoutingRules bool `protobuf:"varint,5,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` + RenameTables bool `protobuf:"varint,6,opt,name=rename_tables,json=renameTables,proto3" json:"rename_tables,omitempty"` + DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` +} + +func (x *MigrateCompleteRequest) Reset() { + *x = MigrateCompleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MigrateCompleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MigrateCompleteRequest) ProtoMessage() {} + +func (x *MigrateCompleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[121] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MigrateCompleteRequest.ProtoReflect.Descriptor instead. +func (*MigrateCompleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{121} +} + +func (x *MigrateCompleteRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *MigrateCompleteRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *MigrateCompleteRequest) GetKeepData() bool { + if x != nil { + return x.KeepData + } + return false +} + +func (x *MigrateCompleteRequest) GetKeepRoutingRules() bool { + if x != nil { + return x.KeepRoutingRules + } + return false +} + +func (x *MigrateCompleteRequest) GetRenameTables() bool { + if x != nil { + return x.RenameTables + } + return false +} + +func (x *MigrateCompleteRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +type MigrateCompleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + DryRunResults []string `protobuf:"bytes,2,rep,name=dry_run_results,json=dryRunResults,proto3" json:"dry_run_results,omitempty"` +} + +func (x *MigrateCompleteResponse) Reset() { + *x = MigrateCompleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MigrateCompleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MigrateCompleteResponse) ProtoMessage() {} + +func (x *MigrateCompleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[122] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MigrateCompleteResponse.ProtoReflect.Descriptor instead. +func (*MigrateCompleteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{122} +} + +func (x *MigrateCompleteResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *MigrateCompleteResponse) GetDryRunResults() []string { + if x != nil { + return x.DryRunResults + } + return nil +} + +type MountRegisterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` + TopoServer string `protobuf:"bytes,2,opt,name=topo_server,json=topoServer,proto3" json:"topo_server,omitempty"` + TopoRoot string `protobuf:"bytes,3,opt,name=topo_root,json=topoRoot,proto3" json:"topo_root,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *MountRegisterRequest) Reset() { + *x = MountRegisterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountRegisterRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountRegisterRequest) ProtoMessage() {} + +func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[123] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountRegisterRequest.ProtoReflect.Descriptor instead. +func (*MountRegisterRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{123} +} + +func (x *MountRegisterRequest) GetTopoType() string { + if x != nil { + return x.TopoType + } + return "" +} + +func (x *MountRegisterRequest) GetTopoServer() string { + if x != nil { + return x.TopoServer + } + return "" +} + +func (x *MountRegisterRequest) GetTopoRoot() string { + if x != nil { + return x.TopoRoot + } + return "" +} + +func (x *MountRegisterRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type MountRegisterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MountRegisterResponse) Reset() { + *x = MountRegisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountRegisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountRegisterResponse) ProtoMessage() {} + +func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[124] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountRegisterResponse.ProtoReflect.Descriptor instead. +func (*MountRegisterResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{124} +} + +type MountUnregisterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *MountUnregisterRequest) Reset() { + *x = MountUnregisterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountUnregisterRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountUnregisterRequest) ProtoMessage() {} + +func (x *MountUnregisterRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[125] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountUnregisterRequest.ProtoReflect.Descriptor instead. +func (*MountUnregisterRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{125} +} + +func (x *MountUnregisterRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type MountUnregisterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MountUnregisterResponse) Reset() { + *x = MountUnregisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountUnregisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountUnregisterResponse) ProtoMessage() {} + +func (x *MountUnregisterResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[126] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountUnregisterResponse.ProtoReflect.Descriptor instead. +func (*MountUnregisterResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{126} +} + +type MountShowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *MountShowRequest) Reset() { + *x = MountShowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountShowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountShowRequest) ProtoMessage() {} + +func (x *MountShowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[127] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountShowRequest.ProtoReflect.Descriptor instead. +func (*MountShowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{127} +} + +func (x *MountShowRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type MountShowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` + TopoServer string `protobuf:"bytes,2,opt,name=topo_server,json=topoServer,proto3" json:"topo_server,omitempty"` + TopoRoot string `protobuf:"bytes,3,opt,name=topo_root,json=topoRoot,proto3" json:"topo_root,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *MountShowResponse) Reset() { + *x = MountShowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountShowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountShowResponse) ProtoMessage() {} + +func (x *MountShowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[128] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountShowResponse.ProtoReflect.Descriptor instead. +func (*MountShowResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{128} +} + +func (x *MountShowResponse) GetTopoType() string { + if x != nil { + return x.TopoType + } + return "" +} + +func (x *MountShowResponse) GetTopoServer() string { + if x != nil { + return x.TopoServer + } + return "" +} + +func (x *MountShowResponse) GetTopoRoot() string { + if x != nil { + return x.TopoRoot + } + return "" +} + +func (x *MountShowResponse) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type MountListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MountListRequest) Reset() { + *x = MountListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountListRequest) ProtoMessage() {} + +func (x *MountListRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[129] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountListRequest.ProtoReflect.Descriptor instead. +func (*MountListRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{129} +} + +type MountListResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *MountListResponse) Reset() { + *x = MountListResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountListResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountListResponse) ProtoMessage() {} + +func (x *MountListResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[130] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MountListResponse.ProtoReflect.Descriptor instead. +func (*MountListResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{130} +} + +func (x *MountListResponse) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +type MoveTablesCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The necessary info gets passed on to each primary tablet involved + // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + SourceKeyspace string `protobuf:"bytes,2,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []v192.TabletType `protobuf:"varint,5,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference v191.TabletSelectionPreference `protobuf:"varint,6,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + SourceShards []string `protobuf:"bytes,7,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` + AllTables bool `protobuf:"varint,8,opt,name=all_tables,json=allTables,proto3" json:"all_tables,omitempty"` + IncludeTables []string `protobuf:"bytes,9,rep,name=include_tables,json=includeTables,proto3" json:"include_tables,omitempty"` + ExcludeTables []string `protobuf:"bytes,10,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + // The name of the external cluster mounted in topo server. + ExternalClusterName string `protobuf:"bytes,11,opt,name=external_cluster_name,json=externalClusterName,proto3" json:"external_cluster_name,omitempty"` + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + SourceTimeZone string `protobuf:"bytes,12,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl string `protobuf:"bytes,13,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` + // StopAfterCopy specifies if vreplication should be stopped after copying. + StopAfterCopy bool `protobuf:"varint,14,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + // DropForeignKeys specifies if foreign key constraints should be elided on the target. + DropForeignKeys bool `protobuf:"varint,15,opt,name=drop_foreign_keys,json=dropForeignKeys,proto3" json:"drop_foreign_keys,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,16,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // Start the workflow after creating it. + AutoStart bool `protobuf:"varint,17,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` + // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. + NoRoutingRules bool `protobuf:"varint,18,opt,name=no_routing_rules,json=noRoutingRules,proto3" json:"no_routing_rules,omitempty"` + // Run a single copy phase for the entire database. + AtomicCopy bool `protobuf:"varint,19,opt,name=atomic_copy,json=atomicCopy,proto3" json:"atomic_copy,omitempty"` +} + +func (x *MoveTablesCreateRequest) Reset() { + *x = MoveTablesCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoveTablesCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoveTablesCreateRequest) ProtoMessage() {} + +func (x *MoveTablesCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[131] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MoveTablesCreateRequest.ProtoReflect.Descriptor instead. +func (*MoveTablesCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{131} +} + +func (x *MoveTablesCreateRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *MoveTablesCreateRequest) GetSourceKeyspace() string { + if x != nil { + return x.SourceKeyspace + } + return "" +} + +func (x *MoveTablesCreateRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *MoveTablesCreateRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *MoveTablesCreateRequest) GetTabletTypes() []v192.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *MoveTablesCreateRequest) GetTabletSelectionPreference() v191.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return v191.TabletSelectionPreference(0) +} + +func (x *MoveTablesCreateRequest) GetSourceShards() []string { + if x != nil { + return x.SourceShards + } + return nil +} + +func (x *MoveTablesCreateRequest) GetAllTables() bool { + if x != nil { + return x.AllTables + } + return false +} + +func (x *MoveTablesCreateRequest) GetIncludeTables() []string { + if x != nil { + return x.IncludeTables + } + return nil +} + +func (x *MoveTablesCreateRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables + } + return nil +} + +func (x *MoveTablesCreateRequest) GetExternalClusterName() string { + if x != nil { + return x.ExternalClusterName + } + return "" +} + +func (x *MoveTablesCreateRequest) GetSourceTimeZone() string { + if x != nil { + return x.SourceTimeZone + } + return "" +} + +func (x *MoveTablesCreateRequest) GetOnDdl() string { + if x != nil { + return x.OnDdl + } + return "" +} + +func (x *MoveTablesCreateRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} + +func (x *MoveTablesCreateRequest) GetDropForeignKeys() bool { + if x != nil { + return x.DropForeignKeys + } + return false +} + +func (x *MoveTablesCreateRequest) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false +} + +func (x *MoveTablesCreateRequest) GetAutoStart() bool { + if x != nil { + return x.AutoStart + } + return false +} + +func (x *MoveTablesCreateRequest) GetNoRoutingRules() bool { + if x != nil { + return x.NoRoutingRules + } + return false +} + +func (x *MoveTablesCreateRequest) GetAtomicCopy() bool { + if x != nil { + return x.AtomicCopy + } + return false +} + +type MoveTablesCreateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + Details []*MoveTablesCreateResponse_TabletInfo `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` +} + +func (x *MoveTablesCreateResponse) Reset() { + *x = MoveTablesCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoveTablesCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoveTablesCreateResponse) ProtoMessage() {} + +func (x *MoveTablesCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[132] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MoveTablesCreateResponse.ProtoReflect.Descriptor instead. +func (*MoveTablesCreateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{132} +} + +func (x *MoveTablesCreateResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *MoveTablesCreateResponse) GetDetails() []*MoveTablesCreateResponse_TabletInfo { + if x != nil { + return x.Details + } + return nil +} + +type MoveTablesCompleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,3,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + KeepData bool `protobuf:"varint,4,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` + KeepRoutingRules bool `protobuf:"varint,5,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` + RenameTables bool `protobuf:"varint,6,opt,name=rename_tables,json=renameTables,proto3" json:"rename_tables,omitempty"` + DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + Shards []string `protobuf:"bytes,8,rep,name=shards,proto3" json:"shards,omitempty"` +} + +func (x *MoveTablesCompleteRequest) Reset() { + *x = MoveTablesCompleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoveTablesCompleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoveTablesCompleteRequest) ProtoMessage() {} + +func (x *MoveTablesCompleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[133] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MoveTablesCompleteRequest.ProtoReflect.Descriptor instead. +func (*MoveTablesCompleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{133} +} + +func (x *MoveTablesCompleteRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *MoveTablesCompleteRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *MoveTablesCompleteRequest) GetKeepData() bool { + if x != nil { + return x.KeepData + } + return false +} + +func (x *MoveTablesCompleteRequest) GetKeepRoutingRules() bool { + if x != nil { + return x.KeepRoutingRules + } + return false +} + +func (x *MoveTablesCompleteRequest) GetRenameTables() bool { + if x != nil { + return x.RenameTables + } + return false +} + +func (x *MoveTablesCompleteRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *MoveTablesCompleteRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +type MoveTablesCompleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + DryRunResults []string `protobuf:"bytes,2,rep,name=dry_run_results,json=dryRunResults,proto3" json:"dry_run_results,omitempty"` +} + +func (x *MoveTablesCompleteResponse) Reset() { + *x = MoveTablesCompleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoveTablesCompleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoveTablesCompleteResponse) ProtoMessage() {} + +func (x *MoveTablesCompleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[134] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MoveTablesCompleteResponse.ProtoReflect.Descriptor instead. +func (*MoveTablesCompleteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{134} +} + +func (x *MoveTablesCompleteResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *MoveTablesCompleteResponse) GetDryRunResults() []string { + if x != nil { + return x.DryRunResults + } + return nil +} + +type PingTabletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *PingTabletRequest) Reset() { + *x = PingTabletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingTabletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingTabletRequest) ProtoMessage() {} + +func (x *PingTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[135] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingTabletRequest.ProtoReflect.Descriptor instead. +func (*PingTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{135} +} + +func (x *PingTabletRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type PingTabletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PingTabletResponse) Reset() { + *x = PingTabletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingTabletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingTabletResponse) ProtoMessage() {} + +func (x *PingTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[136] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingTabletResponse.ProtoReflect.Descriptor instead. +func (*PingTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{136} +} + +type PlannedReparentShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace to perform the Planned Reparent in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard to perform teh Planned Reparent in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // NewPrimary is the alias of the tablet to promote to shard primary. If not + // specified, the vtctld will select the most up-to-date candidate to promote. + // + // It is an error to set NewPrimary and AvoidPrimary to the same alias. + NewPrimary *v192.TabletAlias `protobuf:"bytes,3,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` + // AvoidPrimary is the alias of the tablet to demote. In other words, + // specifying an AvoidPrimary alias tells the vtctld to promote any replica + // other than this one. A shard whose current primary is not this one is then + // a no-op. + // + // It is an error to set NewPrimary and AvoidPrimary to the same alias. + AvoidPrimary *v192.TabletAlias `protobuf:"bytes,4,opt,name=avoid_primary,json=avoidPrimary,proto3" json:"avoid_primary,omitempty"` + // WaitReplicasTimeout is the duration of time to wait for replicas to catch + // up in replication both before and after the reparent. The timeout is not + // cumulative across both wait periods, meaning that the replicas have + // WaitReplicasTimeout time to catch up before the reparent, and an additional + // WaitReplicasTimeout time to catch up after the reparent. + WaitReplicasTimeout *v193.Duration `protobuf:"bytes,5,opt,name=wait_replicas_timeout,json=waitReplicasTimeout,proto3" json:"wait_replicas_timeout,omitempty"` + // TolerableReplicationLag is the amount of replication lag that is considered + // acceptable for a tablet to be eligible for promotion when Vitess makes the choice of a new primary. + // A value of 0 indicates that Vitess shouldn't consider the replication lag at all. + TolerableReplicationLag *v193.Duration `protobuf:"bytes,6,opt,name=tolerable_replication_lag,json=tolerableReplicationLag,proto3" json:"tolerable_replication_lag,omitempty"` +} + +func (x *PlannedReparentShardRequest) Reset() { + *x = PlannedReparentShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlannedReparentShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlannedReparentShardRequest) ProtoMessage() {} + +func (x *PlannedReparentShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[137] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlannedReparentShardRequest.ProtoReflect.Descriptor instead. +func (*PlannedReparentShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{137} +} + +func (x *PlannedReparentShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *PlannedReparentShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *PlannedReparentShardRequest) GetNewPrimary() *v192.TabletAlias { + if x != nil { + return x.NewPrimary + } + return nil +} + +func (x *PlannedReparentShardRequest) GetAvoidPrimary() *v192.TabletAlias { + if x != nil { + return x.AvoidPrimary + } + return nil +} + +func (x *PlannedReparentShardRequest) GetWaitReplicasTimeout() *v193.Duration { + if x != nil { + return x.WaitReplicasTimeout + } + return nil +} + +func (x *PlannedReparentShardRequest) GetTolerableReplicationLag() *v193.Duration { + if x != nil { + return x.TolerableReplicationLag + } + return nil +} + +type PlannedReparentShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace the Planned Reparent took place in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard the Planned Reparent took place in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // PromotedPrimary is the alias of the tablet that was promoted to shard + // primary. If NewPrimary was set in the request, then this will be the same + // alias. Otherwise, it will be the alias of the tablet found to be most + // up-to-date. + PromotedPrimary *v192.TabletAlias `protobuf:"bytes,3,opt,name=promoted_primary,json=promotedPrimary,proto3" json:"promoted_primary,omitempty"` + Events []*v19.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *PlannedReparentShardResponse) Reset() { + *x = PlannedReparentShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlannedReparentShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlannedReparentShardResponse) ProtoMessage() {} + +func (x *PlannedReparentShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[138] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlannedReparentShardResponse.ProtoReflect.Descriptor instead. +func (*PlannedReparentShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{138} +} + +func (x *PlannedReparentShardResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *PlannedReparentShardResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *PlannedReparentShardResponse) GetPromotedPrimary() *v192.TabletAlias { + if x != nil { + return x.PromotedPrimary + } + return nil +} + +func (x *PlannedReparentShardResponse) GetEvents() []*v19.Event { + if x != nil { + return x.Events + } + return nil +} + +type RebuildKeyspaceGraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + // AllowPartial, when set, allows a SNAPSHOT keyspace to serve with an + // incomplete set of shards. It is ignored for all other keyspace types. + AllowPartial bool `protobuf:"varint,3,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"` +} + +func (x *RebuildKeyspaceGraphRequest) Reset() { + *x = RebuildKeyspaceGraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebuildKeyspaceGraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebuildKeyspaceGraphRequest) ProtoMessage() {} + +func (x *RebuildKeyspaceGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[139] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebuildKeyspaceGraphRequest.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{139} +} + +func (x *RebuildKeyspaceGraphRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RebuildKeyspaceGraphRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *RebuildKeyspaceGraphRequest) GetAllowPartial() bool { + if x != nil { + return x.AllowPartial + } + return false +} + +type RebuildKeyspaceGraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RebuildKeyspaceGraphResponse) Reset() { + *x = RebuildKeyspaceGraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebuildKeyspaceGraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebuildKeyspaceGraphResponse) ProtoMessage() {} + +func (x *RebuildKeyspaceGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[140] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebuildKeyspaceGraphResponse.ProtoReflect.Descriptor instead. +func (*RebuildKeyspaceGraphResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{140} +} + +type RebuildVSchemaGraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Cells specifies the cells to rebuild the SrvVSchema objects for. If empty, + // RebuildVSchemaGraph rebuilds the SrvVSchema for every cell in the topo. + Cells []string `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *RebuildVSchemaGraphRequest) Reset() { + *x = RebuildVSchemaGraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebuildVSchemaGraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebuildVSchemaGraphRequest) ProtoMessage() {} + +func (x *RebuildVSchemaGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[141] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebuildVSchemaGraphRequest.ProtoReflect.Descriptor instead. +func (*RebuildVSchemaGraphRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{141} +} + +func (x *RebuildVSchemaGraphRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type RebuildVSchemaGraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RebuildVSchemaGraphResponse) Reset() { + *x = RebuildVSchemaGraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebuildVSchemaGraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebuildVSchemaGraphResponse) ProtoMessage() {} + +func (x *RebuildVSchemaGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[142] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebuildVSchemaGraphResponse.ProtoReflect.Descriptor instead. +func (*RebuildVSchemaGraphResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{142} +} + +type RefreshStateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *RefreshStateRequest) Reset() { + *x = RefreshStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateRequest) ProtoMessage() {} + +func (x *RefreshStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[143] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateRequest.ProtoReflect.Descriptor instead. +func (*RefreshStateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{143} +} + +func (x *RefreshStateRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type RefreshStateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RefreshStateResponse) Reset() { + *x = RefreshStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateResponse) ProtoMessage() {} + +func (x *RefreshStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[144] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateResponse.ProtoReflect.Descriptor instead. +func (*RefreshStateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{144} +} + +type RefreshStateByShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *RefreshStateByShardRequest) Reset() { + *x = RefreshStateByShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateByShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateByShardRequest) ProtoMessage() {} + +func (x *RefreshStateByShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[145] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateByShardRequest.ProtoReflect.Descriptor instead. +func (*RefreshStateByShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{145} +} + +func (x *RefreshStateByShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RefreshStateByShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *RefreshStateByShardRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type RefreshStateByShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsPartialRefresh bool `protobuf:"varint,1,opt,name=is_partial_refresh,json=isPartialRefresh,proto3" json:"is_partial_refresh,omitempty"` + // This explains why we had a partial refresh (if we did) + PartialRefreshDetails string `protobuf:"bytes,2,opt,name=partial_refresh_details,json=partialRefreshDetails,proto3" json:"partial_refresh_details,omitempty"` +} + +func (x *RefreshStateByShardResponse) Reset() { + *x = RefreshStateByShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefreshStateByShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefreshStateByShardResponse) ProtoMessage() {} + +func (x *RefreshStateByShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[146] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefreshStateByShardResponse.ProtoReflect.Descriptor instead. +func (*RefreshStateByShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{146} +} + +func (x *RefreshStateByShardResponse) GetIsPartialRefresh() bool { + if x != nil { + return x.IsPartialRefresh + } + return false +} + +func (x *RefreshStateByShardResponse) GetPartialRefreshDetails() string { + if x != nil { + return x.PartialRefreshDetails + } + return "" +} + +type ReloadSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ReloadSchemaRequest) Reset() { + *x = ReloadSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaRequest) ProtoMessage() {} + +func (x *ReloadSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[147] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{147} +} + +func (x *ReloadSchemaRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type ReloadSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReloadSchemaResponse) Reset() { + *x = ReloadSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaResponse) ProtoMessage() {} + +func (x *ReloadSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[148] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{148} +} + +type ReloadSchemaKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + WaitPosition string `protobuf:"bytes,2,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + IncludePrimary bool `protobuf:"varint,3,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` + // Concurrency is the global concurrency across all shards in the keyspace + // (so, at most this many tablets will be reloaded across the keyspace at any + // given point). + Concurrency int32 `protobuf:"varint,4,opt,name=concurrency,proto3" json:"concurrency,omitempty"` +} + +func (x *ReloadSchemaKeyspaceRequest) Reset() { + *x = ReloadSchemaKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaKeyspaceRequest) ProtoMessage() {} + +func (x *ReloadSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[149] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{149} +} + +func (x *ReloadSchemaKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ReloadSchemaKeyspaceRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} + +func (x *ReloadSchemaKeyspaceRequest) GetIncludePrimary() bool { + if x != nil { + return x.IncludePrimary + } + return false +} + +func (x *ReloadSchemaKeyspaceRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +type ReloadSchemaKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*v19.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *ReloadSchemaKeyspaceResponse) Reset() { + *x = ReloadSchemaKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaKeyspaceResponse) ProtoMessage() {} + +func (x *ReloadSchemaKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[150] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{150} +} + +func (x *ReloadSchemaKeyspaceResponse) GetEvents() []*v19.Event { + if x != nil { + return x.Events + } + return nil +} + +type ReloadSchemaShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + WaitPosition string `protobuf:"bytes,3,opt,name=wait_position,json=waitPosition,proto3" json:"wait_position,omitempty"` + IncludePrimary bool `protobuf:"varint,4,opt,name=include_primary,json=includePrimary,proto3" json:"include_primary,omitempty"` + // Concurrency is the maximum number of tablets to reload at one time. + Concurrency int32 `protobuf:"varint,5,opt,name=concurrency,proto3" json:"concurrency,omitempty"` +} + +func (x *ReloadSchemaShardRequest) Reset() { + *x = ReloadSchemaShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaShardRequest) ProtoMessage() {} + +func (x *ReloadSchemaShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[151] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaShardRequest.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{151} +} + +func (x *ReloadSchemaShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetWaitPosition() string { + if x != nil { + return x.WaitPosition + } + return "" +} + +func (x *ReloadSchemaShardRequest) GetIncludePrimary() bool { + if x != nil { + return x.IncludePrimary + } + return false +} + +func (x *ReloadSchemaShardRequest) GetConcurrency() int32 { + if x != nil { + return x.Concurrency + } + return 0 +} + +type ReloadSchemaShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*v19.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *ReloadSchemaShardResponse) Reset() { + *x = ReloadSchemaShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReloadSchemaShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReloadSchemaShardResponse) ProtoMessage() {} + +func (x *ReloadSchemaShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[152] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReloadSchemaShardResponse.ProtoReflect.Descriptor instead. +func (*ReloadSchemaShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{152} +} + +func (x *ReloadSchemaShardResponse) GetEvents() []*v19.Event { + if x != nil { + return x.Events + } + return nil +} + +type RemoveBackupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *RemoveBackupRequest) Reset() { + *x = RemoveBackupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveBackupRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveBackupRequest) ProtoMessage() {} + +func (x *RemoveBackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[153] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveBackupRequest.ProtoReflect.Descriptor instead. +func (*RemoveBackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{153} +} + +func (x *RemoveBackupRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RemoveBackupRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *RemoveBackupRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type RemoveBackupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveBackupResponse) Reset() { + *x = RemoveBackupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveBackupResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveBackupResponse) ProtoMessage() {} + +func (x *RemoveBackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[154] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveBackupResponse.ProtoReflect.Descriptor instead. +func (*RemoveBackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{154} +} + +type RemoveKeyspaceCellRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Cell string `protobuf:"bytes,2,opt,name=cell,proto3" json:"cell,omitempty"` + // Force proceeds even if the cell's topology server cannot be reached. This + // should only be set if a cell has been shut down entirely, and the global + // topology data just needs to be updated. + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + // Recursive also deletes all tablets in that cell belonging to the specified + // keyspace. + Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` +} + +func (x *RemoveKeyspaceCellRequest) Reset() { + *x = RemoveKeyspaceCellRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveKeyspaceCellRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveKeyspaceCellRequest) ProtoMessage() {} + +func (x *RemoveKeyspaceCellRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[155] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveKeyspaceCellRequest.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{155} +} + +func (x *RemoveKeyspaceCellRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RemoveKeyspaceCellRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *RemoveKeyspaceCellRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *RemoveKeyspaceCellRequest) GetRecursive() bool { + if x != nil { + return x.Recursive + } + return false +} + +type RemoveKeyspaceCellResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveKeyspaceCellResponse) Reset() { + *x = RemoveKeyspaceCellResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveKeyspaceCellResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveKeyspaceCellResponse) ProtoMessage() {} + +func (x *RemoveKeyspaceCellResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[156] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveKeyspaceCellResponse.ProtoReflect.Descriptor instead. +func (*RemoveKeyspaceCellResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{156} +} + +type RemoveShardCellRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` + // Force proceeds even if the cell's topology server cannot be reached. This + // should only be set if a cell has been shut down entirely, and the global + // topology data just needs to be updated. + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` + // Recursive also deletes all tablets in that cell belonging to the specified + // keyspace and shard. + Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"` +} + +func (x *RemoveShardCellRequest) Reset() { + *x = RemoveShardCellRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveShardCellRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveShardCellRequest) ProtoMessage() {} + +func (x *RemoveShardCellRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[157] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveShardCellRequest.ProtoReflect.Descriptor instead. +func (*RemoveShardCellRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{157} +} + +func (x *RemoveShardCellRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RemoveShardCellRequest) GetShardName() string { + if x != nil { + return x.ShardName + } + return "" +} + +func (x *RemoveShardCellRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +func (x *RemoveShardCellRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *RemoveShardCellRequest) GetRecursive() bool { + if x != nil { + return x.Recursive + } + return false +} + +type RemoveShardCellResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveShardCellResponse) Reset() { + *x = RemoveShardCellResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveShardCellResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveShardCellResponse) ProtoMessage() {} + +func (x *RemoveShardCellResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[158] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveShardCellResponse.ProtoReflect.Descriptor instead. +func (*RemoveShardCellResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{158} +} + +type ReparentTabletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Tablet is the alias of the tablet that should be reparented under the + // current shard primary. + Tablet *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` +} + +func (x *ReparentTabletRequest) Reset() { + *x = ReparentTabletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReparentTabletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReparentTabletRequest) ProtoMessage() {} + +func (x *ReparentTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[159] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReparentTabletRequest.ProtoReflect.Descriptor instead. +func (*ReparentTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{159} +} + +func (x *ReparentTabletRequest) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +type ReparentTabletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the name of the keyspace the tablet was reparented in. + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // Shard is the name of the shard the tablet was reparented in. + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + // Primary is the alias of the tablet that the tablet was reparented under. + Primary *v192.TabletAlias `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` +} + +func (x *ReparentTabletResponse) Reset() { + *x = ReparentTabletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReparentTabletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReparentTabletResponse) ProtoMessage() {} + +func (x *ReparentTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[160] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReparentTabletResponse.ProtoReflect.Descriptor instead. +func (*ReparentTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{160} +} + +func (x *ReparentTabletResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ReparentTabletResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ReparentTabletResponse) GetPrimary() *v192.TabletAlias { + if x != nil { + return x.Primary + } + return nil +} + +type ReshardCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + SourceShards []string `protobuf:"bytes,3,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` + TargetShards []string `protobuf:"bytes,4,rep,name=target_shards,json=targetShards,proto3" json:"target_shards,omitempty"` + Cells []string `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []v192.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference v191.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + // SkipSchemaCopy specifies if the schema should be copied from the source shard, set false if + // schema is already created on the target shard before Reshard is invoked. + SkipSchemaCopy bool `protobuf:"varint,8,opt,name=skip_schema_copy,json=skipSchemaCopy,proto3" json:"skip_schema_copy,omitempty"` + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDdl string `protobuf:"bytes,9,opt,name=on_ddl,json=onDdl,proto3" json:"on_ddl,omitempty"` + // StopAfterCopy specifies if vreplication should be stopped after copying. + StopAfterCopy bool `protobuf:"varint,10,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + DeferSecondaryKeys bool `protobuf:"varint,11,opt,name=defer_secondary_keys,json=deferSecondaryKeys,proto3" json:"defer_secondary_keys,omitempty"` + // Start the workflow after creating it. + AutoStart bool `protobuf:"varint,12,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` +} + +func (x *ReshardCreateRequest) Reset() { + *x = ReshardCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReshardCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReshardCreateRequest) ProtoMessage() {} + +func (x *ReshardCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[161] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReshardCreateRequest.ProtoReflect.Descriptor instead. +func (*ReshardCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{161} +} + +func (x *ReshardCreateRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *ReshardCreateRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ReshardCreateRequest) GetSourceShards() []string { + if x != nil { + return x.SourceShards + } + return nil +} + +func (x *ReshardCreateRequest) GetTargetShards() []string { + if x != nil { + return x.TargetShards + } + return nil +} + +func (x *ReshardCreateRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *ReshardCreateRequest) GetTabletTypes() []v192.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *ReshardCreateRequest) GetTabletSelectionPreference() v191.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return v191.TabletSelectionPreference(0) +} + +func (x *ReshardCreateRequest) GetSkipSchemaCopy() bool { + if x != nil { + return x.SkipSchemaCopy + } + return false +} + +func (x *ReshardCreateRequest) GetOnDdl() string { + if x != nil { + return x.OnDdl + } + return "" +} + +func (x *ReshardCreateRequest) GetStopAfterCopy() bool { + if x != nil { + return x.StopAfterCopy + } + return false +} + +func (x *ReshardCreateRequest) GetDeferSecondaryKeys() bool { + if x != nil { + return x.DeferSecondaryKeys + } + return false +} + +func (x *ReshardCreateRequest) GetAutoStart() bool { + if x != nil { + return x.AutoStart + } + return false +} + +type RestoreFromBackupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // BackupTime, if set, will use the backup taken most closely at or before + // this time. If nil, the latest backup will be restored on the tablet. + BackupTime *v193.Time `protobuf:"bytes,2,opt,name=backup_time,json=backupTime,proto3" json:"backup_time,omitempty"` + // RestoreToPos indicates a position for a point-in-time recovery. The recovery + // is expected to utilize one full backup, followed by zero or more incremental backups, + // that reach the precise desired position + RestoreToPos string `protobuf:"bytes,3,opt,name=restore_to_pos,json=restoreToPos,proto3" json:"restore_to_pos,omitempty"` + // Dry run does not actually performs the restore, but validates the steps and availability of backups + DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. + // RestoreToTimestamp and RestoreToPos are mutually exclusive. + RestoreToTimestamp *v193.Time `protobuf:"bytes,5,opt,name=restore_to_timestamp,json=restoreToTimestamp,proto3" json:"restore_to_timestamp,omitempty"` +} + +func (x *RestoreFromBackupRequest) Reset() { + *x = RestoreFromBackupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestoreFromBackupRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestoreFromBackupRequest) ProtoMessage() {} + +func (x *RestoreFromBackupRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[162] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestoreFromBackupRequest.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{162} +} + +func (x *RestoreFromBackupRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *RestoreFromBackupRequest) GetBackupTime() *v193.Time { + if x != nil { + return x.BackupTime + } + return nil +} + +func (x *RestoreFromBackupRequest) GetRestoreToPos() string { + if x != nil { + return x.RestoreToPos + } + return "" +} + +func (x *RestoreFromBackupRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *RestoreFromBackupRequest) GetRestoreToTimestamp() *v193.Time { + if x != nil { + return x.RestoreToTimestamp + } + return nil +} + +type RestoreFromBackupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // TabletAlias is the alias of the tablet doing the restore. + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` + Event *v19.Event `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"` +} + +func (x *RestoreFromBackupResponse) Reset() { + *x = RestoreFromBackupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestoreFromBackupResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestoreFromBackupResponse) ProtoMessage() {} + +func (x *RestoreFromBackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[163] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestoreFromBackupResponse.ProtoReflect.Descriptor instead. +func (*RestoreFromBackupResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{163} +} + +func (x *RestoreFromBackupResponse) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *RestoreFromBackupResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RestoreFromBackupResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *RestoreFromBackupResponse) GetEvent() *v19.Event { + if x != nil { + return x.Event + } + return nil +} + +type RetrySchemaMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *RetrySchemaMigrationRequest) Reset() { + *x = RetrySchemaMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetrySchemaMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetrySchemaMigrationRequest) ProtoMessage() {} + +func (x *RetrySchemaMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[164] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RetrySchemaMigrationRequest.ProtoReflect.Descriptor instead. +func (*RetrySchemaMigrationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{164} +} + +func (x *RetrySchemaMigrationRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *RetrySchemaMigrationRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type RetrySchemaMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsAffectedByShard map[string]uint64 `protobuf:"bytes,1,rep,name=rows_affected_by_shard,json=rowsAffectedByShard,proto3" json:"rows_affected_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *RetrySchemaMigrationResponse) Reset() { + *x = RetrySchemaMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetrySchemaMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetrySchemaMigrationResponse) ProtoMessage() {} + +func (x *RetrySchemaMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[165] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RetrySchemaMigrationResponse.ProtoReflect.Descriptor instead. +func (*RetrySchemaMigrationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{165} +} + +func (x *RetrySchemaMigrationResponse) GetRowsAffectedByShard() map[string]uint64 { + if x != nil { + return x.RowsAffectedByShard + } + return nil +} + +type RunHealthCheckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *RunHealthCheckRequest) Reset() { + *x = RunHealthCheckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunHealthCheckRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunHealthCheckRequest) ProtoMessage() {} + +func (x *RunHealthCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[166] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunHealthCheckRequest.ProtoReflect.Descriptor instead. +func (*RunHealthCheckRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{166} +} + +func (x *RunHealthCheckRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type RunHealthCheckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RunHealthCheckResponse) Reset() { + *x = RunHealthCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunHealthCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunHealthCheckResponse) ProtoMessage() {} + +func (x *RunHealthCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[167] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunHealthCheckResponse.ProtoReflect.Descriptor instead. +func (*RunHealthCheckResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{167} +} + +type SetKeyspaceDurabilityPolicyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + DurabilityPolicy string `protobuf:"bytes,2,opt,name=durability_policy,json=durabilityPolicy,proto3" json:"durability_policy,omitempty"` +} + +func (x *SetKeyspaceDurabilityPolicyRequest) Reset() { + *x = SetKeyspaceDurabilityPolicyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetKeyspaceDurabilityPolicyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetKeyspaceDurabilityPolicyRequest) ProtoMessage() {} + +func (x *SetKeyspaceDurabilityPolicyRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[168] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetKeyspaceDurabilityPolicyRequest.ProtoReflect.Descriptor instead. +func (*SetKeyspaceDurabilityPolicyRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{168} +} + +func (x *SetKeyspaceDurabilityPolicyRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SetKeyspaceDurabilityPolicyRequest) GetDurabilityPolicy() string { + if x != nil { + return x.DurabilityPolicy + } + return "" +} + +type SetKeyspaceDurabilityPolicyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the updated keyspace record. + Keyspace *v192.Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *SetKeyspaceDurabilityPolicyResponse) Reset() { + *x = SetKeyspaceDurabilityPolicyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetKeyspaceDurabilityPolicyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetKeyspaceDurabilityPolicyResponse) ProtoMessage() {} + +func (x *SetKeyspaceDurabilityPolicyResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[169] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetKeyspaceDurabilityPolicyResponse.ProtoReflect.Descriptor instead. +func (*SetKeyspaceDurabilityPolicyResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{169} +} + +func (x *SetKeyspaceDurabilityPolicyResponse) GetKeyspace() *v192.Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +type SetKeyspaceShardingInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` +} + +func (x *SetKeyspaceShardingInfoRequest) Reset() { + *x = SetKeyspaceShardingInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetKeyspaceShardingInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetKeyspaceShardingInfoRequest) ProtoMessage() {} + +func (x *SetKeyspaceShardingInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[170] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetKeyspaceShardingInfoRequest.ProtoReflect.Descriptor instead. +func (*SetKeyspaceShardingInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{170} +} + +func (x *SetKeyspaceShardingInfoRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SetKeyspaceShardingInfoRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +type SetKeyspaceShardingInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Keyspace is the updated keyspace record. + Keyspace *v192.Keyspace `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *SetKeyspaceShardingInfoResponse) Reset() { + *x = SetKeyspaceShardingInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetKeyspaceShardingInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetKeyspaceShardingInfoResponse) ProtoMessage() {} + +func (x *SetKeyspaceShardingInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[171] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetKeyspaceShardingInfoResponse.ProtoReflect.Descriptor instead. +func (*SetKeyspaceShardingInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{171} +} + +func (x *SetKeyspaceShardingInfoResponse) GetKeyspace() *v192.Keyspace { + if x != nil { + return x.Keyspace + } + return nil +} + +type SetShardIsPrimaryServingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + IsServing bool `protobuf:"varint,3,opt,name=is_serving,json=isServing,proto3" json:"is_serving,omitempty"` +} + +func (x *SetShardIsPrimaryServingRequest) Reset() { + *x = SetShardIsPrimaryServingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetShardIsPrimaryServingRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetShardIsPrimaryServingRequest) ProtoMessage() {} + +func (x *SetShardIsPrimaryServingRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[172] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetShardIsPrimaryServingRequest.ProtoReflect.Descriptor instead. +func (*SetShardIsPrimaryServingRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{172} +} + +func (x *SetShardIsPrimaryServingRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SetShardIsPrimaryServingRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *SetShardIsPrimaryServingRequest) GetIsServing() bool { + if x != nil { + return x.IsServing + } + return false +} + +type SetShardIsPrimaryServingResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Shard is the updated shard record. + Shard *v192.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *SetShardIsPrimaryServingResponse) Reset() { + *x = SetShardIsPrimaryServingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetShardIsPrimaryServingResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetShardIsPrimaryServingResponse) ProtoMessage() {} + +func (x *SetShardIsPrimaryServingResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[173] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetShardIsPrimaryServingResponse.ProtoReflect.Descriptor instead. +func (*SetShardIsPrimaryServingResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{173} +} + +func (x *SetShardIsPrimaryServingResponse) GetShard() *v192.Shard { + if x != nil { + return x.Shard + } + return nil +} + +type SetShardTabletControlRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + TabletType v192.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_type,omitempty"` + Cells []string `protobuf:"bytes,4,rep,name=cells,proto3" json:"cells,omitempty"` + // DeniedTables updates the list of denied tables the shard will serve for + // the given tablet type. This is useful to fix tables that are being blocked + // after a MoveTables operation. + // + // NOTE: Setting this field will cause DisableQueryService to be ignored. + DeniedTables []string `protobuf:"bytes,5,rep,name=denied_tables,json=deniedTables,proto3" json:"denied_tables,omitempty"` + // DisableQueryService instructs whether to enable the query service on + // tablets of the given type in the shard. This is useful to fix Reshard + // operations gone awry. + // + // NOTE: this is ignored if DeniedTables is not empty. + DisableQueryService bool `protobuf:"varint,6,opt,name=disable_query_service,json=disableQueryService,proto3" json:"disable_query_service,omitempty"` + // Remove removes the ShardTabletControl record entirely. If set, this takes + // precedence over DeniedTables and DisableQueryService fields, and is useful + // to manually remove serving restrictions after a completed MoveTables + // operation. + Remove bool `protobuf:"varint,7,opt,name=remove,proto3" json:"remove,omitempty"` +} + +func (x *SetShardTabletControlRequest) Reset() { + *x = SetShardTabletControlRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetShardTabletControlRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetShardTabletControlRequest) ProtoMessage() {} + +func (x *SetShardTabletControlRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[174] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetShardTabletControlRequest.ProtoReflect.Descriptor instead. +func (*SetShardTabletControlRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{174} +} + +func (x *SetShardTabletControlRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SetShardTabletControlRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *SetShardTabletControlRequest) GetTabletType() v192.TabletType { + if x != nil { + return x.TabletType + } + return v192.TabletType(0) +} + +func (x *SetShardTabletControlRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *SetShardTabletControlRequest) GetDeniedTables() []string { + if x != nil { + return x.DeniedTables + } + return nil +} + +func (x *SetShardTabletControlRequest) GetDisableQueryService() bool { + if x != nil { + return x.DisableQueryService + } + return false +} + +func (x *SetShardTabletControlRequest) GetRemove() bool { + if x != nil { + return x.Remove + } + return false +} + +type SetShardTabletControlResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Shard is the updated shard record. + Shard *v192.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *SetShardTabletControlResponse) Reset() { + *x = SetShardTabletControlResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetShardTabletControlResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetShardTabletControlResponse) ProtoMessage() {} + +func (x *SetShardTabletControlResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[175] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetShardTabletControlResponse.ProtoReflect.Descriptor instead. +func (*SetShardTabletControlResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{175} +} + +func (x *SetShardTabletControlResponse) GetShard() *v192.Shard { + if x != nil { + return x.Shard + } + return nil +} + +type SetWritableRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Writable bool `protobuf:"varint,2,opt,name=writable,proto3" json:"writable,omitempty"` +} + +func (x *SetWritableRequest) Reset() { + *x = SetWritableRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetWritableRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetWritableRequest) ProtoMessage() {} + +func (x *SetWritableRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[176] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetWritableRequest.ProtoReflect.Descriptor instead. +func (*SetWritableRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{176} +} + +func (x *SetWritableRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *SetWritableRequest) GetWritable() bool { + if x != nil { + return x.Writable + } + return false +} + +type SetWritableResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetWritableResponse) Reset() { + *x = SetWritableResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetWritableResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetWritableResponse) ProtoMessage() {} + +func (x *SetWritableResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[177] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetWritableResponse.ProtoReflect.Descriptor instead. +func (*SetWritableResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{177} +} + +type ShardReplicationAddRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + TabletAlias *v192.TabletAlias `protobuf:"bytes,3,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ShardReplicationAddRequest) Reset() { + *x = ShardReplicationAddRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationAddRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationAddRequest) ProtoMessage() {} + +func (x *ShardReplicationAddRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[178] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationAddRequest.ProtoReflect.Descriptor instead. +func (*ShardReplicationAddRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{178} +} + +func (x *ShardReplicationAddRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ShardReplicationAddRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ShardReplicationAddRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type ShardReplicationAddResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ShardReplicationAddResponse) Reset() { + *x = ShardReplicationAddResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationAddResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationAddResponse) ProtoMessage() {} + +func (x *ShardReplicationAddResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[179] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationAddResponse.ProtoReflect.Descriptor instead. +func (*ShardReplicationAddResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{179} +} + +type ShardReplicationFixRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Cell string `protobuf:"bytes,3,opt,name=cell,proto3" json:"cell,omitempty"` +} + +func (x *ShardReplicationFixRequest) Reset() { + *x = ShardReplicationFixRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationFixRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationFixRequest) ProtoMessage() {} + +func (x *ShardReplicationFixRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[180] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationFixRequest.ProtoReflect.Descriptor instead. +func (*ShardReplicationFixRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{180} +} + +func (x *ShardReplicationFixRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ShardReplicationFixRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ShardReplicationFixRequest) GetCell() string { + if x != nil { + return x.Cell + } + return "" +} + +type ShardReplicationFixResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Error contains information about the error fixed by a + // ShardReplicationFix RPC. If there were no errors to fix (i.e. all nodes + // in the replication graph are valid), this field is nil. + Error *v192.ShardReplicationError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *ShardReplicationFixResponse) Reset() { + *x = ShardReplicationFixResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationFixResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationFixResponse) ProtoMessage() {} + +func (x *ShardReplicationFixResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[181] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationFixResponse.ProtoReflect.Descriptor instead. +func (*ShardReplicationFixResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{181} +} + +func (x *ShardReplicationFixResponse) GetError() *v192.ShardReplicationError { + if x != nil { + return x.Error + } + return nil +} + +type ShardReplicationPositionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *ShardReplicationPositionsRequest) Reset() { + *x = ShardReplicationPositionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationPositionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationPositionsRequest) ProtoMessage() {} + +func (x *ShardReplicationPositionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[182] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationPositionsRequest.ProtoReflect.Descriptor instead. +func (*ShardReplicationPositionsRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{182} +} + +func (x *ShardReplicationPositionsRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ShardReplicationPositionsRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +type ShardReplicationPositionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ReplicationStatuses is a mapping of tablet alias string to replication + // status for that tablet. + ReplicationStatuses map[string]*v198.Status `protobuf:"bytes,1,rep,name=replication_statuses,json=replicationStatuses,proto3" json:"replication_statuses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // TabletMap is the set of tablets whose replication statuses were queried, + // keyed by tablet alias. + TabletMap map[string]*v192.Tablet `protobuf:"bytes,2,rep,name=tablet_map,json=tabletMap,proto3" json:"tablet_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ShardReplicationPositionsResponse) Reset() { + *x = ShardReplicationPositionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationPositionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationPositionsResponse) ProtoMessage() {} + +func (x *ShardReplicationPositionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[183] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationPositionsResponse.ProtoReflect.Descriptor instead. +func (*ShardReplicationPositionsResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{183} +} + +func (x *ShardReplicationPositionsResponse) GetReplicationStatuses() map[string]*v198.Status { + if x != nil { + return x.ReplicationStatuses + } + return nil +} + +func (x *ShardReplicationPositionsResponse) GetTabletMap() map[string]*v192.Tablet { + if x != nil { + return x.TabletMap + } + return nil +} + +type ShardReplicationRemoveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + TabletAlias *v192.TabletAlias `protobuf:"bytes,3,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *ShardReplicationRemoveRequest) Reset() { + *x = ShardReplicationRemoveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationRemoveRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationRemoveRequest) ProtoMessage() {} + +func (x *ShardReplicationRemoveRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[184] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationRemoveRequest.ProtoReflect.Descriptor instead. +func (*ShardReplicationRemoveRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{184} +} + +func (x *ShardReplicationRemoveRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ShardReplicationRemoveRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ShardReplicationRemoveRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type ShardReplicationRemoveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ShardReplicationRemoveResponse) Reset() { + *x = ShardReplicationRemoveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardReplicationRemoveResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardReplicationRemoveResponse) ProtoMessage() {} + +func (x *ShardReplicationRemoveResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[185] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShardReplicationRemoveResponse.ProtoReflect.Descriptor instead. +func (*ShardReplicationRemoveResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{185} +} + +type SleepTabletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + Duration *v193.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` +} + +func (x *SleepTabletRequest) Reset() { + *x = SleepTabletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[186] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SleepTabletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SleepTabletRequest) ProtoMessage() {} + +func (x *SleepTabletRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[186] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SleepTabletRequest.ProtoReflect.Descriptor instead. +func (*SleepTabletRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{186} +} + +func (x *SleepTabletRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *SleepTabletRequest) GetDuration() *v193.Duration { + if x != nil { + return x.Duration + } + return nil +} + +type SleepTabletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SleepTabletResponse) Reset() { + *x = SleepTabletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[187] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SleepTabletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SleepTabletResponse) ProtoMessage() {} + +func (x *SleepTabletResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[187] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SleepTabletResponse.ProtoReflect.Descriptor instead. +func (*SleepTabletResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{187} +} + +type SourceShardAddRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Uid int32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` + SourceKeyspace string `protobuf:"bytes,4,opt,name=source_keyspace,json=sourceKeyspace,proto3" json:"source_keyspace,omitempty"` + SourceShard string `protobuf:"bytes,5,opt,name=source_shard,json=sourceShard,proto3" json:"source_shard,omitempty"` + // KeyRange identifies the key range to use for the SourceShard. This field is + // optional. + KeyRange *v192.KeyRange `protobuf:"bytes,6,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` + // Tables is a list of tables replicate (for MoveTables). Each "table" can be + // either an exact match or a regular expression of the form "/regexp/". + Tables []string `protobuf:"bytes,7,rep,name=tables,proto3" json:"tables,omitempty"` +} + +func (x *SourceShardAddRequest) Reset() { + *x = SourceShardAddRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[188] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SourceShardAddRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceShardAddRequest) ProtoMessage() {} + +func (x *SourceShardAddRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[188] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SourceShardAddRequest.ProtoReflect.Descriptor instead. +func (*SourceShardAddRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{188} +} + +func (x *SourceShardAddRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SourceShardAddRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *SourceShardAddRequest) GetUid() int32 { + if x != nil { + return x.Uid + } + return 0 +} + +func (x *SourceShardAddRequest) GetSourceKeyspace() string { + if x != nil { + return x.SourceKeyspace + } + return "" +} + +func (x *SourceShardAddRequest) GetSourceShard() string { + if x != nil { + return x.SourceShard + } + return "" +} + +func (x *SourceShardAddRequest) GetKeyRange() *v192.KeyRange { + if x != nil { + return x.KeyRange + } + return nil +} + +func (x *SourceShardAddRequest) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +type SourceShardAddResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Shard is the updated shard record. + Shard *v192.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *SourceShardAddResponse) Reset() { + *x = SourceShardAddResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[189] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SourceShardAddResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceShardAddResponse) ProtoMessage() {} + +func (x *SourceShardAddResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[189] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SourceShardAddResponse.ProtoReflect.Descriptor instead. +func (*SourceShardAddResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{189} +} + +func (x *SourceShardAddResponse) GetShard() *v192.Shard { + if x != nil { + return x.Shard + } + return nil +} + +type SourceShardDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Uid int32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` +} + +func (x *SourceShardDeleteRequest) Reset() { + *x = SourceShardDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[190] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SourceShardDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceShardDeleteRequest) ProtoMessage() {} + +func (x *SourceShardDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[190] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SourceShardDeleteRequest.ProtoReflect.Descriptor instead. +func (*SourceShardDeleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{190} +} + +func (x *SourceShardDeleteRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *SourceShardDeleteRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *SourceShardDeleteRequest) GetUid() int32 { + if x != nil { + return x.Uid + } + return 0 +} + +type SourceShardDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Shard is the updated shard record. + Shard *v192.Shard `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *SourceShardDeleteResponse) Reset() { + *x = SourceShardDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[191] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SourceShardDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceShardDeleteResponse) ProtoMessage() {} + +func (x *SourceShardDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[191] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SourceShardDeleteResponse.ProtoReflect.Descriptor instead. +func (*SourceShardDeleteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{191} +} + +func (x *SourceShardDeleteResponse) GetShard() *v192.Shard { + if x != nil { + return x.Shard + } + return nil +} + +type StartReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *StartReplicationRequest) Reset() { + *x = StartReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[192] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationRequest) ProtoMessage() {} + +func (x *StartReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[192] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationRequest.ProtoReflect.Descriptor instead. +func (*StartReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{192} +} + +func (x *StartReplicationRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type StartReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StartReplicationResponse) Reset() { + *x = StartReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[193] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartReplicationResponse) ProtoMessage() {} + +func (x *StartReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[193] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartReplicationResponse.ProtoReflect.Descriptor instead. +func (*StartReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{193} +} + +type StopReplicationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TabletAlias *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` +} + +func (x *StopReplicationRequest) Reset() { + *x = StopReplicationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[194] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationRequest) ProtoMessage() {} + +func (x *StopReplicationRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[194] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationRequest.ProtoReflect.Descriptor instead. +func (*StopReplicationRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{194} +} + +func (x *StopReplicationRequest) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +type StopReplicationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StopReplicationResponse) Reset() { + *x = StopReplicationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[195] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopReplicationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopReplicationResponse) ProtoMessage() {} + +func (x *StopReplicationResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[195] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopReplicationResponse.ProtoReflect.Descriptor instead. +func (*StopReplicationResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{195} +} + +type TabletExternallyReparentedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Tablet is the alias of the tablet that was promoted externally and should + // be updated to the shard primary in the topo. + Tablet *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` +} + +func (x *TabletExternallyReparentedRequest) Reset() { + *x = TabletExternallyReparentedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[196] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyReparentedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyReparentedRequest) ProtoMessage() {} + +func (x *TabletExternallyReparentedRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[196] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyReparentedRequest.ProtoReflect.Descriptor instead. +func (*TabletExternallyReparentedRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{196} +} + +func (x *TabletExternallyReparentedRequest) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +type TabletExternallyReparentedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + NewPrimary *v192.TabletAlias `protobuf:"bytes,3,opt,name=new_primary,json=newPrimary,proto3" json:"new_primary,omitempty"` + OldPrimary *v192.TabletAlias `protobuf:"bytes,4,opt,name=old_primary,json=oldPrimary,proto3" json:"old_primary,omitempty"` +} + +func (x *TabletExternallyReparentedResponse) Reset() { + *x = TabletExternallyReparentedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[197] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabletExternallyReparentedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabletExternallyReparentedResponse) ProtoMessage() {} + +func (x *TabletExternallyReparentedResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[197] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabletExternallyReparentedResponse.ProtoReflect.Descriptor instead. +func (*TabletExternallyReparentedResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{197} +} + +func (x *TabletExternallyReparentedResponse) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *TabletExternallyReparentedResponse) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *TabletExternallyReparentedResponse) GetNewPrimary() *v192.TabletAlias { + if x != nil { + return x.NewPrimary + } + return nil +} + +func (x *TabletExternallyReparentedResponse) GetOldPrimary() *v192.TabletAlias { + if x != nil { + return x.OldPrimary + } + return nil +} + +type UpdateCellInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + CellInfo *v192.CellInfo `protobuf:"bytes,2,opt,name=cell_info,json=cellInfo,proto3" json:"cell_info,omitempty"` +} + +func (x *UpdateCellInfoRequest) Reset() { + *x = UpdateCellInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[198] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateCellInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCellInfoRequest) ProtoMessage() {} + +func (x *UpdateCellInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[198] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateCellInfoRequest.ProtoReflect.Descriptor instead. +func (*UpdateCellInfoRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{198} +} + +func (x *UpdateCellInfoRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *UpdateCellInfoRequest) GetCellInfo() *v192.CellInfo { + if x != nil { + return x.CellInfo + } + return nil +} + +type UpdateCellInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + CellInfo *v192.CellInfo `protobuf:"bytes,2,opt,name=cell_info,json=cellInfo,proto3" json:"cell_info,omitempty"` +} + +func (x *UpdateCellInfoResponse) Reset() { + *x = UpdateCellInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[199] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateCellInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCellInfoResponse) ProtoMessage() {} + +func (x *UpdateCellInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[199] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateCellInfoResponse.ProtoReflect.Descriptor instead. +func (*UpdateCellInfoResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{199} +} + +func (x *UpdateCellInfoResponse) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *UpdateCellInfoResponse) GetCellInfo() *v192.CellInfo { + if x != nil { + return x.CellInfo + } + return nil +} + +type UpdateCellsAliasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + CellsAlias *v192.CellsAlias `protobuf:"bytes,2,opt,name=cells_alias,json=cellsAlias,proto3" json:"cells_alias,omitempty"` +} + +func (x *UpdateCellsAliasRequest) Reset() { + *x = UpdateCellsAliasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[200] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateCellsAliasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCellsAliasRequest) ProtoMessage() {} + +func (x *UpdateCellsAliasRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[200] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateCellsAliasRequest.ProtoReflect.Descriptor instead. +func (*UpdateCellsAliasRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{200} +} + +func (x *UpdateCellsAliasRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *UpdateCellsAliasRequest) GetCellsAlias() *v192.CellsAlias { + if x != nil { + return x.CellsAlias + } + return nil +} + +type UpdateCellsAliasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + CellsAlias *v192.CellsAlias `protobuf:"bytes,2,opt,name=cells_alias,json=cellsAlias,proto3" json:"cells_alias,omitempty"` +} + +func (x *UpdateCellsAliasResponse) Reset() { + *x = UpdateCellsAliasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[201] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateCellsAliasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCellsAliasResponse) ProtoMessage() {} + +func (x *UpdateCellsAliasResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[201] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateCellsAliasResponse.ProtoReflect.Descriptor instead. +func (*UpdateCellsAliasResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{201} +} + +func (x *UpdateCellsAliasResponse) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *UpdateCellsAliasResponse) GetCellsAlias() *v192.CellsAlias { + if x != nil { + return x.CellsAlias + } + return nil +} + +type ValidateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PingTablets bool `protobuf:"varint,1,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateRequest) Reset() { + *x = ValidateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[202] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateRequest) ProtoMessage() {} + +func (x *ValidateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[202] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead. +func (*ValidateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{202} +} + +func (x *ValidateRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + ResultsByKeyspace map[string]*ValidateKeyspaceResponse `protobuf:"bytes,2,rep,name=results_by_keyspace,json=resultsByKeyspace,proto3" json:"results_by_keyspace,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ValidateResponse) Reset() { + *x = ValidateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[203] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateResponse) ProtoMessage() {} + +func (x *ValidateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[203] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead. +func (*ValidateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{203} +} + +func (x *ValidateResponse) GetResults() []string { + if x != nil { + return x.Results + } + return nil +} + +func (x *ValidateResponse) GetResultsByKeyspace() map[string]*ValidateKeyspaceResponse { + if x != nil { + return x.ResultsByKeyspace + } + return nil +} + +type ValidateKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + PingTablets bool `protobuf:"varint,2,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateKeyspaceRequest) Reset() { + *x = ValidateKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[204] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[204] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{204} +} + +func (x *ValidateKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateKeyspaceRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + ResultsByShard map[string]*ValidateShardResponse `protobuf:"bytes,2,rep,name=results_by_shard,json=resultsByShard,proto3" json:"results_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ValidateKeyspaceResponse) Reset() { + *x = ValidateKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[205] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateKeyspaceResponse) ProtoMessage() {} + +func (x *ValidateKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[205] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*ValidateKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{205} +} + +func (x *ValidateKeyspaceResponse) GetResults() []string { + if x != nil { + return x.Results + } + return nil +} + +func (x *ValidateKeyspaceResponse) GetResultsByShard() map[string]*ValidateShardResponse { + if x != nil { + return x.ResultsByShard + } + return nil +} + +type ValidateSchemaKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + ExcludeTables []string `protobuf:"bytes,2,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + IncludeViews bool `protobuf:"varint,3,opt,name=include_views,json=includeViews,proto3" json:"include_views,omitempty"` + SkipNoPrimary bool `protobuf:"varint,4,opt,name=skip_no_primary,json=skipNoPrimary,proto3" json:"skip_no_primary,omitempty"` + IncludeVschema bool `protobuf:"varint,5,opt,name=include_vschema,json=includeVschema,proto3" json:"include_vschema,omitempty"` +} + +func (x *ValidateSchemaKeyspaceRequest) Reset() { + *x = ValidateSchemaKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[206] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateSchemaKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateSchemaKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateSchemaKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[206] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateSchemaKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateSchemaKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{206} +} + +func (x *ValidateSchemaKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateSchemaKeyspaceRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables + } + return nil +} + +func (x *ValidateSchemaKeyspaceRequest) GetIncludeViews() bool { + if x != nil { + return x.IncludeViews + } + return false +} + +func (x *ValidateSchemaKeyspaceRequest) GetSkipNoPrimary() bool { + if x != nil { + return x.SkipNoPrimary + } + return false +} + +func (x *ValidateSchemaKeyspaceRequest) GetIncludeVschema() bool { + if x != nil { + return x.IncludeVschema + } + return false +} + +type ValidateSchemaKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + ResultsByShard map[string]*ValidateShardResponse `protobuf:"bytes,2,rep,name=results_by_shard,json=resultsByShard,proto3" json:"results_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ValidateSchemaKeyspaceResponse) Reset() { + *x = ValidateSchemaKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[207] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateSchemaKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateSchemaKeyspaceResponse) ProtoMessage() {} + +func (x *ValidateSchemaKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[207] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateSchemaKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*ValidateSchemaKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{207} +} + +func (x *ValidateSchemaKeyspaceResponse) GetResults() []string { + if x != nil { + return x.Results + } + return nil +} + +func (x *ValidateSchemaKeyspaceResponse) GetResultsByShard() map[string]*ValidateShardResponse { + if x != nil { + return x.ResultsByShard + } + return nil +} + +type ValidateShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + PingTablets bool `protobuf:"varint,3,opt,name=ping_tablets,json=pingTablets,proto3" json:"ping_tablets,omitempty"` +} + +func (x *ValidateShardRequest) Reset() { + *x = ValidateShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[208] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateShardRequest) ProtoMessage() {} + +func (x *ValidateShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[208] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateShardRequest.ProtoReflect.Descriptor instead. +func (*ValidateShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{208} +} + +func (x *ValidateShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *ValidateShardRequest) GetPingTablets() bool { + if x != nil { + return x.PingTablets + } + return false +} + +type ValidateShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` +} + +func (x *ValidateShardResponse) Reset() { + *x = ValidateShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[209] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateShardResponse) ProtoMessage() {} + +func (x *ValidateShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[209] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateShardResponse.ProtoReflect.Descriptor instead. +func (*ValidateShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{209} +} + +func (x *ValidateShardResponse) GetResults() []string { + if x != nil { + return x.Results + } + return nil +} + +type ValidateVersionKeyspaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` +} + +func (x *ValidateVersionKeyspaceRequest) Reset() { + *x = ValidateVersionKeyspaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[210] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionKeyspaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionKeyspaceRequest) ProtoMessage() {} + +func (x *ValidateVersionKeyspaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[210] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionKeyspaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateVersionKeyspaceRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{210} +} + +func (x *ValidateVersionKeyspaceRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +type ValidateVersionKeyspaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + ResultsByShard map[string]*ValidateShardResponse `protobuf:"bytes,2,rep,name=results_by_shard,json=resultsByShard,proto3" json:"results_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ValidateVersionKeyspaceResponse) Reset() { + *x = ValidateVersionKeyspaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[211] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionKeyspaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionKeyspaceResponse) ProtoMessage() {} + +func (x *ValidateVersionKeyspaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[211] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionKeyspaceResponse.ProtoReflect.Descriptor instead. +func (*ValidateVersionKeyspaceResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{211} +} + +func (x *ValidateVersionKeyspaceResponse) GetResults() []string { + if x != nil { + return x.Results + } + return nil +} + +func (x *ValidateVersionKeyspaceResponse) GetResultsByShard() map[string]*ValidateShardResponse { + if x != nil { + return x.ResultsByShard + } + return nil +} + +type ValidateVersionShardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` +} + +func (x *ValidateVersionShardRequest) Reset() { + *x = ValidateVersionShardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[212] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionShardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionShardRequest) ProtoMessage() {} + +func (x *ValidateVersionShardRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[212] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionShardRequest.ProtoReflect.Descriptor instead. +func (*ValidateVersionShardRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{212} +} + +func (x *ValidateVersionShardRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateVersionShardRequest) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +type ValidateVersionShardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` +} + +func (x *ValidateVersionShardResponse) Reset() { + *x = ValidateVersionShardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[213] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVersionShardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVersionShardResponse) ProtoMessage() {} + +func (x *ValidateVersionShardResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[213] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVersionShardResponse.ProtoReflect.Descriptor instead. +func (*ValidateVersionShardResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{213} +} + +func (x *ValidateVersionShardResponse) GetResults() []string { + if x != nil { + return x.Results + } + return nil +} + +type ValidateVSchemaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shards []string `protobuf:"bytes,2,rep,name=shards,proto3" json:"shards,omitempty"` + ExcludeTables []string `protobuf:"bytes,3,rep,name=exclude_tables,json=excludeTables,proto3" json:"exclude_tables,omitempty"` + IncludeViews bool `protobuf:"varint,4,opt,name=include_views,json=includeViews,proto3" json:"include_views,omitempty"` +} + +func (x *ValidateVSchemaRequest) Reset() { + *x = ValidateVSchemaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[214] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVSchemaRequest) ProtoMessage() {} + +func (x *ValidateVSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[214] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVSchemaRequest.ProtoReflect.Descriptor instead. +func (*ValidateVSchemaRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{214} +} + +func (x *ValidateVSchemaRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *ValidateVSchemaRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +func (x *ValidateVSchemaRequest) GetExcludeTables() []string { + if x != nil { + return x.ExcludeTables + } + return nil +} + +func (x *ValidateVSchemaRequest) GetIncludeViews() bool { + if x != nil { + return x.IncludeViews + } + return false +} + +type ValidateVSchemaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + ResultsByShard map[string]*ValidateShardResponse `protobuf:"bytes,2,rep,name=results_by_shard,json=resultsByShard,proto3" json:"results_by_shard,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ValidateVSchemaResponse) Reset() { + *x = ValidateVSchemaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[215] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateVSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateVSchemaResponse) ProtoMessage() {} + +func (x *ValidateVSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[215] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateVSchemaResponse.ProtoReflect.Descriptor instead. +func (*ValidateVSchemaResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{215} +} + +func (x *ValidateVSchemaResponse) GetResults() []string { + if x != nil { + return x.Results + } + return nil +} + +func (x *ValidateVSchemaResponse) GetResultsByShard() map[string]*ValidateShardResponse { + if x != nil { + return x.ResultsByShard + } + return nil +} + +type VDiffCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` + SourceCells []string `protobuf:"bytes,4,rep,name=source_cells,json=sourceCells,proto3" json:"source_cells,omitempty"` + TargetCells []string `protobuf:"bytes,5,rep,name=target_cells,json=targetCells,proto3" json:"target_cells,omitempty"` + TabletTypes []v192.TabletType `protobuf:"varint,6,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference v191.TabletSelectionPreference `protobuf:"varint,7,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + Tables []string `protobuf:"bytes,8,rep,name=tables,proto3" json:"tables,omitempty"` + Limit int64 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` + FilteredReplicationWaitTime *v193.Duration `protobuf:"bytes,10,opt,name=filtered_replication_wait_time,json=filteredReplicationWaitTime,proto3" json:"filtered_replication_wait_time,omitempty"` + DebugQuery bool `protobuf:"varint,11,opt,name=debug_query,json=debugQuery,proto3" json:"debug_query,omitempty"` + OnlyPKs bool `protobuf:"varint,12,opt,name=only_p_ks,json=onlyPKs,proto3" json:"only_p_ks,omitempty"` + UpdateTableStats bool `protobuf:"varint,13,opt,name=update_table_stats,json=updateTableStats,proto3" json:"update_table_stats,omitempty"` + MaxExtraRowsToCompare int64 `protobuf:"varint,14,opt,name=max_extra_rows_to_compare,json=maxExtraRowsToCompare,proto3" json:"max_extra_rows_to_compare,omitempty"` + Wait bool `protobuf:"varint,15,opt,name=wait,proto3" json:"wait,omitempty"` + WaitUpdateInterval *v193.Duration `protobuf:"bytes,16,opt,name=wait_update_interval,json=waitUpdateInterval,proto3" json:"wait_update_interval,omitempty"` + AutoRetry bool `protobuf:"varint,17,opt,name=auto_retry,json=autoRetry,proto3" json:"auto_retry,omitempty"` + Verbose bool `protobuf:"varint,18,opt,name=verbose,proto3" json:"verbose,omitempty"` + MaxReportSampleRows int64 `protobuf:"varint,19,opt,name=max_report_sample_rows,json=maxReportSampleRows,proto3" json:"max_report_sample_rows,omitempty"` + MaxDiffDuration *v193.Duration `protobuf:"bytes,20,opt,name=max_diff_duration,json=maxDiffDuration,proto3" json:"max_diff_duration,omitempty"` +} + +func (x *VDiffCreateRequest) Reset() { + *x = VDiffCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[216] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffCreateRequest) ProtoMessage() {} + +func (x *VDiffCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[216] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffCreateRequest.ProtoReflect.Descriptor instead. +func (*VDiffCreateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{216} +} + +func (x *VDiffCreateRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *VDiffCreateRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *VDiffCreateRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *VDiffCreateRequest) GetSourceCells() []string { + if x != nil { + return x.SourceCells + } + return nil +} + +func (x *VDiffCreateRequest) GetTargetCells() []string { + if x != nil { + return x.TargetCells + } + return nil +} + +func (x *VDiffCreateRequest) GetTabletTypes() []v192.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *VDiffCreateRequest) GetTabletSelectionPreference() v191.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return v191.TabletSelectionPreference(0) +} + +func (x *VDiffCreateRequest) GetTables() []string { + if x != nil { + return x.Tables + } + return nil +} + +func (x *VDiffCreateRequest) GetLimit() int64 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *VDiffCreateRequest) GetFilteredReplicationWaitTime() *v193.Duration { + if x != nil { + return x.FilteredReplicationWaitTime + } + return nil +} + +func (x *VDiffCreateRequest) GetDebugQuery() bool { + if x != nil { + return x.DebugQuery + } + return false +} + +func (x *VDiffCreateRequest) GetOnlyPKs() bool { + if x != nil { + return x.OnlyPKs + } + return false +} + +func (x *VDiffCreateRequest) GetUpdateTableStats() bool { + if x != nil { + return x.UpdateTableStats + } + return false +} + +func (x *VDiffCreateRequest) GetMaxExtraRowsToCompare() int64 { + if x != nil { + return x.MaxExtraRowsToCompare + } + return 0 +} + +func (x *VDiffCreateRequest) GetWait() bool { + if x != nil { + return x.Wait + } + return false +} + +func (x *VDiffCreateRequest) GetWaitUpdateInterval() *v193.Duration { + if x != nil { + return x.WaitUpdateInterval + } + return nil +} + +func (x *VDiffCreateRequest) GetAutoRetry() bool { + if x != nil { + return x.AutoRetry + } + return false +} + +func (x *VDiffCreateRequest) GetVerbose() bool { + if x != nil { + return x.Verbose + } + return false +} + +func (x *VDiffCreateRequest) GetMaxReportSampleRows() int64 { + if x != nil { + return x.MaxReportSampleRows + } + return 0 +} + +func (x *VDiffCreateRequest) GetMaxDiffDuration() *v193.Duration { + if x != nil { + return x.MaxDiffDuration + } + return nil +} + +type VDiffCreateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Intentionally upper case to maintain compatibility with + // vtctlclient and other VDiff client command output. + UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` +} + +func (x *VDiffCreateResponse) Reset() { + *x = VDiffCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[217] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffCreateResponse) ProtoMessage() {} + +func (x *VDiffCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[217] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffCreateResponse.ProtoReflect.Descriptor instead. +func (*VDiffCreateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{217} +} + +func (x *VDiffCreateResponse) GetUUID() string { + if x != nil { + return x.UUID + } + return "" +} + +type VDiffDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + // This will be 'all' or a UUID. + Arg string `protobuf:"bytes,3,opt,name=arg,proto3" json:"arg,omitempty"` +} + +func (x *VDiffDeleteRequest) Reset() { + *x = VDiffDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[218] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffDeleteRequest) ProtoMessage() {} + +func (x *VDiffDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[218] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffDeleteRequest.ProtoReflect.Descriptor instead. +func (*VDiffDeleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{218} +} + +func (x *VDiffDeleteRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *VDiffDeleteRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *VDiffDeleteRequest) GetArg() string { + if x != nil { + return x.Arg + } + return "" +} + +type VDiffDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *VDiffDeleteResponse) Reset() { + *x = VDiffDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[219] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffDeleteResponse) ProtoMessage() {} + +func (x *VDiffDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[219] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffDeleteResponse.ProtoReflect.Descriptor instead. +func (*VDiffDeleteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{219} +} + +type VDiffResumeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *VDiffResumeRequest) Reset() { + *x = VDiffResumeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[220] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffResumeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffResumeRequest) ProtoMessage() {} + +func (x *VDiffResumeRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[220] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffResumeRequest.ProtoReflect.Descriptor instead. +func (*VDiffResumeRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{220} +} + +func (x *VDiffResumeRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *VDiffResumeRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *VDiffResumeRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type VDiffResumeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *VDiffResumeResponse) Reset() { + *x = VDiffResumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[221] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffResumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffResumeResponse) ProtoMessage() {} + +func (x *VDiffResumeResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[221] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffResumeResponse.ProtoReflect.Descriptor instead. +func (*VDiffResumeResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{221} +} + +type VDiffShowRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + // This will be 'all', 'last', or a UUID. + Arg string `protobuf:"bytes,3,opt,name=arg,proto3" json:"arg,omitempty"` +} + +func (x *VDiffShowRequest) Reset() { + *x = VDiffShowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[222] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffShowRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffShowRequest) ProtoMessage() {} + +func (x *VDiffShowRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[222] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffShowRequest.ProtoReflect.Descriptor instead. +func (*VDiffShowRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{222} +} + +func (x *VDiffShowRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *VDiffShowRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *VDiffShowRequest) GetArg() string { + if x != nil { + return x.Arg + } + return "" +} + +type VDiffShowResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The key is keyspace/shard. + TabletResponses map[string]*v191.VDiffResponse `protobuf:"bytes,1,rep,name=tablet_responses,json=tabletResponses,proto3" json:"tablet_responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *VDiffShowResponse) Reset() { + *x = VDiffShowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[223] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffShowResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffShowResponse) ProtoMessage() {} + +func (x *VDiffShowResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[223] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffShowResponse.ProtoReflect.Descriptor instead. +func (*VDiffShowResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{223} +} + +func (x *VDiffShowResponse) GetTabletResponses() map[string]*v191.VDiffResponse { + if x != nil { + return x.TabletResponses + } + return nil +} + +type VDiffStopRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + TargetKeyspace string `protobuf:"bytes,2,opt,name=target_keyspace,json=targetKeyspace,proto3" json:"target_keyspace,omitempty"` + Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` +} + +func (x *VDiffStopRequest) Reset() { + *x = VDiffStopRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[224] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffStopRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffStopRequest) ProtoMessage() {} + +func (x *VDiffStopRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[224] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffStopRequest.ProtoReflect.Descriptor instead. +func (*VDiffStopRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{224} +} + +func (x *VDiffStopRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *VDiffStopRequest) GetTargetKeyspace() string { + if x != nil { + return x.TargetKeyspace + } + return "" +} + +func (x *VDiffStopRequest) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +type VDiffStopResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *VDiffStopResponse) Reset() { + *x = VDiffStopResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[225] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VDiffStopResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VDiffStopResponse) ProtoMessage() {} + +func (x *VDiffStopResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[225] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VDiffStopResponse.ProtoReflect.Descriptor instead. +func (*VDiffStopResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{225} +} + +type WorkflowDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + KeepData bool `protobuf:"varint,3,opt,name=keep_data,json=keepData,proto3" json:"keep_data,omitempty"` + KeepRoutingRules bool `protobuf:"varint,4,opt,name=keep_routing_rules,json=keepRoutingRules,proto3" json:"keep_routing_rules,omitempty"` + Shards []string `protobuf:"bytes,5,rep,name=shards,proto3" json:"shards,omitempty"` +} + +func (x *WorkflowDeleteRequest) Reset() { + *x = WorkflowDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[226] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowDeleteRequest) ProtoMessage() {} + +func (x *WorkflowDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[226] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowDeleteRequest.ProtoReflect.Descriptor instead. +func (*WorkflowDeleteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{226} +} + +func (x *WorkflowDeleteRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *WorkflowDeleteRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *WorkflowDeleteRequest) GetKeepData() bool { + if x != nil { + return x.KeepData + } + return false +} + +func (x *WorkflowDeleteRequest) GetKeepRoutingRules() bool { + if x != nil { + return x.KeepRoutingRules + } + return false +} + +func (x *WorkflowDeleteRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +type WorkflowDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + Details []*WorkflowDeleteResponse_TabletInfo `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` +} + +func (x *WorkflowDeleteResponse) Reset() { + *x = WorkflowDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[227] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowDeleteResponse) ProtoMessage() {} + +func (x *WorkflowDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[227] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowDeleteResponse.ProtoReflect.Descriptor instead. +func (*WorkflowDeleteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{227} +} + +func (x *WorkflowDeleteResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *WorkflowDeleteResponse) GetDetails() []*WorkflowDeleteResponse_TabletInfo { + if x != nil { + return x.Details + } + return nil +} + +type WorkflowStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Shards []string `protobuf:"bytes,3,rep,name=shards,proto3" json:"shards,omitempty"` +} + +func (x *WorkflowStatusRequest) Reset() { + *x = WorkflowStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[228] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowStatusRequest) ProtoMessage() {} + +func (x *WorkflowStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[228] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowStatusRequest.ProtoReflect.Descriptor instead. +func (*WorkflowStatusRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{228} +} + +func (x *WorkflowStatusRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *WorkflowStatusRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *WorkflowStatusRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +type WorkflowStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The key is keyspace/shard. + TableCopyState map[string]*WorkflowStatusResponse_TableCopyState `protobuf:"bytes,1,rep,name=table_copy_state,json=tableCopyState,proto3" json:"table_copy_state,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ShardStreams map[string]*WorkflowStatusResponse_ShardStreams `protobuf:"bytes,2,rep,name=shard_streams,json=shardStreams,proto3" json:"shard_streams,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + TrafficState string `protobuf:"bytes,3,opt,name=traffic_state,json=trafficState,proto3" json:"traffic_state,omitempty"` +} + +func (x *WorkflowStatusResponse) Reset() { + *x = WorkflowStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[229] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowStatusResponse) ProtoMessage() {} + +func (x *WorkflowStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[229] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowStatusResponse.ProtoReflect.Descriptor instead. +func (*WorkflowStatusResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{229} +} + +func (x *WorkflowStatusResponse) GetTableCopyState() map[string]*WorkflowStatusResponse_TableCopyState { + if x != nil { + return x.TableCopyState + } + return nil +} + +func (x *WorkflowStatusResponse) GetShardStreams() map[string]*WorkflowStatusResponse_ShardStreams { + if x != nil { + return x.ShardStreams + } + return nil +} + +func (x *WorkflowStatusResponse) GetTrafficState() string { + if x != nil { + return x.TrafficState + } + return "" +} + +type WorkflowSwitchTrafficRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Workflow string `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + Cells []string `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` + TabletTypes []v192.TabletType `protobuf:"varint,4,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + MaxReplicationLagAllowed *v193.Duration `protobuf:"bytes,5,opt,name=max_replication_lag_allowed,json=maxReplicationLagAllowed,proto3" json:"max_replication_lag_allowed,omitempty"` + EnableReverseReplication bool `protobuf:"varint,6,opt,name=enable_reverse_replication,json=enableReverseReplication,proto3" json:"enable_reverse_replication,omitempty"` + Direction int32 `protobuf:"varint,7,opt,name=direction,proto3" json:"direction,omitempty"` + Timeout *v193.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` + DryRun bool `protobuf:"varint,9,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + InitializeTargetSequences bool `protobuf:"varint,10,opt,name=initialize_target_sequences,json=initializeTargetSequences,proto3" json:"initialize_target_sequences,omitempty"` + Shards []string `protobuf:"bytes,11,rep,name=shards,proto3" json:"shards,omitempty"` +} + +func (x *WorkflowSwitchTrafficRequest) Reset() { + *x = WorkflowSwitchTrafficRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[230] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowSwitchTrafficRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowSwitchTrafficRequest) ProtoMessage() {} + +func (x *WorkflowSwitchTrafficRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[230] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowSwitchTrafficRequest.ProtoReflect.Descriptor instead. +func (*WorkflowSwitchTrafficRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{230} +} + +func (x *WorkflowSwitchTrafficRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *WorkflowSwitchTrafficRequest) GetWorkflow() string { + if x != nil { + return x.Workflow + } + return "" +} + +func (x *WorkflowSwitchTrafficRequest) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *WorkflowSwitchTrafficRequest) GetTabletTypes() []v192.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *WorkflowSwitchTrafficRequest) GetMaxReplicationLagAllowed() *v193.Duration { + if x != nil { + return x.MaxReplicationLagAllowed + } + return nil +} + +func (x *WorkflowSwitchTrafficRequest) GetEnableReverseReplication() bool { + if x != nil { + return x.EnableReverseReplication + } + return false +} + +func (x *WorkflowSwitchTrafficRequest) GetDirection() int32 { + if x != nil { + return x.Direction + } + return 0 +} + +func (x *WorkflowSwitchTrafficRequest) GetTimeout() *v193.Duration { + if x != nil { + return x.Timeout + } + return nil +} + +func (x *WorkflowSwitchTrafficRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *WorkflowSwitchTrafficRequest) GetInitializeTargetSequences() bool { + if x != nil { + return x.InitializeTargetSequences + } + return false +} + +func (x *WorkflowSwitchTrafficRequest) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +type WorkflowSwitchTrafficResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + StartState string `protobuf:"bytes,2,opt,name=start_state,json=startState,proto3" json:"start_state,omitempty"` + CurrentState string `protobuf:"bytes,3,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"` + DryRunResults []string `protobuf:"bytes,4,rep,name=dry_run_results,json=dryRunResults,proto3" json:"dry_run_results,omitempty"` +} + +func (x *WorkflowSwitchTrafficResponse) Reset() { + *x = WorkflowSwitchTrafficResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[231] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowSwitchTrafficResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowSwitchTrafficResponse) ProtoMessage() {} + +func (x *WorkflowSwitchTrafficResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[231] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowSwitchTrafficResponse.ProtoReflect.Descriptor instead. +func (*WorkflowSwitchTrafficResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{231} +} + +func (x *WorkflowSwitchTrafficResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *WorkflowSwitchTrafficResponse) GetStartState() string { + if x != nil { + return x.StartState + } + return "" +} + +func (x *WorkflowSwitchTrafficResponse) GetCurrentState() string { + if x != nil { + return x.CurrentState + } + return "" +} + +func (x *WorkflowSwitchTrafficResponse) GetDryRunResults() []string { + if x != nil { + return x.DryRunResults + } + return nil +} + +type WorkflowUpdateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + // TabletRequest gets passed on to each primary tablet involved + // in the workflow via the UpdateVReplicationWorkflow tabletmanager RPC. + TabletRequest *v191.UpdateVReplicationWorkflowRequest `protobuf:"bytes,2,opt,name=tablet_request,json=tabletRequest,proto3" json:"tablet_request,omitempty"` +} + +func (x *WorkflowUpdateRequest) Reset() { + *x = WorkflowUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[232] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowUpdateRequest) ProtoMessage() {} + +func (x *WorkflowUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[232] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowUpdateRequest.ProtoReflect.Descriptor instead. +func (*WorkflowUpdateRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{232} +} + +func (x *WorkflowUpdateRequest) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *WorkflowUpdateRequest) GetTabletRequest() *v191.UpdateVReplicationWorkflowRequest { + if x != nil { + return x.TabletRequest + } + return nil +} + +type WorkflowUpdateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + Details []*WorkflowUpdateResponse_TabletInfo `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` +} + +func (x *WorkflowUpdateResponse) Reset() { + *x = WorkflowUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[233] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowUpdateResponse) ProtoMessage() {} + +func (x *WorkflowUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[233] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowUpdateResponse.ProtoReflect.Descriptor instead. +func (*WorkflowUpdateResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{233} +} + +func (x *WorkflowUpdateResponse) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *WorkflowUpdateResponse) GetDetails() []*WorkflowUpdateResponse_TabletInfo { + if x != nil { + return x.Details + } + return nil +} + +type Workflow_ReplicationLocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` + Shards []string `protobuf:"bytes,2,rep,name=shards,proto3" json:"shards,omitempty"` +} + +func (x *Workflow_ReplicationLocation) Reset() { + *x = Workflow_ReplicationLocation{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[235] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow_ReplicationLocation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow_ReplicationLocation) ProtoMessage() {} + +func (x *Workflow_ReplicationLocation) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[235] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow_ReplicationLocation.ProtoReflect.Descriptor instead. +func (*Workflow_ReplicationLocation) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{7, 1} +} + +func (x *Workflow_ReplicationLocation) GetKeyspace() string { + if x != nil { + return x.Keyspace + } + return "" +} + +func (x *Workflow_ReplicationLocation) GetShards() []string { + if x != nil { + return x.Shards + } + return nil +} + +type Workflow_ShardStream struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Streams []*Workflow_Stream `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"` + TabletControls []*v192.Shard_TabletControl `protobuf:"bytes,2,rep,name=tablet_controls,json=tabletControls,proto3" json:"tablet_controls,omitempty"` + IsPrimaryServing bool `protobuf:"varint,3,opt,name=is_primary_serving,json=isPrimaryServing,proto3" json:"is_primary_serving,omitempty"` +} + +func (x *Workflow_ShardStream) Reset() { + *x = Workflow_ShardStream{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[236] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow_ShardStream) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow_ShardStream) ProtoMessage() {} + +func (x *Workflow_ShardStream) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[236] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow_ShardStream.ProtoReflect.Descriptor instead. +func (*Workflow_ShardStream) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{7, 2} +} + +func (x *Workflow_ShardStream) GetStreams() []*Workflow_Stream { + if x != nil { + return x.Streams + } + return nil +} + +func (x *Workflow_ShardStream) GetTabletControls() []*v192.Shard_TabletControl { + if x != nil { + return x.TabletControls + } + return nil +} + +func (x *Workflow_ShardStream) GetIsPrimaryServing() bool { + if x != nil { + return x.IsPrimaryServing + } + return false +} + +type Workflow_Stream struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Tablet *v192.TabletAlias `protobuf:"bytes,3,opt,name=tablet,proto3" json:"tablet,omitempty"` + BinlogSource *v199.BinlogSource `protobuf:"bytes,4,opt,name=binlog_source,json=binlogSource,proto3" json:"binlog_source,omitempty"` + Position string `protobuf:"bytes,5,opt,name=position,proto3" json:"position,omitempty"` + StopPosition string `protobuf:"bytes,6,opt,name=stop_position,json=stopPosition,proto3" json:"stop_position,omitempty"` + State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` + DbName string `protobuf:"bytes,8,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + TransactionTimestamp *v193.Time `protobuf:"bytes,9,opt,name=transaction_timestamp,json=transactionTimestamp,proto3" json:"transaction_timestamp,omitempty"` + TimeUpdated *v193.Time `protobuf:"bytes,10,opt,name=time_updated,json=timeUpdated,proto3" json:"time_updated,omitempty"` + Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"` + CopyStates []*Workflow_Stream_CopyState `protobuf:"bytes,12,rep,name=copy_states,json=copyStates,proto3" json:"copy_states,omitempty"` + Logs []*Workflow_Stream_Log `protobuf:"bytes,13,rep,name=logs,proto3" json:"logs,omitempty"` + // LogFetchError is set if we fail to fetch some logs for this stream. We + // will never fail to fetch workflows because we cannot fetch the logs, but + // we will still forward log-fetch errors to the caller, should that be + // relevant to the context in which they are fetching workflows. + // + // Note that this field being set does not necessarily mean that Logs is nil; + // if there are N logs that exist for the stream, and we fail to fetch the + // ith log, we will still return logs in [0, i) + (i, N]. + LogFetchError string `protobuf:"bytes,14,opt,name=log_fetch_error,json=logFetchError,proto3" json:"log_fetch_error,omitempty"` + Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` + RowsCopied int64 `protobuf:"varint,16,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` + ThrottlerStatus *Workflow_Stream_ThrottlerStatus `protobuf:"bytes,17,opt,name=throttler_status,json=throttlerStatus,proto3" json:"throttler_status,omitempty"` + TabletTypes []v192.TabletType `protobuf:"varint,18,rep,packed,name=tablet_types,json=tabletTypes,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_types,omitempty"` + TabletSelectionPreference v191.TabletSelectionPreference `protobuf:"varint,19,opt,name=tablet_selection_preference,json=tabletSelectionPreference,proto3,enum=vitess.tabletmanagerdata.v19.TabletSelectionPreference" json:"tablet_selection_preference,omitempty"` + Cells []string `protobuf:"bytes,20,rep,name=cells,proto3" json:"cells,omitempty"` +} + +func (x *Workflow_Stream) Reset() { + *x = Workflow_Stream{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[237] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow_Stream) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow_Stream) ProtoMessage() {} + +func (x *Workflow_Stream) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[237] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow_Stream.ProtoReflect.Descriptor instead. +func (*Workflow_Stream) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{7, 3} +} + +func (x *Workflow_Stream) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Workflow_Stream) GetShard() string { + if x != nil { + return x.Shard + } + return "" +} + +func (x *Workflow_Stream) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *Workflow_Stream) GetBinlogSource() *v199.BinlogSource { + if x != nil { + return x.BinlogSource + } + return nil +} + +func (x *Workflow_Stream) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *Workflow_Stream) GetStopPosition() string { + if x != nil { + return x.StopPosition + } + return "" +} + +func (x *Workflow_Stream) GetState() string { + if x != nil { + return x.State + } + return "" +} + +func (x *Workflow_Stream) GetDbName() string { + if x != nil { + return x.DbName + } + return "" +} + +func (x *Workflow_Stream) GetTransactionTimestamp() *v193.Time { + if x != nil { + return x.TransactionTimestamp + } + return nil +} + +func (x *Workflow_Stream) GetTimeUpdated() *v193.Time { + if x != nil { + return x.TimeUpdated + } + return nil +} + +func (x *Workflow_Stream) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *Workflow_Stream) GetCopyStates() []*Workflow_Stream_CopyState { + if x != nil { + return x.CopyStates + } + return nil +} + +func (x *Workflow_Stream) GetLogs() []*Workflow_Stream_Log { + if x != nil { + return x.Logs + } + return nil +} + +func (x *Workflow_Stream) GetLogFetchError() string { + if x != nil { + return x.LogFetchError + } + return "" +} + +func (x *Workflow_Stream) GetTags() []string { + if x != nil { + return x.Tags + } + return nil +} + +func (x *Workflow_Stream) GetRowsCopied() int64 { + if x != nil { + return x.RowsCopied + } + return 0 +} + +func (x *Workflow_Stream) GetThrottlerStatus() *Workflow_Stream_ThrottlerStatus { + if x != nil { + return x.ThrottlerStatus + } + return nil +} + +func (x *Workflow_Stream) GetTabletTypes() []v192.TabletType { + if x != nil { + return x.TabletTypes + } + return nil +} + +func (x *Workflow_Stream) GetTabletSelectionPreference() v191.TabletSelectionPreference { + if x != nil { + return x.TabletSelectionPreference + } + return v191.TabletSelectionPreference(0) +} + +func (x *Workflow_Stream) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +type Workflow_Stream_CopyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` + LastPk string `protobuf:"bytes,2,opt,name=last_pk,json=lastPk,proto3" json:"last_pk,omitempty"` + StreamId int64 `protobuf:"varint,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` +} + +func (x *Workflow_Stream_CopyState) Reset() { + *x = Workflow_Stream_CopyState{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[238] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow_Stream_CopyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow_Stream_CopyState) ProtoMessage() {} + +func (x *Workflow_Stream_CopyState) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[238] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow_Stream_CopyState.ProtoReflect.Descriptor instead. +func (*Workflow_Stream_CopyState) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{7, 3, 0} +} + +func (x *Workflow_Stream_CopyState) GetTable() string { + if x != nil { + return x.Table + } + return "" +} + +func (x *Workflow_Stream_CopyState) GetLastPk() string { + if x != nil { + return x.LastPk + } + return "" +} + +func (x *Workflow_Stream_CopyState) GetStreamId() int64 { + if x != nil { + return x.StreamId + } + return 0 +} + +type Workflow_Stream_Log struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + StreamId int64 `protobuf:"varint,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` + CreatedAt *v193.Time `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt *v193.Time `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"` + Count int64 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *Workflow_Stream_Log) Reset() { + *x = Workflow_Stream_Log{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[239] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow_Stream_Log) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow_Stream_Log) ProtoMessage() {} + +func (x *Workflow_Stream_Log) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[239] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow_Stream_Log.ProtoReflect.Descriptor instead. +func (*Workflow_Stream_Log) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{7, 3, 1} +} + +func (x *Workflow_Stream_Log) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Workflow_Stream_Log) GetStreamId() int64 { + if x != nil { + return x.StreamId + } + return 0 +} + +func (x *Workflow_Stream_Log) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *Workflow_Stream_Log) GetState() string { + if x != nil { + return x.State + } + return "" +} + +func (x *Workflow_Stream_Log) GetCreatedAt() *v193.Time { + if x != nil { + return x.CreatedAt + } + return nil +} + +func (x *Workflow_Stream_Log) GetUpdatedAt() *v193.Time { + if x != nil { + return x.UpdatedAt + } + return nil +} + +func (x *Workflow_Stream_Log) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *Workflow_Stream_Log) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + +type Workflow_Stream_ThrottlerStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ComponentThrottled string `protobuf:"bytes,1,opt,name=component_throttled,json=componentThrottled,proto3" json:"component_throttled,omitempty"` + TimeThrottled *v193.Time `protobuf:"bytes,2,opt,name=time_throttled,json=timeThrottled,proto3" json:"time_throttled,omitempty"` +} + +func (x *Workflow_Stream_ThrottlerStatus) Reset() { + *x = Workflow_Stream_ThrottlerStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[240] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Workflow_Stream_ThrottlerStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Workflow_Stream_ThrottlerStatus) ProtoMessage() {} + +func (x *Workflow_Stream_ThrottlerStatus) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[240] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Workflow_Stream_ThrottlerStatus.ProtoReflect.Descriptor instead. +func (*Workflow_Stream_ThrottlerStatus) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{7, 3, 2} +} + +func (x *Workflow_Stream_ThrottlerStatus) GetComponentThrottled() string { + if x != nil { + return x.ComponentThrottled + } + return "" +} + +func (x *Workflow_Stream_ThrottlerStatus) GetTimeThrottled() *v193.Time { + if x != nil { + return x.TimeThrottled + } + return nil +} + +type ApplyVSchemaResponse_ParamList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Params []string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"` +} + +func (x *ApplyVSchemaResponse_ParamList) Reset() { + *x = ApplyVSchemaResponse_ParamList{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[243] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyVSchemaResponse_ParamList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyVSchemaResponse_ParamList) ProtoMessage() {} + +func (x *ApplyVSchemaResponse_ParamList) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[243] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyVSchemaResponse_ParamList.ProtoReflect.Descriptor instead. +func (*ApplyVSchemaResponse_ParamList) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{19, 1} +} + +func (x *ApplyVSchemaResponse_ParamList) GetParams() []string { + if x != nil { + return x.Params + } + return nil +} + +type GetSrvKeyspaceNamesResponse_NameList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *GetSrvKeyspaceNamesResponse_NameList) Reset() { + *x = GetSrvKeyspaceNamesResponse_NameList{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[252] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSrvKeyspaceNamesResponse_NameList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSrvKeyspaceNamesResponse_NameList) ProtoMessage() {} + +func (x *GetSrvKeyspaceNamesResponse_NameList) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[252] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSrvKeyspaceNamesResponse_NameList.ProtoReflect.Descriptor instead. +func (*GetSrvKeyspaceNamesResponse_NameList) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{88, 1} +} + +func (x *GetSrvKeyspaceNamesResponse_NameList) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +type MoveTablesCreateResponse_TabletInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablet *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` + // Created is set if the workflow was created on this tablet or not. + Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` +} + +func (x *MoveTablesCreateResponse_TabletInfo) Reset() { + *x = MoveTablesCreateResponse_TabletInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[256] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoveTablesCreateResponse_TabletInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoveTablesCreateResponse_TabletInfo) ProtoMessage() {} + +func (x *MoveTablesCreateResponse_TabletInfo) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[256] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MoveTablesCreateResponse_TabletInfo.ProtoReflect.Descriptor instead. +func (*MoveTablesCreateResponse_TabletInfo) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{132, 0} +} + +func (x *MoveTablesCreateResponse_TabletInfo) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *MoveTablesCreateResponse_TabletInfo) GetCreated() bool { + if x != nil { + return x.Created + } + return false +} + +type WorkflowDeleteResponse_TabletInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablet *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` + // Delete is set if the workflow was deleted on this tablet. + Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"` +} + +func (x *WorkflowDeleteResponse_TabletInfo) Reset() { + *x = WorkflowDeleteResponse_TabletInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[266] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowDeleteResponse_TabletInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowDeleteResponse_TabletInfo) ProtoMessage() {} + +func (x *WorkflowDeleteResponse_TabletInfo) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[266] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowDeleteResponse_TabletInfo.ProtoReflect.Descriptor instead. +func (*WorkflowDeleteResponse_TabletInfo) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{227, 0} +} + +func (x *WorkflowDeleteResponse_TabletInfo) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *WorkflowDeleteResponse_TabletInfo) GetDeleted() bool { + if x != nil { + return x.Deleted + } + return false +} + +type WorkflowStatusResponse_TableCopyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RowsCopied int64 `protobuf:"varint,1,opt,name=rows_copied,json=rowsCopied,proto3" json:"rows_copied,omitempty"` + RowsTotal int64 `protobuf:"varint,2,opt,name=rows_total,json=rowsTotal,proto3" json:"rows_total,omitempty"` + RowsPercentage float32 `protobuf:"fixed32,3,opt,name=rows_percentage,json=rowsPercentage,proto3" json:"rows_percentage,omitempty"` + BytesCopied int64 `protobuf:"varint,4,opt,name=bytes_copied,json=bytesCopied,proto3" json:"bytes_copied,omitempty"` + BytesTotal int64 `protobuf:"varint,5,opt,name=bytes_total,json=bytesTotal,proto3" json:"bytes_total,omitempty"` + BytesPercentage float32 `protobuf:"fixed32,6,opt,name=bytes_percentage,json=bytesPercentage,proto3" json:"bytes_percentage,omitempty"` +} + +func (x *WorkflowStatusResponse_TableCopyState) Reset() { + *x = WorkflowStatusResponse_TableCopyState{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[267] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowStatusResponse_TableCopyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowStatusResponse_TableCopyState) ProtoMessage() {} + +func (x *WorkflowStatusResponse_TableCopyState) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[267] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowStatusResponse_TableCopyState.ProtoReflect.Descriptor instead. +func (*WorkflowStatusResponse_TableCopyState) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{229, 0} +} + +func (x *WorkflowStatusResponse_TableCopyState) GetRowsCopied() int64 { + if x != nil { + return x.RowsCopied + } + return 0 +} + +func (x *WorkflowStatusResponse_TableCopyState) GetRowsTotal() int64 { + if x != nil { + return x.RowsTotal + } + return 0 +} + +func (x *WorkflowStatusResponse_TableCopyState) GetRowsPercentage() float32 { + if x != nil { + return x.RowsPercentage + } + return 0 +} + +func (x *WorkflowStatusResponse_TableCopyState) GetBytesCopied() int64 { + if x != nil { + return x.BytesCopied + } + return 0 +} + +func (x *WorkflowStatusResponse_TableCopyState) GetBytesTotal() int64 { + if x != nil { + return x.BytesTotal + } + return 0 +} + +func (x *WorkflowStatusResponse_TableCopyState) GetBytesPercentage() float32 { + if x != nil { + return x.BytesPercentage + } + return 0 +} + +type WorkflowStatusResponse_ShardStreamState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Tablet *v192.TabletAlias `protobuf:"bytes,2,opt,name=tablet,proto3" json:"tablet,omitempty"` + SourceShard string `protobuf:"bytes,3,opt,name=source_shard,json=sourceShard,proto3" json:"source_shard,omitempty"` + Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` + Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` + Info string `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"` +} + +func (x *WorkflowStatusResponse_ShardStreamState) Reset() { + *x = WorkflowStatusResponse_ShardStreamState{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[268] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowStatusResponse_ShardStreamState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowStatusResponse_ShardStreamState) ProtoMessage() {} + +func (x *WorkflowStatusResponse_ShardStreamState) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[268] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowStatusResponse_ShardStreamState.ProtoReflect.Descriptor instead. +func (*WorkflowStatusResponse_ShardStreamState) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{229, 1} +} + +func (x *WorkflowStatusResponse_ShardStreamState) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *WorkflowStatusResponse_ShardStreamState) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *WorkflowStatusResponse_ShardStreamState) GetSourceShard() string { + if x != nil { + return x.SourceShard + } + return "" +} + +func (x *WorkflowStatusResponse_ShardStreamState) GetPosition() string { + if x != nil { + return x.Position + } + return "" +} + +func (x *WorkflowStatusResponse_ShardStreamState) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +func (x *WorkflowStatusResponse_ShardStreamState) GetInfo() string { + if x != nil { + return x.Info + } + return "" +} + +type WorkflowStatusResponse_ShardStreams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Streams []*WorkflowStatusResponse_ShardStreamState `protobuf:"bytes,2,rep,name=streams,proto3" json:"streams,omitempty"` +} + +func (x *WorkflowStatusResponse_ShardStreams) Reset() { + *x = WorkflowStatusResponse_ShardStreams{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[269] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowStatusResponse_ShardStreams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowStatusResponse_ShardStreams) ProtoMessage() {} + +func (x *WorkflowStatusResponse_ShardStreams) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[269] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowStatusResponse_ShardStreams.ProtoReflect.Descriptor instead. +func (*WorkflowStatusResponse_ShardStreams) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{229, 2} +} + +func (x *WorkflowStatusResponse_ShardStreams) GetStreams() []*WorkflowStatusResponse_ShardStreamState { + if x != nil { + return x.Streams + } + return nil +} + +type WorkflowUpdateResponse_TabletInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tablet *v192.TabletAlias `protobuf:"bytes,1,opt,name=tablet,proto3" json:"tablet,omitempty"` + // Changed is true if any of the provided values were different + // than what was already stored on this tablet. + Changed bool `protobuf:"varint,2,opt,name=changed,proto3" json:"changed,omitempty"` +} + +func (x *WorkflowUpdateResponse_TabletInfo) Reset() { + *x = WorkflowUpdateResponse_TabletInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[272] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowUpdateResponse_TabletInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowUpdateResponse_TabletInfo) ProtoMessage() {} + +func (x *WorkflowUpdateResponse_TabletInfo) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[272] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowUpdateResponse_TabletInfo.ProtoReflect.Descriptor instead. +func (*WorkflowUpdateResponse_TabletInfo) Descriptor() ([]byte, []int) { + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP(), []int{233, 0} +} + +func (x *WorkflowUpdateResponse_TabletInfo) GetTablet() *v192.TabletAlias { + if x != nil { + return x.Tablet + } + return nil +} + +func (x *WorkflowUpdateResponse_TabletInfo) GetChanged() bool { + if x != nil { + return x.Changed + } + return false +} + +var File_vitess_vtctldata_v19_vtctldata_proto protoreflect.FileDescriptor + +var file_vitess_vtctldata_v19_vtctldata_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x26, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, + 0x76, 0x31, 0x39, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6c, 0x6f, 0x67, + 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x6d, + 0x79, 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x6d, 0x79, 0x73, 0x71, + 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, + 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, + 0x74, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x1a, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x56, + 0x74, 0x63, 0x74, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x4e, 0x0a, + 0x1b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x43, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x89, 0x01, + 0x0a, 0x18, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, + 0x7a, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2b, 0x0a, + 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x64, 0x6c, 0x22, 0xa4, 0x06, 0x0a, 0x13, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, + 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, + 0x70, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x41, 0x66, + 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x55, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, + 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, + 0x6c, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x12, 0x62, 0x0a, 0x16, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x15, 0x6d, + 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x28, + 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, + 0x6e, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x15, 0x0a, + 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, + 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, + 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x70, 0x79, + 0x22, 0x59, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x39, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xe5, 0x14, 0x0a, 0x0f, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, + 0x75, 0x69, 0x64, 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, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x12, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, + 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, + 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x61, 0x64, + 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x07, 0x61, 0x64, 0x64, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3a, + 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, + 0x61, 0x64, 0x79, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x07, 0x72, 0x65, 0x61, 0x64, 0x79, 0x41, 0x74, 0x12, 0x36, + 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, + 0x73, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, 0x6c, 0x69, 0x76, + 0x65, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3a, + 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x6c, + 0x65, 0x61, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x63, 0x6c, 0x65, 0x61, + 0x6e, 0x65, 0x64, 0x55, 0x70, 0x41, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6c, 0x6f, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, + 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, + 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x15, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x16, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, + 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x64, + 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x64, 0x64, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x74, 0x61, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x74, 0x61, 0x53, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, + 0x69, 0x65, 0x64, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, + 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, + 0x6f, 0x77, 0x73, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x75, 0x6e, + 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x73, + 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x69, 0x71, + 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x72, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x73, + 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x1f, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x61, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x6f, 0x73, 0x74, 0x70, + 0x6f, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x21, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x43, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x18, 0x72, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x64, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x72, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x64, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x5f, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1b, 0x64, 0x72, 0x6f, 0x70, + 0x70, 0x65, 0x64, 0x4e, 0x6f, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x70, 0x61, 0x6e, + 0x64, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, + 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, + 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x26, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, + 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x75, + 0x69, 0x64, 0x18, 0x27, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, + 0x65, 0x64, 0x55, 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x65, + 0x77, 0x18, 0x28, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x12, + 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x61, 0x64, + 0x79, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, + 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, + 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x2b, + 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x75, 0x73, 0x65, 0x72, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x69, + 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, + 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x43, 0x0a, 0x11, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x2d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0f, + 0x6c, 0x61, 0x73, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, + 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, + 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, + 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, + 0x0b, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, 0x27, 0x0a, 0x0f, + 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x5f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x18, + 0x30, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x70, 0x6f, 0x6e, 0x65, 0x4c, + 0x61, 0x75, 0x6e, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x31, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, + 0x75, 0x74, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, + 0x32, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x75, 0x74, 0x6f, 0x76, 0x65, 0x72, 0x41, 0x74, + 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x69, 0x6d, 0x6d, + 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, + 0x61, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x0b, + 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x34, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x69, + 0x65, 0x77, 0x65, 0x64, 0x41, 0x74, 0x12, 0x48, 0x0a, 0x14, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, + 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x35, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, 0x72, + 0x65, 0x61, 0x64, 0x79, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, + 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x36, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x08, 0x53, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x49, 0x54, 0x45, 0x53, + 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x00, 0x12, + 0x09, 0x0a, 0x05, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x54, + 0x4f, 0x53, 0x43, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x10, + 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x10, 0x04, 0x1a, 0x02, 0x10, 0x01, + 0x22, 0x71, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, 0x55, 0x45, + 0x53, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, + 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, + 0x03, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, + 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, + 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x07, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 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, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0xe0, + 0x12, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x4a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x31, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x76, + 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x56, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x12, 0x55, 0x0a, 0x0d, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x75, 0x62, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x48, 0x0a, 0x21, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x5f, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x6d, + 0x61, 0x78, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x12, 0x30, 0x0a, 0x14, + 0x64, 0x65, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, + 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x1a, 0x6b, + 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 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, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x49, 0x0a, 0x13, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 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, 0x1a, 0xcf, 0x01, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3f, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x07, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x73, + 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x1a, 0xc6, 0x0b, 0x0a, 0x06, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x02, 0x69, 0x64, 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, 0x06, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x0c, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, + 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, + 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3a, 0x0a, 0x0c, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x43, 0x6f, + 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, + 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x67, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x10, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, + 0x60, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x2e, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x0f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, + 0x65, 0x6c, 0x6c, 0x73, 0x1a, 0x57, 0x0a, 0x09, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x70, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x6b, + 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x1a, 0xfc, 0x01, + 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x36, 0x0a, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x82, 0x01, 0x0a, + 0x0f, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, + 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x64, 0x12, 0x3e, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x64, 0x22, 0x64, 0x0a, 0x12, 0x41, 0x64, 0x64, 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, 0x3a, 0x0a, 0x09, 0x63, + 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, + 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x43, 0x65, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, + 0x0a, 0x14, 0x41, 0x64, 0x64, 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, 0x14, 0x0a, 0x05, 0x63, 0x65, + 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x22, 0x17, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x18, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x12, 0x21, 0x0a, + 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, + 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, + 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x1d, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 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, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x12, 0x21, 0x0a, 0x0c, 0x73, + 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x23, + 0x0a, 0x0d, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x65, + 0x6c, 0x6c, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x22, 0xe4, 0x02, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x64, + 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x64, 0x64, 0x6c, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x1b, 0x0a, + 0x09, 0x75, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a, 0x15, 0x77, 0x61, 0x69, 0x74, 0x5f, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 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, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, + 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0xf3, 0x01, 0x0a, + 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x75, 0x69, 0x64, 0x5f, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x75, 0x75, 0x69, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x77, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x42, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, + 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, + 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0xe6, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x21, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, + 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x6b, + 0x69, 0x70, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, + 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, + 0x75, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x73, 0x71, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x22, 0xeb, 0x02, 0x0a, 0x14, + 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x77, 0x0a, + 0x15, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, + 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x13, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x7c, 0x0a, 0x18, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x4a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x23, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xf0, 0x01, 0x0a, 0x0d, 0x42, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x23, 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, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x6f, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x61, 0x66, 0x65, 0x22, 0xb8, 0x01, 0x0a, + 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, + 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 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, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 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, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x61, 0x66, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, + 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, + 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x73, 0x22, 0x4e, 0x0a, 0x1c, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xeb, 0x01, 0x0a, + 0x1d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, + 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x4c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, + 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb1, 0x01, 0x0a, 0x17, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x38, 0x0a, 0x07, 0x64, + 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x64, + 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0xbc, + 0x01, 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x62, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, + 0x0c, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x3e, 0x0a, + 0x0c, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x52, 0x0b, 0x61, 0x66, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x1e, 0x0a, + 0x0b, 0x77, 0x61, 0x73, 0x5f, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x77, 0x61, 0x73, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0x4f, 0x0a, + 0x1d, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xed, + 0x01, 0x0a, 0x1e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x82, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, + 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, + 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, + 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, + 0x22, 0xef, 0x01, 0x0a, 0x1f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, + 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, + 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0xf3, 0x02, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x75, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, + 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x75, + 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, + 0x0a, 0x0f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5f, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, + 0x44, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, + 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0x54, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x8c, + 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 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, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0xb6, 0x01, + 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x61, 0x6c, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x73, 0x68, 0x61, 0x72, 0x64, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 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, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, + 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 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, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x1c, + 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x26, 0x0a, 0x0f, + 0x65, 0x76, 0x65, 0x6e, 0x5f, 0x69, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x49, 0x66, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 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, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, 0x56, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, + 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 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, + 0x23, 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, 0xa2, 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, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x49, 0x0a, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x0e, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, + 0x4f, 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, 0x1b, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x39, 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, 0x3f, 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, 0x12, 0x2f, 0x0a, 0x14, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x6c, + 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x11, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x73, 0x22, 0xd2, 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, 0x4b, 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, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, + 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xab, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xde, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x52, 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, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xbb, + 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 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, 0x60, 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, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x69, 0x0a, 0x13, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xd4, 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, 0x59, 0x0a, 0x06, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x56, 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, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x54, 0x0a, 0x22, + 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, + 0x69, 0x64, 0x22, 0xf7, 0x01, 0x0a, 0x23, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, + 0x76, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x16, 0x72, + 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 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, 0x4f, 0x0a, + 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6d, 0x79, + 0x73, 0x71, 0x6c, 0x63, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x39, 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, 0x51, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, + 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xcc, 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, 0x54, + 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x5b, 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, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x65, 0x6c, 0x6c, + 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x5b, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x57, + 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 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, 0x54, + 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x51, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5c, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x65, 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, 0x4b, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x60, 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, 0x45, 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, + 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xbb, 0x02, 0x0a, 0x10, 0x47, + 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x5b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, + 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xd9, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 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, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x75, 0x75, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x33, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x65, 0x6e, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x05, + 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, + 0x70, 0x22, 0x64, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x45, 0x0a, 0x0a, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x9a, 0x02, + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, + 0x0a, 0x19, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x4d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x43, 0x65, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x16, 0x73, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x79, 0x43, 0x65, 0x6c, 0x6c, 0x1a, 0x70, 0x0a, 0x1b, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x43, 0x65, + 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 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, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x75, + 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, 0x55, + 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, 0x25, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x89, 0x02, 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, 0x52, 0x0a, 0x05, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x74, 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, 0x50, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 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, 0xe2, 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, 0x64, 0x0a, + 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x61, 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, 0x36, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x83, 0x03, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, + 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, + 0x6f, 0x6c, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x74, + 0x12, 0x2d, 0x0a, 0x13, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x6c, 0x66, 0x12, + 0x2f, 0x0a, 0x14, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x41, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x70, + 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, + 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x41, 0x70, 0x70, 0x22, 0x1f, 0x0a, 0x1d, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x59, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xdb, 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, 0x61, + 0x0a, 0x0d, 0x73, 0x72, 0x76, 0x5f, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x5e, 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, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x72, 0x76, 0x56, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x57, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 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, 0x48, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x33, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x22, 0xfe, 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, 0x47, 0x0a, 0x0e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x51, 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, 0x36, 0x0a, 0x04, 0x63, + 0x65, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x58, 0x0a, 0x11, + 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x4d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, + 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x07, 0x76, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0xc6, 0x01, 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, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, + 0x61, 0x6d, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6c, + 0x6f, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x54, + 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x73, 0x22, 0x91, 0x02, 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, 0x5d, 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, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x4f, 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, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 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, 0x4d, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, + 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x4e, 0x0a, 0x1c, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xeb, 0x01, 0x0a, 0x1d, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x16, 0x72, 0x6f, + 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, + 0x18, 0x52, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa0, 0x03, 0x0a, 0x19, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, + 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 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, 0x12, + 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, + 0x73, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x06, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x42, 0x0a, 0x1e, 0x63, 0x6f, 0x6e, 0x74, 0x69, + 0x6e, 0x75, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x77, + 0x69, 0x74, 0x68, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, + 0x70, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, + 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x4c, 0x6f, 0x6f, 0x6b, + 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x77, 0x0a, 0x1e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, + 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, + 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, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, + 0x4c, 0x0a, 0x1f, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x61, 0x0a, + 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf3, 0x05, + 0x0a, 0x14, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, + 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, + 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, + 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0a, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, + 0x06, 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, + 0x6e, 0x44, 0x64, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, + 0x74, 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x2a, 0x0a, 0x11, + 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6f, 0x72, + 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, + 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, + 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, + 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, + 0x6c, 0x65, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x16, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, 0x61, + 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, 0x65, + 0x65, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x23, + 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0x5b, 0x0a, 0x17, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, + 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, + 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x14, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x70, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x16, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x6f, 0x75, 0x6e, + 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x10, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x11, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x70, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, + 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x6f, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x12, 0x0a, 0x10, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x29, 0x0a, 0x11, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, + 0x74, 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, + 0xd1, 0x06, 0x0a, 0x17, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, + 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x32, + 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x06, + 0x6f, 0x6e, 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x6e, + 0x44, 0x64, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, + 0x72, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, + 0x6f, 0x70, 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x64, + 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x65, 0x72, + 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, + 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, + 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, + 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x5f, 0x72, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, + 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x70, + 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x43, + 0x6f, 0x70, 0x79, 0x22, 0xeb, 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x07, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, + 0x60, 0x0a, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, + 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x22, 0x81, 0x02, 0x0a, 0x19, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6b, + 0x65, 0x65, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0x5e, 0x0a, 0x1a, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, + 0x0f, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x58, 0x0a, 0x11, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x83, 0x03, 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x45, 0x0a, 0x0d, 0x61, 0x76, + 0x6f, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x4f, 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, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x39, 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, 0x57, 0x0a, 0x19, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x17, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x22, 0xd0, 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, 0x4b, + 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, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x31, 0x0a, 0x06, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, + 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, 0x5a, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, + 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x5a, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x6f, 0x61, + 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, + 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x51, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 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, 0x05, 0x52, 0x0b, 0x63, 0x6f, + 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x4e, 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, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 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, 0x51, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0x86, 0x01, 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, 0x3a, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x22, 0xa5, 0x04, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 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, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, + 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, + 0x63, 0x6f, 0x70, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x6b, 0x69, 0x70, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x6e, + 0x5f, 0x64, 0x64, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x6e, 0x44, 0x64, + 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, + 0x63, 0x6f, 0x70, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, + 0x41, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x66, + 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x65, 0x72, 0x53, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, + 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x22, 0xa3, 0x02, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 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, 0x38, 0x0a, 0x0b, + 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, + 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x50, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, + 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, + 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x49, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, + 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x12, 0x72, 0x65, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x22, 0xc3, 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, 0x43, + 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x2f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x6c, 0x6f, + 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x4d, 0x0a, 0x1b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0xe9, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x16, 0x72, 0x6f, 0x77, 0x73, 0x5f, + 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x77, 0x73, + 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, + 0x65, 0x64, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x1a, 0x46, 0x0a, 0x18, 0x52, 0x6f, 0x77, + 0x73, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x5c, 0x0a, 0x15, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x60, 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, + 0x39, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x5c, 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, 0x39, 0x0a, + 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x54, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x22, 0x99, 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, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x51, + 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, + 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x22, 0x75, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 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, + 0x93, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x6c, 0x6c, 0x22, 0x5f, 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, 0x40, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, + 0xd7, 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, 0x83, 0x01, 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, 0x50, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x65, 0x0a, 0x0a, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x46, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x6a, 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, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x59, + 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, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 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, 0x43, 0x0a, + 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, + 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x92, 0x01, 0x0a, 0x12, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x37, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 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, 0xfb, 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, 0x05, 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, 0x3a, 0x0a, 0x09, 0x6b, 0x65, + 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 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, 0x4a, + 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 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, 0x05, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x4d, 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, 0x30, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x22, 0x5e, 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, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x5d, 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, + 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, + 0x5d, 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, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x22, 0xdc, + 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, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x41, 0x0a, 0x0b, 0x6f, 0x6c, + 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x67, 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, 0x3a, 0x0a, 0x09, 0x63, 0x65, + 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x68, 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, 0x3a, 0x0a, 0x09, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x65, + 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x22, 0x6f, 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, + 0x40, 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x73, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0a, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x22, 0x70, 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, 0x40, 0x0a, 0x0b, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x91, 0x02, 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, 0x6d, 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, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x74, 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x92, 0x02, 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, 0x6c, + 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, 0x42, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 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, 0x9e, 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, 0x72, 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, 0x48, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0xa0, 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, 0x73, 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, 0x49, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, + 0x90, 0x02, 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, 0x6b, 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, + 0x41, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x6e, 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, 0x41, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 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, 0xbf, 0x07, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, + 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x1b, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x60, 0x0a, 0x1e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x61, 0x69, 0x74, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x69, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, + 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x09, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x70, + 0x5f, 0x6b, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x6c, 0x79, 0x50, + 0x4b, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x12, 0x38, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x6f, + 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, 0x77, + 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x61, + 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, 0x4d, + 0x0a, 0x14, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x77, 0x61, 0x69, 0x74, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1d, 0x0a, + 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, + 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x6d, + 0x61, 0x78, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x44, 0x69, 0x66, 0x66, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x13, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, + 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x55, 0x49, 0x44, 0x22, + 0x6b, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, + 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x22, 0x15, 0x0a, 0x13, + 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x6d, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, + 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0x0a, 0x10, 0x56, 0x44, 0x69, + 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x61, 0x72, 0x67, 0x22, 0xed, 0x01, 0x0a, 0x11, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, + 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x10, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, + 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x73, 0x1a, 0x6f, 0x0a, 0x14, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 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, 0x41, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, + 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6b, 0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, + 0x64, 0x22, 0x13, 0x0a, 0x11, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 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, 0x12, 0x1a, 0x0a, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, + 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6b, 0x65, 0x65, + 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x72, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, + 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0xe7, 0x01, 0x0a, 0x16, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, + 0x12, 0x51, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x67, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0xa8, + 0x08, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x10, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x63, 0x0a, 0x0d, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, + 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, + 0xe8, 0x01, 0x0a, 0x0e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x43, 0x6f, 0x70, + 0x69, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x73, 0x54, 0x6f, 0x74, + 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, + 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x72, 0x6f, 0x77, + 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, + 0x29, 0x0a, 0x10, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x1a, 0xc7, 0x01, 0x0a, 0x10, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x69, 0x6e, 0x66, 0x6f, 0x1a, 0x67, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x73, 0x12, 0x57, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x1a, 0x7e, 0x0a, + 0x13, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, 0x74, 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, 0x51, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x7a, 0x0a, + 0x11, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 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, 0x4f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x90, 0x04, 0x0a, 0x1c, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, + 0x66, 0x69, 0x63, 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, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x1b, + 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x6c, 0x61, 0x67, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x18, + 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, + 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, + 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, + 0x79, 0x52, 0x75, 0x6e, 0x12, 0x3e, 0x0a, 0x1b, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, + 0x7a, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x22, 0xa7, 0x01, 0x0a, + 0x1d, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, + 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, + 0x0a, 0x0f, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 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, 0x12, 0x66, 0x0a, 0x0e, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x51, 0x0a, 0x07, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x60, 0x0a, 0x0a, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x06, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 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, 0x2a, 0x38, 0x0a, 0x0d, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x4e, + 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, + 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x42, 0x4b, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x76, 0x31, + 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_vtctldata_v19_vtctldata_proto_rawDescOnce sync.Once + file_vitess_vtctldata_v19_vtctldata_proto_rawDescData = file_vitess_vtctldata_v19_vtctldata_proto_rawDesc +) + +func file_vitess_vtctldata_v19_vtctldata_proto_rawDescGZIP() []byte { + file_vitess_vtctldata_v19_vtctldata_proto_rawDescOnce.Do(func() { + file_vitess_vtctldata_v19_vtctldata_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_vtctldata_v19_vtctldata_proto_rawDescData) + }) + return file_vitess_vtctldata_v19_vtctldata_proto_rawDescData +} + +var file_vitess_vtctldata_v19_vtctldata_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_vitess_vtctldata_v19_vtctldata_proto_msgTypes = make([]protoimpl.MessageInfo, 273) +var file_vitess_vtctldata_v19_vtctldata_proto_goTypes = []any{ + (MaterializationIntent)(0), // 0: vitess.vtctldata.v19.MaterializationIntent + (QueryOrdering)(0), // 1: vitess.vtctldata.v19.QueryOrdering + (SchemaMigration_Strategy)(0), // 2: vitess.vtctldata.v19.SchemaMigration.Strategy + (SchemaMigration_Status)(0), // 3: vitess.vtctldata.v19.SchemaMigration.Status + (*ExecuteVtctlCommandRequest)(nil), // 4: vitess.vtctldata.v19.ExecuteVtctlCommandRequest + (*ExecuteVtctlCommandResponse)(nil), // 5: vitess.vtctldata.v19.ExecuteVtctlCommandResponse + (*TableMaterializeSettings)(nil), // 6: vitess.vtctldata.v19.TableMaterializeSettings + (*MaterializeSettings)(nil), // 7: vitess.vtctldata.v19.MaterializeSettings + (*Keyspace)(nil), // 8: vitess.vtctldata.v19.Keyspace + (*SchemaMigration)(nil), // 9: vitess.vtctldata.v19.SchemaMigration + (*Shard)(nil), // 10: vitess.vtctldata.v19.Shard + (*Workflow)(nil), // 11: vitess.vtctldata.v19.Workflow + (*AddCellInfoRequest)(nil), // 12: vitess.vtctldata.v19.AddCellInfoRequest + (*AddCellInfoResponse)(nil), // 13: vitess.vtctldata.v19.AddCellInfoResponse + (*AddCellsAliasRequest)(nil), // 14: vitess.vtctldata.v19.AddCellsAliasRequest + (*AddCellsAliasResponse)(nil), // 15: vitess.vtctldata.v19.AddCellsAliasResponse + (*ApplyRoutingRulesRequest)(nil), // 16: vitess.vtctldata.v19.ApplyRoutingRulesRequest + (*ApplyRoutingRulesResponse)(nil), // 17: vitess.vtctldata.v19.ApplyRoutingRulesResponse + (*ApplyShardRoutingRulesRequest)(nil), // 18: vitess.vtctldata.v19.ApplyShardRoutingRulesRequest + (*ApplyShardRoutingRulesResponse)(nil), // 19: vitess.vtctldata.v19.ApplyShardRoutingRulesResponse + (*ApplySchemaRequest)(nil), // 20: vitess.vtctldata.v19.ApplySchemaRequest + (*ApplySchemaResponse)(nil), // 21: vitess.vtctldata.v19.ApplySchemaResponse + (*ApplyVSchemaRequest)(nil), // 22: vitess.vtctldata.v19.ApplyVSchemaRequest + (*ApplyVSchemaResponse)(nil), // 23: vitess.vtctldata.v19.ApplyVSchemaResponse + (*BackupRequest)(nil), // 24: vitess.vtctldata.v19.BackupRequest + (*BackupResponse)(nil), // 25: vitess.vtctldata.v19.BackupResponse + (*BackupShardRequest)(nil), // 26: vitess.vtctldata.v19.BackupShardRequest + (*CancelSchemaMigrationRequest)(nil), // 27: vitess.vtctldata.v19.CancelSchemaMigrationRequest + (*CancelSchemaMigrationResponse)(nil), // 28: vitess.vtctldata.v19.CancelSchemaMigrationResponse + (*ChangeTabletTypeRequest)(nil), // 29: vitess.vtctldata.v19.ChangeTabletTypeRequest + (*ChangeTabletTypeResponse)(nil), // 30: vitess.vtctldata.v19.ChangeTabletTypeResponse + (*CleanupSchemaMigrationRequest)(nil), // 31: vitess.vtctldata.v19.CleanupSchemaMigrationRequest + (*CleanupSchemaMigrationResponse)(nil), // 32: vitess.vtctldata.v19.CleanupSchemaMigrationResponse + (*CompleteSchemaMigrationRequest)(nil), // 33: vitess.vtctldata.v19.CompleteSchemaMigrationRequest + (*CompleteSchemaMigrationResponse)(nil), // 34: vitess.vtctldata.v19.CompleteSchemaMigrationResponse + (*CreateKeyspaceRequest)(nil), // 35: vitess.vtctldata.v19.CreateKeyspaceRequest + (*CreateKeyspaceResponse)(nil), // 36: vitess.vtctldata.v19.CreateKeyspaceResponse + (*CreateShardRequest)(nil), // 37: vitess.vtctldata.v19.CreateShardRequest + (*CreateShardResponse)(nil), // 38: vitess.vtctldata.v19.CreateShardResponse + (*DeleteCellInfoRequest)(nil), // 39: vitess.vtctldata.v19.DeleteCellInfoRequest + (*DeleteCellInfoResponse)(nil), // 40: vitess.vtctldata.v19.DeleteCellInfoResponse + (*DeleteCellsAliasRequest)(nil), // 41: vitess.vtctldata.v19.DeleteCellsAliasRequest + (*DeleteCellsAliasResponse)(nil), // 42: vitess.vtctldata.v19.DeleteCellsAliasResponse + (*DeleteKeyspaceRequest)(nil), // 43: vitess.vtctldata.v19.DeleteKeyspaceRequest + (*DeleteKeyspaceResponse)(nil), // 44: vitess.vtctldata.v19.DeleteKeyspaceResponse + (*DeleteShardsRequest)(nil), // 45: vitess.vtctldata.v19.DeleteShardsRequest + (*DeleteShardsResponse)(nil), // 46: vitess.vtctldata.v19.DeleteShardsResponse + (*DeleteSrvVSchemaRequest)(nil), // 47: vitess.vtctldata.v19.DeleteSrvVSchemaRequest + (*DeleteSrvVSchemaResponse)(nil), // 48: vitess.vtctldata.v19.DeleteSrvVSchemaResponse + (*DeleteTabletsRequest)(nil), // 49: vitess.vtctldata.v19.DeleteTabletsRequest + (*DeleteTabletsResponse)(nil), // 50: vitess.vtctldata.v19.DeleteTabletsResponse + (*EmergencyReparentShardRequest)(nil), // 51: vitess.vtctldata.v19.EmergencyReparentShardRequest + (*EmergencyReparentShardResponse)(nil), // 52: vitess.vtctldata.v19.EmergencyReparentShardResponse + (*ExecuteFetchAsAppRequest)(nil), // 53: vitess.vtctldata.v19.ExecuteFetchAsAppRequest + (*ExecuteFetchAsAppResponse)(nil), // 54: vitess.vtctldata.v19.ExecuteFetchAsAppResponse + (*ExecuteFetchAsDBARequest)(nil), // 55: vitess.vtctldata.v19.ExecuteFetchAsDBARequest + (*ExecuteFetchAsDBAResponse)(nil), // 56: vitess.vtctldata.v19.ExecuteFetchAsDBAResponse + (*ExecuteHookRequest)(nil), // 57: vitess.vtctldata.v19.ExecuteHookRequest + (*ExecuteHookResponse)(nil), // 58: vitess.vtctldata.v19.ExecuteHookResponse + (*FindAllShardsInKeyspaceRequest)(nil), // 59: vitess.vtctldata.v19.FindAllShardsInKeyspaceRequest + (*FindAllShardsInKeyspaceResponse)(nil), // 60: vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse + (*ForceCutOverSchemaMigrationRequest)(nil), // 61: vitess.vtctldata.v19.ForceCutOverSchemaMigrationRequest + (*ForceCutOverSchemaMigrationResponse)(nil), // 62: vitess.vtctldata.v19.ForceCutOverSchemaMigrationResponse + (*GetBackupsRequest)(nil), // 63: vitess.vtctldata.v19.GetBackupsRequest + (*GetBackupsResponse)(nil), // 64: vitess.vtctldata.v19.GetBackupsResponse + (*GetCellInfoRequest)(nil), // 65: vitess.vtctldata.v19.GetCellInfoRequest + (*GetCellInfoResponse)(nil), // 66: vitess.vtctldata.v19.GetCellInfoResponse + (*GetCellInfoNamesRequest)(nil), // 67: vitess.vtctldata.v19.GetCellInfoNamesRequest + (*GetCellInfoNamesResponse)(nil), // 68: vitess.vtctldata.v19.GetCellInfoNamesResponse + (*GetCellsAliasesRequest)(nil), // 69: vitess.vtctldata.v19.GetCellsAliasesRequest + (*GetCellsAliasesResponse)(nil), // 70: vitess.vtctldata.v19.GetCellsAliasesResponse + (*GetFullStatusRequest)(nil), // 71: vitess.vtctldata.v19.GetFullStatusRequest + (*GetFullStatusResponse)(nil), // 72: vitess.vtctldata.v19.GetFullStatusResponse + (*GetKeyspacesRequest)(nil), // 73: vitess.vtctldata.v19.GetKeyspacesRequest + (*GetKeyspacesResponse)(nil), // 74: vitess.vtctldata.v19.GetKeyspacesResponse + (*GetKeyspaceRequest)(nil), // 75: vitess.vtctldata.v19.GetKeyspaceRequest + (*GetKeyspaceResponse)(nil), // 76: vitess.vtctldata.v19.GetKeyspaceResponse + (*GetPermissionsRequest)(nil), // 77: vitess.vtctldata.v19.GetPermissionsRequest + (*GetPermissionsResponse)(nil), // 78: vitess.vtctldata.v19.GetPermissionsResponse + (*GetRoutingRulesRequest)(nil), // 79: vitess.vtctldata.v19.GetRoutingRulesRequest + (*GetRoutingRulesResponse)(nil), // 80: vitess.vtctldata.v19.GetRoutingRulesResponse + (*GetSchemaRequest)(nil), // 81: vitess.vtctldata.v19.GetSchemaRequest + (*GetSchemaResponse)(nil), // 82: vitess.vtctldata.v19.GetSchemaResponse + (*GetSchemaMigrationsRequest)(nil), // 83: vitess.vtctldata.v19.GetSchemaMigrationsRequest + (*GetSchemaMigrationsResponse)(nil), // 84: vitess.vtctldata.v19.GetSchemaMigrationsResponse + (*GetShardReplicationRequest)(nil), // 85: vitess.vtctldata.v19.GetShardReplicationRequest + (*GetShardReplicationResponse)(nil), // 86: vitess.vtctldata.v19.GetShardReplicationResponse + (*GetShardRequest)(nil), // 87: vitess.vtctldata.v19.GetShardRequest + (*GetShardResponse)(nil), // 88: vitess.vtctldata.v19.GetShardResponse + (*GetShardRoutingRulesRequest)(nil), // 89: vitess.vtctldata.v19.GetShardRoutingRulesRequest + (*GetShardRoutingRulesResponse)(nil), // 90: vitess.vtctldata.v19.GetShardRoutingRulesResponse + (*GetSrvKeyspaceNamesRequest)(nil), // 91: vitess.vtctldata.v19.GetSrvKeyspaceNamesRequest + (*GetSrvKeyspaceNamesResponse)(nil), // 92: vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse + (*GetSrvKeyspacesRequest)(nil), // 93: vitess.vtctldata.v19.GetSrvKeyspacesRequest + (*GetSrvKeyspacesResponse)(nil), // 94: vitess.vtctldata.v19.GetSrvKeyspacesResponse + (*UpdateThrottlerConfigRequest)(nil), // 95: vitess.vtctldata.v19.UpdateThrottlerConfigRequest + (*UpdateThrottlerConfigResponse)(nil), // 96: vitess.vtctldata.v19.UpdateThrottlerConfigResponse + (*GetSrvVSchemaRequest)(nil), // 97: vitess.vtctldata.v19.GetSrvVSchemaRequest + (*GetSrvVSchemaResponse)(nil), // 98: vitess.vtctldata.v19.GetSrvVSchemaResponse + (*GetSrvVSchemasRequest)(nil), // 99: vitess.vtctldata.v19.GetSrvVSchemasRequest + (*GetSrvVSchemasResponse)(nil), // 100: vitess.vtctldata.v19.GetSrvVSchemasResponse + (*GetTabletRequest)(nil), // 101: vitess.vtctldata.v19.GetTabletRequest + (*GetTabletResponse)(nil), // 102: vitess.vtctldata.v19.GetTabletResponse + (*GetTabletsRequest)(nil), // 103: vitess.vtctldata.v19.GetTabletsRequest + (*GetTabletsResponse)(nil), // 104: vitess.vtctldata.v19.GetTabletsResponse + (*GetTopologyPathRequest)(nil), // 105: vitess.vtctldata.v19.GetTopologyPathRequest + (*GetTopologyPathResponse)(nil), // 106: vitess.vtctldata.v19.GetTopologyPathResponse + (*TopologyCell)(nil), // 107: vitess.vtctldata.v19.TopologyCell + (*GetVSchemaRequest)(nil), // 108: vitess.vtctldata.v19.GetVSchemaRequest + (*GetVersionRequest)(nil), // 109: vitess.vtctldata.v19.GetVersionRequest + (*GetVersionResponse)(nil), // 110: vitess.vtctldata.v19.GetVersionResponse + (*GetVSchemaResponse)(nil), // 111: vitess.vtctldata.v19.GetVSchemaResponse + (*GetWorkflowsRequest)(nil), // 112: vitess.vtctldata.v19.GetWorkflowsRequest + (*GetWorkflowsResponse)(nil), // 113: vitess.vtctldata.v19.GetWorkflowsResponse + (*InitShardPrimaryRequest)(nil), // 114: vitess.vtctldata.v19.InitShardPrimaryRequest + (*InitShardPrimaryResponse)(nil), // 115: vitess.vtctldata.v19.InitShardPrimaryResponse + (*LaunchSchemaMigrationRequest)(nil), // 116: vitess.vtctldata.v19.LaunchSchemaMigrationRequest + (*LaunchSchemaMigrationResponse)(nil), // 117: vitess.vtctldata.v19.LaunchSchemaMigrationResponse + (*LookupVindexCreateRequest)(nil), // 118: vitess.vtctldata.v19.LookupVindexCreateRequest + (*LookupVindexCreateResponse)(nil), // 119: vitess.vtctldata.v19.LookupVindexCreateResponse + (*LookupVindexExternalizeRequest)(nil), // 120: vitess.vtctldata.v19.LookupVindexExternalizeRequest + (*LookupVindexExternalizeResponse)(nil), // 121: vitess.vtctldata.v19.LookupVindexExternalizeResponse + (*MaterializeCreateRequest)(nil), // 122: vitess.vtctldata.v19.MaterializeCreateRequest + (*MaterializeCreateResponse)(nil), // 123: vitess.vtctldata.v19.MaterializeCreateResponse + (*MigrateCreateRequest)(nil), // 124: vitess.vtctldata.v19.MigrateCreateRequest + (*MigrateCompleteRequest)(nil), // 125: vitess.vtctldata.v19.MigrateCompleteRequest + (*MigrateCompleteResponse)(nil), // 126: vitess.vtctldata.v19.MigrateCompleteResponse + (*MountRegisterRequest)(nil), // 127: vitess.vtctldata.v19.MountRegisterRequest + (*MountRegisterResponse)(nil), // 128: vitess.vtctldata.v19.MountRegisterResponse + (*MountUnregisterRequest)(nil), // 129: vitess.vtctldata.v19.MountUnregisterRequest + (*MountUnregisterResponse)(nil), // 130: vitess.vtctldata.v19.MountUnregisterResponse + (*MountShowRequest)(nil), // 131: vitess.vtctldata.v19.MountShowRequest + (*MountShowResponse)(nil), // 132: vitess.vtctldata.v19.MountShowResponse + (*MountListRequest)(nil), // 133: vitess.vtctldata.v19.MountListRequest + (*MountListResponse)(nil), // 134: vitess.vtctldata.v19.MountListResponse + (*MoveTablesCreateRequest)(nil), // 135: vitess.vtctldata.v19.MoveTablesCreateRequest + (*MoveTablesCreateResponse)(nil), // 136: vitess.vtctldata.v19.MoveTablesCreateResponse + (*MoveTablesCompleteRequest)(nil), // 137: vitess.vtctldata.v19.MoveTablesCompleteRequest + (*MoveTablesCompleteResponse)(nil), // 138: vitess.vtctldata.v19.MoveTablesCompleteResponse + (*PingTabletRequest)(nil), // 139: vitess.vtctldata.v19.PingTabletRequest + (*PingTabletResponse)(nil), // 140: vitess.vtctldata.v19.PingTabletResponse + (*PlannedReparentShardRequest)(nil), // 141: vitess.vtctldata.v19.PlannedReparentShardRequest + (*PlannedReparentShardResponse)(nil), // 142: vitess.vtctldata.v19.PlannedReparentShardResponse + (*RebuildKeyspaceGraphRequest)(nil), // 143: vitess.vtctldata.v19.RebuildKeyspaceGraphRequest + (*RebuildKeyspaceGraphResponse)(nil), // 144: vitess.vtctldata.v19.RebuildKeyspaceGraphResponse + (*RebuildVSchemaGraphRequest)(nil), // 145: vitess.vtctldata.v19.RebuildVSchemaGraphRequest + (*RebuildVSchemaGraphResponse)(nil), // 146: vitess.vtctldata.v19.RebuildVSchemaGraphResponse + (*RefreshStateRequest)(nil), // 147: vitess.vtctldata.v19.RefreshStateRequest + (*RefreshStateResponse)(nil), // 148: vitess.vtctldata.v19.RefreshStateResponse + (*RefreshStateByShardRequest)(nil), // 149: vitess.vtctldata.v19.RefreshStateByShardRequest + (*RefreshStateByShardResponse)(nil), // 150: vitess.vtctldata.v19.RefreshStateByShardResponse + (*ReloadSchemaRequest)(nil), // 151: vitess.vtctldata.v19.ReloadSchemaRequest + (*ReloadSchemaResponse)(nil), // 152: vitess.vtctldata.v19.ReloadSchemaResponse + (*ReloadSchemaKeyspaceRequest)(nil), // 153: vitess.vtctldata.v19.ReloadSchemaKeyspaceRequest + (*ReloadSchemaKeyspaceResponse)(nil), // 154: vitess.vtctldata.v19.ReloadSchemaKeyspaceResponse + (*ReloadSchemaShardRequest)(nil), // 155: vitess.vtctldata.v19.ReloadSchemaShardRequest + (*ReloadSchemaShardResponse)(nil), // 156: vitess.vtctldata.v19.ReloadSchemaShardResponse + (*RemoveBackupRequest)(nil), // 157: vitess.vtctldata.v19.RemoveBackupRequest + (*RemoveBackupResponse)(nil), // 158: vitess.vtctldata.v19.RemoveBackupResponse + (*RemoveKeyspaceCellRequest)(nil), // 159: vitess.vtctldata.v19.RemoveKeyspaceCellRequest + (*RemoveKeyspaceCellResponse)(nil), // 160: vitess.vtctldata.v19.RemoveKeyspaceCellResponse + (*RemoveShardCellRequest)(nil), // 161: vitess.vtctldata.v19.RemoveShardCellRequest + (*RemoveShardCellResponse)(nil), // 162: vitess.vtctldata.v19.RemoveShardCellResponse + (*ReparentTabletRequest)(nil), // 163: vitess.vtctldata.v19.ReparentTabletRequest + (*ReparentTabletResponse)(nil), // 164: vitess.vtctldata.v19.ReparentTabletResponse + (*ReshardCreateRequest)(nil), // 165: vitess.vtctldata.v19.ReshardCreateRequest + (*RestoreFromBackupRequest)(nil), // 166: vitess.vtctldata.v19.RestoreFromBackupRequest + (*RestoreFromBackupResponse)(nil), // 167: vitess.vtctldata.v19.RestoreFromBackupResponse + (*RetrySchemaMigrationRequest)(nil), // 168: vitess.vtctldata.v19.RetrySchemaMigrationRequest + (*RetrySchemaMigrationResponse)(nil), // 169: vitess.vtctldata.v19.RetrySchemaMigrationResponse + (*RunHealthCheckRequest)(nil), // 170: vitess.vtctldata.v19.RunHealthCheckRequest + (*RunHealthCheckResponse)(nil), // 171: vitess.vtctldata.v19.RunHealthCheckResponse + (*SetKeyspaceDurabilityPolicyRequest)(nil), // 172: vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyRequest + (*SetKeyspaceDurabilityPolicyResponse)(nil), // 173: vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyResponse + (*SetKeyspaceShardingInfoRequest)(nil), // 174: vitess.vtctldata.v19.SetKeyspaceShardingInfoRequest + (*SetKeyspaceShardingInfoResponse)(nil), // 175: vitess.vtctldata.v19.SetKeyspaceShardingInfoResponse + (*SetShardIsPrimaryServingRequest)(nil), // 176: vitess.vtctldata.v19.SetShardIsPrimaryServingRequest + (*SetShardIsPrimaryServingResponse)(nil), // 177: vitess.vtctldata.v19.SetShardIsPrimaryServingResponse + (*SetShardTabletControlRequest)(nil), // 178: vitess.vtctldata.v19.SetShardTabletControlRequest + (*SetShardTabletControlResponse)(nil), // 179: vitess.vtctldata.v19.SetShardTabletControlResponse + (*SetWritableRequest)(nil), // 180: vitess.vtctldata.v19.SetWritableRequest + (*SetWritableResponse)(nil), // 181: vitess.vtctldata.v19.SetWritableResponse + (*ShardReplicationAddRequest)(nil), // 182: vitess.vtctldata.v19.ShardReplicationAddRequest + (*ShardReplicationAddResponse)(nil), // 183: vitess.vtctldata.v19.ShardReplicationAddResponse + (*ShardReplicationFixRequest)(nil), // 184: vitess.vtctldata.v19.ShardReplicationFixRequest + (*ShardReplicationFixResponse)(nil), // 185: vitess.vtctldata.v19.ShardReplicationFixResponse + (*ShardReplicationPositionsRequest)(nil), // 186: vitess.vtctldata.v19.ShardReplicationPositionsRequest + (*ShardReplicationPositionsResponse)(nil), // 187: vitess.vtctldata.v19.ShardReplicationPositionsResponse + (*ShardReplicationRemoveRequest)(nil), // 188: vitess.vtctldata.v19.ShardReplicationRemoveRequest + (*ShardReplicationRemoveResponse)(nil), // 189: vitess.vtctldata.v19.ShardReplicationRemoveResponse + (*SleepTabletRequest)(nil), // 190: vitess.vtctldata.v19.SleepTabletRequest + (*SleepTabletResponse)(nil), // 191: vitess.vtctldata.v19.SleepTabletResponse + (*SourceShardAddRequest)(nil), // 192: vitess.vtctldata.v19.SourceShardAddRequest + (*SourceShardAddResponse)(nil), // 193: vitess.vtctldata.v19.SourceShardAddResponse + (*SourceShardDeleteRequest)(nil), // 194: vitess.vtctldata.v19.SourceShardDeleteRequest + (*SourceShardDeleteResponse)(nil), // 195: vitess.vtctldata.v19.SourceShardDeleteResponse + (*StartReplicationRequest)(nil), // 196: vitess.vtctldata.v19.StartReplicationRequest + (*StartReplicationResponse)(nil), // 197: vitess.vtctldata.v19.StartReplicationResponse + (*StopReplicationRequest)(nil), // 198: vitess.vtctldata.v19.StopReplicationRequest + (*StopReplicationResponse)(nil), // 199: vitess.vtctldata.v19.StopReplicationResponse + (*TabletExternallyReparentedRequest)(nil), // 200: vitess.vtctldata.v19.TabletExternallyReparentedRequest + (*TabletExternallyReparentedResponse)(nil), // 201: vitess.vtctldata.v19.TabletExternallyReparentedResponse + (*UpdateCellInfoRequest)(nil), // 202: vitess.vtctldata.v19.UpdateCellInfoRequest + (*UpdateCellInfoResponse)(nil), // 203: vitess.vtctldata.v19.UpdateCellInfoResponse + (*UpdateCellsAliasRequest)(nil), // 204: vitess.vtctldata.v19.UpdateCellsAliasRequest + (*UpdateCellsAliasResponse)(nil), // 205: vitess.vtctldata.v19.UpdateCellsAliasResponse + (*ValidateRequest)(nil), // 206: vitess.vtctldata.v19.ValidateRequest + (*ValidateResponse)(nil), // 207: vitess.vtctldata.v19.ValidateResponse + (*ValidateKeyspaceRequest)(nil), // 208: vitess.vtctldata.v19.ValidateKeyspaceRequest + (*ValidateKeyspaceResponse)(nil), // 209: vitess.vtctldata.v19.ValidateKeyspaceResponse + (*ValidateSchemaKeyspaceRequest)(nil), // 210: vitess.vtctldata.v19.ValidateSchemaKeyspaceRequest + (*ValidateSchemaKeyspaceResponse)(nil), // 211: vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse + (*ValidateShardRequest)(nil), // 212: vitess.vtctldata.v19.ValidateShardRequest + (*ValidateShardResponse)(nil), // 213: vitess.vtctldata.v19.ValidateShardResponse + (*ValidateVersionKeyspaceRequest)(nil), // 214: vitess.vtctldata.v19.ValidateVersionKeyspaceRequest + (*ValidateVersionKeyspaceResponse)(nil), // 215: vitess.vtctldata.v19.ValidateVersionKeyspaceResponse + (*ValidateVersionShardRequest)(nil), // 216: vitess.vtctldata.v19.ValidateVersionShardRequest + (*ValidateVersionShardResponse)(nil), // 217: vitess.vtctldata.v19.ValidateVersionShardResponse + (*ValidateVSchemaRequest)(nil), // 218: vitess.vtctldata.v19.ValidateVSchemaRequest + (*ValidateVSchemaResponse)(nil), // 219: vitess.vtctldata.v19.ValidateVSchemaResponse + (*VDiffCreateRequest)(nil), // 220: vitess.vtctldata.v19.VDiffCreateRequest + (*VDiffCreateResponse)(nil), // 221: vitess.vtctldata.v19.VDiffCreateResponse + (*VDiffDeleteRequest)(nil), // 222: vitess.vtctldata.v19.VDiffDeleteRequest + (*VDiffDeleteResponse)(nil), // 223: vitess.vtctldata.v19.VDiffDeleteResponse + (*VDiffResumeRequest)(nil), // 224: vitess.vtctldata.v19.VDiffResumeRequest + (*VDiffResumeResponse)(nil), // 225: vitess.vtctldata.v19.VDiffResumeResponse + (*VDiffShowRequest)(nil), // 226: vitess.vtctldata.v19.VDiffShowRequest + (*VDiffShowResponse)(nil), // 227: vitess.vtctldata.v19.VDiffShowResponse + (*VDiffStopRequest)(nil), // 228: vitess.vtctldata.v19.VDiffStopRequest + (*VDiffStopResponse)(nil), // 229: vitess.vtctldata.v19.VDiffStopResponse + (*WorkflowDeleteRequest)(nil), // 230: vitess.vtctldata.v19.WorkflowDeleteRequest + (*WorkflowDeleteResponse)(nil), // 231: vitess.vtctldata.v19.WorkflowDeleteResponse + (*WorkflowStatusRequest)(nil), // 232: vitess.vtctldata.v19.WorkflowStatusRequest + (*WorkflowStatusResponse)(nil), // 233: vitess.vtctldata.v19.WorkflowStatusResponse + (*WorkflowSwitchTrafficRequest)(nil), // 234: vitess.vtctldata.v19.WorkflowSwitchTrafficRequest + (*WorkflowSwitchTrafficResponse)(nil), // 235: vitess.vtctldata.v19.WorkflowSwitchTrafficResponse + (*WorkflowUpdateRequest)(nil), // 236: vitess.vtctldata.v19.WorkflowUpdateRequest + (*WorkflowUpdateResponse)(nil), // 237: vitess.vtctldata.v19.WorkflowUpdateResponse + nil, // 238: vitess.vtctldata.v19.Workflow.ShardStreamsEntry + (*Workflow_ReplicationLocation)(nil), // 239: vitess.vtctldata.v19.Workflow.ReplicationLocation + (*Workflow_ShardStream)(nil), // 240: vitess.vtctldata.v19.Workflow.ShardStream + (*Workflow_Stream)(nil), // 241: vitess.vtctldata.v19.Workflow.Stream + (*Workflow_Stream_CopyState)(nil), // 242: vitess.vtctldata.v19.Workflow.Stream.CopyState + (*Workflow_Stream_Log)(nil), // 243: vitess.vtctldata.v19.Workflow.Stream.Log + (*Workflow_Stream_ThrottlerStatus)(nil), // 244: vitess.vtctldata.v19.Workflow.Stream.ThrottlerStatus + nil, // 245: vitess.vtctldata.v19.ApplySchemaResponse.RowsAffectedByShardEntry + nil, // 246: vitess.vtctldata.v19.ApplyVSchemaResponse.UnknownVindexParamsEntry + (*ApplyVSchemaResponse_ParamList)(nil), // 247: vitess.vtctldata.v19.ApplyVSchemaResponse.ParamList + nil, // 248: vitess.vtctldata.v19.CancelSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 249: vitess.vtctldata.v19.CleanupSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 250: vitess.vtctldata.v19.CompleteSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 251: vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse.ShardsEntry + nil, // 252: vitess.vtctldata.v19.ForceCutOverSchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 253: vitess.vtctldata.v19.GetCellsAliasesResponse.AliasesEntry + nil, // 254: vitess.vtctldata.v19.GetShardReplicationResponse.ShardReplicationByCellEntry + nil, // 255: vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse.NamesEntry + (*GetSrvKeyspaceNamesResponse_NameList)(nil), // 256: vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse.NameList + nil, // 257: vitess.vtctldata.v19.GetSrvKeyspacesResponse.SrvKeyspacesEntry + nil, // 258: vitess.vtctldata.v19.GetSrvVSchemasResponse.SrvVSchemasEntry + nil, // 259: vitess.vtctldata.v19.LaunchSchemaMigrationResponse.RowsAffectedByShardEntry + (*MoveTablesCreateResponse_TabletInfo)(nil), // 260: vitess.vtctldata.v19.MoveTablesCreateResponse.TabletInfo + nil, // 261: vitess.vtctldata.v19.RetrySchemaMigrationResponse.RowsAffectedByShardEntry + nil, // 262: vitess.vtctldata.v19.ShardReplicationPositionsResponse.ReplicationStatusesEntry + nil, // 263: vitess.vtctldata.v19.ShardReplicationPositionsResponse.TabletMapEntry + nil, // 264: vitess.vtctldata.v19.ValidateResponse.ResultsByKeyspaceEntry + nil, // 265: vitess.vtctldata.v19.ValidateKeyspaceResponse.ResultsByShardEntry + nil, // 266: vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse.ResultsByShardEntry + nil, // 267: vitess.vtctldata.v19.ValidateVersionKeyspaceResponse.ResultsByShardEntry + nil, // 268: vitess.vtctldata.v19.ValidateVSchemaResponse.ResultsByShardEntry + nil, // 269: vitess.vtctldata.v19.VDiffShowResponse.TabletResponsesEntry + (*WorkflowDeleteResponse_TabletInfo)(nil), // 270: vitess.vtctldata.v19.WorkflowDeleteResponse.TabletInfo + (*WorkflowStatusResponse_TableCopyState)(nil), // 271: vitess.vtctldata.v19.WorkflowStatusResponse.TableCopyState + (*WorkflowStatusResponse_ShardStreamState)(nil), // 272: vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreamState + (*WorkflowStatusResponse_ShardStreams)(nil), // 273: vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreams + nil, // 274: vitess.vtctldata.v19.WorkflowStatusResponse.TableCopyStateEntry + nil, // 275: vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreamsEntry + (*WorkflowUpdateResponse_TabletInfo)(nil), // 276: vitess.vtctldata.v19.WorkflowUpdateResponse.TabletInfo + (*v19.Event)(nil), // 277: vitess.logutil.v19.Event + (v191.TabletSelectionPreference)(0), // 278: vitess.tabletmanagerdata.v19.TabletSelectionPreference + (*v192.Keyspace)(nil), // 279: vitess.topodata.v19.Keyspace + (*v193.Time)(nil), // 280: vitess.vttime.v19.Time + (*v192.TabletAlias)(nil), // 281: vitess.topodata.v19.TabletAlias + (*v193.Duration)(nil), // 282: vitess.vttime.v19.Duration + (*v192.Shard)(nil), // 283: vitess.topodata.v19.Shard + (*v192.CellInfo)(nil), // 284: vitess.topodata.v19.CellInfo + (*v194.RoutingRules)(nil), // 285: vitess.vschema.v19.RoutingRules + (*v194.ShardRoutingRules)(nil), // 286: vitess.vschema.v19.ShardRoutingRules + (*v195.CallerID)(nil), // 287: vitess.vtrpc.v19.CallerID + (*v194.Keyspace)(nil), // 288: vitess.vschema.v19.Keyspace + (v192.TabletType)(0), // 289: vitess.topodata.v19.TabletType + (*v192.Tablet)(nil), // 290: vitess.topodata.v19.Tablet + (v192.KeyspaceType)(0), // 291: vitess.topodata.v19.KeyspaceType + (*v196.QueryResult)(nil), // 292: vitess.query.v19.QueryResult + (*v191.ExecuteHookRequest)(nil), // 293: vitess.tabletmanagerdata.v19.ExecuteHookRequest + (*v191.ExecuteHookResponse)(nil), // 294: vitess.tabletmanagerdata.v19.ExecuteHookResponse + (*v197.BackupInfo)(nil), // 295: vitess.mysqlctl.v19.BackupInfo + (*v198.FullStatus)(nil), // 296: vitess.replicationdata.v19.FullStatus + (*v191.Permissions)(nil), // 297: vitess.tabletmanagerdata.v19.Permissions + (*v191.SchemaDefinition)(nil), // 298: vitess.tabletmanagerdata.v19.SchemaDefinition + (*v192.ThrottledAppRule)(nil), // 299: vitess.topodata.v19.ThrottledAppRule + (*v194.SrvVSchema)(nil), // 300: vitess.vschema.v19.SrvVSchema + (*v192.ShardReplicationError)(nil), // 301: vitess.topodata.v19.ShardReplicationError + (*v192.KeyRange)(nil), // 302: vitess.topodata.v19.KeyRange + (*v192.CellsAlias)(nil), // 303: vitess.topodata.v19.CellsAlias + (*v191.UpdateVReplicationWorkflowRequest)(nil), // 304: vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest + (*v192.Shard_TabletControl)(nil), // 305: vitess.topodata.v19.Shard.TabletControl + (*v199.BinlogSource)(nil), // 306: vitess.binlogdata.v19.BinlogSource + (*v192.ShardReplication)(nil), // 307: vitess.topodata.v19.ShardReplication + (*v192.SrvKeyspace)(nil), // 308: vitess.topodata.v19.SrvKeyspace + (*v198.Status)(nil), // 309: vitess.replicationdata.v19.Status + (*v191.VDiffResponse)(nil), // 310: vitess.tabletmanagerdata.v19.VDiffResponse +} +var file_vitess_vtctldata_v19_vtctldata_proto_depIdxs = []int32{ + 277, // 0: vitess.vtctldata.v19.ExecuteVtctlCommandResponse.event:type_name -> vitess.logutil.v19.Event + 6, // 1: vitess.vtctldata.v19.MaterializeSettings.table_settings:type_name -> vitess.vtctldata.v19.TableMaterializeSettings + 0, // 2: vitess.vtctldata.v19.MaterializeSettings.materialization_intent:type_name -> vitess.vtctldata.v19.MaterializationIntent + 278, // 3: vitess.vtctldata.v19.MaterializeSettings.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 279, // 4: vitess.vtctldata.v19.Keyspace.keyspace:type_name -> vitess.topodata.v19.Keyspace + 2, // 5: vitess.vtctldata.v19.SchemaMigration.strategy:type_name -> vitess.vtctldata.v19.SchemaMigration.Strategy + 280, // 6: vitess.vtctldata.v19.SchemaMigration.added_at:type_name -> vitess.vttime.v19.Time + 280, // 7: vitess.vtctldata.v19.SchemaMigration.requested_at:type_name -> vitess.vttime.v19.Time + 280, // 8: vitess.vtctldata.v19.SchemaMigration.ready_at:type_name -> vitess.vttime.v19.Time + 280, // 9: vitess.vtctldata.v19.SchemaMigration.started_at:type_name -> vitess.vttime.v19.Time + 280, // 10: vitess.vtctldata.v19.SchemaMigration.liveness_timestamp:type_name -> vitess.vttime.v19.Time + 280, // 11: vitess.vtctldata.v19.SchemaMigration.completed_at:type_name -> vitess.vttime.v19.Time + 280, // 12: vitess.vtctldata.v19.SchemaMigration.cleaned_up_at:type_name -> vitess.vttime.v19.Time + 3, // 13: vitess.vtctldata.v19.SchemaMigration.status:type_name -> vitess.vtctldata.v19.SchemaMigration.Status + 281, // 14: vitess.vtctldata.v19.SchemaMigration.tablet:type_name -> vitess.topodata.v19.TabletAlias + 282, // 15: vitess.vtctldata.v19.SchemaMigration.artifact_retention:type_name -> vitess.vttime.v19.Duration + 280, // 16: vitess.vtctldata.v19.SchemaMigration.last_throttled_at:type_name -> vitess.vttime.v19.Time + 280, // 17: vitess.vtctldata.v19.SchemaMigration.cancelled_at:type_name -> vitess.vttime.v19.Time + 280, // 18: vitess.vtctldata.v19.SchemaMigration.reviewed_at:type_name -> vitess.vttime.v19.Time + 280, // 19: vitess.vtctldata.v19.SchemaMigration.ready_to_complete_at:type_name -> vitess.vttime.v19.Time + 283, // 20: vitess.vtctldata.v19.Shard.shard:type_name -> vitess.topodata.v19.Shard + 239, // 21: vitess.vtctldata.v19.Workflow.source:type_name -> vitess.vtctldata.v19.Workflow.ReplicationLocation + 239, // 22: vitess.vtctldata.v19.Workflow.target:type_name -> vitess.vtctldata.v19.Workflow.ReplicationLocation + 238, // 23: vitess.vtctldata.v19.Workflow.shard_streams:type_name -> vitess.vtctldata.v19.Workflow.ShardStreamsEntry + 284, // 24: vitess.vtctldata.v19.AddCellInfoRequest.cell_info:type_name -> vitess.topodata.v19.CellInfo + 285, // 25: vitess.vtctldata.v19.ApplyRoutingRulesRequest.routing_rules:type_name -> vitess.vschema.v19.RoutingRules + 286, // 26: vitess.vtctldata.v19.ApplyShardRoutingRulesRequest.shard_routing_rules:type_name -> vitess.vschema.v19.ShardRoutingRules + 282, // 27: vitess.vtctldata.v19.ApplySchemaRequest.wait_replicas_timeout:type_name -> vitess.vttime.v19.Duration + 287, // 28: vitess.vtctldata.v19.ApplySchemaRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 245, // 29: vitess.vtctldata.v19.ApplySchemaResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.v19.ApplySchemaResponse.RowsAffectedByShardEntry + 288, // 30: vitess.vtctldata.v19.ApplyVSchemaRequest.v_schema:type_name -> vitess.vschema.v19.Keyspace + 288, // 31: vitess.vtctldata.v19.ApplyVSchemaResponse.v_schema:type_name -> vitess.vschema.v19.Keyspace + 246, // 32: vitess.vtctldata.v19.ApplyVSchemaResponse.unknown_vindex_params:type_name -> vitess.vtctldata.v19.ApplyVSchemaResponse.UnknownVindexParamsEntry + 281, // 33: vitess.vtctldata.v19.BackupRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 281, // 34: vitess.vtctldata.v19.BackupResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 277, // 35: vitess.vtctldata.v19.BackupResponse.event:type_name -> vitess.logutil.v19.Event + 248, // 36: vitess.vtctldata.v19.CancelSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.v19.CancelSchemaMigrationResponse.RowsAffectedByShardEntry + 281, // 37: vitess.vtctldata.v19.ChangeTabletTypeRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 289, // 38: vitess.vtctldata.v19.ChangeTabletTypeRequest.db_type:type_name -> vitess.topodata.v19.TabletType + 290, // 39: vitess.vtctldata.v19.ChangeTabletTypeResponse.before_tablet:type_name -> vitess.topodata.v19.Tablet + 290, // 40: vitess.vtctldata.v19.ChangeTabletTypeResponse.after_tablet:type_name -> vitess.topodata.v19.Tablet + 249, // 41: vitess.vtctldata.v19.CleanupSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.v19.CleanupSchemaMigrationResponse.RowsAffectedByShardEntry + 250, // 42: vitess.vtctldata.v19.CompleteSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.v19.CompleteSchemaMigrationResponse.RowsAffectedByShardEntry + 291, // 43: vitess.vtctldata.v19.CreateKeyspaceRequest.type:type_name -> vitess.topodata.v19.KeyspaceType + 280, // 44: vitess.vtctldata.v19.CreateKeyspaceRequest.snapshot_time:type_name -> vitess.vttime.v19.Time + 8, // 45: vitess.vtctldata.v19.CreateKeyspaceResponse.keyspace:type_name -> vitess.vtctldata.v19.Keyspace + 8, // 46: vitess.vtctldata.v19.CreateShardResponse.keyspace:type_name -> vitess.vtctldata.v19.Keyspace + 10, // 47: vitess.vtctldata.v19.CreateShardResponse.shard:type_name -> vitess.vtctldata.v19.Shard + 10, // 48: vitess.vtctldata.v19.DeleteShardsRequest.shards:type_name -> vitess.vtctldata.v19.Shard + 281, // 49: vitess.vtctldata.v19.DeleteTabletsRequest.tablet_aliases:type_name -> vitess.topodata.v19.TabletAlias + 281, // 50: vitess.vtctldata.v19.EmergencyReparentShardRequest.new_primary:type_name -> vitess.topodata.v19.TabletAlias + 281, // 51: vitess.vtctldata.v19.EmergencyReparentShardRequest.ignore_replicas:type_name -> vitess.topodata.v19.TabletAlias + 282, // 52: vitess.vtctldata.v19.EmergencyReparentShardRequest.wait_replicas_timeout:type_name -> vitess.vttime.v19.Duration + 281, // 53: vitess.vtctldata.v19.EmergencyReparentShardResponse.promoted_primary:type_name -> vitess.topodata.v19.TabletAlias + 277, // 54: vitess.vtctldata.v19.EmergencyReparentShardResponse.events:type_name -> vitess.logutil.v19.Event + 281, // 55: vitess.vtctldata.v19.ExecuteFetchAsAppRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 292, // 56: vitess.vtctldata.v19.ExecuteFetchAsAppResponse.result:type_name -> vitess.query.v19.QueryResult + 281, // 57: vitess.vtctldata.v19.ExecuteFetchAsDBARequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 292, // 58: vitess.vtctldata.v19.ExecuteFetchAsDBAResponse.result:type_name -> vitess.query.v19.QueryResult + 281, // 59: vitess.vtctldata.v19.ExecuteHookRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 293, // 60: vitess.vtctldata.v19.ExecuteHookRequest.tablet_hook_request:type_name -> vitess.tabletmanagerdata.v19.ExecuteHookRequest + 294, // 61: vitess.vtctldata.v19.ExecuteHookResponse.hook_result:type_name -> vitess.tabletmanagerdata.v19.ExecuteHookResponse + 251, // 62: vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse.shards:type_name -> vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse.ShardsEntry + 252, // 63: vitess.vtctldata.v19.ForceCutOverSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.v19.ForceCutOverSchemaMigrationResponse.RowsAffectedByShardEntry + 295, // 64: vitess.vtctldata.v19.GetBackupsResponse.backups:type_name -> vitess.mysqlctl.v19.BackupInfo + 284, // 65: vitess.vtctldata.v19.GetCellInfoResponse.cell_info:type_name -> vitess.topodata.v19.CellInfo + 253, // 66: vitess.vtctldata.v19.GetCellsAliasesResponse.aliases:type_name -> vitess.vtctldata.v19.GetCellsAliasesResponse.AliasesEntry + 281, // 67: vitess.vtctldata.v19.GetFullStatusRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 296, // 68: vitess.vtctldata.v19.GetFullStatusResponse.status:type_name -> vitess.replicationdata.v19.FullStatus + 8, // 69: vitess.vtctldata.v19.GetKeyspacesResponse.keyspaces:type_name -> vitess.vtctldata.v19.Keyspace + 8, // 70: vitess.vtctldata.v19.GetKeyspaceResponse.keyspace:type_name -> vitess.vtctldata.v19.Keyspace + 281, // 71: vitess.vtctldata.v19.GetPermissionsRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 297, // 72: vitess.vtctldata.v19.GetPermissionsResponse.permissions:type_name -> vitess.tabletmanagerdata.v19.Permissions + 285, // 73: vitess.vtctldata.v19.GetRoutingRulesResponse.routing_rules:type_name -> vitess.vschema.v19.RoutingRules + 281, // 74: vitess.vtctldata.v19.GetSchemaRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 298, // 75: vitess.vtctldata.v19.GetSchemaResponse.schema:type_name -> vitess.tabletmanagerdata.v19.SchemaDefinition + 3, // 76: vitess.vtctldata.v19.GetSchemaMigrationsRequest.status:type_name -> vitess.vtctldata.v19.SchemaMigration.Status + 282, // 77: vitess.vtctldata.v19.GetSchemaMigrationsRequest.recent:type_name -> vitess.vttime.v19.Duration + 1, // 78: vitess.vtctldata.v19.GetSchemaMigrationsRequest.order:type_name -> vitess.vtctldata.v19.QueryOrdering + 9, // 79: vitess.vtctldata.v19.GetSchemaMigrationsResponse.migrations:type_name -> vitess.vtctldata.v19.SchemaMigration + 254, // 80: vitess.vtctldata.v19.GetShardReplicationResponse.shard_replication_by_cell:type_name -> vitess.vtctldata.v19.GetShardReplicationResponse.ShardReplicationByCellEntry + 10, // 81: vitess.vtctldata.v19.GetShardResponse.shard:type_name -> vitess.vtctldata.v19.Shard + 286, // 82: vitess.vtctldata.v19.GetShardRoutingRulesResponse.shard_routing_rules:type_name -> vitess.vschema.v19.ShardRoutingRules + 255, // 83: vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse.names:type_name -> vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse.NamesEntry + 257, // 84: vitess.vtctldata.v19.GetSrvKeyspacesResponse.srv_keyspaces:type_name -> vitess.vtctldata.v19.GetSrvKeyspacesResponse.SrvKeyspacesEntry + 299, // 85: vitess.vtctldata.v19.UpdateThrottlerConfigRequest.throttled_app:type_name -> vitess.topodata.v19.ThrottledAppRule + 300, // 86: vitess.vtctldata.v19.GetSrvVSchemaResponse.srv_v_schema:type_name -> vitess.vschema.v19.SrvVSchema + 258, // 87: vitess.vtctldata.v19.GetSrvVSchemasResponse.srv_v_schemas:type_name -> vitess.vtctldata.v19.GetSrvVSchemasResponse.SrvVSchemasEntry + 281, // 88: vitess.vtctldata.v19.GetTabletRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 290, // 89: vitess.vtctldata.v19.GetTabletResponse.tablet:type_name -> vitess.topodata.v19.Tablet + 281, // 90: vitess.vtctldata.v19.GetTabletsRequest.tablet_aliases:type_name -> vitess.topodata.v19.TabletAlias + 289, // 91: vitess.vtctldata.v19.GetTabletsRequest.tablet_type:type_name -> vitess.topodata.v19.TabletType + 290, // 92: vitess.vtctldata.v19.GetTabletsResponse.tablets:type_name -> vitess.topodata.v19.Tablet + 107, // 93: vitess.vtctldata.v19.GetTopologyPathResponse.cell:type_name -> vitess.vtctldata.v19.TopologyCell + 281, // 94: vitess.vtctldata.v19.GetVersionRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 288, // 95: vitess.vtctldata.v19.GetVSchemaResponse.v_schema:type_name -> vitess.vschema.v19.Keyspace + 11, // 96: vitess.vtctldata.v19.GetWorkflowsResponse.workflows:type_name -> vitess.vtctldata.v19.Workflow + 281, // 97: vitess.vtctldata.v19.InitShardPrimaryRequest.primary_elect_tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 282, // 98: vitess.vtctldata.v19.InitShardPrimaryRequest.wait_replicas_timeout:type_name -> vitess.vttime.v19.Duration + 277, // 99: vitess.vtctldata.v19.InitShardPrimaryResponse.events:type_name -> vitess.logutil.v19.Event + 259, // 100: vitess.vtctldata.v19.LaunchSchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.v19.LaunchSchemaMigrationResponse.RowsAffectedByShardEntry + 288, // 101: vitess.vtctldata.v19.LookupVindexCreateRequest.vindex:type_name -> vitess.vschema.v19.Keyspace + 289, // 102: vitess.vtctldata.v19.LookupVindexCreateRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 278, // 103: vitess.vtctldata.v19.LookupVindexCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 7, // 104: vitess.vtctldata.v19.MaterializeCreateRequest.settings:type_name -> vitess.vtctldata.v19.MaterializeSettings + 289, // 105: vitess.vtctldata.v19.MigrateCreateRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 278, // 106: vitess.vtctldata.v19.MigrateCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 289, // 107: vitess.vtctldata.v19.MoveTablesCreateRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 278, // 108: vitess.vtctldata.v19.MoveTablesCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 260, // 109: vitess.vtctldata.v19.MoveTablesCreateResponse.details:type_name -> vitess.vtctldata.v19.MoveTablesCreateResponse.TabletInfo + 281, // 110: vitess.vtctldata.v19.PingTabletRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 281, // 111: vitess.vtctldata.v19.PlannedReparentShardRequest.new_primary:type_name -> vitess.topodata.v19.TabletAlias + 281, // 112: vitess.vtctldata.v19.PlannedReparentShardRequest.avoid_primary:type_name -> vitess.topodata.v19.TabletAlias + 282, // 113: vitess.vtctldata.v19.PlannedReparentShardRequest.wait_replicas_timeout:type_name -> vitess.vttime.v19.Duration + 282, // 114: vitess.vtctldata.v19.PlannedReparentShardRequest.tolerable_replication_lag:type_name -> vitess.vttime.v19.Duration + 281, // 115: vitess.vtctldata.v19.PlannedReparentShardResponse.promoted_primary:type_name -> vitess.topodata.v19.TabletAlias + 277, // 116: vitess.vtctldata.v19.PlannedReparentShardResponse.events:type_name -> vitess.logutil.v19.Event + 281, // 117: vitess.vtctldata.v19.RefreshStateRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 281, // 118: vitess.vtctldata.v19.ReloadSchemaRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 277, // 119: vitess.vtctldata.v19.ReloadSchemaKeyspaceResponse.events:type_name -> vitess.logutil.v19.Event + 277, // 120: vitess.vtctldata.v19.ReloadSchemaShardResponse.events:type_name -> vitess.logutil.v19.Event + 281, // 121: vitess.vtctldata.v19.ReparentTabletRequest.tablet:type_name -> vitess.topodata.v19.TabletAlias + 281, // 122: vitess.vtctldata.v19.ReparentTabletResponse.primary:type_name -> vitess.topodata.v19.TabletAlias + 289, // 123: vitess.vtctldata.v19.ReshardCreateRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 278, // 124: vitess.vtctldata.v19.ReshardCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 281, // 125: vitess.vtctldata.v19.RestoreFromBackupRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 280, // 126: vitess.vtctldata.v19.RestoreFromBackupRequest.backup_time:type_name -> vitess.vttime.v19.Time + 280, // 127: vitess.vtctldata.v19.RestoreFromBackupRequest.restore_to_timestamp:type_name -> vitess.vttime.v19.Time + 281, // 128: vitess.vtctldata.v19.RestoreFromBackupResponse.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 277, // 129: vitess.vtctldata.v19.RestoreFromBackupResponse.event:type_name -> vitess.logutil.v19.Event + 261, // 130: vitess.vtctldata.v19.RetrySchemaMigrationResponse.rows_affected_by_shard:type_name -> vitess.vtctldata.v19.RetrySchemaMigrationResponse.RowsAffectedByShardEntry + 281, // 131: vitess.vtctldata.v19.RunHealthCheckRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 279, // 132: vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyResponse.keyspace:type_name -> vitess.topodata.v19.Keyspace + 279, // 133: vitess.vtctldata.v19.SetKeyspaceShardingInfoResponse.keyspace:type_name -> vitess.topodata.v19.Keyspace + 283, // 134: vitess.vtctldata.v19.SetShardIsPrimaryServingResponse.shard:type_name -> vitess.topodata.v19.Shard + 289, // 135: vitess.vtctldata.v19.SetShardTabletControlRequest.tablet_type:type_name -> vitess.topodata.v19.TabletType + 283, // 136: vitess.vtctldata.v19.SetShardTabletControlResponse.shard:type_name -> vitess.topodata.v19.Shard + 281, // 137: vitess.vtctldata.v19.SetWritableRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 281, // 138: vitess.vtctldata.v19.ShardReplicationAddRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 301, // 139: vitess.vtctldata.v19.ShardReplicationFixResponse.error:type_name -> vitess.topodata.v19.ShardReplicationError + 262, // 140: vitess.vtctldata.v19.ShardReplicationPositionsResponse.replication_statuses:type_name -> vitess.vtctldata.v19.ShardReplicationPositionsResponse.ReplicationStatusesEntry + 263, // 141: vitess.vtctldata.v19.ShardReplicationPositionsResponse.tablet_map:type_name -> vitess.vtctldata.v19.ShardReplicationPositionsResponse.TabletMapEntry + 281, // 142: vitess.vtctldata.v19.ShardReplicationRemoveRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 281, // 143: vitess.vtctldata.v19.SleepTabletRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 282, // 144: vitess.vtctldata.v19.SleepTabletRequest.duration:type_name -> vitess.vttime.v19.Duration + 302, // 145: vitess.vtctldata.v19.SourceShardAddRequest.key_range:type_name -> vitess.topodata.v19.KeyRange + 283, // 146: vitess.vtctldata.v19.SourceShardAddResponse.shard:type_name -> vitess.topodata.v19.Shard + 283, // 147: vitess.vtctldata.v19.SourceShardDeleteResponse.shard:type_name -> vitess.topodata.v19.Shard + 281, // 148: vitess.vtctldata.v19.StartReplicationRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 281, // 149: vitess.vtctldata.v19.StopReplicationRequest.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 281, // 150: vitess.vtctldata.v19.TabletExternallyReparentedRequest.tablet:type_name -> vitess.topodata.v19.TabletAlias + 281, // 151: vitess.vtctldata.v19.TabletExternallyReparentedResponse.new_primary:type_name -> vitess.topodata.v19.TabletAlias + 281, // 152: vitess.vtctldata.v19.TabletExternallyReparentedResponse.old_primary:type_name -> vitess.topodata.v19.TabletAlias + 284, // 153: vitess.vtctldata.v19.UpdateCellInfoRequest.cell_info:type_name -> vitess.topodata.v19.CellInfo + 284, // 154: vitess.vtctldata.v19.UpdateCellInfoResponse.cell_info:type_name -> vitess.topodata.v19.CellInfo + 303, // 155: vitess.vtctldata.v19.UpdateCellsAliasRequest.cells_alias:type_name -> vitess.topodata.v19.CellsAlias + 303, // 156: vitess.vtctldata.v19.UpdateCellsAliasResponse.cells_alias:type_name -> vitess.topodata.v19.CellsAlias + 264, // 157: vitess.vtctldata.v19.ValidateResponse.results_by_keyspace:type_name -> vitess.vtctldata.v19.ValidateResponse.ResultsByKeyspaceEntry + 265, // 158: vitess.vtctldata.v19.ValidateKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.v19.ValidateKeyspaceResponse.ResultsByShardEntry + 266, // 159: vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse.ResultsByShardEntry + 267, // 160: vitess.vtctldata.v19.ValidateVersionKeyspaceResponse.results_by_shard:type_name -> vitess.vtctldata.v19.ValidateVersionKeyspaceResponse.ResultsByShardEntry + 268, // 161: vitess.vtctldata.v19.ValidateVSchemaResponse.results_by_shard:type_name -> vitess.vtctldata.v19.ValidateVSchemaResponse.ResultsByShardEntry + 289, // 162: vitess.vtctldata.v19.VDiffCreateRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 278, // 163: vitess.vtctldata.v19.VDiffCreateRequest.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 282, // 164: vitess.vtctldata.v19.VDiffCreateRequest.filtered_replication_wait_time:type_name -> vitess.vttime.v19.Duration + 282, // 165: vitess.vtctldata.v19.VDiffCreateRequest.wait_update_interval:type_name -> vitess.vttime.v19.Duration + 282, // 166: vitess.vtctldata.v19.VDiffCreateRequest.max_diff_duration:type_name -> vitess.vttime.v19.Duration + 269, // 167: vitess.vtctldata.v19.VDiffShowResponse.tablet_responses:type_name -> vitess.vtctldata.v19.VDiffShowResponse.TabletResponsesEntry + 270, // 168: vitess.vtctldata.v19.WorkflowDeleteResponse.details:type_name -> vitess.vtctldata.v19.WorkflowDeleteResponse.TabletInfo + 274, // 169: vitess.vtctldata.v19.WorkflowStatusResponse.table_copy_state:type_name -> vitess.vtctldata.v19.WorkflowStatusResponse.TableCopyStateEntry + 275, // 170: vitess.vtctldata.v19.WorkflowStatusResponse.shard_streams:type_name -> vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreamsEntry + 289, // 171: vitess.vtctldata.v19.WorkflowSwitchTrafficRequest.tablet_types:type_name -> vitess.topodata.v19.TabletType + 282, // 172: vitess.vtctldata.v19.WorkflowSwitchTrafficRequest.max_replication_lag_allowed:type_name -> vitess.vttime.v19.Duration + 282, // 173: vitess.vtctldata.v19.WorkflowSwitchTrafficRequest.timeout:type_name -> vitess.vttime.v19.Duration + 304, // 174: vitess.vtctldata.v19.WorkflowUpdateRequest.tablet_request:type_name -> vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest + 276, // 175: vitess.vtctldata.v19.WorkflowUpdateResponse.details:type_name -> vitess.vtctldata.v19.WorkflowUpdateResponse.TabletInfo + 240, // 176: vitess.vtctldata.v19.Workflow.ShardStreamsEntry.value:type_name -> vitess.vtctldata.v19.Workflow.ShardStream + 241, // 177: vitess.vtctldata.v19.Workflow.ShardStream.streams:type_name -> vitess.vtctldata.v19.Workflow.Stream + 305, // 178: vitess.vtctldata.v19.Workflow.ShardStream.tablet_controls:type_name -> vitess.topodata.v19.Shard.TabletControl + 281, // 179: vitess.vtctldata.v19.Workflow.Stream.tablet:type_name -> vitess.topodata.v19.TabletAlias + 306, // 180: vitess.vtctldata.v19.Workflow.Stream.binlog_source:type_name -> vitess.binlogdata.v19.BinlogSource + 280, // 181: vitess.vtctldata.v19.Workflow.Stream.transaction_timestamp:type_name -> vitess.vttime.v19.Time + 280, // 182: vitess.vtctldata.v19.Workflow.Stream.time_updated:type_name -> vitess.vttime.v19.Time + 242, // 183: vitess.vtctldata.v19.Workflow.Stream.copy_states:type_name -> vitess.vtctldata.v19.Workflow.Stream.CopyState + 243, // 184: vitess.vtctldata.v19.Workflow.Stream.logs:type_name -> vitess.vtctldata.v19.Workflow.Stream.Log + 244, // 185: vitess.vtctldata.v19.Workflow.Stream.throttler_status:type_name -> vitess.vtctldata.v19.Workflow.Stream.ThrottlerStatus + 289, // 186: vitess.vtctldata.v19.Workflow.Stream.tablet_types:type_name -> vitess.topodata.v19.TabletType + 278, // 187: vitess.vtctldata.v19.Workflow.Stream.tablet_selection_preference:type_name -> vitess.tabletmanagerdata.v19.TabletSelectionPreference + 280, // 188: vitess.vtctldata.v19.Workflow.Stream.Log.created_at:type_name -> vitess.vttime.v19.Time + 280, // 189: vitess.vtctldata.v19.Workflow.Stream.Log.updated_at:type_name -> vitess.vttime.v19.Time + 280, // 190: vitess.vtctldata.v19.Workflow.Stream.ThrottlerStatus.time_throttled:type_name -> vitess.vttime.v19.Time + 247, // 191: vitess.vtctldata.v19.ApplyVSchemaResponse.UnknownVindexParamsEntry.value:type_name -> vitess.vtctldata.v19.ApplyVSchemaResponse.ParamList + 10, // 192: vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse.ShardsEntry.value:type_name -> vitess.vtctldata.v19.Shard + 303, // 193: vitess.vtctldata.v19.GetCellsAliasesResponse.AliasesEntry.value:type_name -> vitess.topodata.v19.CellsAlias + 307, // 194: vitess.vtctldata.v19.GetShardReplicationResponse.ShardReplicationByCellEntry.value:type_name -> vitess.topodata.v19.ShardReplication + 256, // 195: vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse.NamesEntry.value:type_name -> vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse.NameList + 308, // 196: vitess.vtctldata.v19.GetSrvKeyspacesResponse.SrvKeyspacesEntry.value:type_name -> vitess.topodata.v19.SrvKeyspace + 300, // 197: vitess.vtctldata.v19.GetSrvVSchemasResponse.SrvVSchemasEntry.value:type_name -> vitess.vschema.v19.SrvVSchema + 281, // 198: vitess.vtctldata.v19.MoveTablesCreateResponse.TabletInfo.tablet:type_name -> vitess.topodata.v19.TabletAlias + 309, // 199: vitess.vtctldata.v19.ShardReplicationPositionsResponse.ReplicationStatusesEntry.value:type_name -> vitess.replicationdata.v19.Status + 290, // 200: vitess.vtctldata.v19.ShardReplicationPositionsResponse.TabletMapEntry.value:type_name -> vitess.topodata.v19.Tablet + 209, // 201: vitess.vtctldata.v19.ValidateResponse.ResultsByKeyspaceEntry.value:type_name -> vitess.vtctldata.v19.ValidateKeyspaceResponse + 213, // 202: vitess.vtctldata.v19.ValidateKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.v19.ValidateShardResponse + 213, // 203: vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.v19.ValidateShardResponse + 213, // 204: vitess.vtctldata.v19.ValidateVersionKeyspaceResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.v19.ValidateShardResponse + 213, // 205: vitess.vtctldata.v19.ValidateVSchemaResponse.ResultsByShardEntry.value:type_name -> vitess.vtctldata.v19.ValidateShardResponse + 310, // 206: vitess.vtctldata.v19.VDiffShowResponse.TabletResponsesEntry.value:type_name -> vitess.tabletmanagerdata.v19.VDiffResponse + 281, // 207: vitess.vtctldata.v19.WorkflowDeleteResponse.TabletInfo.tablet:type_name -> vitess.topodata.v19.TabletAlias + 281, // 208: vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreamState.tablet:type_name -> vitess.topodata.v19.TabletAlias + 272, // 209: vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreams.streams:type_name -> vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreamState + 271, // 210: vitess.vtctldata.v19.WorkflowStatusResponse.TableCopyStateEntry.value:type_name -> vitess.vtctldata.v19.WorkflowStatusResponse.TableCopyState + 273, // 211: vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreamsEntry.value:type_name -> vitess.vtctldata.v19.WorkflowStatusResponse.ShardStreams + 281, // 212: vitess.vtctldata.v19.WorkflowUpdateResponse.TabletInfo.tablet:type_name -> vitess.topodata.v19.TabletAlias + 213, // [213:213] is the sub-list for method output_type + 213, // [213:213] is the sub-list for method input_type + 213, // [213:213] is the sub-list for extension type_name + 213, // [213:213] is the sub-list for extension extendee + 0, // [0:213] is the sub-list for field type_name +} + +func init() { file_vitess_vtctldata_v19_vtctldata_proto_init() } +func file_vitess_vtctldata_v19_vtctldata_proto_init() { + if File_vitess_vtctldata_v19_vtctldata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteVtctlCommandRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteVtctlCommandResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*TableMaterializeSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*MaterializeSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*Keyspace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*SchemaMigration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*Shard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*Workflow); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*AddCellInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*AddCellInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*AddCellsAliasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*AddCellsAliasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*ApplyRoutingRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*ApplyRoutingRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*ApplyShardRoutingRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*ApplyShardRoutingRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*ApplySchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*ApplyVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*ApplyVSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*BackupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*BackupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*BackupShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*CancelSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*CancelSchemaMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTabletTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*ChangeTabletTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*CleanupSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*CleanupSchemaMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*CompleteSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*CompleteSchemaMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*CreateKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*CreateKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*CreateShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*CreateShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[35].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[37].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellsAliasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[38].Exporter = func(v any, i int) any { + switch v := v.(*DeleteCellsAliasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*DeleteKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*DeleteKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[41].Exporter = func(v any, i int) any { + switch v := v.(*DeleteShardsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[42].Exporter = func(v any, i int) any { + switch v := v.(*DeleteShardsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[43].Exporter = func(v any, i int) any { + switch v := v.(*DeleteSrvVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[44].Exporter = func(v any, i int) any { + switch v := v.(*DeleteSrvVSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[45].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTabletsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[46].Exporter = func(v any, i int) any { + switch v := v.(*DeleteTabletsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[47].Exporter = func(v any, i int) any { + switch v := v.(*EmergencyReparentShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[48].Exporter = func(v any, i int) any { + switch v := v.(*EmergencyReparentShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[49].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[50].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsAppResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[51].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDBARequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[52].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteFetchAsDBAResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[53].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[54].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[55].Exporter = func(v any, i int) any { + switch v := v.(*FindAllShardsInKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[56].Exporter = func(v any, i int) any { + switch v := v.(*FindAllShardsInKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[57].Exporter = func(v any, i int) any { + switch v := v.(*ForceCutOverSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[58].Exporter = func(v any, i int) any { + switch v := v.(*ForceCutOverSchemaMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[59].Exporter = func(v any, i int) any { + switch v := v.(*GetBackupsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[60].Exporter = func(v any, i int) any { + switch v := v.(*GetBackupsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[61].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[62].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[63].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoNamesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[64].Exporter = func(v any, i int) any { + switch v := v.(*GetCellInfoNamesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[65].Exporter = func(v any, i int) any { + switch v := v.(*GetCellsAliasesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[66].Exporter = func(v any, i int) any { + switch v := v.(*GetCellsAliasesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[67].Exporter = func(v any, i int) any { + switch v := v.(*GetFullStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[68].Exporter = func(v any, i int) any { + switch v := v.(*GetFullStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[69].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[70].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[71].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[72].Exporter = func(v any, i int) any { + switch v := v.(*GetKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[73].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[74].Exporter = func(v any, i int) any { + switch v := v.(*GetPermissionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[75].Exporter = func(v any, i int) any { + switch v := v.(*GetRoutingRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[76].Exporter = func(v any, i int) any { + switch v := v.(*GetRoutingRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[77].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[78].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[79].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[80].Exporter = func(v any, i int) any { + switch v := v.(*GetSchemaMigrationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[81].Exporter = func(v any, i int) any { + switch v := v.(*GetShardReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[82].Exporter = func(v any, i int) any { + switch v := v.(*GetShardReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[83].Exporter = func(v any, i int) any { + switch v := v.(*GetShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[84].Exporter = func(v any, i int) any { + switch v := v.(*GetShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[85].Exporter = func(v any, i int) any { + switch v := v.(*GetShardRoutingRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[86].Exporter = func(v any, i int) any { + switch v := v.(*GetShardRoutingRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[87].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspaceNamesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[88].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspaceNamesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[89].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[90].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[91].Exporter = func(v any, i int) any { + switch v := v.(*UpdateThrottlerConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[92].Exporter = func(v any, i int) any { + switch v := v.(*UpdateThrottlerConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[93].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[94].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[95].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[96].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvVSchemasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[97].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[98].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[99].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[100].Exporter = func(v any, i int) any { + switch v := v.(*GetTabletsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[101].Exporter = func(v any, i int) any { + switch v := v.(*GetTopologyPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[102].Exporter = func(v any, i int) any { + switch v := v.(*GetTopologyPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[103].Exporter = func(v any, i int) any { + switch v := v.(*TopologyCell); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[104].Exporter = func(v any, i int) any { + switch v := v.(*GetVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[105].Exporter = func(v any, i int) any { + switch v := v.(*GetVersionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[106].Exporter = func(v any, i int) any { + switch v := v.(*GetVersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[107].Exporter = func(v any, i int) any { + switch v := v.(*GetVSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[108].Exporter = func(v any, i int) any { + switch v := v.(*GetWorkflowsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[109].Exporter = func(v any, i int) any { + switch v := v.(*GetWorkflowsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[110].Exporter = func(v any, i int) any { + switch v := v.(*InitShardPrimaryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[111].Exporter = func(v any, i int) any { + switch v := v.(*InitShardPrimaryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[112].Exporter = func(v any, i int) any { + switch v := v.(*LaunchSchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[113].Exporter = func(v any, i int) any { + switch v := v.(*LaunchSchemaMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[114].Exporter = func(v any, i int) any { + switch v := v.(*LookupVindexCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[115].Exporter = func(v any, i int) any { + switch v := v.(*LookupVindexCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[116].Exporter = func(v any, i int) any { + switch v := v.(*LookupVindexExternalizeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[117].Exporter = func(v any, i int) any { + switch v := v.(*LookupVindexExternalizeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[118].Exporter = func(v any, i int) any { + switch v := v.(*MaterializeCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[119].Exporter = func(v any, i int) any { + switch v := v.(*MaterializeCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[120].Exporter = func(v any, i int) any { + switch v := v.(*MigrateCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[121].Exporter = func(v any, i int) any { + switch v := v.(*MigrateCompleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[122].Exporter = func(v any, i int) any { + switch v := v.(*MigrateCompleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[123].Exporter = func(v any, i int) any { + switch v := v.(*MountRegisterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[124].Exporter = func(v any, i int) any { + switch v := v.(*MountRegisterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[125].Exporter = func(v any, i int) any { + switch v := v.(*MountUnregisterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[126].Exporter = func(v any, i int) any { + switch v := v.(*MountUnregisterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[127].Exporter = func(v any, i int) any { + switch v := v.(*MountShowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[128].Exporter = func(v any, i int) any { + switch v := v.(*MountShowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[129].Exporter = func(v any, i int) any { + switch v := v.(*MountListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[130].Exporter = func(v any, i int) any { + switch v := v.(*MountListResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[131].Exporter = func(v any, i int) any { + switch v := v.(*MoveTablesCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[132].Exporter = func(v any, i int) any { + switch v := v.(*MoveTablesCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[133].Exporter = func(v any, i int) any { + switch v := v.(*MoveTablesCompleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[134].Exporter = func(v any, i int) any { + switch v := v.(*MoveTablesCompleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[135].Exporter = func(v any, i int) any { + switch v := v.(*PingTabletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[136].Exporter = func(v any, i int) any { + switch v := v.(*PingTabletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[137].Exporter = func(v any, i int) any { + switch v := v.(*PlannedReparentShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[138].Exporter = func(v any, i int) any { + switch v := v.(*PlannedReparentShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[139].Exporter = func(v any, i int) any { + switch v := v.(*RebuildKeyspaceGraphRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[140].Exporter = func(v any, i int) any { + switch v := v.(*RebuildKeyspaceGraphResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[141].Exporter = func(v any, i int) any { + switch v := v.(*RebuildVSchemaGraphRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[142].Exporter = func(v any, i int) any { + switch v := v.(*RebuildVSchemaGraphResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[143].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[144].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[145].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateByShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[146].Exporter = func(v any, i int) any { + switch v := v.(*RefreshStateByShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[147].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[148].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[149].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[150].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[151].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[152].Exporter = func(v any, i int) any { + switch v := v.(*ReloadSchemaShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[153].Exporter = func(v any, i int) any { + switch v := v.(*RemoveBackupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[154].Exporter = func(v any, i int) any { + switch v := v.(*RemoveBackupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[155].Exporter = func(v any, i int) any { + switch v := v.(*RemoveKeyspaceCellRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[156].Exporter = func(v any, i int) any { + switch v := v.(*RemoveKeyspaceCellResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[157].Exporter = func(v any, i int) any { + switch v := v.(*RemoveShardCellRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[158].Exporter = func(v any, i int) any { + switch v := v.(*RemoveShardCellResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[159].Exporter = func(v any, i int) any { + switch v := v.(*ReparentTabletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[160].Exporter = func(v any, i int) any { + switch v := v.(*ReparentTabletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[161].Exporter = func(v any, i int) any { + switch v := v.(*ReshardCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[162].Exporter = func(v any, i int) any { + switch v := v.(*RestoreFromBackupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[163].Exporter = func(v any, i int) any { + switch v := v.(*RestoreFromBackupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[164].Exporter = func(v any, i int) any { + switch v := v.(*RetrySchemaMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[165].Exporter = func(v any, i int) any { + switch v := v.(*RetrySchemaMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[166].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[167].Exporter = func(v any, i int) any { + switch v := v.(*RunHealthCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[168].Exporter = func(v any, i int) any { + switch v := v.(*SetKeyspaceDurabilityPolicyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[169].Exporter = func(v any, i int) any { + switch v := v.(*SetKeyspaceDurabilityPolicyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[170].Exporter = func(v any, i int) any { + switch v := v.(*SetKeyspaceShardingInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[171].Exporter = func(v any, i int) any { + switch v := v.(*SetKeyspaceShardingInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[172].Exporter = func(v any, i int) any { + switch v := v.(*SetShardIsPrimaryServingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[173].Exporter = func(v any, i int) any { + switch v := v.(*SetShardIsPrimaryServingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[174].Exporter = func(v any, i int) any { + switch v := v.(*SetShardTabletControlRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[175].Exporter = func(v any, i int) any { + switch v := v.(*SetShardTabletControlResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[176].Exporter = func(v any, i int) any { + switch v := v.(*SetWritableRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[177].Exporter = func(v any, i int) any { + switch v := v.(*SetWritableResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[178].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationAddRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[179].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationAddResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[180].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationFixRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[181].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationFixResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[182].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationPositionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[183].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationPositionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[184].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationRemoveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[185].Exporter = func(v any, i int) any { + switch v := v.(*ShardReplicationRemoveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[186].Exporter = func(v any, i int) any { + switch v := v.(*SleepTabletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[187].Exporter = func(v any, i int) any { + switch v := v.(*SleepTabletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[188].Exporter = func(v any, i int) any { + switch v := v.(*SourceShardAddRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[189].Exporter = func(v any, i int) any { + switch v := v.(*SourceShardAddResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[190].Exporter = func(v any, i int) any { + switch v := v.(*SourceShardDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[191].Exporter = func(v any, i int) any { + switch v := v.(*SourceShardDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[192].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[193].Exporter = func(v any, i int) any { + switch v := v.(*StartReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[194].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[195].Exporter = func(v any, i int) any { + switch v := v.(*StopReplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[196].Exporter = func(v any, i int) any { + switch v := v.(*TabletExternallyReparentedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[197].Exporter = func(v any, i int) any { + switch v := v.(*TabletExternallyReparentedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[198].Exporter = func(v any, i int) any { + switch v := v.(*UpdateCellInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[199].Exporter = func(v any, i int) any { + switch v := v.(*UpdateCellInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[200].Exporter = func(v any, i int) any { + switch v := v.(*UpdateCellsAliasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[201].Exporter = func(v any, i int) any { + switch v := v.(*UpdateCellsAliasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[202].Exporter = func(v any, i int) any { + switch v := v.(*ValidateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[203].Exporter = func(v any, i int) any { + switch v := v.(*ValidateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[204].Exporter = func(v any, i int) any { + switch v := v.(*ValidateKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[205].Exporter = func(v any, i int) any { + switch v := v.(*ValidateKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[206].Exporter = func(v any, i int) any { + switch v := v.(*ValidateSchemaKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[207].Exporter = func(v any, i int) any { + switch v := v.(*ValidateSchemaKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[208].Exporter = func(v any, i int) any { + switch v := v.(*ValidateShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[209].Exporter = func(v any, i int) any { + switch v := v.(*ValidateShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[210].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVersionKeyspaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[211].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVersionKeyspaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[212].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVersionShardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[213].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVersionShardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[214].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVSchemaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[215].Exporter = func(v any, i int) any { + switch v := v.(*ValidateVSchemaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[216].Exporter = func(v any, i int) any { + switch v := v.(*VDiffCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[217].Exporter = func(v any, i int) any { + switch v := v.(*VDiffCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[218].Exporter = func(v any, i int) any { + switch v := v.(*VDiffDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[219].Exporter = func(v any, i int) any { + switch v := v.(*VDiffDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[220].Exporter = func(v any, i int) any { + switch v := v.(*VDiffResumeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[221].Exporter = func(v any, i int) any { + switch v := v.(*VDiffResumeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[222].Exporter = func(v any, i int) any { + switch v := v.(*VDiffShowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[223].Exporter = func(v any, i int) any { + switch v := v.(*VDiffShowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[224].Exporter = func(v any, i int) any { + switch v := v.(*VDiffStopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[225].Exporter = func(v any, i int) any { + switch v := v.(*VDiffStopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[226].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[227].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[228].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[229].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[230].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowSwitchTrafficRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[231].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowSwitchTrafficResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[232].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[233].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[235].Exporter = func(v any, i int) any { + switch v := v.(*Workflow_ReplicationLocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[236].Exporter = func(v any, i int) any { + switch v := v.(*Workflow_ShardStream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[237].Exporter = func(v any, i int) any { + switch v := v.(*Workflow_Stream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[238].Exporter = func(v any, i int) any { + switch v := v.(*Workflow_Stream_CopyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[239].Exporter = func(v any, i int) any { + switch v := v.(*Workflow_Stream_Log); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[240].Exporter = func(v any, i int) any { + switch v := v.(*Workflow_Stream_ThrottlerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[243].Exporter = func(v any, i int) any { + switch v := v.(*ApplyVSchemaResponse_ParamList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[252].Exporter = func(v any, i int) any { + switch v := v.(*GetSrvKeyspaceNamesResponse_NameList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[256].Exporter = func(v any, i int) any { + switch v := v.(*MoveTablesCreateResponse_TabletInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[266].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowDeleteResponse_TabletInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[267].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowStatusResponse_TableCopyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[268].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowStatusResponse_ShardStreamState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[269].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowStatusResponse_ShardStreams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtctldata_v19_vtctldata_proto_msgTypes[272].Exporter = func(v any, i int) any { + switch v := v.(*WorkflowUpdateResponse_TabletInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vtctldata_v19_vtctldata_proto_rawDesc, + NumEnums: 4, + NumMessages: 273, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_vtctldata_v19_vtctldata_proto_goTypes, + DependencyIndexes: file_vitess_vtctldata_v19_vtctldata_proto_depIdxs, + EnumInfos: file_vitess_vtctldata_v19_vtctldata_proto_enumTypes, + MessageInfos: file_vitess_vtctldata_v19_vtctldata_proto_msgTypes, + }.Build() + File_vitess_vtctldata_v19_vtctldata_proto = out.File + file_vitess_vtctldata_v19_vtctldata_proto_rawDesc = nil + file_vitess_vtctldata_v19_vtctldata_proto_goTypes = nil + file_vitess_vtctldata_v19_vtctldata_proto_depIdxs = nil +} diff --git a/gen/vitess/vtctldata/v19/vtctldata_vtproto.pb.go b/gen/vitess/vtctldata/v19/vtctldata_vtproto.pb.go new file mode 100644 index 0000000..1e76893 --- /dev/null +++ b/gen/vitess/vtctldata/v19/vtctldata_vtproto.pb.go @@ -0,0 +1,58356 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/vtctldata/v19/vtctldata.proto + +package vtctldatav19 + +import ( + binary "encoding/binary" + fmt "fmt" + v194 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/logutil/v19" + v198 "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/v19" + v197 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v199 "github.com/planetscale/vitess-types/gen/vitess/replicationdata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v195 "github.com/planetscale/vitess-types/gen/vitess/vschema/v19" + v196 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + v193 "github.com/planetscale/vitess-types/gen/vitess/vttime/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + math "math" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *ExecuteVtctlCommandRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteVtctlCommandRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteVtctlCommandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ActionTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.ActionTimeout)) + i-- + dAtA[i] = 0x10 + } + if len(m.Args) > 0 { + for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Args[iNdEx]) + copy(dAtA[i:], m.Args[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Args[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ExecuteVtctlCommandResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteVtctlCommandResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteVtctlCommandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Event != nil { + if vtmsg, ok := interface{}(m.Event).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Event) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TableMaterializeSettings) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TableMaterializeSettings) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TableMaterializeSettings) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.CreateDdl) > 0 { + i -= len(m.CreateDdl) + copy(dAtA[i:], m.CreateDdl) + i = encodeVarint(dAtA, i, uint64(len(m.CreateDdl))) + i-- + dAtA[i] = 0x1a + } + if len(m.SourceExpression) > 0 { + i -= len(m.SourceExpression) + copy(dAtA[i:], m.SourceExpression) + i = encodeVarint(dAtA, i, uint64(len(m.SourceExpression))) + i-- + dAtA[i] = 0x12 + } + if len(m.TargetTable) > 0 { + i -= len(m.TargetTable) + copy(dAtA[i:], m.TargetTable) + i = encodeVarint(dAtA, i, uint64(len(m.TargetTable))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MaterializeSettings) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MaterializeSettings) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MaterializeSettings) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AtomicCopy { + i-- + if m.AtomicCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x78 + } + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x70 + } + if len(m.OnDdl) > 0 { + i -= len(m.OnDdl) + copy(dAtA[i:], m.OnDdl) + i = encodeVarint(dAtA, i, uint64(len(m.OnDdl))) + i-- + dAtA[i] = 0x6a + } + if len(m.SourceShards) > 0 { + for iNdEx := len(m.SourceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SourceShards[iNdEx]) + copy(dAtA[i:], m.SourceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.SourceShards[iNdEx]))) + i-- + dAtA[i] = 0x62 + } + } + if len(m.TargetTimeZone) > 0 { + i -= len(m.TargetTimeZone) + copy(dAtA[i:], m.TargetTimeZone) + i = encodeVarint(dAtA, i, uint64(len(m.TargetTimeZone))) + i-- + dAtA[i] = 0x5a + } + if len(m.SourceTimeZone) > 0 { + i -= len(m.SourceTimeZone) + copy(dAtA[i:], m.SourceTimeZone) + i = encodeVarint(dAtA, i, uint64(len(m.SourceTimeZone))) + i-- + dAtA[i] = 0x52 + } + if m.MaterializationIntent != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaterializationIntent)) + i-- + dAtA[i] = 0x48 + } + if len(m.ExternalCluster) > 0 { + i -= len(m.ExternalCluster) + copy(dAtA[i:], m.ExternalCluster) + i = encodeVarint(dAtA, i, uint64(len(m.ExternalCluster))) + i-- + dAtA[i] = 0x42 + } + if len(m.TabletTypes) > 0 { + i -= len(m.TabletTypes) + copy(dAtA[i:], m.TabletTypes) + i = encodeVarint(dAtA, i, uint64(len(m.TabletTypes))) + i-- + dAtA[i] = 0x3a + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x32 + } + if len(m.TableSettings) > 0 { + for iNdEx := len(m.TableSettings) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.TableSettings[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + } + if m.StopAfterCopy { + i-- + if m.StopAfterCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.SourceKeyspace) > 0 { + i -= len(m.SourceKeyspace) + copy(dAtA[i:], m.SourceKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.SourceKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Keyspace) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Keyspace) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Keyspace != nil { + if vtmsg, ok := interface{}(m.Keyspace).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Keyspace) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SchemaMigration) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SchemaMigration) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SchemaMigration) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RemovedForeignKeyNames) > 0 { + i -= len(m.RemovedForeignKeyNames) + copy(dAtA[i:], m.RemovedForeignKeyNames) + i = encodeVarint(dAtA, i, uint64(len(m.RemovedForeignKeyNames))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + if m.ReadyToCompleteAt != nil { + if vtmsg, ok := interface{}(m.ReadyToCompleteAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ReadyToCompleteAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + } + if m.ReviewedAt != nil { + if vtmsg, ok := interface{}(m.ReviewedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ReviewedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xa2 + } + if m.IsImmediateOperation { + i-- + if m.IsImmediateOperation { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x98 + } + if m.CutoverAttempts != 0 { + i = encodeVarint(dAtA, i, uint64(m.CutoverAttempts)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x90 + } + if len(m.Stage) > 0 { + i -= len(m.Stage) + copy(dAtA[i:], m.Stage) + i = encodeVarint(dAtA, i, uint64(len(m.Stage))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x8a + } + if m.PostponeLaunch { + i-- + if m.PostponeLaunch { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x80 + } + if m.CancelledAt != nil { + if vtmsg, ok := interface{}(m.CancelledAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CancelledAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xfa + } + if len(m.ComponentThrottled) > 0 { + i -= len(m.ComponentThrottled) + copy(dAtA[i:], m.ComponentThrottled) + i = encodeVarint(dAtA, i, uint64(len(m.ComponentThrottled))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf2 + } + if m.LastThrottledAt != nil { + if vtmsg, ok := interface{}(m.LastThrottledAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.LastThrottledAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xea + } + if len(m.SpecialPlan) > 0 { + i -= len(m.SpecialPlan) + copy(dAtA[i:], m.SpecialPlan) + i = encodeVarint(dAtA, i, uint64(len(m.SpecialPlan))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 + } + if m.UserThrottleRatio != 0 { + i -= 4 + binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserThrottleRatio)))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xdd + } + if m.VitessLivenessIndicator != 0 { + i = encodeVarint(dAtA, i, uint64(m.VitessLivenessIndicator)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd0 + } + if m.ReadyToComplete { + i-- + if m.ReadyToComplete { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc8 + } + if m.IsView { + i-- + if m.IsView { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc0 + } + if len(m.RevertedUuid) > 0 { + i -= len(m.RevertedUuid) + copy(dAtA[i:], m.RevertedUuid) + i = encodeVarint(dAtA, i, uint64(len(m.RevertedUuid))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xba + } + if m.AllowConcurrent { + i-- + if m.AllowConcurrent { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xb0 + } + if len(m.RevertibleNotes) > 0 { + i -= len(m.RevertibleNotes) + copy(dAtA[i:], m.RevertibleNotes) + i = encodeVarint(dAtA, i, uint64(len(m.RevertibleNotes))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xaa + } + if len(m.ExpandedColumnNames) > 0 { + i -= len(m.ExpandedColumnNames) + copy(dAtA[i:], m.ExpandedColumnNames) + i = encodeVarint(dAtA, i, uint64(len(m.ExpandedColumnNames))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + } + if len(m.DroppedNoDefaultColumnNames) > 0 { + i -= len(m.DroppedNoDefaultColumnNames) + copy(dAtA[i:], m.DroppedNoDefaultColumnNames) + i = encodeVarint(dAtA, i, uint64(len(m.DroppedNoDefaultColumnNames))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a + } + if len(m.RemovedUniqueKeyNames) > 0 { + i -= len(m.RemovedUniqueKeyNames) + copy(dAtA[i:], m.RemovedUniqueKeyNames) + i = encodeVarint(dAtA, i, uint64(len(m.RemovedUniqueKeyNames))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 + } + if m.PostponeCompletion { + i-- + if m.PostponeCompletion { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x88 + } + if m.ArtifactRetention != nil { + if vtmsg, ok := interface{}(m.ArtifactRetention).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ArtifactRetention) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x82 + } + if len(m.LogFile) > 0 { + i -= len(m.LogFile) + copy(dAtA[i:], m.LogFile) + i = encodeVarint(dAtA, i, uint64(len(m.LogFile))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xfa + } + if m.RemovedUniqueKeys != 0 { + i = encodeVarint(dAtA, i, uint64(m.RemovedUniqueKeys)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf0 + } + if m.AddedUniqueKeys != 0 { + i = encodeVarint(dAtA, i, uint64(m.AddedUniqueKeys)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe8 + } + if m.TableRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.TableRows)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe0 + } + if m.RowsCopied != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsCopied)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd8 + } + if m.EtaSeconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.EtaSeconds)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd0 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + if len(m.DdlAction) > 0 { + i -= len(m.DdlAction) + copy(dAtA[i:], m.DdlAction) + i = encodeVarint(dAtA, i, uint64(len(m.DdlAction))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + if len(m.MigrationContext) > 0 { + i -= len(m.MigrationContext) + copy(dAtA[i:], m.MigrationContext) + i = encodeVarint(dAtA, i, uint64(len(m.MigrationContext))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if m.Progress != 0 { + i -= 4 + binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Progress)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb5 + } + if m.TabletFailure { + i-- + if m.TabletFailure { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if m.Retries != 0 { + i = encodeVarint(dAtA, i, uint64(m.Retries)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if len(m.Artifacts) > 0 { + i -= len(m.Artifacts) + copy(dAtA[i:], m.Artifacts) + i = encodeVarint(dAtA, i, uint64(len(m.Artifacts))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if len(m.LogPath) > 0 { + i -= len(m.LogPath) + copy(dAtA[i:], m.LogPath) + i = encodeVarint(dAtA, i, uint64(len(m.LogPath))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.Status != 0 { + i = encodeVarint(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.CleanedUpAt != nil { + if vtmsg, ok := interface{}(m.CleanedUpAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CleanedUpAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x7a + } + if m.CompletedAt != nil { + if vtmsg, ok := interface{}(m.CompletedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CompletedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x72 + } + if m.LivenessTimestamp != nil { + if vtmsg, ok := interface{}(m.LivenessTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.LivenessTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x6a + } + if m.StartedAt != nil { + if vtmsg, ok := interface{}(m.StartedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.StartedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x62 + } + if m.ReadyAt != nil { + if vtmsg, ok := interface{}(m.ReadyAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ReadyAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x5a + } + if m.RequestedAt != nil { + if vtmsg, ok := interface{}(m.RequestedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RequestedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x52 + } + if m.AddedAt != nil { + if vtmsg, ok := interface{}(m.AddedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.AddedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x4a + } + if len(m.Options) > 0 { + i -= len(m.Options) + copy(dAtA[i:], m.Options) + i = encodeVarint(dAtA, i, uint64(len(m.Options))) + i-- + dAtA[i] = 0x42 + } + if m.Strategy != 0 { + i = encodeVarint(dAtA, i, uint64(m.Strategy)) + i-- + dAtA[i] = 0x38 + } + if len(m.MigrationStatement) > 0 { + i -= len(m.MigrationStatement) + copy(dAtA[i:], m.MigrationStatement) + i = encodeVarint(dAtA, i, uint64(len(m.MigrationStatement))) + i-- + dAtA[i] = 0x32 + } + if len(m.Table) > 0 { + i -= len(m.Table) + copy(dAtA[i:], m.Table) + i = encodeVarint(dAtA, i, uint64(len(m.Table))) + i-- + dAtA[i] = 0x2a + } + if len(m.Schema) > 0 { + i -= len(m.Schema) + copy(dAtA[i:], m.Schema) + i = encodeVarint(dAtA, i, uint64(len(m.Schema))) + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Shard) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Shard) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Shard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Shard != nil { + if vtmsg, ok := interface{}(m.Shard).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Shard) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Workflow_ReplicationLocation) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow_ReplicationLocation) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow_ReplicationLocation) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Workflow_ShardStream) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow_ShardStream) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow_ShardStream) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IsPrimaryServing { + i-- + if m.IsPrimaryServing { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.TabletControls) > 0 { + for iNdEx := len(m.TabletControls) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.TabletControls[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletControls[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Streams) > 0 { + for iNdEx := len(m.Streams) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Streams[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Workflow_Stream_CopyState) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow_Stream_CopyState) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow_Stream_CopyState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.StreamId != 0 { + i = encodeVarint(dAtA, i, uint64(m.StreamId)) + i-- + dAtA[i] = 0x18 + } + if len(m.LastPk) > 0 { + i -= len(m.LastPk) + copy(dAtA[i:], m.LastPk) + i = encodeVarint(dAtA, i, uint64(len(m.LastPk))) + i-- + dAtA[i] = 0x12 + } + if len(m.Table) > 0 { + i -= len(m.Table) + copy(dAtA[i:], m.Table) + i = encodeVarint(dAtA, i, uint64(len(m.Table))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Workflow_Stream_Log) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow_Stream_Log) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow_Stream_Log) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Count != 0 { + i = encodeVarint(dAtA, i, uint64(m.Count)) + i-- + dAtA[i] = 0x40 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x3a + } + if m.UpdatedAt != nil { + if vtmsg, ok := interface{}(m.UpdatedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.UpdatedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x32 + } + if m.CreatedAt != nil { + if vtmsg, ok := interface{}(m.CreatedAt).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CreatedAt) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarint(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0x22 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarint(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0x1a + } + if m.StreamId != 0 { + i = encodeVarint(dAtA, i, uint64(m.StreamId)) + i-- + dAtA[i] = 0x10 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Workflow_Stream_ThrottlerStatus) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow_Stream_ThrottlerStatus) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow_Stream_ThrottlerStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TimeThrottled != nil { + if vtmsg, ok := interface{}(m.TimeThrottled).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeThrottled) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ComponentThrottled) > 0 { + i -= len(m.ComponentThrottled) + copy(dAtA[i:], m.ComponentThrottled) + i = encodeVarint(dAtA, i, uint64(len(m.ComponentThrottled))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Workflow_Stream) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow_Stream) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow_Stream) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if m.ThrottlerStatus != nil { + size, err := m.ThrottlerStatus.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.RowsCopied != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsCopied)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x7a + } + } + if len(m.LogFetchError) > 0 { + i -= len(m.LogFetchError) + copy(dAtA[i:], m.LogFetchError) + i = encodeVarint(dAtA, i, uint64(len(m.LogFetchError))) + i-- + dAtA[i] = 0x72 + } + if len(m.Logs) > 0 { + for iNdEx := len(m.Logs) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Logs[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x6a + } + } + if len(m.CopyStates) > 0 { + for iNdEx := len(m.CopyStates) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.CopyStates[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x62 + } + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x5a + } + if m.TimeUpdated != nil { + if vtmsg, ok := interface{}(m.TimeUpdated).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TimeUpdated) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x52 + } + if m.TransactionTimestamp != nil { + if vtmsg, ok := interface{}(m.TransactionTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TransactionTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x4a + } + if len(m.DbName) > 0 { + i -= len(m.DbName) + copy(dAtA[i:], m.DbName) + i = encodeVarint(dAtA, i, uint64(len(m.DbName))) + i-- + dAtA[i] = 0x42 + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarint(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0x3a + } + if len(m.StopPosition) > 0 { + i -= len(m.StopPosition) + copy(dAtA[i:], m.StopPosition) + i = encodeVarint(dAtA, i, uint64(len(m.StopPosition))) + i-- + dAtA[i] = 0x32 + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0x2a + } + if m.BinlogSource != nil { + if vtmsg, ok := interface{}(m.BinlogSource).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BinlogSource) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Workflow) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Workflow) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Workflow) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if m.MaxVReplicationTransactionLag != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxVReplicationTransactionLag)) + i-- + dAtA[i] = 0x40 + } + if len(m.WorkflowSubType) > 0 { + i -= len(m.WorkflowSubType) + copy(dAtA[i:], m.WorkflowSubType) + i = encodeVarint(dAtA, i, uint64(len(m.WorkflowSubType))) + i-- + dAtA[i] = 0x3a + } + if len(m.WorkflowType) > 0 { + i -= len(m.WorkflowType) + copy(dAtA[i:], m.WorkflowType) + i = encodeVarint(dAtA, i, uint64(len(m.WorkflowType))) + i-- + dAtA[i] = 0x32 + } + if len(m.ShardStreams) > 0 { + for k := range m.ShardStreams { + v := m.ShardStreams[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x2a + } + } + if m.MaxVReplicationLag != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxVReplicationLag)) + i-- + dAtA[i] = 0x20 + } + if m.Target != nil { + size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.Source != nil { + size, err := m.Source.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AddCellInfoRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AddCellInfoRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *AddCellInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CellInfo != nil { + if vtmsg, ok := interface{}(m.CellInfo).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CellInfo) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AddCellInfoResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AddCellInfoResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *AddCellInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *AddCellsAliasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AddCellsAliasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *AddCellsAliasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AddCellsAliasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AddCellsAliasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *AddCellsAliasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ApplyRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyRoutingRulesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyRoutingRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RebuildCells) > 0 { + for iNdEx := len(m.RebuildCells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.RebuildCells[iNdEx]) + copy(dAtA[i:], m.RebuildCells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.RebuildCells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.SkipRebuild { + i-- + if m.SkipRebuild { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.RoutingRules != nil { + if vtmsg, ok := interface{}(m.RoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplyRoutingRulesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyRoutingRulesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyRoutingRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ApplyShardRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyShardRoutingRulesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyShardRoutingRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RebuildCells) > 0 { + for iNdEx := len(m.RebuildCells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.RebuildCells[iNdEx]) + copy(dAtA[i:], m.RebuildCells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.RebuildCells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if m.SkipRebuild { + i-- + if m.SkipRebuild { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.ShardRoutingRules != nil { + if vtmsg, ok := interface{}(m.ShardRoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ShardRoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplyShardRoutingRulesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyShardRoutingRulesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyShardRoutingRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ApplySchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplySchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplySchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.BatchSize != 0 { + i = encodeVarint(dAtA, i, uint64(m.BatchSize)) + i-- + dAtA[i] = 0x50 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x4a + } + if m.WaitReplicasTimeout != nil { + if vtmsg, ok := interface{}(m.WaitReplicasTimeout).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.WaitReplicasTimeout) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x3a + } + if len(m.MigrationContext) > 0 { + i -= len(m.MigrationContext) + copy(dAtA[i:], m.MigrationContext) + i = encodeVarint(dAtA, i, uint64(len(m.MigrationContext))) + i-- + dAtA[i] = 0x32 + } + if len(m.UuidList) > 0 { + for iNdEx := len(m.UuidList) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.UuidList[iNdEx]) + copy(dAtA[i:], m.UuidList[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.UuidList[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.DdlStrategy) > 0 { + i -= len(m.DdlStrategy) + copy(dAtA[i:], m.DdlStrategy) + i = encodeVarint(dAtA, i, uint64(len(m.DdlStrategy))) + i-- + dAtA[i] = 0x22 + } + if len(m.Sql) > 0 { + for iNdEx := len(m.Sql) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Sql[iNdEx]) + copy(dAtA[i:], m.Sql[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Sql[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplySchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplySchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplySchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.UuidList) > 0 { + for iNdEx := len(m.UuidList) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.UuidList[iNdEx]) + copy(dAtA[i:], m.UuidList[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.UuidList[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ApplyVSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Strict { + i-- + if m.Strict { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if len(m.Sql) > 0 { + i -= len(m.Sql) + copy(dAtA[i:], m.Sql) + i = encodeVarint(dAtA, i, uint64(len(m.Sql))) + i-- + dAtA[i] = 0x32 + } + if m.VSchema != nil { + if vtmsg, ok := interface{}(m.VSchema).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.VSchema) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.SkipRebuild { + i-- + if m.SkipRebuild { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ApplyVSchemaResponse_ParamList) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyVSchemaResponse_ParamList) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyVSchemaResponse_ParamList) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Params) > 0 { + for iNdEx := len(m.Params) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Params[iNdEx]) + copy(dAtA[i:], m.Params[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Params[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ApplyVSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplyVSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ApplyVSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.UnknownVindexParams) > 0 { + for k := range m.UnknownVindexParams { + v := m.UnknownVindexParams[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if m.VSchema != nil { + if vtmsg, ok := interface{}(m.VSchema).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.VSchema) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BackupRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BackupRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.UpgradeSafe { + i-- + if m.UpgradeSafe { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.IncrementalFromPos) > 0 { + i -= len(m.IncrementalFromPos) + copy(dAtA[i:], m.IncrementalFromPos) + i = encodeVarint(dAtA, i, uint64(len(m.IncrementalFromPos))) + i-- + dAtA[i] = 0x22 + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x18 + } + if m.AllowPrimary { + i-- + if m.AllowPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BackupResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BackupResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Event != nil { + if vtmsg, ok := interface{}(m.Event).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Event) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BackupShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BackupShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *BackupShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.IncrementalFromPos) > 0 { + i -= len(m.IncrementalFromPos) + copy(dAtA[i:], m.IncrementalFromPos) + i = encodeVarint(dAtA, i, uint64(len(m.IncrementalFromPos))) + i-- + dAtA[i] = 0x32 + } + if m.UpgradeSafe { + i-- + if m.UpgradeSafe { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x20 + } + if m.AllowPrimary { + i-- + if m.AllowPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CancelSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CancelSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CancelSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CancelSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CancelSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CancelSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ChangeTabletTypeRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangeTabletTypeRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTabletTypeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.DbType != 0 { + i = encodeVarint(dAtA, i, uint64(m.DbType)) + i-- + dAtA[i] = 0x10 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChangeTabletTypeResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangeTabletTypeResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangeTabletTypeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.WasDryRun { + i-- + if m.WasDryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.AfterTablet != nil { + if vtmsg, ok := interface{}(m.AfterTablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.AfterTablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.BeforeTablet != nil { + if vtmsg, ok := interface{}(m.BeforeTablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BeforeTablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CleanupSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CleanupSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CleanupSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CleanupSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CleanupSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CleanupSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *CompleteSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CompleteSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CompleteSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CompleteSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CompleteSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CompleteSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *CreateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SidecarDbName) > 0 { + i -= len(m.SidecarDbName) + copy(dAtA[i:], m.SidecarDbName) + i = encodeVarint(dAtA, i, uint64(len(m.SidecarDbName))) + i-- + dAtA[i] = 0x5a + } + if len(m.DurabilityPolicy) > 0 { + i -= len(m.DurabilityPolicy) + copy(dAtA[i:], m.DurabilityPolicy) + i = encodeVarint(dAtA, i, uint64(len(m.DurabilityPolicy))) + i-- + dAtA[i] = 0x52 + } + if m.SnapshotTime != nil { + if vtmsg, ok := interface{}(m.SnapshotTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.SnapshotTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x4a + } + if len(m.BaseKeyspace) > 0 { + i -= len(m.BaseKeyspace) + copy(dAtA[i:], m.BaseKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.BaseKeyspace))) + i-- + dAtA[i] = 0x42 + } + if m.Type != 0 { + i = encodeVarint(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x38 + } + if m.AllowEmptyVSchema { + i-- + if m.AllowEmptyVSchema { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Keyspace != nil { + size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IncludeParent { + i-- + if m.IncludeParent { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.ShardName) > 0 { + i -= len(m.ShardName) + copy(dAtA[i:], m.ShardName) + i = encodeVarint(dAtA, i, uint64(len(m.ShardName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CreateShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CreateShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CreateShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ShardAlreadyExists { + i-- + if m.ShardAlreadyExists { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Shard != nil { + size, err := m.Shard.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Keyspace != nil { + size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteCellInfoRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteCellInfoRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteCellInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteCellInfoResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteCellInfoResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteCellInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *DeleteCellsAliasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteCellsAliasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteCellsAliasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteCellsAliasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteCellsAliasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteCellsAliasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *DeleteKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Recursive { + i-- + if m.Recursive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *DeleteShardsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteShardsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteShardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.EvenIfServing { + i-- + if m.EvenIfServing { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.Recursive { + i-- + if m.Recursive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Shards[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *DeleteShardsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteShardsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteShardsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *DeleteSrvVSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteSrvVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteSrvVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeleteSrvVSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteSrvVSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteSrvVSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *DeleteTabletsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteTabletsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteTabletsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AllowPrimary { + i-- + if m.AllowPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.TabletAliases) > 0 { + for iNdEx := len(m.TabletAliases) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.TabletAliases[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAliases[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *DeleteTabletsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeleteTabletsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DeleteTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *EmergencyReparentShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EmergencyReparentShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *EmergencyReparentShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.WaitForAllTablets { + i-- + if m.WaitForAllTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.PreventCrossCellPromotion { + i-- + if m.PreventCrossCellPromotion { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.WaitReplicasTimeout != nil { + if vtmsg, ok := interface{}(m.WaitReplicasTimeout).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.WaitReplicasTimeout) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if len(m.IgnoreReplicas) > 0 { + for iNdEx := len(m.IgnoreReplicas) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.IgnoreReplicas[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.IgnoreReplicas[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + } + if m.NewPrimary != nil { + if vtmsg, ok := interface{}(m.NewPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.NewPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EmergencyReparentShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EmergencyReparentShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *EmergencyReparentShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + } + if m.PromotedPrimary != nil { + if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PromotedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsAppRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsAppRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsAppRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.UsePool { + i-- + if m.UsePool { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsAppResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsAppResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsAppResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsDBARequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsDBARequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsDBARequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ReloadSchema { + i-- + if m.ReloadSchema { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.DisableBinlogs { + i-- + if m.DisableBinlogs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.MaxRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxRows)) + i-- + dAtA[i] = 0x18 + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarint(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteFetchAsDBAResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteFetchAsDBAResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteFetchAsDBAResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteHookRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteHookRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteHookRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletHookRequest != nil { + if vtmsg, ok := interface{}(m.TabletHookRequest).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletHookRequest) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteHookResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteHookResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteHookResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.HookResult != nil { + if vtmsg, ok := interface{}(m.HookResult).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.HookResult) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FindAllShardsInKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FindAllShardsInKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FindAllShardsInKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FindAllShardsInKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FindAllShardsInKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *FindAllShardsInKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for k := range m.Shards { + v := m.Shards[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ForceCutOverSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ForceCutOverSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ForceCutOverSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ForceCutOverSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ForceCutOverSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ForceCutOverSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetBackupsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetBackupsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetBackupsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DetailedLimit != 0 { + i = encodeVarint(dAtA, i, uint64(m.DetailedLimit)) + i-- + dAtA[i] = 0x28 + } + if m.Detailed { + i-- + if m.Detailed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.Limit != 0 { + i = encodeVarint(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetBackupsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetBackupsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetBackupsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Backups) > 0 { + for iNdEx := len(m.Backups) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Backups[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Backups[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetCellInfoRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellInfoRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetCellInfoResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellInfoResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CellInfo != nil { + if vtmsg, ok := interface{}(m.CellInfo).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CellInfo) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetCellInfoNamesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellInfoNamesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellInfoNamesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetCellInfoNamesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellInfoNamesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellInfoNamesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetCellsAliasesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellsAliasesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellsAliasesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetCellsAliasesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCellsAliasesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetCellsAliasesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Aliases) > 0 { + for k := range m.Aliases { + v := m.Aliases[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetFullStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetFullStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetFullStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetFullStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetFullStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetFullStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Status != nil { + if vtmsg, ok := interface{}(m.Status).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Status) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Keyspaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Keyspace != nil { + size, err := m.Keyspace.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetPermissionsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetPermissionsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetPermissionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetPermissionsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetPermissionsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetPermissionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Permissions != nil { + if vtmsg, ok := interface{}(m.Permissions).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Permissions) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetRoutingRulesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetRoutingRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetRoutingRulesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetRoutingRulesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetRoutingRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RoutingRules != nil { + if vtmsg, ok := interface{}(m.RoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TableSchemaOnly { + i-- + if m.TableSchemaOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.TableSizesOnly { + i-- + if m.TableSizesOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.TableNamesOnly { + i-- + if m.TableNamesOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.IncludeViews { + i-- + if m.IncludeViews { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.ExcludeTables) > 0 { + for iNdEx := len(m.ExcludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeTables[iNdEx]) + copy(dAtA[i:], m.ExcludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeTables[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Schema != nil { + if vtmsg, ok := interface{}(m.Schema).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Schema) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaMigrationsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaMigrationsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaMigrationsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Skip != 0 { + i = encodeVarint(dAtA, i, uint64(m.Skip)) + i-- + dAtA[i] = 0x40 + } + if m.Limit != 0 { + i = encodeVarint(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x38 + } + if m.Order != 0 { + i = encodeVarint(dAtA, i, uint64(m.Order)) + i-- + dAtA[i] = 0x30 + } + if m.Recent != nil { + if vtmsg, ok := interface{}(m.Recent).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Recent) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.Status != 0 { + i = encodeVarint(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x20 + } + if len(m.MigrationContext) > 0 { + i -= len(m.MigrationContext) + copy(dAtA[i:], m.MigrationContext) + i = encodeVarint(dAtA, i, uint64(len(m.MigrationContext))) + i-- + dAtA[i] = 0x1a + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSchemaMigrationsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSchemaMigrationsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSchemaMigrationsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Migrations) > 0 { + for iNdEx := len(m.Migrations) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Migrations[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetShardReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetShardReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ShardReplicationByCell) > 0 { + for k := range m.ShardReplicationByCell { + v := m.ShardReplicationByCell[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ShardName) > 0 { + i -= len(m.ShardName) + copy(dAtA[i:], m.ShardName) + i = encodeVarint(dAtA, i, uint64(len(m.ShardName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Shard != nil { + size, err := m.Shard.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetShardRoutingRulesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardRoutingRulesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardRoutingRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetShardRoutingRulesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetShardRoutingRulesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetShardRoutingRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ShardRoutingRules != nil { + if vtmsg, ok := interface{}(m.ShardRoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ShardRoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspaceNamesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspaceNamesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspaceNamesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspaceNamesResponse_NameList) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspaceNamesResponse_NameList) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspaceNamesResponse_NameList) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspaceNamesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspaceNamesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspaceNamesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for k := range m.Names { + v := m.Names[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspacesRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspacesRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspacesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSrvKeyspacesResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvKeyspacesResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvKeyspacesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SrvKeyspaces) > 0 { + for k := range m.SrvKeyspaces { + v := m.SrvKeyspaces[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *UpdateThrottlerConfigRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateThrottlerConfigRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateThrottlerConfigRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ThrottledApp != nil { + if vtmsg, ok := interface{}(m.ThrottledApp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.ThrottledApp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x4a + } + if m.CheckAsCheckShard { + i-- + if m.CheckAsCheckShard { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.CheckAsCheckSelf { + i-- + if m.CheckAsCheckSelf { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.CustomQuerySet { + i-- + if m.CustomQuerySet { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.CustomQuery) > 0 { + i -= len(m.CustomQuery) + copy(dAtA[i:], m.CustomQuery) + i = encodeVarint(dAtA, i, uint64(len(m.CustomQuery))) + i-- + dAtA[i] = 0x2a + } + if m.Threshold != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Threshold)))) + i-- + dAtA[i] = 0x21 + } + if m.Disable { + i-- + if m.Disable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Enable { + i-- + if m.Enable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateThrottlerConfigResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateThrottlerConfigResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateThrottlerConfigResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *GetSrvVSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSrvVSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvVSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvVSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SrvVSchema != nil { + if vtmsg, ok := interface{}(m.SrvVSchema).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.SrvVSchema) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetSrvVSchemasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvVSchemasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvVSchemasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + return len(dAtA) - i, nil +} + +func (m *GetSrvVSchemasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSrvVSchemasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetSrvVSchemasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.SrvVSchemas) > 0 { + for k := range m.SrvVSchemas { + v := m.SrvVSchemas[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetTabletRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTabletRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetTabletResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTabletResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetTabletsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTabletsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTabletsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletType)) + i-- + dAtA[i] = 0x30 + } + if len(m.TabletAliases) > 0 { + for iNdEx := len(m.TabletAliases) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.TabletAliases[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAliases[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + } + if m.Strict { + i-- + if m.Strict { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetTabletsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTabletsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTabletsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tablets) > 0 { + for iNdEx := len(m.Tablets) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Tablets[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablets[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetTopologyPathRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTopologyPathRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTopologyPathRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarint(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetTopologyPathResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTopologyPathResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetTopologyPathResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Cell != nil { + size, err := m.Cell.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TopologyCell) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TopologyCell) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TopologyCell) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Children) > 0 { + for iNdEx := len(m.Children) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Children[iNdEx]) + copy(dAtA[i:], m.Children[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Children[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Data) > 0 { + i -= len(m.Data) + copy(dAtA[i:], m.Data) + i = encodeVarint(dAtA, i, uint64(len(m.Data))) + i-- + dAtA[i] = 0x1a + } + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarint(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetVSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetVersionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVersionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVersionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetVersionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVersionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVersionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarint(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetVSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetVSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetVSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.VSchema != nil { + if vtmsg, ok := interface{}(m.VSchema).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.VSchema) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetWorkflowsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetWorkflowsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetWorkflowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + if m.IncludeLogs { + i-- + if m.IncludeLogs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x22 + } + if m.NameOnly { + i-- + if m.NameOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.ActiveOnly { + i-- + if m.ActiveOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetWorkflowsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetWorkflowsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *GetWorkflowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Workflows) > 0 { + for iNdEx := len(m.Workflows) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Workflows[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *InitShardPrimaryRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *InitShardPrimaryRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *InitShardPrimaryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.WaitReplicasTimeout != nil { + if vtmsg, ok := interface{}(m.WaitReplicasTimeout).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.WaitReplicasTimeout) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.PrimaryElectTabletAlias != nil { + if vtmsg, ok := interface{}(m.PrimaryElectTabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PrimaryElectTabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *InitShardPrimaryResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *InitShardPrimaryResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *InitShardPrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *LaunchSchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LaunchSchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LaunchSchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *LaunchSchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LaunchSchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LaunchSchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *LookupVindexCreateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LookupVindexCreateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LookupVindexCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x38 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x32 + } + if m.ContinueAfterCopyWithOwner { + i-- + if m.ContinueAfterCopyWithOwner { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Vindex != nil { + if vtmsg, ok := interface{}(m.Vindex).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Vindex) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *LookupVindexCreateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LookupVindexCreateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LookupVindexCreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *LookupVindexExternalizeRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LookupVindexExternalizeRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LookupVindexExternalizeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TableKeyspace) > 0 { + i -= len(m.TableKeyspace) + copy(dAtA[i:], m.TableKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TableKeyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *LookupVindexExternalizeResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LookupVindexExternalizeResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *LookupVindexExternalizeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.WorkflowDeleted { + i-- + if m.WorkflowDeleted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MaterializeCreateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MaterializeCreateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MaterializeCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Settings != nil { + size, err := m.Settings.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MaterializeCreateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MaterializeCreateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MaterializeCreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *MigrateCreateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MigrateCreateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MigrateCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.NoRoutingRules { + i-- + if m.NoRoutingRules { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.AutoStart { + i-- + if m.AutoStart { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x78 + } + if m.DropForeignKeys { + i-- + if m.DropForeignKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x70 + } + if m.StopAfterCopy { + i-- + if m.StopAfterCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x68 + } + if len(m.OnDdl) > 0 { + i -= len(m.OnDdl) + copy(dAtA[i:], m.OnDdl) + i = encodeVarint(dAtA, i, uint64(len(m.OnDdl))) + i-- + dAtA[i] = 0x62 + } + if len(m.SourceTimeZone) > 0 { + i -= len(m.SourceTimeZone) + copy(dAtA[i:], m.SourceTimeZone) + i = encodeVarint(dAtA, i, uint64(len(m.SourceTimeZone))) + i-- + dAtA[i] = 0x5a + } + if len(m.ExcludeTables) > 0 { + for iNdEx := len(m.ExcludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeTables[iNdEx]) + copy(dAtA[i:], m.ExcludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeTables[iNdEx]))) + i-- + dAtA[i] = 0x52 + } + } + if len(m.IncludeTables) > 0 { + for iNdEx := len(m.IncludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeTables[iNdEx]) + copy(dAtA[i:], m.IncludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.IncludeTables[iNdEx]))) + i-- + dAtA[i] = 0x4a + } + } + if m.AllTables { + i-- + if m.AllTables { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x38 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x32 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.MountName) > 0 { + i -= len(m.MountName) + copy(dAtA[i:], m.MountName) + i = encodeVarint(dAtA, i, uint64(len(m.MountName))) + i-- + dAtA[i] = 0x22 + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.SourceKeyspace) > 0 { + i -= len(m.SourceKeyspace) + copy(dAtA[i:], m.SourceKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.SourceKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MigrateCompleteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MigrateCompleteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MigrateCompleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.RenameTables { + i-- + if m.RenameTables { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.KeepRoutingRules { + i-- + if m.KeepRoutingRules { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.KeepData { + i-- + if m.KeepData { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MigrateCompleteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MigrateCompleteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MigrateCompleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.DryRunResults) > 0 { + for iNdEx := len(m.DryRunResults) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DryRunResults[iNdEx]) + copy(dAtA[i:], m.DryRunResults[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.DryRunResults[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MountRegisterRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountRegisterRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountRegisterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x22 + } + if len(m.TopoRoot) > 0 { + i -= len(m.TopoRoot) + copy(dAtA[i:], m.TopoRoot) + i = encodeVarint(dAtA, i, uint64(len(m.TopoRoot))) + i-- + dAtA[i] = 0x1a + } + if len(m.TopoServer) > 0 { + i -= len(m.TopoServer) + copy(dAtA[i:], m.TopoServer) + i = encodeVarint(dAtA, i, uint64(len(m.TopoServer))) + i-- + dAtA[i] = 0x12 + } + if len(m.TopoType) > 0 { + i -= len(m.TopoType) + copy(dAtA[i:], m.TopoType) + i = encodeVarint(dAtA, i, uint64(len(m.TopoType))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MountRegisterResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountRegisterResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountRegisterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *MountUnregisterRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountUnregisterRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountUnregisterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x22 + } + return len(dAtA) - i, nil +} + +func (m *MountUnregisterResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountUnregisterResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountUnregisterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *MountShowRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountShowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountShowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x22 + } + return len(dAtA) - i, nil +} + +func (m *MountShowResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountShowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountShowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x22 + } + if len(m.TopoRoot) > 0 { + i -= len(m.TopoRoot) + copy(dAtA[i:], m.TopoRoot) + i = encodeVarint(dAtA, i, uint64(len(m.TopoRoot))) + i-- + dAtA[i] = 0x1a + } + if len(m.TopoServer) > 0 { + i -= len(m.TopoServer) + copy(dAtA[i:], m.TopoServer) + i = encodeVarint(dAtA, i, uint64(len(m.TopoServer))) + i-- + dAtA[i] = 0x12 + } + if len(m.TopoType) > 0 { + i -= len(m.TopoType) + copy(dAtA[i:], m.TopoType) + i = encodeVarint(dAtA, i, uint64(len(m.TopoType))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MountListRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountListRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *MountListResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MountListResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MountListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *MoveTablesCreateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MoveTablesCreateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MoveTablesCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AtomicCopy { + i-- + if m.AtomicCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if m.NoRoutingRules { + i-- + if m.NoRoutingRules { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if m.AutoStart { + i-- + if m.AutoStart { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.DropForeignKeys { + i-- + if m.DropForeignKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x78 + } + if m.StopAfterCopy { + i-- + if m.StopAfterCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x70 + } + if len(m.OnDdl) > 0 { + i -= len(m.OnDdl) + copy(dAtA[i:], m.OnDdl) + i = encodeVarint(dAtA, i, uint64(len(m.OnDdl))) + i-- + dAtA[i] = 0x6a + } + if len(m.SourceTimeZone) > 0 { + i -= len(m.SourceTimeZone) + copy(dAtA[i:], m.SourceTimeZone) + i = encodeVarint(dAtA, i, uint64(len(m.SourceTimeZone))) + i-- + dAtA[i] = 0x62 + } + if len(m.ExternalClusterName) > 0 { + i -= len(m.ExternalClusterName) + copy(dAtA[i:], m.ExternalClusterName) + i = encodeVarint(dAtA, i, uint64(len(m.ExternalClusterName))) + i-- + dAtA[i] = 0x5a + } + if len(m.ExcludeTables) > 0 { + for iNdEx := len(m.ExcludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeTables[iNdEx]) + copy(dAtA[i:], m.ExcludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeTables[iNdEx]))) + i-- + dAtA[i] = 0x52 + } + } + if len(m.IncludeTables) > 0 { + for iNdEx := len(m.IncludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeTables[iNdEx]) + copy(dAtA[i:], m.IncludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.IncludeTables[iNdEx]))) + i-- + dAtA[i] = 0x4a + } + } + if m.AllTables { + i-- + if m.AllTables { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if len(m.SourceShards) > 0 { + for iNdEx := len(m.SourceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SourceShards[iNdEx]) + copy(dAtA[i:], m.SourceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.SourceShards[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x30 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x2a + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.SourceKeyspace) > 0 { + i -= len(m.SourceKeyspace) + copy(dAtA[i:], m.SourceKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.SourceKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MoveTablesCreateResponse_TabletInfo) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MoveTablesCreateResponse_TabletInfo) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MoveTablesCreateResponse_TabletInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Created { + i-- + if m.Created { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MoveTablesCreateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MoveTablesCreateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MoveTablesCreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Details) > 0 { + for iNdEx := len(m.Details) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Details[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MoveTablesCompleteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MoveTablesCompleteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MoveTablesCompleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.RenameTables { + i-- + if m.RenameTables { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.KeepRoutingRules { + i-- + if m.KeepRoutingRules { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.KeepData { + i-- + if m.KeepData { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x1a + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MoveTablesCompleteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MoveTablesCompleteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MoveTablesCompleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.DryRunResults) > 0 { + for iNdEx := len(m.DryRunResults) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DryRunResults[iNdEx]) + copy(dAtA[i:], m.DryRunResults[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.DryRunResults[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PingTabletRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PingTabletRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PingTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PingTabletResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PingTabletResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PingTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *PlannedReparentShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PlannedReparentShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PlannedReparentShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TolerableReplicationLag != nil { + if vtmsg, ok := interface{}(m.TolerableReplicationLag).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TolerableReplicationLag) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x32 + } + if m.WaitReplicasTimeout != nil { + if vtmsg, ok := interface{}(m.WaitReplicasTimeout).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.WaitReplicasTimeout) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.AvoidPrimary != nil { + if vtmsg, ok := interface{}(m.AvoidPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.AvoidPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.NewPrimary != nil { + if vtmsg, ok := interface{}(m.NewPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.NewPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PlannedReparentShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PlannedReparentShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PlannedReparentShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + } + if m.PromotedPrimary != nil { + if vtmsg, ok := interface{}(m.PromotedPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.PromotedPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RebuildKeyspaceGraphRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RebuildKeyspaceGraphRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RebuildKeyspaceGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AllowPartial { + i-- + if m.AllowPartial { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RebuildKeyspaceGraphResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RebuildKeyspaceGraphResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RebuildKeyspaceGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RebuildVSchemaGraphRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RebuildVSchemaGraphRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RebuildVSchemaGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *RebuildVSchemaGraphResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RebuildVSchemaGraphResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RebuildVSchemaGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateByShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateByShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateByShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RefreshStateByShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RefreshStateByShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RefreshStateByShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.PartialRefreshDetails) > 0 { + i -= len(m.PartialRefreshDetails) + copy(dAtA[i:], m.PartialRefreshDetails) + i = encodeVarint(dAtA, i, uint64(len(m.PartialRefreshDetails))) + i-- + dAtA[i] = 0x12 + } + if m.IsPartialRefresh { + i-- + if m.IsPartialRefresh { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x20 + } + if m.IncludePrimary { + i-- + if m.IncludePrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Concurrency != 0 { + i = encodeVarint(dAtA, i, uint64(m.Concurrency)) + i-- + dAtA[i] = 0x28 + } + if m.IncludePrimary { + i-- + if m.IncludePrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.WaitPosition) > 0 { + i -= len(m.WaitPosition) + copy(dAtA[i:], m.WaitPosition) + i = encodeVarint(dAtA, i, uint64(len(m.WaitPosition))) + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReloadSchemaShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReloadSchemaShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReloadSchemaShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + } + return len(dAtA) - i, nil +} + +func (m *RemoveBackupRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveBackupRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveBackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RemoveBackupResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveBackupResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveBackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RemoveKeyspaceCellRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveKeyspaceCellRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveKeyspaceCellRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Recursive { + i-- + if m.Recursive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RemoveKeyspaceCellResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveKeyspaceCellResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveKeyspaceCellResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *RemoveShardCellRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveShardCellRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveShardCellRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Recursive { + i-- + if m.Recursive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x1a + } + if len(m.ShardName) > 0 { + i -= len(m.ShardName) + copy(dAtA[i:], m.ShardName) + i = encodeVarint(dAtA, i, uint64(len(m.ShardName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RemoveShardCellResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RemoveShardCellResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RemoveShardCellResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ReparentTabletRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReparentTabletRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReparentTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReparentTabletResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReparentTabletResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReparentTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Primary != nil { + if vtmsg, ok := interface{}(m.Primary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Primary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReshardCreateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReshardCreateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReshardCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AutoStart { + i-- + if m.AutoStart { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if m.DeferSecondaryKeys { + i-- + if m.DeferSecondaryKeys { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x58 + } + if m.StopAfterCopy { + i-- + if m.StopAfterCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } + if len(m.OnDdl) > 0 { + i -= len(m.OnDdl) + copy(dAtA[i:], m.OnDdl) + i = encodeVarint(dAtA, i, uint64(len(m.OnDdl))) + i-- + dAtA[i] = 0x4a + } + if m.SkipSchemaCopy { + i-- + if m.SkipSchemaCopy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x38 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x32 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.TargetShards) > 0 { + for iNdEx := len(m.TargetShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TargetShards[iNdEx]) + copy(dAtA[i:], m.TargetShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.TargetShards[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.SourceShards) > 0 { + for iNdEx := len(m.SourceShards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SourceShards[iNdEx]) + copy(dAtA[i:], m.SourceShards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.SourceShards[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RestoreFromBackupRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RestoreFromBackupRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RestoreFromBackupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RestoreToTimestamp != nil { + if vtmsg, ok := interface{}(m.RestoreToTimestamp).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RestoreToTimestamp) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.RestoreToPos) > 0 { + i -= len(m.RestoreToPos) + copy(dAtA[i:], m.RestoreToPos) + i = encodeVarint(dAtA, i, uint64(len(m.RestoreToPos))) + i-- + dAtA[i] = 0x1a + } + if m.BackupTime != nil { + if vtmsg, ok := interface{}(m.BackupTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.BackupTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RestoreFromBackupResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RestoreFromBackupResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RestoreFromBackupResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Event != nil { + if vtmsg, ok := interface{}(m.Event).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Event) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x1a + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RetrySchemaMigrationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RetrySchemaMigrationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RetrySchemaMigrationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RetrySchemaMigrationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RetrySchemaMigrationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RetrySchemaMigrationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RowsAffectedByShard) > 0 { + for k := range m.RowsAffectedByShard { + v := m.RowsAffectedByShard[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *RunHealthCheckRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunHealthCheckRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunHealthCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RunHealthCheckResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RunHealthCheckResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RunHealthCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SetKeyspaceDurabilityPolicyRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetKeyspaceDurabilityPolicyRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetKeyspaceDurabilityPolicyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.DurabilityPolicy) > 0 { + i -= len(m.DurabilityPolicy) + copy(dAtA[i:], m.DurabilityPolicy) + i = encodeVarint(dAtA, i, uint64(len(m.DurabilityPolicy))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetKeyspaceDurabilityPolicyResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetKeyspaceDurabilityPolicyResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetKeyspaceDurabilityPolicyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Keyspace != nil { + if vtmsg, ok := interface{}(m.Keyspace).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Keyspace) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetKeyspaceShardingInfoRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetKeyspaceShardingInfoRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetKeyspaceShardingInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Force { + i-- + if m.Force { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetKeyspaceShardingInfoResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetKeyspaceShardingInfoResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetKeyspaceShardingInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Keyspace != nil { + if vtmsg, ok := interface{}(m.Keyspace).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Keyspace) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetShardIsPrimaryServingRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetShardIsPrimaryServingRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetShardIsPrimaryServingRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IsServing { + i-- + if m.IsServing { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetShardIsPrimaryServingResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetShardIsPrimaryServingResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetShardIsPrimaryServingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Shard != nil { + if vtmsg, ok := interface{}(m.Shard).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Shard) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetShardTabletControlRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetShardTabletControlRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetShardTabletControlRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Remove { + i-- + if m.Remove { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.DisableQueryService { + i-- + if m.DisableQueryService { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.DeniedTables) > 0 { + for iNdEx := len(m.DeniedTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DeniedTables[iNdEx]) + copy(dAtA[i:], m.DeniedTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.DeniedTables[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if m.TabletType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletType)) + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetShardTabletControlResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetShardTabletControlResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetShardTabletControlResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Shard != nil { + if vtmsg, ok := interface{}(m.Shard).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Shard) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetWritableRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetWritableRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetWritableRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Writable { + i-- + if m.Writable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetWritableResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetWritableResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SetWritableResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationAddRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationAddRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationAddRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationAddResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationAddResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationAddResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationFixRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationFixRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationFixRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Cell) > 0 { + i -= len(m.Cell) + copy(dAtA[i:], m.Cell) + i = encodeVarint(dAtA, i, uint64(len(m.Cell))) + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationFixResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationFixResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationFixResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationPositionsRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationPositionsRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationPositionsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationPositionsResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationPositionsResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationPositionsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TabletMap) > 0 { + for k := range m.TabletMap { + v := m.TabletMap[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ReplicationStatuses) > 0 { + for k := range m.ReplicationStatuses { + v := m.ReplicationStatuses[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationRemoveRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationRemoveRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationRemoveRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ShardReplicationRemoveResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ShardReplicationRemoveResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ShardReplicationRemoveResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SleepTabletRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SleepTabletRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SleepTabletRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Duration != nil { + if vtmsg, ok := interface{}(m.Duration).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Duration) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SleepTabletResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SleepTabletResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SleepTabletResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *SourceShardAddRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SourceShardAddRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SourceShardAddRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if m.KeyRange != nil { + if vtmsg, ok := interface{}(m.KeyRange).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.KeyRange) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x32 + } + if len(m.SourceShard) > 0 { + i -= len(m.SourceShard) + copy(dAtA[i:], m.SourceShard) + i = encodeVarint(dAtA, i, uint64(len(m.SourceShard))) + i-- + dAtA[i] = 0x2a + } + if len(m.SourceKeyspace) > 0 { + i -= len(m.SourceKeyspace) + copy(dAtA[i:], m.SourceKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.SourceKeyspace))) + i-- + dAtA[i] = 0x22 + } + if m.Uid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Uid)) + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SourceShardAddResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SourceShardAddResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SourceShardAddResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Shard != nil { + if vtmsg, ok := interface{}(m.Shard).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Shard) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SourceShardDeleteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SourceShardDeleteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SourceShardDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Uid != 0 { + i = encodeVarint(dAtA, i, uint64(m.Uid)) + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SourceShardDeleteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SourceShardDeleteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *SourceShardDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Shard != nil { + if vtmsg, ok := interface{}(m.Shard).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Shard) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StartReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StopReplicationResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StopReplicationResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StopReplicationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *TabletExternallyReparentedRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TabletExternallyReparentedRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyReparentedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TabletExternallyReparentedResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TabletExternallyReparentedResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *TabletExternallyReparentedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.OldPrimary != nil { + if vtmsg, ok := interface{}(m.OldPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.OldPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.NewPrimary != nil { + if vtmsg, ok := interface{}(m.NewPrimary).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.NewPrimary) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateCellInfoRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateCellInfoRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateCellInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CellInfo != nil { + if vtmsg, ok := interface{}(m.CellInfo).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CellInfo) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateCellInfoResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateCellInfoResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateCellInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CellInfo != nil { + if vtmsg, ok := interface{}(m.CellInfo).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CellInfo) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateCellsAliasRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateCellsAliasRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateCellsAliasRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CellsAlias != nil { + if vtmsg, ok := interface{}(m.CellsAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CellsAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateCellsAliasResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateCellsAliasResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *UpdateCellsAliasResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.CellsAlias != nil { + if vtmsg, ok := interface{}(m.CellsAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CellsAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ValidateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ResultsByKeyspace) > 0 { + for k := range m.ResultsByKeyspace { + v := m.ResultsByKeyspace[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Results[iNdEx]) + copy(dAtA[i:], m.Results[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Results[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ValidateKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ResultsByShard) > 0 { + for k := range m.ResultsByShard { + v := m.ResultsByShard[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Results[iNdEx]) + copy(dAtA[i:], m.Results[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Results[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ValidateSchemaKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateSchemaKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateSchemaKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IncludeVschema { + i-- + if m.IncludeVschema { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.SkipNoPrimary { + i-- + if m.SkipNoPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.IncludeViews { + i-- + if m.IncludeViews { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.ExcludeTables) > 0 { + for iNdEx := len(m.ExcludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeTables[iNdEx]) + copy(dAtA[i:], m.ExcludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeTables[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateSchemaKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateSchemaKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateSchemaKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ResultsByShard) > 0 { + for k := range m.ResultsByShard { + v := m.ResultsByShard[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Results[iNdEx]) + copy(dAtA[i:], m.Results[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Results[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ValidateShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.PingTablets { + i-- + if m.PingTablets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Results[iNdEx]) + copy(dAtA[i:], m.Results[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Results[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ValidateVersionKeyspaceRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVersionKeyspaceRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionKeyspaceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateVersionKeyspaceResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVersionKeyspaceResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionKeyspaceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ResultsByShard) > 0 { + for k := range m.ResultsByShard { + v := m.ResultsByShard[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Results[iNdEx]) + copy(dAtA[i:], m.Results[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Results[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ValidateVersionShardRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVersionShardRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionShardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shard) > 0 { + i -= len(m.Shard) + copy(dAtA[i:], m.Shard) + i = encodeVarint(dAtA, i, uint64(len(m.Shard))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateVersionShardResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVersionShardResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVersionShardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Results[iNdEx]) + copy(dAtA[i:], m.Results[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Results[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ValidateVSchemaRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVSchemaRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IncludeViews { + i-- + if m.IncludeViews { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.ExcludeTables) > 0 { + for iNdEx := len(m.ExcludeTables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExcludeTables[iNdEx]) + copy(dAtA[i:], m.ExcludeTables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.ExcludeTables[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidateVSchemaResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ValidateVSchemaResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ValidateVSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.ResultsByShard) > 0 { + for k := range m.ResultsByShard { + v := m.ResultsByShard[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Results[iNdEx]) + copy(dAtA[i:], m.Results[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Results[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *VDiffCreateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffCreateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MaxDiffDuration != nil { + if vtmsg, ok := interface{}(m.MaxDiffDuration).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.MaxDiffDuration) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if m.MaxReportSampleRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxReportSampleRows)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if m.Verbose { + i-- + if m.Verbose { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if m.AutoRetry { + i-- + if m.AutoRetry { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.WaitUpdateInterval != nil { + if vtmsg, ok := interface{}(m.WaitUpdateInterval).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.WaitUpdateInterval) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if m.Wait { + i-- + if m.Wait { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x78 + } + if m.MaxExtraRowsToCompare != 0 { + i = encodeVarint(dAtA, i, uint64(m.MaxExtraRowsToCompare)) + i-- + dAtA[i] = 0x70 + } + if m.UpdateTableStats { + i-- + if m.UpdateTableStats { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x68 + } + if m.OnlyPKs { + i-- + if m.OnlyPKs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if m.DebugQuery { + i-- + if m.DebugQuery { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x58 + } + if m.FilteredReplicationWaitTime != nil { + if vtmsg, ok := interface{}(m.FilteredReplicationWaitTime).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.FilteredReplicationWaitTime) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x52 + } + if m.Limit != 0 { + i = encodeVarint(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x48 + } + if len(m.Tables) > 0 { + for iNdEx := len(m.Tables) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tables[iNdEx]) + copy(dAtA[i:], m.Tables[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Tables[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if m.TabletSelectionPreference != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletSelectionPreference)) + i-- + dAtA[i] = 0x38 + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x32 + } + if len(m.TargetCells) > 0 { + for iNdEx := len(m.TargetCells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TargetCells[iNdEx]) + copy(dAtA[i:], m.TargetCells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.TargetCells[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.SourceCells) > 0 { + for iNdEx := len(m.SourceCells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SourceCells[iNdEx]) + copy(dAtA[i:], m.SourceCells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.SourceCells[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x1a + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffCreateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffCreateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffCreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.UUID) > 0 { + i -= len(m.UUID) + copy(dAtA[i:], m.UUID) + i = encodeVarint(dAtA, i, uint64(len(m.UUID))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffDeleteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffDeleteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Arg) > 0 { + i -= len(m.Arg) + copy(dAtA[i:], m.Arg) + i = encodeVarint(dAtA, i, uint64(len(m.Arg))) + i-- + dAtA[i] = 0x1a + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffDeleteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffDeleteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *VDiffResumeRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffResumeRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffResumeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x1a + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffResumeResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffResumeResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffResumeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *VDiffShowRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffShowRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffShowRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Arg) > 0 { + i -= len(m.Arg) + copy(dAtA[i:], m.Arg) + i = encodeVarint(dAtA, i, uint64(len(m.Arg))) + i-- + dAtA[i] = 0x1a + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffShowResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffShowResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffShowResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TabletResponses) > 0 { + for k := range m.TabletResponses { + v := m.TabletResponses[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *VDiffStopRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffStopRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffStopRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarint(dAtA, i, uint64(len(m.Uuid))) + i-- + dAtA[i] = 0x1a + } + if len(m.TargetKeyspace) > 0 { + i -= len(m.TargetKeyspace) + copy(dAtA[i:], m.TargetKeyspace) + i = encodeVarint(dAtA, i, uint64(len(m.TargetKeyspace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VDiffStopResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VDiffStopResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VDiffStopResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *WorkflowDeleteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowDeleteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.KeepRoutingRules { + i-- + if m.KeepRoutingRules { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.KeepData { + i-- + if m.KeepData { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowDeleteResponse_TabletInfo) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowDeleteResponse_TabletInfo) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowDeleteResponse_TabletInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Deleted { + i-- + if m.Deleted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowDeleteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowDeleteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Details) > 0 { + for iNdEx := len(m.Details) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Details[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowStatusRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowStatusRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowStatusResponse_TableCopyState) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowStatusResponse_TableCopyState) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowStatusResponse_TableCopyState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.BytesPercentage != 0 { + i -= 4 + binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BytesPercentage)))) + i-- + dAtA[i] = 0x35 + } + if m.BytesTotal != 0 { + i = encodeVarint(dAtA, i, uint64(m.BytesTotal)) + i-- + dAtA[i] = 0x28 + } + if m.BytesCopied != 0 { + i = encodeVarint(dAtA, i, uint64(m.BytesCopied)) + i-- + dAtA[i] = 0x20 + } + if m.RowsPercentage != 0 { + i -= 4 + binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.RowsPercentage)))) + i-- + dAtA[i] = 0x1d + } + if m.RowsTotal != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsTotal)) + i-- + dAtA[i] = 0x10 + } + if m.RowsCopied != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowsCopied)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *WorkflowStatusResponse_ShardStreamState) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowStatusResponse_ShardStreamState) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowStatusResponse_ShardStreamState) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Info) > 0 { + i -= len(m.Info) + copy(dAtA[i:], m.Info) + i = encodeVarint(dAtA, i, uint64(len(m.Info))) + i-- + dAtA[i] = 0x32 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarint(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x2a + } + if len(m.Position) > 0 { + i -= len(m.Position) + copy(dAtA[i:], m.Position) + i = encodeVarint(dAtA, i, uint64(len(m.Position))) + i-- + dAtA[i] = 0x22 + } + if len(m.SourceShard) > 0 { + i -= len(m.SourceShard) + copy(dAtA[i:], m.SourceShard) + i = encodeVarint(dAtA, i, uint64(len(m.SourceShard))) + i-- + dAtA[i] = 0x1a + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarint(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *WorkflowStatusResponse_ShardStreams) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowStatusResponse_ShardStreams) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowStatusResponse_ShardStreams) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Streams) > 0 { + for iNdEx := len(m.Streams) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Streams[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + return len(dAtA) - i, nil +} + +func (m *WorkflowStatusResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowStatusResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TrafficState) > 0 { + i -= len(m.TrafficState) + copy(dAtA[i:], m.TrafficState) + i = encodeVarint(dAtA, i, uint64(len(m.TrafficState))) + i-- + dAtA[i] = 0x1a + } + if len(m.ShardStreams) > 0 { + for k := range m.ShardStreams { + v := m.ShardStreams[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.TableCopyState) > 0 { + for k := range m.TableCopyState { + v := m.TableCopyState[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *WorkflowSwitchTrafficRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowSwitchTrafficRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowSwitchTrafficRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Shards[iNdEx]) + copy(dAtA[i:], m.Shards[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Shards[iNdEx]))) + i-- + dAtA[i] = 0x5a + } + } + if m.InitializeTargetSequences { + i-- + if m.InitializeTargetSequences { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } + if m.DryRun { + i-- + if m.DryRun { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if m.Timeout != nil { + if vtmsg, ok := interface{}(m.Timeout).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Timeout) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 + } + if m.Direction != 0 { + i = encodeVarint(dAtA, i, uint64(m.Direction)) + i-- + dAtA[i] = 0x38 + } + if m.EnableReverseReplication { + i-- + if m.EnableReverseReplication { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.MaxReplicationLagAllowed != nil { + if vtmsg, ok := interface{}(m.MaxReplicationLagAllowed).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.MaxReplicationLagAllowed) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x2a + } + if len(m.TabletTypes) > 0 { + var pksize2 int + for _, num := range m.TabletTypes { + pksize2 += sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range m.TabletTypes { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = encodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x22 + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Workflow) > 0 { + i -= len(m.Workflow) + copy(dAtA[i:], m.Workflow) + i = encodeVarint(dAtA, i, uint64(len(m.Workflow))) + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowSwitchTrafficResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowSwitchTrafficResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowSwitchTrafficResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.DryRunResults) > 0 { + for iNdEx := len(m.DryRunResults) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DryRunResults[iNdEx]) + copy(dAtA[i:], m.DryRunResults[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.DryRunResults[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.CurrentState) > 0 { + i -= len(m.CurrentState) + copy(dAtA[i:], m.CurrentState) + i = encodeVarint(dAtA, i, uint64(len(m.CurrentState))) + i-- + dAtA[i] = 0x1a + } + if len(m.StartState) > 0 { + i -= len(m.StartState) + copy(dAtA[i:], m.StartState) + i = encodeVarint(dAtA, i, uint64(len(m.StartState))) + i-- + dAtA[i] = 0x12 + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowUpdateRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowUpdateRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowUpdateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.TabletRequest != nil { + if vtmsg, ok := interface{}(m.TabletRequest).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletRequest) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Keyspace) > 0 { + i -= len(m.Keyspace) + copy(dAtA[i:], m.Keyspace) + i = encodeVarint(dAtA, i, uint64(len(m.Keyspace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowUpdateResponse_TabletInfo) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowUpdateResponse_TabletInfo) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowUpdateResponse_TabletInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Changed { + i-- + if m.Changed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Tablet != nil { + if vtmsg, ok := interface{}(m.Tablet).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Tablet) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowUpdateResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowUpdateResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *WorkflowUpdateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Details) > 0 { + for iNdEx := len(m.Details) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Details[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Summary) > 0 { + i -= len(m.Summary) + copy(dAtA[i:], m.Summary) + i = encodeVarint(dAtA, i, uint64(len(m.Summary))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *ExecuteVtctlCommandRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Args) > 0 { + for _, s := range m.Args { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.ActionTimeout != 0 { + n += 1 + sov(uint64(m.ActionTimeout)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteVtctlCommandResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Event != nil { + if size, ok := interface{}(m.Event).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Event) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TableMaterializeSettings) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TargetTable) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceExpression) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CreateDdl) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MaterializeSettings) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.StopAfterCopy { + n += 2 + } + if len(m.TableSettings) > 0 { + for _, e := range m.TableSettings { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TabletTypes) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ExternalCluster) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaterializationIntent != 0 { + n += 1 + sov(uint64(m.MaterializationIntent)) + } + l = len(m.SourceTimeZone) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetTimeZone) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.SourceShards) > 0 { + for _, s := range m.SourceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.OnDdl) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.DeferSecondaryKeys { + n += 2 + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if m.AtomicCopy { + n += 3 + } + n += len(m.unknownFields) + return n +} + +func (m *Keyspace) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Keyspace != nil { + if size, ok := interface{}(m.Keyspace).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Keyspace) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SchemaMigration) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Schema) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Table) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.MigrationStatement) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Strategy != 0 { + n += 1 + sov(uint64(m.Strategy)) + } + l = len(m.Options) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.AddedAt != nil { + if size, ok := interface{}(m.AddedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.AddedAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.RequestedAt != nil { + if size, ok := interface{}(m.RequestedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RequestedAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.ReadyAt != nil { + if size, ok := interface{}(m.ReadyAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ReadyAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.StartedAt != nil { + if size, ok := interface{}(m.StartedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.StartedAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.LivenessTimestamp != nil { + if size, ok := interface{}(m.LivenessTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.LivenessTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + if m.CompletedAt != nil { + if size, ok := interface{}(m.CompletedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CompletedAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.CleanedUpAt != nil { + if size, ok := interface{}(m.CleanedUpAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CleanedUpAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.Status != 0 { + n += 2 + sov(uint64(m.Status)) + } + l = len(m.LogPath) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.Artifacts) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.Retries != 0 { + n += 2 + sov(uint64(m.Retries)) + } + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 2 + l + sov(uint64(l)) + } + if m.TabletFailure { + n += 3 + } + if m.Progress != 0 { + n += 6 + } + l = len(m.MigrationContext) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.DdlAction) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.EtaSeconds != 0 { + n += 2 + sov(uint64(m.EtaSeconds)) + } + if m.RowsCopied != 0 { + n += 2 + sov(uint64(m.RowsCopied)) + } + if m.TableRows != 0 { + n += 2 + sov(uint64(m.TableRows)) + } + if m.AddedUniqueKeys != 0 { + n += 2 + sov(uint64(m.AddedUniqueKeys)) + } + if m.RemovedUniqueKeys != 0 { + n += 2 + sov(uint64(m.RemovedUniqueKeys)) + } + l = len(m.LogFile) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.ArtifactRetention != nil { + if size, ok := interface{}(m.ArtifactRetention).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ArtifactRetention) + } + n += 2 + l + sov(uint64(l)) + } + if m.PostponeCompletion { + n += 3 + } + l = len(m.RemovedUniqueKeyNames) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.DroppedNoDefaultColumnNames) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.ExpandedColumnNames) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.RevertibleNotes) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.AllowConcurrent { + n += 3 + } + l = len(m.RevertedUuid) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.IsView { + n += 3 + } + if m.ReadyToComplete { + n += 3 + } + if m.VitessLivenessIndicator != 0 { + n += 2 + sov(uint64(m.VitessLivenessIndicator)) + } + if m.UserThrottleRatio != 0 { + n += 6 + } + l = len(m.SpecialPlan) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.LastThrottledAt != nil { + if size, ok := interface{}(m.LastThrottledAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.LastThrottledAt) + } + n += 2 + l + sov(uint64(l)) + } + l = len(m.ComponentThrottled) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.CancelledAt != nil { + if size, ok := interface{}(m.CancelledAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CancelledAt) + } + n += 2 + l + sov(uint64(l)) + } + if m.PostponeLaunch { + n += 3 + } + l = len(m.Stage) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.CutoverAttempts != 0 { + n += 2 + sov(uint64(m.CutoverAttempts)) + } + if m.IsImmediateOperation { + n += 3 + } + if m.ReviewedAt != nil { + if size, ok := interface{}(m.ReviewedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ReviewedAt) + } + n += 2 + l + sov(uint64(l)) + } + if m.ReadyToCompleteAt != nil { + if size, ok := interface{}(m.ReadyToCompleteAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ReadyToCompleteAt) + } + n += 2 + l + sov(uint64(l)) + } + l = len(m.RemovedForeignKeyNames) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Shard) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Shard != nil { + if size, ok := interface{}(m.Shard).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Shard) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow_ReplicationLocation) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow_ShardStream) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Streams) > 0 { + for _, e := range m.Streams { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletControls) > 0 { + for _, e := range m.TabletControls { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if m.IsPrimaryServing { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow_Stream_CopyState) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Table) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.LastPk) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.StreamId != 0 { + n += 1 + sov(uint64(m.StreamId)) + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow_Stream_Log) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + if m.StreamId != 0 { + n += 1 + sov(uint64(m.StreamId)) + } + l = len(m.Type) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.State) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CreatedAt != nil { + if size, ok := interface{}(m.CreatedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CreatedAt) + } + n += 1 + l + sov(uint64(l)) + } + if m.UpdatedAt != nil { + if size, ok := interface{}(m.UpdatedAt).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.UpdatedAt) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Count != 0 { + n += 1 + sov(uint64(m.Count)) + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow_Stream_ThrottlerStatus) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ComponentThrottled) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TimeThrottled != nil { + if size, ok := interface{}(m.TimeThrottled).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeThrottled) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow_Stream) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + if m.BinlogSource != nil { + if size, ok := interface{}(m.BinlogSource).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.BinlogSource) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.StopPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.State) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TransactionTimestamp != nil { + if size, ok := interface{}(m.TransactionTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TransactionTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + if m.TimeUpdated != nil { + if size, ok := interface{}(m.TimeUpdated).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TimeUpdated) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.CopyStates) > 0 { + for _, e := range m.CopyStates { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Logs) > 0 { + for _, e := range m.Logs { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.LogFetchError) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.RowsCopied != 0 { + n += 2 + sov(uint64(m.RowsCopied)) + } + if m.ThrottlerStatus != nil { + l = m.ThrottlerStatus.SizeVT() + n += 2 + l + sov(uint64(l)) + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 2 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 2 + sov(uint64(m.TabletSelectionPreference)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 2 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Workflow) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Source != nil { + l = m.Source.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Target != nil { + l = m.Target.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.MaxVReplicationLag != 0 { + n += 1 + sov(uint64(m.MaxVReplicationLag)) + } + if len(m.ShardStreams) > 0 { + for k, v := range m.ShardStreams { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.WorkflowType) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.WorkflowSubType) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxVReplicationTransactionLag != 0 { + n += 1 + sov(uint64(m.MaxVReplicationTransactionLag)) + } + if m.DeferSecondaryKeys { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *AddCellInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CellInfo != nil { + if size, ok := interface{}(m.CellInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellInfo) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *AddCellInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *AddCellsAliasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *AddCellsAliasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ApplyRoutingRulesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RoutingRules != nil { + if size, ok := interface{}(m.RoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + if m.SkipRebuild { + n += 2 + } + if len(m.RebuildCells) > 0 { + for _, s := range m.RebuildCells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyRoutingRulesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ApplyShardRoutingRulesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ShardRoutingRules != nil { + if size, ok := interface{}(m.ShardRoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ShardRoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + if m.SkipRebuild { + n += 2 + } + if len(m.RebuildCells) > 0 { + for _, s := range m.RebuildCells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyShardRoutingRulesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ApplySchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Sql) > 0 { + for _, s := range m.Sql { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.DdlStrategy) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.UuidList) > 0 { + for _, s := range m.UuidList { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.MigrationContext) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.WaitReplicasTimeout != nil { + if size, ok := interface{}(m.WaitReplicasTimeout).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.WaitReplicasTimeout) + } + n += 1 + l + sov(uint64(l)) + } + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.BatchSize != 0 { + n += 1 + sov(uint64(m.BatchSize)) + } + n += len(m.unknownFields) + return n +} + +func (m *ApplySchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.UuidList) > 0 { + for _, s := range m.UuidList { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SkipRebuild { + n += 2 + } + if m.DryRun { + n += 2 + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.VSchema != nil { + if size, ok := interface{}(m.VSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.VSchema) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Sql) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Strict { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyVSchemaResponse_ParamList) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Params) > 0 { + for _, s := range m.Params { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ApplyVSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.VSchema != nil { + if size, ok := interface{}(m.VSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.VSchema) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.UnknownVindexParams) > 0 { + for k, v := range m.UnknownVindexParams { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *BackupRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.AllowPrimary { + n += 2 + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + l = len(m.IncrementalFromPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.UpgradeSafe { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *BackupResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Event != nil { + if size, ok := interface{}(m.Event).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Event) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *BackupShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.AllowPrimary { + n += 2 + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + if m.UpgradeSafe { + n += 2 + } + l = len(m.IncrementalFromPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CancelSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CancelSchemaMigrationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ChangeTabletTypeRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.DbType != 0 { + n += 1 + sov(uint64(m.DbType)) + } + if m.DryRun { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ChangeTabletTypeResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BeforeTablet != nil { + if size, ok := interface{}(m.BeforeTablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.BeforeTablet) + } + n += 1 + l + sov(uint64(l)) + } + if m.AfterTablet != nil { + if size, ok := interface{}(m.AfterTablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.AfterTablet) + } + n += 1 + l + sov(uint64(l)) + } + if m.WasDryRun { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *CleanupSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CleanupSchemaMigrationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *CompleteSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CompleteSchemaMigrationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *CreateKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.AllowEmptyVSchema { + n += 2 + } + if m.Type != 0 { + n += 1 + sov(uint64(m.Type)) + } + l = len(m.BaseKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.SnapshotTime != nil { + if size, ok := interface{}(m.SnapshotTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.SnapshotTime) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.DurabilityPolicy) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SidecarDbName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + l = m.Keyspace.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CreateShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ShardName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.IncludeParent { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *CreateShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + l = m.Keyspace.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Shard != nil { + l = m.Shard.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.ShardAlreadyExists { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteCellInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteCellInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DeleteCellsAliasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteCellsAliasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DeleteKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Recursive { + n += 2 + } + if m.Force { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DeleteShardsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Shards) > 0 { + for _, e := range m.Shards { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.Recursive { + n += 2 + } + if m.EvenIfServing { + n += 2 + } + if m.Force { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteShardsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DeleteSrvVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteSrvVSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *DeleteTabletsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TabletAliases) > 0 { + for _, e := range m.TabletAliases { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if m.AllowPrimary { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *DeleteTabletsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *EmergencyReparentShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.NewPrimary != nil { + if size, ok := interface{}(m.NewPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.NewPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.IgnoreReplicas) > 0 { + for _, e := range m.IgnoreReplicas { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if m.WaitReplicasTimeout != nil { + if size, ok := interface{}(m.WaitReplicasTimeout).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.WaitReplicasTimeout) + } + n += 1 + l + sov(uint64(l)) + } + if m.PreventCrossCellPromotion { + n += 2 + } + if m.WaitForAllTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *EmergencyReparentShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PromotedPrimary != nil { + if size, ok := interface{}(m.PromotedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PromotedPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAppRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.UsePool { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsAppResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsDBARequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.MaxRows != 0 { + n += 1 + sov(uint64(m.MaxRows)) + } + if m.DisableBinlogs { + n += 2 + } + if m.ReloadSchema { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteFetchAsDBAResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteHookRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.TabletHookRequest != nil { + if size, ok := interface{}(m.TabletHookRequest).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletHookRequest) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteHookResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.HookResult != nil { + if size, ok := interface{}(m.HookResult).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.HookResult) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *FindAllShardsInKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *FindAllShardsInKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Shards) > 0 { + for k, v := range m.Shards { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ForceCutOverSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ForceCutOverSchemaMigrationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetBackupsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Limit != 0 { + n += 1 + sov(uint64(m.Limit)) + } + if m.Detailed { + n += 2 + } + if m.DetailedLimit != 0 { + n += 1 + sov(uint64(m.DetailedLimit)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetBackupsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Backups) > 0 { + for _, e := range m.Backups { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CellInfo != nil { + if size, ok := interface{}(m.CellInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellInfo) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellInfoNamesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetCellInfoNamesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetCellsAliasesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetCellsAliasesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Aliases) > 0 { + for k, v := range m.Aliases { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetFullStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetFullStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + if size, ok := interface{}(m.Status).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Status) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspacesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspacesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Keyspaces) > 0 { + for _, e := range m.Keyspaces { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + l = m.Keyspace.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetPermissionsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetPermissionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Permissions != nil { + if size, ok := interface{}(m.Permissions).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Permissions) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetRoutingRulesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetRoutingRulesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RoutingRules != nil { + if size, ok := interface{}(m.RoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ExcludeTables) > 0 { + for _, s := range m.ExcludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.IncludeViews { + n += 2 + } + if m.TableNamesOnly { + n += 2 + } + if m.TableSizesOnly { + n += 2 + } + if m.TableSchemaOnly { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Schema != nil { + if size, ok := interface{}(m.Schema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Schema) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaMigrationsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.MigrationContext) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Status != 0 { + n += 1 + sov(uint64(m.Status)) + } + if m.Recent != nil { + if size, ok := interface{}(m.Recent).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Recent) + } + n += 1 + l + sov(uint64(l)) + } + if m.Order != 0 { + n += 1 + sov(uint64(m.Order)) + } + if m.Limit != 0 { + n += 1 + sov(uint64(m.Limit)) + } + if m.Skip != 0 { + n += 1 + sov(uint64(m.Skip)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSchemaMigrationsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Migrations) > 0 { + for _, e := range m.Migrations { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ShardReplicationByCell) > 0 { + for k, v := range m.ShardReplicationByCell { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ShardName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Shard != nil { + l = m.Shard.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetShardRoutingRulesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetShardRoutingRulesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ShardRoutingRules != nil { + if size, ok := interface{}(m.ShardRoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ShardRoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspaceNamesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspaceNamesResponse_NameList) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspaceNamesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for k, v := range m.Names { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspacesRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvKeyspacesResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SrvKeyspaces) > 0 { + for k, v := range m.SrvKeyspaces { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateThrottlerConfigRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Enable { + n += 2 + } + if m.Disable { + n += 2 + } + if m.Threshold != 0 { + n += 9 + } + l = len(m.CustomQuery) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CustomQuerySet { + n += 2 + } + if m.CheckAsCheckSelf { + n += 2 + } + if m.CheckAsCheckShard { + n += 2 + } + if m.ThrottledApp != nil { + if size, ok := interface{}(m.ThrottledApp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.ThrottledApp) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateThrottlerConfigResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SrvVSchema != nil { + if size, ok := interface{}(m.SrvVSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.SrvVSchema) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetSrvVSchemasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SrvVSchemas) > 0 { + for k, v := range m.SrvVSchemas { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Strict { + n += 2 + } + if len(m.TabletAliases) > 0 { + for _, e := range m.TabletAliases { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetTabletsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Tablets) > 0 { + for _, e := range m.Tablets { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetTopologyPathRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Path) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetTopologyPathResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cell != nil { + l = m.Cell.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TopologyCell) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Path) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Children) > 0 { + for _, s := range m.Children { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetVersionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetVersionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Version) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetVSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.VSchema != nil { + if size, ok := interface{}(m.VSchema).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.VSchema) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ActiveOnly { + n += 2 + } + if m.NameOnly { + n += 2 + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IncludeLogs { + n += 2 + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *GetWorkflowsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Workflows) > 0 { + for _, e := range m.Workflows { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *InitShardPrimaryRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PrimaryElectTabletAlias != nil { + if size, ok := interface{}(m.PrimaryElectTabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PrimaryElectTabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.WaitReplicasTimeout != nil { + if size, ok := interface{}(m.WaitReplicasTimeout).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.WaitReplicasTimeout) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *InitShardPrimaryResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *LaunchSchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *LaunchSchemaMigrationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *LookupVindexCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Vindex != nil { + if size, ok := interface{}(m.Vindex).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Vindex) + } + n += 1 + l + sov(uint64(l)) + } + if m.ContinueAfterCopyWithOwner { + n += 2 + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + n += len(m.unknownFields) + return n +} + +func (m *LookupVindexCreateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *LookupVindexExternalizeRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TableKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *LookupVindexExternalizeResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowDeleted { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *MaterializeCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Settings != nil { + l = m.Settings.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MaterializeCreateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *MigrateCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.MountName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if m.AllTables { + n += 2 + } + if len(m.IncludeTables) > 0 { + for _, s := range m.IncludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ExcludeTables) > 0 { + for _, s := range m.ExcludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.SourceTimeZone) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.OnDdl) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.StopAfterCopy { + n += 2 + } + if m.DropForeignKeys { + n += 2 + } + if m.DeferSecondaryKeys { + n += 2 + } + if m.AutoStart { + n += 3 + } + if m.NoRoutingRules { + n += 3 + } + n += len(m.unknownFields) + return n +} + +func (m *MigrateCompleteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeepData { + n += 2 + } + if m.KeepRoutingRules { + n += 2 + } + if m.RenameTables { + n += 2 + } + if m.DryRun { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *MigrateCompleteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.DryRunResults) > 0 { + for _, s := range m.DryRunResults { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *MountRegisterRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TopoType) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TopoServer) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TopoRoot) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MountRegisterResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *MountUnregisterRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MountUnregisterResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *MountShowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MountShowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TopoType) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TopoServer) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TopoRoot) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MountListRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *MountListResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *MoveTablesCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if len(m.SourceShards) > 0 { + for _, s := range m.SourceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.AllTables { + n += 2 + } + if len(m.IncludeTables) > 0 { + for _, s := range m.IncludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ExcludeTables) > 0 { + for _, s := range m.ExcludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + l = len(m.ExternalClusterName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceTimeZone) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.OnDdl) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.StopAfterCopy { + n += 2 + } + if m.DropForeignKeys { + n += 2 + } + if m.DeferSecondaryKeys { + n += 3 + } + if m.AutoStart { + n += 3 + } + if m.NoRoutingRules { + n += 3 + } + if m.AtomicCopy { + n += 3 + } + n += len(m.unknownFields) + return n +} + +func (m *MoveTablesCreateResponse_TabletInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + if m.Created { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *MoveTablesCreateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Details) > 0 { + for _, e := range m.Details { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *MoveTablesCompleteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeepData { + n += 2 + } + if m.KeepRoutingRules { + n += 2 + } + if m.RenameTables { + n += 2 + } + if m.DryRun { + n += 2 + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *MoveTablesCompleteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.DryRunResults) > 0 { + for _, s := range m.DryRunResults { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *PingTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PingTabletResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *PlannedReparentShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.NewPrimary != nil { + if size, ok := interface{}(m.NewPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.NewPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if m.AvoidPrimary != nil { + if size, ok := interface{}(m.AvoidPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.AvoidPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if m.WaitReplicasTimeout != nil { + if size, ok := interface{}(m.WaitReplicasTimeout).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.WaitReplicasTimeout) + } + n += 1 + l + sov(uint64(l)) + } + if m.TolerableReplicationLag != nil { + if size, ok := interface{}(m.TolerableReplicationLag).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TolerableReplicationLag) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PlannedReparentShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PromotedPrimary != nil { + if size, ok := interface{}(m.PromotedPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.PromotedPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RebuildKeyspaceGraphRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.AllowPartial { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RebuildKeyspaceGraphResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RebuildVSchemaGraphRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RebuildVSchemaGraphResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateByShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RefreshStateByShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsPartialRefresh { + n += 2 + } + l = len(m.PartialRefreshDetails) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IncludePrimary { + n += 2 + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.WaitPosition) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IncludePrimary { + n += 2 + } + if m.Concurrency != 0 { + n += 1 + sov(uint64(m.Concurrency)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReloadSchemaShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveBackupRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveBackupResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RemoveKeyspaceCellRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.Recursive { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveKeyspaceCellResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *RemoveShardCellRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.ShardName) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + if m.Recursive { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RemoveShardCellResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ReparentTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReparentTabletResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Primary != nil { + if size, ok := interface{}(m.Primary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Primary) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReshardCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.SourceShards) > 0 { + for _, s := range m.SourceShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TargetShards) > 0 { + for _, s := range m.TargetShards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if m.SkipSchemaCopy { + n += 2 + } + l = len(m.OnDdl) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.StopAfterCopy { + n += 2 + } + if m.DeferSecondaryKeys { + n += 2 + } + if m.AutoStart { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *RestoreFromBackupRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.BackupTime != nil { + if size, ok := interface{}(m.BackupTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.BackupTime) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.RestoreToPos) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.DryRun { + n += 2 + } + if m.RestoreToTimestamp != nil { + if size, ok := interface{}(m.RestoreToTimestamp).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RestoreToTimestamp) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RestoreFromBackupResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Event != nil { + if size, ok := interface{}(m.Event).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Event) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RetrySchemaMigrationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RetrySchemaMigrationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.RowsAffectedByShard) > 0 { + for k, v := range m.RowsAffectedByShard { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *RunHealthCheckResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SetKeyspaceDurabilityPolicyRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DurabilityPolicy) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetKeyspaceDurabilityPolicyResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + if size, ok := interface{}(m.Keyspace).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Keyspace) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetKeyspaceShardingInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Force { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *SetKeyspaceShardingInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Keyspace != nil { + if size, ok := interface{}(m.Keyspace).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Keyspace) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetShardIsPrimaryServingRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.IsServing { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *SetShardIsPrimaryServingResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Shard != nil { + if size, ok := interface{}(m.Shard).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Shard) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetShardTabletControlRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.DeniedTables) > 0 { + for _, s := range m.DeniedTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.DisableQueryService { + n += 2 + } + if m.Remove { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *SetShardTabletControlResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Shard != nil { + if size, ok := interface{}(m.Shard).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Shard) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SetWritableRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.Writable { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *SetWritableResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationAddRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationAddResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationFixRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Cell) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationFixResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationPositionsRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationPositionsResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ReplicationStatuses) > 0 { + for k, v := range m.ReplicationStatuses { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.TabletMap) > 0 { + for k, v := range m.TabletMap { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationRemoveRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ShardReplicationRemoveResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SleepTabletRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.Duration != nil { + if size, ok := interface{}(m.Duration).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Duration) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SleepTabletResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *SourceShardAddRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Uid != 0 { + n += 1 + sov(uint64(m.Uid)) + } + l = len(m.SourceKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceShard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeyRange != nil { + if size, ok := interface{}(m.KeyRange).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.KeyRange) + } + n += 1 + l + sov(uint64(l)) + } + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *SourceShardAddResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Shard != nil { + if size, ok := interface{}(m.Shard).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Shard) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *SourceShardDeleteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Uid != 0 { + n += 1 + sov(uint64(m.Uid)) + } + n += len(m.unknownFields) + return n +} + +func (m *SourceShardDeleteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Shard != nil { + if size, ok := interface{}(m.Shard).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Shard) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StartReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StopReplicationResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyReparentedRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *TabletExternallyReparentedResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.NewPrimary != nil { + if size, ok := interface{}(m.NewPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.NewPrimary) + } + n += 1 + l + sov(uint64(l)) + } + if m.OldPrimary != nil { + if size, ok := interface{}(m.OldPrimary).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.OldPrimary) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateCellInfoRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CellInfo != nil { + if size, ok := interface{}(m.CellInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellInfo) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateCellInfoResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CellInfo != nil { + if size, ok := interface{}(m.CellInfo).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellInfo) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateCellsAliasRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CellsAlias != nil { + if size, ok := interface{}(m.CellsAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellsAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *UpdateCellsAliasResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.CellsAlias != nil { + if size, ok := interface{}(m.CellsAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CellsAlias) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, s := range m.Results { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ResultsByKeyspace) > 0 { + for k, v := range m.ResultsByKeyspace { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, s := range m.Results { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ResultsByShard) > 0 { + for k, v := range m.ResultsByShard { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateSchemaKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.ExcludeTables) > 0 { + for _, s := range m.ExcludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.IncludeViews { + n += 2 + } + if m.SkipNoPrimary { + n += 2 + } + if m.IncludeVschema { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateSchemaKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, s := range m.Results { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ResultsByShard) > 0 { + for k, v := range m.ResultsByShard { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.PingTablets { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, s := range m.Results { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionKeyspaceRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionKeyspaceResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, s := range m.Results { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ResultsByShard) > 0 { + for k, v := range m.ResultsByShard { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionShardRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Shard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVersionShardResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, s := range m.Results { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVSchemaRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ExcludeTables) > 0 { + for _, s := range m.ExcludeTables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.IncludeViews { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ValidateVSchemaResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Results) > 0 { + for _, s := range m.Results { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.ResultsByShard) > 0 { + for k, v := range m.ResultsByShard { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffCreateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.SourceCells) > 0 { + for _, s := range m.SourceCells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TargetCells) > 0 { + for _, s := range m.TargetCells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.TabletSelectionPreference != 0 { + n += 1 + sov(uint64(m.TabletSelectionPreference)) + } + if len(m.Tables) > 0 { + for _, s := range m.Tables { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.Limit != 0 { + n += 1 + sov(uint64(m.Limit)) + } + if m.FilteredReplicationWaitTime != nil { + if size, ok := interface{}(m.FilteredReplicationWaitTime).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.FilteredReplicationWaitTime) + } + n += 1 + l + sov(uint64(l)) + } + if m.DebugQuery { + n += 2 + } + if m.OnlyPKs { + n += 2 + } + if m.UpdateTableStats { + n += 2 + } + if m.MaxExtraRowsToCompare != 0 { + n += 1 + sov(uint64(m.MaxExtraRowsToCompare)) + } + if m.Wait { + n += 2 + } + if m.WaitUpdateInterval != nil { + if size, ok := interface{}(m.WaitUpdateInterval).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.WaitUpdateInterval) + } + n += 2 + l + sov(uint64(l)) + } + if m.AutoRetry { + n += 3 + } + if m.Verbose { + n += 3 + } + if m.MaxReportSampleRows != 0 { + n += 2 + sov(uint64(m.MaxReportSampleRows)) + } + if m.MaxDiffDuration != nil { + if size, ok := interface{}(m.MaxDiffDuration).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.MaxDiffDuration) + } + n += 2 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffCreateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.UUID) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffDeleteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Arg) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffDeleteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *VDiffResumeRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffResumeResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *VDiffShowRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Arg) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffShowResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TabletResponses) > 0 { + for k, v := range m.TabletResponses { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffStopRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TargetKeyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Uuid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VDiffStopResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *WorkflowDeleteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.KeepData { + n += 2 + } + if m.KeepRoutingRules { + n += 2 + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowDeleteResponse_TabletInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + if m.Deleted { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowDeleteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Details) > 0 { + for _, e := range m.Details { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowStatusRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowStatusResponse_TableCopyState) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RowsCopied != 0 { + n += 1 + sov(uint64(m.RowsCopied)) + } + if m.RowsTotal != 0 { + n += 1 + sov(uint64(m.RowsTotal)) + } + if m.RowsPercentage != 0 { + n += 5 + } + if m.BytesCopied != 0 { + n += 1 + sov(uint64(m.BytesCopied)) + } + if m.BytesTotal != 0 { + n += 1 + sov(uint64(m.BytesTotal)) + } + if m.BytesPercentage != 0 { + n += 5 + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowStatusResponse_ShardStreamState) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sov(uint64(m.Id)) + } + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.SourceShard) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Position) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Status) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Info) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowStatusResponse_ShardStreams) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Streams) > 0 { + for _, e := range m.Streams { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowStatusResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TableCopyState) > 0 { + for k, v := range m.TableCopyState { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.ShardStreams) > 0 { + for k, v := range m.ShardStreams { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + l = len(m.TrafficState) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowSwitchTrafficRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Workflow) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if len(m.TabletTypes) > 0 { + l = 0 + for _, e := range m.TabletTypes { + l += sov(uint64(e)) + } + n += 1 + sov(uint64(l)) + l + } + if m.MaxReplicationLagAllowed != nil { + if size, ok := interface{}(m.MaxReplicationLagAllowed).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.MaxReplicationLagAllowed) + } + n += 1 + l + sov(uint64(l)) + } + if m.EnableReverseReplication { + n += 2 + } + if m.Direction != 0 { + n += 1 + sov(uint64(m.Direction)) + } + if m.Timeout != nil { + if size, ok := interface{}(m.Timeout).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Timeout) + } + n += 1 + l + sov(uint64(l)) + } + if m.DryRun { + n += 2 + } + if m.InitializeTargetSequences { + n += 2 + } + if len(m.Shards) > 0 { + for _, s := range m.Shards { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowSwitchTrafficResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.StartState) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CurrentState) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.DryRunResults) > 0 { + for _, s := range m.DryRunResults { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowUpdateRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Keyspace) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.TabletRequest != nil { + if size, ok := interface{}(m.TabletRequest).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletRequest) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowUpdateResponse_TabletInfo) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tablet != nil { + if size, ok := interface{}(m.Tablet).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Tablet) + } + n += 1 + l + sov(uint64(l)) + } + if m.Changed { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *WorkflowUpdateResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Summary) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Details) > 0 { + for _, e := range m.Details { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *ExecuteVtctlCommandRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteVtctlCommandRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteVtctlCommandRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Args = append(m.Args, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionTimeout", wireType) + } + m.ActionTimeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ActionTimeout |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteVtctlCommandResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteVtctlCommandResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteVtctlCommandResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Event", 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.Event == nil { + m.Event = &v19.Event{} + } + if unmarshal, ok := interface{}(m.Event).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TableMaterializeSettings) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TableMaterializeSettings: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TableMaterializeSettings: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetTable", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetTable = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceExpression", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceExpression = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreateDdl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CreateDdl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MaterializeSettings) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MaterializeSettings: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MaterializeSettings: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StopAfterCopy = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSettings", 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 + } + m.TableSettings = append(m.TableSettings, &TableMaterializeSettings{}) + if err := m.TableSettings[len(m.TableSettings)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TabletTypes = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalCluster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExternalCluster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaterializationIntent", wireType) + } + m.MaterializationIntent = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaterializationIntent |= MaterializationIntent(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceTimeZone", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceTimeZone = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetTimeZone", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetTimeZone = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceShards = append(m.SourceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OnDdl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DeferSecondaryKeys = bool(v != 0) + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= v191.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AtomicCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AtomicCopy = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Keyspace) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &v192.Keyspace{} + } + if unmarshal, ok := interface{}(m.Keyspace).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Keyspace); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SchemaMigration) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SchemaMigration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SchemaMigration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Schema = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Table = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationStatement", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MigrationStatement = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType) + } + m.Strategy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Strategy |= SchemaMigration_Strategy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Options = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AddedAt", 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.AddedAt == nil { + m.AddedAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.AddedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.AddedAt); err != nil { + return err + } + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestedAt", 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.RequestedAt == nil { + m.RequestedAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.RequestedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RequestedAt); err != nil { + return err + } + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadyAt", 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.ReadyAt == nil { + m.ReadyAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.ReadyAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ReadyAt); err != nil { + return err + } + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", 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.StartedAt == nil { + m.StartedAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.StartedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.StartedAt); err != nil { + return err + } + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LivenessTimestamp", 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.LivenessTimestamp == nil { + m.LivenessTimestamp = &v193.Time{} + } + if unmarshal, ok := interface{}(m.LivenessTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.LivenessTimestamp); err != nil { + return err + } + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CompletedAt", 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.CompletedAt == nil { + m.CompletedAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.CompletedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CompletedAt); err != nil { + return err + } + } + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CleanedUpAt", 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.CleanedUpAt == nil { + m.CleanedUpAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.CleanedUpAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CleanedUpAt); err != nil { + return err + } + } + iNdEx = postIndex + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + m.Status = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Status |= SchemaMigration_Status(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LogPath", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LogPath = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Artifacts", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Artifacts = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Retries", wireType) + } + m.Retries = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Retries |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 21: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletFailure", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletFailure = bool(v != 0) + case 22: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.Progress = float32(math.Float32frombits(v)) + case 23: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationContext", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MigrationContext = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DdlAction", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DdlAction = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 26: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EtaSeconds", wireType) + } + m.EtaSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EtaSeconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 27: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsCopied", wireType) + } + m.RowsCopied = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsCopied |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 28: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableRows", wireType) + } + m.TableRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TableRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 29: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AddedUniqueKeys", wireType) + } + m.AddedUniqueKeys = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AddedUniqueKeys |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 30: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RemovedUniqueKeys", wireType) + } + m.RemovedUniqueKeys = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RemovedUniqueKeys |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 31: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LogFile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LogFile = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 32: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ArtifactRetention", 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.ArtifactRetention == nil { + m.ArtifactRetention = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.ArtifactRetention).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ArtifactRetention); err != nil { + return err + } + } + iNdEx = postIndex + case 33: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PostponeCompletion", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PostponeCompletion = bool(v != 0) + case 34: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RemovedUniqueKeyNames", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RemovedUniqueKeyNames = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 35: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DroppedNoDefaultColumnNames", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DroppedNoDefaultColumnNames = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 36: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpandedColumnNames", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExpandedColumnNames = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 37: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RevertibleNotes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RevertibleNotes = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 38: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowConcurrent", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowConcurrent = bool(v != 0) + case 39: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RevertedUuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RevertedUuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 40: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsView", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsView = bool(v != 0) + case 41: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadyToComplete", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReadyToComplete = bool(v != 0) + case 42: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VitessLivenessIndicator", wireType) + } + m.VitessLivenessIndicator = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.VitessLivenessIndicator |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 43: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field UserThrottleRatio", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.UserThrottleRatio = float32(math.Float32frombits(v)) + case 44: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpecialPlan", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SpecialPlan = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 45: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastThrottledAt", 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.LastThrottledAt == nil { + m.LastThrottledAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.LastThrottledAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.LastThrottledAt); err != nil { + return err + } + } + iNdEx = postIndex + case 46: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ComponentThrottled", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ComponentThrottled = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 47: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CancelledAt", 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.CancelledAt == nil { + m.CancelledAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.CancelledAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CancelledAt); err != nil { + return err + } + } + iNdEx = postIndex + case 48: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PostponeLaunch", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PostponeLaunch = bool(v != 0) + case 49: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stage", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Stage = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 50: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CutoverAttempts", wireType) + } + m.CutoverAttempts = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CutoverAttempts |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 51: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsImmediateOperation", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsImmediateOperation = bool(v != 0) + case 52: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReviewedAt", 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.ReviewedAt == nil { + m.ReviewedAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.ReviewedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ReviewedAt); err != nil { + return err + } + } + iNdEx = postIndex + case 53: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadyToCompleteAt", 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.ReadyToCompleteAt == nil { + m.ReadyToCompleteAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.ReadyToCompleteAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ReadyToCompleteAt); err != nil { + return err + } + } + iNdEx = postIndex + case 54: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RemovedForeignKeyNames", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RemovedForeignKeyNames = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Shard) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Shard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Shard: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &v192.Shard{} + } + if unmarshal, ok := interface{}(m.Shard).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow_ReplicationLocation) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow_ReplicationLocation: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow_ReplicationLocation: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow_ShardStream) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow_ShardStream: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow_ShardStream: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Streams", 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 + } + m.Streams = append(m.Streams, &Workflow_Stream{}) + if err := m.Streams[len(m.Streams)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletControls", 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 + } + m.TabletControls = append(m.TabletControls, &v192.Shard_TabletControl{}) + if unmarshal, ok := interface{}(m.TabletControls[len(m.TabletControls)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletControls[len(m.TabletControls)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsPrimaryServing", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsPrimaryServing = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow_Stream_CopyState) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow_Stream_CopyState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow_Stream_CopyState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Table = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastPk", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LastPk = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StreamId", wireType) + } + m.StreamId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StreamId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow_Stream_Log) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow_Stream_Log: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow_Stream_Log: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StreamId", wireType) + } + m.StreamId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StreamId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.State = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", 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.CreatedAt == nil { + m.CreatedAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.CreatedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CreatedAt); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAt", 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.UpdatedAt == nil { + m.UpdatedAt = &v193.Time{} + } + if unmarshal, ok := interface{}(m.UpdatedAt).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.UpdatedAt); err != nil { + return err + } + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) + } + m.Count = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Count |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow_Stream_ThrottlerStatus) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow_Stream_ThrottlerStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow_Stream_ThrottlerStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ComponentThrottled", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ComponentThrottled = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeThrottled", 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.TimeThrottled == nil { + m.TimeThrottled = &v193.Time{} + } + if unmarshal, ok := interface{}(m.TimeThrottled).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeThrottled); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow_Stream) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow_Stream: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow_Stream: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinlogSource", 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.BinlogSource == nil { + m.BinlogSource = &v194.BinlogSource{} + } + if unmarshal, ok := interface{}(m.BinlogSource).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BinlogSource); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StopPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StopPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.State = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionTimestamp", 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.TransactionTimestamp == nil { + m.TransactionTimestamp = &v193.Time{} + } + if unmarshal, ok := interface{}(m.TransactionTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TransactionTimestamp); err != nil { + return err + } + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeUpdated", 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.TimeUpdated == nil { + m.TimeUpdated = &v193.Time{} + } + if unmarshal, ok := interface{}(m.TimeUpdated).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TimeUpdated); err != nil { + return err + } + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CopyStates", 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 + } + m.CopyStates = append(m.CopyStates, &Workflow_Stream_CopyState{}) + if err := m.CopyStates[len(m.CopyStates)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Logs", 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 + } + m.Logs = append(m.Logs, &Workflow_Stream_Log{}) + if err := m.Logs[len(m.Logs)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LogFetchError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LogFetchError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsCopied", wireType) + } + m.RowsCopied = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsCopied |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottlerStatus", 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.ThrottlerStatus == nil { + m.ThrottlerStatus = &Workflow_Stream_ThrottlerStatus{} + } + if err := m.ThrottlerStatus.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 18: + if wireType == 0 { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v192.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= v191.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Workflow) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Workflow: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Workflow: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", 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.Source == nil { + m.Source = &Workflow_ReplicationLocation{} + } + if err := m.Source.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &Workflow_ReplicationLocation{} + } + if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxVReplicationLag", wireType) + } + m.MaxVReplicationLag = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxVReplicationLag |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardStreams", 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.ShardStreams == nil { + m.ShardStreams = make(map[string]*Workflow_ShardStream) + } + var mapkey string + var mapvalue *Workflow_ShardStream + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Workflow_ShardStream{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ShardStreams[mapkey] = mapvalue + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowSubType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowSubType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxVReplicationTransactionLag", wireType) + } + m.MaxVReplicationTransactionLag = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxVReplicationTransactionLag |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DeferSecondaryKeys = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AddCellInfoRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AddCellInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AddCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", 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.CellInfo == nil { + m.CellInfo = &v192.CellInfo{} + } + if unmarshal, ok := interface{}(m.CellInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AddCellInfoResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AddCellInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AddCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AddCellsAliasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AddCellsAliasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AddCellsAliasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AddCellsAliasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AddCellsAliasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AddCellsAliasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyRoutingRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", 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.RoutingRules == nil { + m.RoutingRules = &v195.RoutingRules{} + } + if unmarshal, ok := interface{}(m.RoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipRebuild", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipRebuild = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RebuildCells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RebuildCells = append(m.RebuildCells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyShardRoutingRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyShardRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardRoutingRules", 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.ShardRoutingRules == nil { + m.ShardRoutingRules = &v195.ShardRoutingRules{} + } + if unmarshal, ok := interface{}(m.ShardRoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ShardRoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipRebuild", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipRebuild = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RebuildCells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RebuildCells = append(m.RebuildCells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyShardRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyShardRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplySchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplySchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = append(m.Sql, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DdlStrategy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DdlStrategy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UuidList", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UuidList = append(m.UuidList, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationContext", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MigrationContext = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitReplicasTimeout", 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.WaitReplicasTimeout == nil { + m.WaitReplicasTimeout = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.WaitReplicasTimeout).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.WaitReplicasTimeout); err != nil { + return err + } + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v196.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BatchSize", wireType) + } + m.BatchSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BatchSize |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplySchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplySchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplySchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UuidList", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UuidList = append(m.UuidList, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipRebuild", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipRebuild = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VSchema", 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.VSchema == nil { + m.VSchema = &v195.Keyspace{} + } + if unmarshal, ok := interface{}(m.VSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.VSchema); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sql = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Strict", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Strict = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyVSchemaResponse_ParamList) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyVSchemaResponse_ParamList: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyVSchemaResponse_ParamList: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Params = append(m.Params, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ApplyVSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplyVSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplyVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VSchema", 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.VSchema == nil { + m.VSchema = &v195.Keyspace{} + } + if unmarshal, ok := interface{}(m.VSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.VSchema); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UnknownVindexParams", 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.UnknownVindexParams == nil { + m.UnknownVindexParams = make(map[string]*ApplyVSchemaResponse_ParamList) + } + var mapkey string + var mapvalue *ApplyVSchemaResponse_ParamList + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ApplyVSchemaResponse_ParamList{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.UnknownVindexParams[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BackupRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BackupRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPrimary = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncrementalFromPos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncrementalFromPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UpgradeSafe", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UpgradeSafe = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BackupResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BackupResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Event", 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.Event == nil { + m.Event = &v19.Event{} + } + if unmarshal, ok := interface{}(m.Event).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BackupShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BackupShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BackupShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPrimary = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UpgradeSafe", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UpgradeSafe = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncrementalFromPos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncrementalFromPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CancelSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CancelSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CancelSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CancelSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CancelSchemaMigrationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CancelSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangeTabletTypeRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangeTabletTypeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangeTabletTypeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DbType", wireType) + } + m.DbType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DbType |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangeTabletTypeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangeTabletTypeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangeTabletTypeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeforeTablet", 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.BeforeTablet == nil { + m.BeforeTablet = &v192.Tablet{} + } + if unmarshal, ok := interface{}(m.BeforeTablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BeforeTablet); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AfterTablet", 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.AfterTablet == nil { + m.AfterTablet = &v192.Tablet{} + } + if unmarshal, ok := interface{}(m.AfterTablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.AfterTablet); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WasDryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.WasDryRun = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CleanupSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CleanupSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CleanupSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CleanupSchemaMigrationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CleanupSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CompleteSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CompleteSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CompleteSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CompleteSchemaMigrationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CompleteSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowEmptyVSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowEmptyVSchema = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= v192.KeyspaceType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BaseKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BaseKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTime", 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.SnapshotTime == nil { + m.SnapshotTime = &v193.Time{} + } + if unmarshal, ok := interface{}(m.SnapshotTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SnapshotTime); err != nil { + return err + } + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DurabilityPolicy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DurabilityPolicy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SidecarDbName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SidecarDbName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ShardName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeParent", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeParent = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &Shard{} + } + if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardAlreadyExists", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ShardAlreadyExists = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteCellInfoRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteCellInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteCellInfoResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteCellInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteCellsAliasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteCellsAliasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteCellsAliasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteCellsAliasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteCellsAliasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteCellsAliasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Recursive = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteShardsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteShardsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteShardsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", 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 + } + m.Shards = append(m.Shards, &Shard{}) + if err := m.Shards[len(m.Shards)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Recursive = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EvenIfServing", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EvenIfServing = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteShardsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteShardsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteShardsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteSrvVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteSrvVSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteSrvVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteTabletsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteTabletsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAliases", 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 + } + m.TabletAliases = append(m.TabletAliases, &v192.TabletAlias{}) + if unmarshal, ok := interface{}(m.TabletAliases[len(m.TabletAliases)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAliases[len(m.TabletAliases)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPrimary = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteTabletsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteTabletsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EmergencyReparentShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EmergencyReparentShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EmergencyReparentShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", 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.NewPrimary == nil { + m.NewPrimary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.NewPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IgnoreReplicas", 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 + } + m.IgnoreReplicas = append(m.IgnoreReplicas, &v192.TabletAlias{}) + if unmarshal, ok := interface{}(m.IgnoreReplicas[len(m.IgnoreReplicas)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.IgnoreReplicas[len(m.IgnoreReplicas)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitReplicasTimeout", 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.WaitReplicasTimeout == nil { + m.WaitReplicasTimeout = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.WaitReplicasTimeout).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.WaitReplicasTimeout); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PreventCrossCellPromotion", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PreventCrossCellPromotion = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitForAllTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.WaitForAllTablets = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EmergencyReparentShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EmergencyReparentShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EmergencyReparentShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", 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.PromotedPrimary == nil { + m.PromotedPrimary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v19.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAppRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAppRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UsePool", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UsePool = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsAppResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v197.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsDBARequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsDBARequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsDBARequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRows", wireType) + } + m.MaxRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableBinlogs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableBinlogs = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReloadSchema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReloadSchema = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteFetchAsDBAResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteFetchAsDBAResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteFetchAsDBAResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v197.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteHookRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteHookRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteHookRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletHookRequest", 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.TabletHookRequest == nil { + m.TabletHookRequest = &v191.ExecuteHookRequest{} + } + if unmarshal, ok := interface{}(m.TabletHookRequest).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletHookRequest); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteHookResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteHookResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteHookResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HookResult", 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.HookResult == nil { + m.HookResult = &v191.ExecuteHookResponse{} + } + if unmarshal, ok := interface{}(m.HookResult).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.HookResult); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FindAllShardsInKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FindAllShardsInKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FindAllShardsInKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FindAllShardsInKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FindAllShardsInKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FindAllShardsInKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", 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.Shards == nil { + m.Shards = make(map[string]*Shard) + } + var mapkey string + var mapvalue *Shard + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Shard{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Shards[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ForceCutOverSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ForceCutOverSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ForceCutOverSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ForceCutOverSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ForceCutOverSchemaMigrationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ForceCutOverSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetBackupsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetBackupsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetBackupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + m.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Limit |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Detailed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Detailed = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DetailedLimit", wireType) + } + m.DetailedLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DetailedLimit |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetBackupsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetBackupsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetBackupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Backups", 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 + } + m.Backups = append(m.Backups, &v198.BackupInfo{}) + if unmarshal, ok := interface{}(m.Backups[len(m.Backups)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Backups[len(m.Backups)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfoRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfoResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", 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.CellInfo == nil { + m.CellInfo = &v192.CellInfo{} + } + if unmarshal, ok := interface{}(m.CellInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfoNamesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfoNamesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfoNamesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellInfoNamesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellInfoNamesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellInfoNamesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCellsAliasesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCellsAliasesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCellsAliasesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Aliases", 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.Aliases == nil { + m.Aliases = make(map[string]*v192.CellsAlias) + } + var mapkey string + var mapvalue *v192.CellsAlias + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v192.CellsAlias{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Aliases[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetFullStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetFullStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetFullStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetFullStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetFullStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetFullStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", 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.Status == nil { + m.Status = &v199.FullStatus{} + } + if unmarshal, ok := interface{}(m.Status).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Status); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspacesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspacesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspacesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspacesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", 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 + } + m.Keyspaces = append(m.Keyspaces, &Keyspace{}) + if err := m.Keyspaces[len(m.Keyspaces)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &Keyspace{} + } + if err := m.Keyspace.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetPermissionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetPermissionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", 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.Permissions == nil { + m.Permissions = &v191.Permissions{} + } + if unmarshal, ok := interface{}(m.Permissions).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Permissions); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetRoutingRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", 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.RoutingRules == nil { + m.RoutingRules = &v195.RoutingRules{} + } + if unmarshal, ok := interface{}(m.RoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeViews = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableNamesOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableNamesOnly = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSizesOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableSizesOnly = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TableSchemaOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TableSchemaOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Schema", 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.Schema == nil { + m.Schema = &v191.SchemaDefinition{} + } + if unmarshal, ok := interface{}(m.Schema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Schema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationContext", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MigrationContext = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + m.Status = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Status |= SchemaMigration_Status(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Recent", 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.Recent == nil { + m.Recent = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.Recent).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Recent); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) + } + m.Order = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Order |= QueryOrdering(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + m.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Limit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Skip", wireType) + } + m.Skip = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Skip |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSchemaMigrationsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSchemaMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Migrations", 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 + } + m.Migrations = append(m.Migrations, &SchemaMigration{}) + if err := m.Migrations[len(m.Migrations)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardReplicationByCell", 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.ShardReplicationByCell == nil { + m.ShardReplicationByCell = make(map[string]*v192.ShardReplication) + } + var mapkey string + var mapvalue *v192.ShardReplication + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v192.ShardReplication{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ShardReplicationByCell[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ShardName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &Shard{} + } + if err := m.Shard.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardRoutingRulesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardRoutingRulesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardRoutingRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetShardRoutingRulesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetShardRoutingRulesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetShardRoutingRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardRoutingRules", 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.ShardRoutingRules == nil { + m.ShardRoutingRules = &v195.ShardRoutingRules{} + } + if unmarshal, ok := interface{}(m.ShardRoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ShardRoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspaceNamesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspaceNamesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspaceNamesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspaceNamesResponse_NameList) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse_NameList: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse_NameList: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspaceNamesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspaceNamesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", 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.Names == nil { + m.Names = make(map[string]*GetSrvKeyspaceNamesResponse_NameList) + } + var mapkey string + var mapvalue *GetSrvKeyspaceNamesResponse_NameList + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &GetSrvKeyspaceNamesResponse_NameList{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Names[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspacesRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspacesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvKeyspacesResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvKeyspacesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvKeyspacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvKeyspaces", 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.SrvKeyspaces == nil { + m.SrvKeyspaces = make(map[string]*v192.SrvKeyspace) + } + var mapkey string + var mapvalue *v192.SrvKeyspace + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v192.SrvKeyspace{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.SrvKeyspaces[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateThrottlerConfigRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateThrottlerConfigRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateThrottlerConfigRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Enable = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Disable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Disable = bool(v != 0) + case 4: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Threshold = float64(math.Float64frombits(v)) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CustomQuery", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CustomQuery = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CustomQuerySet", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CustomQuerySet = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckAsCheckSelf", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CheckAsCheckSelf = bool(v != 0) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckAsCheckShard", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CheckAsCheckShard = bool(v != 0) + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ThrottledApp", 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.ThrottledApp == nil { + m.ThrottledApp = &v192.ThrottledAppRule{} + } + if unmarshal, ok := interface{}(m.ThrottledApp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.ThrottledApp); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateThrottlerConfigResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateThrottlerConfigResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateThrottlerConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvVSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvVSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchema", 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.SrvVSchema == nil { + m.SrvVSchema = &v195.SrvVSchema{} + } + if unmarshal, ok := interface{}(m.SrvVSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.SrvVSchema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvVSchemasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvVSchemasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvVSchemasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSrvVSchemasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSrvVSchemasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSrvVSchemasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SrvVSchemas", 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.SrvVSchemas == nil { + m.SrvVSchemas = make(map[string]*v195.SrvVSchema) + } + var mapkey string + var mapvalue *v195.SrvVSchema + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v195.SrvVSchema{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.SrvVSchemas[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.Tablet{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Strict", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Strict = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAliases", 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 + } + m.TabletAliases = append(m.TabletAliases, &v192.TabletAlias{}) + if unmarshal, ok := interface{}(m.TabletAliases[len(m.TabletAliases)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAliases[len(m.TabletAliases)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTabletsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTabletsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTabletsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablets", 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 + } + m.Tablets = append(m.Tablets, &v192.Tablet{}) + if unmarshal, ok := interface{}(m.Tablets[len(m.Tablets)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablets[len(m.Tablets)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTopologyPathRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTopologyPathRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTopologyPathRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Path = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTopologyPathResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTopologyPathResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTopologyPathResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", 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.Cell == nil { + m.Cell = &TopologyCell{} + } + if err := m.Cell.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TopologyCell) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TopologyCell: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TopologyCell: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Path = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Children", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Children = append(m.Children, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVersionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVersionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVersionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVersionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVersionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVersionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetVSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetVSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VSchema", 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.VSchema == nil { + m.VSchema = &v195.Keyspace{} + } + if unmarshal, ok := interface{}(m.VSchema).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.VSchema); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetWorkflowsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetWorkflowsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetWorkflowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ActiveOnly = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NameOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.NameOnly = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeLogs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeLogs = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetWorkflowsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetWorkflowsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetWorkflowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflows", 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 + } + m.Workflows = append(m.Workflows, &Workflow{}) + if err := m.Workflows[len(m.Workflows)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *InitShardPrimaryRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: InitShardPrimaryRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: InitShardPrimaryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryElectTabletAlias", 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.PrimaryElectTabletAlias == nil { + m.PrimaryElectTabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.PrimaryElectTabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PrimaryElectTabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitReplicasTimeout", 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.WaitReplicasTimeout == nil { + m.WaitReplicasTimeout = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.WaitReplicasTimeout).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.WaitReplicasTimeout); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *InitShardPrimaryResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: InitShardPrimaryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: InitShardPrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v19.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LaunchSchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LaunchSchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LaunchSchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LaunchSchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LaunchSchemaMigrationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LaunchSchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LookupVindexCreateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LookupVindexCreateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LookupVindexCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vindex", 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.Vindex == nil { + m.Vindex = &v195.Keyspace{} + } + if unmarshal, ok := interface{}(m.Vindex).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Vindex); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContinueAfterCopyWithOwner", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ContinueAfterCopyWithOwner = bool(v != 0) + case 6: + if wireType == 0 { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v192.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= v191.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LookupVindexCreateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LookupVindexCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LookupVindexCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LookupVindexExternalizeRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LookupVindexExternalizeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LookupVindexExternalizeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LookupVindexExternalizeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LookupVindexExternalizeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LookupVindexExternalizeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowDeleted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.WorkflowDeleted = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MaterializeCreateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MaterializeCreateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MaterializeCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Settings", 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.Settings == nil { + m.Settings = &MaterializeSettings{} + } + if err := m.Settings.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MaterializeCreateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MaterializeCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MaterializeCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MigrateCreateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MigrateCreateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MigrateCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MountName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MountName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType == 0 { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v192.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= v191.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllTables", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllTables = bool(v != 0) + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncludeTables = append(m.IncludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceTimeZone", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceTimeZone = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OnDdl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StopAfterCopy = bool(v != 0) + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DropForeignKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DropForeignKeys = bool(v != 0) + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DeferSecondaryKeys = bool(v != 0) + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AutoStart = bool(v != 0) + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NoRoutingRules", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.NoRoutingRules = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MigrateCompleteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MigrateCompleteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MigrateCompleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepData", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepData = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepRoutingRules", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepRoutingRules = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RenameTables", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RenameTables = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MigrateCompleteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MigrateCompleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MigrateCompleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRunResults", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DryRunResults = append(m.DryRunResults, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountRegisterRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountRegisterRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountRegisterRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TopoType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoServer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TopoServer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoRoot", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TopoRoot = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountRegisterResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountRegisterResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountRegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountUnregisterRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountUnregisterRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountUnregisterRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountUnregisterResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountUnregisterResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountUnregisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountShowRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountShowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountShowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountShowResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountShowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountShowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TopoType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoServer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TopoServer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopoRoot", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TopoRoot = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountListRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountListRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountListRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MountListResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MountListResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MountListResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MoveTablesCreateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MoveTablesCreateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MoveTablesCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType == 0 { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v192.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= v191.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceShards = append(m.SourceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllTables", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllTables = bool(v != 0) + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncludeTables = append(m.IncludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalClusterName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExternalClusterName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceTimeZone", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceTimeZone = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OnDdl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StopAfterCopy = bool(v != 0) + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DropForeignKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DropForeignKeys = bool(v != 0) + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DeferSecondaryKeys = bool(v != 0) + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AutoStart = bool(v != 0) + case 18: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NoRoutingRules", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.NoRoutingRules = bool(v != 0) + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AtomicCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AtomicCopy = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MoveTablesCreateResponse_TabletInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MoveTablesCreateResponse_TabletInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MoveTablesCreateResponse_TabletInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Created = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MoveTablesCreateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MoveTablesCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MoveTablesCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", 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 + } + m.Details = append(m.Details, &MoveTablesCreateResponse_TabletInfo{}) + if err := m.Details[len(m.Details)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MoveTablesCompleteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MoveTablesCompleteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MoveTablesCompleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepData", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepData = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepRoutingRules", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepRoutingRules = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RenameTables", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RenameTables = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MoveTablesCompleteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MoveTablesCompleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MoveTablesCompleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRunResults", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DryRunResults = append(m.DryRunResults, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingTabletRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingTabletRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PingTabletResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PingTabletResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PingTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PlannedReparentShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PlannedReparentShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PlannedReparentShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", 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.NewPrimary == nil { + m.NewPrimary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.NewPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AvoidPrimary", 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.AvoidPrimary == nil { + m.AvoidPrimary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.AvoidPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.AvoidPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitReplicasTimeout", 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.WaitReplicasTimeout == nil { + m.WaitReplicasTimeout = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.WaitReplicasTimeout).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.WaitReplicasTimeout); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TolerableReplicationLag", 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.TolerableReplicationLag == nil { + m.TolerableReplicationLag = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.TolerableReplicationLag).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TolerableReplicationLag); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PlannedReparentShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PlannedReparentShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PlannedReparentShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PromotedPrimary", 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.PromotedPrimary == nil { + m.PromotedPrimary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.PromotedPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.PromotedPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v19.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RebuildKeyspaceGraphRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RebuildKeyspaceGraphRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowPartial", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowPartial = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RebuildKeyspaceGraphResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RebuildKeyspaceGraphResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RebuildVSchemaGraphRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RebuildVSchemaGraphRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RebuildVSchemaGraphRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RebuildVSchemaGraphResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RebuildVSchemaGraphResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RebuildVSchemaGraphResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateByShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateByShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateByShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RefreshStateByShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RefreshStateByShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RefreshStateByShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsPartialRefresh", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsPartialRefresh = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PartialRefreshDetails", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PartialRefreshDetails = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludePrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludePrimary = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v19.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitPosition", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WaitPosition = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludePrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludePrimary = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Concurrency", wireType) + } + m.Concurrency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Concurrency |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReloadSchemaShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReloadSchemaShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReloadSchemaShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v19.Event{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveBackupRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveBackupRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveBackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveBackupResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveBackupResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveBackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveKeyspaceCellRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveKeyspaceCellRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveKeyspaceCellRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Recursive = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveKeyspaceCellResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveKeyspaceCellResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveKeyspaceCellResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveShardCellRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveShardCellRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveShardCellRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ShardName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Recursive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Recursive = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveShardCellResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveShardCellResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveShardCellResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReparentTabletRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReparentTabletRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReparentTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReparentTabletResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReparentTabletResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReparentTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Primary", 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.Primary == nil { + m.Primary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Primary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Primary); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReshardCreateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReshardCreateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReshardCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceShards = append(m.SourceShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetShards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetShards = append(m.TargetShards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType == 0 { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v192.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= v191.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipSchemaCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipSchemaCopy = bool(v != 0) + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDdl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OnDdl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopAfterCopy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StopAfterCopy = bool(v != 0) + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DeferSecondaryKeys", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DeferSecondaryKeys = bool(v != 0) + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoStart", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AutoStart = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RestoreFromBackupRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RestoreFromBackupRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RestoreFromBackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BackupTime", 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.BackupTime == nil { + m.BackupTime = &v193.Time{} + } + if unmarshal, ok := interface{}(m.BackupTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.BackupTime); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RestoreToPos", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RestoreToPos = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RestoreToTimestamp", 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.RestoreToTimestamp == nil { + m.RestoreToTimestamp = &v193.Time{} + } + if unmarshal, ok := interface{}(m.RestoreToTimestamp).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RestoreToTimestamp); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RestoreFromBackupResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RestoreFromBackupResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RestoreFromBackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Event", 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.Event == nil { + m.Event = &v19.Event{} + } + if unmarshal, ok := interface{}(m.Event).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Event); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RetrySchemaMigrationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RetrySchemaMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RetrySchemaMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RetrySchemaMigrationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RetrySchemaMigrationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RetrySchemaMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffectedByShard", 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.RowsAffectedByShard == nil { + m.RowsAffectedByShard = make(map[string]uint64) + } + var mapkey string + var mapvalue uint64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.RowsAffectedByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RunHealthCheckResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RunHealthCheckResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RunHealthCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetKeyspaceDurabilityPolicyRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DurabilityPolicy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DurabilityPolicy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetKeyspaceDurabilityPolicyResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetKeyspaceDurabilityPolicyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &v192.Keyspace{} + } + if unmarshal, ok := interface{}(m.Keyspace).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Keyspace); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetKeyspaceShardingInfoRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetKeyspaceShardingInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetKeyspaceShardingInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Force = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetKeyspaceShardingInfoResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetKeyspaceShardingInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetKeyspaceShardingInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", 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.Keyspace == nil { + m.Keyspace = &v192.Keyspace{} + } + if unmarshal, ok := interface{}(m.Keyspace).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Keyspace); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetShardIsPrimaryServingRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetShardIsPrimaryServingRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetShardIsPrimaryServingRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsServing", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsServing = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetShardIsPrimaryServingResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetShardIsPrimaryServingResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetShardIsPrimaryServingResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &v192.Shard{} + } + if unmarshal, ok := interface{}(m.Shard).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetShardTabletControlRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetShardTabletControlRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetShardTabletControlRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DeniedTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DeniedTables = append(m.DeniedTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableQueryService", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableQueryService = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Remove", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Remove = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetShardTabletControlResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetShardTabletControlResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetShardTabletControlResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &v192.Shard{} + } + if unmarshal, ok := interface{}(m.Shard).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetWritableRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetWritableRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetWritableRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Writable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Writable = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetWritableResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetWritableResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetWritableResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationAddRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationAddRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationAddRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationAddResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationAddResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationFixRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationFixRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationFixRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cell", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cell = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationFixResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationFixResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationFixResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v192.ShardReplicationError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationPositionsRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationPositionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationPositionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationPositionsResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationPositionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationPositionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatuses", 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.ReplicationStatuses == nil { + m.ReplicationStatuses = make(map[string]*v199.Status) + } + var mapkey string + var mapvalue *v199.Status + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v199.Status{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ReplicationStatuses[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletMap", 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.TabletMap == nil { + m.TabletMap = make(map[string]*v192.Tablet) + } + var mapkey string + var mapvalue *v192.Tablet + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v192.Tablet{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.TabletMap[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationRemoveRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationRemoveRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationRemoveRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ShardReplicationRemoveResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ShardReplicationRemoveResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ShardReplicationRemoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SleepTabletRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SleepTabletRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SleepTabletRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Duration", 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.Duration == nil { + m.Duration = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.Duration).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Duration); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SleepTabletResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SleepTabletResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SleepTabletResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SourceShardAddRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SourceShardAddRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SourceShardAddRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) + } + m.Uid = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Uid |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceShard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceShard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyRange", 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.KeyRange == nil { + m.KeyRange = &v192.KeyRange{} + } + if unmarshal, ok := interface{}(m.KeyRange).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.KeyRange); err != nil { + return err + } + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SourceShardAddResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SourceShardAddResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SourceShardAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &v192.Shard{} + } + if unmarshal, ok := interface{}(m.Shard).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SourceShardDeleteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SourceShardDeleteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SourceShardDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType) + } + m.Uid = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Uid |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SourceShardDeleteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SourceShardDeleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SourceShardDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", 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.Shard == nil { + m.Shard = &v192.Shard{} + } + if unmarshal, ok := interface{}(m.Shard).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Shard); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StopReplicationResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StopReplicationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StopReplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TabletExternallyReparentedRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TabletExternallyReparentedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TabletExternallyReparentedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TabletExternallyReparentedResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TabletExternallyReparentedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TabletExternallyReparentedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewPrimary", 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.NewPrimary == nil { + m.NewPrimary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.NewPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.NewPrimary); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OldPrimary", 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.OldPrimary == nil { + m.OldPrimary = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.OldPrimary).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.OldPrimary); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateCellInfoRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateCellInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateCellInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", 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.CellInfo == nil { + m.CellInfo = &v192.CellInfo{} + } + if unmarshal, ok := interface{}(m.CellInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateCellInfoResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateCellInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateCellInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellInfo", 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.CellInfo == nil { + m.CellInfo = &v192.CellInfo{} + } + if unmarshal, ok := interface{}(m.CellInfo).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellInfo); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateCellsAliasRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateCellsAliasRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateCellsAliasRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellsAlias", 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.CellsAlias == nil { + m.CellsAlias = &v192.CellsAlias{} + } + if unmarshal, ok := interface{}(m.CellsAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellsAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateCellsAliasResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateCellsAliasResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateCellsAliasResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellsAlias", 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.CellsAlias == nil { + m.CellsAlias = &v192.CellsAlias{} + } + if unmarshal, ok := interface{}(m.CellsAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CellsAlias); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Results = append(m.Results, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultsByKeyspace", 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.ResultsByKeyspace == nil { + m.ResultsByKeyspace = make(map[string]*ValidateKeyspaceResponse) + } + var mapkey string + var mapvalue *ValidateKeyspaceResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ValidateKeyspaceResponse{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ResultsByKeyspace[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Results = append(m.Results, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultsByShard", 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.ResultsByShard == nil { + m.ResultsByShard = make(map[string]*ValidateShardResponse) + } + var mapkey string + var mapvalue *ValidateShardResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ValidateShardResponse{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ResultsByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateSchemaKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateSchemaKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeViews = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipNoPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipNoPrimary = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeVschema", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeVschema = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateSchemaKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateSchemaKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateSchemaKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Results = append(m.Results, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultsByShard", 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.ResultsByShard == nil { + m.ResultsByShard = make(map[string]*ValidateShardResponse) + } + var mapkey string + var mapvalue *ValidateShardResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ValidateShardResponse{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ResultsByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PingTablets", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PingTablets = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Results = append(m.Results, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVersionKeyspaceRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVersionKeyspaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVersionKeyspaceResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVersionKeyspaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVersionKeyspaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Results = append(m.Results, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultsByShard", 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.ResultsByShard == nil { + m.ResultsByShard = make(map[string]*ValidateShardResponse) + } + var mapkey string + var mapvalue *ValidateShardResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ValidateShardResponse{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ResultsByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVersionShardRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVersionShardRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVersionShardRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVersionShardResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVersionShardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVersionShardResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Results = append(m.Results, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVSchemaRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVSchemaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVSchemaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeTables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExcludeTables = append(m.ExcludeTables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeViews", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeViews = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidateVSchemaResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ValidateVSchemaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidateVSchemaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Results = append(m.Results, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultsByShard", 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.ResultsByShard == nil { + m.ResultsByShard = make(map[string]*ValidateShardResponse) + } + var mapkey string + var mapvalue *ValidateShardResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ValidateShardResponse{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ResultsByShard[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffCreateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffCreateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceCells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceCells = append(m.SourceCells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetCells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetCells = append(m.TargetCells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType == 0 { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v192.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletSelectionPreference", wireType) + } + m.TabletSelectionPreference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletSelectionPreference |= v191.TabletSelectionPreference(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tables", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tables = append(m.Tables, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + m.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Limit |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FilteredReplicationWaitTime", 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.FilteredReplicationWaitTime == nil { + m.FilteredReplicationWaitTime = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.FilteredReplicationWaitTime).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.FilteredReplicationWaitTime); err != nil { + return err + } + } + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DebugQuery", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DebugQuery = bool(v != 0) + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OnlyPKs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.OnlyPKs = bool(v != 0) + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdateTableStats", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UpdateTableStats = bool(v != 0) + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxExtraRowsToCompare", wireType) + } + m.MaxExtraRowsToCompare = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxExtraRowsToCompare |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Wait", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Wait = bool(v != 0) + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitUpdateInterval", 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.WaitUpdateInterval == nil { + m.WaitUpdateInterval = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.WaitUpdateInterval).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.WaitUpdateInterval); err != nil { + return err + } + } + iNdEx = postIndex + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoRetry", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AutoRetry = bool(v != 0) + case 18: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Verbose", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Verbose = bool(v != 0) + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxReportSampleRows", wireType) + } + m.MaxReportSampleRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxReportSampleRows |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxDiffDuration", 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.MaxDiffDuration == nil { + m.MaxDiffDuration = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.MaxDiffDuration).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.MaxDiffDuration); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffCreateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UUID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UUID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffDeleteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffDeleteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Arg", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Arg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffDeleteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffDeleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffResumeRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffResumeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffResumeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffResumeResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffResumeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffResumeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffShowRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffShowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffShowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Arg", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Arg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffShowResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffShowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffShowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletResponses", 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.TabletResponses == nil { + m.TabletResponses = make(map[string]*v191.VDiffResponse) + } + var mapkey string + var mapvalue *v191.VDiffResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v191.VDiffResponse{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.TabletResponses[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffStopRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffStopRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffStopRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetKeyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetKeyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Uuid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VDiffStopResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VDiffStopResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VDiffStopResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowDeleteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowDeleteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepData", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepData = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeepRoutingRules", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.KeepRoutingRules = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowDeleteResponse_TabletInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowDeleteResponse_TabletInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowDeleteResponse_TabletInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Deleted = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowDeleteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowDeleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", 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 + } + m.Details = append(m.Details, &WorkflowDeleteResponse_TabletInfo{}) + if err := m.Details[len(m.Details)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowStatusRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowStatusRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowStatusResponse_TableCopyState) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowStatusResponse_TableCopyState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowStatusResponse_TableCopyState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsCopied", wireType) + } + m.RowsCopied = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsCopied |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsTotal", wireType) + } + m.RowsTotal = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowsTotal |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsPercentage", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.RowsPercentage = float32(math.Float32frombits(v)) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BytesCopied", wireType) + } + m.BytesCopied = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BytesCopied |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BytesTotal", wireType) + } + m.BytesTotal = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BytesTotal |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field BytesPercentage", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.BytesPercentage = float32(math.Float32frombits(v)) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowStatusResponse_ShardStreamState) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowStatusResponse_ShardStreamState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowStatusResponse_ShardStreamState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceShard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceShard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Position = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Info = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowStatusResponse_ShardStreams) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowStatusResponse_ShardStreams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowStatusResponse_ShardStreams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Streams", 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 + } + m.Streams = append(m.Streams, &WorkflowStatusResponse_ShardStreamState{}) + if err := m.Streams[len(m.Streams)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowStatusResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TableCopyState", 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.TableCopyState == nil { + m.TableCopyState = make(map[string]*WorkflowStatusResponse_TableCopyState) + } + var mapkey string + var mapvalue *WorkflowStatusResponse_TableCopyState + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &WorkflowStatusResponse_TableCopyState{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.TableCopyState[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardStreams", 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.ShardStreams == nil { + m.ShardStreams = make(map[string]*WorkflowStatusResponse_ShardStreams) + } + var mapkey string + var mapvalue *WorkflowStatusResponse_ShardStreams + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &WorkflowStatusResponse_ShardStreams{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ShardStreams[mapkey] = mapvalue + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TrafficState", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TrafficState = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowSwitchTrafficRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowSwitchTrafficRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowSwitchTrafficRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Workflow = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.TabletTypes) == 0 { + m.TabletTypes = make([]v192.TabletType, 0, elementCount) + } + for iNdEx < postIndex { + var v v192.TabletType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v192.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TabletTypes = append(m.TabletTypes, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field TabletTypes", wireType) + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicationLagAllowed", 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.MaxReplicationLagAllowed == nil { + m.MaxReplicationLagAllowed = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.MaxReplicationLagAllowed).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.MaxReplicationLagAllowed); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableReverseReplication", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableReverseReplication = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Direction", wireType) + } + m.Direction = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Direction |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Timeout", 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.Timeout == nil { + m.Timeout = &v193.Duration{} + } + if unmarshal, ok := interface{}(m.Timeout).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Timeout); err != nil { + return err + } + } + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DryRun = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitializeTargetSequences", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.InitializeTargetSequences = bool(v != 0) + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shards = append(m.Shards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowSwitchTrafficResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowSwitchTrafficResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowSwitchTrafficResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartState", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StartState = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentState", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CurrentState = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DryRunResults", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DryRunResults = append(m.DryRunResults, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowUpdateRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowUpdateRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowUpdateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Keyspace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletRequest", 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.TabletRequest == nil { + m.TabletRequest = &v191.UpdateVReplicationWorkflowRequest{} + } + if unmarshal, ok := interface{}(m.TabletRequest).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletRequest); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowUpdateResponse_TabletInfo) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowUpdateResponse_TabletInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowUpdateResponse_TabletInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tablet", 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.Tablet == nil { + m.Tablet = &v192.TabletAlias{} + } + if unmarshal, ok := interface{}(m.Tablet).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Tablet); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Changed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Changed = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowUpdateResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowUpdateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowUpdateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Summary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", 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 + } + m.Details = append(m.Details, &WorkflowUpdateResponse_TabletInfo{}) + if err := m.Details[len(m.Details)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/vtctlservice/dev/vtctlservice.pb.go b/gen/vitess/vtctlservice/dev/vtctlservice.pb.go index 198e8cc..17c0287 100644 --- a/gen/vitess/vtctlservice/dev/vtctlservice.pb.go +++ b/gen/vitess/vtctlservice/dev/vtctlservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctlservice/dev/vtctlservice.proto @@ -56,7 +56,7 @@ var file_vitess_vtctlservice_dev_vtctlservice_proto_rawDesc = []byte{ 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x32, 0x99, 0x63, 0x0a, 0x06, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x65, 0x22, 0x00, 0x30, 0x01, 0x32, 0xaf, 0x70, 0x0a, 0x06, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x12, 0x64, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, @@ -84,999 +84,1131 @@ var file_vitess_vtctlservice_dev_vtctlservice_proto_rawDesc = []byte{ 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x85, 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, - 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x57, 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x23, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x0b, 0x42, 0x61, - 0x63, 0x6b, 0x75, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x12, 0x8e, 0x01, 0x0a, 0x19, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x36, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, + 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x41, 0x70, 0x70, + 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x82, 0x01, - 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x57, 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x23, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x0b, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x82, + 0x01, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x54, 0x61, 0x67, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, - 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, - 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x65, 0x61, - 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, - 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, + 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x12, + 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, + 0x16, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x88, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x76, + 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x7c, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6f, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, + 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x6d, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, - 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, - 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x73, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, + 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, - 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, - 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, 0x56, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x6a, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, - 0x16, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x34, 0x2e, 0x76, + 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, + 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x85, 0x01, 0x0a, 0x16, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 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, 0x1a, + 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, - 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, - 0x41, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, - 0x6f, 0x6f, 0x6b, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, + 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x41, 0x73, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, + 0x76, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, + 0x73, 0x44, 0x42, 0x41, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x85, 0x01, 0x0a, 0x16, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, + 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, + 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x73, 0x49, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x49, 0x6e, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, - 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, - 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, - 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, - 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, - 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, - 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, - 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x46, - 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x64, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x28, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x94, + 0x01, 0x0a, 0x1b, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, + 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, - 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, + 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, + 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, + 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x88, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, - 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, - 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x5e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x26, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x7c, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, - 0x08, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, + 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, + 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, - 0x65, 0x73, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, + 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x47, - 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x47, 0x65, + 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, - 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x6a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, - 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x2b, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x47, - 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x31, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, + 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x30, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, + 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, + 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x47, + 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, - 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x72, + 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, - 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, - 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, - 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, - 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x73, 0x0a, 0x10, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x4c, 0x6f, 0x6f, - 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, + 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, - 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, - 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x76, 0x0a, 0x11, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x61, 0x74, 0x65, - 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x61, 0x74, 0x65, - 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0d, 0x4d, 0x69, 0x67, 0x72, 0x61, - 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, + 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, + 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, + 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x73, 0x0a, 0x10, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, + 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x49, 0x6e, 0x69, 0x74, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x4c, + 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, + 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, + 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, + 0x7a, 0x65, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, + 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x76, 0x0a, 0x11, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x61, + 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0d, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x70, 0x0a, 0x0f, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, - 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x12, - 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, - 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, - 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x71, 0x0a, 0x10, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, - 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, - 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x61, 0x0a, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x27, + 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, + 0x77, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, + 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x10, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x4d, 0x6f, 0x76, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2f, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, - 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 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, 0x1a, 0x32, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, + 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, + 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x31, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, - 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x30, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x31, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x52, 0x65, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, - 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, - 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x79, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, + 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x79, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x52, 0x65, - 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, - 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 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, 0x1a, 0x32, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x29, 0x2e, 0x76, + 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, + 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, + 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 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, 0x1a, 0x30, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 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, 0x00, - 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, - 0x65, 0x6c, 0x6c, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x67, + 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x29, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x2f, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x30, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x6b, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x78, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, + 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, + 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, + 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x52, + 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x2b, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x94, 0x01, 0x0a, 0x1b, 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, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 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, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, + 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x73, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, - 0x0a, 0x11, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, - 0x6b, 0x75, 0x70, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, - 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, 0x74, 0x72, - 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x52, 0x75, 0x6e, - 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x2b, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x94, 0x01, 0x0a, 0x1b, 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, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 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, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, - 0x8b, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x73, 0x50, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x35, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, - 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x82, 0x01, - 0x0a, 0x15, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x33, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 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, - 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, + 0x82, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 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, 0x1a, 0x33, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x72, + 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, + 0x64, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x12, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x12, 0x30, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, - 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x19, 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, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x78, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x19, 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, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 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, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, 0x64, 0x0a, - 0x0b, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x6c, - 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x41, 0x64, 0x64, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x53, 0x74, - 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, + 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, 0x00, 0x12, + 0x64, 0x0a, 0x0b, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x00, 0x12, - 0x70, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 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, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, - 0x00, 0x12, 0x91, 0x01, 0x0a, 0x1a, 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, - 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x45, 0x78, + 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x91, 0x01, 0x0a, 0x1a, 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, 0x1a, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x65, 0x64, 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x38, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 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, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, - 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x08, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x76, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 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, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x08, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, + 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x85, 0x01, + 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, - 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x64, 0x65, 0x76, 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, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x70, 0x0a, + 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x88, 0x01, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 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, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 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, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2c, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, - 0x0b, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x28, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, - 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x56, 0x44, 0x69, - 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x64, 0x0a, 0x0b, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x28, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, - 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, - 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x5e, 0x0a, 0x09, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x26, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, - 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x5e, 0x0a, 0x09, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x26, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x56, + 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, - 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x26, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, + 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, - 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x44, + 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x82, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, + 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, + 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, - 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, - 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, - 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, 0x63, - 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x42, 0x51, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, + 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x72, + 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, + 0x69, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x32, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x72, 0x72, + 0x6f, 0x72, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x51, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, + 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } -var file_vitess_vtctlservice_dev_vtctlservice_proto_goTypes = []interface{}{ +var file_vitess_vtctlservice_dev_vtctlservice_proto_goTypes = []any{ (*dev.ExecuteVtctlCommandRequest)(nil), // 0: vitess.vtctldata.dev.ExecuteVtctlCommandRequest (*dev.AddCellInfoRequest)(nil), // 1: vitess.vtctldata.dev.AddCellInfoRequest (*dev.AddCellsAliasRequest)(nil), // 2: vitess.vtctldata.dev.AddCellsAliasRequest (*dev.ApplyRoutingRulesRequest)(nil), // 3: vitess.vtctldata.dev.ApplyRoutingRulesRequest (*dev.ApplySchemaRequest)(nil), // 4: vitess.vtctldata.dev.ApplySchemaRequest - (*dev.ApplyShardRoutingRulesRequest)(nil), // 5: vitess.vtctldata.dev.ApplyShardRoutingRulesRequest - (*dev.ApplyVSchemaRequest)(nil), // 6: vitess.vtctldata.dev.ApplyVSchemaRequest - (*dev.BackupRequest)(nil), // 7: vitess.vtctldata.dev.BackupRequest - (*dev.BackupShardRequest)(nil), // 8: vitess.vtctldata.dev.BackupShardRequest - (*dev.CancelSchemaMigrationRequest)(nil), // 9: vitess.vtctldata.dev.CancelSchemaMigrationRequest - (*dev.ChangeTabletTypeRequest)(nil), // 10: vitess.vtctldata.dev.ChangeTabletTypeRequest - (*dev.CleanupSchemaMigrationRequest)(nil), // 11: vitess.vtctldata.dev.CleanupSchemaMigrationRequest - (*dev.CompleteSchemaMigrationRequest)(nil), // 12: vitess.vtctldata.dev.CompleteSchemaMigrationRequest - (*dev.CreateKeyspaceRequest)(nil), // 13: vitess.vtctldata.dev.CreateKeyspaceRequest - (*dev.CreateShardRequest)(nil), // 14: vitess.vtctldata.dev.CreateShardRequest - (*dev.DeleteCellInfoRequest)(nil), // 15: vitess.vtctldata.dev.DeleteCellInfoRequest - (*dev.DeleteCellsAliasRequest)(nil), // 16: vitess.vtctldata.dev.DeleteCellsAliasRequest - (*dev.DeleteKeyspaceRequest)(nil), // 17: vitess.vtctldata.dev.DeleteKeyspaceRequest - (*dev.DeleteShardsRequest)(nil), // 18: vitess.vtctldata.dev.DeleteShardsRequest - (*dev.DeleteSrvVSchemaRequest)(nil), // 19: vitess.vtctldata.dev.DeleteSrvVSchemaRequest - (*dev.DeleteTabletsRequest)(nil), // 20: vitess.vtctldata.dev.DeleteTabletsRequest - (*dev.EmergencyReparentShardRequest)(nil), // 21: vitess.vtctldata.dev.EmergencyReparentShardRequest - (*dev.ExecuteFetchAsAppRequest)(nil), // 22: vitess.vtctldata.dev.ExecuteFetchAsAppRequest - (*dev.ExecuteFetchAsDBARequest)(nil), // 23: vitess.vtctldata.dev.ExecuteFetchAsDBARequest - (*dev.ExecuteHookRequest)(nil), // 24: vitess.vtctldata.dev.ExecuteHookRequest - (*dev.FindAllShardsInKeyspaceRequest)(nil), // 25: vitess.vtctldata.dev.FindAllShardsInKeyspaceRequest - (*dev.GetBackupsRequest)(nil), // 26: vitess.vtctldata.dev.GetBackupsRequest - (*dev.GetCellInfoRequest)(nil), // 27: vitess.vtctldata.dev.GetCellInfoRequest - (*dev.GetCellInfoNamesRequest)(nil), // 28: vitess.vtctldata.dev.GetCellInfoNamesRequest - (*dev.GetCellsAliasesRequest)(nil), // 29: vitess.vtctldata.dev.GetCellsAliasesRequest - (*dev.GetFullStatusRequest)(nil), // 30: vitess.vtctldata.dev.GetFullStatusRequest - (*dev.GetKeyspaceRequest)(nil), // 31: vitess.vtctldata.dev.GetKeyspaceRequest - (*dev.GetKeyspacesRequest)(nil), // 32: vitess.vtctldata.dev.GetKeyspacesRequest - (*dev.GetPermissionsRequest)(nil), // 33: vitess.vtctldata.dev.GetPermissionsRequest - (*dev.GetRoutingRulesRequest)(nil), // 34: vitess.vtctldata.dev.GetRoutingRulesRequest - (*dev.GetSchemaRequest)(nil), // 35: vitess.vtctldata.dev.GetSchemaRequest - (*dev.GetSchemaMigrationsRequest)(nil), // 36: vitess.vtctldata.dev.GetSchemaMigrationsRequest - (*dev.GetShardRequest)(nil), // 37: vitess.vtctldata.dev.GetShardRequest - (*dev.GetShardRoutingRulesRequest)(nil), // 38: vitess.vtctldata.dev.GetShardRoutingRulesRequest - (*dev.GetSrvKeyspaceNamesRequest)(nil), // 39: vitess.vtctldata.dev.GetSrvKeyspaceNamesRequest - (*dev.GetSrvKeyspacesRequest)(nil), // 40: vitess.vtctldata.dev.GetSrvKeyspacesRequest - (*dev.UpdateThrottlerConfigRequest)(nil), // 41: vitess.vtctldata.dev.UpdateThrottlerConfigRequest - (*dev.GetSrvVSchemaRequest)(nil), // 42: vitess.vtctldata.dev.GetSrvVSchemaRequest - (*dev.GetSrvVSchemasRequest)(nil), // 43: vitess.vtctldata.dev.GetSrvVSchemasRequest - (*dev.GetTabletRequest)(nil), // 44: vitess.vtctldata.dev.GetTabletRequest - (*dev.GetTabletsRequest)(nil), // 45: vitess.vtctldata.dev.GetTabletsRequest - (*dev.GetTopologyPathRequest)(nil), // 46: vitess.vtctldata.dev.GetTopologyPathRequest - (*dev.GetVersionRequest)(nil), // 47: vitess.vtctldata.dev.GetVersionRequest - (*dev.GetVSchemaRequest)(nil), // 48: vitess.vtctldata.dev.GetVSchemaRequest - (*dev.GetWorkflowsRequest)(nil), // 49: vitess.vtctldata.dev.GetWorkflowsRequest - (*dev.InitShardPrimaryRequest)(nil), // 50: vitess.vtctldata.dev.InitShardPrimaryRequest - (*dev.LaunchSchemaMigrationRequest)(nil), // 51: vitess.vtctldata.dev.LaunchSchemaMigrationRequest - (*dev.LookupVindexCreateRequest)(nil), // 52: vitess.vtctldata.dev.LookupVindexCreateRequest - (*dev.LookupVindexExternalizeRequest)(nil), // 53: vitess.vtctldata.dev.LookupVindexExternalizeRequest - (*dev.MaterializeCreateRequest)(nil), // 54: vitess.vtctldata.dev.MaterializeCreateRequest - (*dev.MigrateCreateRequest)(nil), // 55: vitess.vtctldata.dev.MigrateCreateRequest - (*dev.MountRegisterRequest)(nil), // 56: vitess.vtctldata.dev.MountRegisterRequest - (*dev.MountUnregisterRequest)(nil), // 57: vitess.vtctldata.dev.MountUnregisterRequest - (*dev.MountShowRequest)(nil), // 58: vitess.vtctldata.dev.MountShowRequest - (*dev.MountListRequest)(nil), // 59: vitess.vtctldata.dev.MountListRequest - (*dev.MoveTablesCreateRequest)(nil), // 60: vitess.vtctldata.dev.MoveTablesCreateRequest - (*dev.MoveTablesCompleteRequest)(nil), // 61: vitess.vtctldata.dev.MoveTablesCompleteRequest - (*dev.PingTabletRequest)(nil), // 62: vitess.vtctldata.dev.PingTabletRequest - (*dev.PlannedReparentShardRequest)(nil), // 63: vitess.vtctldata.dev.PlannedReparentShardRequest - (*dev.RebuildKeyspaceGraphRequest)(nil), // 64: vitess.vtctldata.dev.RebuildKeyspaceGraphRequest - (*dev.RebuildVSchemaGraphRequest)(nil), // 65: vitess.vtctldata.dev.RebuildVSchemaGraphRequest - (*dev.RefreshStateRequest)(nil), // 66: vitess.vtctldata.dev.RefreshStateRequest - (*dev.RefreshStateByShardRequest)(nil), // 67: vitess.vtctldata.dev.RefreshStateByShardRequest - (*dev.ReloadSchemaRequest)(nil), // 68: vitess.vtctldata.dev.ReloadSchemaRequest - (*dev.ReloadSchemaKeyspaceRequest)(nil), // 69: vitess.vtctldata.dev.ReloadSchemaKeyspaceRequest - (*dev.ReloadSchemaShardRequest)(nil), // 70: vitess.vtctldata.dev.ReloadSchemaShardRequest - (*dev.RemoveBackupRequest)(nil), // 71: vitess.vtctldata.dev.RemoveBackupRequest - (*dev.RemoveKeyspaceCellRequest)(nil), // 72: vitess.vtctldata.dev.RemoveKeyspaceCellRequest - (*dev.RemoveShardCellRequest)(nil), // 73: vitess.vtctldata.dev.RemoveShardCellRequest - (*dev.ReparentTabletRequest)(nil), // 74: vitess.vtctldata.dev.ReparentTabletRequest - (*dev.ReshardCreateRequest)(nil), // 75: vitess.vtctldata.dev.ReshardCreateRequest - (*dev.RestoreFromBackupRequest)(nil), // 76: vitess.vtctldata.dev.RestoreFromBackupRequest - (*dev.RetrySchemaMigrationRequest)(nil), // 77: vitess.vtctldata.dev.RetrySchemaMigrationRequest - (*dev.RunHealthCheckRequest)(nil), // 78: vitess.vtctldata.dev.RunHealthCheckRequest - (*dev.SetKeyspaceDurabilityPolicyRequest)(nil), // 79: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyRequest - (*dev.SetShardIsPrimaryServingRequest)(nil), // 80: vitess.vtctldata.dev.SetShardIsPrimaryServingRequest - (*dev.SetShardTabletControlRequest)(nil), // 81: vitess.vtctldata.dev.SetShardTabletControlRequest - (*dev.SetWritableRequest)(nil), // 82: vitess.vtctldata.dev.SetWritableRequest - (*dev.ShardReplicationAddRequest)(nil), // 83: vitess.vtctldata.dev.ShardReplicationAddRequest - (*dev.ShardReplicationFixRequest)(nil), // 84: vitess.vtctldata.dev.ShardReplicationFixRequest - (*dev.ShardReplicationPositionsRequest)(nil), // 85: vitess.vtctldata.dev.ShardReplicationPositionsRequest - (*dev.ShardReplicationRemoveRequest)(nil), // 86: vitess.vtctldata.dev.ShardReplicationRemoveRequest - (*dev.SleepTabletRequest)(nil), // 87: vitess.vtctldata.dev.SleepTabletRequest - (*dev.SourceShardAddRequest)(nil), // 88: vitess.vtctldata.dev.SourceShardAddRequest - (*dev.SourceShardDeleteRequest)(nil), // 89: vitess.vtctldata.dev.SourceShardDeleteRequest - (*dev.StartReplicationRequest)(nil), // 90: vitess.vtctldata.dev.StartReplicationRequest - (*dev.StopReplicationRequest)(nil), // 91: vitess.vtctldata.dev.StopReplicationRequest - (*dev.TabletExternallyReparentedRequest)(nil), // 92: vitess.vtctldata.dev.TabletExternallyReparentedRequest - (*dev.UpdateCellInfoRequest)(nil), // 93: vitess.vtctldata.dev.UpdateCellInfoRequest - (*dev.UpdateCellsAliasRequest)(nil), // 94: vitess.vtctldata.dev.UpdateCellsAliasRequest - (*dev.ValidateRequest)(nil), // 95: vitess.vtctldata.dev.ValidateRequest - (*dev.ValidateKeyspaceRequest)(nil), // 96: vitess.vtctldata.dev.ValidateKeyspaceRequest - (*dev.ValidateSchemaKeyspaceRequest)(nil), // 97: vitess.vtctldata.dev.ValidateSchemaKeyspaceRequest - (*dev.ValidateShardRequest)(nil), // 98: vitess.vtctldata.dev.ValidateShardRequest - (*dev.ValidateVersionKeyspaceRequest)(nil), // 99: vitess.vtctldata.dev.ValidateVersionKeyspaceRequest - (*dev.ValidateVersionShardRequest)(nil), // 100: vitess.vtctldata.dev.ValidateVersionShardRequest - (*dev.ValidateVSchemaRequest)(nil), // 101: vitess.vtctldata.dev.ValidateVSchemaRequest - (*dev.VDiffCreateRequest)(nil), // 102: vitess.vtctldata.dev.VDiffCreateRequest - (*dev.VDiffDeleteRequest)(nil), // 103: vitess.vtctldata.dev.VDiffDeleteRequest - (*dev.VDiffResumeRequest)(nil), // 104: vitess.vtctldata.dev.VDiffResumeRequest - (*dev.VDiffShowRequest)(nil), // 105: vitess.vtctldata.dev.VDiffShowRequest - (*dev.VDiffStopRequest)(nil), // 106: vitess.vtctldata.dev.VDiffStopRequest - (*dev.WorkflowDeleteRequest)(nil), // 107: vitess.vtctldata.dev.WorkflowDeleteRequest - (*dev.WorkflowStatusRequest)(nil), // 108: vitess.vtctldata.dev.WorkflowStatusRequest - (*dev.WorkflowSwitchTrafficRequest)(nil), // 109: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest - (*dev.WorkflowUpdateRequest)(nil), // 110: vitess.vtctldata.dev.WorkflowUpdateRequest - (*dev.ExecuteVtctlCommandResponse)(nil), // 111: vitess.vtctldata.dev.ExecuteVtctlCommandResponse - (*dev.AddCellInfoResponse)(nil), // 112: vitess.vtctldata.dev.AddCellInfoResponse - (*dev.AddCellsAliasResponse)(nil), // 113: vitess.vtctldata.dev.AddCellsAliasResponse - (*dev.ApplyRoutingRulesResponse)(nil), // 114: vitess.vtctldata.dev.ApplyRoutingRulesResponse - (*dev.ApplySchemaResponse)(nil), // 115: vitess.vtctldata.dev.ApplySchemaResponse - (*dev.ApplyShardRoutingRulesResponse)(nil), // 116: vitess.vtctldata.dev.ApplyShardRoutingRulesResponse - (*dev.ApplyVSchemaResponse)(nil), // 117: vitess.vtctldata.dev.ApplyVSchemaResponse - (*dev.BackupResponse)(nil), // 118: vitess.vtctldata.dev.BackupResponse - (*dev.CancelSchemaMigrationResponse)(nil), // 119: vitess.vtctldata.dev.CancelSchemaMigrationResponse - (*dev.ChangeTabletTypeResponse)(nil), // 120: vitess.vtctldata.dev.ChangeTabletTypeResponse - (*dev.CleanupSchemaMigrationResponse)(nil), // 121: vitess.vtctldata.dev.CleanupSchemaMigrationResponse - (*dev.CompleteSchemaMigrationResponse)(nil), // 122: vitess.vtctldata.dev.CompleteSchemaMigrationResponse - (*dev.CreateKeyspaceResponse)(nil), // 123: vitess.vtctldata.dev.CreateKeyspaceResponse - (*dev.CreateShardResponse)(nil), // 124: vitess.vtctldata.dev.CreateShardResponse - (*dev.DeleteCellInfoResponse)(nil), // 125: vitess.vtctldata.dev.DeleteCellInfoResponse - (*dev.DeleteCellsAliasResponse)(nil), // 126: vitess.vtctldata.dev.DeleteCellsAliasResponse - (*dev.DeleteKeyspaceResponse)(nil), // 127: vitess.vtctldata.dev.DeleteKeyspaceResponse - (*dev.DeleteShardsResponse)(nil), // 128: vitess.vtctldata.dev.DeleteShardsResponse - (*dev.DeleteSrvVSchemaResponse)(nil), // 129: vitess.vtctldata.dev.DeleteSrvVSchemaResponse - (*dev.DeleteTabletsResponse)(nil), // 130: vitess.vtctldata.dev.DeleteTabletsResponse - (*dev.EmergencyReparentShardResponse)(nil), // 131: vitess.vtctldata.dev.EmergencyReparentShardResponse - (*dev.ExecuteFetchAsAppResponse)(nil), // 132: vitess.vtctldata.dev.ExecuteFetchAsAppResponse - (*dev.ExecuteFetchAsDBAResponse)(nil), // 133: vitess.vtctldata.dev.ExecuteFetchAsDBAResponse - (*dev.ExecuteHookResponse)(nil), // 134: vitess.vtctldata.dev.ExecuteHookResponse - (*dev.FindAllShardsInKeyspaceResponse)(nil), // 135: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse - (*dev.GetBackupsResponse)(nil), // 136: vitess.vtctldata.dev.GetBackupsResponse - (*dev.GetCellInfoResponse)(nil), // 137: vitess.vtctldata.dev.GetCellInfoResponse - (*dev.GetCellInfoNamesResponse)(nil), // 138: vitess.vtctldata.dev.GetCellInfoNamesResponse - (*dev.GetCellsAliasesResponse)(nil), // 139: vitess.vtctldata.dev.GetCellsAliasesResponse - (*dev.GetFullStatusResponse)(nil), // 140: vitess.vtctldata.dev.GetFullStatusResponse - (*dev.GetKeyspaceResponse)(nil), // 141: vitess.vtctldata.dev.GetKeyspaceResponse - (*dev.GetKeyspacesResponse)(nil), // 142: vitess.vtctldata.dev.GetKeyspacesResponse - (*dev.GetPermissionsResponse)(nil), // 143: vitess.vtctldata.dev.GetPermissionsResponse - (*dev.GetRoutingRulesResponse)(nil), // 144: vitess.vtctldata.dev.GetRoutingRulesResponse - (*dev.GetSchemaResponse)(nil), // 145: vitess.vtctldata.dev.GetSchemaResponse - (*dev.GetSchemaMigrationsResponse)(nil), // 146: vitess.vtctldata.dev.GetSchemaMigrationsResponse - (*dev.GetShardResponse)(nil), // 147: vitess.vtctldata.dev.GetShardResponse - (*dev.GetShardRoutingRulesResponse)(nil), // 148: vitess.vtctldata.dev.GetShardRoutingRulesResponse - (*dev.GetSrvKeyspaceNamesResponse)(nil), // 149: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse - (*dev.GetSrvKeyspacesResponse)(nil), // 150: vitess.vtctldata.dev.GetSrvKeyspacesResponse - (*dev.UpdateThrottlerConfigResponse)(nil), // 151: vitess.vtctldata.dev.UpdateThrottlerConfigResponse - (*dev.GetSrvVSchemaResponse)(nil), // 152: vitess.vtctldata.dev.GetSrvVSchemaResponse - (*dev.GetSrvVSchemasResponse)(nil), // 153: vitess.vtctldata.dev.GetSrvVSchemasResponse - (*dev.GetTabletResponse)(nil), // 154: vitess.vtctldata.dev.GetTabletResponse - (*dev.GetTabletsResponse)(nil), // 155: vitess.vtctldata.dev.GetTabletsResponse - (*dev.GetTopologyPathResponse)(nil), // 156: vitess.vtctldata.dev.GetTopologyPathResponse - (*dev.GetVersionResponse)(nil), // 157: vitess.vtctldata.dev.GetVersionResponse - (*dev.GetVSchemaResponse)(nil), // 158: vitess.vtctldata.dev.GetVSchemaResponse - (*dev.GetWorkflowsResponse)(nil), // 159: vitess.vtctldata.dev.GetWorkflowsResponse - (*dev.InitShardPrimaryResponse)(nil), // 160: vitess.vtctldata.dev.InitShardPrimaryResponse - (*dev.LaunchSchemaMigrationResponse)(nil), // 161: vitess.vtctldata.dev.LaunchSchemaMigrationResponse - (*dev.LookupVindexCreateResponse)(nil), // 162: vitess.vtctldata.dev.LookupVindexCreateResponse - (*dev.LookupVindexExternalizeResponse)(nil), // 163: vitess.vtctldata.dev.LookupVindexExternalizeResponse - (*dev.MaterializeCreateResponse)(nil), // 164: vitess.vtctldata.dev.MaterializeCreateResponse - (*dev.WorkflowStatusResponse)(nil), // 165: vitess.vtctldata.dev.WorkflowStatusResponse - (*dev.MountRegisterResponse)(nil), // 166: vitess.vtctldata.dev.MountRegisterResponse - (*dev.MountUnregisterResponse)(nil), // 167: vitess.vtctldata.dev.MountUnregisterResponse - (*dev.MountShowResponse)(nil), // 168: vitess.vtctldata.dev.MountShowResponse - (*dev.MountListResponse)(nil), // 169: vitess.vtctldata.dev.MountListResponse - (*dev.MoveTablesCompleteResponse)(nil), // 170: vitess.vtctldata.dev.MoveTablesCompleteResponse - (*dev.PingTabletResponse)(nil), // 171: vitess.vtctldata.dev.PingTabletResponse - (*dev.PlannedReparentShardResponse)(nil), // 172: vitess.vtctldata.dev.PlannedReparentShardResponse - (*dev.RebuildKeyspaceGraphResponse)(nil), // 173: vitess.vtctldata.dev.RebuildKeyspaceGraphResponse - (*dev.RebuildVSchemaGraphResponse)(nil), // 174: vitess.vtctldata.dev.RebuildVSchemaGraphResponse - (*dev.RefreshStateResponse)(nil), // 175: vitess.vtctldata.dev.RefreshStateResponse - (*dev.RefreshStateByShardResponse)(nil), // 176: vitess.vtctldata.dev.RefreshStateByShardResponse - (*dev.ReloadSchemaResponse)(nil), // 177: vitess.vtctldata.dev.ReloadSchemaResponse - (*dev.ReloadSchemaKeyspaceResponse)(nil), // 178: vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse - (*dev.ReloadSchemaShardResponse)(nil), // 179: vitess.vtctldata.dev.ReloadSchemaShardResponse - (*dev.RemoveBackupResponse)(nil), // 180: vitess.vtctldata.dev.RemoveBackupResponse - (*dev.RemoveKeyspaceCellResponse)(nil), // 181: vitess.vtctldata.dev.RemoveKeyspaceCellResponse - (*dev.RemoveShardCellResponse)(nil), // 182: vitess.vtctldata.dev.RemoveShardCellResponse - (*dev.ReparentTabletResponse)(nil), // 183: vitess.vtctldata.dev.ReparentTabletResponse - (*dev.RestoreFromBackupResponse)(nil), // 184: vitess.vtctldata.dev.RestoreFromBackupResponse - (*dev.RetrySchemaMigrationResponse)(nil), // 185: vitess.vtctldata.dev.RetrySchemaMigrationResponse - (*dev.RunHealthCheckResponse)(nil), // 186: vitess.vtctldata.dev.RunHealthCheckResponse - (*dev.SetKeyspaceDurabilityPolicyResponse)(nil), // 187: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse - (*dev.SetShardIsPrimaryServingResponse)(nil), // 188: vitess.vtctldata.dev.SetShardIsPrimaryServingResponse - (*dev.SetShardTabletControlResponse)(nil), // 189: vitess.vtctldata.dev.SetShardTabletControlResponse - (*dev.SetWritableResponse)(nil), // 190: vitess.vtctldata.dev.SetWritableResponse - (*dev.ShardReplicationAddResponse)(nil), // 191: vitess.vtctldata.dev.ShardReplicationAddResponse - (*dev.ShardReplicationFixResponse)(nil), // 192: vitess.vtctldata.dev.ShardReplicationFixResponse - (*dev.ShardReplicationPositionsResponse)(nil), // 193: vitess.vtctldata.dev.ShardReplicationPositionsResponse - (*dev.ShardReplicationRemoveResponse)(nil), // 194: vitess.vtctldata.dev.ShardReplicationRemoveResponse - (*dev.SleepTabletResponse)(nil), // 195: vitess.vtctldata.dev.SleepTabletResponse - (*dev.SourceShardAddResponse)(nil), // 196: vitess.vtctldata.dev.SourceShardAddResponse - (*dev.SourceShardDeleteResponse)(nil), // 197: vitess.vtctldata.dev.SourceShardDeleteResponse - (*dev.StartReplicationResponse)(nil), // 198: vitess.vtctldata.dev.StartReplicationResponse - (*dev.StopReplicationResponse)(nil), // 199: vitess.vtctldata.dev.StopReplicationResponse - (*dev.TabletExternallyReparentedResponse)(nil), // 200: vitess.vtctldata.dev.TabletExternallyReparentedResponse - (*dev.UpdateCellInfoResponse)(nil), // 201: vitess.vtctldata.dev.UpdateCellInfoResponse - (*dev.UpdateCellsAliasResponse)(nil), // 202: vitess.vtctldata.dev.UpdateCellsAliasResponse - (*dev.ValidateResponse)(nil), // 203: vitess.vtctldata.dev.ValidateResponse - (*dev.ValidateKeyspaceResponse)(nil), // 204: vitess.vtctldata.dev.ValidateKeyspaceResponse - (*dev.ValidateSchemaKeyspaceResponse)(nil), // 205: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse - (*dev.ValidateShardResponse)(nil), // 206: vitess.vtctldata.dev.ValidateShardResponse - (*dev.ValidateVersionKeyspaceResponse)(nil), // 207: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse - (*dev.ValidateVersionShardResponse)(nil), // 208: vitess.vtctldata.dev.ValidateVersionShardResponse - (*dev.ValidateVSchemaResponse)(nil), // 209: vitess.vtctldata.dev.ValidateVSchemaResponse - (*dev.VDiffCreateResponse)(nil), // 210: vitess.vtctldata.dev.VDiffCreateResponse - (*dev.VDiffDeleteResponse)(nil), // 211: vitess.vtctldata.dev.VDiffDeleteResponse - (*dev.VDiffResumeResponse)(nil), // 212: vitess.vtctldata.dev.VDiffResumeResponse - (*dev.VDiffShowResponse)(nil), // 213: vitess.vtctldata.dev.VDiffShowResponse - (*dev.VDiffStopResponse)(nil), // 214: vitess.vtctldata.dev.VDiffStopResponse - (*dev.WorkflowDeleteResponse)(nil), // 215: vitess.vtctldata.dev.WorkflowDeleteResponse - (*dev.WorkflowSwitchTrafficResponse)(nil), // 216: vitess.vtctldata.dev.WorkflowSwitchTrafficResponse - (*dev.WorkflowUpdateResponse)(nil), // 217: vitess.vtctldata.dev.WorkflowUpdateResponse + (*dev.ApplyKeyspaceRoutingRulesRequest)(nil), // 5: vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesRequest + (*dev.ApplyShardRoutingRulesRequest)(nil), // 6: vitess.vtctldata.dev.ApplyShardRoutingRulesRequest + (*dev.ApplyVSchemaRequest)(nil), // 7: vitess.vtctldata.dev.ApplyVSchemaRequest + (*dev.BackupRequest)(nil), // 8: vitess.vtctldata.dev.BackupRequest + (*dev.BackupShardRequest)(nil), // 9: vitess.vtctldata.dev.BackupShardRequest + (*dev.CancelSchemaMigrationRequest)(nil), // 10: vitess.vtctldata.dev.CancelSchemaMigrationRequest + (*dev.ChangeTabletTagsRequest)(nil), // 11: vitess.vtctldata.dev.ChangeTabletTagsRequest + (*dev.ChangeTabletTypeRequest)(nil), // 12: vitess.vtctldata.dev.ChangeTabletTypeRequest + (*dev.CheckThrottlerRequest)(nil), // 13: vitess.vtctldata.dev.CheckThrottlerRequest + (*dev.CleanupSchemaMigrationRequest)(nil), // 14: vitess.vtctldata.dev.CleanupSchemaMigrationRequest + (*dev.CompleteSchemaMigrationRequest)(nil), // 15: vitess.vtctldata.dev.CompleteSchemaMigrationRequest + (*dev.ConcludeTransactionRequest)(nil), // 16: vitess.vtctldata.dev.ConcludeTransactionRequest + (*dev.CreateKeyspaceRequest)(nil), // 17: vitess.vtctldata.dev.CreateKeyspaceRequest + (*dev.CreateShardRequest)(nil), // 18: vitess.vtctldata.dev.CreateShardRequest + (*dev.DeleteCellInfoRequest)(nil), // 19: vitess.vtctldata.dev.DeleteCellInfoRequest + (*dev.DeleteCellsAliasRequest)(nil), // 20: vitess.vtctldata.dev.DeleteCellsAliasRequest + (*dev.DeleteKeyspaceRequest)(nil), // 21: vitess.vtctldata.dev.DeleteKeyspaceRequest + (*dev.DeleteShardsRequest)(nil), // 22: vitess.vtctldata.dev.DeleteShardsRequest + (*dev.DeleteSrvVSchemaRequest)(nil), // 23: vitess.vtctldata.dev.DeleteSrvVSchemaRequest + (*dev.DeleteTabletsRequest)(nil), // 24: vitess.vtctldata.dev.DeleteTabletsRequest + (*dev.EmergencyReparentShardRequest)(nil), // 25: vitess.vtctldata.dev.EmergencyReparentShardRequest + (*dev.ExecuteFetchAsAppRequest)(nil), // 26: vitess.vtctldata.dev.ExecuteFetchAsAppRequest + (*dev.ExecuteFetchAsDBARequest)(nil), // 27: vitess.vtctldata.dev.ExecuteFetchAsDBARequest + (*dev.ExecuteHookRequest)(nil), // 28: vitess.vtctldata.dev.ExecuteHookRequest + (*dev.ExecuteMultiFetchAsDBARequest)(nil), // 29: vitess.vtctldata.dev.ExecuteMultiFetchAsDBARequest + (*dev.FindAllShardsInKeyspaceRequest)(nil), // 30: vitess.vtctldata.dev.FindAllShardsInKeyspaceRequest + (*dev.ForceCutOverSchemaMigrationRequest)(nil), // 31: vitess.vtctldata.dev.ForceCutOverSchemaMigrationRequest + (*dev.GetBackupsRequest)(nil), // 32: vitess.vtctldata.dev.GetBackupsRequest + (*dev.GetCellInfoRequest)(nil), // 33: vitess.vtctldata.dev.GetCellInfoRequest + (*dev.GetCellInfoNamesRequest)(nil), // 34: vitess.vtctldata.dev.GetCellInfoNamesRequest + (*dev.GetCellsAliasesRequest)(nil), // 35: vitess.vtctldata.dev.GetCellsAliasesRequest + (*dev.GetFullStatusRequest)(nil), // 36: vitess.vtctldata.dev.GetFullStatusRequest + (*dev.GetKeyspaceRequest)(nil), // 37: vitess.vtctldata.dev.GetKeyspaceRequest + (*dev.GetKeyspacesRequest)(nil), // 38: vitess.vtctldata.dev.GetKeyspacesRequest + (*dev.GetKeyspaceRoutingRulesRequest)(nil), // 39: vitess.vtctldata.dev.GetKeyspaceRoutingRulesRequest + (*dev.GetPermissionsRequest)(nil), // 40: vitess.vtctldata.dev.GetPermissionsRequest + (*dev.GetRoutingRulesRequest)(nil), // 41: vitess.vtctldata.dev.GetRoutingRulesRequest + (*dev.GetSchemaRequest)(nil), // 42: vitess.vtctldata.dev.GetSchemaRequest + (*dev.GetSchemaMigrationsRequest)(nil), // 43: vitess.vtctldata.dev.GetSchemaMigrationsRequest + (*dev.GetShardReplicationRequest)(nil), // 44: vitess.vtctldata.dev.GetShardReplicationRequest + (*dev.GetShardRequest)(nil), // 45: vitess.vtctldata.dev.GetShardRequest + (*dev.GetShardRoutingRulesRequest)(nil), // 46: vitess.vtctldata.dev.GetShardRoutingRulesRequest + (*dev.GetSrvKeyspaceNamesRequest)(nil), // 47: vitess.vtctldata.dev.GetSrvKeyspaceNamesRequest + (*dev.GetSrvKeyspacesRequest)(nil), // 48: vitess.vtctldata.dev.GetSrvKeyspacesRequest + (*dev.UpdateThrottlerConfigRequest)(nil), // 49: vitess.vtctldata.dev.UpdateThrottlerConfigRequest + (*dev.GetSrvVSchemaRequest)(nil), // 50: vitess.vtctldata.dev.GetSrvVSchemaRequest + (*dev.GetSrvVSchemasRequest)(nil), // 51: vitess.vtctldata.dev.GetSrvVSchemasRequest + (*dev.GetTabletRequest)(nil), // 52: vitess.vtctldata.dev.GetTabletRequest + (*dev.GetTabletsRequest)(nil), // 53: vitess.vtctldata.dev.GetTabletsRequest + (*dev.GetThrottlerStatusRequest)(nil), // 54: vitess.vtctldata.dev.GetThrottlerStatusRequest + (*dev.GetTopologyPathRequest)(nil), // 55: vitess.vtctldata.dev.GetTopologyPathRequest + (*dev.GetTransactionInfoRequest)(nil), // 56: vitess.vtctldata.dev.GetTransactionInfoRequest + (*dev.GetUnresolvedTransactionsRequest)(nil), // 57: vitess.vtctldata.dev.GetUnresolvedTransactionsRequest + (*dev.GetVersionRequest)(nil), // 58: vitess.vtctldata.dev.GetVersionRequest + (*dev.GetVSchemaRequest)(nil), // 59: vitess.vtctldata.dev.GetVSchemaRequest + (*dev.GetWorkflowsRequest)(nil), // 60: vitess.vtctldata.dev.GetWorkflowsRequest + (*dev.InitShardPrimaryRequest)(nil), // 61: vitess.vtctldata.dev.InitShardPrimaryRequest + (*dev.LaunchSchemaMigrationRequest)(nil), // 62: vitess.vtctldata.dev.LaunchSchemaMigrationRequest + (*dev.LookupVindexCreateRequest)(nil), // 63: vitess.vtctldata.dev.LookupVindexCreateRequest + (*dev.LookupVindexExternalizeRequest)(nil), // 64: vitess.vtctldata.dev.LookupVindexExternalizeRequest + (*dev.MaterializeCreateRequest)(nil), // 65: vitess.vtctldata.dev.MaterializeCreateRequest + (*dev.MigrateCreateRequest)(nil), // 66: vitess.vtctldata.dev.MigrateCreateRequest + (*dev.MountRegisterRequest)(nil), // 67: vitess.vtctldata.dev.MountRegisterRequest + (*dev.MountUnregisterRequest)(nil), // 68: vitess.vtctldata.dev.MountUnregisterRequest + (*dev.MountShowRequest)(nil), // 69: vitess.vtctldata.dev.MountShowRequest + (*dev.MountListRequest)(nil), // 70: vitess.vtctldata.dev.MountListRequest + (*dev.MoveTablesCreateRequest)(nil), // 71: vitess.vtctldata.dev.MoveTablesCreateRequest + (*dev.MoveTablesCompleteRequest)(nil), // 72: vitess.vtctldata.dev.MoveTablesCompleteRequest + (*dev.PingTabletRequest)(nil), // 73: vitess.vtctldata.dev.PingTabletRequest + (*dev.PlannedReparentShardRequest)(nil), // 74: vitess.vtctldata.dev.PlannedReparentShardRequest + (*dev.RebuildKeyspaceGraphRequest)(nil), // 75: vitess.vtctldata.dev.RebuildKeyspaceGraphRequest + (*dev.RebuildVSchemaGraphRequest)(nil), // 76: vitess.vtctldata.dev.RebuildVSchemaGraphRequest + (*dev.RefreshStateRequest)(nil), // 77: vitess.vtctldata.dev.RefreshStateRequest + (*dev.RefreshStateByShardRequest)(nil), // 78: vitess.vtctldata.dev.RefreshStateByShardRequest + (*dev.ReloadSchemaRequest)(nil), // 79: vitess.vtctldata.dev.ReloadSchemaRequest + (*dev.ReloadSchemaKeyspaceRequest)(nil), // 80: vitess.vtctldata.dev.ReloadSchemaKeyspaceRequest + (*dev.ReloadSchemaShardRequest)(nil), // 81: vitess.vtctldata.dev.ReloadSchemaShardRequest + (*dev.RemoveBackupRequest)(nil), // 82: vitess.vtctldata.dev.RemoveBackupRequest + (*dev.RemoveKeyspaceCellRequest)(nil), // 83: vitess.vtctldata.dev.RemoveKeyspaceCellRequest + (*dev.RemoveShardCellRequest)(nil), // 84: vitess.vtctldata.dev.RemoveShardCellRequest + (*dev.ReparentTabletRequest)(nil), // 85: vitess.vtctldata.dev.ReparentTabletRequest + (*dev.ReshardCreateRequest)(nil), // 86: vitess.vtctldata.dev.ReshardCreateRequest + (*dev.RestoreFromBackupRequest)(nil), // 87: vitess.vtctldata.dev.RestoreFromBackupRequest + (*dev.RetrySchemaMigrationRequest)(nil), // 88: vitess.vtctldata.dev.RetrySchemaMigrationRequest + (*dev.RunHealthCheckRequest)(nil), // 89: vitess.vtctldata.dev.RunHealthCheckRequest + (*dev.SetKeyspaceDurabilityPolicyRequest)(nil), // 90: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyRequest + (*dev.SetShardIsPrimaryServingRequest)(nil), // 91: vitess.vtctldata.dev.SetShardIsPrimaryServingRequest + (*dev.SetShardTabletControlRequest)(nil), // 92: vitess.vtctldata.dev.SetShardTabletControlRequest + (*dev.SetWritableRequest)(nil), // 93: vitess.vtctldata.dev.SetWritableRequest + (*dev.ShardReplicationAddRequest)(nil), // 94: vitess.vtctldata.dev.ShardReplicationAddRequest + (*dev.ShardReplicationFixRequest)(nil), // 95: vitess.vtctldata.dev.ShardReplicationFixRequest + (*dev.ShardReplicationPositionsRequest)(nil), // 96: vitess.vtctldata.dev.ShardReplicationPositionsRequest + (*dev.ShardReplicationRemoveRequest)(nil), // 97: vitess.vtctldata.dev.ShardReplicationRemoveRequest + (*dev.SleepTabletRequest)(nil), // 98: vitess.vtctldata.dev.SleepTabletRequest + (*dev.SourceShardAddRequest)(nil), // 99: vitess.vtctldata.dev.SourceShardAddRequest + (*dev.SourceShardDeleteRequest)(nil), // 100: vitess.vtctldata.dev.SourceShardDeleteRequest + (*dev.StartReplicationRequest)(nil), // 101: vitess.vtctldata.dev.StartReplicationRequest + (*dev.StopReplicationRequest)(nil), // 102: vitess.vtctldata.dev.StopReplicationRequest + (*dev.TabletExternallyReparentedRequest)(nil), // 103: vitess.vtctldata.dev.TabletExternallyReparentedRequest + (*dev.UpdateCellInfoRequest)(nil), // 104: vitess.vtctldata.dev.UpdateCellInfoRequest + (*dev.UpdateCellsAliasRequest)(nil), // 105: vitess.vtctldata.dev.UpdateCellsAliasRequest + (*dev.ValidateRequest)(nil), // 106: vitess.vtctldata.dev.ValidateRequest + (*dev.ValidateKeyspaceRequest)(nil), // 107: vitess.vtctldata.dev.ValidateKeyspaceRequest + (*dev.ValidateSchemaKeyspaceRequest)(nil), // 108: vitess.vtctldata.dev.ValidateSchemaKeyspaceRequest + (*dev.ValidateShardRequest)(nil), // 109: vitess.vtctldata.dev.ValidateShardRequest + (*dev.ValidateVersionKeyspaceRequest)(nil), // 110: vitess.vtctldata.dev.ValidateVersionKeyspaceRequest + (*dev.ValidateVersionShardRequest)(nil), // 111: vitess.vtctldata.dev.ValidateVersionShardRequest + (*dev.ValidateVSchemaRequest)(nil), // 112: vitess.vtctldata.dev.ValidateVSchemaRequest + (*dev.VDiffCreateRequest)(nil), // 113: vitess.vtctldata.dev.VDiffCreateRequest + (*dev.VDiffDeleteRequest)(nil), // 114: vitess.vtctldata.dev.VDiffDeleteRequest + (*dev.VDiffResumeRequest)(nil), // 115: vitess.vtctldata.dev.VDiffResumeRequest + (*dev.VDiffShowRequest)(nil), // 116: vitess.vtctldata.dev.VDiffShowRequest + (*dev.VDiffStopRequest)(nil), // 117: vitess.vtctldata.dev.VDiffStopRequest + (*dev.WorkflowDeleteRequest)(nil), // 118: vitess.vtctldata.dev.WorkflowDeleteRequest + (*dev.WorkflowStatusRequest)(nil), // 119: vitess.vtctldata.dev.WorkflowStatusRequest + (*dev.WorkflowSwitchTrafficRequest)(nil), // 120: vitess.vtctldata.dev.WorkflowSwitchTrafficRequest + (*dev.WorkflowUpdateRequest)(nil), // 121: vitess.vtctldata.dev.WorkflowUpdateRequest + (*dev.GetMirrorRulesRequest)(nil), // 122: vitess.vtctldata.dev.GetMirrorRulesRequest + (*dev.WorkflowMirrorTrafficRequest)(nil), // 123: vitess.vtctldata.dev.WorkflowMirrorTrafficRequest + (*dev.ExecuteVtctlCommandResponse)(nil), // 124: vitess.vtctldata.dev.ExecuteVtctlCommandResponse + (*dev.AddCellInfoResponse)(nil), // 125: vitess.vtctldata.dev.AddCellInfoResponse + (*dev.AddCellsAliasResponse)(nil), // 126: vitess.vtctldata.dev.AddCellsAliasResponse + (*dev.ApplyRoutingRulesResponse)(nil), // 127: vitess.vtctldata.dev.ApplyRoutingRulesResponse + (*dev.ApplySchemaResponse)(nil), // 128: vitess.vtctldata.dev.ApplySchemaResponse + (*dev.ApplyKeyspaceRoutingRulesResponse)(nil), // 129: vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesResponse + (*dev.ApplyShardRoutingRulesResponse)(nil), // 130: vitess.vtctldata.dev.ApplyShardRoutingRulesResponse + (*dev.ApplyVSchemaResponse)(nil), // 131: vitess.vtctldata.dev.ApplyVSchemaResponse + (*dev.BackupResponse)(nil), // 132: vitess.vtctldata.dev.BackupResponse + (*dev.CancelSchemaMigrationResponse)(nil), // 133: vitess.vtctldata.dev.CancelSchemaMigrationResponse + (*dev.ChangeTabletTagsResponse)(nil), // 134: vitess.vtctldata.dev.ChangeTabletTagsResponse + (*dev.ChangeTabletTypeResponse)(nil), // 135: vitess.vtctldata.dev.ChangeTabletTypeResponse + (*dev.CheckThrottlerResponse)(nil), // 136: vitess.vtctldata.dev.CheckThrottlerResponse + (*dev.CleanupSchemaMigrationResponse)(nil), // 137: vitess.vtctldata.dev.CleanupSchemaMigrationResponse + (*dev.CompleteSchemaMigrationResponse)(nil), // 138: vitess.vtctldata.dev.CompleteSchemaMigrationResponse + (*dev.ConcludeTransactionResponse)(nil), // 139: vitess.vtctldata.dev.ConcludeTransactionResponse + (*dev.CreateKeyspaceResponse)(nil), // 140: vitess.vtctldata.dev.CreateKeyspaceResponse + (*dev.CreateShardResponse)(nil), // 141: vitess.vtctldata.dev.CreateShardResponse + (*dev.DeleteCellInfoResponse)(nil), // 142: vitess.vtctldata.dev.DeleteCellInfoResponse + (*dev.DeleteCellsAliasResponse)(nil), // 143: vitess.vtctldata.dev.DeleteCellsAliasResponse + (*dev.DeleteKeyspaceResponse)(nil), // 144: vitess.vtctldata.dev.DeleteKeyspaceResponse + (*dev.DeleteShardsResponse)(nil), // 145: vitess.vtctldata.dev.DeleteShardsResponse + (*dev.DeleteSrvVSchemaResponse)(nil), // 146: vitess.vtctldata.dev.DeleteSrvVSchemaResponse + (*dev.DeleteTabletsResponse)(nil), // 147: vitess.vtctldata.dev.DeleteTabletsResponse + (*dev.EmergencyReparentShardResponse)(nil), // 148: vitess.vtctldata.dev.EmergencyReparentShardResponse + (*dev.ExecuteFetchAsAppResponse)(nil), // 149: vitess.vtctldata.dev.ExecuteFetchAsAppResponse + (*dev.ExecuteFetchAsDBAResponse)(nil), // 150: vitess.vtctldata.dev.ExecuteFetchAsDBAResponse + (*dev.ExecuteHookResponse)(nil), // 151: vitess.vtctldata.dev.ExecuteHookResponse + (*dev.ExecuteMultiFetchAsDBAResponse)(nil), // 152: vitess.vtctldata.dev.ExecuteMultiFetchAsDBAResponse + (*dev.FindAllShardsInKeyspaceResponse)(nil), // 153: vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse + (*dev.ForceCutOverSchemaMigrationResponse)(nil), // 154: vitess.vtctldata.dev.ForceCutOverSchemaMigrationResponse + (*dev.GetBackupsResponse)(nil), // 155: vitess.vtctldata.dev.GetBackupsResponse + (*dev.GetCellInfoResponse)(nil), // 156: vitess.vtctldata.dev.GetCellInfoResponse + (*dev.GetCellInfoNamesResponse)(nil), // 157: vitess.vtctldata.dev.GetCellInfoNamesResponse + (*dev.GetCellsAliasesResponse)(nil), // 158: vitess.vtctldata.dev.GetCellsAliasesResponse + (*dev.GetFullStatusResponse)(nil), // 159: vitess.vtctldata.dev.GetFullStatusResponse + (*dev.GetKeyspaceResponse)(nil), // 160: vitess.vtctldata.dev.GetKeyspaceResponse + (*dev.GetKeyspacesResponse)(nil), // 161: vitess.vtctldata.dev.GetKeyspacesResponse + (*dev.GetKeyspaceRoutingRulesResponse)(nil), // 162: vitess.vtctldata.dev.GetKeyspaceRoutingRulesResponse + (*dev.GetPermissionsResponse)(nil), // 163: vitess.vtctldata.dev.GetPermissionsResponse + (*dev.GetRoutingRulesResponse)(nil), // 164: vitess.vtctldata.dev.GetRoutingRulesResponse + (*dev.GetSchemaResponse)(nil), // 165: vitess.vtctldata.dev.GetSchemaResponse + (*dev.GetSchemaMigrationsResponse)(nil), // 166: vitess.vtctldata.dev.GetSchemaMigrationsResponse + (*dev.GetShardReplicationResponse)(nil), // 167: vitess.vtctldata.dev.GetShardReplicationResponse + (*dev.GetShardResponse)(nil), // 168: vitess.vtctldata.dev.GetShardResponse + (*dev.GetShardRoutingRulesResponse)(nil), // 169: vitess.vtctldata.dev.GetShardRoutingRulesResponse + (*dev.GetSrvKeyspaceNamesResponse)(nil), // 170: vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse + (*dev.GetSrvKeyspacesResponse)(nil), // 171: vitess.vtctldata.dev.GetSrvKeyspacesResponse + (*dev.UpdateThrottlerConfigResponse)(nil), // 172: vitess.vtctldata.dev.UpdateThrottlerConfigResponse + (*dev.GetSrvVSchemaResponse)(nil), // 173: vitess.vtctldata.dev.GetSrvVSchemaResponse + (*dev.GetSrvVSchemasResponse)(nil), // 174: vitess.vtctldata.dev.GetSrvVSchemasResponse + (*dev.GetTabletResponse)(nil), // 175: vitess.vtctldata.dev.GetTabletResponse + (*dev.GetTabletsResponse)(nil), // 176: vitess.vtctldata.dev.GetTabletsResponse + (*dev.GetThrottlerStatusResponse)(nil), // 177: vitess.vtctldata.dev.GetThrottlerStatusResponse + (*dev.GetTopologyPathResponse)(nil), // 178: vitess.vtctldata.dev.GetTopologyPathResponse + (*dev.GetTransactionInfoResponse)(nil), // 179: vitess.vtctldata.dev.GetTransactionInfoResponse + (*dev.GetUnresolvedTransactionsResponse)(nil), // 180: vitess.vtctldata.dev.GetUnresolvedTransactionsResponse + (*dev.GetVersionResponse)(nil), // 181: vitess.vtctldata.dev.GetVersionResponse + (*dev.GetVSchemaResponse)(nil), // 182: vitess.vtctldata.dev.GetVSchemaResponse + (*dev.GetWorkflowsResponse)(nil), // 183: vitess.vtctldata.dev.GetWorkflowsResponse + (*dev.InitShardPrimaryResponse)(nil), // 184: vitess.vtctldata.dev.InitShardPrimaryResponse + (*dev.LaunchSchemaMigrationResponse)(nil), // 185: vitess.vtctldata.dev.LaunchSchemaMigrationResponse + (*dev.LookupVindexCreateResponse)(nil), // 186: vitess.vtctldata.dev.LookupVindexCreateResponse + (*dev.LookupVindexExternalizeResponse)(nil), // 187: vitess.vtctldata.dev.LookupVindexExternalizeResponse + (*dev.MaterializeCreateResponse)(nil), // 188: vitess.vtctldata.dev.MaterializeCreateResponse + (*dev.WorkflowStatusResponse)(nil), // 189: vitess.vtctldata.dev.WorkflowStatusResponse + (*dev.MountRegisterResponse)(nil), // 190: vitess.vtctldata.dev.MountRegisterResponse + (*dev.MountUnregisterResponse)(nil), // 191: vitess.vtctldata.dev.MountUnregisterResponse + (*dev.MountShowResponse)(nil), // 192: vitess.vtctldata.dev.MountShowResponse + (*dev.MountListResponse)(nil), // 193: vitess.vtctldata.dev.MountListResponse + (*dev.MoveTablesCompleteResponse)(nil), // 194: vitess.vtctldata.dev.MoveTablesCompleteResponse + (*dev.PingTabletResponse)(nil), // 195: vitess.vtctldata.dev.PingTabletResponse + (*dev.PlannedReparentShardResponse)(nil), // 196: vitess.vtctldata.dev.PlannedReparentShardResponse + (*dev.RebuildKeyspaceGraphResponse)(nil), // 197: vitess.vtctldata.dev.RebuildKeyspaceGraphResponse + (*dev.RebuildVSchemaGraphResponse)(nil), // 198: vitess.vtctldata.dev.RebuildVSchemaGraphResponse + (*dev.RefreshStateResponse)(nil), // 199: vitess.vtctldata.dev.RefreshStateResponse + (*dev.RefreshStateByShardResponse)(nil), // 200: vitess.vtctldata.dev.RefreshStateByShardResponse + (*dev.ReloadSchemaResponse)(nil), // 201: vitess.vtctldata.dev.ReloadSchemaResponse + (*dev.ReloadSchemaKeyspaceResponse)(nil), // 202: vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse + (*dev.ReloadSchemaShardResponse)(nil), // 203: vitess.vtctldata.dev.ReloadSchemaShardResponse + (*dev.RemoveBackupResponse)(nil), // 204: vitess.vtctldata.dev.RemoveBackupResponse + (*dev.RemoveKeyspaceCellResponse)(nil), // 205: vitess.vtctldata.dev.RemoveKeyspaceCellResponse + (*dev.RemoveShardCellResponse)(nil), // 206: vitess.vtctldata.dev.RemoveShardCellResponse + (*dev.ReparentTabletResponse)(nil), // 207: vitess.vtctldata.dev.ReparentTabletResponse + (*dev.RestoreFromBackupResponse)(nil), // 208: vitess.vtctldata.dev.RestoreFromBackupResponse + (*dev.RetrySchemaMigrationResponse)(nil), // 209: vitess.vtctldata.dev.RetrySchemaMigrationResponse + (*dev.RunHealthCheckResponse)(nil), // 210: vitess.vtctldata.dev.RunHealthCheckResponse + (*dev.SetKeyspaceDurabilityPolicyResponse)(nil), // 211: vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse + (*dev.SetShardIsPrimaryServingResponse)(nil), // 212: vitess.vtctldata.dev.SetShardIsPrimaryServingResponse + (*dev.SetShardTabletControlResponse)(nil), // 213: vitess.vtctldata.dev.SetShardTabletControlResponse + (*dev.SetWritableResponse)(nil), // 214: vitess.vtctldata.dev.SetWritableResponse + (*dev.ShardReplicationAddResponse)(nil), // 215: vitess.vtctldata.dev.ShardReplicationAddResponse + (*dev.ShardReplicationFixResponse)(nil), // 216: vitess.vtctldata.dev.ShardReplicationFixResponse + (*dev.ShardReplicationPositionsResponse)(nil), // 217: vitess.vtctldata.dev.ShardReplicationPositionsResponse + (*dev.ShardReplicationRemoveResponse)(nil), // 218: vitess.vtctldata.dev.ShardReplicationRemoveResponse + (*dev.SleepTabletResponse)(nil), // 219: vitess.vtctldata.dev.SleepTabletResponse + (*dev.SourceShardAddResponse)(nil), // 220: vitess.vtctldata.dev.SourceShardAddResponse + (*dev.SourceShardDeleteResponse)(nil), // 221: vitess.vtctldata.dev.SourceShardDeleteResponse + (*dev.StartReplicationResponse)(nil), // 222: vitess.vtctldata.dev.StartReplicationResponse + (*dev.StopReplicationResponse)(nil), // 223: vitess.vtctldata.dev.StopReplicationResponse + (*dev.TabletExternallyReparentedResponse)(nil), // 224: vitess.vtctldata.dev.TabletExternallyReparentedResponse + (*dev.UpdateCellInfoResponse)(nil), // 225: vitess.vtctldata.dev.UpdateCellInfoResponse + (*dev.UpdateCellsAliasResponse)(nil), // 226: vitess.vtctldata.dev.UpdateCellsAliasResponse + (*dev.ValidateResponse)(nil), // 227: vitess.vtctldata.dev.ValidateResponse + (*dev.ValidateKeyspaceResponse)(nil), // 228: vitess.vtctldata.dev.ValidateKeyspaceResponse + (*dev.ValidateSchemaKeyspaceResponse)(nil), // 229: vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse + (*dev.ValidateShardResponse)(nil), // 230: vitess.vtctldata.dev.ValidateShardResponse + (*dev.ValidateVersionKeyspaceResponse)(nil), // 231: vitess.vtctldata.dev.ValidateVersionKeyspaceResponse + (*dev.ValidateVersionShardResponse)(nil), // 232: vitess.vtctldata.dev.ValidateVersionShardResponse + (*dev.ValidateVSchemaResponse)(nil), // 233: vitess.vtctldata.dev.ValidateVSchemaResponse + (*dev.VDiffCreateResponse)(nil), // 234: vitess.vtctldata.dev.VDiffCreateResponse + (*dev.VDiffDeleteResponse)(nil), // 235: vitess.vtctldata.dev.VDiffDeleteResponse + (*dev.VDiffResumeResponse)(nil), // 236: vitess.vtctldata.dev.VDiffResumeResponse + (*dev.VDiffShowResponse)(nil), // 237: vitess.vtctldata.dev.VDiffShowResponse + (*dev.VDiffStopResponse)(nil), // 238: vitess.vtctldata.dev.VDiffStopResponse + (*dev.WorkflowDeleteResponse)(nil), // 239: vitess.vtctldata.dev.WorkflowDeleteResponse + (*dev.WorkflowSwitchTrafficResponse)(nil), // 240: vitess.vtctldata.dev.WorkflowSwitchTrafficResponse + (*dev.WorkflowUpdateResponse)(nil), // 241: vitess.vtctldata.dev.WorkflowUpdateResponse + (*dev.GetMirrorRulesResponse)(nil), // 242: vitess.vtctldata.dev.GetMirrorRulesResponse + (*dev.WorkflowMirrorTrafficResponse)(nil), // 243: vitess.vtctldata.dev.WorkflowMirrorTrafficResponse } var file_vitess_vtctlservice_dev_vtctlservice_proto_depIdxs = []int32{ 0, // 0: vitess.vtctlservice.dev.Vtctl.ExecuteVtctlCommand:input_type -> vitess.vtctldata.dev.ExecuteVtctlCommandRequest @@ -1084,225 +1216,251 @@ var file_vitess_vtctlservice_dev_vtctlservice_proto_depIdxs = []int32{ 2, // 2: vitess.vtctlservice.dev.Vtctld.AddCellsAlias:input_type -> vitess.vtctldata.dev.AddCellsAliasRequest 3, // 3: vitess.vtctlservice.dev.Vtctld.ApplyRoutingRules:input_type -> vitess.vtctldata.dev.ApplyRoutingRulesRequest 4, // 4: vitess.vtctlservice.dev.Vtctld.ApplySchema:input_type -> vitess.vtctldata.dev.ApplySchemaRequest - 5, // 5: vitess.vtctlservice.dev.Vtctld.ApplyShardRoutingRules:input_type -> vitess.vtctldata.dev.ApplyShardRoutingRulesRequest - 6, // 6: vitess.vtctlservice.dev.Vtctld.ApplyVSchema:input_type -> vitess.vtctldata.dev.ApplyVSchemaRequest - 7, // 7: vitess.vtctlservice.dev.Vtctld.Backup:input_type -> vitess.vtctldata.dev.BackupRequest - 8, // 8: vitess.vtctlservice.dev.Vtctld.BackupShard:input_type -> vitess.vtctldata.dev.BackupShardRequest - 9, // 9: vitess.vtctlservice.dev.Vtctld.CancelSchemaMigration:input_type -> vitess.vtctldata.dev.CancelSchemaMigrationRequest - 10, // 10: vitess.vtctlservice.dev.Vtctld.ChangeTabletType:input_type -> vitess.vtctldata.dev.ChangeTabletTypeRequest - 11, // 11: vitess.vtctlservice.dev.Vtctld.CleanupSchemaMigration:input_type -> vitess.vtctldata.dev.CleanupSchemaMigrationRequest - 12, // 12: vitess.vtctlservice.dev.Vtctld.CompleteSchemaMigration:input_type -> vitess.vtctldata.dev.CompleteSchemaMigrationRequest - 13, // 13: vitess.vtctlservice.dev.Vtctld.CreateKeyspace:input_type -> vitess.vtctldata.dev.CreateKeyspaceRequest - 14, // 14: vitess.vtctlservice.dev.Vtctld.CreateShard:input_type -> vitess.vtctldata.dev.CreateShardRequest - 15, // 15: vitess.vtctlservice.dev.Vtctld.DeleteCellInfo:input_type -> vitess.vtctldata.dev.DeleteCellInfoRequest - 16, // 16: vitess.vtctlservice.dev.Vtctld.DeleteCellsAlias:input_type -> vitess.vtctldata.dev.DeleteCellsAliasRequest - 17, // 17: vitess.vtctlservice.dev.Vtctld.DeleteKeyspace:input_type -> vitess.vtctldata.dev.DeleteKeyspaceRequest - 18, // 18: vitess.vtctlservice.dev.Vtctld.DeleteShards:input_type -> vitess.vtctldata.dev.DeleteShardsRequest - 19, // 19: vitess.vtctlservice.dev.Vtctld.DeleteSrvVSchema:input_type -> vitess.vtctldata.dev.DeleteSrvVSchemaRequest - 20, // 20: vitess.vtctlservice.dev.Vtctld.DeleteTablets:input_type -> vitess.vtctldata.dev.DeleteTabletsRequest - 21, // 21: vitess.vtctlservice.dev.Vtctld.EmergencyReparentShard:input_type -> vitess.vtctldata.dev.EmergencyReparentShardRequest - 22, // 22: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsApp:input_type -> vitess.vtctldata.dev.ExecuteFetchAsAppRequest - 23, // 23: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsDBA:input_type -> vitess.vtctldata.dev.ExecuteFetchAsDBARequest - 24, // 24: vitess.vtctlservice.dev.Vtctld.ExecuteHook:input_type -> vitess.vtctldata.dev.ExecuteHookRequest - 25, // 25: vitess.vtctlservice.dev.Vtctld.FindAllShardsInKeyspace:input_type -> vitess.vtctldata.dev.FindAllShardsInKeyspaceRequest - 26, // 26: vitess.vtctlservice.dev.Vtctld.GetBackups:input_type -> vitess.vtctldata.dev.GetBackupsRequest - 27, // 27: vitess.vtctlservice.dev.Vtctld.GetCellInfo:input_type -> vitess.vtctldata.dev.GetCellInfoRequest - 28, // 28: vitess.vtctlservice.dev.Vtctld.GetCellInfoNames:input_type -> vitess.vtctldata.dev.GetCellInfoNamesRequest - 29, // 29: vitess.vtctlservice.dev.Vtctld.GetCellsAliases:input_type -> vitess.vtctldata.dev.GetCellsAliasesRequest - 30, // 30: vitess.vtctlservice.dev.Vtctld.GetFullStatus:input_type -> vitess.vtctldata.dev.GetFullStatusRequest - 31, // 31: vitess.vtctlservice.dev.Vtctld.GetKeyspace:input_type -> vitess.vtctldata.dev.GetKeyspaceRequest - 32, // 32: vitess.vtctlservice.dev.Vtctld.GetKeyspaces:input_type -> vitess.vtctldata.dev.GetKeyspacesRequest - 33, // 33: vitess.vtctlservice.dev.Vtctld.GetPermissions:input_type -> vitess.vtctldata.dev.GetPermissionsRequest - 34, // 34: vitess.vtctlservice.dev.Vtctld.GetRoutingRules:input_type -> vitess.vtctldata.dev.GetRoutingRulesRequest - 35, // 35: vitess.vtctlservice.dev.Vtctld.GetSchema:input_type -> vitess.vtctldata.dev.GetSchemaRequest - 36, // 36: vitess.vtctlservice.dev.Vtctld.GetSchemaMigrations:input_type -> vitess.vtctldata.dev.GetSchemaMigrationsRequest - 37, // 37: vitess.vtctlservice.dev.Vtctld.GetShard:input_type -> vitess.vtctldata.dev.GetShardRequest - 38, // 38: vitess.vtctlservice.dev.Vtctld.GetShardRoutingRules:input_type -> vitess.vtctldata.dev.GetShardRoutingRulesRequest - 39, // 39: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaceNames:input_type -> vitess.vtctldata.dev.GetSrvKeyspaceNamesRequest - 40, // 40: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaces:input_type -> vitess.vtctldata.dev.GetSrvKeyspacesRequest - 41, // 41: vitess.vtctlservice.dev.Vtctld.UpdateThrottlerConfig:input_type -> vitess.vtctldata.dev.UpdateThrottlerConfigRequest - 42, // 42: vitess.vtctlservice.dev.Vtctld.GetSrvVSchema:input_type -> vitess.vtctldata.dev.GetSrvVSchemaRequest - 43, // 43: vitess.vtctlservice.dev.Vtctld.GetSrvVSchemas:input_type -> vitess.vtctldata.dev.GetSrvVSchemasRequest - 44, // 44: vitess.vtctlservice.dev.Vtctld.GetTablet:input_type -> vitess.vtctldata.dev.GetTabletRequest - 45, // 45: vitess.vtctlservice.dev.Vtctld.GetTablets:input_type -> vitess.vtctldata.dev.GetTabletsRequest - 46, // 46: vitess.vtctlservice.dev.Vtctld.GetTopologyPath:input_type -> vitess.vtctldata.dev.GetTopologyPathRequest - 47, // 47: vitess.vtctlservice.dev.Vtctld.GetVersion:input_type -> vitess.vtctldata.dev.GetVersionRequest - 48, // 48: vitess.vtctlservice.dev.Vtctld.GetVSchema:input_type -> vitess.vtctldata.dev.GetVSchemaRequest - 49, // 49: vitess.vtctlservice.dev.Vtctld.GetWorkflows:input_type -> vitess.vtctldata.dev.GetWorkflowsRequest - 50, // 50: vitess.vtctlservice.dev.Vtctld.InitShardPrimary:input_type -> vitess.vtctldata.dev.InitShardPrimaryRequest - 51, // 51: vitess.vtctlservice.dev.Vtctld.LaunchSchemaMigration:input_type -> vitess.vtctldata.dev.LaunchSchemaMigrationRequest - 52, // 52: vitess.vtctlservice.dev.Vtctld.LookupVindexCreate:input_type -> vitess.vtctldata.dev.LookupVindexCreateRequest - 53, // 53: vitess.vtctlservice.dev.Vtctld.LookupVindexExternalize:input_type -> vitess.vtctldata.dev.LookupVindexExternalizeRequest - 54, // 54: vitess.vtctlservice.dev.Vtctld.MaterializeCreate:input_type -> vitess.vtctldata.dev.MaterializeCreateRequest - 55, // 55: vitess.vtctlservice.dev.Vtctld.MigrateCreate:input_type -> vitess.vtctldata.dev.MigrateCreateRequest - 56, // 56: vitess.vtctlservice.dev.Vtctld.MountRegister:input_type -> vitess.vtctldata.dev.MountRegisterRequest - 57, // 57: vitess.vtctlservice.dev.Vtctld.MountUnregister:input_type -> vitess.vtctldata.dev.MountUnregisterRequest - 58, // 58: vitess.vtctlservice.dev.Vtctld.MountShow:input_type -> vitess.vtctldata.dev.MountShowRequest - 59, // 59: vitess.vtctlservice.dev.Vtctld.MountList:input_type -> vitess.vtctldata.dev.MountListRequest - 60, // 60: vitess.vtctlservice.dev.Vtctld.MoveTablesCreate:input_type -> vitess.vtctldata.dev.MoveTablesCreateRequest - 61, // 61: vitess.vtctlservice.dev.Vtctld.MoveTablesComplete:input_type -> vitess.vtctldata.dev.MoveTablesCompleteRequest - 62, // 62: vitess.vtctlservice.dev.Vtctld.PingTablet:input_type -> vitess.vtctldata.dev.PingTabletRequest - 63, // 63: vitess.vtctlservice.dev.Vtctld.PlannedReparentShard:input_type -> vitess.vtctldata.dev.PlannedReparentShardRequest - 64, // 64: vitess.vtctlservice.dev.Vtctld.RebuildKeyspaceGraph:input_type -> vitess.vtctldata.dev.RebuildKeyspaceGraphRequest - 65, // 65: vitess.vtctlservice.dev.Vtctld.RebuildVSchemaGraph:input_type -> vitess.vtctldata.dev.RebuildVSchemaGraphRequest - 66, // 66: vitess.vtctlservice.dev.Vtctld.RefreshState:input_type -> vitess.vtctldata.dev.RefreshStateRequest - 67, // 67: vitess.vtctlservice.dev.Vtctld.RefreshStateByShard:input_type -> vitess.vtctldata.dev.RefreshStateByShardRequest - 68, // 68: vitess.vtctlservice.dev.Vtctld.ReloadSchema:input_type -> vitess.vtctldata.dev.ReloadSchemaRequest - 69, // 69: vitess.vtctlservice.dev.Vtctld.ReloadSchemaKeyspace:input_type -> vitess.vtctldata.dev.ReloadSchemaKeyspaceRequest - 70, // 70: vitess.vtctlservice.dev.Vtctld.ReloadSchemaShard:input_type -> vitess.vtctldata.dev.ReloadSchemaShardRequest - 71, // 71: vitess.vtctlservice.dev.Vtctld.RemoveBackup:input_type -> vitess.vtctldata.dev.RemoveBackupRequest - 72, // 72: vitess.vtctlservice.dev.Vtctld.RemoveKeyspaceCell:input_type -> vitess.vtctldata.dev.RemoveKeyspaceCellRequest - 73, // 73: vitess.vtctlservice.dev.Vtctld.RemoveShardCell:input_type -> vitess.vtctldata.dev.RemoveShardCellRequest - 74, // 74: vitess.vtctlservice.dev.Vtctld.ReparentTablet:input_type -> vitess.vtctldata.dev.ReparentTabletRequest - 75, // 75: vitess.vtctlservice.dev.Vtctld.ReshardCreate:input_type -> vitess.vtctldata.dev.ReshardCreateRequest - 76, // 76: vitess.vtctlservice.dev.Vtctld.RestoreFromBackup:input_type -> vitess.vtctldata.dev.RestoreFromBackupRequest - 77, // 77: vitess.vtctlservice.dev.Vtctld.RetrySchemaMigration:input_type -> vitess.vtctldata.dev.RetrySchemaMigrationRequest - 78, // 78: vitess.vtctlservice.dev.Vtctld.RunHealthCheck:input_type -> vitess.vtctldata.dev.RunHealthCheckRequest - 79, // 79: vitess.vtctlservice.dev.Vtctld.SetKeyspaceDurabilityPolicy:input_type -> vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyRequest - 80, // 80: vitess.vtctlservice.dev.Vtctld.SetShardIsPrimaryServing:input_type -> vitess.vtctldata.dev.SetShardIsPrimaryServingRequest - 81, // 81: vitess.vtctlservice.dev.Vtctld.SetShardTabletControl:input_type -> vitess.vtctldata.dev.SetShardTabletControlRequest - 82, // 82: vitess.vtctlservice.dev.Vtctld.SetWritable:input_type -> vitess.vtctldata.dev.SetWritableRequest - 83, // 83: vitess.vtctlservice.dev.Vtctld.ShardReplicationAdd:input_type -> vitess.vtctldata.dev.ShardReplicationAddRequest - 84, // 84: vitess.vtctlservice.dev.Vtctld.ShardReplicationFix:input_type -> vitess.vtctldata.dev.ShardReplicationFixRequest - 85, // 85: vitess.vtctlservice.dev.Vtctld.ShardReplicationPositions:input_type -> vitess.vtctldata.dev.ShardReplicationPositionsRequest - 86, // 86: vitess.vtctlservice.dev.Vtctld.ShardReplicationRemove:input_type -> vitess.vtctldata.dev.ShardReplicationRemoveRequest - 87, // 87: vitess.vtctlservice.dev.Vtctld.SleepTablet:input_type -> vitess.vtctldata.dev.SleepTabletRequest - 88, // 88: vitess.vtctlservice.dev.Vtctld.SourceShardAdd:input_type -> vitess.vtctldata.dev.SourceShardAddRequest - 89, // 89: vitess.vtctlservice.dev.Vtctld.SourceShardDelete:input_type -> vitess.vtctldata.dev.SourceShardDeleteRequest - 90, // 90: vitess.vtctlservice.dev.Vtctld.StartReplication:input_type -> vitess.vtctldata.dev.StartReplicationRequest - 91, // 91: vitess.vtctlservice.dev.Vtctld.StopReplication:input_type -> vitess.vtctldata.dev.StopReplicationRequest - 92, // 92: vitess.vtctlservice.dev.Vtctld.TabletExternallyReparented:input_type -> vitess.vtctldata.dev.TabletExternallyReparentedRequest - 93, // 93: vitess.vtctlservice.dev.Vtctld.UpdateCellInfo:input_type -> vitess.vtctldata.dev.UpdateCellInfoRequest - 94, // 94: vitess.vtctlservice.dev.Vtctld.UpdateCellsAlias:input_type -> vitess.vtctldata.dev.UpdateCellsAliasRequest - 95, // 95: vitess.vtctlservice.dev.Vtctld.Validate:input_type -> vitess.vtctldata.dev.ValidateRequest - 96, // 96: vitess.vtctlservice.dev.Vtctld.ValidateKeyspace:input_type -> vitess.vtctldata.dev.ValidateKeyspaceRequest - 97, // 97: vitess.vtctlservice.dev.Vtctld.ValidateSchemaKeyspace:input_type -> vitess.vtctldata.dev.ValidateSchemaKeyspaceRequest - 98, // 98: vitess.vtctlservice.dev.Vtctld.ValidateShard:input_type -> vitess.vtctldata.dev.ValidateShardRequest - 99, // 99: vitess.vtctlservice.dev.Vtctld.ValidateVersionKeyspace:input_type -> vitess.vtctldata.dev.ValidateVersionKeyspaceRequest - 100, // 100: vitess.vtctlservice.dev.Vtctld.ValidateVersionShard:input_type -> vitess.vtctldata.dev.ValidateVersionShardRequest - 101, // 101: vitess.vtctlservice.dev.Vtctld.ValidateVSchema:input_type -> vitess.vtctldata.dev.ValidateVSchemaRequest - 102, // 102: vitess.vtctlservice.dev.Vtctld.VDiffCreate:input_type -> vitess.vtctldata.dev.VDiffCreateRequest - 103, // 103: vitess.vtctlservice.dev.Vtctld.VDiffDelete:input_type -> vitess.vtctldata.dev.VDiffDeleteRequest - 104, // 104: vitess.vtctlservice.dev.Vtctld.VDiffResume:input_type -> vitess.vtctldata.dev.VDiffResumeRequest - 105, // 105: vitess.vtctlservice.dev.Vtctld.VDiffShow:input_type -> vitess.vtctldata.dev.VDiffShowRequest - 106, // 106: vitess.vtctlservice.dev.Vtctld.VDiffStop:input_type -> vitess.vtctldata.dev.VDiffStopRequest - 107, // 107: vitess.vtctlservice.dev.Vtctld.WorkflowDelete:input_type -> vitess.vtctldata.dev.WorkflowDeleteRequest - 108, // 108: vitess.vtctlservice.dev.Vtctld.WorkflowStatus:input_type -> vitess.vtctldata.dev.WorkflowStatusRequest - 109, // 109: vitess.vtctlservice.dev.Vtctld.WorkflowSwitchTraffic:input_type -> vitess.vtctldata.dev.WorkflowSwitchTrafficRequest - 110, // 110: vitess.vtctlservice.dev.Vtctld.WorkflowUpdate:input_type -> vitess.vtctldata.dev.WorkflowUpdateRequest - 111, // 111: vitess.vtctlservice.dev.Vtctl.ExecuteVtctlCommand:output_type -> vitess.vtctldata.dev.ExecuteVtctlCommandResponse - 112, // 112: vitess.vtctlservice.dev.Vtctld.AddCellInfo:output_type -> vitess.vtctldata.dev.AddCellInfoResponse - 113, // 113: vitess.vtctlservice.dev.Vtctld.AddCellsAlias:output_type -> vitess.vtctldata.dev.AddCellsAliasResponse - 114, // 114: vitess.vtctlservice.dev.Vtctld.ApplyRoutingRules:output_type -> vitess.vtctldata.dev.ApplyRoutingRulesResponse - 115, // 115: vitess.vtctlservice.dev.Vtctld.ApplySchema:output_type -> vitess.vtctldata.dev.ApplySchemaResponse - 116, // 116: vitess.vtctlservice.dev.Vtctld.ApplyShardRoutingRules:output_type -> vitess.vtctldata.dev.ApplyShardRoutingRulesResponse - 117, // 117: vitess.vtctlservice.dev.Vtctld.ApplyVSchema:output_type -> vitess.vtctldata.dev.ApplyVSchemaResponse - 118, // 118: vitess.vtctlservice.dev.Vtctld.Backup:output_type -> vitess.vtctldata.dev.BackupResponse - 118, // 119: vitess.vtctlservice.dev.Vtctld.BackupShard:output_type -> vitess.vtctldata.dev.BackupResponse - 119, // 120: vitess.vtctlservice.dev.Vtctld.CancelSchemaMigration:output_type -> vitess.vtctldata.dev.CancelSchemaMigrationResponse - 120, // 121: vitess.vtctlservice.dev.Vtctld.ChangeTabletType:output_type -> vitess.vtctldata.dev.ChangeTabletTypeResponse - 121, // 122: vitess.vtctlservice.dev.Vtctld.CleanupSchemaMigration:output_type -> vitess.vtctldata.dev.CleanupSchemaMigrationResponse - 122, // 123: vitess.vtctlservice.dev.Vtctld.CompleteSchemaMigration:output_type -> vitess.vtctldata.dev.CompleteSchemaMigrationResponse - 123, // 124: vitess.vtctlservice.dev.Vtctld.CreateKeyspace:output_type -> vitess.vtctldata.dev.CreateKeyspaceResponse - 124, // 125: vitess.vtctlservice.dev.Vtctld.CreateShard:output_type -> vitess.vtctldata.dev.CreateShardResponse - 125, // 126: vitess.vtctlservice.dev.Vtctld.DeleteCellInfo:output_type -> vitess.vtctldata.dev.DeleteCellInfoResponse - 126, // 127: vitess.vtctlservice.dev.Vtctld.DeleteCellsAlias:output_type -> vitess.vtctldata.dev.DeleteCellsAliasResponse - 127, // 128: vitess.vtctlservice.dev.Vtctld.DeleteKeyspace:output_type -> vitess.vtctldata.dev.DeleteKeyspaceResponse - 128, // 129: vitess.vtctlservice.dev.Vtctld.DeleteShards:output_type -> vitess.vtctldata.dev.DeleteShardsResponse - 129, // 130: vitess.vtctlservice.dev.Vtctld.DeleteSrvVSchema:output_type -> vitess.vtctldata.dev.DeleteSrvVSchemaResponse - 130, // 131: vitess.vtctlservice.dev.Vtctld.DeleteTablets:output_type -> vitess.vtctldata.dev.DeleteTabletsResponse - 131, // 132: vitess.vtctlservice.dev.Vtctld.EmergencyReparentShard:output_type -> vitess.vtctldata.dev.EmergencyReparentShardResponse - 132, // 133: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsApp:output_type -> vitess.vtctldata.dev.ExecuteFetchAsAppResponse - 133, // 134: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsDBA:output_type -> vitess.vtctldata.dev.ExecuteFetchAsDBAResponse - 134, // 135: vitess.vtctlservice.dev.Vtctld.ExecuteHook:output_type -> vitess.vtctldata.dev.ExecuteHookResponse - 135, // 136: vitess.vtctlservice.dev.Vtctld.FindAllShardsInKeyspace:output_type -> vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse - 136, // 137: vitess.vtctlservice.dev.Vtctld.GetBackups:output_type -> vitess.vtctldata.dev.GetBackupsResponse - 137, // 138: vitess.vtctlservice.dev.Vtctld.GetCellInfo:output_type -> vitess.vtctldata.dev.GetCellInfoResponse - 138, // 139: vitess.vtctlservice.dev.Vtctld.GetCellInfoNames:output_type -> vitess.vtctldata.dev.GetCellInfoNamesResponse - 139, // 140: vitess.vtctlservice.dev.Vtctld.GetCellsAliases:output_type -> vitess.vtctldata.dev.GetCellsAliasesResponse - 140, // 141: vitess.vtctlservice.dev.Vtctld.GetFullStatus:output_type -> vitess.vtctldata.dev.GetFullStatusResponse - 141, // 142: vitess.vtctlservice.dev.Vtctld.GetKeyspace:output_type -> vitess.vtctldata.dev.GetKeyspaceResponse - 142, // 143: vitess.vtctlservice.dev.Vtctld.GetKeyspaces:output_type -> vitess.vtctldata.dev.GetKeyspacesResponse - 143, // 144: vitess.vtctlservice.dev.Vtctld.GetPermissions:output_type -> vitess.vtctldata.dev.GetPermissionsResponse - 144, // 145: vitess.vtctlservice.dev.Vtctld.GetRoutingRules:output_type -> vitess.vtctldata.dev.GetRoutingRulesResponse - 145, // 146: vitess.vtctlservice.dev.Vtctld.GetSchema:output_type -> vitess.vtctldata.dev.GetSchemaResponse - 146, // 147: vitess.vtctlservice.dev.Vtctld.GetSchemaMigrations:output_type -> vitess.vtctldata.dev.GetSchemaMigrationsResponse - 147, // 148: vitess.vtctlservice.dev.Vtctld.GetShard:output_type -> vitess.vtctldata.dev.GetShardResponse - 148, // 149: vitess.vtctlservice.dev.Vtctld.GetShardRoutingRules:output_type -> vitess.vtctldata.dev.GetShardRoutingRulesResponse - 149, // 150: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaceNames:output_type -> vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse - 150, // 151: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaces:output_type -> vitess.vtctldata.dev.GetSrvKeyspacesResponse - 151, // 152: vitess.vtctlservice.dev.Vtctld.UpdateThrottlerConfig:output_type -> vitess.vtctldata.dev.UpdateThrottlerConfigResponse - 152, // 153: vitess.vtctlservice.dev.Vtctld.GetSrvVSchema:output_type -> vitess.vtctldata.dev.GetSrvVSchemaResponse - 153, // 154: vitess.vtctlservice.dev.Vtctld.GetSrvVSchemas:output_type -> vitess.vtctldata.dev.GetSrvVSchemasResponse - 154, // 155: vitess.vtctlservice.dev.Vtctld.GetTablet:output_type -> vitess.vtctldata.dev.GetTabletResponse - 155, // 156: vitess.vtctlservice.dev.Vtctld.GetTablets:output_type -> vitess.vtctldata.dev.GetTabletsResponse - 156, // 157: vitess.vtctlservice.dev.Vtctld.GetTopologyPath:output_type -> vitess.vtctldata.dev.GetTopologyPathResponse - 157, // 158: vitess.vtctlservice.dev.Vtctld.GetVersion:output_type -> vitess.vtctldata.dev.GetVersionResponse - 158, // 159: vitess.vtctlservice.dev.Vtctld.GetVSchema:output_type -> vitess.vtctldata.dev.GetVSchemaResponse - 159, // 160: vitess.vtctlservice.dev.Vtctld.GetWorkflows:output_type -> vitess.vtctldata.dev.GetWorkflowsResponse - 160, // 161: vitess.vtctlservice.dev.Vtctld.InitShardPrimary:output_type -> vitess.vtctldata.dev.InitShardPrimaryResponse - 161, // 162: vitess.vtctlservice.dev.Vtctld.LaunchSchemaMigration:output_type -> vitess.vtctldata.dev.LaunchSchemaMigrationResponse - 162, // 163: vitess.vtctlservice.dev.Vtctld.LookupVindexCreate:output_type -> vitess.vtctldata.dev.LookupVindexCreateResponse - 163, // 164: vitess.vtctlservice.dev.Vtctld.LookupVindexExternalize:output_type -> vitess.vtctldata.dev.LookupVindexExternalizeResponse - 164, // 165: vitess.vtctlservice.dev.Vtctld.MaterializeCreate:output_type -> vitess.vtctldata.dev.MaterializeCreateResponse - 165, // 166: vitess.vtctlservice.dev.Vtctld.MigrateCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse - 166, // 167: vitess.vtctlservice.dev.Vtctld.MountRegister:output_type -> vitess.vtctldata.dev.MountRegisterResponse - 167, // 168: vitess.vtctlservice.dev.Vtctld.MountUnregister:output_type -> vitess.vtctldata.dev.MountUnregisterResponse - 168, // 169: vitess.vtctlservice.dev.Vtctld.MountShow:output_type -> vitess.vtctldata.dev.MountShowResponse - 169, // 170: vitess.vtctlservice.dev.Vtctld.MountList:output_type -> vitess.vtctldata.dev.MountListResponse - 165, // 171: vitess.vtctlservice.dev.Vtctld.MoveTablesCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse - 170, // 172: vitess.vtctlservice.dev.Vtctld.MoveTablesComplete:output_type -> vitess.vtctldata.dev.MoveTablesCompleteResponse - 171, // 173: vitess.vtctlservice.dev.Vtctld.PingTablet:output_type -> vitess.vtctldata.dev.PingTabletResponse - 172, // 174: vitess.vtctlservice.dev.Vtctld.PlannedReparentShard:output_type -> vitess.vtctldata.dev.PlannedReparentShardResponse - 173, // 175: vitess.vtctlservice.dev.Vtctld.RebuildKeyspaceGraph:output_type -> vitess.vtctldata.dev.RebuildKeyspaceGraphResponse - 174, // 176: vitess.vtctlservice.dev.Vtctld.RebuildVSchemaGraph:output_type -> vitess.vtctldata.dev.RebuildVSchemaGraphResponse - 175, // 177: vitess.vtctlservice.dev.Vtctld.RefreshState:output_type -> vitess.vtctldata.dev.RefreshStateResponse - 176, // 178: vitess.vtctlservice.dev.Vtctld.RefreshStateByShard:output_type -> vitess.vtctldata.dev.RefreshStateByShardResponse - 177, // 179: vitess.vtctlservice.dev.Vtctld.ReloadSchema:output_type -> vitess.vtctldata.dev.ReloadSchemaResponse - 178, // 180: vitess.vtctlservice.dev.Vtctld.ReloadSchemaKeyspace:output_type -> vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse - 179, // 181: vitess.vtctlservice.dev.Vtctld.ReloadSchemaShard:output_type -> vitess.vtctldata.dev.ReloadSchemaShardResponse - 180, // 182: vitess.vtctlservice.dev.Vtctld.RemoveBackup:output_type -> vitess.vtctldata.dev.RemoveBackupResponse - 181, // 183: vitess.vtctlservice.dev.Vtctld.RemoveKeyspaceCell:output_type -> vitess.vtctldata.dev.RemoveKeyspaceCellResponse - 182, // 184: vitess.vtctlservice.dev.Vtctld.RemoveShardCell:output_type -> vitess.vtctldata.dev.RemoveShardCellResponse - 183, // 185: vitess.vtctlservice.dev.Vtctld.ReparentTablet:output_type -> vitess.vtctldata.dev.ReparentTabletResponse - 165, // 186: vitess.vtctlservice.dev.Vtctld.ReshardCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse - 184, // 187: vitess.vtctlservice.dev.Vtctld.RestoreFromBackup:output_type -> vitess.vtctldata.dev.RestoreFromBackupResponse - 185, // 188: vitess.vtctlservice.dev.Vtctld.RetrySchemaMigration:output_type -> vitess.vtctldata.dev.RetrySchemaMigrationResponse - 186, // 189: vitess.vtctlservice.dev.Vtctld.RunHealthCheck:output_type -> vitess.vtctldata.dev.RunHealthCheckResponse - 187, // 190: vitess.vtctlservice.dev.Vtctld.SetKeyspaceDurabilityPolicy:output_type -> vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse - 188, // 191: vitess.vtctlservice.dev.Vtctld.SetShardIsPrimaryServing:output_type -> vitess.vtctldata.dev.SetShardIsPrimaryServingResponse - 189, // 192: vitess.vtctlservice.dev.Vtctld.SetShardTabletControl:output_type -> vitess.vtctldata.dev.SetShardTabletControlResponse - 190, // 193: vitess.vtctlservice.dev.Vtctld.SetWritable:output_type -> vitess.vtctldata.dev.SetWritableResponse - 191, // 194: vitess.vtctlservice.dev.Vtctld.ShardReplicationAdd:output_type -> vitess.vtctldata.dev.ShardReplicationAddResponse - 192, // 195: vitess.vtctlservice.dev.Vtctld.ShardReplicationFix:output_type -> vitess.vtctldata.dev.ShardReplicationFixResponse - 193, // 196: vitess.vtctlservice.dev.Vtctld.ShardReplicationPositions:output_type -> vitess.vtctldata.dev.ShardReplicationPositionsResponse - 194, // 197: vitess.vtctlservice.dev.Vtctld.ShardReplicationRemove:output_type -> vitess.vtctldata.dev.ShardReplicationRemoveResponse - 195, // 198: vitess.vtctlservice.dev.Vtctld.SleepTablet:output_type -> vitess.vtctldata.dev.SleepTabletResponse - 196, // 199: vitess.vtctlservice.dev.Vtctld.SourceShardAdd:output_type -> vitess.vtctldata.dev.SourceShardAddResponse - 197, // 200: vitess.vtctlservice.dev.Vtctld.SourceShardDelete:output_type -> vitess.vtctldata.dev.SourceShardDeleteResponse - 198, // 201: vitess.vtctlservice.dev.Vtctld.StartReplication:output_type -> vitess.vtctldata.dev.StartReplicationResponse - 199, // 202: vitess.vtctlservice.dev.Vtctld.StopReplication:output_type -> vitess.vtctldata.dev.StopReplicationResponse - 200, // 203: vitess.vtctlservice.dev.Vtctld.TabletExternallyReparented:output_type -> vitess.vtctldata.dev.TabletExternallyReparentedResponse - 201, // 204: vitess.vtctlservice.dev.Vtctld.UpdateCellInfo:output_type -> vitess.vtctldata.dev.UpdateCellInfoResponse - 202, // 205: vitess.vtctlservice.dev.Vtctld.UpdateCellsAlias:output_type -> vitess.vtctldata.dev.UpdateCellsAliasResponse - 203, // 206: vitess.vtctlservice.dev.Vtctld.Validate:output_type -> vitess.vtctldata.dev.ValidateResponse - 204, // 207: vitess.vtctlservice.dev.Vtctld.ValidateKeyspace:output_type -> vitess.vtctldata.dev.ValidateKeyspaceResponse - 205, // 208: vitess.vtctlservice.dev.Vtctld.ValidateSchemaKeyspace:output_type -> vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse - 206, // 209: vitess.vtctlservice.dev.Vtctld.ValidateShard:output_type -> vitess.vtctldata.dev.ValidateShardResponse - 207, // 210: vitess.vtctlservice.dev.Vtctld.ValidateVersionKeyspace:output_type -> vitess.vtctldata.dev.ValidateVersionKeyspaceResponse - 208, // 211: vitess.vtctlservice.dev.Vtctld.ValidateVersionShard:output_type -> vitess.vtctldata.dev.ValidateVersionShardResponse - 209, // 212: vitess.vtctlservice.dev.Vtctld.ValidateVSchema:output_type -> vitess.vtctldata.dev.ValidateVSchemaResponse - 210, // 213: vitess.vtctlservice.dev.Vtctld.VDiffCreate:output_type -> vitess.vtctldata.dev.VDiffCreateResponse - 211, // 214: vitess.vtctlservice.dev.Vtctld.VDiffDelete:output_type -> vitess.vtctldata.dev.VDiffDeleteResponse - 212, // 215: vitess.vtctlservice.dev.Vtctld.VDiffResume:output_type -> vitess.vtctldata.dev.VDiffResumeResponse - 213, // 216: vitess.vtctlservice.dev.Vtctld.VDiffShow:output_type -> vitess.vtctldata.dev.VDiffShowResponse - 214, // 217: vitess.vtctlservice.dev.Vtctld.VDiffStop:output_type -> vitess.vtctldata.dev.VDiffStopResponse - 215, // 218: vitess.vtctlservice.dev.Vtctld.WorkflowDelete:output_type -> vitess.vtctldata.dev.WorkflowDeleteResponse - 165, // 219: vitess.vtctlservice.dev.Vtctld.WorkflowStatus:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse - 216, // 220: vitess.vtctlservice.dev.Vtctld.WorkflowSwitchTraffic:output_type -> vitess.vtctldata.dev.WorkflowSwitchTrafficResponse - 217, // 221: vitess.vtctlservice.dev.Vtctld.WorkflowUpdate:output_type -> vitess.vtctldata.dev.WorkflowUpdateResponse - 111, // [111:222] is the sub-list for method output_type - 0, // [0:111] is the sub-list for method input_type + 5, // 5: vitess.vtctlservice.dev.Vtctld.ApplyKeyspaceRoutingRules:input_type -> vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesRequest + 6, // 6: vitess.vtctlservice.dev.Vtctld.ApplyShardRoutingRules:input_type -> vitess.vtctldata.dev.ApplyShardRoutingRulesRequest + 7, // 7: vitess.vtctlservice.dev.Vtctld.ApplyVSchema:input_type -> vitess.vtctldata.dev.ApplyVSchemaRequest + 8, // 8: vitess.vtctlservice.dev.Vtctld.Backup:input_type -> vitess.vtctldata.dev.BackupRequest + 9, // 9: vitess.vtctlservice.dev.Vtctld.BackupShard:input_type -> vitess.vtctldata.dev.BackupShardRequest + 10, // 10: vitess.vtctlservice.dev.Vtctld.CancelSchemaMigration:input_type -> vitess.vtctldata.dev.CancelSchemaMigrationRequest + 11, // 11: vitess.vtctlservice.dev.Vtctld.ChangeTabletTags:input_type -> vitess.vtctldata.dev.ChangeTabletTagsRequest + 12, // 12: vitess.vtctlservice.dev.Vtctld.ChangeTabletType:input_type -> vitess.vtctldata.dev.ChangeTabletTypeRequest + 13, // 13: vitess.vtctlservice.dev.Vtctld.CheckThrottler:input_type -> vitess.vtctldata.dev.CheckThrottlerRequest + 14, // 14: vitess.vtctlservice.dev.Vtctld.CleanupSchemaMigration:input_type -> vitess.vtctldata.dev.CleanupSchemaMigrationRequest + 15, // 15: vitess.vtctlservice.dev.Vtctld.CompleteSchemaMigration:input_type -> vitess.vtctldata.dev.CompleteSchemaMigrationRequest + 16, // 16: vitess.vtctlservice.dev.Vtctld.ConcludeTransaction:input_type -> vitess.vtctldata.dev.ConcludeTransactionRequest + 17, // 17: vitess.vtctlservice.dev.Vtctld.CreateKeyspace:input_type -> vitess.vtctldata.dev.CreateKeyspaceRequest + 18, // 18: vitess.vtctlservice.dev.Vtctld.CreateShard:input_type -> vitess.vtctldata.dev.CreateShardRequest + 19, // 19: vitess.vtctlservice.dev.Vtctld.DeleteCellInfo:input_type -> vitess.vtctldata.dev.DeleteCellInfoRequest + 20, // 20: vitess.vtctlservice.dev.Vtctld.DeleteCellsAlias:input_type -> vitess.vtctldata.dev.DeleteCellsAliasRequest + 21, // 21: vitess.vtctlservice.dev.Vtctld.DeleteKeyspace:input_type -> vitess.vtctldata.dev.DeleteKeyspaceRequest + 22, // 22: vitess.vtctlservice.dev.Vtctld.DeleteShards:input_type -> vitess.vtctldata.dev.DeleteShardsRequest + 23, // 23: vitess.vtctlservice.dev.Vtctld.DeleteSrvVSchema:input_type -> vitess.vtctldata.dev.DeleteSrvVSchemaRequest + 24, // 24: vitess.vtctlservice.dev.Vtctld.DeleteTablets:input_type -> vitess.vtctldata.dev.DeleteTabletsRequest + 25, // 25: vitess.vtctlservice.dev.Vtctld.EmergencyReparentShard:input_type -> vitess.vtctldata.dev.EmergencyReparentShardRequest + 26, // 26: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsApp:input_type -> vitess.vtctldata.dev.ExecuteFetchAsAppRequest + 27, // 27: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsDBA:input_type -> vitess.vtctldata.dev.ExecuteFetchAsDBARequest + 28, // 28: vitess.vtctlservice.dev.Vtctld.ExecuteHook:input_type -> vitess.vtctldata.dev.ExecuteHookRequest + 29, // 29: vitess.vtctlservice.dev.Vtctld.ExecuteMultiFetchAsDBA:input_type -> vitess.vtctldata.dev.ExecuteMultiFetchAsDBARequest + 30, // 30: vitess.vtctlservice.dev.Vtctld.FindAllShardsInKeyspace:input_type -> vitess.vtctldata.dev.FindAllShardsInKeyspaceRequest + 31, // 31: vitess.vtctlservice.dev.Vtctld.ForceCutOverSchemaMigration:input_type -> vitess.vtctldata.dev.ForceCutOverSchemaMigrationRequest + 32, // 32: vitess.vtctlservice.dev.Vtctld.GetBackups:input_type -> vitess.vtctldata.dev.GetBackupsRequest + 33, // 33: vitess.vtctlservice.dev.Vtctld.GetCellInfo:input_type -> vitess.vtctldata.dev.GetCellInfoRequest + 34, // 34: vitess.vtctlservice.dev.Vtctld.GetCellInfoNames:input_type -> vitess.vtctldata.dev.GetCellInfoNamesRequest + 35, // 35: vitess.vtctlservice.dev.Vtctld.GetCellsAliases:input_type -> vitess.vtctldata.dev.GetCellsAliasesRequest + 36, // 36: vitess.vtctlservice.dev.Vtctld.GetFullStatus:input_type -> vitess.vtctldata.dev.GetFullStatusRequest + 37, // 37: vitess.vtctlservice.dev.Vtctld.GetKeyspace:input_type -> vitess.vtctldata.dev.GetKeyspaceRequest + 38, // 38: vitess.vtctlservice.dev.Vtctld.GetKeyspaces:input_type -> vitess.vtctldata.dev.GetKeyspacesRequest + 39, // 39: vitess.vtctlservice.dev.Vtctld.GetKeyspaceRoutingRules:input_type -> vitess.vtctldata.dev.GetKeyspaceRoutingRulesRequest + 40, // 40: vitess.vtctlservice.dev.Vtctld.GetPermissions:input_type -> vitess.vtctldata.dev.GetPermissionsRequest + 41, // 41: vitess.vtctlservice.dev.Vtctld.GetRoutingRules:input_type -> vitess.vtctldata.dev.GetRoutingRulesRequest + 42, // 42: vitess.vtctlservice.dev.Vtctld.GetSchema:input_type -> vitess.vtctldata.dev.GetSchemaRequest + 43, // 43: vitess.vtctlservice.dev.Vtctld.GetSchemaMigrations:input_type -> vitess.vtctldata.dev.GetSchemaMigrationsRequest + 44, // 44: vitess.vtctlservice.dev.Vtctld.GetShardReplication:input_type -> vitess.vtctldata.dev.GetShardReplicationRequest + 45, // 45: vitess.vtctlservice.dev.Vtctld.GetShard:input_type -> vitess.vtctldata.dev.GetShardRequest + 46, // 46: vitess.vtctlservice.dev.Vtctld.GetShardRoutingRules:input_type -> vitess.vtctldata.dev.GetShardRoutingRulesRequest + 47, // 47: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaceNames:input_type -> vitess.vtctldata.dev.GetSrvKeyspaceNamesRequest + 48, // 48: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaces:input_type -> vitess.vtctldata.dev.GetSrvKeyspacesRequest + 49, // 49: vitess.vtctlservice.dev.Vtctld.UpdateThrottlerConfig:input_type -> vitess.vtctldata.dev.UpdateThrottlerConfigRequest + 50, // 50: vitess.vtctlservice.dev.Vtctld.GetSrvVSchema:input_type -> vitess.vtctldata.dev.GetSrvVSchemaRequest + 51, // 51: vitess.vtctlservice.dev.Vtctld.GetSrvVSchemas:input_type -> vitess.vtctldata.dev.GetSrvVSchemasRequest + 52, // 52: vitess.vtctlservice.dev.Vtctld.GetTablet:input_type -> vitess.vtctldata.dev.GetTabletRequest + 53, // 53: vitess.vtctlservice.dev.Vtctld.GetTablets:input_type -> vitess.vtctldata.dev.GetTabletsRequest + 54, // 54: vitess.vtctlservice.dev.Vtctld.GetThrottlerStatus:input_type -> vitess.vtctldata.dev.GetThrottlerStatusRequest + 55, // 55: vitess.vtctlservice.dev.Vtctld.GetTopologyPath:input_type -> vitess.vtctldata.dev.GetTopologyPathRequest + 56, // 56: vitess.vtctlservice.dev.Vtctld.GetTransactionInfo:input_type -> vitess.vtctldata.dev.GetTransactionInfoRequest + 57, // 57: vitess.vtctlservice.dev.Vtctld.GetUnresolvedTransactions:input_type -> vitess.vtctldata.dev.GetUnresolvedTransactionsRequest + 58, // 58: vitess.vtctlservice.dev.Vtctld.GetVersion:input_type -> vitess.vtctldata.dev.GetVersionRequest + 59, // 59: vitess.vtctlservice.dev.Vtctld.GetVSchema:input_type -> vitess.vtctldata.dev.GetVSchemaRequest + 60, // 60: vitess.vtctlservice.dev.Vtctld.GetWorkflows:input_type -> vitess.vtctldata.dev.GetWorkflowsRequest + 61, // 61: vitess.vtctlservice.dev.Vtctld.InitShardPrimary:input_type -> vitess.vtctldata.dev.InitShardPrimaryRequest + 62, // 62: vitess.vtctlservice.dev.Vtctld.LaunchSchemaMigration:input_type -> vitess.vtctldata.dev.LaunchSchemaMigrationRequest + 63, // 63: vitess.vtctlservice.dev.Vtctld.LookupVindexCreate:input_type -> vitess.vtctldata.dev.LookupVindexCreateRequest + 64, // 64: vitess.vtctlservice.dev.Vtctld.LookupVindexExternalize:input_type -> vitess.vtctldata.dev.LookupVindexExternalizeRequest + 65, // 65: vitess.vtctlservice.dev.Vtctld.MaterializeCreate:input_type -> vitess.vtctldata.dev.MaterializeCreateRequest + 66, // 66: vitess.vtctlservice.dev.Vtctld.MigrateCreate:input_type -> vitess.vtctldata.dev.MigrateCreateRequest + 67, // 67: vitess.vtctlservice.dev.Vtctld.MountRegister:input_type -> vitess.vtctldata.dev.MountRegisterRequest + 68, // 68: vitess.vtctlservice.dev.Vtctld.MountUnregister:input_type -> vitess.vtctldata.dev.MountUnregisterRequest + 69, // 69: vitess.vtctlservice.dev.Vtctld.MountShow:input_type -> vitess.vtctldata.dev.MountShowRequest + 70, // 70: vitess.vtctlservice.dev.Vtctld.MountList:input_type -> vitess.vtctldata.dev.MountListRequest + 71, // 71: vitess.vtctlservice.dev.Vtctld.MoveTablesCreate:input_type -> vitess.vtctldata.dev.MoveTablesCreateRequest + 72, // 72: vitess.vtctlservice.dev.Vtctld.MoveTablesComplete:input_type -> vitess.vtctldata.dev.MoveTablesCompleteRequest + 73, // 73: vitess.vtctlservice.dev.Vtctld.PingTablet:input_type -> vitess.vtctldata.dev.PingTabletRequest + 74, // 74: vitess.vtctlservice.dev.Vtctld.PlannedReparentShard:input_type -> vitess.vtctldata.dev.PlannedReparentShardRequest + 75, // 75: vitess.vtctlservice.dev.Vtctld.RebuildKeyspaceGraph:input_type -> vitess.vtctldata.dev.RebuildKeyspaceGraphRequest + 76, // 76: vitess.vtctlservice.dev.Vtctld.RebuildVSchemaGraph:input_type -> vitess.vtctldata.dev.RebuildVSchemaGraphRequest + 77, // 77: vitess.vtctlservice.dev.Vtctld.RefreshState:input_type -> vitess.vtctldata.dev.RefreshStateRequest + 78, // 78: vitess.vtctlservice.dev.Vtctld.RefreshStateByShard:input_type -> vitess.vtctldata.dev.RefreshStateByShardRequest + 79, // 79: vitess.vtctlservice.dev.Vtctld.ReloadSchema:input_type -> vitess.vtctldata.dev.ReloadSchemaRequest + 80, // 80: vitess.vtctlservice.dev.Vtctld.ReloadSchemaKeyspace:input_type -> vitess.vtctldata.dev.ReloadSchemaKeyspaceRequest + 81, // 81: vitess.vtctlservice.dev.Vtctld.ReloadSchemaShard:input_type -> vitess.vtctldata.dev.ReloadSchemaShardRequest + 82, // 82: vitess.vtctlservice.dev.Vtctld.RemoveBackup:input_type -> vitess.vtctldata.dev.RemoveBackupRequest + 83, // 83: vitess.vtctlservice.dev.Vtctld.RemoveKeyspaceCell:input_type -> vitess.vtctldata.dev.RemoveKeyspaceCellRequest + 84, // 84: vitess.vtctlservice.dev.Vtctld.RemoveShardCell:input_type -> vitess.vtctldata.dev.RemoveShardCellRequest + 85, // 85: vitess.vtctlservice.dev.Vtctld.ReparentTablet:input_type -> vitess.vtctldata.dev.ReparentTabletRequest + 86, // 86: vitess.vtctlservice.dev.Vtctld.ReshardCreate:input_type -> vitess.vtctldata.dev.ReshardCreateRequest + 87, // 87: vitess.vtctlservice.dev.Vtctld.RestoreFromBackup:input_type -> vitess.vtctldata.dev.RestoreFromBackupRequest + 88, // 88: vitess.vtctlservice.dev.Vtctld.RetrySchemaMigration:input_type -> vitess.vtctldata.dev.RetrySchemaMigrationRequest + 89, // 89: vitess.vtctlservice.dev.Vtctld.RunHealthCheck:input_type -> vitess.vtctldata.dev.RunHealthCheckRequest + 90, // 90: vitess.vtctlservice.dev.Vtctld.SetKeyspaceDurabilityPolicy:input_type -> vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyRequest + 91, // 91: vitess.vtctlservice.dev.Vtctld.SetShardIsPrimaryServing:input_type -> vitess.vtctldata.dev.SetShardIsPrimaryServingRequest + 92, // 92: vitess.vtctlservice.dev.Vtctld.SetShardTabletControl:input_type -> vitess.vtctldata.dev.SetShardTabletControlRequest + 93, // 93: vitess.vtctlservice.dev.Vtctld.SetWritable:input_type -> vitess.vtctldata.dev.SetWritableRequest + 94, // 94: vitess.vtctlservice.dev.Vtctld.ShardReplicationAdd:input_type -> vitess.vtctldata.dev.ShardReplicationAddRequest + 95, // 95: vitess.vtctlservice.dev.Vtctld.ShardReplicationFix:input_type -> vitess.vtctldata.dev.ShardReplicationFixRequest + 96, // 96: vitess.vtctlservice.dev.Vtctld.ShardReplicationPositions:input_type -> vitess.vtctldata.dev.ShardReplicationPositionsRequest + 97, // 97: vitess.vtctlservice.dev.Vtctld.ShardReplicationRemove:input_type -> vitess.vtctldata.dev.ShardReplicationRemoveRequest + 98, // 98: vitess.vtctlservice.dev.Vtctld.SleepTablet:input_type -> vitess.vtctldata.dev.SleepTabletRequest + 99, // 99: vitess.vtctlservice.dev.Vtctld.SourceShardAdd:input_type -> vitess.vtctldata.dev.SourceShardAddRequest + 100, // 100: vitess.vtctlservice.dev.Vtctld.SourceShardDelete:input_type -> vitess.vtctldata.dev.SourceShardDeleteRequest + 101, // 101: vitess.vtctlservice.dev.Vtctld.StartReplication:input_type -> vitess.vtctldata.dev.StartReplicationRequest + 102, // 102: vitess.vtctlservice.dev.Vtctld.StopReplication:input_type -> vitess.vtctldata.dev.StopReplicationRequest + 103, // 103: vitess.vtctlservice.dev.Vtctld.TabletExternallyReparented:input_type -> vitess.vtctldata.dev.TabletExternallyReparentedRequest + 104, // 104: vitess.vtctlservice.dev.Vtctld.UpdateCellInfo:input_type -> vitess.vtctldata.dev.UpdateCellInfoRequest + 105, // 105: vitess.vtctlservice.dev.Vtctld.UpdateCellsAlias:input_type -> vitess.vtctldata.dev.UpdateCellsAliasRequest + 106, // 106: vitess.vtctlservice.dev.Vtctld.Validate:input_type -> vitess.vtctldata.dev.ValidateRequest + 107, // 107: vitess.vtctlservice.dev.Vtctld.ValidateKeyspace:input_type -> vitess.vtctldata.dev.ValidateKeyspaceRequest + 108, // 108: vitess.vtctlservice.dev.Vtctld.ValidateSchemaKeyspace:input_type -> vitess.vtctldata.dev.ValidateSchemaKeyspaceRequest + 109, // 109: vitess.vtctlservice.dev.Vtctld.ValidateShard:input_type -> vitess.vtctldata.dev.ValidateShardRequest + 110, // 110: vitess.vtctlservice.dev.Vtctld.ValidateVersionKeyspace:input_type -> vitess.vtctldata.dev.ValidateVersionKeyspaceRequest + 111, // 111: vitess.vtctlservice.dev.Vtctld.ValidateVersionShard:input_type -> vitess.vtctldata.dev.ValidateVersionShardRequest + 112, // 112: vitess.vtctlservice.dev.Vtctld.ValidateVSchema:input_type -> vitess.vtctldata.dev.ValidateVSchemaRequest + 113, // 113: vitess.vtctlservice.dev.Vtctld.VDiffCreate:input_type -> vitess.vtctldata.dev.VDiffCreateRequest + 114, // 114: vitess.vtctlservice.dev.Vtctld.VDiffDelete:input_type -> vitess.vtctldata.dev.VDiffDeleteRequest + 115, // 115: vitess.vtctlservice.dev.Vtctld.VDiffResume:input_type -> vitess.vtctldata.dev.VDiffResumeRequest + 116, // 116: vitess.vtctlservice.dev.Vtctld.VDiffShow:input_type -> vitess.vtctldata.dev.VDiffShowRequest + 117, // 117: vitess.vtctlservice.dev.Vtctld.VDiffStop:input_type -> vitess.vtctldata.dev.VDiffStopRequest + 118, // 118: vitess.vtctlservice.dev.Vtctld.WorkflowDelete:input_type -> vitess.vtctldata.dev.WorkflowDeleteRequest + 119, // 119: vitess.vtctlservice.dev.Vtctld.WorkflowStatus:input_type -> vitess.vtctldata.dev.WorkflowStatusRequest + 120, // 120: vitess.vtctlservice.dev.Vtctld.WorkflowSwitchTraffic:input_type -> vitess.vtctldata.dev.WorkflowSwitchTrafficRequest + 121, // 121: vitess.vtctlservice.dev.Vtctld.WorkflowUpdate:input_type -> vitess.vtctldata.dev.WorkflowUpdateRequest + 122, // 122: vitess.vtctlservice.dev.Vtctld.GetMirrorRules:input_type -> vitess.vtctldata.dev.GetMirrorRulesRequest + 123, // 123: vitess.vtctlservice.dev.Vtctld.WorkflowMirrorTraffic:input_type -> vitess.vtctldata.dev.WorkflowMirrorTrafficRequest + 124, // 124: vitess.vtctlservice.dev.Vtctl.ExecuteVtctlCommand:output_type -> vitess.vtctldata.dev.ExecuteVtctlCommandResponse + 125, // 125: vitess.vtctlservice.dev.Vtctld.AddCellInfo:output_type -> vitess.vtctldata.dev.AddCellInfoResponse + 126, // 126: vitess.vtctlservice.dev.Vtctld.AddCellsAlias:output_type -> vitess.vtctldata.dev.AddCellsAliasResponse + 127, // 127: vitess.vtctlservice.dev.Vtctld.ApplyRoutingRules:output_type -> vitess.vtctldata.dev.ApplyRoutingRulesResponse + 128, // 128: vitess.vtctlservice.dev.Vtctld.ApplySchema:output_type -> vitess.vtctldata.dev.ApplySchemaResponse + 129, // 129: vitess.vtctlservice.dev.Vtctld.ApplyKeyspaceRoutingRules:output_type -> vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesResponse + 130, // 130: vitess.vtctlservice.dev.Vtctld.ApplyShardRoutingRules:output_type -> vitess.vtctldata.dev.ApplyShardRoutingRulesResponse + 131, // 131: vitess.vtctlservice.dev.Vtctld.ApplyVSchema:output_type -> vitess.vtctldata.dev.ApplyVSchemaResponse + 132, // 132: vitess.vtctlservice.dev.Vtctld.Backup:output_type -> vitess.vtctldata.dev.BackupResponse + 132, // 133: vitess.vtctlservice.dev.Vtctld.BackupShard:output_type -> vitess.vtctldata.dev.BackupResponse + 133, // 134: vitess.vtctlservice.dev.Vtctld.CancelSchemaMigration:output_type -> vitess.vtctldata.dev.CancelSchemaMigrationResponse + 134, // 135: vitess.vtctlservice.dev.Vtctld.ChangeTabletTags:output_type -> vitess.vtctldata.dev.ChangeTabletTagsResponse + 135, // 136: vitess.vtctlservice.dev.Vtctld.ChangeTabletType:output_type -> vitess.vtctldata.dev.ChangeTabletTypeResponse + 136, // 137: vitess.vtctlservice.dev.Vtctld.CheckThrottler:output_type -> vitess.vtctldata.dev.CheckThrottlerResponse + 137, // 138: vitess.vtctlservice.dev.Vtctld.CleanupSchemaMigration:output_type -> vitess.vtctldata.dev.CleanupSchemaMigrationResponse + 138, // 139: vitess.vtctlservice.dev.Vtctld.CompleteSchemaMigration:output_type -> vitess.vtctldata.dev.CompleteSchemaMigrationResponse + 139, // 140: vitess.vtctlservice.dev.Vtctld.ConcludeTransaction:output_type -> vitess.vtctldata.dev.ConcludeTransactionResponse + 140, // 141: vitess.vtctlservice.dev.Vtctld.CreateKeyspace:output_type -> vitess.vtctldata.dev.CreateKeyspaceResponse + 141, // 142: vitess.vtctlservice.dev.Vtctld.CreateShard:output_type -> vitess.vtctldata.dev.CreateShardResponse + 142, // 143: vitess.vtctlservice.dev.Vtctld.DeleteCellInfo:output_type -> vitess.vtctldata.dev.DeleteCellInfoResponse + 143, // 144: vitess.vtctlservice.dev.Vtctld.DeleteCellsAlias:output_type -> vitess.vtctldata.dev.DeleteCellsAliasResponse + 144, // 145: vitess.vtctlservice.dev.Vtctld.DeleteKeyspace:output_type -> vitess.vtctldata.dev.DeleteKeyspaceResponse + 145, // 146: vitess.vtctlservice.dev.Vtctld.DeleteShards:output_type -> vitess.vtctldata.dev.DeleteShardsResponse + 146, // 147: vitess.vtctlservice.dev.Vtctld.DeleteSrvVSchema:output_type -> vitess.vtctldata.dev.DeleteSrvVSchemaResponse + 147, // 148: vitess.vtctlservice.dev.Vtctld.DeleteTablets:output_type -> vitess.vtctldata.dev.DeleteTabletsResponse + 148, // 149: vitess.vtctlservice.dev.Vtctld.EmergencyReparentShard:output_type -> vitess.vtctldata.dev.EmergencyReparentShardResponse + 149, // 150: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsApp:output_type -> vitess.vtctldata.dev.ExecuteFetchAsAppResponse + 150, // 151: vitess.vtctlservice.dev.Vtctld.ExecuteFetchAsDBA:output_type -> vitess.vtctldata.dev.ExecuteFetchAsDBAResponse + 151, // 152: vitess.vtctlservice.dev.Vtctld.ExecuteHook:output_type -> vitess.vtctldata.dev.ExecuteHookResponse + 152, // 153: vitess.vtctlservice.dev.Vtctld.ExecuteMultiFetchAsDBA:output_type -> vitess.vtctldata.dev.ExecuteMultiFetchAsDBAResponse + 153, // 154: vitess.vtctlservice.dev.Vtctld.FindAllShardsInKeyspace:output_type -> vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse + 154, // 155: vitess.vtctlservice.dev.Vtctld.ForceCutOverSchemaMigration:output_type -> vitess.vtctldata.dev.ForceCutOverSchemaMigrationResponse + 155, // 156: vitess.vtctlservice.dev.Vtctld.GetBackups:output_type -> vitess.vtctldata.dev.GetBackupsResponse + 156, // 157: vitess.vtctlservice.dev.Vtctld.GetCellInfo:output_type -> vitess.vtctldata.dev.GetCellInfoResponse + 157, // 158: vitess.vtctlservice.dev.Vtctld.GetCellInfoNames:output_type -> vitess.vtctldata.dev.GetCellInfoNamesResponse + 158, // 159: vitess.vtctlservice.dev.Vtctld.GetCellsAliases:output_type -> vitess.vtctldata.dev.GetCellsAliasesResponse + 159, // 160: vitess.vtctlservice.dev.Vtctld.GetFullStatus:output_type -> vitess.vtctldata.dev.GetFullStatusResponse + 160, // 161: vitess.vtctlservice.dev.Vtctld.GetKeyspace:output_type -> vitess.vtctldata.dev.GetKeyspaceResponse + 161, // 162: vitess.vtctlservice.dev.Vtctld.GetKeyspaces:output_type -> vitess.vtctldata.dev.GetKeyspacesResponse + 162, // 163: vitess.vtctlservice.dev.Vtctld.GetKeyspaceRoutingRules:output_type -> vitess.vtctldata.dev.GetKeyspaceRoutingRulesResponse + 163, // 164: vitess.vtctlservice.dev.Vtctld.GetPermissions:output_type -> vitess.vtctldata.dev.GetPermissionsResponse + 164, // 165: vitess.vtctlservice.dev.Vtctld.GetRoutingRules:output_type -> vitess.vtctldata.dev.GetRoutingRulesResponse + 165, // 166: vitess.vtctlservice.dev.Vtctld.GetSchema:output_type -> vitess.vtctldata.dev.GetSchemaResponse + 166, // 167: vitess.vtctlservice.dev.Vtctld.GetSchemaMigrations:output_type -> vitess.vtctldata.dev.GetSchemaMigrationsResponse + 167, // 168: vitess.vtctlservice.dev.Vtctld.GetShardReplication:output_type -> vitess.vtctldata.dev.GetShardReplicationResponse + 168, // 169: vitess.vtctlservice.dev.Vtctld.GetShard:output_type -> vitess.vtctldata.dev.GetShardResponse + 169, // 170: vitess.vtctlservice.dev.Vtctld.GetShardRoutingRules:output_type -> vitess.vtctldata.dev.GetShardRoutingRulesResponse + 170, // 171: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaceNames:output_type -> vitess.vtctldata.dev.GetSrvKeyspaceNamesResponse + 171, // 172: vitess.vtctlservice.dev.Vtctld.GetSrvKeyspaces:output_type -> vitess.vtctldata.dev.GetSrvKeyspacesResponse + 172, // 173: vitess.vtctlservice.dev.Vtctld.UpdateThrottlerConfig:output_type -> vitess.vtctldata.dev.UpdateThrottlerConfigResponse + 173, // 174: vitess.vtctlservice.dev.Vtctld.GetSrvVSchema:output_type -> vitess.vtctldata.dev.GetSrvVSchemaResponse + 174, // 175: vitess.vtctlservice.dev.Vtctld.GetSrvVSchemas:output_type -> vitess.vtctldata.dev.GetSrvVSchemasResponse + 175, // 176: vitess.vtctlservice.dev.Vtctld.GetTablet:output_type -> vitess.vtctldata.dev.GetTabletResponse + 176, // 177: vitess.vtctlservice.dev.Vtctld.GetTablets:output_type -> vitess.vtctldata.dev.GetTabletsResponse + 177, // 178: vitess.vtctlservice.dev.Vtctld.GetThrottlerStatus:output_type -> vitess.vtctldata.dev.GetThrottlerStatusResponse + 178, // 179: vitess.vtctlservice.dev.Vtctld.GetTopologyPath:output_type -> vitess.vtctldata.dev.GetTopologyPathResponse + 179, // 180: vitess.vtctlservice.dev.Vtctld.GetTransactionInfo:output_type -> vitess.vtctldata.dev.GetTransactionInfoResponse + 180, // 181: vitess.vtctlservice.dev.Vtctld.GetUnresolvedTransactions:output_type -> vitess.vtctldata.dev.GetUnresolvedTransactionsResponse + 181, // 182: vitess.vtctlservice.dev.Vtctld.GetVersion:output_type -> vitess.vtctldata.dev.GetVersionResponse + 182, // 183: vitess.vtctlservice.dev.Vtctld.GetVSchema:output_type -> vitess.vtctldata.dev.GetVSchemaResponse + 183, // 184: vitess.vtctlservice.dev.Vtctld.GetWorkflows:output_type -> vitess.vtctldata.dev.GetWorkflowsResponse + 184, // 185: vitess.vtctlservice.dev.Vtctld.InitShardPrimary:output_type -> vitess.vtctldata.dev.InitShardPrimaryResponse + 185, // 186: vitess.vtctlservice.dev.Vtctld.LaunchSchemaMigration:output_type -> vitess.vtctldata.dev.LaunchSchemaMigrationResponse + 186, // 187: vitess.vtctlservice.dev.Vtctld.LookupVindexCreate:output_type -> vitess.vtctldata.dev.LookupVindexCreateResponse + 187, // 188: vitess.vtctlservice.dev.Vtctld.LookupVindexExternalize:output_type -> vitess.vtctldata.dev.LookupVindexExternalizeResponse + 188, // 189: vitess.vtctlservice.dev.Vtctld.MaterializeCreate:output_type -> vitess.vtctldata.dev.MaterializeCreateResponse + 189, // 190: vitess.vtctlservice.dev.Vtctld.MigrateCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse + 190, // 191: vitess.vtctlservice.dev.Vtctld.MountRegister:output_type -> vitess.vtctldata.dev.MountRegisterResponse + 191, // 192: vitess.vtctlservice.dev.Vtctld.MountUnregister:output_type -> vitess.vtctldata.dev.MountUnregisterResponse + 192, // 193: vitess.vtctlservice.dev.Vtctld.MountShow:output_type -> vitess.vtctldata.dev.MountShowResponse + 193, // 194: vitess.vtctlservice.dev.Vtctld.MountList:output_type -> vitess.vtctldata.dev.MountListResponse + 189, // 195: vitess.vtctlservice.dev.Vtctld.MoveTablesCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse + 194, // 196: vitess.vtctlservice.dev.Vtctld.MoveTablesComplete:output_type -> vitess.vtctldata.dev.MoveTablesCompleteResponse + 195, // 197: vitess.vtctlservice.dev.Vtctld.PingTablet:output_type -> vitess.vtctldata.dev.PingTabletResponse + 196, // 198: vitess.vtctlservice.dev.Vtctld.PlannedReparentShard:output_type -> vitess.vtctldata.dev.PlannedReparentShardResponse + 197, // 199: vitess.vtctlservice.dev.Vtctld.RebuildKeyspaceGraph:output_type -> vitess.vtctldata.dev.RebuildKeyspaceGraphResponse + 198, // 200: vitess.vtctlservice.dev.Vtctld.RebuildVSchemaGraph:output_type -> vitess.vtctldata.dev.RebuildVSchemaGraphResponse + 199, // 201: vitess.vtctlservice.dev.Vtctld.RefreshState:output_type -> vitess.vtctldata.dev.RefreshStateResponse + 200, // 202: vitess.vtctlservice.dev.Vtctld.RefreshStateByShard:output_type -> vitess.vtctldata.dev.RefreshStateByShardResponse + 201, // 203: vitess.vtctlservice.dev.Vtctld.ReloadSchema:output_type -> vitess.vtctldata.dev.ReloadSchemaResponse + 202, // 204: vitess.vtctlservice.dev.Vtctld.ReloadSchemaKeyspace:output_type -> vitess.vtctldata.dev.ReloadSchemaKeyspaceResponse + 203, // 205: vitess.vtctlservice.dev.Vtctld.ReloadSchemaShard:output_type -> vitess.vtctldata.dev.ReloadSchemaShardResponse + 204, // 206: vitess.vtctlservice.dev.Vtctld.RemoveBackup:output_type -> vitess.vtctldata.dev.RemoveBackupResponse + 205, // 207: vitess.vtctlservice.dev.Vtctld.RemoveKeyspaceCell:output_type -> vitess.vtctldata.dev.RemoveKeyspaceCellResponse + 206, // 208: vitess.vtctlservice.dev.Vtctld.RemoveShardCell:output_type -> vitess.vtctldata.dev.RemoveShardCellResponse + 207, // 209: vitess.vtctlservice.dev.Vtctld.ReparentTablet:output_type -> vitess.vtctldata.dev.ReparentTabletResponse + 189, // 210: vitess.vtctlservice.dev.Vtctld.ReshardCreate:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse + 208, // 211: vitess.vtctlservice.dev.Vtctld.RestoreFromBackup:output_type -> vitess.vtctldata.dev.RestoreFromBackupResponse + 209, // 212: vitess.vtctlservice.dev.Vtctld.RetrySchemaMigration:output_type -> vitess.vtctldata.dev.RetrySchemaMigrationResponse + 210, // 213: vitess.vtctlservice.dev.Vtctld.RunHealthCheck:output_type -> vitess.vtctldata.dev.RunHealthCheckResponse + 211, // 214: vitess.vtctlservice.dev.Vtctld.SetKeyspaceDurabilityPolicy:output_type -> vitess.vtctldata.dev.SetKeyspaceDurabilityPolicyResponse + 212, // 215: vitess.vtctlservice.dev.Vtctld.SetShardIsPrimaryServing:output_type -> vitess.vtctldata.dev.SetShardIsPrimaryServingResponse + 213, // 216: vitess.vtctlservice.dev.Vtctld.SetShardTabletControl:output_type -> vitess.vtctldata.dev.SetShardTabletControlResponse + 214, // 217: vitess.vtctlservice.dev.Vtctld.SetWritable:output_type -> vitess.vtctldata.dev.SetWritableResponse + 215, // 218: vitess.vtctlservice.dev.Vtctld.ShardReplicationAdd:output_type -> vitess.vtctldata.dev.ShardReplicationAddResponse + 216, // 219: vitess.vtctlservice.dev.Vtctld.ShardReplicationFix:output_type -> vitess.vtctldata.dev.ShardReplicationFixResponse + 217, // 220: vitess.vtctlservice.dev.Vtctld.ShardReplicationPositions:output_type -> vitess.vtctldata.dev.ShardReplicationPositionsResponse + 218, // 221: vitess.vtctlservice.dev.Vtctld.ShardReplicationRemove:output_type -> vitess.vtctldata.dev.ShardReplicationRemoveResponse + 219, // 222: vitess.vtctlservice.dev.Vtctld.SleepTablet:output_type -> vitess.vtctldata.dev.SleepTabletResponse + 220, // 223: vitess.vtctlservice.dev.Vtctld.SourceShardAdd:output_type -> vitess.vtctldata.dev.SourceShardAddResponse + 221, // 224: vitess.vtctlservice.dev.Vtctld.SourceShardDelete:output_type -> vitess.vtctldata.dev.SourceShardDeleteResponse + 222, // 225: vitess.vtctlservice.dev.Vtctld.StartReplication:output_type -> vitess.vtctldata.dev.StartReplicationResponse + 223, // 226: vitess.vtctlservice.dev.Vtctld.StopReplication:output_type -> vitess.vtctldata.dev.StopReplicationResponse + 224, // 227: vitess.vtctlservice.dev.Vtctld.TabletExternallyReparented:output_type -> vitess.vtctldata.dev.TabletExternallyReparentedResponse + 225, // 228: vitess.vtctlservice.dev.Vtctld.UpdateCellInfo:output_type -> vitess.vtctldata.dev.UpdateCellInfoResponse + 226, // 229: vitess.vtctlservice.dev.Vtctld.UpdateCellsAlias:output_type -> vitess.vtctldata.dev.UpdateCellsAliasResponse + 227, // 230: vitess.vtctlservice.dev.Vtctld.Validate:output_type -> vitess.vtctldata.dev.ValidateResponse + 228, // 231: vitess.vtctlservice.dev.Vtctld.ValidateKeyspace:output_type -> vitess.vtctldata.dev.ValidateKeyspaceResponse + 229, // 232: vitess.vtctlservice.dev.Vtctld.ValidateSchemaKeyspace:output_type -> vitess.vtctldata.dev.ValidateSchemaKeyspaceResponse + 230, // 233: vitess.vtctlservice.dev.Vtctld.ValidateShard:output_type -> vitess.vtctldata.dev.ValidateShardResponse + 231, // 234: vitess.vtctlservice.dev.Vtctld.ValidateVersionKeyspace:output_type -> vitess.vtctldata.dev.ValidateVersionKeyspaceResponse + 232, // 235: vitess.vtctlservice.dev.Vtctld.ValidateVersionShard:output_type -> vitess.vtctldata.dev.ValidateVersionShardResponse + 233, // 236: vitess.vtctlservice.dev.Vtctld.ValidateVSchema:output_type -> vitess.vtctldata.dev.ValidateVSchemaResponse + 234, // 237: vitess.vtctlservice.dev.Vtctld.VDiffCreate:output_type -> vitess.vtctldata.dev.VDiffCreateResponse + 235, // 238: vitess.vtctlservice.dev.Vtctld.VDiffDelete:output_type -> vitess.vtctldata.dev.VDiffDeleteResponse + 236, // 239: vitess.vtctlservice.dev.Vtctld.VDiffResume:output_type -> vitess.vtctldata.dev.VDiffResumeResponse + 237, // 240: vitess.vtctlservice.dev.Vtctld.VDiffShow:output_type -> vitess.vtctldata.dev.VDiffShowResponse + 238, // 241: vitess.vtctlservice.dev.Vtctld.VDiffStop:output_type -> vitess.vtctldata.dev.VDiffStopResponse + 239, // 242: vitess.vtctlservice.dev.Vtctld.WorkflowDelete:output_type -> vitess.vtctldata.dev.WorkflowDeleteResponse + 189, // 243: vitess.vtctlservice.dev.Vtctld.WorkflowStatus:output_type -> vitess.vtctldata.dev.WorkflowStatusResponse + 240, // 244: vitess.vtctlservice.dev.Vtctld.WorkflowSwitchTraffic:output_type -> vitess.vtctldata.dev.WorkflowSwitchTrafficResponse + 241, // 245: vitess.vtctlservice.dev.Vtctld.WorkflowUpdate:output_type -> vitess.vtctldata.dev.WorkflowUpdateResponse + 242, // 246: vitess.vtctlservice.dev.Vtctld.GetMirrorRules:output_type -> vitess.vtctldata.dev.GetMirrorRulesResponse + 243, // 247: vitess.vtctlservice.dev.Vtctld.WorkflowMirrorTraffic:output_type -> vitess.vtctldata.dev.WorkflowMirrorTrafficResponse + 124, // [124:248] is the sub-list for method output_type + 0, // [0:124] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name diff --git a/gen/vitess/vtctlservice/dev/vtctlservicedevconnect/vtctlservice.connect.go b/gen/vitess/vtctlservice/dev/vtctlservicedevconnect/vtctlservice.connect.go index bc86cc5..22dc702 100644 --- a/gen/vitess/vtctlservice/dev/vtctlservicedevconnect/vtctlservice.connect.go +++ b/gen/vitess/vtctlservice/dev/vtctlservicedevconnect/vtctlservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - dev "github.com/planetscale/vitess-types/gen/vitess/vtctldata/dev" - _ "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/dev" + dev1 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/dev" + dev "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/dev" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VtctlName is the fully-qualified name of the Vtctl service. @@ -65,6 +65,9 @@ const ( VtctldApplyRoutingRulesProcedure = "/vtctlservice.Vtctld/ApplyRoutingRules" // VtctldApplySchemaProcedure is the fully-qualified name of the Vtctld's ApplySchema RPC. VtctldApplySchemaProcedure = "/vtctlservice.Vtctld/ApplySchema" + // VtctldApplyKeyspaceRoutingRulesProcedure is the fully-qualified name of the Vtctld's + // ApplyKeyspaceRoutingRules RPC. + VtctldApplyKeyspaceRoutingRulesProcedure = "/vtctlservice.Vtctld/ApplyKeyspaceRoutingRules" // VtctldApplyShardRoutingRulesProcedure is the fully-qualified name of the Vtctld's // ApplyShardRoutingRules RPC. VtctldApplyShardRoutingRulesProcedure = "/vtctlservice.Vtctld/ApplyShardRoutingRules" @@ -77,14 +80,21 @@ const ( // VtctldCancelSchemaMigrationProcedure is the fully-qualified name of the Vtctld's // CancelSchemaMigration RPC. VtctldCancelSchemaMigrationProcedure = "/vtctlservice.Vtctld/CancelSchemaMigration" + // VtctldChangeTabletTagsProcedure is the fully-qualified name of the Vtctld's ChangeTabletTags RPC. + VtctldChangeTabletTagsProcedure = "/vtctlservice.Vtctld/ChangeTabletTags" // VtctldChangeTabletTypeProcedure is the fully-qualified name of the Vtctld's ChangeTabletType RPC. VtctldChangeTabletTypeProcedure = "/vtctlservice.Vtctld/ChangeTabletType" + // VtctldCheckThrottlerProcedure is the fully-qualified name of the Vtctld's CheckThrottler RPC. + VtctldCheckThrottlerProcedure = "/vtctlservice.Vtctld/CheckThrottler" // VtctldCleanupSchemaMigrationProcedure is the fully-qualified name of the Vtctld's // CleanupSchemaMigration RPC. VtctldCleanupSchemaMigrationProcedure = "/vtctlservice.Vtctld/CleanupSchemaMigration" // VtctldCompleteSchemaMigrationProcedure is the fully-qualified name of the Vtctld's // CompleteSchemaMigration RPC. VtctldCompleteSchemaMigrationProcedure = "/vtctlservice.Vtctld/CompleteSchemaMigration" + // VtctldConcludeTransactionProcedure is the fully-qualified name of the Vtctld's + // ConcludeTransaction RPC. + VtctldConcludeTransactionProcedure = "/vtctlservice.Vtctld/ConcludeTransaction" // VtctldCreateKeyspaceProcedure is the fully-qualified name of the Vtctld's CreateKeyspace RPC. VtctldCreateKeyspaceProcedure = "/vtctlservice.Vtctld/CreateKeyspace" // VtctldCreateShardProcedure is the fully-qualified name of the Vtctld's CreateShard RPC. @@ -112,9 +122,15 @@ const ( VtctldExecuteFetchAsDBAProcedure = "/vtctlservice.Vtctld/ExecuteFetchAsDBA" // VtctldExecuteHookProcedure is the fully-qualified name of the Vtctld's ExecuteHook RPC. VtctldExecuteHookProcedure = "/vtctlservice.Vtctld/ExecuteHook" + // VtctldExecuteMultiFetchAsDBAProcedure is the fully-qualified name of the Vtctld's + // ExecuteMultiFetchAsDBA RPC. + VtctldExecuteMultiFetchAsDBAProcedure = "/vtctlservice.Vtctld/ExecuteMultiFetchAsDBA" // VtctldFindAllShardsInKeyspaceProcedure is the fully-qualified name of the Vtctld's // FindAllShardsInKeyspace RPC. VtctldFindAllShardsInKeyspaceProcedure = "/vtctlservice.Vtctld/FindAllShardsInKeyspace" + // VtctldForceCutOverSchemaMigrationProcedure is the fully-qualified name of the Vtctld's + // ForceCutOverSchemaMigration RPC. + VtctldForceCutOverSchemaMigrationProcedure = "/vtctlservice.Vtctld/ForceCutOverSchemaMigration" // VtctldGetBackupsProcedure is the fully-qualified name of the Vtctld's GetBackups RPC. VtctldGetBackupsProcedure = "/vtctlservice.Vtctld/GetBackups" // VtctldGetCellInfoProcedure is the fully-qualified name of the Vtctld's GetCellInfo RPC. @@ -129,6 +145,9 @@ const ( VtctldGetKeyspaceProcedure = "/vtctlservice.Vtctld/GetKeyspace" // VtctldGetKeyspacesProcedure is the fully-qualified name of the Vtctld's GetKeyspaces RPC. VtctldGetKeyspacesProcedure = "/vtctlservice.Vtctld/GetKeyspaces" + // VtctldGetKeyspaceRoutingRulesProcedure is the fully-qualified name of the Vtctld's + // GetKeyspaceRoutingRules RPC. + VtctldGetKeyspaceRoutingRulesProcedure = "/vtctlservice.Vtctld/GetKeyspaceRoutingRules" // VtctldGetPermissionsProcedure is the fully-qualified name of the Vtctld's GetPermissions RPC. VtctldGetPermissionsProcedure = "/vtctlservice.Vtctld/GetPermissions" // VtctldGetRoutingRulesProcedure is the fully-qualified name of the Vtctld's GetRoutingRules RPC. @@ -138,6 +157,9 @@ const ( // VtctldGetSchemaMigrationsProcedure is the fully-qualified name of the Vtctld's // GetSchemaMigrations RPC. VtctldGetSchemaMigrationsProcedure = "/vtctlservice.Vtctld/GetSchemaMigrations" + // VtctldGetShardReplicationProcedure is the fully-qualified name of the Vtctld's + // GetShardReplication RPC. + VtctldGetShardReplicationProcedure = "/vtctlservice.Vtctld/GetShardReplication" // VtctldGetShardProcedure is the fully-qualified name of the Vtctld's GetShard RPC. VtctldGetShardProcedure = "/vtctlservice.Vtctld/GetShard" // VtctldGetShardRoutingRulesProcedure is the fully-qualified name of the Vtctld's @@ -159,8 +181,17 @@ const ( VtctldGetTabletProcedure = "/vtctlservice.Vtctld/GetTablet" // VtctldGetTabletsProcedure is the fully-qualified name of the Vtctld's GetTablets RPC. VtctldGetTabletsProcedure = "/vtctlservice.Vtctld/GetTablets" + // VtctldGetThrottlerStatusProcedure is the fully-qualified name of the Vtctld's GetThrottlerStatus + // RPC. + VtctldGetThrottlerStatusProcedure = "/vtctlservice.Vtctld/GetThrottlerStatus" // VtctldGetTopologyPathProcedure is the fully-qualified name of the Vtctld's GetTopologyPath RPC. VtctldGetTopologyPathProcedure = "/vtctlservice.Vtctld/GetTopologyPath" + // VtctldGetTransactionInfoProcedure is the fully-qualified name of the Vtctld's GetTransactionInfo + // RPC. + VtctldGetTransactionInfoProcedure = "/vtctlservice.Vtctld/GetTransactionInfo" + // VtctldGetUnresolvedTransactionsProcedure is the fully-qualified name of the Vtctld's + // GetUnresolvedTransactions RPC. + VtctldGetUnresolvedTransactionsProcedure = "/vtctlservice.Vtctld/GetUnresolvedTransactions" // VtctldGetVersionProcedure is the fully-qualified name of the Vtctld's GetVersion RPC. VtctldGetVersionProcedure = "/vtctlservice.Vtctld/GetVersion" // VtctldGetVSchemaProcedure is the fully-qualified name of the Vtctld's GetVSchema RPC. @@ -316,11 +347,146 @@ const ( VtctldWorkflowSwitchTrafficProcedure = "/vtctlservice.Vtctld/WorkflowSwitchTraffic" // VtctldWorkflowUpdateProcedure is the fully-qualified name of the Vtctld's WorkflowUpdate RPC. VtctldWorkflowUpdateProcedure = "/vtctlservice.Vtctld/WorkflowUpdate" + // VtctldGetMirrorRulesProcedure is the fully-qualified name of the Vtctld's GetMirrorRules RPC. + VtctldGetMirrorRulesProcedure = "/vtctlservice.Vtctld/GetMirrorRules" + // VtctldWorkflowMirrorTrafficProcedure is the fully-qualified name of the Vtctld's + // WorkflowMirrorTraffic RPC. + VtctldWorkflowMirrorTrafficProcedure = "/vtctlservice.Vtctld/WorkflowMirrorTraffic" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vtctlServiceDescriptor = dev.File_vitess_vtctlservice_dev_vtctlservice_proto.Services().ByName("Vtctl") + vtctlExecuteVtctlCommandMethodDescriptor = vtctlServiceDescriptor.Methods().ByName("ExecuteVtctlCommand") + vtctldServiceDescriptor = dev.File_vitess_vtctlservice_dev_vtctlservice_proto.Services().ByName("Vtctld") + vtctldAddCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellInfo") + vtctldAddCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellsAlias") + vtctldApplyRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyRoutingRules") + vtctldApplySchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplySchema") + vtctldApplyKeyspaceRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyKeyspaceRoutingRules") + vtctldApplyShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyShardRoutingRules") + vtctldApplyVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyVSchema") + vtctldBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Backup") + vtctldBackupShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("BackupShard") + vtctldCancelSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CancelSchemaMigration") + vtctldChangeTabletTagsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ChangeTabletTags") + vtctldChangeTabletTypeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ChangeTabletType") + vtctldCheckThrottlerMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CheckThrottler") + vtctldCleanupSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CleanupSchemaMigration") + vtctldCompleteSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CompleteSchemaMigration") + vtctldConcludeTransactionMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ConcludeTransaction") + vtctldCreateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateKeyspace") + vtctldCreateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateShard") + vtctldDeleteCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellInfo") + vtctldDeleteCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellsAlias") + vtctldDeleteKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteKeyspace") + vtctldDeleteShardsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteShards") + vtctldDeleteSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteSrvVSchema") + vtctldDeleteTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteTablets") + vtctldEmergencyReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("EmergencyReparentShard") + vtctldExecuteFetchAsAppMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + vtctldExecuteFetchAsDBAMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsDBA") + vtctldExecuteHookMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteHook") + vtctldExecuteMultiFetchAsDBAMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteMultiFetchAsDBA") + vtctldFindAllShardsInKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("FindAllShardsInKeyspace") + vtctldForceCutOverSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ForceCutOverSchemaMigration") + vtctldGetBackupsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetBackups") + vtctldGetCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfo") + vtctldGetCellInfoNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfoNames") + vtctldGetCellsAliasesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellsAliases") + vtctldGetFullStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetFullStatus") + vtctldGetKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspace") + vtctldGetKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspaces") + vtctldGetKeyspaceRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspaceRoutingRules") + vtctldGetPermissionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetPermissions") + vtctldGetRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetRoutingRules") + vtctldGetSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchema") + vtctldGetSchemaMigrationsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchemaMigrations") + vtctldGetShardReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShardReplication") + vtctldGetShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShard") + vtctldGetShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShardRoutingRules") + vtctldGetSrvKeyspaceNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaceNames") + vtctldGetSrvKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vtctldUpdateThrottlerConfigMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateThrottlerConfig") + vtctldGetSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchema") + vtctldGetSrvVSchemasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vtctldGetTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablet") + vtctldGetTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablets") + vtctldGetThrottlerStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetThrottlerStatus") + vtctldGetTopologyPathMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTopologyPath") + vtctldGetTransactionInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTransactionInfo") + vtctldGetUnresolvedTransactionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetUnresolvedTransactions") + vtctldGetVersionMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVersion") + vtctldGetVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVSchema") + vtctldGetWorkflowsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetWorkflows") + vtctldInitShardPrimaryMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("InitShardPrimary") + vtctldLaunchSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LaunchSchemaMigration") + vtctldLookupVindexCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LookupVindexCreate") + vtctldLookupVindexExternalizeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LookupVindexExternalize") + vtctldMaterializeCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MaterializeCreate") + vtctldMigrateCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MigrateCreate") + vtctldMountRegisterMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountRegister") + vtctldMountUnregisterMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountUnregister") + vtctldMountShowMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountShow") + vtctldMountListMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountList") + vtctldMoveTablesCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MoveTablesCreate") + vtctldMoveTablesCompleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MoveTablesComplete") + vtctldPingTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PingTablet") + vtctldPlannedReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PlannedReparentShard") + vtctldRebuildKeyspaceGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vtctldRebuildVSchemaGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildVSchemaGraph") + vtctldRefreshStateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshState") + vtctldRefreshStateByShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshStateByShard") + vtctldReloadSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchema") + vtctldReloadSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaKeyspace") + vtctldReloadSchemaShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vtctldRemoveBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveBackup") + vtctldRemoveKeyspaceCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vtctldRemoveShardCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveShardCell") + vtctldReparentTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReparentTablet") + vtctldReshardCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReshardCreate") + vtctldRestoreFromBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RestoreFromBackup") + vtctldRetrySchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RetrySchemaMigration") + vtctldRunHealthCheckMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RunHealthCheck") + vtctldSetKeyspaceDurabilityPolicyMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetKeyspaceDurabilityPolicy") + vtctldSetShardIsPrimaryServingMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardIsPrimaryServing") + vtctldSetShardTabletControlMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardTabletControl") + vtctldSetWritableMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetWritable") + vtctldShardReplicationAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationAdd") + vtctldShardReplicationFixMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationFix") + vtctldShardReplicationPositionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationPositions") + vtctldShardReplicationRemoveMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationRemove") + vtctldSleepTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SleepTablet") + vtctldSourceShardAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardAdd") + vtctldSourceShardDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardDelete") + vtctldStartReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StartReplication") + vtctldStopReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StopReplication") + vtctldTabletExternallyReparentedMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("TabletExternallyReparented") + vtctldUpdateCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellInfo") + vtctldUpdateCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellsAlias") + vtctldValidateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Validate") + vtctldValidateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateKeyspace") + vtctldValidateSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vtctldValidateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateShard") + vtctldValidateVersionKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vtctldValidateVersionShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionShard") + vtctldValidateVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVSchema") + vtctldVDiffCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffCreate") + vtctldVDiffDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffDelete") + vtctldVDiffResumeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffResume") + vtctldVDiffShowMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffShow") + vtctldVDiffStopMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffStop") + vtctldWorkflowDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowDelete") + vtctldWorkflowStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowStatus") + vtctldWorkflowSwitchTrafficMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowSwitchTraffic") + vtctldWorkflowUpdateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowUpdate") + vtctldGetMirrorRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetMirrorRules") + vtctldWorkflowMirrorTrafficMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowMirrorTraffic") ) // VtctlClient is a client for the vtctlservice.Vtctl service. type VtctlClient interface { - ExecuteVtctlCommand(context.Context, *connect.Request[dev.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[dev.ExecuteVtctlCommandResponse], error) + ExecuteVtctlCommand(context.Context, *connect.Request[dev1.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[dev1.ExecuteVtctlCommandResponse], error) } // NewVtctlClient constructs a client for the vtctlservice.Vtctl service. By default, it @@ -333,27 +499,28 @@ type VtctlClient interface { func NewVtctlClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctlClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctlClient{ - executeVtctlCommand: connect.NewClient[dev.ExecuteVtctlCommandRequest, dev.ExecuteVtctlCommandResponse]( + executeVtctlCommand: connect.NewClient[dev1.ExecuteVtctlCommandRequest, dev1.ExecuteVtctlCommandResponse]( httpClient, baseURL+VtctlExecuteVtctlCommandProcedure, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctlClient implements VtctlClient. type vtctlClient struct { - executeVtctlCommand *connect.Client[dev.ExecuteVtctlCommandRequest, dev.ExecuteVtctlCommandResponse] + executeVtctlCommand *connect.Client[dev1.ExecuteVtctlCommandRequest, dev1.ExecuteVtctlCommandResponse] } // ExecuteVtctlCommand calls vtctlservice.Vtctl.ExecuteVtctlCommand. -func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[dev.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[dev.ExecuteVtctlCommandResponse], error) { +func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[dev1.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[dev1.ExecuteVtctlCommandResponse], error) { return c.executeVtctlCommand.CallServerStream(ctx, req) } // VtctlHandler is an implementation of the vtctlservice.Vtctl service. type VtctlHandler interface { - ExecuteVtctlCommand(context.Context, *connect.Request[dev.ExecuteVtctlCommandRequest], *connect.ServerStream[dev.ExecuteVtctlCommandResponse]) error + ExecuteVtctlCommand(context.Context, *connect.Request[dev1.ExecuteVtctlCommandRequest], *connect.ServerStream[dev1.ExecuteVtctlCommandResponse]) error } // NewVtctlHandler builds an HTTP handler from the service implementation. It returns the path on @@ -365,7 +532,8 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h vtctlExecuteVtctlCommandHandler := connect.NewServerStreamHandler( VtctlExecuteVtctlCommandProcedure, svc.ExecuteVtctlCommand, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -380,7 +548,7 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h // UnimplementedVtctlHandler returns CodeUnimplemented from all methods. type UnimplementedVtctlHandler struct{} -func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[dev.ExecuteVtctlCommandRequest], *connect.ServerStream[dev.ExecuteVtctlCommandResponse]) error { +func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[dev1.ExecuteVtctlCommandRequest], *connect.ServerStream[dev1.ExecuteVtctlCommandResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctl.ExecuteVtctlCommand is not implemented")) } @@ -388,168 +556,190 @@ func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.R type VtctldClient interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[dev.AddCellInfoRequest]) (*connect.Response[dev.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[dev1.AddCellInfoRequest]) (*connect.Response[dev1.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[dev.AddCellsAliasRequest]) (*connect.Response[dev.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[dev1.AddCellsAliasRequest]) (*connect.Response[dev1.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[dev.ApplyRoutingRulesRequest]) (*connect.Response[dev.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[dev1.ApplyRoutingRulesRequest]) (*connect.Response[dev1.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) + // ApplyKeyspaceRoutingRules applies the VSchema keyspace routing rules. + ApplyKeyspaceRoutingRules(context.Context, *connect.Request[dev1.ApplyKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.ApplyKeyspaceRoutingRulesResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[dev.ApplyShardRoutingRulesRequest]) (*connect.Response[dev.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[dev1.ApplyShardRoutingRulesRequest]) (*connect.Response[dev1.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[dev.ApplyVSchemaRequest]) (*connect.Response[dev.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[dev1.ApplyVSchemaRequest]) (*connect.Response[dev1.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[dev.BackupRequest]) (*connect.ServerStreamForClient[dev.BackupResponse], error) + Backup(context.Context, *connect.Request[dev1.BackupRequest]) (*connect.ServerStreamForClient[dev1.BackupResponse], error) // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[dev.BackupShardRequest]) (*connect.ServerStreamForClient[dev.BackupResponse], error) - // CancelSchemaMigration cancels one or all migrations, terminating any runnign ones as needed. - CancelSchemaMigration(context.Context, *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev.CancelSchemaMigrationResponse], error) + BackupShard(context.Context, *connect.Request[dev1.BackupShardRequest]) (*connect.ServerStreamForClient[dev1.BackupResponse], error) + // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[dev1.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) + // ChangeTabletTags changes the tags of the specified tablet, if possible. + ChangeTabletTags(context.Context, *connect.Request[dev1.ChangeTabletTagsRequest]) (*connect.Response[dev1.ChangeTabletTagsResponse], error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[dev.ChangeTabletTypeRequest]) (*connect.Response[dev.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[dev1.ChangeTabletTypeRequest]) (*connect.Response[dev1.ChangeTabletTypeResponse], error) + // CheckThrottler issues a 'check' on a tablet's throttler + CheckThrottler(context.Context, *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. - CleanupSchemaMigration(context.Context, *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev.CleanupSchemaMigrationResponse], error) + CleanupSchemaMigration(context.Context, *connect.Request[dev1.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. - CompleteSchemaMigration(context.Context, *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev.CompleteSchemaMigrationResponse], error) + CompleteSchemaMigration(context.Context, *connect.Request[dev1.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. + ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[dev.CreateKeyspaceRequest]) (*connect.Response[dev.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[dev1.CreateKeyspaceRequest]) (*connect.Response[dev1.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[dev.CreateShardRequest]) (*connect.Response[dev.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[dev1.CreateShardRequest]) (*connect.Response[dev1.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[dev.DeleteCellInfoRequest]) (*connect.Response[dev.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[dev1.DeleteCellInfoRequest]) (*connect.Response[dev1.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[dev.DeleteCellsAliasRequest]) (*connect.Response[dev.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[dev1.DeleteCellsAliasRequest]) (*connect.Response[dev1.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[dev.DeleteKeyspaceRequest]) (*connect.Response[dev.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[dev1.DeleteKeyspaceRequest]) (*connect.Response[dev1.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[dev.DeleteShardsRequest]) (*connect.Response[dev.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[dev1.DeleteShardsRequest]) (*connect.Response[dev1.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[dev.DeleteSrvVSchemaRequest]) (*connect.Response[dev.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[dev1.DeleteSrvVSchemaRequest]) (*connect.Response[dev1.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[dev.DeleteTabletsRequest]) (*connect.Response[dev.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[dev1.DeleteTabletsRequest]) (*connect.Response[dev1.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[dev.EmergencyReparentShardRequest]) (*connect.Response[dev.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[dev1.EmergencyReparentShardRequest]) (*connect.Response[dev1.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[dev.ExecuteFetchAsDBARequest]) (*connect.Response[dev.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[dev1.ExecuteFetchAsDBARequest]) (*connect.Response[dev1.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) + // ExecuteMultiFetchAsDBA executes one or more SQL queries on the remote tablet as the DBA user. + ExecuteMultiFetchAsDBA(context.Context, *connect.Request[dev1.ExecuteMultiFetchAsDBARequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDBAResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[dev.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[dev1.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev1.FindAllShardsInKeyspaceResponse], error) + // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. + ForceCutOverSchemaMigration(context.Context, *connect.Request[dev1.ForceCutOverSchemaMigrationRequest]) (*connect.Response[dev1.ForceCutOverSchemaMigrationResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[dev.GetBackupsRequest]) (*connect.Response[dev.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[dev1.GetBackupsRequest]) (*connect.Response[dev1.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[dev.GetCellInfoRequest]) (*connect.Response[dev.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[dev1.GetCellInfoRequest]) (*connect.Response[dev1.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[dev.GetCellInfoNamesRequest]) (*connect.Response[dev.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[dev1.GetCellInfoNamesRequest]) (*connect.Response[dev1.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[dev.GetCellsAliasesRequest]) (*connect.Response[dev.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[dev1.GetCellsAliasesRequest]) (*connect.Response[dev1.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[dev.GetFullStatusRequest]) (*connect.Response[dev.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[dev1.GetFullStatusRequest]) (*connect.Response[dev1.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[dev.GetKeyspaceRequest]) (*connect.Response[dev.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[dev1.GetKeyspaceRequest]) (*connect.Response[dev1.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[dev.GetKeyspacesRequest]) (*connect.Response[dev.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[dev1.GetKeyspacesRequest]) (*connect.Response[dev1.GetKeyspacesResponse], error) + // GetKeyspaceRoutingRules returns the VSchema keyspace routing rules. + GetKeyspaceRoutingRules(context.Context, *connect.Request[dev1.GetKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.GetKeyspaceRoutingRulesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[dev.GetRoutingRulesRequest]) (*connect.Response[dev.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[dev1.GetRoutingRulesRequest]) (*connect.Response[dev1.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) // GetSchemaMigrations returns one or more online schema migrations for the // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. // // Different fields in the request message result in different filtering // behaviors. See the documentation on GetSchemaMigrationsRequest for details. - GetSchemaMigrations(context.Context, *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) + GetSchemaMigrations(context.Context, *connect.Request[dev1.GetSchemaMigrationsRequest]) (*connect.Response[dev1.GetSchemaMigrationsResponse], error) + // GetShardReplication returns the replication graph for a shard in a cell. + GetShardReplication(context.Context, *connect.Request[dev1.GetShardReplicationRequest]) (*connect.Response[dev1.GetShardReplicationResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[dev.GetShardRequest]) (*connect.Response[dev.GetShardResponse], error) + GetShard(context.Context, *connect.Request[dev1.GetShardRequest]) (*connect.Response[dev1.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[dev.GetShardRoutingRulesRequest]) (*connect.Response[dev.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[dev1.GetShardRoutingRulesRequest]) (*connect.Response[dev1.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[dev.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[dev1.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev1.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[dev.GetSrvKeyspacesRequest]) (*connect.Response[dev.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[dev1.GetSrvKeyspacesRequest]) (*connect.Response[dev1.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[dev.UpdateThrottlerConfigRequest]) (*connect.Response[dev.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[dev1.UpdateThrottlerConfigRequest]) (*connect.Response[dev1.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[dev.GetSrvVSchemaRequest]) (*connect.Response[dev.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[dev1.GetSrvVSchemaRequest]) (*connect.Response[dev1.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[dev.GetSrvVSchemasRequest]) (*connect.Response[dev.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[dev1.GetSrvVSchemasRequest]) (*connect.Response[dev1.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[dev.GetTabletRequest]) (*connect.Response[dev.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[dev1.GetTabletRequest]) (*connect.Response[dev1.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[dev.GetTabletsRequest]) (*connect.Response[dev.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[dev1.GetTabletsRequest]) (*connect.Response[dev1.GetTabletsResponse], error) + // GetThrottlerStatus gets the status of a tablet throttler + GetThrottlerStatus(context.Context, *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[dev.GetTopologyPathRequest]) (*connect.Response[dev.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[dev1.GetTopologyPathRequest]) (*connect.Response[dev1.GetTopologyPathResponse], error) + // GetTransactionInfo reads a given transactions information. + GetTransactionInfo(context.Context, *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) + // GetTransactions returns the unresolved transactions for the request. + GetUnresolvedTransactions(context.Context, *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[dev.GetVersionRequest]) (*connect.Response[dev.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[dev1.GetVersionRequest]) (*connect.Response[dev1.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[dev1.GetVSchemaRequest]) (*connect.Response[dev1.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[dev.GetWorkflowsRequest]) (*connect.Response[dev.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[dev1.GetWorkflowsRequest]) (*connect.Response[dev1.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[dev.InitShardPrimaryRequest]) (*connect.Response[dev.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[dev1.InitShardPrimaryRequest]) (*connect.Response[dev1.InitShardPrimaryResponse], error) // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. - LaunchSchemaMigration(context.Context, *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev.LaunchSchemaMigrationResponse], error) - LookupVindexCreate(context.Context, *connect.Request[dev.LookupVindexCreateRequest]) (*connect.Response[dev.LookupVindexCreateResponse], error) - LookupVindexExternalize(context.Context, *connect.Request[dev.LookupVindexExternalizeRequest]) (*connect.Response[dev.LookupVindexExternalizeResponse], error) + LaunchSchemaMigration(context.Context, *connect.Request[dev1.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) + LookupVindexCreate(context.Context, *connect.Request[dev1.LookupVindexCreateRequest]) (*connect.Response[dev1.LookupVindexCreateResponse], error) + LookupVindexExternalize(context.Context, *connect.Request[dev1.LookupVindexExternalizeRequest]) (*connect.Response[dev1.LookupVindexExternalizeResponse], error) // MaterializeCreate creates a workflow to materialize one or more tables // from a source keyspace to a target keyspace using a provided expressions. - MaterializeCreate(context.Context, *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev.MaterializeCreateResponse], error) + MaterializeCreate(context.Context, *connect.Request[dev1.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) // MigrateCreate creates a workflow which migrates one or more tables from an // external cluster into Vitess. - MigrateCreate(context.Context, *connect.Request[dev.MigrateCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) + MigrateCreate(context.Context, *connect.Request[dev1.MigrateCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // MountRegister registers a new external Vitess cluster. - MountRegister(context.Context, *connect.Request[dev.MountRegisterRequest]) (*connect.Response[dev.MountRegisterResponse], error) + MountRegister(context.Context, *connect.Request[dev1.MountRegisterRequest]) (*connect.Response[dev1.MountRegisterResponse], error) // MountUnregister unregisters an external Vitess cluster. - MountUnregister(context.Context, *connect.Request[dev.MountUnregisterRequest]) (*connect.Response[dev.MountUnregisterResponse], error) + MountUnregister(context.Context, *connect.Request[dev1.MountUnregisterRequest]) (*connect.Response[dev1.MountUnregisterResponse], error) // MountShow returns information about an external Vitess cluster. - MountShow(context.Context, *connect.Request[dev.MountShowRequest]) (*connect.Response[dev.MountShowResponse], error) + MountShow(context.Context, *connect.Request[dev1.MountShowRequest]) (*connect.Response[dev1.MountShowResponse], error) // MountList lists all registered external Vitess clusters. - MountList(context.Context, *connect.Request[dev.MountListRequest]) (*connect.Response[dev.MountListResponse], error) + MountList(context.Context, *connect.Request[dev1.MountListRequest]) (*connect.Response[dev1.MountListResponse], error) // MoveTablesCreate creates a workflow which moves one or more tables from a // source keyspace to a target keyspace. - MoveTablesCreate(context.Context, *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) + MoveTablesCreate(context.Context, *connect.Request[dev1.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // MoveTablesComplete completes the move and cleans up the workflow and // its related artifacts. - MoveTablesComplete(context.Context, *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev.MoveTablesCompleteResponse], error) + MoveTablesComplete(context.Context, *connect.Request[dev1.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[dev1.PingTabletRequest]) (*connect.Response[dev1.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -557,148 +747,151 @@ type VtctldClient interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[dev.PlannedReparentShardRequest]) (*connect.Response[dev.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[dev1.PlannedReparentShardRequest]) (*connect.Response[dev1.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[dev.RebuildKeyspaceGraphRequest]) (*connect.Response[dev.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[dev1.RebuildKeyspaceGraphRequest]) (*connect.Response[dev1.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[dev.RebuildVSchemaGraphRequest]) (*connect.Response[dev.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[dev1.RebuildVSchemaGraphRequest]) (*connect.Response[dev1.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[dev.RefreshStateByShardRequest]) (*connect.Response[dev.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[dev1.RefreshStateByShardRequest]) (*connect.Response[dev1.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[dev.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[dev1.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev1.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[dev.ReloadSchemaShardRequest]) (*connect.Response[dev.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[dev1.ReloadSchemaShardRequest]) (*connect.Response[dev1.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[dev.RemoveBackupRequest]) (*connect.Response[dev.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[dev1.RemoveBackupRequest]) (*connect.Response[dev1.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[dev.RemoveKeyspaceCellRequest]) (*connect.Response[dev.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[dev1.RemoveKeyspaceCellRequest]) (*connect.Response[dev1.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[dev.RemoveShardCellRequest]) (*connect.Response[dev.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[dev1.RemoveShardCellRequest]) (*connect.Response[dev1.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[dev.ReparentTabletRequest]) (*connect.Response[dev.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[dev1.ReparentTabletRequest]) (*connect.Response[dev1.ReparentTabletResponse], error) // ReshardCreate creates a workflow to reshard a keyspace. - ReshardCreate(context.Context, *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) + ReshardCreate(context.Context, *connect.Request[dev1.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[dev.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[dev1.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev1.RestoreFromBackupResponse], error) // RetrySchemaMigration marks a given schema migration for retry. - RetrySchemaMigration(context.Context, *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev.RetrySchemaMigrationResponse], error) + RetrySchemaMigration(context.Context, *connect.Request[dev1.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[dev.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[dev1.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev1.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[dev.SetShardIsPrimaryServingRequest]) (*connect.Response[dev.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[dev1.SetShardIsPrimaryServingRequest]) (*connect.Response[dev1.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[dev.SetShardTabletControlRequest]) (*connect.Response[dev.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[dev1.SetShardTabletControlRequest]) (*connect.Response[dev1.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[dev.SetWritableRequest]) (*connect.Response[dev.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[dev1.SetWritableRequest]) (*connect.Response[dev1.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[dev.ShardReplicationAddRequest]) (*connect.Response[dev.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[dev1.ShardReplicationAddRequest]) (*connect.Response[dev1.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[dev.ShardReplicationFixRequest]) (*connect.Response[dev.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[dev1.ShardReplicationFixRequest]) (*connect.Response[dev1.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[dev.ShardReplicationPositionsRequest]) (*connect.Response[dev.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[dev1.ShardReplicationPositionsRequest]) (*connect.Response[dev1.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[dev.ShardReplicationRemoveRequest]) (*connect.Response[dev.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[dev1.ShardReplicationRemoveRequest]) (*connect.Response[dev1.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[dev.SleepTabletRequest]) (*connect.Response[dev.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[dev1.SleepTabletRequest]) (*connect.Response[dev1.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[dev.SourceShardAddRequest]) (*connect.Response[dev.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[dev1.SourceShardAddRequest]) (*connect.Response[dev1.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[dev.SourceShardDeleteRequest]) (*connect.Response[dev.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[dev1.SourceShardDeleteRequest]) (*connect.Response[dev1.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[dev.TabletExternallyReparentedRequest]) (*connect.Response[dev.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[dev1.TabletExternallyReparentedRequest]) (*connect.Response[dev1.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[dev.UpdateCellInfoRequest]) (*connect.Response[dev.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[dev1.UpdateCellInfoRequest]) (*connect.Response[dev1.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[dev.UpdateCellsAliasRequest]) (*connect.Response[dev.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[dev1.UpdateCellsAliasRequest]) (*connect.Response[dev1.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[dev.ValidateRequest]) (*connect.Response[dev.ValidateResponse], error) + Validate(context.Context, *connect.Request[dev1.ValidateRequest]) (*connect.Response[dev1.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[dev.ValidateKeyspaceRequest]) (*connect.Response[dev.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[dev1.ValidateKeyspaceRequest]) (*connect.Response[dev1.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[dev.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[dev1.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev1.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[dev.ValidateShardRequest]) (*connect.Response[dev.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[dev1.ValidateShardRequest]) (*connect.Response[dev1.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[dev.ValidateVersionKeyspaceRequest]) (*connect.Response[dev.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[dev1.ValidateVersionKeyspaceRequest]) (*connect.Response[dev1.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[dev.ValidateVersionShardRequest]) (*connect.Response[dev.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[dev1.ValidateVersionShardRequest]) (*connect.Response[dev1.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[dev.ValidateVSchemaRequest]) (*connect.Response[dev.ValidateVSchemaResponse], error) - VDiffCreate(context.Context, *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev.VDiffCreateResponse], error) - VDiffDelete(context.Context, *connect.Request[dev.VDiffDeleteRequest]) (*connect.Response[dev.VDiffDeleteResponse], error) - VDiffResume(context.Context, *connect.Request[dev.VDiffResumeRequest]) (*connect.Response[dev.VDiffResumeResponse], error) - VDiffShow(context.Context, *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) - VDiffStop(context.Context, *connect.Request[dev.VDiffStopRequest]) (*connect.Response[dev.VDiffStopResponse], error) + ValidateVSchema(context.Context, *connect.Request[dev1.ValidateVSchemaRequest]) (*connect.Response[dev1.ValidateVSchemaResponse], error) + VDiffCreate(context.Context, *connect.Request[dev1.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) + VDiffDelete(context.Context, *connect.Request[dev1.VDiffDeleteRequest]) (*connect.Response[dev1.VDiffDeleteResponse], error) + VDiffResume(context.Context, *connect.Request[dev1.VDiffResumeRequest]) (*connect.Response[dev1.VDiffResumeResponse], error) + VDiffShow(context.Context, *connect.Request[dev1.VDiffShowRequest]) (*connect.Response[dev1.VDiffShowResponse], error) + VDiffStop(context.Context, *connect.Request[dev1.VDiffStopRequest]) (*connect.Response[dev1.VDiffStopResponse], error) // WorkflowDelete deletes a vreplication workflow. - WorkflowDelete(context.Context, *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev.WorkflowDeleteResponse], error) - WorkflowStatus(context.Context, *connect.Request[dev.WorkflowStatusRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) - WorkflowSwitchTraffic(context.Context, *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev.WorkflowSwitchTrafficResponse], error) + WorkflowDelete(context.Context, *connect.Request[dev1.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) + WorkflowStatus(context.Context, *connect.Request[dev1.WorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) + WorkflowSwitchTraffic(context.Context, *connect.Request[dev1.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. - WorkflowUpdate(context.Context, *connect.Request[dev.WorkflowUpdateRequest]) (*connect.Response[dev.WorkflowUpdateResponse], error) + WorkflowUpdate(context.Context, *connect.Request[dev1.WorkflowUpdateRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) + // GetMirrorRules returns the VSchema routing rules. + GetMirrorRules(context.Context, *connect.Request[dev1.GetMirrorRulesRequest]) (*connect.Response[dev1.GetMirrorRulesResponse], error) + WorkflowMirrorTraffic(context.Context, *connect.Request[dev1.WorkflowMirrorTrafficRequest]) (*connect.Response[dev1.WorkflowMirrorTrafficResponse], error) } // NewVtctldClient constructs a client for the vtctlservice.Vtctld service. By default, @@ -711,1389 +904,1677 @@ type VtctldClient interface { func NewVtctldClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctldClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctldClient{ - addCellInfo: connect.NewClient[dev.AddCellInfoRequest, dev.AddCellInfoResponse]( + addCellInfo: connect.NewClient[dev1.AddCellInfoRequest, dev1.AddCellInfoResponse]( httpClient, baseURL+VtctldAddCellInfoProcedure, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - addCellsAlias: connect.NewClient[dev.AddCellsAliasRequest, dev.AddCellsAliasResponse]( + addCellsAlias: connect.NewClient[dev1.AddCellsAliasRequest, dev1.AddCellsAliasResponse]( httpClient, baseURL+VtctldAddCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyRoutingRules: connect.NewClient[dev.ApplyRoutingRulesRequest, dev.ApplyRoutingRulesResponse]( + applyRoutingRules: connect.NewClient[dev1.ApplyRoutingRulesRequest, dev1.ApplyRoutingRulesResponse]( httpClient, baseURL+VtctldApplyRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[dev.ApplySchemaRequest, dev.ApplySchemaResponse]( + applySchema: connect.NewClient[dev1.ApplySchemaRequest, dev1.ApplySchemaResponse]( httpClient, baseURL+VtctldApplySchemaProcedure, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + applyKeyspaceRoutingRules: connect.NewClient[dev1.ApplyKeyspaceRoutingRulesRequest, dev1.ApplyKeyspaceRoutingRulesResponse]( + httpClient, + baseURL+VtctldApplyKeyspaceRoutingRulesProcedure, + connect.WithSchema(vtctldApplyKeyspaceRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyShardRoutingRules: connect.NewClient[dev.ApplyShardRoutingRulesRequest, dev.ApplyShardRoutingRulesResponse]( + applyShardRoutingRules: connect.NewClient[dev1.ApplyShardRoutingRulesRequest, dev1.ApplyShardRoutingRulesResponse]( httpClient, baseURL+VtctldApplyShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyVSchema: connect.NewClient[dev.ApplyVSchemaRequest, dev.ApplyVSchemaResponse]( + applyVSchema: connect.NewClient[dev1.ApplyVSchemaRequest, dev1.ApplyVSchemaResponse]( httpClient, baseURL+VtctldApplyVSchemaProcedure, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[dev.BackupRequest, dev.BackupResponse]( + backup: connect.NewClient[dev1.BackupRequest, dev1.BackupResponse]( httpClient, baseURL+VtctldBackupProcedure, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - backupShard: connect.NewClient[dev.BackupShardRequest, dev.BackupResponse]( + backupShard: connect.NewClient[dev1.BackupShardRequest, dev1.BackupResponse]( httpClient, baseURL+VtctldBackupShardProcedure, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - cancelSchemaMigration: connect.NewClient[dev.CancelSchemaMigrationRequest, dev.CancelSchemaMigrationResponse]( + cancelSchemaMigration: connect.NewClient[dev1.CancelSchemaMigrationRequest, dev1.CancelSchemaMigrationResponse]( httpClient, baseURL+VtctldCancelSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldCancelSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeTabletType: connect.NewClient[dev.ChangeTabletTypeRequest, dev.ChangeTabletTypeResponse]( + changeTabletTags: connect.NewClient[dev1.ChangeTabletTagsRequest, dev1.ChangeTabletTagsResponse]( + httpClient, + baseURL+VtctldChangeTabletTagsProcedure, + connect.WithSchema(vtctldChangeTabletTagsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + changeTabletType: connect.NewClient[dev1.ChangeTabletTypeRequest, dev1.ChangeTabletTypeResponse]( httpClient, baseURL+VtctldChangeTabletTypeProcedure, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithClientOptions(opts...), + ), + checkThrottler: connect.NewClient[dev1.CheckThrottlerRequest, dev1.CheckThrottlerResponse]( + httpClient, + baseURL+VtctldCheckThrottlerProcedure, + connect.WithSchema(vtctldCheckThrottlerMethodDescriptor), + connect.WithClientOptions(opts...), ), - cleanupSchemaMigration: connect.NewClient[dev.CleanupSchemaMigrationRequest, dev.CleanupSchemaMigrationResponse]( + cleanupSchemaMigration: connect.NewClient[dev1.CleanupSchemaMigrationRequest, dev1.CleanupSchemaMigrationResponse]( httpClient, baseURL+VtctldCleanupSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldCleanupSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - completeSchemaMigration: connect.NewClient[dev.CompleteSchemaMigrationRequest, dev.CompleteSchemaMigrationResponse]( + completeSchemaMigration: connect.NewClient[dev1.CompleteSchemaMigrationRequest, dev1.CompleteSchemaMigrationResponse]( httpClient, baseURL+VtctldCompleteSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldCompleteSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + concludeTransaction: connect.NewClient[dev1.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse]( + httpClient, + baseURL+VtctldConcludeTransactionProcedure, + connect.WithSchema(vtctldConcludeTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - createKeyspace: connect.NewClient[dev.CreateKeyspaceRequest, dev.CreateKeyspaceResponse]( + createKeyspace: connect.NewClient[dev1.CreateKeyspaceRequest, dev1.CreateKeyspaceResponse]( httpClient, baseURL+VtctldCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - createShard: connect.NewClient[dev.CreateShardRequest, dev.CreateShardResponse]( + createShard: connect.NewClient[dev1.CreateShardRequest, dev1.CreateShardResponse]( httpClient, baseURL+VtctldCreateShardProcedure, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellInfo: connect.NewClient[dev.DeleteCellInfoRequest, dev.DeleteCellInfoResponse]( + deleteCellInfo: connect.NewClient[dev1.DeleteCellInfoRequest, dev1.DeleteCellInfoResponse]( httpClient, baseURL+VtctldDeleteCellInfoProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellsAlias: connect.NewClient[dev.DeleteCellsAliasRequest, dev.DeleteCellsAliasResponse]( + deleteCellsAlias: connect.NewClient[dev1.DeleteCellsAliasRequest, dev1.DeleteCellsAliasResponse]( httpClient, baseURL+VtctldDeleteCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteKeyspace: connect.NewClient[dev.DeleteKeyspaceRequest, dev.DeleteKeyspaceResponse]( + deleteKeyspace: connect.NewClient[dev1.DeleteKeyspaceRequest, dev1.DeleteKeyspaceResponse]( httpClient, baseURL+VtctldDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteShards: connect.NewClient[dev.DeleteShardsRequest, dev.DeleteShardsResponse]( + deleteShards: connect.NewClient[dev1.DeleteShardsRequest, dev1.DeleteShardsResponse]( httpClient, baseURL+VtctldDeleteShardsProcedure, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteSrvVSchema: connect.NewClient[dev.DeleteSrvVSchemaRequest, dev.DeleteSrvVSchemaResponse]( + deleteSrvVSchema: connect.NewClient[dev1.DeleteSrvVSchemaRequest, dev1.DeleteSrvVSchemaResponse]( httpClient, baseURL+VtctldDeleteSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteTablets: connect.NewClient[dev.DeleteTabletsRequest, dev.DeleteTabletsResponse]( + deleteTablets: connect.NewClient[dev1.DeleteTabletsRequest, dev1.DeleteTabletsResponse]( httpClient, baseURL+VtctldDeleteTabletsProcedure, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), - emergencyReparentShard: connect.NewClient[dev.EmergencyReparentShardRequest, dev.EmergencyReparentShardResponse]( + emergencyReparentShard: connect.NewClient[dev1.EmergencyReparentShardRequest, dev1.EmergencyReparentShardResponse]( httpClient, baseURL+VtctldEmergencyReparentShardProcedure, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[dev.ExecuteFetchAsAppRequest, dev.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[dev1.ExecuteFetchAsAppRequest, dev1.ExecuteFetchAsAppResponse]( httpClient, baseURL+VtctldExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDBA: connect.NewClient[dev.ExecuteFetchAsDBARequest, dev.ExecuteFetchAsDBAResponse]( + executeFetchAsDBA: connect.NewClient[dev1.ExecuteFetchAsDBARequest, dev1.ExecuteFetchAsDBAResponse]( httpClient, baseURL+VtctldExecuteFetchAsDBAProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[dev.ExecuteHookRequest, dev.ExecuteHookResponse]( + executeHook: connect.NewClient[dev1.ExecuteHookRequest, dev1.ExecuteHookResponse]( httpClient, baseURL+VtctldExecuteHookProcedure, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - findAllShardsInKeyspace: connect.NewClient[dev.FindAllShardsInKeyspaceRequest, dev.FindAllShardsInKeyspaceResponse]( + executeMultiFetchAsDBA: connect.NewClient[dev1.ExecuteMultiFetchAsDBARequest, dev1.ExecuteMultiFetchAsDBAResponse]( + httpClient, + baseURL+VtctldExecuteMultiFetchAsDBAProcedure, + connect.WithSchema(vtctldExecuteMultiFetchAsDBAMethodDescriptor), + connect.WithClientOptions(opts...), + ), + findAllShardsInKeyspace: connect.NewClient[dev1.FindAllShardsInKeyspaceRequest, dev1.FindAllShardsInKeyspaceResponse]( httpClient, baseURL+VtctldFindAllShardsInKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + forceCutOverSchemaMigration: connect.NewClient[dev1.ForceCutOverSchemaMigrationRequest, dev1.ForceCutOverSchemaMigrationResponse]( + httpClient, + baseURL+VtctldForceCutOverSchemaMigrationProcedure, + connect.WithSchema(vtctldForceCutOverSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - getBackups: connect.NewClient[dev.GetBackupsRequest, dev.GetBackupsResponse]( + getBackups: connect.NewClient[dev1.GetBackupsRequest, dev1.GetBackupsResponse]( httpClient, baseURL+VtctldGetBackupsProcedure, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfo: connect.NewClient[dev.GetCellInfoRequest, dev.GetCellInfoResponse]( + getCellInfo: connect.NewClient[dev1.GetCellInfoRequest, dev1.GetCellInfoResponse]( httpClient, baseURL+VtctldGetCellInfoProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfoNames: connect.NewClient[dev.GetCellInfoNamesRequest, dev.GetCellInfoNamesResponse]( + getCellInfoNames: connect.NewClient[dev1.GetCellInfoNamesRequest, dev1.GetCellInfoNamesResponse]( httpClient, baseURL+VtctldGetCellInfoNamesProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellsAliases: connect.NewClient[dev.GetCellsAliasesRequest, dev.GetCellsAliasesResponse]( + getCellsAliases: connect.NewClient[dev1.GetCellsAliasesRequest, dev1.GetCellsAliasesResponse]( httpClient, baseURL+VtctldGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getFullStatus: connect.NewClient[dev.GetFullStatusRequest, dev.GetFullStatusResponse]( + getFullStatus: connect.NewClient[dev1.GetFullStatusRequest, dev1.GetFullStatusResponse]( httpClient, baseURL+VtctldGetFullStatusProcedure, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspace: connect.NewClient[dev.GetKeyspaceRequest, dev.GetKeyspaceResponse]( + getKeyspace: connect.NewClient[dev1.GetKeyspaceRequest, dev1.GetKeyspaceResponse]( httpClient, baseURL+VtctldGetKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspaces: connect.NewClient[dev.GetKeyspacesRequest, dev.GetKeyspacesResponse]( + getKeyspaces: connect.NewClient[dev1.GetKeyspacesRequest, dev1.GetKeyspacesResponse]( httpClient, baseURL+VtctldGetKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getKeyspaceRoutingRules: connect.NewClient[dev1.GetKeyspaceRoutingRulesRequest, dev1.GetKeyspaceRoutingRulesResponse]( + httpClient, + baseURL+VtctldGetKeyspaceRoutingRulesProcedure, + connect.WithSchema(vtctldGetKeyspaceRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[dev.GetPermissionsRequest, dev.GetPermissionsResponse]( + getPermissions: connect.NewClient[dev1.GetPermissionsRequest, dev1.GetPermissionsResponse]( httpClient, baseURL+VtctldGetPermissionsProcedure, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getRoutingRules: connect.NewClient[dev.GetRoutingRulesRequest, dev.GetRoutingRulesResponse]( + getRoutingRules: connect.NewClient[dev1.GetRoutingRulesRequest, dev1.GetRoutingRulesResponse]( httpClient, baseURL+VtctldGetRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[dev.GetSchemaRequest, dev.GetSchemaResponse]( + getSchema: connect.NewClient[dev1.GetSchemaRequest, dev1.GetSchemaResponse]( httpClient, baseURL+VtctldGetSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchemaMigrations: connect.NewClient[dev.GetSchemaMigrationsRequest, dev.GetSchemaMigrationsResponse]( + getSchemaMigrations: connect.NewClient[dev1.GetSchemaMigrationsRequest, dev1.GetSchemaMigrationsResponse]( httpClient, baseURL+VtctldGetSchemaMigrationsProcedure, - opts..., + connect.WithSchema(vtctldGetSchemaMigrationsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShard: connect.NewClient[dev.GetShardRequest, dev.GetShardResponse]( + getShardReplication: connect.NewClient[dev1.GetShardReplicationRequest, dev1.GetShardReplicationResponse]( + httpClient, + baseURL+VtctldGetShardReplicationProcedure, + connect.WithSchema(vtctldGetShardReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getShard: connect.NewClient[dev1.GetShardRequest, dev1.GetShardResponse]( httpClient, baseURL+VtctldGetShardProcedure, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShardRoutingRules: connect.NewClient[dev.GetShardRoutingRulesRequest, dev.GetShardRoutingRulesResponse]( + getShardRoutingRules: connect.NewClient[dev1.GetShardRoutingRulesRequest, dev1.GetShardRoutingRulesResponse]( httpClient, baseURL+VtctldGetShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaceNames: connect.NewClient[dev.GetSrvKeyspaceNamesRequest, dev.GetSrvKeyspaceNamesResponse]( + getSrvKeyspaceNames: connect.NewClient[dev1.GetSrvKeyspaceNamesRequest, dev1.GetSrvKeyspaceNamesResponse]( httpClient, baseURL+VtctldGetSrvKeyspaceNamesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaces: connect.NewClient[dev.GetSrvKeyspacesRequest, dev.GetSrvKeyspacesResponse]( + getSrvKeyspaces: connect.NewClient[dev1.GetSrvKeyspacesRequest, dev1.GetSrvKeyspacesResponse]( httpClient, baseURL+VtctldGetSrvKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateThrottlerConfig: connect.NewClient[dev.UpdateThrottlerConfigRequest, dev.UpdateThrottlerConfigResponse]( + updateThrottlerConfig: connect.NewClient[dev1.UpdateThrottlerConfigRequest, dev1.UpdateThrottlerConfigResponse]( httpClient, baseURL+VtctldUpdateThrottlerConfigProcedure, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchema: connect.NewClient[dev.GetSrvVSchemaRequest, dev.GetSrvVSchemaResponse]( + getSrvVSchema: connect.NewClient[dev1.GetSrvVSchemaRequest, dev1.GetSrvVSchemaResponse]( httpClient, baseURL+VtctldGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchemas: connect.NewClient[dev.GetSrvVSchemasRequest, dev.GetSrvVSchemasResponse]( + getSrvVSchemas: connect.NewClient[dev1.GetSrvVSchemasRequest, dev1.GetSrvVSchemasResponse]( httpClient, baseURL+VtctldGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablet: connect.NewClient[dev.GetTabletRequest, dev.GetTabletResponse]( + getTablet: connect.NewClient[dev1.GetTabletRequest, dev1.GetTabletResponse]( httpClient, baseURL+VtctldGetTabletProcedure, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablets: connect.NewClient[dev.GetTabletsRequest, dev.GetTabletsResponse]( + getTablets: connect.NewClient[dev1.GetTabletsRequest, dev1.GetTabletsResponse]( httpClient, baseURL+VtctldGetTabletsProcedure, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getThrottlerStatus: connect.NewClient[dev1.GetThrottlerStatusRequest, dev1.GetThrottlerStatusResponse]( + httpClient, + baseURL+VtctldGetThrottlerStatusProcedure, + connect.WithSchema(vtctldGetThrottlerStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTopologyPath: connect.NewClient[dev.GetTopologyPathRequest, dev.GetTopologyPathResponse]( + getTopologyPath: connect.NewClient[dev1.GetTopologyPathRequest, dev1.GetTopologyPathResponse]( httpClient, baseURL+VtctldGetTopologyPathProcedure, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTransactionInfo: connect.NewClient[dev1.GetTransactionInfoRequest, dev1.GetTransactionInfoResponse]( + httpClient, + baseURL+VtctldGetTransactionInfoProcedure, + connect.WithSchema(vtctldGetTransactionInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVersion: connect.NewClient[dev.GetVersionRequest, dev.GetVersionResponse]( + getUnresolvedTransactions: connect.NewClient[dev1.GetUnresolvedTransactionsRequest, dev1.GetUnresolvedTransactionsResponse]( + httpClient, + baseURL+VtctldGetUnresolvedTransactionsProcedure, + connect.WithSchema(vtctldGetUnresolvedTransactionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getVersion: connect.NewClient[dev1.GetVersionRequest, dev1.GetVersionResponse]( httpClient, baseURL+VtctldGetVersionProcedure, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVSchema: connect.NewClient[dev.GetVSchemaRequest, dev.GetVSchemaResponse]( + getVSchema: connect.NewClient[dev1.GetVSchemaRequest, dev1.GetVSchemaResponse]( httpClient, baseURL+VtctldGetVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getWorkflows: connect.NewClient[dev.GetWorkflowsRequest, dev.GetWorkflowsResponse]( + getWorkflows: connect.NewClient[dev1.GetWorkflowsRequest, dev1.GetWorkflowsResponse]( httpClient, baseURL+VtctldGetWorkflowsProcedure, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - initShardPrimary: connect.NewClient[dev.InitShardPrimaryRequest, dev.InitShardPrimaryResponse]( + initShardPrimary: connect.NewClient[dev1.InitShardPrimaryRequest, dev1.InitShardPrimaryResponse]( httpClient, baseURL+VtctldInitShardPrimaryProcedure, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - launchSchemaMigration: connect.NewClient[dev.LaunchSchemaMigrationRequest, dev.LaunchSchemaMigrationResponse]( + launchSchemaMigration: connect.NewClient[dev1.LaunchSchemaMigrationRequest, dev1.LaunchSchemaMigrationResponse]( httpClient, baseURL+VtctldLaunchSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldLaunchSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - lookupVindexCreate: connect.NewClient[dev.LookupVindexCreateRequest, dev.LookupVindexCreateResponse]( + lookupVindexCreate: connect.NewClient[dev1.LookupVindexCreateRequest, dev1.LookupVindexCreateResponse]( httpClient, baseURL+VtctldLookupVindexCreateProcedure, - opts..., + connect.WithSchema(vtctldLookupVindexCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - lookupVindexExternalize: connect.NewClient[dev.LookupVindexExternalizeRequest, dev.LookupVindexExternalizeResponse]( + lookupVindexExternalize: connect.NewClient[dev1.LookupVindexExternalizeRequest, dev1.LookupVindexExternalizeResponse]( httpClient, baseURL+VtctldLookupVindexExternalizeProcedure, - opts..., + connect.WithSchema(vtctldLookupVindexExternalizeMethodDescriptor), + connect.WithClientOptions(opts...), ), - materializeCreate: connect.NewClient[dev.MaterializeCreateRequest, dev.MaterializeCreateResponse]( + materializeCreate: connect.NewClient[dev1.MaterializeCreateRequest, dev1.MaterializeCreateResponse]( httpClient, baseURL+VtctldMaterializeCreateProcedure, - opts..., + connect.WithSchema(vtctldMaterializeCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - migrateCreate: connect.NewClient[dev.MigrateCreateRequest, dev.WorkflowStatusResponse]( + migrateCreate: connect.NewClient[dev1.MigrateCreateRequest, dev1.WorkflowStatusResponse]( httpClient, baseURL+VtctldMigrateCreateProcedure, - opts..., + connect.WithSchema(vtctldMigrateCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountRegister: connect.NewClient[dev.MountRegisterRequest, dev.MountRegisterResponse]( + mountRegister: connect.NewClient[dev1.MountRegisterRequest, dev1.MountRegisterResponse]( httpClient, baseURL+VtctldMountRegisterProcedure, - opts..., + connect.WithSchema(vtctldMountRegisterMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountUnregister: connect.NewClient[dev.MountUnregisterRequest, dev.MountUnregisterResponse]( + mountUnregister: connect.NewClient[dev1.MountUnregisterRequest, dev1.MountUnregisterResponse]( httpClient, baseURL+VtctldMountUnregisterProcedure, - opts..., + connect.WithSchema(vtctldMountUnregisterMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountShow: connect.NewClient[dev.MountShowRequest, dev.MountShowResponse]( + mountShow: connect.NewClient[dev1.MountShowRequest, dev1.MountShowResponse]( httpClient, baseURL+VtctldMountShowProcedure, - opts..., + connect.WithSchema(vtctldMountShowMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountList: connect.NewClient[dev.MountListRequest, dev.MountListResponse]( + mountList: connect.NewClient[dev1.MountListRequest, dev1.MountListResponse]( httpClient, baseURL+VtctldMountListProcedure, - opts..., + connect.WithSchema(vtctldMountListMethodDescriptor), + connect.WithClientOptions(opts...), ), - moveTablesCreate: connect.NewClient[dev.MoveTablesCreateRequest, dev.WorkflowStatusResponse]( + moveTablesCreate: connect.NewClient[dev1.MoveTablesCreateRequest, dev1.WorkflowStatusResponse]( httpClient, baseURL+VtctldMoveTablesCreateProcedure, - opts..., + connect.WithSchema(vtctldMoveTablesCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - moveTablesComplete: connect.NewClient[dev.MoveTablesCompleteRequest, dev.MoveTablesCompleteResponse]( + moveTablesComplete: connect.NewClient[dev1.MoveTablesCompleteRequest, dev1.MoveTablesCompleteResponse]( httpClient, baseURL+VtctldMoveTablesCompleteProcedure, - opts..., + connect.WithSchema(vtctldMoveTablesCompleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - pingTablet: connect.NewClient[dev.PingTabletRequest, dev.PingTabletResponse]( + pingTablet: connect.NewClient[dev1.PingTabletRequest, dev1.PingTabletResponse]( httpClient, baseURL+VtctldPingTabletProcedure, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - plannedReparentShard: connect.NewClient[dev.PlannedReparentShardRequest, dev.PlannedReparentShardResponse]( + plannedReparentShard: connect.NewClient[dev1.PlannedReparentShardRequest, dev1.PlannedReparentShardResponse]( httpClient, baseURL+VtctldPlannedReparentShardProcedure, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildKeyspaceGraph: connect.NewClient[dev.RebuildKeyspaceGraphRequest, dev.RebuildKeyspaceGraphResponse]( + rebuildKeyspaceGraph: connect.NewClient[dev1.RebuildKeyspaceGraphRequest, dev1.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VtctldRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildVSchemaGraph: connect.NewClient[dev.RebuildVSchemaGraphRequest, dev.RebuildVSchemaGraphResponse]( + rebuildVSchemaGraph: connect.NewClient[dev1.RebuildVSchemaGraphRequest, dev1.RebuildVSchemaGraphResponse]( httpClient, baseURL+VtctldRebuildVSchemaGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[dev.RefreshStateRequest, dev.RefreshStateResponse]( + refreshState: connect.NewClient[dev1.RefreshStateRequest, dev1.RefreshStateResponse]( httpClient, baseURL+VtctldRefreshStateProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshStateByShard: connect.NewClient[dev.RefreshStateByShardRequest, dev.RefreshStateByShardResponse]( + refreshStateByShard: connect.NewClient[dev1.RefreshStateByShardRequest, dev1.RefreshStateByShardResponse]( httpClient, baseURL+VtctldRefreshStateByShardProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[dev.ReloadSchemaRequest, dev.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[dev1.ReloadSchemaRequest, dev1.ReloadSchemaResponse]( httpClient, baseURL+VtctldReloadSchemaProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaKeyspace: connect.NewClient[dev.ReloadSchemaKeyspaceRequest, dev.ReloadSchemaKeyspaceResponse]( + reloadSchemaKeyspace: connect.NewClient[dev1.ReloadSchemaKeyspaceRequest, dev1.ReloadSchemaKeyspaceResponse]( httpClient, baseURL+VtctldReloadSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaShard: connect.NewClient[dev.ReloadSchemaShardRequest, dev.ReloadSchemaShardResponse]( + reloadSchemaShard: connect.NewClient[dev1.ReloadSchemaShardRequest, dev1.ReloadSchemaShardResponse]( httpClient, baseURL+VtctldReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeBackup: connect.NewClient[dev.RemoveBackupRequest, dev.RemoveBackupResponse]( + removeBackup: connect.NewClient[dev1.RemoveBackupRequest, dev1.RemoveBackupResponse]( httpClient, baseURL+VtctldRemoveBackupProcedure, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeKeyspaceCell: connect.NewClient[dev.RemoveKeyspaceCellRequest, dev.RemoveKeyspaceCellResponse]( + removeKeyspaceCell: connect.NewClient[dev1.RemoveKeyspaceCellRequest, dev1.RemoveKeyspaceCellResponse]( httpClient, baseURL+VtctldRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeShardCell: connect.NewClient[dev.RemoveShardCellRequest, dev.RemoveShardCellResponse]( + removeShardCell: connect.NewClient[dev1.RemoveShardCellRequest, dev1.RemoveShardCellResponse]( httpClient, baseURL+VtctldRemoveShardCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - reparentTablet: connect.NewClient[dev.ReparentTabletRequest, dev.ReparentTabletResponse]( + reparentTablet: connect.NewClient[dev1.ReparentTabletRequest, dev1.ReparentTabletResponse]( httpClient, baseURL+VtctldReparentTabletProcedure, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - reshardCreate: connect.NewClient[dev.ReshardCreateRequest, dev.WorkflowStatusResponse]( + reshardCreate: connect.NewClient[dev1.ReshardCreateRequest, dev1.WorkflowStatusResponse]( httpClient, baseURL+VtctldReshardCreateProcedure, - opts..., + connect.WithSchema(vtctldReshardCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[dev.RestoreFromBackupRequest, dev.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[dev1.RestoreFromBackupRequest, dev1.RestoreFromBackupResponse]( httpClient, baseURL+VtctldRestoreFromBackupProcedure, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - retrySchemaMigration: connect.NewClient[dev.RetrySchemaMigrationRequest, dev.RetrySchemaMigrationResponse]( + retrySchemaMigration: connect.NewClient[dev1.RetrySchemaMigrationRequest, dev1.RetrySchemaMigrationResponse]( httpClient, baseURL+VtctldRetrySchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldRetrySchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[dev.RunHealthCheckRequest, dev.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[dev1.RunHealthCheckRequest, dev1.RunHealthCheckResponse]( httpClient, baseURL+VtctldRunHealthCheckProcedure, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - setKeyspaceDurabilityPolicy: connect.NewClient[dev.SetKeyspaceDurabilityPolicyRequest, dev.SetKeyspaceDurabilityPolicyResponse]( + setKeyspaceDurabilityPolicy: connect.NewClient[dev1.SetKeyspaceDurabilityPolicyRequest, dev1.SetKeyspaceDurabilityPolicyResponse]( httpClient, baseURL+VtctldSetKeyspaceDurabilityPolicyProcedure, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardIsPrimaryServing: connect.NewClient[dev.SetShardIsPrimaryServingRequest, dev.SetShardIsPrimaryServingResponse]( + setShardIsPrimaryServing: connect.NewClient[dev1.SetShardIsPrimaryServingRequest, dev1.SetShardIsPrimaryServingResponse]( httpClient, baseURL+VtctldSetShardIsPrimaryServingProcedure, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardTabletControl: connect.NewClient[dev.SetShardTabletControlRequest, dev.SetShardTabletControlResponse]( + setShardTabletControl: connect.NewClient[dev1.SetShardTabletControlRequest, dev1.SetShardTabletControlResponse]( httpClient, baseURL+VtctldSetShardTabletControlProcedure, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithClientOptions(opts...), ), - setWritable: connect.NewClient[dev.SetWritableRequest, dev.SetWritableResponse]( + setWritable: connect.NewClient[dev1.SetWritableRequest, dev1.SetWritableResponse]( httpClient, baseURL+VtctldSetWritableProcedure, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationAdd: connect.NewClient[dev.ShardReplicationAddRequest, dev.ShardReplicationAddResponse]( + shardReplicationAdd: connect.NewClient[dev1.ShardReplicationAddRequest, dev1.ShardReplicationAddResponse]( httpClient, baseURL+VtctldShardReplicationAddProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationFix: connect.NewClient[dev.ShardReplicationFixRequest, dev.ShardReplicationFixResponse]( + shardReplicationFix: connect.NewClient[dev1.ShardReplicationFixRequest, dev1.ShardReplicationFixResponse]( httpClient, baseURL+VtctldShardReplicationFixProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationPositions: connect.NewClient[dev.ShardReplicationPositionsRequest, dev.ShardReplicationPositionsResponse]( + shardReplicationPositions: connect.NewClient[dev1.ShardReplicationPositionsRequest, dev1.ShardReplicationPositionsResponse]( httpClient, baseURL+VtctldShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationRemove: connect.NewClient[dev.ShardReplicationRemoveRequest, dev.ShardReplicationRemoveResponse]( + shardReplicationRemove: connect.NewClient[dev1.ShardReplicationRemoveRequest, dev1.ShardReplicationRemoveResponse]( httpClient, baseURL+VtctldShardReplicationRemoveProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleepTablet: connect.NewClient[dev.SleepTabletRequest, dev.SleepTabletResponse]( + sleepTablet: connect.NewClient[dev1.SleepTabletRequest, dev1.SleepTabletResponse]( httpClient, baseURL+VtctldSleepTabletProcedure, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardAdd: connect.NewClient[dev.SourceShardAddRequest, dev.SourceShardAddResponse]( + sourceShardAdd: connect.NewClient[dev1.SourceShardAddRequest, dev1.SourceShardAddResponse]( httpClient, baseURL+VtctldSourceShardAddProcedure, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardDelete: connect.NewClient[dev.SourceShardDeleteRequest, dev.SourceShardDeleteResponse]( + sourceShardDelete: connect.NewClient[dev1.SourceShardDeleteRequest, dev1.SourceShardDeleteResponse]( httpClient, baseURL+VtctldSourceShardDeleteProcedure, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[dev.StartReplicationRequest, dev.StartReplicationResponse]( + startReplication: connect.NewClient[dev1.StartReplicationRequest, dev1.StartReplicationResponse]( httpClient, baseURL+VtctldStartReplicationProcedure, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[dev.StopReplicationRequest, dev.StopReplicationResponse]( + stopReplication: connect.NewClient[dev1.StopReplicationRequest, dev1.StopReplicationResponse]( httpClient, baseURL+VtctldStopReplicationProcedure, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - tabletExternallyReparented: connect.NewClient[dev.TabletExternallyReparentedRequest, dev.TabletExternallyReparentedResponse]( + tabletExternallyReparented: connect.NewClient[dev1.TabletExternallyReparentedRequest, dev1.TabletExternallyReparentedResponse]( httpClient, baseURL+VtctldTabletExternallyReparentedProcedure, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellInfo: connect.NewClient[dev.UpdateCellInfoRequest, dev.UpdateCellInfoResponse]( + updateCellInfo: connect.NewClient[dev1.UpdateCellInfoRequest, dev1.UpdateCellInfoResponse]( httpClient, baseURL+VtctldUpdateCellInfoProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellsAlias: connect.NewClient[dev.UpdateCellsAliasRequest, dev.UpdateCellsAliasResponse]( + updateCellsAlias: connect.NewClient[dev1.UpdateCellsAliasRequest, dev1.UpdateCellsAliasResponse]( httpClient, baseURL+VtctldUpdateCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - validate: connect.NewClient[dev.ValidateRequest, dev.ValidateResponse]( + validate: connect.NewClient[dev1.ValidateRequest, dev1.ValidateResponse]( httpClient, baseURL+VtctldValidateProcedure, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateKeyspace: connect.NewClient[dev.ValidateKeyspaceRequest, dev.ValidateKeyspaceResponse]( + validateKeyspace: connect.NewClient[dev1.ValidateKeyspaceRequest, dev1.ValidateKeyspaceResponse]( httpClient, baseURL+VtctldValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateSchemaKeyspace: connect.NewClient[dev.ValidateSchemaKeyspaceRequest, dev.ValidateSchemaKeyspaceResponse]( + validateSchemaKeyspace: connect.NewClient[dev1.ValidateSchemaKeyspaceRequest, dev1.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VtctldValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateShard: connect.NewClient[dev.ValidateShardRequest, dev.ValidateShardResponse]( + validateShard: connect.NewClient[dev1.ValidateShardRequest, dev1.ValidateShardResponse]( httpClient, baseURL+VtctldValidateShardProcedure, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionKeyspace: connect.NewClient[dev.ValidateVersionKeyspaceRequest, dev.ValidateVersionKeyspaceResponse]( + validateVersionKeyspace: connect.NewClient[dev1.ValidateVersionKeyspaceRequest, dev1.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VtctldValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionShard: connect.NewClient[dev.ValidateVersionShardRequest, dev.ValidateVersionShardResponse]( + validateVersionShard: connect.NewClient[dev1.ValidateVersionShardRequest, dev1.ValidateVersionShardResponse]( httpClient, baseURL+VtctldValidateVersionShardProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVSchema: connect.NewClient[dev.ValidateVSchemaRequest, dev.ValidateVSchemaResponse]( + validateVSchema: connect.NewClient[dev1.ValidateVSchemaRequest, dev1.ValidateVSchemaResponse]( httpClient, baseURL+VtctldValidateVSchemaProcedure, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffCreate: connect.NewClient[dev.VDiffCreateRequest, dev.VDiffCreateResponse]( + vDiffCreate: connect.NewClient[dev1.VDiffCreateRequest, dev1.VDiffCreateResponse]( httpClient, baseURL+VtctldVDiffCreateProcedure, - opts..., + connect.WithSchema(vtctldVDiffCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffDelete: connect.NewClient[dev.VDiffDeleteRequest, dev.VDiffDeleteResponse]( + vDiffDelete: connect.NewClient[dev1.VDiffDeleteRequest, dev1.VDiffDeleteResponse]( httpClient, baseURL+VtctldVDiffDeleteProcedure, - opts..., + connect.WithSchema(vtctldVDiffDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffResume: connect.NewClient[dev.VDiffResumeRequest, dev.VDiffResumeResponse]( + vDiffResume: connect.NewClient[dev1.VDiffResumeRequest, dev1.VDiffResumeResponse]( httpClient, baseURL+VtctldVDiffResumeProcedure, - opts..., + connect.WithSchema(vtctldVDiffResumeMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffShow: connect.NewClient[dev.VDiffShowRequest, dev.VDiffShowResponse]( + vDiffShow: connect.NewClient[dev1.VDiffShowRequest, dev1.VDiffShowResponse]( httpClient, baseURL+VtctldVDiffShowProcedure, - opts..., + connect.WithSchema(vtctldVDiffShowMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffStop: connect.NewClient[dev.VDiffStopRequest, dev.VDiffStopResponse]( + vDiffStop: connect.NewClient[dev1.VDiffStopRequest, dev1.VDiffStopResponse]( httpClient, baseURL+VtctldVDiffStopProcedure, - opts..., + connect.WithSchema(vtctldVDiffStopMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowDelete: connect.NewClient[dev.WorkflowDeleteRequest, dev.WorkflowDeleteResponse]( + workflowDelete: connect.NewClient[dev1.WorkflowDeleteRequest, dev1.WorkflowDeleteResponse]( httpClient, baseURL+VtctldWorkflowDeleteProcedure, - opts..., + connect.WithSchema(vtctldWorkflowDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowStatus: connect.NewClient[dev.WorkflowStatusRequest, dev.WorkflowStatusResponse]( + workflowStatus: connect.NewClient[dev1.WorkflowStatusRequest, dev1.WorkflowStatusResponse]( httpClient, baseURL+VtctldWorkflowStatusProcedure, - opts..., + connect.WithSchema(vtctldWorkflowStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowSwitchTraffic: connect.NewClient[dev.WorkflowSwitchTrafficRequest, dev.WorkflowSwitchTrafficResponse]( + workflowSwitchTraffic: connect.NewClient[dev1.WorkflowSwitchTrafficRequest, dev1.WorkflowSwitchTrafficResponse]( httpClient, baseURL+VtctldWorkflowSwitchTrafficProcedure, - opts..., + connect.WithSchema(vtctldWorkflowSwitchTrafficMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowUpdate: connect.NewClient[dev.WorkflowUpdateRequest, dev.WorkflowUpdateResponse]( + workflowUpdate: connect.NewClient[dev1.WorkflowUpdateRequest, dev1.WorkflowUpdateResponse]( httpClient, baseURL+VtctldWorkflowUpdateProcedure, - opts..., + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getMirrorRules: connect.NewClient[dev1.GetMirrorRulesRequest, dev1.GetMirrorRulesResponse]( + httpClient, + baseURL+VtctldGetMirrorRulesProcedure, + connect.WithSchema(vtctldGetMirrorRulesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + workflowMirrorTraffic: connect.NewClient[dev1.WorkflowMirrorTrafficRequest, dev1.WorkflowMirrorTrafficResponse]( + httpClient, + baseURL+VtctldWorkflowMirrorTrafficProcedure, + connect.WithSchema(vtctldWorkflowMirrorTrafficMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctldClient implements VtctldClient. type vtctldClient struct { - addCellInfo *connect.Client[dev.AddCellInfoRequest, dev.AddCellInfoResponse] - addCellsAlias *connect.Client[dev.AddCellsAliasRequest, dev.AddCellsAliasResponse] - applyRoutingRules *connect.Client[dev.ApplyRoutingRulesRequest, dev.ApplyRoutingRulesResponse] - applySchema *connect.Client[dev.ApplySchemaRequest, dev.ApplySchemaResponse] - applyShardRoutingRules *connect.Client[dev.ApplyShardRoutingRulesRequest, dev.ApplyShardRoutingRulesResponse] - applyVSchema *connect.Client[dev.ApplyVSchemaRequest, dev.ApplyVSchemaResponse] - backup *connect.Client[dev.BackupRequest, dev.BackupResponse] - backupShard *connect.Client[dev.BackupShardRequest, dev.BackupResponse] - cancelSchemaMigration *connect.Client[dev.CancelSchemaMigrationRequest, dev.CancelSchemaMigrationResponse] - changeTabletType *connect.Client[dev.ChangeTabletTypeRequest, dev.ChangeTabletTypeResponse] - cleanupSchemaMigration *connect.Client[dev.CleanupSchemaMigrationRequest, dev.CleanupSchemaMigrationResponse] - completeSchemaMigration *connect.Client[dev.CompleteSchemaMigrationRequest, dev.CompleteSchemaMigrationResponse] - createKeyspace *connect.Client[dev.CreateKeyspaceRequest, dev.CreateKeyspaceResponse] - createShard *connect.Client[dev.CreateShardRequest, dev.CreateShardResponse] - deleteCellInfo *connect.Client[dev.DeleteCellInfoRequest, dev.DeleteCellInfoResponse] - deleteCellsAlias *connect.Client[dev.DeleteCellsAliasRequest, dev.DeleteCellsAliasResponse] - deleteKeyspace *connect.Client[dev.DeleteKeyspaceRequest, dev.DeleteKeyspaceResponse] - deleteShards *connect.Client[dev.DeleteShardsRequest, dev.DeleteShardsResponse] - deleteSrvVSchema *connect.Client[dev.DeleteSrvVSchemaRequest, dev.DeleteSrvVSchemaResponse] - deleteTablets *connect.Client[dev.DeleteTabletsRequest, dev.DeleteTabletsResponse] - emergencyReparentShard *connect.Client[dev.EmergencyReparentShardRequest, dev.EmergencyReparentShardResponse] - executeFetchAsApp *connect.Client[dev.ExecuteFetchAsAppRequest, dev.ExecuteFetchAsAppResponse] - executeFetchAsDBA *connect.Client[dev.ExecuteFetchAsDBARequest, dev.ExecuteFetchAsDBAResponse] - executeHook *connect.Client[dev.ExecuteHookRequest, dev.ExecuteHookResponse] - findAllShardsInKeyspace *connect.Client[dev.FindAllShardsInKeyspaceRequest, dev.FindAllShardsInKeyspaceResponse] - getBackups *connect.Client[dev.GetBackupsRequest, dev.GetBackupsResponse] - getCellInfo *connect.Client[dev.GetCellInfoRequest, dev.GetCellInfoResponse] - getCellInfoNames *connect.Client[dev.GetCellInfoNamesRequest, dev.GetCellInfoNamesResponse] - getCellsAliases *connect.Client[dev.GetCellsAliasesRequest, dev.GetCellsAliasesResponse] - getFullStatus *connect.Client[dev.GetFullStatusRequest, dev.GetFullStatusResponse] - getKeyspace *connect.Client[dev.GetKeyspaceRequest, dev.GetKeyspaceResponse] - getKeyspaces *connect.Client[dev.GetKeyspacesRequest, dev.GetKeyspacesResponse] - getPermissions *connect.Client[dev.GetPermissionsRequest, dev.GetPermissionsResponse] - getRoutingRules *connect.Client[dev.GetRoutingRulesRequest, dev.GetRoutingRulesResponse] - getSchema *connect.Client[dev.GetSchemaRequest, dev.GetSchemaResponse] - getSchemaMigrations *connect.Client[dev.GetSchemaMigrationsRequest, dev.GetSchemaMigrationsResponse] - getShard *connect.Client[dev.GetShardRequest, dev.GetShardResponse] - getShardRoutingRules *connect.Client[dev.GetShardRoutingRulesRequest, dev.GetShardRoutingRulesResponse] - getSrvKeyspaceNames *connect.Client[dev.GetSrvKeyspaceNamesRequest, dev.GetSrvKeyspaceNamesResponse] - getSrvKeyspaces *connect.Client[dev.GetSrvKeyspacesRequest, dev.GetSrvKeyspacesResponse] - updateThrottlerConfig *connect.Client[dev.UpdateThrottlerConfigRequest, dev.UpdateThrottlerConfigResponse] - getSrvVSchema *connect.Client[dev.GetSrvVSchemaRequest, dev.GetSrvVSchemaResponse] - getSrvVSchemas *connect.Client[dev.GetSrvVSchemasRequest, dev.GetSrvVSchemasResponse] - getTablet *connect.Client[dev.GetTabletRequest, dev.GetTabletResponse] - getTablets *connect.Client[dev.GetTabletsRequest, dev.GetTabletsResponse] - getTopologyPath *connect.Client[dev.GetTopologyPathRequest, dev.GetTopologyPathResponse] - getVersion *connect.Client[dev.GetVersionRequest, dev.GetVersionResponse] - getVSchema *connect.Client[dev.GetVSchemaRequest, dev.GetVSchemaResponse] - getWorkflows *connect.Client[dev.GetWorkflowsRequest, dev.GetWorkflowsResponse] - initShardPrimary *connect.Client[dev.InitShardPrimaryRequest, dev.InitShardPrimaryResponse] - launchSchemaMigration *connect.Client[dev.LaunchSchemaMigrationRequest, dev.LaunchSchemaMigrationResponse] - lookupVindexCreate *connect.Client[dev.LookupVindexCreateRequest, dev.LookupVindexCreateResponse] - lookupVindexExternalize *connect.Client[dev.LookupVindexExternalizeRequest, dev.LookupVindexExternalizeResponse] - materializeCreate *connect.Client[dev.MaterializeCreateRequest, dev.MaterializeCreateResponse] - migrateCreate *connect.Client[dev.MigrateCreateRequest, dev.WorkflowStatusResponse] - mountRegister *connect.Client[dev.MountRegisterRequest, dev.MountRegisterResponse] - mountUnregister *connect.Client[dev.MountUnregisterRequest, dev.MountUnregisterResponse] - mountShow *connect.Client[dev.MountShowRequest, dev.MountShowResponse] - mountList *connect.Client[dev.MountListRequest, dev.MountListResponse] - moveTablesCreate *connect.Client[dev.MoveTablesCreateRequest, dev.WorkflowStatusResponse] - moveTablesComplete *connect.Client[dev.MoveTablesCompleteRequest, dev.MoveTablesCompleteResponse] - pingTablet *connect.Client[dev.PingTabletRequest, dev.PingTabletResponse] - plannedReparentShard *connect.Client[dev.PlannedReparentShardRequest, dev.PlannedReparentShardResponse] - rebuildKeyspaceGraph *connect.Client[dev.RebuildKeyspaceGraphRequest, dev.RebuildKeyspaceGraphResponse] - rebuildVSchemaGraph *connect.Client[dev.RebuildVSchemaGraphRequest, dev.RebuildVSchemaGraphResponse] - refreshState *connect.Client[dev.RefreshStateRequest, dev.RefreshStateResponse] - refreshStateByShard *connect.Client[dev.RefreshStateByShardRequest, dev.RefreshStateByShardResponse] - reloadSchema *connect.Client[dev.ReloadSchemaRequest, dev.ReloadSchemaResponse] - reloadSchemaKeyspace *connect.Client[dev.ReloadSchemaKeyspaceRequest, dev.ReloadSchemaKeyspaceResponse] - reloadSchemaShard *connect.Client[dev.ReloadSchemaShardRequest, dev.ReloadSchemaShardResponse] - removeBackup *connect.Client[dev.RemoveBackupRequest, dev.RemoveBackupResponse] - removeKeyspaceCell *connect.Client[dev.RemoveKeyspaceCellRequest, dev.RemoveKeyspaceCellResponse] - removeShardCell *connect.Client[dev.RemoveShardCellRequest, dev.RemoveShardCellResponse] - reparentTablet *connect.Client[dev.ReparentTabletRequest, dev.ReparentTabletResponse] - reshardCreate *connect.Client[dev.ReshardCreateRequest, dev.WorkflowStatusResponse] - restoreFromBackup *connect.Client[dev.RestoreFromBackupRequest, dev.RestoreFromBackupResponse] - retrySchemaMigration *connect.Client[dev.RetrySchemaMigrationRequest, dev.RetrySchemaMigrationResponse] - runHealthCheck *connect.Client[dev.RunHealthCheckRequest, dev.RunHealthCheckResponse] - setKeyspaceDurabilityPolicy *connect.Client[dev.SetKeyspaceDurabilityPolicyRequest, dev.SetKeyspaceDurabilityPolicyResponse] - setShardIsPrimaryServing *connect.Client[dev.SetShardIsPrimaryServingRequest, dev.SetShardIsPrimaryServingResponse] - setShardTabletControl *connect.Client[dev.SetShardTabletControlRequest, dev.SetShardTabletControlResponse] - setWritable *connect.Client[dev.SetWritableRequest, dev.SetWritableResponse] - shardReplicationAdd *connect.Client[dev.ShardReplicationAddRequest, dev.ShardReplicationAddResponse] - shardReplicationFix *connect.Client[dev.ShardReplicationFixRequest, dev.ShardReplicationFixResponse] - shardReplicationPositions *connect.Client[dev.ShardReplicationPositionsRequest, dev.ShardReplicationPositionsResponse] - shardReplicationRemove *connect.Client[dev.ShardReplicationRemoveRequest, dev.ShardReplicationRemoveResponse] - sleepTablet *connect.Client[dev.SleepTabletRequest, dev.SleepTabletResponse] - sourceShardAdd *connect.Client[dev.SourceShardAddRequest, dev.SourceShardAddResponse] - sourceShardDelete *connect.Client[dev.SourceShardDeleteRequest, dev.SourceShardDeleteResponse] - startReplication *connect.Client[dev.StartReplicationRequest, dev.StartReplicationResponse] - stopReplication *connect.Client[dev.StopReplicationRequest, dev.StopReplicationResponse] - tabletExternallyReparented *connect.Client[dev.TabletExternallyReparentedRequest, dev.TabletExternallyReparentedResponse] - updateCellInfo *connect.Client[dev.UpdateCellInfoRequest, dev.UpdateCellInfoResponse] - updateCellsAlias *connect.Client[dev.UpdateCellsAliasRequest, dev.UpdateCellsAliasResponse] - validate *connect.Client[dev.ValidateRequest, dev.ValidateResponse] - validateKeyspace *connect.Client[dev.ValidateKeyspaceRequest, dev.ValidateKeyspaceResponse] - validateSchemaKeyspace *connect.Client[dev.ValidateSchemaKeyspaceRequest, dev.ValidateSchemaKeyspaceResponse] - validateShard *connect.Client[dev.ValidateShardRequest, dev.ValidateShardResponse] - validateVersionKeyspace *connect.Client[dev.ValidateVersionKeyspaceRequest, dev.ValidateVersionKeyspaceResponse] - validateVersionShard *connect.Client[dev.ValidateVersionShardRequest, dev.ValidateVersionShardResponse] - validateVSchema *connect.Client[dev.ValidateVSchemaRequest, dev.ValidateVSchemaResponse] - vDiffCreate *connect.Client[dev.VDiffCreateRequest, dev.VDiffCreateResponse] - vDiffDelete *connect.Client[dev.VDiffDeleteRequest, dev.VDiffDeleteResponse] - vDiffResume *connect.Client[dev.VDiffResumeRequest, dev.VDiffResumeResponse] - vDiffShow *connect.Client[dev.VDiffShowRequest, dev.VDiffShowResponse] - vDiffStop *connect.Client[dev.VDiffStopRequest, dev.VDiffStopResponse] - workflowDelete *connect.Client[dev.WorkflowDeleteRequest, dev.WorkflowDeleteResponse] - workflowStatus *connect.Client[dev.WorkflowStatusRequest, dev.WorkflowStatusResponse] - workflowSwitchTraffic *connect.Client[dev.WorkflowSwitchTrafficRequest, dev.WorkflowSwitchTrafficResponse] - workflowUpdate *connect.Client[dev.WorkflowUpdateRequest, dev.WorkflowUpdateResponse] + addCellInfo *connect.Client[dev1.AddCellInfoRequest, dev1.AddCellInfoResponse] + addCellsAlias *connect.Client[dev1.AddCellsAliasRequest, dev1.AddCellsAliasResponse] + applyRoutingRules *connect.Client[dev1.ApplyRoutingRulesRequest, dev1.ApplyRoutingRulesResponse] + applySchema *connect.Client[dev1.ApplySchemaRequest, dev1.ApplySchemaResponse] + applyKeyspaceRoutingRules *connect.Client[dev1.ApplyKeyspaceRoutingRulesRequest, dev1.ApplyKeyspaceRoutingRulesResponse] + applyShardRoutingRules *connect.Client[dev1.ApplyShardRoutingRulesRequest, dev1.ApplyShardRoutingRulesResponse] + applyVSchema *connect.Client[dev1.ApplyVSchemaRequest, dev1.ApplyVSchemaResponse] + backup *connect.Client[dev1.BackupRequest, dev1.BackupResponse] + backupShard *connect.Client[dev1.BackupShardRequest, dev1.BackupResponse] + cancelSchemaMigration *connect.Client[dev1.CancelSchemaMigrationRequest, dev1.CancelSchemaMigrationResponse] + changeTabletTags *connect.Client[dev1.ChangeTabletTagsRequest, dev1.ChangeTabletTagsResponse] + changeTabletType *connect.Client[dev1.ChangeTabletTypeRequest, dev1.ChangeTabletTypeResponse] + checkThrottler *connect.Client[dev1.CheckThrottlerRequest, dev1.CheckThrottlerResponse] + cleanupSchemaMigration *connect.Client[dev1.CleanupSchemaMigrationRequest, dev1.CleanupSchemaMigrationResponse] + completeSchemaMigration *connect.Client[dev1.CompleteSchemaMigrationRequest, dev1.CompleteSchemaMigrationResponse] + concludeTransaction *connect.Client[dev1.ConcludeTransactionRequest, dev1.ConcludeTransactionResponse] + createKeyspace *connect.Client[dev1.CreateKeyspaceRequest, dev1.CreateKeyspaceResponse] + createShard *connect.Client[dev1.CreateShardRequest, dev1.CreateShardResponse] + deleteCellInfo *connect.Client[dev1.DeleteCellInfoRequest, dev1.DeleteCellInfoResponse] + deleteCellsAlias *connect.Client[dev1.DeleteCellsAliasRequest, dev1.DeleteCellsAliasResponse] + deleteKeyspace *connect.Client[dev1.DeleteKeyspaceRequest, dev1.DeleteKeyspaceResponse] + deleteShards *connect.Client[dev1.DeleteShardsRequest, dev1.DeleteShardsResponse] + deleteSrvVSchema *connect.Client[dev1.DeleteSrvVSchemaRequest, dev1.DeleteSrvVSchemaResponse] + deleteTablets *connect.Client[dev1.DeleteTabletsRequest, dev1.DeleteTabletsResponse] + emergencyReparentShard *connect.Client[dev1.EmergencyReparentShardRequest, dev1.EmergencyReparentShardResponse] + executeFetchAsApp *connect.Client[dev1.ExecuteFetchAsAppRequest, dev1.ExecuteFetchAsAppResponse] + executeFetchAsDBA *connect.Client[dev1.ExecuteFetchAsDBARequest, dev1.ExecuteFetchAsDBAResponse] + executeHook *connect.Client[dev1.ExecuteHookRequest, dev1.ExecuteHookResponse] + executeMultiFetchAsDBA *connect.Client[dev1.ExecuteMultiFetchAsDBARequest, dev1.ExecuteMultiFetchAsDBAResponse] + findAllShardsInKeyspace *connect.Client[dev1.FindAllShardsInKeyspaceRequest, dev1.FindAllShardsInKeyspaceResponse] + forceCutOverSchemaMigration *connect.Client[dev1.ForceCutOverSchemaMigrationRequest, dev1.ForceCutOverSchemaMigrationResponse] + getBackups *connect.Client[dev1.GetBackupsRequest, dev1.GetBackupsResponse] + getCellInfo *connect.Client[dev1.GetCellInfoRequest, dev1.GetCellInfoResponse] + getCellInfoNames *connect.Client[dev1.GetCellInfoNamesRequest, dev1.GetCellInfoNamesResponse] + getCellsAliases *connect.Client[dev1.GetCellsAliasesRequest, dev1.GetCellsAliasesResponse] + getFullStatus *connect.Client[dev1.GetFullStatusRequest, dev1.GetFullStatusResponse] + getKeyspace *connect.Client[dev1.GetKeyspaceRequest, dev1.GetKeyspaceResponse] + getKeyspaces *connect.Client[dev1.GetKeyspacesRequest, dev1.GetKeyspacesResponse] + getKeyspaceRoutingRules *connect.Client[dev1.GetKeyspaceRoutingRulesRequest, dev1.GetKeyspaceRoutingRulesResponse] + getPermissions *connect.Client[dev1.GetPermissionsRequest, dev1.GetPermissionsResponse] + getRoutingRules *connect.Client[dev1.GetRoutingRulesRequest, dev1.GetRoutingRulesResponse] + getSchema *connect.Client[dev1.GetSchemaRequest, dev1.GetSchemaResponse] + getSchemaMigrations *connect.Client[dev1.GetSchemaMigrationsRequest, dev1.GetSchemaMigrationsResponse] + getShardReplication *connect.Client[dev1.GetShardReplicationRequest, dev1.GetShardReplicationResponse] + getShard *connect.Client[dev1.GetShardRequest, dev1.GetShardResponse] + getShardRoutingRules *connect.Client[dev1.GetShardRoutingRulesRequest, dev1.GetShardRoutingRulesResponse] + getSrvKeyspaceNames *connect.Client[dev1.GetSrvKeyspaceNamesRequest, dev1.GetSrvKeyspaceNamesResponse] + getSrvKeyspaces *connect.Client[dev1.GetSrvKeyspacesRequest, dev1.GetSrvKeyspacesResponse] + updateThrottlerConfig *connect.Client[dev1.UpdateThrottlerConfigRequest, dev1.UpdateThrottlerConfigResponse] + getSrvVSchema *connect.Client[dev1.GetSrvVSchemaRequest, dev1.GetSrvVSchemaResponse] + getSrvVSchemas *connect.Client[dev1.GetSrvVSchemasRequest, dev1.GetSrvVSchemasResponse] + getTablet *connect.Client[dev1.GetTabletRequest, dev1.GetTabletResponse] + getTablets *connect.Client[dev1.GetTabletsRequest, dev1.GetTabletsResponse] + getThrottlerStatus *connect.Client[dev1.GetThrottlerStatusRequest, dev1.GetThrottlerStatusResponse] + getTopologyPath *connect.Client[dev1.GetTopologyPathRequest, dev1.GetTopologyPathResponse] + getTransactionInfo *connect.Client[dev1.GetTransactionInfoRequest, dev1.GetTransactionInfoResponse] + getUnresolvedTransactions *connect.Client[dev1.GetUnresolvedTransactionsRequest, dev1.GetUnresolvedTransactionsResponse] + getVersion *connect.Client[dev1.GetVersionRequest, dev1.GetVersionResponse] + getVSchema *connect.Client[dev1.GetVSchemaRequest, dev1.GetVSchemaResponse] + getWorkflows *connect.Client[dev1.GetWorkflowsRequest, dev1.GetWorkflowsResponse] + initShardPrimary *connect.Client[dev1.InitShardPrimaryRequest, dev1.InitShardPrimaryResponse] + launchSchemaMigration *connect.Client[dev1.LaunchSchemaMigrationRequest, dev1.LaunchSchemaMigrationResponse] + lookupVindexCreate *connect.Client[dev1.LookupVindexCreateRequest, dev1.LookupVindexCreateResponse] + lookupVindexExternalize *connect.Client[dev1.LookupVindexExternalizeRequest, dev1.LookupVindexExternalizeResponse] + materializeCreate *connect.Client[dev1.MaterializeCreateRequest, dev1.MaterializeCreateResponse] + migrateCreate *connect.Client[dev1.MigrateCreateRequest, dev1.WorkflowStatusResponse] + mountRegister *connect.Client[dev1.MountRegisterRequest, dev1.MountRegisterResponse] + mountUnregister *connect.Client[dev1.MountUnregisterRequest, dev1.MountUnregisterResponse] + mountShow *connect.Client[dev1.MountShowRequest, dev1.MountShowResponse] + mountList *connect.Client[dev1.MountListRequest, dev1.MountListResponse] + moveTablesCreate *connect.Client[dev1.MoveTablesCreateRequest, dev1.WorkflowStatusResponse] + moveTablesComplete *connect.Client[dev1.MoveTablesCompleteRequest, dev1.MoveTablesCompleteResponse] + pingTablet *connect.Client[dev1.PingTabletRequest, dev1.PingTabletResponse] + plannedReparentShard *connect.Client[dev1.PlannedReparentShardRequest, dev1.PlannedReparentShardResponse] + rebuildKeyspaceGraph *connect.Client[dev1.RebuildKeyspaceGraphRequest, dev1.RebuildKeyspaceGraphResponse] + rebuildVSchemaGraph *connect.Client[dev1.RebuildVSchemaGraphRequest, dev1.RebuildVSchemaGraphResponse] + refreshState *connect.Client[dev1.RefreshStateRequest, dev1.RefreshStateResponse] + refreshStateByShard *connect.Client[dev1.RefreshStateByShardRequest, dev1.RefreshStateByShardResponse] + reloadSchema *connect.Client[dev1.ReloadSchemaRequest, dev1.ReloadSchemaResponse] + reloadSchemaKeyspace *connect.Client[dev1.ReloadSchemaKeyspaceRequest, dev1.ReloadSchemaKeyspaceResponse] + reloadSchemaShard *connect.Client[dev1.ReloadSchemaShardRequest, dev1.ReloadSchemaShardResponse] + removeBackup *connect.Client[dev1.RemoveBackupRequest, dev1.RemoveBackupResponse] + removeKeyspaceCell *connect.Client[dev1.RemoveKeyspaceCellRequest, dev1.RemoveKeyspaceCellResponse] + removeShardCell *connect.Client[dev1.RemoveShardCellRequest, dev1.RemoveShardCellResponse] + reparentTablet *connect.Client[dev1.ReparentTabletRequest, dev1.ReparentTabletResponse] + reshardCreate *connect.Client[dev1.ReshardCreateRequest, dev1.WorkflowStatusResponse] + restoreFromBackup *connect.Client[dev1.RestoreFromBackupRequest, dev1.RestoreFromBackupResponse] + retrySchemaMigration *connect.Client[dev1.RetrySchemaMigrationRequest, dev1.RetrySchemaMigrationResponse] + runHealthCheck *connect.Client[dev1.RunHealthCheckRequest, dev1.RunHealthCheckResponse] + setKeyspaceDurabilityPolicy *connect.Client[dev1.SetKeyspaceDurabilityPolicyRequest, dev1.SetKeyspaceDurabilityPolicyResponse] + setShardIsPrimaryServing *connect.Client[dev1.SetShardIsPrimaryServingRequest, dev1.SetShardIsPrimaryServingResponse] + setShardTabletControl *connect.Client[dev1.SetShardTabletControlRequest, dev1.SetShardTabletControlResponse] + setWritable *connect.Client[dev1.SetWritableRequest, dev1.SetWritableResponse] + shardReplicationAdd *connect.Client[dev1.ShardReplicationAddRequest, dev1.ShardReplicationAddResponse] + shardReplicationFix *connect.Client[dev1.ShardReplicationFixRequest, dev1.ShardReplicationFixResponse] + shardReplicationPositions *connect.Client[dev1.ShardReplicationPositionsRequest, dev1.ShardReplicationPositionsResponse] + shardReplicationRemove *connect.Client[dev1.ShardReplicationRemoveRequest, dev1.ShardReplicationRemoveResponse] + sleepTablet *connect.Client[dev1.SleepTabletRequest, dev1.SleepTabletResponse] + sourceShardAdd *connect.Client[dev1.SourceShardAddRequest, dev1.SourceShardAddResponse] + sourceShardDelete *connect.Client[dev1.SourceShardDeleteRequest, dev1.SourceShardDeleteResponse] + startReplication *connect.Client[dev1.StartReplicationRequest, dev1.StartReplicationResponse] + stopReplication *connect.Client[dev1.StopReplicationRequest, dev1.StopReplicationResponse] + tabletExternallyReparented *connect.Client[dev1.TabletExternallyReparentedRequest, dev1.TabletExternallyReparentedResponse] + updateCellInfo *connect.Client[dev1.UpdateCellInfoRequest, dev1.UpdateCellInfoResponse] + updateCellsAlias *connect.Client[dev1.UpdateCellsAliasRequest, dev1.UpdateCellsAliasResponse] + validate *connect.Client[dev1.ValidateRequest, dev1.ValidateResponse] + validateKeyspace *connect.Client[dev1.ValidateKeyspaceRequest, dev1.ValidateKeyspaceResponse] + validateSchemaKeyspace *connect.Client[dev1.ValidateSchemaKeyspaceRequest, dev1.ValidateSchemaKeyspaceResponse] + validateShard *connect.Client[dev1.ValidateShardRequest, dev1.ValidateShardResponse] + validateVersionKeyspace *connect.Client[dev1.ValidateVersionKeyspaceRequest, dev1.ValidateVersionKeyspaceResponse] + validateVersionShard *connect.Client[dev1.ValidateVersionShardRequest, dev1.ValidateVersionShardResponse] + validateVSchema *connect.Client[dev1.ValidateVSchemaRequest, dev1.ValidateVSchemaResponse] + vDiffCreate *connect.Client[dev1.VDiffCreateRequest, dev1.VDiffCreateResponse] + vDiffDelete *connect.Client[dev1.VDiffDeleteRequest, dev1.VDiffDeleteResponse] + vDiffResume *connect.Client[dev1.VDiffResumeRequest, dev1.VDiffResumeResponse] + vDiffShow *connect.Client[dev1.VDiffShowRequest, dev1.VDiffShowResponse] + vDiffStop *connect.Client[dev1.VDiffStopRequest, dev1.VDiffStopResponse] + workflowDelete *connect.Client[dev1.WorkflowDeleteRequest, dev1.WorkflowDeleteResponse] + workflowStatus *connect.Client[dev1.WorkflowStatusRequest, dev1.WorkflowStatusResponse] + workflowSwitchTraffic *connect.Client[dev1.WorkflowSwitchTrafficRequest, dev1.WorkflowSwitchTrafficResponse] + workflowUpdate *connect.Client[dev1.WorkflowUpdateRequest, dev1.WorkflowUpdateResponse] + getMirrorRules *connect.Client[dev1.GetMirrorRulesRequest, dev1.GetMirrorRulesResponse] + workflowMirrorTraffic *connect.Client[dev1.WorkflowMirrorTrafficRequest, dev1.WorkflowMirrorTrafficResponse] } // AddCellInfo calls vtctlservice.Vtctld.AddCellInfo. -func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[dev.AddCellInfoRequest]) (*connect.Response[dev.AddCellInfoResponse], error) { +func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[dev1.AddCellInfoRequest]) (*connect.Response[dev1.AddCellInfoResponse], error) { return c.addCellInfo.CallUnary(ctx, req) } // AddCellsAlias calls vtctlservice.Vtctld.AddCellsAlias. -func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[dev.AddCellsAliasRequest]) (*connect.Response[dev.AddCellsAliasResponse], error) { +func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[dev1.AddCellsAliasRequest]) (*connect.Response[dev1.AddCellsAliasResponse], error) { return c.addCellsAlias.CallUnary(ctx, req) } // ApplyRoutingRules calls vtctlservice.Vtctld.ApplyRoutingRules. -func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[dev.ApplyRoutingRulesRequest]) (*connect.Response[dev.ApplyRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[dev1.ApplyRoutingRulesRequest]) (*connect.Response[dev1.ApplyRoutingRulesResponse], error) { return c.applyRoutingRules.CallUnary(ctx, req) } // ApplySchema calls vtctlservice.Vtctld.ApplySchema. -func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) { +func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } +// ApplyKeyspaceRoutingRules calls vtctlservice.Vtctld.ApplyKeyspaceRoutingRules. +func (c *vtctldClient) ApplyKeyspaceRoutingRules(ctx context.Context, req *connect.Request[dev1.ApplyKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.ApplyKeyspaceRoutingRulesResponse], error) { + return c.applyKeyspaceRoutingRules.CallUnary(ctx, req) +} + // ApplyShardRoutingRules calls vtctlservice.Vtctld.ApplyShardRoutingRules. -func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[dev.ApplyShardRoutingRulesRequest]) (*connect.Response[dev.ApplyShardRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[dev1.ApplyShardRoutingRulesRequest]) (*connect.Response[dev1.ApplyShardRoutingRulesResponse], error) { return c.applyShardRoutingRules.CallUnary(ctx, req) } // ApplyVSchema calls vtctlservice.Vtctld.ApplyVSchema. -func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[dev.ApplyVSchemaRequest]) (*connect.Response[dev.ApplyVSchemaResponse], error) { +func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[dev1.ApplyVSchemaRequest]) (*connect.Response[dev1.ApplyVSchemaResponse], error) { return c.applyVSchema.CallUnary(ctx, req) } // Backup calls vtctlservice.Vtctld.Backup. -func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[dev.BackupRequest]) (*connect.ServerStreamForClient[dev.BackupResponse], error) { +func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[dev1.BackupRequest]) (*connect.ServerStreamForClient[dev1.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // BackupShard calls vtctlservice.Vtctld.BackupShard. -func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[dev.BackupShardRequest]) (*connect.ServerStreamForClient[dev.BackupResponse], error) { +func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[dev1.BackupShardRequest]) (*connect.ServerStreamForClient[dev1.BackupResponse], error) { return c.backupShard.CallServerStream(ctx, req) } // CancelSchemaMigration calls vtctlservice.Vtctld.CancelSchemaMigration. -func (c *vtctldClient) CancelSchemaMigration(ctx context.Context, req *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev.CancelSchemaMigrationResponse], error) { +func (c *vtctldClient) CancelSchemaMigration(ctx context.Context, req *connect.Request[dev1.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) { return c.cancelSchemaMigration.CallUnary(ctx, req) } +// ChangeTabletTags calls vtctlservice.Vtctld.ChangeTabletTags. +func (c *vtctldClient) ChangeTabletTags(ctx context.Context, req *connect.Request[dev1.ChangeTabletTagsRequest]) (*connect.Response[dev1.ChangeTabletTagsResponse], error) { + return c.changeTabletTags.CallUnary(ctx, req) +} + // ChangeTabletType calls vtctlservice.Vtctld.ChangeTabletType. -func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[dev.ChangeTabletTypeRequest]) (*connect.Response[dev.ChangeTabletTypeResponse], error) { +func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[dev1.ChangeTabletTypeRequest]) (*connect.Response[dev1.ChangeTabletTypeResponse], error) { return c.changeTabletType.CallUnary(ctx, req) } +// CheckThrottler calls vtctlservice.Vtctld.CheckThrottler. +func (c *vtctldClient) CheckThrottler(ctx context.Context, req *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) { + return c.checkThrottler.CallUnary(ctx, req) +} + // CleanupSchemaMigration calls vtctlservice.Vtctld.CleanupSchemaMigration. -func (c *vtctldClient) CleanupSchemaMigration(ctx context.Context, req *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev.CleanupSchemaMigrationResponse], error) { +func (c *vtctldClient) CleanupSchemaMigration(ctx context.Context, req *connect.Request[dev1.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) { return c.cleanupSchemaMigration.CallUnary(ctx, req) } // CompleteSchemaMigration calls vtctlservice.Vtctld.CompleteSchemaMigration. -func (c *vtctldClient) CompleteSchemaMigration(ctx context.Context, req *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev.CompleteSchemaMigrationResponse], error) { +func (c *vtctldClient) CompleteSchemaMigration(ctx context.Context, req *connect.Request[dev1.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) { return c.completeSchemaMigration.CallUnary(ctx, req) } +// ConcludeTransaction calls vtctlservice.Vtctld.ConcludeTransaction. +func (c *vtctldClient) ConcludeTransaction(ctx context.Context, req *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { + return c.concludeTransaction.CallUnary(ctx, req) +} + // CreateKeyspace calls vtctlservice.Vtctld.CreateKeyspace. -func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[dev.CreateKeyspaceRequest]) (*connect.Response[dev.CreateKeyspaceResponse], error) { +func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[dev1.CreateKeyspaceRequest]) (*connect.Response[dev1.CreateKeyspaceResponse], error) { return c.createKeyspace.CallUnary(ctx, req) } // CreateShard calls vtctlservice.Vtctld.CreateShard. -func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[dev.CreateShardRequest]) (*connect.Response[dev.CreateShardResponse], error) { +func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[dev1.CreateShardRequest]) (*connect.Response[dev1.CreateShardResponse], error) { return c.createShard.CallUnary(ctx, req) } // DeleteCellInfo calls vtctlservice.Vtctld.DeleteCellInfo. -func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[dev.DeleteCellInfoRequest]) (*connect.Response[dev.DeleteCellInfoResponse], error) { +func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[dev1.DeleteCellInfoRequest]) (*connect.Response[dev1.DeleteCellInfoResponse], error) { return c.deleteCellInfo.CallUnary(ctx, req) } // DeleteCellsAlias calls vtctlservice.Vtctld.DeleteCellsAlias. -func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[dev.DeleteCellsAliasRequest]) (*connect.Response[dev.DeleteCellsAliasResponse], error) { +func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[dev1.DeleteCellsAliasRequest]) (*connect.Response[dev1.DeleteCellsAliasResponse], error) { return c.deleteCellsAlias.CallUnary(ctx, req) } // DeleteKeyspace calls vtctlservice.Vtctld.DeleteKeyspace. -func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[dev.DeleteKeyspaceRequest]) (*connect.Response[dev.DeleteKeyspaceResponse], error) { +func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[dev1.DeleteKeyspaceRequest]) (*connect.Response[dev1.DeleteKeyspaceResponse], error) { return c.deleteKeyspace.CallUnary(ctx, req) } // DeleteShards calls vtctlservice.Vtctld.DeleteShards. -func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[dev.DeleteShardsRequest]) (*connect.Response[dev.DeleteShardsResponse], error) { +func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[dev1.DeleteShardsRequest]) (*connect.Response[dev1.DeleteShardsResponse], error) { return c.deleteShards.CallUnary(ctx, req) } // DeleteSrvVSchema calls vtctlservice.Vtctld.DeleteSrvVSchema. -func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[dev.DeleteSrvVSchemaRequest]) (*connect.Response[dev.DeleteSrvVSchemaResponse], error) { +func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[dev1.DeleteSrvVSchemaRequest]) (*connect.Response[dev1.DeleteSrvVSchemaResponse], error) { return c.deleteSrvVSchema.CallUnary(ctx, req) } // DeleteTablets calls vtctlservice.Vtctld.DeleteTablets. -func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[dev.DeleteTabletsRequest]) (*connect.Response[dev.DeleteTabletsResponse], error) { +func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[dev1.DeleteTabletsRequest]) (*connect.Response[dev1.DeleteTabletsResponse], error) { return c.deleteTablets.CallUnary(ctx, req) } // EmergencyReparentShard calls vtctlservice.Vtctld.EmergencyReparentShard. -func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[dev.EmergencyReparentShardRequest]) (*connect.Response[dev.EmergencyReparentShardResponse], error) { +func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[dev1.EmergencyReparentShardRequest]) (*connect.Response[dev1.EmergencyReparentShardResponse], error) { return c.emergencyReparentShard.CallUnary(ctx, req) } // ExecuteFetchAsApp calls vtctlservice.Vtctld.ExecuteFetchAsApp. -func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) { +func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } // ExecuteFetchAsDBA calls vtctlservice.Vtctld.ExecuteFetchAsDBA. -func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[dev.ExecuteFetchAsDBARequest]) (*connect.Response[dev.ExecuteFetchAsDBAResponse], error) { +func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[dev1.ExecuteFetchAsDBARequest]) (*connect.Response[dev1.ExecuteFetchAsDBAResponse], error) { return c.executeFetchAsDBA.CallUnary(ctx, req) } // ExecuteHook calls vtctlservice.Vtctld.ExecuteHook. -func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) { +func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } +// ExecuteMultiFetchAsDBA calls vtctlservice.Vtctld.ExecuteMultiFetchAsDBA. +func (c *vtctldClient) ExecuteMultiFetchAsDBA(ctx context.Context, req *connect.Request[dev1.ExecuteMultiFetchAsDBARequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDBAResponse], error) { + return c.executeMultiFetchAsDBA.CallUnary(ctx, req) +} + // FindAllShardsInKeyspace calls vtctlservice.Vtctld.FindAllShardsInKeyspace. -func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[dev.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev.FindAllShardsInKeyspaceResponse], error) { +func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[dev1.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev1.FindAllShardsInKeyspaceResponse], error) { return c.findAllShardsInKeyspace.CallUnary(ctx, req) } +// ForceCutOverSchemaMigration calls vtctlservice.Vtctld.ForceCutOverSchemaMigration. +func (c *vtctldClient) ForceCutOverSchemaMigration(ctx context.Context, req *connect.Request[dev1.ForceCutOverSchemaMigrationRequest]) (*connect.Response[dev1.ForceCutOverSchemaMigrationResponse], error) { + return c.forceCutOverSchemaMigration.CallUnary(ctx, req) +} + // GetBackups calls vtctlservice.Vtctld.GetBackups. -func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[dev.GetBackupsRequest]) (*connect.Response[dev.GetBackupsResponse], error) { +func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[dev1.GetBackupsRequest]) (*connect.Response[dev1.GetBackupsResponse], error) { return c.getBackups.CallUnary(ctx, req) } // GetCellInfo calls vtctlservice.Vtctld.GetCellInfo. -func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[dev.GetCellInfoRequest]) (*connect.Response[dev.GetCellInfoResponse], error) { +func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[dev1.GetCellInfoRequest]) (*connect.Response[dev1.GetCellInfoResponse], error) { return c.getCellInfo.CallUnary(ctx, req) } // GetCellInfoNames calls vtctlservice.Vtctld.GetCellInfoNames. -func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[dev.GetCellInfoNamesRequest]) (*connect.Response[dev.GetCellInfoNamesResponse], error) { +func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[dev1.GetCellInfoNamesRequest]) (*connect.Response[dev1.GetCellInfoNamesResponse], error) { return c.getCellInfoNames.CallUnary(ctx, req) } // GetCellsAliases calls vtctlservice.Vtctld.GetCellsAliases. -func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[dev.GetCellsAliasesRequest]) (*connect.Response[dev.GetCellsAliasesResponse], error) { +func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[dev1.GetCellsAliasesRequest]) (*connect.Response[dev1.GetCellsAliasesResponse], error) { return c.getCellsAliases.CallUnary(ctx, req) } // GetFullStatus calls vtctlservice.Vtctld.GetFullStatus. -func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[dev.GetFullStatusRequest]) (*connect.Response[dev.GetFullStatusResponse], error) { +func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[dev1.GetFullStatusRequest]) (*connect.Response[dev1.GetFullStatusResponse], error) { return c.getFullStatus.CallUnary(ctx, req) } // GetKeyspace calls vtctlservice.Vtctld.GetKeyspace. -func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[dev.GetKeyspaceRequest]) (*connect.Response[dev.GetKeyspaceResponse], error) { +func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[dev1.GetKeyspaceRequest]) (*connect.Response[dev1.GetKeyspaceResponse], error) { return c.getKeyspace.CallUnary(ctx, req) } // GetKeyspaces calls vtctlservice.Vtctld.GetKeyspaces. -func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[dev.GetKeyspacesRequest]) (*connect.Response[dev.GetKeyspacesResponse], error) { +func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[dev1.GetKeyspacesRequest]) (*connect.Response[dev1.GetKeyspacesResponse], error) { return c.getKeyspaces.CallUnary(ctx, req) } +// GetKeyspaceRoutingRules calls vtctlservice.Vtctld.GetKeyspaceRoutingRules. +func (c *vtctldClient) GetKeyspaceRoutingRules(ctx context.Context, req *connect.Request[dev1.GetKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.GetKeyspaceRoutingRulesResponse], error) { + return c.getKeyspaceRoutingRules.CallUnary(ctx, req) +} + // GetPermissions calls vtctlservice.Vtctld.GetPermissions. -func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) { +func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } // GetRoutingRules calls vtctlservice.Vtctld.GetRoutingRules. -func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[dev.GetRoutingRulesRequest]) (*connect.Response[dev.GetRoutingRulesResponse], error) { +func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[dev1.GetRoutingRulesRequest]) (*connect.Response[dev1.GetRoutingRulesResponse], error) { return c.getRoutingRules.CallUnary(ctx, req) } // GetSchema calls vtctlservice.Vtctld.GetSchema. -func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) { +func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetSchemaMigrations calls vtctlservice.Vtctld.GetSchemaMigrations. -func (c *vtctldClient) GetSchemaMigrations(ctx context.Context, req *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) { +func (c *vtctldClient) GetSchemaMigrations(ctx context.Context, req *connect.Request[dev1.GetSchemaMigrationsRequest]) (*connect.Response[dev1.GetSchemaMigrationsResponse], error) { return c.getSchemaMigrations.CallUnary(ctx, req) } +// GetShardReplication calls vtctlservice.Vtctld.GetShardReplication. +func (c *vtctldClient) GetShardReplication(ctx context.Context, req *connect.Request[dev1.GetShardReplicationRequest]) (*connect.Response[dev1.GetShardReplicationResponse], error) { + return c.getShardReplication.CallUnary(ctx, req) +} + // GetShard calls vtctlservice.Vtctld.GetShard. -func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[dev.GetShardRequest]) (*connect.Response[dev.GetShardResponse], error) { +func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[dev1.GetShardRequest]) (*connect.Response[dev1.GetShardResponse], error) { return c.getShard.CallUnary(ctx, req) } // GetShardRoutingRules calls vtctlservice.Vtctld.GetShardRoutingRules. -func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[dev.GetShardRoutingRulesRequest]) (*connect.Response[dev.GetShardRoutingRulesResponse], error) { +func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[dev1.GetShardRoutingRulesRequest]) (*connect.Response[dev1.GetShardRoutingRulesResponse], error) { return c.getShardRoutingRules.CallUnary(ctx, req) } // GetSrvKeyspaceNames calls vtctlservice.Vtctld.GetSrvKeyspaceNames. -func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[dev.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev.GetSrvKeyspaceNamesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[dev1.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev1.GetSrvKeyspaceNamesResponse], error) { return c.getSrvKeyspaceNames.CallUnary(ctx, req) } // GetSrvKeyspaces calls vtctlservice.Vtctld.GetSrvKeyspaces. -func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[dev.GetSrvKeyspacesRequest]) (*connect.Response[dev.GetSrvKeyspacesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[dev1.GetSrvKeyspacesRequest]) (*connect.Response[dev1.GetSrvKeyspacesResponse], error) { return c.getSrvKeyspaces.CallUnary(ctx, req) } // UpdateThrottlerConfig calls vtctlservice.Vtctld.UpdateThrottlerConfig. -func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[dev.UpdateThrottlerConfigRequest]) (*connect.Response[dev.UpdateThrottlerConfigResponse], error) { +func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[dev1.UpdateThrottlerConfigRequest]) (*connect.Response[dev1.UpdateThrottlerConfigResponse], error) { return c.updateThrottlerConfig.CallUnary(ctx, req) } // GetSrvVSchema calls vtctlservice.Vtctld.GetSrvVSchema. -func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[dev.GetSrvVSchemaRequest]) (*connect.Response[dev.GetSrvVSchemaResponse], error) { +func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[dev1.GetSrvVSchemaRequest]) (*connect.Response[dev1.GetSrvVSchemaResponse], error) { return c.getSrvVSchema.CallUnary(ctx, req) } // GetSrvVSchemas calls vtctlservice.Vtctld.GetSrvVSchemas. -func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[dev.GetSrvVSchemasRequest]) (*connect.Response[dev.GetSrvVSchemasResponse], error) { +func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[dev1.GetSrvVSchemasRequest]) (*connect.Response[dev1.GetSrvVSchemasResponse], error) { return c.getSrvVSchemas.CallUnary(ctx, req) } // GetTablet calls vtctlservice.Vtctld.GetTablet. -func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[dev.GetTabletRequest]) (*connect.Response[dev.GetTabletResponse], error) { +func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[dev1.GetTabletRequest]) (*connect.Response[dev1.GetTabletResponse], error) { return c.getTablet.CallUnary(ctx, req) } // GetTablets calls vtctlservice.Vtctld.GetTablets. -func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[dev.GetTabletsRequest]) (*connect.Response[dev.GetTabletsResponse], error) { +func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[dev1.GetTabletsRequest]) (*connect.Response[dev1.GetTabletsResponse], error) { return c.getTablets.CallUnary(ctx, req) } +// GetThrottlerStatus calls vtctlservice.Vtctld.GetThrottlerStatus. +func (c *vtctldClient) GetThrottlerStatus(ctx context.Context, req *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) { + return c.getThrottlerStatus.CallUnary(ctx, req) +} + // GetTopologyPath calls vtctlservice.Vtctld.GetTopologyPath. -func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[dev.GetTopologyPathRequest]) (*connect.Response[dev.GetTopologyPathResponse], error) { +func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[dev1.GetTopologyPathRequest]) (*connect.Response[dev1.GetTopologyPathResponse], error) { return c.getTopologyPath.CallUnary(ctx, req) } +// GetTransactionInfo calls vtctlservice.Vtctld.GetTransactionInfo. +func (c *vtctldClient) GetTransactionInfo(ctx context.Context, req *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) { + return c.getTransactionInfo.CallUnary(ctx, req) +} + +// GetUnresolvedTransactions calls vtctlservice.Vtctld.GetUnresolvedTransactions. +func (c *vtctldClient) GetUnresolvedTransactions(ctx context.Context, req *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) { + return c.getUnresolvedTransactions.CallUnary(ctx, req) +} + // GetVersion calls vtctlservice.Vtctld.GetVersion. -func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[dev.GetVersionRequest]) (*connect.Response[dev.GetVersionResponse], error) { +func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[dev1.GetVersionRequest]) (*connect.Response[dev1.GetVersionResponse], error) { return c.getVersion.CallUnary(ctx, req) } // GetVSchema calls vtctlservice.Vtctld.GetVSchema. -func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.GetVSchemaResponse], error) { +func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[dev1.GetVSchemaRequest]) (*connect.Response[dev1.GetVSchemaResponse], error) { return c.getVSchema.CallUnary(ctx, req) } // GetWorkflows calls vtctlservice.Vtctld.GetWorkflows. -func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[dev.GetWorkflowsRequest]) (*connect.Response[dev.GetWorkflowsResponse], error) { +func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[dev1.GetWorkflowsRequest]) (*connect.Response[dev1.GetWorkflowsResponse], error) { return c.getWorkflows.CallUnary(ctx, req) } // InitShardPrimary calls vtctlservice.Vtctld.InitShardPrimary. -func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[dev.InitShardPrimaryRequest]) (*connect.Response[dev.InitShardPrimaryResponse], error) { +func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[dev1.InitShardPrimaryRequest]) (*connect.Response[dev1.InitShardPrimaryResponse], error) { return c.initShardPrimary.CallUnary(ctx, req) } // LaunchSchemaMigration calls vtctlservice.Vtctld.LaunchSchemaMigration. -func (c *vtctldClient) LaunchSchemaMigration(ctx context.Context, req *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev.LaunchSchemaMigrationResponse], error) { +func (c *vtctldClient) LaunchSchemaMigration(ctx context.Context, req *connect.Request[dev1.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) { return c.launchSchemaMigration.CallUnary(ctx, req) } // LookupVindexCreate calls vtctlservice.Vtctld.LookupVindexCreate. -func (c *vtctldClient) LookupVindexCreate(ctx context.Context, req *connect.Request[dev.LookupVindexCreateRequest]) (*connect.Response[dev.LookupVindexCreateResponse], error) { +func (c *vtctldClient) LookupVindexCreate(ctx context.Context, req *connect.Request[dev1.LookupVindexCreateRequest]) (*connect.Response[dev1.LookupVindexCreateResponse], error) { return c.lookupVindexCreate.CallUnary(ctx, req) } // LookupVindexExternalize calls vtctlservice.Vtctld.LookupVindexExternalize. -func (c *vtctldClient) LookupVindexExternalize(ctx context.Context, req *connect.Request[dev.LookupVindexExternalizeRequest]) (*connect.Response[dev.LookupVindexExternalizeResponse], error) { +func (c *vtctldClient) LookupVindexExternalize(ctx context.Context, req *connect.Request[dev1.LookupVindexExternalizeRequest]) (*connect.Response[dev1.LookupVindexExternalizeResponse], error) { return c.lookupVindexExternalize.CallUnary(ctx, req) } // MaterializeCreate calls vtctlservice.Vtctld.MaterializeCreate. -func (c *vtctldClient) MaterializeCreate(ctx context.Context, req *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev.MaterializeCreateResponse], error) { +func (c *vtctldClient) MaterializeCreate(ctx context.Context, req *connect.Request[dev1.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) { return c.materializeCreate.CallUnary(ctx, req) } // MigrateCreate calls vtctlservice.Vtctld.MigrateCreate. -func (c *vtctldClient) MigrateCreate(ctx context.Context, req *connect.Request[dev.MigrateCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (c *vtctldClient) MigrateCreate(ctx context.Context, req *connect.Request[dev1.MigrateCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return c.migrateCreate.CallUnary(ctx, req) } // MountRegister calls vtctlservice.Vtctld.MountRegister. -func (c *vtctldClient) MountRegister(ctx context.Context, req *connect.Request[dev.MountRegisterRequest]) (*connect.Response[dev.MountRegisterResponse], error) { +func (c *vtctldClient) MountRegister(ctx context.Context, req *connect.Request[dev1.MountRegisterRequest]) (*connect.Response[dev1.MountRegisterResponse], error) { return c.mountRegister.CallUnary(ctx, req) } // MountUnregister calls vtctlservice.Vtctld.MountUnregister. -func (c *vtctldClient) MountUnregister(ctx context.Context, req *connect.Request[dev.MountUnregisterRequest]) (*connect.Response[dev.MountUnregisterResponse], error) { +func (c *vtctldClient) MountUnregister(ctx context.Context, req *connect.Request[dev1.MountUnregisterRequest]) (*connect.Response[dev1.MountUnregisterResponse], error) { return c.mountUnregister.CallUnary(ctx, req) } // MountShow calls vtctlservice.Vtctld.MountShow. -func (c *vtctldClient) MountShow(ctx context.Context, req *connect.Request[dev.MountShowRequest]) (*connect.Response[dev.MountShowResponse], error) { +func (c *vtctldClient) MountShow(ctx context.Context, req *connect.Request[dev1.MountShowRequest]) (*connect.Response[dev1.MountShowResponse], error) { return c.mountShow.CallUnary(ctx, req) } // MountList calls vtctlservice.Vtctld.MountList. -func (c *vtctldClient) MountList(ctx context.Context, req *connect.Request[dev.MountListRequest]) (*connect.Response[dev.MountListResponse], error) { +func (c *vtctldClient) MountList(ctx context.Context, req *connect.Request[dev1.MountListRequest]) (*connect.Response[dev1.MountListResponse], error) { return c.mountList.CallUnary(ctx, req) } // MoveTablesCreate calls vtctlservice.Vtctld.MoveTablesCreate. -func (c *vtctldClient) MoveTablesCreate(ctx context.Context, req *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (c *vtctldClient) MoveTablesCreate(ctx context.Context, req *connect.Request[dev1.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return c.moveTablesCreate.CallUnary(ctx, req) } // MoveTablesComplete calls vtctlservice.Vtctld.MoveTablesComplete. -func (c *vtctldClient) MoveTablesComplete(ctx context.Context, req *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev.MoveTablesCompleteResponse], error) { +func (c *vtctldClient) MoveTablesComplete(ctx context.Context, req *connect.Request[dev1.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) { return c.moveTablesComplete.CallUnary(ctx, req) } // PingTablet calls vtctlservice.Vtctld.PingTablet. -func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) { +func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[dev1.PingTabletRequest]) (*connect.Response[dev1.PingTabletResponse], error) { return c.pingTablet.CallUnary(ctx, req) } // PlannedReparentShard calls vtctlservice.Vtctld.PlannedReparentShard. -func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[dev.PlannedReparentShardRequest]) (*connect.Response[dev.PlannedReparentShardResponse], error) { +func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[dev1.PlannedReparentShardRequest]) (*connect.Response[dev1.PlannedReparentShardResponse], error) { return c.plannedReparentShard.CallUnary(ctx, req) } // RebuildKeyspaceGraph calls vtctlservice.Vtctld.RebuildKeyspaceGraph. -func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[dev.RebuildKeyspaceGraphRequest]) (*connect.Response[dev.RebuildKeyspaceGraphResponse], error) { +func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[dev1.RebuildKeyspaceGraphRequest]) (*connect.Response[dev1.RebuildKeyspaceGraphResponse], error) { return c.rebuildKeyspaceGraph.CallUnary(ctx, req) } // RebuildVSchemaGraph calls vtctlservice.Vtctld.RebuildVSchemaGraph. -func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[dev.RebuildVSchemaGraphRequest]) (*connect.Response[dev.RebuildVSchemaGraphResponse], error) { +func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[dev1.RebuildVSchemaGraphRequest]) (*connect.Response[dev1.RebuildVSchemaGraphResponse], error) { return c.rebuildVSchemaGraph.CallUnary(ctx, req) } // RefreshState calls vtctlservice.Vtctld.RefreshState. -func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) { +func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RefreshStateByShard calls vtctlservice.Vtctld.RefreshStateByShard. -func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[dev.RefreshStateByShardRequest]) (*connect.Response[dev.RefreshStateByShardResponse], error) { +func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[dev1.RefreshStateByShardRequest]) (*connect.Response[dev1.RefreshStateByShardResponse], error) { return c.refreshStateByShard.CallUnary(ctx, req) } // ReloadSchema calls vtctlservice.Vtctld.ReloadSchema. -func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) { +func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // ReloadSchemaKeyspace calls vtctlservice.Vtctld.ReloadSchemaKeyspace. -func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[dev.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev.ReloadSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[dev1.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev1.ReloadSchemaKeyspaceResponse], error) { return c.reloadSchemaKeyspace.CallUnary(ctx, req) } // ReloadSchemaShard calls vtctlservice.Vtctld.ReloadSchemaShard. -func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[dev.ReloadSchemaShardRequest]) (*connect.Response[dev.ReloadSchemaShardResponse], error) { +func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[dev1.ReloadSchemaShardRequest]) (*connect.Response[dev1.ReloadSchemaShardResponse], error) { return c.reloadSchemaShard.CallUnary(ctx, req) } // RemoveBackup calls vtctlservice.Vtctld.RemoveBackup. -func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[dev.RemoveBackupRequest]) (*connect.Response[dev.RemoveBackupResponse], error) { +func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[dev1.RemoveBackupRequest]) (*connect.Response[dev1.RemoveBackupResponse], error) { return c.removeBackup.CallUnary(ctx, req) } // RemoveKeyspaceCell calls vtctlservice.Vtctld.RemoveKeyspaceCell. -func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[dev.RemoveKeyspaceCellRequest]) (*connect.Response[dev.RemoveKeyspaceCellResponse], error) { +func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[dev1.RemoveKeyspaceCellRequest]) (*connect.Response[dev1.RemoveKeyspaceCellResponse], error) { return c.removeKeyspaceCell.CallUnary(ctx, req) } // RemoveShardCell calls vtctlservice.Vtctld.RemoveShardCell. -func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[dev.RemoveShardCellRequest]) (*connect.Response[dev.RemoveShardCellResponse], error) { +func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[dev1.RemoveShardCellRequest]) (*connect.Response[dev1.RemoveShardCellResponse], error) { return c.removeShardCell.CallUnary(ctx, req) } // ReparentTablet calls vtctlservice.Vtctld.ReparentTablet. -func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[dev.ReparentTabletRequest]) (*connect.Response[dev.ReparentTabletResponse], error) { +func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[dev1.ReparentTabletRequest]) (*connect.Response[dev1.ReparentTabletResponse], error) { return c.reparentTablet.CallUnary(ctx, req) } // ReshardCreate calls vtctlservice.Vtctld.ReshardCreate. -func (c *vtctldClient) ReshardCreate(ctx context.Context, req *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (c *vtctldClient) ReshardCreate(ctx context.Context, req *connect.Request[dev1.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return c.reshardCreate.CallUnary(ctx, req) } // RestoreFromBackup calls vtctlservice.Vtctld.RestoreFromBackup. -func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[dev.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev.RestoreFromBackupResponse], error) { +func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[dev1.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[dev1.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } // RetrySchemaMigration calls vtctlservice.Vtctld.RetrySchemaMigration. -func (c *vtctldClient) RetrySchemaMigration(ctx context.Context, req *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev.RetrySchemaMigrationResponse], error) { +func (c *vtctldClient) RetrySchemaMigration(ctx context.Context, req *connect.Request[dev1.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) { return c.retrySchemaMigration.CallUnary(ctx, req) } // RunHealthCheck calls vtctlservice.Vtctld.RunHealthCheck. -func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) { +func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // SetKeyspaceDurabilityPolicy calls vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy. -func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[dev.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev.SetKeyspaceDurabilityPolicyResponse], error) { +func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[dev1.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev1.SetKeyspaceDurabilityPolicyResponse], error) { return c.setKeyspaceDurabilityPolicy.CallUnary(ctx, req) } // SetShardIsPrimaryServing calls vtctlservice.Vtctld.SetShardIsPrimaryServing. -func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[dev.SetShardIsPrimaryServingRequest]) (*connect.Response[dev.SetShardIsPrimaryServingResponse], error) { +func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[dev1.SetShardIsPrimaryServingRequest]) (*connect.Response[dev1.SetShardIsPrimaryServingResponse], error) { return c.setShardIsPrimaryServing.CallUnary(ctx, req) } // SetShardTabletControl calls vtctlservice.Vtctld.SetShardTabletControl. -func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[dev.SetShardTabletControlRequest]) (*connect.Response[dev.SetShardTabletControlResponse], error) { +func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[dev1.SetShardTabletControlRequest]) (*connect.Response[dev1.SetShardTabletControlResponse], error) { return c.setShardTabletControl.CallUnary(ctx, req) } // SetWritable calls vtctlservice.Vtctld.SetWritable. -func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[dev.SetWritableRequest]) (*connect.Response[dev.SetWritableResponse], error) { +func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[dev1.SetWritableRequest]) (*connect.Response[dev1.SetWritableResponse], error) { return c.setWritable.CallUnary(ctx, req) } // ShardReplicationAdd calls vtctlservice.Vtctld.ShardReplicationAdd. -func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[dev.ShardReplicationAddRequest]) (*connect.Response[dev.ShardReplicationAddResponse], error) { +func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[dev1.ShardReplicationAddRequest]) (*connect.Response[dev1.ShardReplicationAddResponse], error) { return c.shardReplicationAdd.CallUnary(ctx, req) } // ShardReplicationFix calls vtctlservice.Vtctld.ShardReplicationFix. -func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[dev.ShardReplicationFixRequest]) (*connect.Response[dev.ShardReplicationFixResponse], error) { +func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[dev1.ShardReplicationFixRequest]) (*connect.Response[dev1.ShardReplicationFixResponse], error) { return c.shardReplicationFix.CallUnary(ctx, req) } // ShardReplicationPositions calls vtctlservice.Vtctld.ShardReplicationPositions. -func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[dev.ShardReplicationPositionsRequest]) (*connect.Response[dev.ShardReplicationPositionsResponse], error) { +func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[dev1.ShardReplicationPositionsRequest]) (*connect.Response[dev1.ShardReplicationPositionsResponse], error) { return c.shardReplicationPositions.CallUnary(ctx, req) } // ShardReplicationRemove calls vtctlservice.Vtctld.ShardReplicationRemove. -func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[dev.ShardReplicationRemoveRequest]) (*connect.Response[dev.ShardReplicationRemoveResponse], error) { +func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[dev1.ShardReplicationRemoveRequest]) (*connect.Response[dev1.ShardReplicationRemoveResponse], error) { return c.shardReplicationRemove.CallUnary(ctx, req) } // SleepTablet calls vtctlservice.Vtctld.SleepTablet. -func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[dev.SleepTabletRequest]) (*connect.Response[dev.SleepTabletResponse], error) { +func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[dev1.SleepTabletRequest]) (*connect.Response[dev1.SleepTabletResponse], error) { return c.sleepTablet.CallUnary(ctx, req) } // SourceShardAdd calls vtctlservice.Vtctld.SourceShardAdd. -func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[dev.SourceShardAddRequest]) (*connect.Response[dev.SourceShardAddResponse], error) { +func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[dev1.SourceShardAddRequest]) (*connect.Response[dev1.SourceShardAddResponse], error) { return c.sourceShardAdd.CallUnary(ctx, req) } // SourceShardDelete calls vtctlservice.Vtctld.SourceShardDelete. -func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[dev.SourceShardDeleteRequest]) (*connect.Response[dev.SourceShardDeleteResponse], error) { +func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[dev1.SourceShardDeleteRequest]) (*connect.Response[dev1.SourceShardDeleteResponse], error) { return c.sourceShardDelete.CallUnary(ctx, req) } // StartReplication calls vtctlservice.Vtctld.StartReplication. -func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) { +func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StopReplication calls vtctlservice.Vtctld.StopReplication. -func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) { +func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // TabletExternallyReparented calls vtctlservice.Vtctld.TabletExternallyReparented. -func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[dev.TabletExternallyReparentedRequest]) (*connect.Response[dev.TabletExternallyReparentedResponse], error) { +func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[dev1.TabletExternallyReparentedRequest]) (*connect.Response[dev1.TabletExternallyReparentedResponse], error) { return c.tabletExternallyReparented.CallUnary(ctx, req) } // UpdateCellInfo calls vtctlservice.Vtctld.UpdateCellInfo. -func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[dev.UpdateCellInfoRequest]) (*connect.Response[dev.UpdateCellInfoResponse], error) { +func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[dev1.UpdateCellInfoRequest]) (*connect.Response[dev1.UpdateCellInfoResponse], error) { return c.updateCellInfo.CallUnary(ctx, req) } // UpdateCellsAlias calls vtctlservice.Vtctld.UpdateCellsAlias. -func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[dev.UpdateCellsAliasRequest]) (*connect.Response[dev.UpdateCellsAliasResponse], error) { +func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[dev1.UpdateCellsAliasRequest]) (*connect.Response[dev1.UpdateCellsAliasResponse], error) { return c.updateCellsAlias.CallUnary(ctx, req) } // Validate calls vtctlservice.Vtctld.Validate. -func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[dev.ValidateRequest]) (*connect.Response[dev.ValidateResponse], error) { +func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[dev1.ValidateRequest]) (*connect.Response[dev1.ValidateResponse], error) { return c.validate.CallUnary(ctx, req) } // ValidateKeyspace calls vtctlservice.Vtctld.ValidateKeyspace. -func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[dev.ValidateKeyspaceRequest]) (*connect.Response[dev.ValidateKeyspaceResponse], error) { +func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[dev1.ValidateKeyspaceRequest]) (*connect.Response[dev1.ValidateKeyspaceResponse], error) { return c.validateKeyspace.CallUnary(ctx, req) } // ValidateSchemaKeyspace calls vtctlservice.Vtctld.ValidateSchemaKeyspace. -func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[dev.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev.ValidateSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[dev1.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev1.ValidateSchemaKeyspaceResponse], error) { return c.validateSchemaKeyspace.CallUnary(ctx, req) } // ValidateShard calls vtctlservice.Vtctld.ValidateShard. -func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[dev.ValidateShardRequest]) (*connect.Response[dev.ValidateShardResponse], error) { +func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[dev1.ValidateShardRequest]) (*connect.Response[dev1.ValidateShardResponse], error) { return c.validateShard.CallUnary(ctx, req) } // ValidateVersionKeyspace calls vtctlservice.Vtctld.ValidateVersionKeyspace. -func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[dev.ValidateVersionKeyspaceRequest]) (*connect.Response[dev.ValidateVersionKeyspaceResponse], error) { +func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[dev1.ValidateVersionKeyspaceRequest]) (*connect.Response[dev1.ValidateVersionKeyspaceResponse], error) { return c.validateVersionKeyspace.CallUnary(ctx, req) } // ValidateVersionShard calls vtctlservice.Vtctld.ValidateVersionShard. -func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[dev.ValidateVersionShardRequest]) (*connect.Response[dev.ValidateVersionShardResponse], error) { +func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[dev1.ValidateVersionShardRequest]) (*connect.Response[dev1.ValidateVersionShardResponse], error) { return c.validateVersionShard.CallUnary(ctx, req) } // ValidateVSchema calls vtctlservice.Vtctld.ValidateVSchema. -func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[dev.ValidateVSchemaRequest]) (*connect.Response[dev.ValidateVSchemaResponse], error) { +func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[dev1.ValidateVSchemaRequest]) (*connect.Response[dev1.ValidateVSchemaResponse], error) { return c.validateVSchema.CallUnary(ctx, req) } // VDiffCreate calls vtctlservice.Vtctld.VDiffCreate. -func (c *vtctldClient) VDiffCreate(ctx context.Context, req *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev.VDiffCreateResponse], error) { +func (c *vtctldClient) VDiffCreate(ctx context.Context, req *connect.Request[dev1.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) { return c.vDiffCreate.CallUnary(ctx, req) } // VDiffDelete calls vtctlservice.Vtctld.VDiffDelete. -func (c *vtctldClient) VDiffDelete(ctx context.Context, req *connect.Request[dev.VDiffDeleteRequest]) (*connect.Response[dev.VDiffDeleteResponse], error) { +func (c *vtctldClient) VDiffDelete(ctx context.Context, req *connect.Request[dev1.VDiffDeleteRequest]) (*connect.Response[dev1.VDiffDeleteResponse], error) { return c.vDiffDelete.CallUnary(ctx, req) } // VDiffResume calls vtctlservice.Vtctld.VDiffResume. -func (c *vtctldClient) VDiffResume(ctx context.Context, req *connect.Request[dev.VDiffResumeRequest]) (*connect.Response[dev.VDiffResumeResponse], error) { +func (c *vtctldClient) VDiffResume(ctx context.Context, req *connect.Request[dev1.VDiffResumeRequest]) (*connect.Response[dev1.VDiffResumeResponse], error) { return c.vDiffResume.CallUnary(ctx, req) } // VDiffShow calls vtctlservice.Vtctld.VDiffShow. -func (c *vtctldClient) VDiffShow(ctx context.Context, req *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) { +func (c *vtctldClient) VDiffShow(ctx context.Context, req *connect.Request[dev1.VDiffShowRequest]) (*connect.Response[dev1.VDiffShowResponse], error) { return c.vDiffShow.CallUnary(ctx, req) } // VDiffStop calls vtctlservice.Vtctld.VDiffStop. -func (c *vtctldClient) VDiffStop(ctx context.Context, req *connect.Request[dev.VDiffStopRequest]) (*connect.Response[dev.VDiffStopResponse], error) { +func (c *vtctldClient) VDiffStop(ctx context.Context, req *connect.Request[dev1.VDiffStopRequest]) (*connect.Response[dev1.VDiffStopResponse], error) { return c.vDiffStop.CallUnary(ctx, req) } // WorkflowDelete calls vtctlservice.Vtctld.WorkflowDelete. -func (c *vtctldClient) WorkflowDelete(ctx context.Context, req *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev.WorkflowDeleteResponse], error) { +func (c *vtctldClient) WorkflowDelete(ctx context.Context, req *connect.Request[dev1.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) { return c.workflowDelete.CallUnary(ctx, req) } // WorkflowStatus calls vtctlservice.Vtctld.WorkflowStatus. -func (c *vtctldClient) WorkflowStatus(ctx context.Context, req *connect.Request[dev.WorkflowStatusRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (c *vtctldClient) WorkflowStatus(ctx context.Context, req *connect.Request[dev1.WorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return c.workflowStatus.CallUnary(ctx, req) } // WorkflowSwitchTraffic calls vtctlservice.Vtctld.WorkflowSwitchTraffic. -func (c *vtctldClient) WorkflowSwitchTraffic(ctx context.Context, req *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev.WorkflowSwitchTrafficResponse], error) { +func (c *vtctldClient) WorkflowSwitchTraffic(ctx context.Context, req *connect.Request[dev1.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) { return c.workflowSwitchTraffic.CallUnary(ctx, req) } // WorkflowUpdate calls vtctlservice.Vtctld.WorkflowUpdate. -func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[dev.WorkflowUpdateRequest]) (*connect.Response[dev.WorkflowUpdateResponse], error) { +func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[dev1.WorkflowUpdateRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) { return c.workflowUpdate.CallUnary(ctx, req) } +// GetMirrorRules calls vtctlservice.Vtctld.GetMirrorRules. +func (c *vtctldClient) GetMirrorRules(ctx context.Context, req *connect.Request[dev1.GetMirrorRulesRequest]) (*connect.Response[dev1.GetMirrorRulesResponse], error) { + return c.getMirrorRules.CallUnary(ctx, req) +} + +// WorkflowMirrorTraffic calls vtctlservice.Vtctld.WorkflowMirrorTraffic. +func (c *vtctldClient) WorkflowMirrorTraffic(ctx context.Context, req *connect.Request[dev1.WorkflowMirrorTrafficRequest]) (*connect.Response[dev1.WorkflowMirrorTrafficResponse], error) { + return c.workflowMirrorTraffic.CallUnary(ctx, req) +} + // VtctldHandler is an implementation of the vtctlservice.Vtctld service. type VtctldHandler interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[dev.AddCellInfoRequest]) (*connect.Response[dev.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[dev1.AddCellInfoRequest]) (*connect.Response[dev1.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[dev.AddCellsAliasRequest]) (*connect.Response[dev.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[dev1.AddCellsAliasRequest]) (*connect.Response[dev1.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[dev.ApplyRoutingRulesRequest]) (*connect.Response[dev.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[dev1.ApplyRoutingRulesRequest]) (*connect.Response[dev1.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) + // ApplyKeyspaceRoutingRules applies the VSchema keyspace routing rules. + ApplyKeyspaceRoutingRules(context.Context, *connect.Request[dev1.ApplyKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.ApplyKeyspaceRoutingRulesResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[dev.ApplyShardRoutingRulesRequest]) (*connect.Response[dev.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[dev1.ApplyShardRoutingRulesRequest]) (*connect.Response[dev1.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[dev.ApplyVSchemaRequest]) (*connect.Response[dev.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[dev1.ApplyVSchemaRequest]) (*connect.Response[dev1.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[dev.BackupRequest], *connect.ServerStream[dev.BackupResponse]) error + Backup(context.Context, *connect.Request[dev1.BackupRequest], *connect.ServerStream[dev1.BackupResponse]) error // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[dev.BackupShardRequest], *connect.ServerStream[dev.BackupResponse]) error - // CancelSchemaMigration cancels one or all migrations, terminating any runnign ones as needed. - CancelSchemaMigration(context.Context, *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev.CancelSchemaMigrationResponse], error) + BackupShard(context.Context, *connect.Request[dev1.BackupShardRequest], *connect.ServerStream[dev1.BackupResponse]) error + // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[dev1.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) + // ChangeTabletTags changes the tags of the specified tablet, if possible. + ChangeTabletTags(context.Context, *connect.Request[dev1.ChangeTabletTagsRequest]) (*connect.Response[dev1.ChangeTabletTagsResponse], error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[dev.ChangeTabletTypeRequest]) (*connect.Response[dev.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[dev1.ChangeTabletTypeRequest]) (*connect.Response[dev1.ChangeTabletTypeResponse], error) + // CheckThrottler issues a 'check' on a tablet's throttler + CheckThrottler(context.Context, *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. - CleanupSchemaMigration(context.Context, *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev.CleanupSchemaMigrationResponse], error) + CleanupSchemaMigration(context.Context, *connect.Request[dev1.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. + CompleteSchemaMigration(context.Context, *connect.Request[dev1.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. - CompleteSchemaMigration(context.Context, *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev.CompleteSchemaMigrationResponse], error) + ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[dev.CreateKeyspaceRequest]) (*connect.Response[dev.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[dev1.CreateKeyspaceRequest]) (*connect.Response[dev1.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[dev.CreateShardRequest]) (*connect.Response[dev.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[dev1.CreateShardRequest]) (*connect.Response[dev1.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[dev.DeleteCellInfoRequest]) (*connect.Response[dev.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[dev1.DeleteCellInfoRequest]) (*connect.Response[dev1.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[dev.DeleteCellsAliasRequest]) (*connect.Response[dev.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[dev1.DeleteCellsAliasRequest]) (*connect.Response[dev1.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[dev.DeleteKeyspaceRequest]) (*connect.Response[dev.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[dev1.DeleteKeyspaceRequest]) (*connect.Response[dev1.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[dev.DeleteShardsRequest]) (*connect.Response[dev.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[dev1.DeleteShardsRequest]) (*connect.Response[dev1.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[dev.DeleteSrvVSchemaRequest]) (*connect.Response[dev.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[dev1.DeleteSrvVSchemaRequest]) (*connect.Response[dev1.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[dev.DeleteTabletsRequest]) (*connect.Response[dev.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[dev1.DeleteTabletsRequest]) (*connect.Response[dev1.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[dev.EmergencyReparentShardRequest]) (*connect.Response[dev.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[dev1.EmergencyReparentShardRequest]) (*connect.Response[dev1.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[dev.ExecuteFetchAsDBARequest]) (*connect.Response[dev.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[dev1.ExecuteFetchAsDBARequest]) (*connect.Response[dev1.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) + // ExecuteMultiFetchAsDBA executes one or more SQL queries on the remote tablet as the DBA user. + ExecuteMultiFetchAsDBA(context.Context, *connect.Request[dev1.ExecuteMultiFetchAsDBARequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDBAResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[dev.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[dev1.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev1.FindAllShardsInKeyspaceResponse], error) + // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. + ForceCutOverSchemaMigration(context.Context, *connect.Request[dev1.ForceCutOverSchemaMigrationRequest]) (*connect.Response[dev1.ForceCutOverSchemaMigrationResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[dev.GetBackupsRequest]) (*connect.Response[dev.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[dev1.GetBackupsRequest]) (*connect.Response[dev1.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[dev.GetCellInfoRequest]) (*connect.Response[dev.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[dev1.GetCellInfoRequest]) (*connect.Response[dev1.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[dev.GetCellInfoNamesRequest]) (*connect.Response[dev.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[dev1.GetCellInfoNamesRequest]) (*connect.Response[dev1.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[dev.GetCellsAliasesRequest]) (*connect.Response[dev.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[dev1.GetCellsAliasesRequest]) (*connect.Response[dev1.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[dev.GetFullStatusRequest]) (*connect.Response[dev.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[dev1.GetFullStatusRequest]) (*connect.Response[dev1.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[dev.GetKeyspaceRequest]) (*connect.Response[dev.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[dev1.GetKeyspaceRequest]) (*connect.Response[dev1.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[dev.GetKeyspacesRequest]) (*connect.Response[dev.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[dev1.GetKeyspacesRequest]) (*connect.Response[dev1.GetKeyspacesResponse], error) + // GetKeyspaceRoutingRules returns the VSchema keyspace routing rules. + GetKeyspaceRoutingRules(context.Context, *connect.Request[dev1.GetKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.GetKeyspaceRoutingRulesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[dev.GetRoutingRulesRequest]) (*connect.Response[dev.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[dev1.GetRoutingRulesRequest]) (*connect.Response[dev1.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) // GetSchemaMigrations returns one or more online schema migrations for the // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. // // Different fields in the request message result in different filtering // behaviors. See the documentation on GetSchemaMigrationsRequest for details. - GetSchemaMigrations(context.Context, *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) + GetSchemaMigrations(context.Context, *connect.Request[dev1.GetSchemaMigrationsRequest]) (*connect.Response[dev1.GetSchemaMigrationsResponse], error) + // GetShardReplication returns the replication graph for a shard in a cell. + GetShardReplication(context.Context, *connect.Request[dev1.GetShardReplicationRequest]) (*connect.Response[dev1.GetShardReplicationResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[dev.GetShardRequest]) (*connect.Response[dev.GetShardResponse], error) + GetShard(context.Context, *connect.Request[dev1.GetShardRequest]) (*connect.Response[dev1.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[dev.GetShardRoutingRulesRequest]) (*connect.Response[dev.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[dev1.GetShardRoutingRulesRequest]) (*connect.Response[dev1.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[dev.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[dev1.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev1.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[dev.GetSrvKeyspacesRequest]) (*connect.Response[dev.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[dev1.GetSrvKeyspacesRequest]) (*connect.Response[dev1.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[dev.UpdateThrottlerConfigRequest]) (*connect.Response[dev.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[dev1.UpdateThrottlerConfigRequest]) (*connect.Response[dev1.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[dev.GetSrvVSchemaRequest]) (*connect.Response[dev.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[dev1.GetSrvVSchemaRequest]) (*connect.Response[dev1.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[dev.GetSrvVSchemasRequest]) (*connect.Response[dev.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[dev1.GetSrvVSchemasRequest]) (*connect.Response[dev1.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[dev.GetTabletRequest]) (*connect.Response[dev.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[dev1.GetTabletRequest]) (*connect.Response[dev1.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[dev.GetTabletsRequest]) (*connect.Response[dev.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[dev1.GetTabletsRequest]) (*connect.Response[dev1.GetTabletsResponse], error) + // GetThrottlerStatus gets the status of a tablet throttler + GetThrottlerStatus(context.Context, *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[dev.GetTopologyPathRequest]) (*connect.Response[dev.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[dev1.GetTopologyPathRequest]) (*connect.Response[dev1.GetTopologyPathResponse], error) + // GetTransactionInfo reads a given transactions information. + GetTransactionInfo(context.Context, *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) + // GetTransactions returns the unresolved transactions for the request. + GetUnresolvedTransactions(context.Context, *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[dev.GetVersionRequest]) (*connect.Response[dev.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[dev1.GetVersionRequest]) (*connect.Response[dev1.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[dev1.GetVSchemaRequest]) (*connect.Response[dev1.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[dev.GetWorkflowsRequest]) (*connect.Response[dev.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[dev1.GetWorkflowsRequest]) (*connect.Response[dev1.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[dev.InitShardPrimaryRequest]) (*connect.Response[dev.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[dev1.InitShardPrimaryRequest]) (*connect.Response[dev1.InitShardPrimaryResponse], error) // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. - LaunchSchemaMigration(context.Context, *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev.LaunchSchemaMigrationResponse], error) - LookupVindexCreate(context.Context, *connect.Request[dev.LookupVindexCreateRequest]) (*connect.Response[dev.LookupVindexCreateResponse], error) - LookupVindexExternalize(context.Context, *connect.Request[dev.LookupVindexExternalizeRequest]) (*connect.Response[dev.LookupVindexExternalizeResponse], error) + LaunchSchemaMigration(context.Context, *connect.Request[dev1.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) + LookupVindexCreate(context.Context, *connect.Request[dev1.LookupVindexCreateRequest]) (*connect.Response[dev1.LookupVindexCreateResponse], error) + LookupVindexExternalize(context.Context, *connect.Request[dev1.LookupVindexExternalizeRequest]) (*connect.Response[dev1.LookupVindexExternalizeResponse], error) // MaterializeCreate creates a workflow to materialize one or more tables // from a source keyspace to a target keyspace using a provided expressions. - MaterializeCreate(context.Context, *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev.MaterializeCreateResponse], error) + MaterializeCreate(context.Context, *connect.Request[dev1.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) // MigrateCreate creates a workflow which migrates one or more tables from an // external cluster into Vitess. - MigrateCreate(context.Context, *connect.Request[dev.MigrateCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) + MigrateCreate(context.Context, *connect.Request[dev1.MigrateCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // MountRegister registers a new external Vitess cluster. - MountRegister(context.Context, *connect.Request[dev.MountRegisterRequest]) (*connect.Response[dev.MountRegisterResponse], error) + MountRegister(context.Context, *connect.Request[dev1.MountRegisterRequest]) (*connect.Response[dev1.MountRegisterResponse], error) // MountUnregister unregisters an external Vitess cluster. - MountUnregister(context.Context, *connect.Request[dev.MountUnregisterRequest]) (*connect.Response[dev.MountUnregisterResponse], error) + MountUnregister(context.Context, *connect.Request[dev1.MountUnregisterRequest]) (*connect.Response[dev1.MountUnregisterResponse], error) // MountShow returns information about an external Vitess cluster. - MountShow(context.Context, *connect.Request[dev.MountShowRequest]) (*connect.Response[dev.MountShowResponse], error) + MountShow(context.Context, *connect.Request[dev1.MountShowRequest]) (*connect.Response[dev1.MountShowResponse], error) // MountList lists all registered external Vitess clusters. - MountList(context.Context, *connect.Request[dev.MountListRequest]) (*connect.Response[dev.MountListResponse], error) + MountList(context.Context, *connect.Request[dev1.MountListRequest]) (*connect.Response[dev1.MountListResponse], error) // MoveTablesCreate creates a workflow which moves one or more tables from a // source keyspace to a target keyspace. - MoveTablesCreate(context.Context, *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) + MoveTablesCreate(context.Context, *connect.Request[dev1.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // MoveTablesComplete completes the move and cleans up the workflow and // its related artifacts. - MoveTablesComplete(context.Context, *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev.MoveTablesCompleteResponse], error) + MoveTablesComplete(context.Context, *connect.Request[dev1.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[dev1.PingTabletRequest]) (*connect.Response[dev1.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -2101,148 +2582,151 @@ type VtctldHandler interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[dev.PlannedReparentShardRequest]) (*connect.Response[dev.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[dev1.PlannedReparentShardRequest]) (*connect.Response[dev1.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[dev.RebuildKeyspaceGraphRequest]) (*connect.Response[dev.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[dev1.RebuildKeyspaceGraphRequest]) (*connect.Response[dev1.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[dev.RebuildVSchemaGraphRequest]) (*connect.Response[dev.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[dev1.RebuildVSchemaGraphRequest]) (*connect.Response[dev1.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[dev.RefreshStateByShardRequest]) (*connect.Response[dev.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[dev1.RefreshStateByShardRequest]) (*connect.Response[dev1.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[dev.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[dev1.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev1.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[dev.ReloadSchemaShardRequest]) (*connect.Response[dev.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[dev1.ReloadSchemaShardRequest]) (*connect.Response[dev1.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[dev.RemoveBackupRequest]) (*connect.Response[dev.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[dev1.RemoveBackupRequest]) (*connect.Response[dev1.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[dev.RemoveKeyspaceCellRequest]) (*connect.Response[dev.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[dev1.RemoveKeyspaceCellRequest]) (*connect.Response[dev1.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[dev.RemoveShardCellRequest]) (*connect.Response[dev.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[dev1.RemoveShardCellRequest]) (*connect.Response[dev1.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[dev.ReparentTabletRequest]) (*connect.Response[dev.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[dev1.ReparentTabletRequest]) (*connect.Response[dev1.ReparentTabletResponse], error) // ReshardCreate creates a workflow to reshard a keyspace. - ReshardCreate(context.Context, *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) + ReshardCreate(context.Context, *connect.Request[dev1.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[dev.RestoreFromBackupRequest], *connect.ServerStream[dev.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[dev1.RestoreFromBackupRequest], *connect.ServerStream[dev1.RestoreFromBackupResponse]) error // RetrySchemaMigration marks a given schema migration for retry. - RetrySchemaMigration(context.Context, *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev.RetrySchemaMigrationResponse], error) + RetrySchemaMigration(context.Context, *connect.Request[dev1.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[dev.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[dev1.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev1.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[dev.SetShardIsPrimaryServingRequest]) (*connect.Response[dev.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[dev1.SetShardIsPrimaryServingRequest]) (*connect.Response[dev1.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[dev.SetShardTabletControlRequest]) (*connect.Response[dev.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[dev1.SetShardTabletControlRequest]) (*connect.Response[dev1.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[dev.SetWritableRequest]) (*connect.Response[dev.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[dev1.SetWritableRequest]) (*connect.Response[dev1.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[dev.ShardReplicationAddRequest]) (*connect.Response[dev.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[dev1.ShardReplicationAddRequest]) (*connect.Response[dev1.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[dev.ShardReplicationFixRequest]) (*connect.Response[dev.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[dev1.ShardReplicationFixRequest]) (*connect.Response[dev1.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[dev.ShardReplicationPositionsRequest]) (*connect.Response[dev.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[dev1.ShardReplicationPositionsRequest]) (*connect.Response[dev1.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[dev.ShardReplicationRemoveRequest]) (*connect.Response[dev.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[dev1.ShardReplicationRemoveRequest]) (*connect.Response[dev1.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[dev.SleepTabletRequest]) (*connect.Response[dev.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[dev1.SleepTabletRequest]) (*connect.Response[dev1.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[dev.SourceShardAddRequest]) (*connect.Response[dev.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[dev1.SourceShardAddRequest]) (*connect.Response[dev1.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[dev.SourceShardDeleteRequest]) (*connect.Response[dev.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[dev1.SourceShardDeleteRequest]) (*connect.Response[dev1.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[dev.TabletExternallyReparentedRequest]) (*connect.Response[dev.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[dev1.TabletExternallyReparentedRequest]) (*connect.Response[dev1.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[dev.UpdateCellInfoRequest]) (*connect.Response[dev.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[dev1.UpdateCellInfoRequest]) (*connect.Response[dev1.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[dev.UpdateCellsAliasRequest]) (*connect.Response[dev.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[dev1.UpdateCellsAliasRequest]) (*connect.Response[dev1.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[dev.ValidateRequest]) (*connect.Response[dev.ValidateResponse], error) + Validate(context.Context, *connect.Request[dev1.ValidateRequest]) (*connect.Response[dev1.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[dev.ValidateKeyspaceRequest]) (*connect.Response[dev.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[dev1.ValidateKeyspaceRequest]) (*connect.Response[dev1.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[dev.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[dev1.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev1.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[dev.ValidateShardRequest]) (*connect.Response[dev.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[dev1.ValidateShardRequest]) (*connect.Response[dev1.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[dev.ValidateVersionKeyspaceRequest]) (*connect.Response[dev.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[dev1.ValidateVersionKeyspaceRequest]) (*connect.Response[dev1.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[dev.ValidateVersionShardRequest]) (*connect.Response[dev.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[dev1.ValidateVersionShardRequest]) (*connect.Response[dev1.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[dev.ValidateVSchemaRequest]) (*connect.Response[dev.ValidateVSchemaResponse], error) - VDiffCreate(context.Context, *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev.VDiffCreateResponse], error) - VDiffDelete(context.Context, *connect.Request[dev.VDiffDeleteRequest]) (*connect.Response[dev.VDiffDeleteResponse], error) - VDiffResume(context.Context, *connect.Request[dev.VDiffResumeRequest]) (*connect.Response[dev.VDiffResumeResponse], error) - VDiffShow(context.Context, *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) - VDiffStop(context.Context, *connect.Request[dev.VDiffStopRequest]) (*connect.Response[dev.VDiffStopResponse], error) + ValidateVSchema(context.Context, *connect.Request[dev1.ValidateVSchemaRequest]) (*connect.Response[dev1.ValidateVSchemaResponse], error) + VDiffCreate(context.Context, *connect.Request[dev1.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) + VDiffDelete(context.Context, *connect.Request[dev1.VDiffDeleteRequest]) (*connect.Response[dev1.VDiffDeleteResponse], error) + VDiffResume(context.Context, *connect.Request[dev1.VDiffResumeRequest]) (*connect.Response[dev1.VDiffResumeResponse], error) + VDiffShow(context.Context, *connect.Request[dev1.VDiffShowRequest]) (*connect.Response[dev1.VDiffShowResponse], error) + VDiffStop(context.Context, *connect.Request[dev1.VDiffStopRequest]) (*connect.Response[dev1.VDiffStopResponse], error) // WorkflowDelete deletes a vreplication workflow. - WorkflowDelete(context.Context, *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev.WorkflowDeleteResponse], error) - WorkflowStatus(context.Context, *connect.Request[dev.WorkflowStatusRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) - WorkflowSwitchTraffic(context.Context, *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev.WorkflowSwitchTrafficResponse], error) + WorkflowDelete(context.Context, *connect.Request[dev1.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) + WorkflowStatus(context.Context, *connect.Request[dev1.WorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) + WorkflowSwitchTraffic(context.Context, *connect.Request[dev1.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. - WorkflowUpdate(context.Context, *connect.Request[dev.WorkflowUpdateRequest]) (*connect.Response[dev.WorkflowUpdateResponse], error) + WorkflowUpdate(context.Context, *connect.Request[dev1.WorkflowUpdateRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) + // GetMirrorRules returns the VSchema routing rules. + GetMirrorRules(context.Context, *connect.Request[dev1.GetMirrorRulesRequest]) (*connect.Response[dev1.GetMirrorRulesResponse], error) + WorkflowMirrorTraffic(context.Context, *connect.Request[dev1.WorkflowMirrorTrafficRequest]) (*connect.Response[dev1.WorkflowMirrorTrafficResponse], error) } // NewVtctldHandler builds an HTTP handler from the service implementation. It returns the path on @@ -2254,552 +2738,740 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldAddCellInfoHandler := connect.NewUnaryHandler( VtctldAddCellInfoProcedure, svc.AddCellInfo, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldAddCellsAliasHandler := connect.NewUnaryHandler( VtctldAddCellsAliasProcedure, svc.AddCellsAlias, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyRoutingRulesProcedure, svc.ApplyRoutingRules, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplySchemaHandler := connect.NewUnaryHandler( VtctldApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldApplyKeyspaceRoutingRulesHandler := connect.NewUnaryHandler( + VtctldApplyKeyspaceRoutingRulesProcedure, + svc.ApplyKeyspaceRoutingRules, + connect.WithSchema(vtctldApplyKeyspaceRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyShardRoutingRulesProcedure, svc.ApplyShardRoutingRules, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyVSchemaHandler := connect.NewUnaryHandler( VtctldApplyVSchemaProcedure, svc.ApplyVSchema, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupHandler := connect.NewServerStreamHandler( VtctldBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupShardHandler := connect.NewServerStreamHandler( VtctldBackupShardProcedure, svc.BackupShard, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCancelSchemaMigrationHandler := connect.NewUnaryHandler( VtctldCancelSchemaMigrationProcedure, svc.CancelSchemaMigration, - opts..., + connect.WithSchema(vtctldCancelSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldChangeTabletTagsHandler := connect.NewUnaryHandler( + VtctldChangeTabletTagsProcedure, + svc.ChangeTabletTags, + connect.WithSchema(vtctldChangeTabletTagsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldChangeTabletTypeHandler := connect.NewUnaryHandler( VtctldChangeTabletTypeProcedure, svc.ChangeTabletType, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldCheckThrottlerHandler := connect.NewUnaryHandler( + VtctldCheckThrottlerProcedure, + svc.CheckThrottler, + connect.WithSchema(vtctldCheckThrottlerMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCleanupSchemaMigrationHandler := connect.NewUnaryHandler( VtctldCleanupSchemaMigrationProcedure, svc.CleanupSchemaMigration, - opts..., + connect.WithSchema(vtctldCleanupSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCompleteSchemaMigrationHandler := connect.NewUnaryHandler( VtctldCompleteSchemaMigrationProcedure, svc.CompleteSchemaMigration, - opts..., + connect.WithSchema(vtctldCompleteSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldConcludeTransactionHandler := connect.NewUnaryHandler( + VtctldConcludeTransactionProcedure, + svc.ConcludeTransaction, + connect.WithSchema(vtctldConcludeTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateKeyspaceHandler := connect.NewUnaryHandler( VtctldCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateShardHandler := connect.NewUnaryHandler( VtctldCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellInfoHandler := connect.NewUnaryHandler( VtctldDeleteCellInfoProcedure, svc.DeleteCellInfo, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellsAliasHandler := connect.NewUnaryHandler( VtctldDeleteCellsAliasProcedure, svc.DeleteCellsAlias, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteKeyspaceHandler := connect.NewUnaryHandler( VtctldDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteShardsHandler := connect.NewUnaryHandler( VtctldDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteSrvVSchemaHandler := connect.NewUnaryHandler( VtctldDeleteSrvVSchemaProcedure, svc.DeleteSrvVSchema, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteTabletsHandler := connect.NewUnaryHandler( VtctldDeleteTabletsProcedure, svc.DeleteTablets, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldEmergencyReparentShardHandler := connect.NewUnaryHandler( VtctldEmergencyReparentShardProcedure, svc.EmergencyReparentShard, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsAppHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsDBAHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsDBAProcedure, svc.ExecuteFetchAsDBA, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteHookHandler := connect.NewUnaryHandler( VtctldExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldExecuteMultiFetchAsDBAHandler := connect.NewUnaryHandler( + VtctldExecuteMultiFetchAsDBAProcedure, + svc.ExecuteMultiFetchAsDBA, + connect.WithSchema(vtctldExecuteMultiFetchAsDBAMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldFindAllShardsInKeyspaceHandler := connect.NewUnaryHandler( VtctldFindAllShardsInKeyspaceProcedure, svc.FindAllShardsInKeyspace, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldForceCutOverSchemaMigrationHandler := connect.NewUnaryHandler( + VtctldForceCutOverSchemaMigrationProcedure, + svc.ForceCutOverSchemaMigration, + connect.WithSchema(vtctldForceCutOverSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetBackupsHandler := connect.NewUnaryHandler( VtctldGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoHandler := connect.NewUnaryHandler( VtctldGetCellInfoProcedure, svc.GetCellInfo, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoNamesHandler := connect.NewUnaryHandler( VtctldGetCellInfoNamesProcedure, svc.GetCellInfoNames, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellsAliasesHandler := connect.NewUnaryHandler( VtctldGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetFullStatusHandler := connect.NewUnaryHandler( VtctldGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspaceHandler := connect.NewUnaryHandler( VtctldGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspacesHandler := connect.NewUnaryHandler( VtctldGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetKeyspaceRoutingRulesHandler := connect.NewUnaryHandler( + VtctldGetKeyspaceRoutingRulesProcedure, + svc.GetKeyspaceRoutingRules, + connect.WithSchema(vtctldGetKeyspaceRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetPermissionsHandler := connect.NewUnaryHandler( VtctldGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetRoutingRulesProcedure, svc.GetRoutingRules, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSchemaHandler := connect.NewUnaryHandler( VtctldGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSchemaMigrationsHandler := connect.NewUnaryHandler( VtctldGetSchemaMigrationsProcedure, svc.GetSchemaMigrations, - opts..., + connect.WithSchema(vtctldGetSchemaMigrationsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetShardReplicationHandler := connect.NewUnaryHandler( + VtctldGetShardReplicationProcedure, + svc.GetShardReplication, + connect.WithSchema(vtctldGetShardReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardHandler := connect.NewUnaryHandler( VtctldGetShardProcedure, svc.GetShard, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetShardRoutingRulesProcedure, svc.GetShardRoutingRules, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspaceNamesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspaceNamesProcedure, svc.GetSrvKeyspaceNames, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspacesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspacesProcedure, svc.GetSrvKeyspaces, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateThrottlerConfigHandler := connect.NewUnaryHandler( VtctldUpdateThrottlerConfigProcedure, svc.UpdateThrottlerConfig, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemaHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemasHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletHandler := connect.NewUnaryHandler( VtctldGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletsHandler := connect.NewUnaryHandler( VtctldGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetThrottlerStatusHandler := connect.NewUnaryHandler( + VtctldGetThrottlerStatusProcedure, + svc.GetThrottlerStatus, + connect.WithSchema(vtctldGetThrottlerStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTopologyPathHandler := connect.NewUnaryHandler( VtctldGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetTransactionInfoHandler := connect.NewUnaryHandler( + VtctldGetTransactionInfoProcedure, + svc.GetTransactionInfo, + connect.WithSchema(vtctldGetTransactionInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetUnresolvedTransactionsHandler := connect.NewUnaryHandler( + VtctldGetUnresolvedTransactionsProcedure, + svc.GetUnresolvedTransactions, + connect.WithSchema(vtctldGetUnresolvedTransactionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVersionHandler := connect.NewUnaryHandler( VtctldGetVersionProcedure, svc.GetVersion, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVSchemaHandler := connect.NewUnaryHandler( VtctldGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetWorkflowsHandler := connect.NewUnaryHandler( VtctldGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldInitShardPrimaryHandler := connect.NewUnaryHandler( VtctldInitShardPrimaryProcedure, svc.InitShardPrimary, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldLaunchSchemaMigrationHandler := connect.NewUnaryHandler( VtctldLaunchSchemaMigrationProcedure, svc.LaunchSchemaMigration, - opts..., + connect.WithSchema(vtctldLaunchSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldLookupVindexCreateHandler := connect.NewUnaryHandler( VtctldLookupVindexCreateProcedure, svc.LookupVindexCreate, - opts..., + connect.WithSchema(vtctldLookupVindexCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldLookupVindexExternalizeHandler := connect.NewUnaryHandler( VtctldLookupVindexExternalizeProcedure, svc.LookupVindexExternalize, - opts..., + connect.WithSchema(vtctldLookupVindexExternalizeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMaterializeCreateHandler := connect.NewUnaryHandler( VtctldMaterializeCreateProcedure, svc.MaterializeCreate, - opts..., + connect.WithSchema(vtctldMaterializeCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMigrateCreateHandler := connect.NewUnaryHandler( VtctldMigrateCreateProcedure, svc.MigrateCreate, - opts..., + connect.WithSchema(vtctldMigrateCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountRegisterHandler := connect.NewUnaryHandler( VtctldMountRegisterProcedure, svc.MountRegister, - opts..., + connect.WithSchema(vtctldMountRegisterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountUnregisterHandler := connect.NewUnaryHandler( VtctldMountUnregisterProcedure, svc.MountUnregister, - opts..., + connect.WithSchema(vtctldMountUnregisterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountShowHandler := connect.NewUnaryHandler( VtctldMountShowProcedure, svc.MountShow, - opts..., + connect.WithSchema(vtctldMountShowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountListHandler := connect.NewUnaryHandler( VtctldMountListProcedure, svc.MountList, - opts..., + connect.WithSchema(vtctldMountListMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMoveTablesCreateHandler := connect.NewUnaryHandler( VtctldMoveTablesCreateProcedure, svc.MoveTablesCreate, - opts..., + connect.WithSchema(vtctldMoveTablesCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMoveTablesCompleteHandler := connect.NewUnaryHandler( VtctldMoveTablesCompleteProcedure, svc.MoveTablesComplete, - opts..., + connect.WithSchema(vtctldMoveTablesCompleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPingTabletHandler := connect.NewUnaryHandler( VtctldPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPlannedReparentShardHandler := connect.NewUnaryHandler( VtctldPlannedReparentShardProcedure, svc.PlannedReparentShard, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VtctldRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildVSchemaGraphHandler := connect.NewUnaryHandler( VtctldRebuildVSchemaGraphProcedure, svc.RebuildVSchemaGraph, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateHandler := connect.NewUnaryHandler( VtctldRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateByShardHandler := connect.NewUnaryHandler( VtctldRefreshStateByShardProcedure, svc.RefreshStateByShard, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaHandler := connect.NewUnaryHandler( VtctldReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldReloadSchemaKeyspaceProcedure, svc.ReloadSchemaKeyspace, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaShardHandler := connect.NewUnaryHandler( VtctldReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveBackupHandler := connect.NewUnaryHandler( VtctldRemoveBackupProcedure, svc.RemoveBackup, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VtctldRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveShardCellHandler := connect.NewUnaryHandler( VtctldRemoveShardCellProcedure, svc.RemoveShardCell, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReparentTabletHandler := connect.NewUnaryHandler( VtctldReparentTabletProcedure, svc.ReparentTablet, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReshardCreateHandler := connect.NewUnaryHandler( VtctldReshardCreateProcedure, svc.ReshardCreate, - opts..., + connect.WithSchema(vtctldReshardCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRestoreFromBackupHandler := connect.NewServerStreamHandler( VtctldRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRetrySchemaMigrationHandler := connect.NewUnaryHandler( VtctldRetrySchemaMigrationProcedure, svc.RetrySchemaMigration, - opts..., + connect.WithSchema(vtctldRetrySchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRunHealthCheckHandler := connect.NewUnaryHandler( VtctldRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetKeyspaceDurabilityPolicyHandler := connect.NewUnaryHandler( VtctldSetKeyspaceDurabilityPolicyProcedure, svc.SetKeyspaceDurabilityPolicy, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardIsPrimaryServingHandler := connect.NewUnaryHandler( VtctldSetShardIsPrimaryServingProcedure, svc.SetShardIsPrimaryServing, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardTabletControlHandler := connect.NewUnaryHandler( VtctldSetShardTabletControlProcedure, svc.SetShardTabletControl, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetWritableHandler := connect.NewUnaryHandler( VtctldSetWritableProcedure, svc.SetWritable, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationAddHandler := connect.NewUnaryHandler( VtctldShardReplicationAddProcedure, svc.ShardReplicationAdd, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationFixHandler := connect.NewUnaryHandler( VtctldShardReplicationFixProcedure, svc.ShardReplicationFix, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationPositionsHandler := connect.NewUnaryHandler( VtctldShardReplicationPositionsProcedure, svc.ShardReplicationPositions, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationRemoveHandler := connect.NewUnaryHandler( VtctldShardReplicationRemoveProcedure, svc.ShardReplicationRemove, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSleepTabletHandler := connect.NewUnaryHandler( VtctldSleepTabletProcedure, svc.SleepTablet, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardAddHandler := connect.NewUnaryHandler( VtctldSourceShardAddProcedure, svc.SourceShardAdd, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardDeleteHandler := connect.NewUnaryHandler( VtctldSourceShardDeleteProcedure, svc.SourceShardDelete, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStartReplicationHandler := connect.NewUnaryHandler( VtctldStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStopReplicationHandler := connect.NewUnaryHandler( VtctldStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldTabletExternallyReparentedHandler := connect.NewUnaryHandler( VtctldTabletExternallyReparentedProcedure, svc.TabletExternallyReparented, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellInfoHandler := connect.NewUnaryHandler( VtctldUpdateCellInfoProcedure, svc.UpdateCellInfo, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellsAliasHandler := connect.NewUnaryHandler( VtctldUpdateCellsAliasProcedure, svc.UpdateCellsAlias, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateHandler := connect.NewUnaryHandler( VtctldValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateShardHandler := connect.NewUnaryHandler( VtctldValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionShardHandler := connect.NewUnaryHandler( VtctldValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVSchemaHandler := connect.NewUnaryHandler( VtctldValidateVSchemaProcedure, svc.ValidateVSchema, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffCreateHandler := connect.NewUnaryHandler( VtctldVDiffCreateProcedure, svc.VDiffCreate, - opts..., + connect.WithSchema(vtctldVDiffCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffDeleteHandler := connect.NewUnaryHandler( VtctldVDiffDeleteProcedure, svc.VDiffDelete, - opts..., + connect.WithSchema(vtctldVDiffDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffResumeHandler := connect.NewUnaryHandler( VtctldVDiffResumeProcedure, svc.VDiffResume, - opts..., + connect.WithSchema(vtctldVDiffResumeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffShowHandler := connect.NewUnaryHandler( VtctldVDiffShowProcedure, svc.VDiffShow, - opts..., + connect.WithSchema(vtctldVDiffShowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffStopHandler := connect.NewUnaryHandler( VtctldVDiffStopProcedure, svc.VDiffStop, - opts..., + connect.WithSchema(vtctldVDiffStopMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowDeleteHandler := connect.NewUnaryHandler( VtctldWorkflowDeleteProcedure, svc.WorkflowDelete, - opts..., + connect.WithSchema(vtctldWorkflowDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowStatusHandler := connect.NewUnaryHandler( VtctldWorkflowStatusProcedure, svc.WorkflowStatus, - opts..., + connect.WithSchema(vtctldWorkflowStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowSwitchTrafficHandler := connect.NewUnaryHandler( VtctldWorkflowSwitchTrafficProcedure, svc.WorkflowSwitchTraffic, - opts..., + connect.WithSchema(vtctldWorkflowSwitchTrafficMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowUpdateHandler := connect.NewUnaryHandler( VtctldWorkflowUpdateProcedure, svc.WorkflowUpdate, - opts..., + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetMirrorRulesHandler := connect.NewUnaryHandler( + VtctldGetMirrorRulesProcedure, + svc.GetMirrorRules, + connect.WithSchema(vtctldGetMirrorRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldWorkflowMirrorTrafficHandler := connect.NewUnaryHandler( + VtctldWorkflowMirrorTrafficProcedure, + svc.WorkflowMirrorTraffic, + connect.WithSchema(vtctldWorkflowMirrorTrafficMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctld/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -2811,6 +3483,8 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldApplyRoutingRulesHandler.ServeHTTP(w, r) case VtctldApplySchemaProcedure: vtctldApplySchemaHandler.ServeHTTP(w, r) + case VtctldApplyKeyspaceRoutingRulesProcedure: + vtctldApplyKeyspaceRoutingRulesHandler.ServeHTTP(w, r) case VtctldApplyShardRoutingRulesProcedure: vtctldApplyShardRoutingRulesHandler.ServeHTTP(w, r) case VtctldApplyVSchemaProcedure: @@ -2821,12 +3495,18 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldBackupShardHandler.ServeHTTP(w, r) case VtctldCancelSchemaMigrationProcedure: vtctldCancelSchemaMigrationHandler.ServeHTTP(w, r) + case VtctldChangeTabletTagsProcedure: + vtctldChangeTabletTagsHandler.ServeHTTP(w, r) case VtctldChangeTabletTypeProcedure: vtctldChangeTabletTypeHandler.ServeHTTP(w, r) + case VtctldCheckThrottlerProcedure: + vtctldCheckThrottlerHandler.ServeHTTP(w, r) case VtctldCleanupSchemaMigrationProcedure: vtctldCleanupSchemaMigrationHandler.ServeHTTP(w, r) case VtctldCompleteSchemaMigrationProcedure: vtctldCompleteSchemaMigrationHandler.ServeHTTP(w, r) + case VtctldConcludeTransactionProcedure: + vtctldConcludeTransactionHandler.ServeHTTP(w, r) case VtctldCreateKeyspaceProcedure: vtctldCreateKeyspaceHandler.ServeHTTP(w, r) case VtctldCreateShardProcedure: @@ -2851,8 +3531,12 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldExecuteFetchAsDBAHandler.ServeHTTP(w, r) case VtctldExecuteHookProcedure: vtctldExecuteHookHandler.ServeHTTP(w, r) + case VtctldExecuteMultiFetchAsDBAProcedure: + vtctldExecuteMultiFetchAsDBAHandler.ServeHTTP(w, r) case VtctldFindAllShardsInKeyspaceProcedure: vtctldFindAllShardsInKeyspaceHandler.ServeHTTP(w, r) + case VtctldForceCutOverSchemaMigrationProcedure: + vtctldForceCutOverSchemaMigrationHandler.ServeHTTP(w, r) case VtctldGetBackupsProcedure: vtctldGetBackupsHandler.ServeHTTP(w, r) case VtctldGetCellInfoProcedure: @@ -2867,6 +3551,8 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldGetKeyspaceHandler.ServeHTTP(w, r) case VtctldGetKeyspacesProcedure: vtctldGetKeyspacesHandler.ServeHTTP(w, r) + case VtctldGetKeyspaceRoutingRulesProcedure: + vtctldGetKeyspaceRoutingRulesHandler.ServeHTTP(w, r) case VtctldGetPermissionsProcedure: vtctldGetPermissionsHandler.ServeHTTP(w, r) case VtctldGetRoutingRulesProcedure: @@ -2875,6 +3561,8 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldGetSchemaHandler.ServeHTTP(w, r) case VtctldGetSchemaMigrationsProcedure: vtctldGetSchemaMigrationsHandler.ServeHTTP(w, r) + case VtctldGetShardReplicationProcedure: + vtctldGetShardReplicationHandler.ServeHTTP(w, r) case VtctldGetShardProcedure: vtctldGetShardHandler.ServeHTTP(w, r) case VtctldGetShardRoutingRulesProcedure: @@ -2893,8 +3581,14 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldGetTabletHandler.ServeHTTP(w, r) case VtctldGetTabletsProcedure: vtctldGetTabletsHandler.ServeHTTP(w, r) + case VtctldGetThrottlerStatusProcedure: + vtctldGetThrottlerStatusHandler.ServeHTTP(w, r) case VtctldGetTopologyPathProcedure: vtctldGetTopologyPathHandler.ServeHTTP(w, r) + case VtctldGetTransactionInfoProcedure: + vtctldGetTransactionInfoHandler.ServeHTTP(w, r) + case VtctldGetUnresolvedTransactionsProcedure: + vtctldGetUnresolvedTransactionsHandler.ServeHTTP(w, r) case VtctldGetVersionProcedure: vtctldGetVersionHandler.ServeHTTP(w, r) case VtctldGetVSchemaProcedure: @@ -3023,6 +3717,10 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldWorkflowSwitchTrafficHandler.ServeHTTP(w, r) case VtctldWorkflowUpdateProcedure: vtctldWorkflowUpdateHandler.ServeHTTP(w, r) + case VtctldGetMirrorRulesProcedure: + vtctldGetMirrorRulesHandler.ServeHTTP(w, r) + case VtctldWorkflowMirrorTrafficProcedure: + vtctldWorkflowMirrorTrafficHandler.ServeHTTP(w, r) default: http.NotFound(w, r) } @@ -3032,442 +3730,494 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, // UnimplementedVtctldHandler returns CodeUnimplemented from all methods. type UnimplementedVtctldHandler struct{} -func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[dev.AddCellInfoRequest]) (*connect.Response[dev.AddCellInfoResponse], error) { +func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[dev1.AddCellInfoRequest]) (*connect.Response[dev1.AddCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[dev.AddCellsAliasRequest]) (*connect.Response[dev.AddCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[dev1.AddCellsAliasRequest]) (*connect.Response[dev1.AddCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[dev.ApplyRoutingRulesRequest]) (*connect.Response[dev.ApplyRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[dev1.ApplyRoutingRulesRequest]) (*connect.Response[dev1.ApplyRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[dev.ApplySchemaRequest]) (*connect.Response[dev.ApplySchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[dev1.ApplySchemaRequest]) (*connect.Response[dev1.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplySchema is not implemented")) } -func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[dev.ApplyShardRoutingRulesRequest]) (*connect.Response[dev.ApplyShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyKeyspaceRoutingRules(context.Context, *connect.Request[dev1.ApplyKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.ApplyKeyspaceRoutingRulesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyKeyspaceRoutingRules is not implemented")) +} + +func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[dev1.ApplyShardRoutingRulesRequest]) (*connect.Response[dev1.ApplyShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[dev.ApplyVSchemaRequest]) (*connect.Response[dev.ApplyVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[dev1.ApplyVSchemaRequest]) (*connect.Response[dev1.ApplyVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyVSchema is not implemented")) } -func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[dev.BackupRequest], *connect.ServerStream[dev.BackupResponse]) error { +func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[dev1.BackupRequest], *connect.ServerStream[dev1.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Backup is not implemented")) } -func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[dev.BackupShardRequest], *connect.ServerStream[dev.BackupResponse]) error { +func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[dev1.BackupShardRequest], *connect.ServerStream[dev1.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.BackupShard is not implemented")) } -func (UnimplementedVtctldHandler) CancelSchemaMigration(context.Context, *connect.Request[dev.CancelSchemaMigrationRequest]) (*connect.Response[dev.CancelSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) CancelSchemaMigration(context.Context, *connect.Request[dev1.CancelSchemaMigrationRequest]) (*connect.Response[dev1.CancelSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CancelSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[dev.ChangeTabletTypeRequest]) (*connect.Response[dev.ChangeTabletTypeResponse], error) { +func (UnimplementedVtctldHandler) ChangeTabletTags(context.Context, *connect.Request[dev1.ChangeTabletTagsRequest]) (*connect.Response[dev1.ChangeTabletTagsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ChangeTabletTags is not implemented")) +} + +func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[dev1.ChangeTabletTypeRequest]) (*connect.Response[dev1.ChangeTabletTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ChangeTabletType is not implemented")) } -func (UnimplementedVtctldHandler) CleanupSchemaMigration(context.Context, *connect.Request[dev.CleanupSchemaMigrationRequest]) (*connect.Response[dev.CleanupSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) CheckThrottler(context.Context, *connect.Request[dev1.CheckThrottlerRequest]) (*connect.Response[dev1.CheckThrottlerResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CheckThrottler is not implemented")) +} + +func (UnimplementedVtctldHandler) CleanupSchemaMigration(context.Context, *connect.Request[dev1.CleanupSchemaMigrationRequest]) (*connect.Response[dev1.CleanupSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CleanupSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) CompleteSchemaMigration(context.Context, *connect.Request[dev.CompleteSchemaMigrationRequest]) (*connect.Response[dev.CompleteSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) CompleteSchemaMigration(context.Context, *connect.Request[dev1.CompleteSchemaMigrationRequest]) (*connect.Response[dev1.CompleteSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CompleteSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[dev.CreateKeyspaceRequest]) (*connect.Response[dev.CreateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ConcludeTransaction(context.Context, *connect.Request[dev1.ConcludeTransactionRequest]) (*connect.Response[dev1.ConcludeTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ConcludeTransaction is not implemented")) +} + +func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[dev1.CreateKeyspaceRequest]) (*connect.Response[dev1.CreateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[dev.CreateShardRequest]) (*connect.Response[dev.CreateShardResponse], error) { +func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[dev1.CreateShardRequest]) (*connect.Response[dev1.CreateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateShard is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[dev.DeleteCellInfoRequest]) (*connect.Response[dev.DeleteCellInfoResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[dev1.DeleteCellInfoRequest]) (*connect.Response[dev1.DeleteCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[dev.DeleteCellsAliasRequest]) (*connect.Response[dev.DeleteCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[dev1.DeleteCellsAliasRequest]) (*connect.Response[dev1.DeleteCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[dev.DeleteKeyspaceRequest]) (*connect.Response[dev.DeleteKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[dev1.DeleteKeyspaceRequest]) (*connect.Response[dev1.DeleteKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[dev.DeleteShardsRequest]) (*connect.Response[dev.DeleteShardsResponse], error) { +func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[dev1.DeleteShardsRequest]) (*connect.Response[dev1.DeleteShardsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteShards is not implemented")) } -func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[dev.DeleteSrvVSchemaRequest]) (*connect.Response[dev.DeleteSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[dev1.DeleteSrvVSchemaRequest]) (*connect.Response[dev1.DeleteSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[dev.DeleteTabletsRequest]) (*connect.Response[dev.DeleteTabletsResponse], error) { +func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[dev1.DeleteTabletsRequest]) (*connect.Response[dev1.DeleteTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteTablets is not implemented")) } -func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[dev.EmergencyReparentShardRequest]) (*connect.Response[dev.EmergencyReparentShardResponse], error) { +func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[dev1.EmergencyReparentShardRequest]) (*connect.Response[dev1.EmergencyReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.EmergencyReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[dev.ExecuteFetchAsAppRequest]) (*connect.Response[dev.ExecuteFetchAsAppResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[dev1.ExecuteFetchAsAppRequest]) (*connect.Response[dev1.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[dev.ExecuteFetchAsDBARequest]) (*connect.Response[dev.ExecuteFetchAsDBAResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[dev1.ExecuteFetchAsDBARequest]) (*connect.Response[dev1.ExecuteFetchAsDBAResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsDBA is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[dev.ExecuteHookRequest]) (*connect.Response[dev.ExecuteHookResponse], error) { +func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[dev1.ExecuteHookRequest]) (*connect.Response[dev1.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteHook is not implemented")) } -func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[dev.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev.FindAllShardsInKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ExecuteMultiFetchAsDBA(context.Context, *connect.Request[dev1.ExecuteMultiFetchAsDBARequest]) (*connect.Response[dev1.ExecuteMultiFetchAsDBAResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteMultiFetchAsDBA is not implemented")) +} + +func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[dev1.FindAllShardsInKeyspaceRequest]) (*connect.Response[dev1.FindAllShardsInKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.FindAllShardsInKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[dev.GetBackupsRequest]) (*connect.Response[dev.GetBackupsResponse], error) { +func (UnimplementedVtctldHandler) ForceCutOverSchemaMigration(context.Context, *connect.Request[dev1.ForceCutOverSchemaMigrationRequest]) (*connect.Response[dev1.ForceCutOverSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ForceCutOverSchemaMigration is not implemented")) +} + +func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[dev1.GetBackupsRequest]) (*connect.Response[dev1.GetBackupsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetBackups is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[dev.GetCellInfoRequest]) (*connect.Response[dev.GetCellInfoResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[dev1.GetCellInfoRequest]) (*connect.Response[dev1.GetCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[dev.GetCellInfoNamesRequest]) (*connect.Response[dev.GetCellInfoNamesResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[dev1.GetCellInfoNamesRequest]) (*connect.Response[dev1.GetCellInfoNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfoNames is not implemented")) } -func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[dev.GetCellsAliasesRequest]) (*connect.Response[dev.GetCellsAliasesResponse], error) { +func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[dev1.GetCellsAliasesRequest]) (*connect.Response[dev1.GetCellsAliasesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellsAliases is not implemented")) } -func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[dev.GetFullStatusRequest]) (*connect.Response[dev.GetFullStatusResponse], error) { +func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[dev1.GetFullStatusRequest]) (*connect.Response[dev1.GetFullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetFullStatus is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[dev.GetKeyspaceRequest]) (*connect.Response[dev.GetKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[dev1.GetKeyspaceRequest]) (*connect.Response[dev1.GetKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[dev.GetKeyspacesRequest]) (*connect.Response[dev.GetKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[dev1.GetKeyspacesRequest]) (*connect.Response[dev1.GetKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[dev.GetPermissionsRequest]) (*connect.Response[dev.GetPermissionsResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspaceRoutingRules(context.Context, *connect.Request[dev1.GetKeyspaceRoutingRulesRequest]) (*connect.Response[dev1.GetKeyspaceRoutingRulesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspaceRoutingRules is not implemented")) +} + +func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[dev1.GetPermissionsRequest]) (*connect.Response[dev1.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetPermissions is not implemented")) } -func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[dev.GetRoutingRulesRequest]) (*connect.Response[dev.GetRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[dev1.GetRoutingRulesRequest]) (*connect.Response[dev1.GetRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[dev.GetSchemaRequest]) (*connect.Response[dev.GetSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[dev1.GetSchemaRequest]) (*connect.Response[dev1.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetSchemaMigrations(context.Context, *connect.Request[dev.GetSchemaMigrationsRequest]) (*connect.Response[dev.GetSchemaMigrationsResponse], error) { +func (UnimplementedVtctldHandler) GetSchemaMigrations(context.Context, *connect.Request[dev1.GetSchemaMigrationsRequest]) (*connect.Response[dev1.GetSchemaMigrationsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchemaMigrations is not implemented")) } -func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[dev.GetShardRequest]) (*connect.Response[dev.GetShardResponse], error) { +func (UnimplementedVtctldHandler) GetShardReplication(context.Context, *connect.Request[dev1.GetShardReplicationRequest]) (*connect.Response[dev1.GetShardReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShardReplication is not implemented")) +} + +func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[dev1.GetShardRequest]) (*connect.Response[dev1.GetShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShard is not implemented")) } -func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[dev.GetShardRoutingRulesRequest]) (*connect.Response[dev.GetShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[dev1.GetShardRoutingRulesRequest]) (*connect.Response[dev1.GetShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[dev.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev.GetSrvKeyspaceNamesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[dev1.GetSrvKeyspaceNamesRequest]) (*connect.Response[dev1.GetSrvKeyspaceNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaceNames is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[dev.GetSrvKeyspacesRequest]) (*connect.Response[dev.GetSrvKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[dev1.GetSrvKeyspacesRequest]) (*connect.Response[dev1.GetSrvKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[dev.UpdateThrottlerConfigRequest]) (*connect.Response[dev.UpdateThrottlerConfigResponse], error) { +func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[dev1.UpdateThrottlerConfigRequest]) (*connect.Response[dev1.UpdateThrottlerConfigResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateThrottlerConfig is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[dev.GetSrvVSchemaRequest]) (*connect.Response[dev.GetSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[dev1.GetSrvVSchemaRequest]) (*connect.Response[dev1.GetSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[dev.GetSrvVSchemasRequest]) (*connect.Response[dev.GetSrvVSchemasResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[dev1.GetSrvVSchemasRequest]) (*connect.Response[dev1.GetSrvVSchemasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchemas is not implemented")) } -func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[dev.GetTabletRequest]) (*connect.Response[dev.GetTabletResponse], error) { +func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[dev1.GetTabletRequest]) (*connect.Response[dev1.GetTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablet is not implemented")) } -func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[dev.GetTabletsRequest]) (*connect.Response[dev.GetTabletsResponse], error) { +func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[dev1.GetTabletsRequest]) (*connect.Response[dev1.GetTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablets is not implemented")) } -func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[dev.GetTopologyPathRequest]) (*connect.Response[dev.GetTopologyPathResponse], error) { +func (UnimplementedVtctldHandler) GetThrottlerStatus(context.Context, *connect.Request[dev1.GetThrottlerStatusRequest]) (*connect.Response[dev1.GetThrottlerStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetThrottlerStatus is not implemented")) +} + +func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[dev1.GetTopologyPathRequest]) (*connect.Response[dev1.GetTopologyPathResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTopologyPath is not implemented")) } -func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[dev.GetVersionRequest]) (*connect.Response[dev.GetVersionResponse], error) { +func (UnimplementedVtctldHandler) GetTransactionInfo(context.Context, *connect.Request[dev1.GetTransactionInfoRequest]) (*connect.Response[dev1.GetTransactionInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTransactionInfo is not implemented")) +} + +func (UnimplementedVtctldHandler) GetUnresolvedTransactions(context.Context, *connect.Request[dev1.GetUnresolvedTransactionsRequest]) (*connect.Response[dev1.GetUnresolvedTransactionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetUnresolvedTransactions is not implemented")) +} + +func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[dev1.GetVersionRequest]) (*connect.Response[dev1.GetVersionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVersion is not implemented")) } -func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[dev.GetVSchemaRequest]) (*connect.Response[dev.GetVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[dev1.GetVSchemaRequest]) (*connect.Response[dev1.GetVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[dev.GetWorkflowsRequest]) (*connect.Response[dev.GetWorkflowsResponse], error) { +func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[dev1.GetWorkflowsRequest]) (*connect.Response[dev1.GetWorkflowsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetWorkflows is not implemented")) } -func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[dev.InitShardPrimaryRequest]) (*connect.Response[dev.InitShardPrimaryResponse], error) { +func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[dev1.InitShardPrimaryRequest]) (*connect.Response[dev1.InitShardPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.InitShardPrimary is not implemented")) } -func (UnimplementedVtctldHandler) LaunchSchemaMigration(context.Context, *connect.Request[dev.LaunchSchemaMigrationRequest]) (*connect.Response[dev.LaunchSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) LaunchSchemaMigration(context.Context, *connect.Request[dev1.LaunchSchemaMigrationRequest]) (*connect.Response[dev1.LaunchSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LaunchSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) LookupVindexCreate(context.Context, *connect.Request[dev.LookupVindexCreateRequest]) (*connect.Response[dev.LookupVindexCreateResponse], error) { +func (UnimplementedVtctldHandler) LookupVindexCreate(context.Context, *connect.Request[dev1.LookupVindexCreateRequest]) (*connect.Response[dev1.LookupVindexCreateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LookupVindexCreate is not implemented")) } -func (UnimplementedVtctldHandler) LookupVindexExternalize(context.Context, *connect.Request[dev.LookupVindexExternalizeRequest]) (*connect.Response[dev.LookupVindexExternalizeResponse], error) { +func (UnimplementedVtctldHandler) LookupVindexExternalize(context.Context, *connect.Request[dev1.LookupVindexExternalizeRequest]) (*connect.Response[dev1.LookupVindexExternalizeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LookupVindexExternalize is not implemented")) } -func (UnimplementedVtctldHandler) MaterializeCreate(context.Context, *connect.Request[dev.MaterializeCreateRequest]) (*connect.Response[dev.MaterializeCreateResponse], error) { +func (UnimplementedVtctldHandler) MaterializeCreate(context.Context, *connect.Request[dev1.MaterializeCreateRequest]) (*connect.Response[dev1.MaterializeCreateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MaterializeCreate is not implemented")) } -func (UnimplementedVtctldHandler) MigrateCreate(context.Context, *connect.Request[dev.MigrateCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) MigrateCreate(context.Context, *connect.Request[dev1.MigrateCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MigrateCreate is not implemented")) } -func (UnimplementedVtctldHandler) MountRegister(context.Context, *connect.Request[dev.MountRegisterRequest]) (*connect.Response[dev.MountRegisterResponse], error) { +func (UnimplementedVtctldHandler) MountRegister(context.Context, *connect.Request[dev1.MountRegisterRequest]) (*connect.Response[dev1.MountRegisterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountRegister is not implemented")) } -func (UnimplementedVtctldHandler) MountUnregister(context.Context, *connect.Request[dev.MountUnregisterRequest]) (*connect.Response[dev.MountUnregisterResponse], error) { +func (UnimplementedVtctldHandler) MountUnregister(context.Context, *connect.Request[dev1.MountUnregisterRequest]) (*connect.Response[dev1.MountUnregisterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountUnregister is not implemented")) } -func (UnimplementedVtctldHandler) MountShow(context.Context, *connect.Request[dev.MountShowRequest]) (*connect.Response[dev.MountShowResponse], error) { +func (UnimplementedVtctldHandler) MountShow(context.Context, *connect.Request[dev1.MountShowRequest]) (*connect.Response[dev1.MountShowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountShow is not implemented")) } -func (UnimplementedVtctldHandler) MountList(context.Context, *connect.Request[dev.MountListRequest]) (*connect.Response[dev.MountListResponse], error) { +func (UnimplementedVtctldHandler) MountList(context.Context, *connect.Request[dev1.MountListRequest]) (*connect.Response[dev1.MountListResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountList is not implemented")) } -func (UnimplementedVtctldHandler) MoveTablesCreate(context.Context, *connect.Request[dev.MoveTablesCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) MoveTablesCreate(context.Context, *connect.Request[dev1.MoveTablesCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MoveTablesCreate is not implemented")) } -func (UnimplementedVtctldHandler) MoveTablesComplete(context.Context, *connect.Request[dev.MoveTablesCompleteRequest]) (*connect.Response[dev.MoveTablesCompleteResponse], error) { +func (UnimplementedVtctldHandler) MoveTablesComplete(context.Context, *connect.Request[dev1.MoveTablesCompleteRequest]) (*connect.Response[dev1.MoveTablesCompleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MoveTablesComplete is not implemented")) } -func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[dev.PingTabletRequest]) (*connect.Response[dev.PingTabletResponse], error) { +func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[dev1.PingTabletRequest]) (*connect.Response[dev1.PingTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PingTablet is not implemented")) } -func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[dev.PlannedReparentShardRequest]) (*connect.Response[dev.PlannedReparentShardResponse], error) { +func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[dev1.PlannedReparentShardRequest]) (*connect.Response[dev1.PlannedReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PlannedReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[dev.RebuildKeyspaceGraphRequest]) (*connect.Response[dev.RebuildKeyspaceGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[dev1.RebuildKeyspaceGraphRequest]) (*connect.Response[dev1.RebuildKeyspaceGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildKeyspaceGraph is not implemented")) } -func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[dev.RebuildVSchemaGraphRequest]) (*connect.Response[dev.RebuildVSchemaGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[dev1.RebuildVSchemaGraphRequest]) (*connect.Response[dev1.RebuildVSchemaGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildVSchemaGraph is not implemented")) } -func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[dev.RefreshStateRequest]) (*connect.Response[dev.RefreshStateResponse], error) { +func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[dev1.RefreshStateRequest]) (*connect.Response[dev1.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshState is not implemented")) } -func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[dev.RefreshStateByShardRequest]) (*connect.Response[dev.RefreshStateByShardResponse], error) { +func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[dev1.RefreshStateByShardRequest]) (*connect.Response[dev1.RefreshStateByShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshStateByShard is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[dev.ReloadSchemaRequest]) (*connect.Response[dev.ReloadSchemaResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[dev1.ReloadSchemaRequest]) (*connect.Response[dev1.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchema is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[dev.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev.ReloadSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[dev1.ReloadSchemaKeyspaceRequest]) (*connect.Response[dev1.ReloadSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[dev.ReloadSchemaShardRequest]) (*connect.Response[dev.ReloadSchemaShardResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[dev1.ReloadSchemaShardRequest]) (*connect.Response[dev1.ReloadSchemaShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaShard is not implemented")) } -func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[dev.RemoveBackupRequest]) (*connect.Response[dev.RemoveBackupResponse], error) { +func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[dev1.RemoveBackupRequest]) (*connect.Response[dev1.RemoveBackupResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveBackup is not implemented")) } -func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[dev.RemoveKeyspaceCellRequest]) (*connect.Response[dev.RemoveKeyspaceCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[dev1.RemoveKeyspaceCellRequest]) (*connect.Response[dev1.RemoveKeyspaceCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveKeyspaceCell is not implemented")) } -func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[dev.RemoveShardCellRequest]) (*connect.Response[dev.RemoveShardCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[dev1.RemoveShardCellRequest]) (*connect.Response[dev1.RemoveShardCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveShardCell is not implemented")) } -func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[dev.ReparentTabletRequest]) (*connect.Response[dev.ReparentTabletResponse], error) { +func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[dev1.ReparentTabletRequest]) (*connect.Response[dev1.ReparentTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReparentTablet is not implemented")) } -func (UnimplementedVtctldHandler) ReshardCreate(context.Context, *connect.Request[dev.ReshardCreateRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) ReshardCreate(context.Context, *connect.Request[dev1.ReshardCreateRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReshardCreate is not implemented")) } -func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[dev.RestoreFromBackupRequest], *connect.ServerStream[dev.RestoreFromBackupResponse]) error { +func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[dev1.RestoreFromBackupRequest], *connect.ServerStream[dev1.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RestoreFromBackup is not implemented")) } -func (UnimplementedVtctldHandler) RetrySchemaMigration(context.Context, *connect.Request[dev.RetrySchemaMigrationRequest]) (*connect.Response[dev.RetrySchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) RetrySchemaMigration(context.Context, *connect.Request[dev1.RetrySchemaMigrationRequest]) (*connect.Response[dev1.RetrySchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RetrySchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[dev.RunHealthCheckRequest]) (*connect.Response[dev.RunHealthCheckResponse], error) { +func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[dev1.RunHealthCheckRequest]) (*connect.Response[dev1.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RunHealthCheck is not implemented")) } -func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[dev.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev.SetKeyspaceDurabilityPolicyResponse], error) { +func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[dev1.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[dev1.SetKeyspaceDurabilityPolicyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy is not implemented")) } -func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[dev.SetShardIsPrimaryServingRequest]) (*connect.Response[dev.SetShardIsPrimaryServingResponse], error) { +func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[dev1.SetShardIsPrimaryServingRequest]) (*connect.Response[dev1.SetShardIsPrimaryServingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardIsPrimaryServing is not implemented")) } -func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[dev.SetShardTabletControlRequest]) (*connect.Response[dev.SetShardTabletControlResponse], error) { +func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[dev1.SetShardTabletControlRequest]) (*connect.Response[dev1.SetShardTabletControlResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardTabletControl is not implemented")) } -func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[dev.SetWritableRequest]) (*connect.Response[dev.SetWritableResponse], error) { +func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[dev1.SetWritableRequest]) (*connect.Response[dev1.SetWritableResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetWritable is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[dev.ShardReplicationAddRequest]) (*connect.Response[dev.ShardReplicationAddResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[dev1.ShardReplicationAddRequest]) (*connect.Response[dev1.ShardReplicationAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationAdd is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[dev.ShardReplicationFixRequest]) (*connect.Response[dev.ShardReplicationFixResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[dev1.ShardReplicationFixRequest]) (*connect.Response[dev1.ShardReplicationFixResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationFix is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[dev.ShardReplicationPositionsRequest]) (*connect.Response[dev.ShardReplicationPositionsResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[dev1.ShardReplicationPositionsRequest]) (*connect.Response[dev1.ShardReplicationPositionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationPositions is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[dev.ShardReplicationRemoveRequest]) (*connect.Response[dev.ShardReplicationRemoveResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[dev1.ShardReplicationRemoveRequest]) (*connect.Response[dev1.ShardReplicationRemoveResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationRemove is not implemented")) } -func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[dev.SleepTabletRequest]) (*connect.Response[dev.SleepTabletResponse], error) { +func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[dev1.SleepTabletRequest]) (*connect.Response[dev1.SleepTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SleepTablet is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[dev.SourceShardAddRequest]) (*connect.Response[dev.SourceShardAddResponse], error) { +func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[dev1.SourceShardAddRequest]) (*connect.Response[dev1.SourceShardAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardAdd is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[dev.SourceShardDeleteRequest]) (*connect.Response[dev.SourceShardDeleteResponse], error) { +func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[dev1.SourceShardDeleteRequest]) (*connect.Response[dev1.SourceShardDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardDelete is not implemented")) } -func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[dev.StartReplicationRequest]) (*connect.Response[dev.StartReplicationResponse], error) { +func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[dev1.StartReplicationRequest]) (*connect.Response[dev1.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StartReplication is not implemented")) } -func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[dev.StopReplicationRequest]) (*connect.Response[dev.StopReplicationResponse], error) { +func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[dev1.StopReplicationRequest]) (*connect.Response[dev1.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StopReplication is not implemented")) } -func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[dev.TabletExternallyReparentedRequest]) (*connect.Response[dev.TabletExternallyReparentedResponse], error) { +func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[dev1.TabletExternallyReparentedRequest]) (*connect.Response[dev1.TabletExternallyReparentedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.TabletExternallyReparented is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[dev.UpdateCellInfoRequest]) (*connect.Response[dev.UpdateCellInfoResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[dev1.UpdateCellInfoRequest]) (*connect.Response[dev1.UpdateCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[dev.UpdateCellsAliasRequest]) (*connect.Response[dev.UpdateCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[dev1.UpdateCellsAliasRequest]) (*connect.Response[dev1.UpdateCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[dev.ValidateRequest]) (*connect.Response[dev.ValidateResponse], error) { +func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[dev1.ValidateRequest]) (*connect.Response[dev1.ValidateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Validate is not implemented")) } -func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[dev.ValidateKeyspaceRequest]) (*connect.Response[dev.ValidateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[dev1.ValidateKeyspaceRequest]) (*connect.Response[dev1.ValidateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[dev.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev.ValidateSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[dev1.ValidateSchemaKeyspaceRequest]) (*connect.Response[dev1.ValidateSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[dev.ValidateShardRequest]) (*connect.Response[dev.ValidateShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[dev1.ValidateShardRequest]) (*connect.Response[dev1.ValidateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[dev.ValidateVersionKeyspaceRequest]) (*connect.Response[dev.ValidateVersionKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[dev1.ValidateVersionKeyspaceRequest]) (*connect.Response[dev1.ValidateVersionKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[dev.ValidateVersionShardRequest]) (*connect.Response[dev.ValidateVersionShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[dev1.ValidateVersionShardRequest]) (*connect.Response[dev1.ValidateVersionShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[dev.ValidateVSchemaRequest]) (*connect.Response[dev.ValidateVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[dev1.ValidateVSchemaRequest]) (*connect.Response[dev1.ValidateVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVSchema is not implemented")) } -func (UnimplementedVtctldHandler) VDiffCreate(context.Context, *connect.Request[dev.VDiffCreateRequest]) (*connect.Response[dev.VDiffCreateResponse], error) { +func (UnimplementedVtctldHandler) VDiffCreate(context.Context, *connect.Request[dev1.VDiffCreateRequest]) (*connect.Response[dev1.VDiffCreateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffCreate is not implemented")) } -func (UnimplementedVtctldHandler) VDiffDelete(context.Context, *connect.Request[dev.VDiffDeleteRequest]) (*connect.Response[dev.VDiffDeleteResponse], error) { +func (UnimplementedVtctldHandler) VDiffDelete(context.Context, *connect.Request[dev1.VDiffDeleteRequest]) (*connect.Response[dev1.VDiffDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffDelete is not implemented")) } -func (UnimplementedVtctldHandler) VDiffResume(context.Context, *connect.Request[dev.VDiffResumeRequest]) (*connect.Response[dev.VDiffResumeResponse], error) { +func (UnimplementedVtctldHandler) VDiffResume(context.Context, *connect.Request[dev1.VDiffResumeRequest]) (*connect.Response[dev1.VDiffResumeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffResume is not implemented")) } -func (UnimplementedVtctldHandler) VDiffShow(context.Context, *connect.Request[dev.VDiffShowRequest]) (*connect.Response[dev.VDiffShowResponse], error) { +func (UnimplementedVtctldHandler) VDiffShow(context.Context, *connect.Request[dev1.VDiffShowRequest]) (*connect.Response[dev1.VDiffShowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffShow is not implemented")) } -func (UnimplementedVtctldHandler) VDiffStop(context.Context, *connect.Request[dev.VDiffStopRequest]) (*connect.Response[dev.VDiffStopResponse], error) { +func (UnimplementedVtctldHandler) VDiffStop(context.Context, *connect.Request[dev1.VDiffStopRequest]) (*connect.Response[dev1.VDiffStopResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffStop is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowDelete(context.Context, *connect.Request[dev.WorkflowDeleteRequest]) (*connect.Response[dev.WorkflowDeleteResponse], error) { +func (UnimplementedVtctldHandler) WorkflowDelete(context.Context, *connect.Request[dev1.WorkflowDeleteRequest]) (*connect.Response[dev1.WorkflowDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowDelete is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowStatus(context.Context, *connect.Request[dev.WorkflowStatusRequest]) (*connect.Response[dev.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) WorkflowStatus(context.Context, *connect.Request[dev1.WorkflowStatusRequest]) (*connect.Response[dev1.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowStatus is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowSwitchTraffic(context.Context, *connect.Request[dev.WorkflowSwitchTrafficRequest]) (*connect.Response[dev.WorkflowSwitchTrafficResponse], error) { +func (UnimplementedVtctldHandler) WorkflowSwitchTraffic(context.Context, *connect.Request[dev1.WorkflowSwitchTrafficRequest]) (*connect.Response[dev1.WorkflowSwitchTrafficResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowSwitchTraffic is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowUpdate(context.Context, *connect.Request[dev.WorkflowUpdateRequest]) (*connect.Response[dev.WorkflowUpdateResponse], error) { +func (UnimplementedVtctldHandler) WorkflowUpdate(context.Context, *connect.Request[dev1.WorkflowUpdateRequest]) (*connect.Response[dev1.WorkflowUpdateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowUpdate is not implemented")) } + +func (UnimplementedVtctldHandler) GetMirrorRules(context.Context, *connect.Request[dev1.GetMirrorRulesRequest]) (*connect.Response[dev1.GetMirrorRulesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetMirrorRules is not implemented")) +} + +func (UnimplementedVtctldHandler) WorkflowMirrorTraffic(context.Context, *connect.Request[dev1.WorkflowMirrorTrafficRequest]) (*connect.Response[dev1.WorkflowMirrorTrafficResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowMirrorTraffic is not implemented")) +} diff --git a/gen/vitess/vtctlservice/v16/vtctlservice.pb.go b/gen/vitess/vtctlservice/v16/vtctlservice.pb.go index cf872e7..5dfa581 100644 --- a/gen/vitess/vtctlservice/v16/vtctlservice.pb.go +++ b/gen/vitess/vtctlservice/v16/vtctlservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctlservice/v16/vtctlservice.proto @@ -670,7 +670,7 @@ var file_vitess_vtctlservice_v16_vtctlservice_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_vtctlservice_v16_vtctlservice_proto_goTypes = []interface{}{ +var file_vitess_vtctlservice_v16_vtctlservice_proto_goTypes = []any{ (*v16.ExecuteVtctlCommandRequest)(nil), // 0: vitess.vtctldata.v16.ExecuteVtctlCommandRequest (*v16.AddCellInfoRequest)(nil), // 1: vitess.vtctldata.v16.AddCellInfoRequest (*v16.AddCellsAliasRequest)(nil), // 2: vitess.vtctldata.v16.AddCellsAliasRequest diff --git a/gen/vitess/vtctlservice/v16/vtctlservicev16connect/vtctlservice.connect.go b/gen/vitess/vtctlservice/v16/vtctlservicev16connect/vtctlservice.connect.go index 357ad0e..36b321f 100644 --- a/gen/vitess/vtctlservice/v16/vtctlservicev16connect/vtctlservice.connect.go +++ b/gen/vitess/vtctlservice/v16/vtctlservicev16connect/vtctlservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v16 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v16" - _ "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v16" + v161 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v16" + v16 "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v16" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VtctlName is the fully-qualified name of the Vtctl service. @@ -255,9 +255,100 @@ const ( VtctldValidateVSchemaProcedure = "/vtctlservice.Vtctld/ValidateVSchema" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vtctlServiceDescriptor = v16.File_vitess_vtctlservice_v16_vtctlservice_proto.Services().ByName("Vtctl") + vtctlExecuteVtctlCommandMethodDescriptor = vtctlServiceDescriptor.Methods().ByName("ExecuteVtctlCommand") + vtctldServiceDescriptor = v16.File_vitess_vtctlservice_v16_vtctlservice_proto.Services().ByName("Vtctld") + vtctldAddCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellInfo") + vtctldAddCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellsAlias") + vtctldApplyRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyRoutingRules") + vtctldApplySchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplySchema") + vtctldApplyShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyShardRoutingRules") + vtctldApplyVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyVSchema") + vtctldBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Backup") + vtctldBackupShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("BackupShard") + vtctldChangeTabletTypeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ChangeTabletType") + vtctldCreateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateKeyspace") + vtctldCreateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateShard") + vtctldDeleteCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellInfo") + vtctldDeleteCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellsAlias") + vtctldDeleteKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteKeyspace") + vtctldDeleteShardsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteShards") + vtctldDeleteSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteSrvVSchema") + vtctldDeleteTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteTablets") + vtctldEmergencyReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("EmergencyReparentShard") + vtctldExecuteFetchAsAppMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + vtctldExecuteFetchAsDBAMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsDBA") + vtctldExecuteHookMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteHook") + vtctldFindAllShardsInKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("FindAllShardsInKeyspace") + vtctldGetBackupsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetBackups") + vtctldGetCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfo") + vtctldGetCellInfoNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfoNames") + vtctldGetCellsAliasesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellsAliases") + vtctldGetFullStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetFullStatus") + vtctldGetKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspace") + vtctldGetKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspaces") + vtctldGetPermissionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetPermissions") + vtctldGetRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetRoutingRules") + vtctldGetSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchema") + vtctldGetShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShard") + vtctldGetShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShardRoutingRules") + vtctldGetSrvKeyspaceNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaceNames") + vtctldGetSrvKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vtctldUpdateThrottlerConfigMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateThrottlerConfig") + vtctldGetSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchema") + vtctldGetSrvVSchemasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vtctldGetTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablet") + vtctldGetTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablets") + vtctldGetTopologyPathMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTopologyPath") + vtctldGetVersionMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVersion") + vtctldGetVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVSchema") + vtctldGetWorkflowsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetWorkflows") + vtctldInitShardPrimaryMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("InitShardPrimary") + vtctldPingTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PingTablet") + vtctldPlannedReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PlannedReparentShard") + vtctldRebuildKeyspaceGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vtctldRebuildVSchemaGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildVSchemaGraph") + vtctldRefreshStateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshState") + vtctldRefreshStateByShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshStateByShard") + vtctldReloadSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchema") + vtctldReloadSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaKeyspace") + vtctldReloadSchemaShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vtctldRemoveBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveBackup") + vtctldRemoveKeyspaceCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vtctldRemoveShardCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveShardCell") + vtctldReparentTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReparentTablet") + vtctldRestoreFromBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RestoreFromBackup") + vtctldRunHealthCheckMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RunHealthCheck") + vtctldSetKeyspaceDurabilityPolicyMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetKeyspaceDurabilityPolicy") + vtctldSetShardIsPrimaryServingMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardIsPrimaryServing") + vtctldSetShardTabletControlMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardTabletControl") + vtctldSetWritableMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetWritable") + vtctldShardReplicationAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationAdd") + vtctldShardReplicationFixMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationFix") + vtctldShardReplicationPositionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationPositions") + vtctldShardReplicationRemoveMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationRemove") + vtctldSleepTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SleepTablet") + vtctldSourceShardAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardAdd") + vtctldSourceShardDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardDelete") + vtctldStartReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StartReplication") + vtctldStopReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StopReplication") + vtctldTabletExternallyReparentedMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("TabletExternallyReparented") + vtctldUpdateCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellInfo") + vtctldUpdateCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellsAlias") + vtctldValidateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Validate") + vtctldValidateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateKeyspace") + vtctldValidateSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vtctldValidateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateShard") + vtctldValidateVersionKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vtctldValidateVersionShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionShard") + vtctldValidateVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVSchema") +) + // VtctlClient is a client for the vtctlservice.Vtctl service. type VtctlClient interface { - ExecuteVtctlCommand(context.Context, *connect.Request[v16.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v16.ExecuteVtctlCommandResponse], error) + ExecuteVtctlCommand(context.Context, *connect.Request[v161.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v161.ExecuteVtctlCommandResponse], error) } // NewVtctlClient constructs a client for the vtctlservice.Vtctl service. By default, it @@ -270,27 +361,28 @@ type VtctlClient interface { func NewVtctlClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctlClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctlClient{ - executeVtctlCommand: connect.NewClient[v16.ExecuteVtctlCommandRequest, v16.ExecuteVtctlCommandResponse]( + executeVtctlCommand: connect.NewClient[v161.ExecuteVtctlCommandRequest, v161.ExecuteVtctlCommandResponse]( httpClient, baseURL+VtctlExecuteVtctlCommandProcedure, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctlClient implements VtctlClient. type vtctlClient struct { - executeVtctlCommand *connect.Client[v16.ExecuteVtctlCommandRequest, v16.ExecuteVtctlCommandResponse] + executeVtctlCommand *connect.Client[v161.ExecuteVtctlCommandRequest, v161.ExecuteVtctlCommandResponse] } // ExecuteVtctlCommand calls vtctlservice.Vtctl.ExecuteVtctlCommand. -func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[v16.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v16.ExecuteVtctlCommandResponse], error) { +func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[v161.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v161.ExecuteVtctlCommandResponse], error) { return c.executeVtctlCommand.CallServerStream(ctx, req) } // VtctlHandler is an implementation of the vtctlservice.Vtctl service. type VtctlHandler interface { - ExecuteVtctlCommand(context.Context, *connect.Request[v16.ExecuteVtctlCommandRequest], *connect.ServerStream[v16.ExecuteVtctlCommandResponse]) error + ExecuteVtctlCommand(context.Context, *connect.Request[v161.ExecuteVtctlCommandRequest], *connect.ServerStream[v161.ExecuteVtctlCommandResponse]) error } // NewVtctlHandler builds an HTTP handler from the service implementation. It returns the path on @@ -302,7 +394,8 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h vtctlExecuteVtctlCommandHandler := connect.NewServerStreamHandler( VtctlExecuteVtctlCommandProcedure, svc.ExecuteVtctlCommand, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -317,7 +410,7 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h // UnimplementedVtctlHandler returns CodeUnimplemented from all methods. type UnimplementedVtctlHandler struct{} -func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[v16.ExecuteVtctlCommandRequest], *connect.ServerStream[v16.ExecuteVtctlCommandResponse]) error { +func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[v161.ExecuteVtctlCommandRequest], *connect.ServerStream[v161.ExecuteVtctlCommandResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctl.ExecuteVtctlCommand is not implemented")) } @@ -325,132 +418,132 @@ func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.R type VtctldClient interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[v16.AddCellInfoRequest]) (*connect.Response[v16.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[v161.AddCellInfoRequest]) (*connect.Response[v161.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[v16.AddCellsAliasRequest]) (*connect.Response[v16.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[v161.AddCellsAliasRequest]) (*connect.Response[v161.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[v16.ApplyRoutingRulesRequest]) (*connect.Response[v16.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[v161.ApplyRoutingRulesRequest]) (*connect.Response[v161.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[v16.ApplyShardRoutingRulesRequest]) (*connect.Response[v16.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[v161.ApplyShardRoutingRulesRequest]) (*connect.Response[v161.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[v16.ApplyVSchemaRequest]) (*connect.Response[v16.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[v161.ApplyVSchemaRequest]) (*connect.Response[v161.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[v16.BackupRequest]) (*connect.ServerStreamForClient[v16.BackupResponse], error) + Backup(context.Context, *connect.Request[v161.BackupRequest]) (*connect.ServerStreamForClient[v161.BackupResponse], error) // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[v16.BackupShardRequest]) (*connect.ServerStreamForClient[v16.BackupResponse], error) + BackupShard(context.Context, *connect.Request[v161.BackupShardRequest]) (*connect.ServerStreamForClient[v161.BackupResponse], error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[v16.ChangeTabletTypeRequest]) (*connect.Response[v16.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[v161.ChangeTabletTypeRequest]) (*connect.Response[v161.ChangeTabletTypeResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[v16.CreateKeyspaceRequest]) (*connect.Response[v16.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[v161.CreateKeyspaceRequest]) (*connect.Response[v161.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[v16.CreateShardRequest]) (*connect.Response[v16.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[v161.CreateShardRequest]) (*connect.Response[v161.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[v16.DeleteCellInfoRequest]) (*connect.Response[v16.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[v161.DeleteCellInfoRequest]) (*connect.Response[v161.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[v16.DeleteCellsAliasRequest]) (*connect.Response[v16.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[v161.DeleteCellsAliasRequest]) (*connect.Response[v161.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[v16.DeleteKeyspaceRequest]) (*connect.Response[v16.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[v161.DeleteKeyspaceRequest]) (*connect.Response[v161.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[v16.DeleteShardsRequest]) (*connect.Response[v16.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[v161.DeleteShardsRequest]) (*connect.Response[v161.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[v16.DeleteSrvVSchemaRequest]) (*connect.Response[v16.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[v161.DeleteSrvVSchemaRequest]) (*connect.Response[v161.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[v16.DeleteTabletsRequest]) (*connect.Response[v16.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[v161.DeleteTabletsRequest]) (*connect.Response[v161.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[v16.EmergencyReparentShardRequest]) (*connect.Response[v16.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[v161.EmergencyReparentShardRequest]) (*connect.Response[v161.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[v16.ExecuteFetchAsDBARequest]) (*connect.Response[v16.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[v161.ExecuteFetchAsDBARequest]) (*connect.Response[v161.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[v16.FindAllShardsInKeyspaceRequest]) (*connect.Response[v16.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[v161.FindAllShardsInKeyspaceRequest]) (*connect.Response[v161.FindAllShardsInKeyspaceResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[v16.GetBackupsRequest]) (*connect.Response[v16.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[v161.GetBackupsRequest]) (*connect.Response[v161.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[v16.GetCellInfoRequest]) (*connect.Response[v16.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[v161.GetCellInfoRequest]) (*connect.Response[v161.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[v16.GetCellInfoNamesRequest]) (*connect.Response[v16.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[v161.GetCellInfoNamesRequest]) (*connect.Response[v161.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[v16.GetCellsAliasesRequest]) (*connect.Response[v16.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[v161.GetCellsAliasesRequest]) (*connect.Response[v161.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[v16.GetFullStatusRequest]) (*connect.Response[v16.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[v161.GetFullStatusRequest]) (*connect.Response[v161.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[v16.GetKeyspaceRequest]) (*connect.Response[v16.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[v161.GetKeyspaceRequest]) (*connect.Response[v161.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[v16.GetKeyspacesRequest]) (*connect.Response[v16.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[v161.GetKeyspacesRequest]) (*connect.Response[v161.GetKeyspacesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[v16.GetRoutingRulesRequest]) (*connect.Response[v16.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[v161.GetRoutingRulesRequest]) (*connect.Response[v161.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[v16.GetShardRequest]) (*connect.Response[v16.GetShardResponse], error) + GetShard(context.Context, *connect.Request[v161.GetShardRequest]) (*connect.Response[v161.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[v16.GetShardRoutingRulesRequest]) (*connect.Response[v16.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[v161.GetShardRoutingRulesRequest]) (*connect.Response[v161.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[v16.GetSrvKeyspaceNamesRequest]) (*connect.Response[v16.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[v161.GetSrvKeyspaceNamesRequest]) (*connect.Response[v161.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[v16.GetSrvKeyspacesRequest]) (*connect.Response[v16.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[v161.GetSrvKeyspacesRequest]) (*connect.Response[v161.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[v16.UpdateThrottlerConfigRequest]) (*connect.Response[v16.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[v161.UpdateThrottlerConfigRequest]) (*connect.Response[v161.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[v16.GetSrvVSchemaRequest]) (*connect.Response[v16.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[v161.GetSrvVSchemaRequest]) (*connect.Response[v161.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[v16.GetSrvVSchemasRequest]) (*connect.Response[v16.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[v161.GetSrvVSchemasRequest]) (*connect.Response[v161.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[v16.GetTabletRequest]) (*connect.Response[v16.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[v161.GetTabletRequest]) (*connect.Response[v161.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[v16.GetTabletsRequest]) (*connect.Response[v16.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[v161.GetTabletsRequest]) (*connect.Response[v161.GetTabletsResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[v16.GetTopologyPathRequest]) (*connect.Response[v16.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[v161.GetTopologyPathRequest]) (*connect.Response[v161.GetTopologyPathResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[v16.GetVersionRequest]) (*connect.Response[v16.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[v161.GetVersionRequest]) (*connect.Response[v161.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[v16.GetVSchemaRequest]) (*connect.Response[v16.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[v161.GetVSchemaRequest]) (*connect.Response[v161.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[v16.GetWorkflowsRequest]) (*connect.Response[v16.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[v161.GetWorkflowsRequest]) (*connect.Response[v161.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[v16.InitShardPrimaryRequest]) (*connect.Response[v16.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[v161.InitShardPrimaryRequest]) (*connect.Response[v161.InitShardPrimaryResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[v16.PingTabletRequest]) (*connect.Response[v16.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[v161.PingTabletRequest]) (*connect.Response[v161.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -458,132 +551,132 @@ type VtctldClient interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[v16.PlannedReparentShardRequest]) (*connect.Response[v16.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[v161.PlannedReparentShardRequest]) (*connect.Response[v161.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[v16.RebuildKeyspaceGraphRequest]) (*connect.Response[v16.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[v161.RebuildKeyspaceGraphRequest]) (*connect.Response[v161.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[v16.RebuildVSchemaGraphRequest]) (*connect.Response[v16.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[v161.RebuildVSchemaGraphRequest]) (*connect.Response[v161.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[v16.RefreshStateByShardRequest]) (*connect.Response[v16.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[v161.RefreshStateByShardRequest]) (*connect.Response[v161.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[v16.ReloadSchemaKeyspaceRequest]) (*connect.Response[v16.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[v161.ReloadSchemaKeyspaceRequest]) (*connect.Response[v161.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[v16.ReloadSchemaShardRequest]) (*connect.Response[v16.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[v161.ReloadSchemaShardRequest]) (*connect.Response[v161.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[v16.RemoveBackupRequest]) (*connect.Response[v16.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[v161.RemoveBackupRequest]) (*connect.Response[v161.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[v16.RemoveKeyspaceCellRequest]) (*connect.Response[v16.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[v161.RemoveKeyspaceCellRequest]) (*connect.Response[v161.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[v16.RemoveShardCellRequest]) (*connect.Response[v16.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[v161.RemoveShardCellRequest]) (*connect.Response[v161.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[v16.ReparentTabletRequest]) (*connect.Response[v16.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[v161.ReparentTabletRequest]) (*connect.Response[v161.ReparentTabletResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[v16.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v16.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[v161.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v161.RestoreFromBackupResponse], error) // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v16.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v16.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v161.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v161.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[v16.SetShardIsPrimaryServingRequest]) (*connect.Response[v16.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[v161.SetShardIsPrimaryServingRequest]) (*connect.Response[v161.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[v16.SetShardTabletControlRequest]) (*connect.Response[v16.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[v161.SetShardTabletControlRequest]) (*connect.Response[v161.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[v16.SetWritableRequest]) (*connect.Response[v16.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[v161.SetWritableRequest]) (*connect.Response[v161.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[v16.ShardReplicationAddRequest]) (*connect.Response[v16.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[v161.ShardReplicationAddRequest]) (*connect.Response[v161.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[v16.ShardReplicationFixRequest]) (*connect.Response[v16.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[v161.ShardReplicationFixRequest]) (*connect.Response[v161.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[v16.ShardReplicationPositionsRequest]) (*connect.Response[v16.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[v161.ShardReplicationPositionsRequest]) (*connect.Response[v161.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[v16.ShardReplicationRemoveRequest]) (*connect.Response[v16.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[v161.ShardReplicationRemoveRequest]) (*connect.Response[v161.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[v16.SleepTabletRequest]) (*connect.Response[v16.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[v161.SleepTabletRequest]) (*connect.Response[v161.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[v16.SourceShardAddRequest]) (*connect.Response[v16.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[v161.SourceShardAddRequest]) (*connect.Response[v161.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[v16.SourceShardDeleteRequest]) (*connect.Response[v16.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[v161.SourceShardDeleteRequest]) (*connect.Response[v161.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v16.TabletExternallyReparentedRequest]) (*connect.Response[v16.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v161.TabletExternallyReparentedRequest]) (*connect.Response[v161.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[v16.UpdateCellInfoRequest]) (*connect.Response[v16.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[v161.UpdateCellInfoRequest]) (*connect.Response[v161.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[v16.UpdateCellsAliasRequest]) (*connect.Response[v16.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[v161.UpdateCellsAliasRequest]) (*connect.Response[v161.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[v16.ValidateRequest]) (*connect.Response[v16.ValidateResponse], error) + Validate(context.Context, *connect.Request[v161.ValidateRequest]) (*connect.Response[v161.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[v16.ValidateKeyspaceRequest]) (*connect.Response[v16.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[v161.ValidateKeyspaceRequest]) (*connect.Response[v161.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[v16.ValidateSchemaKeyspaceRequest]) (*connect.Response[v16.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[v161.ValidateSchemaKeyspaceRequest]) (*connect.Response[v161.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[v16.ValidateShardRequest]) (*connect.Response[v16.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[v161.ValidateShardRequest]) (*connect.Response[v161.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[v16.ValidateVersionKeyspaceRequest]) (*connect.Response[v16.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[v161.ValidateVersionKeyspaceRequest]) (*connect.Response[v161.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[v16.ValidateVersionShardRequest]) (*connect.Response[v16.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[v161.ValidateVersionShardRequest]) (*connect.Response[v161.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[v16.ValidateVSchemaRequest]) (*connect.Response[v16.ValidateVSchemaResponse], error) + ValidateVSchema(context.Context, *connect.Request[v161.ValidateVSchemaRequest]) (*connect.Response[v161.ValidateVSchemaResponse], error) } // NewVtctldClient constructs a client for the vtctlservice.Vtctld service. By default, @@ -596,934 +689,1018 @@ type VtctldClient interface { func NewVtctldClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctldClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctldClient{ - addCellInfo: connect.NewClient[v16.AddCellInfoRequest, v16.AddCellInfoResponse]( + addCellInfo: connect.NewClient[v161.AddCellInfoRequest, v161.AddCellInfoResponse]( httpClient, baseURL+VtctldAddCellInfoProcedure, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - addCellsAlias: connect.NewClient[v16.AddCellsAliasRequest, v16.AddCellsAliasResponse]( + addCellsAlias: connect.NewClient[v161.AddCellsAliasRequest, v161.AddCellsAliasResponse]( httpClient, baseURL+VtctldAddCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyRoutingRules: connect.NewClient[v16.ApplyRoutingRulesRequest, v16.ApplyRoutingRulesResponse]( + applyRoutingRules: connect.NewClient[v161.ApplyRoutingRulesRequest, v161.ApplyRoutingRulesResponse]( httpClient, baseURL+VtctldApplyRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[v16.ApplySchemaRequest, v16.ApplySchemaResponse]( + applySchema: connect.NewClient[v161.ApplySchemaRequest, v161.ApplySchemaResponse]( httpClient, baseURL+VtctldApplySchemaProcedure, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyShardRoutingRules: connect.NewClient[v16.ApplyShardRoutingRulesRequest, v16.ApplyShardRoutingRulesResponse]( + applyShardRoutingRules: connect.NewClient[v161.ApplyShardRoutingRulesRequest, v161.ApplyShardRoutingRulesResponse]( httpClient, baseURL+VtctldApplyShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyVSchema: connect.NewClient[v16.ApplyVSchemaRequest, v16.ApplyVSchemaResponse]( + applyVSchema: connect.NewClient[v161.ApplyVSchemaRequest, v161.ApplyVSchemaResponse]( httpClient, baseURL+VtctldApplyVSchemaProcedure, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[v16.BackupRequest, v16.BackupResponse]( + backup: connect.NewClient[v161.BackupRequest, v161.BackupResponse]( httpClient, baseURL+VtctldBackupProcedure, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - backupShard: connect.NewClient[v16.BackupShardRequest, v16.BackupResponse]( + backupShard: connect.NewClient[v161.BackupShardRequest, v161.BackupResponse]( httpClient, baseURL+VtctldBackupShardProcedure, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeTabletType: connect.NewClient[v16.ChangeTabletTypeRequest, v16.ChangeTabletTypeResponse]( + changeTabletType: connect.NewClient[v161.ChangeTabletTypeRequest, v161.ChangeTabletTypeResponse]( httpClient, baseURL+VtctldChangeTabletTypeProcedure, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithClientOptions(opts...), ), - createKeyspace: connect.NewClient[v16.CreateKeyspaceRequest, v16.CreateKeyspaceResponse]( + createKeyspace: connect.NewClient[v161.CreateKeyspaceRequest, v161.CreateKeyspaceResponse]( httpClient, baseURL+VtctldCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - createShard: connect.NewClient[v16.CreateShardRequest, v16.CreateShardResponse]( + createShard: connect.NewClient[v161.CreateShardRequest, v161.CreateShardResponse]( httpClient, baseURL+VtctldCreateShardProcedure, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellInfo: connect.NewClient[v16.DeleteCellInfoRequest, v16.DeleteCellInfoResponse]( + deleteCellInfo: connect.NewClient[v161.DeleteCellInfoRequest, v161.DeleteCellInfoResponse]( httpClient, baseURL+VtctldDeleteCellInfoProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellsAlias: connect.NewClient[v16.DeleteCellsAliasRequest, v16.DeleteCellsAliasResponse]( + deleteCellsAlias: connect.NewClient[v161.DeleteCellsAliasRequest, v161.DeleteCellsAliasResponse]( httpClient, baseURL+VtctldDeleteCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteKeyspace: connect.NewClient[v16.DeleteKeyspaceRequest, v16.DeleteKeyspaceResponse]( + deleteKeyspace: connect.NewClient[v161.DeleteKeyspaceRequest, v161.DeleteKeyspaceResponse]( httpClient, baseURL+VtctldDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteShards: connect.NewClient[v16.DeleteShardsRequest, v16.DeleteShardsResponse]( + deleteShards: connect.NewClient[v161.DeleteShardsRequest, v161.DeleteShardsResponse]( httpClient, baseURL+VtctldDeleteShardsProcedure, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteSrvVSchema: connect.NewClient[v16.DeleteSrvVSchemaRequest, v16.DeleteSrvVSchemaResponse]( + deleteSrvVSchema: connect.NewClient[v161.DeleteSrvVSchemaRequest, v161.DeleteSrvVSchemaResponse]( httpClient, baseURL+VtctldDeleteSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteTablets: connect.NewClient[v16.DeleteTabletsRequest, v16.DeleteTabletsResponse]( + deleteTablets: connect.NewClient[v161.DeleteTabletsRequest, v161.DeleteTabletsResponse]( httpClient, baseURL+VtctldDeleteTabletsProcedure, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), - emergencyReparentShard: connect.NewClient[v16.EmergencyReparentShardRequest, v16.EmergencyReparentShardResponse]( + emergencyReparentShard: connect.NewClient[v161.EmergencyReparentShardRequest, v161.EmergencyReparentShardResponse]( httpClient, baseURL+VtctldEmergencyReparentShardProcedure, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[v16.ExecuteFetchAsAppRequest, v16.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[v161.ExecuteFetchAsAppRequest, v161.ExecuteFetchAsAppResponse]( httpClient, baseURL+VtctldExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDBA: connect.NewClient[v16.ExecuteFetchAsDBARequest, v16.ExecuteFetchAsDBAResponse]( + executeFetchAsDBA: connect.NewClient[v161.ExecuteFetchAsDBARequest, v161.ExecuteFetchAsDBAResponse]( httpClient, baseURL+VtctldExecuteFetchAsDBAProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[v16.ExecuteHookRequest, v16.ExecuteHookResponse]( + executeHook: connect.NewClient[v161.ExecuteHookRequest, v161.ExecuteHookResponse]( httpClient, baseURL+VtctldExecuteHookProcedure, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - findAllShardsInKeyspace: connect.NewClient[v16.FindAllShardsInKeyspaceRequest, v16.FindAllShardsInKeyspaceResponse]( + findAllShardsInKeyspace: connect.NewClient[v161.FindAllShardsInKeyspaceRequest, v161.FindAllShardsInKeyspaceResponse]( httpClient, baseURL+VtctldFindAllShardsInKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - getBackups: connect.NewClient[v16.GetBackupsRequest, v16.GetBackupsResponse]( + getBackups: connect.NewClient[v161.GetBackupsRequest, v161.GetBackupsResponse]( httpClient, baseURL+VtctldGetBackupsProcedure, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfo: connect.NewClient[v16.GetCellInfoRequest, v16.GetCellInfoResponse]( + getCellInfo: connect.NewClient[v161.GetCellInfoRequest, v161.GetCellInfoResponse]( httpClient, baseURL+VtctldGetCellInfoProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfoNames: connect.NewClient[v16.GetCellInfoNamesRequest, v16.GetCellInfoNamesResponse]( + getCellInfoNames: connect.NewClient[v161.GetCellInfoNamesRequest, v161.GetCellInfoNamesResponse]( httpClient, baseURL+VtctldGetCellInfoNamesProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellsAliases: connect.NewClient[v16.GetCellsAliasesRequest, v16.GetCellsAliasesResponse]( + getCellsAliases: connect.NewClient[v161.GetCellsAliasesRequest, v161.GetCellsAliasesResponse]( httpClient, baseURL+VtctldGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getFullStatus: connect.NewClient[v16.GetFullStatusRequest, v16.GetFullStatusResponse]( + getFullStatus: connect.NewClient[v161.GetFullStatusRequest, v161.GetFullStatusResponse]( httpClient, baseURL+VtctldGetFullStatusProcedure, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspace: connect.NewClient[v16.GetKeyspaceRequest, v16.GetKeyspaceResponse]( + getKeyspace: connect.NewClient[v161.GetKeyspaceRequest, v161.GetKeyspaceResponse]( httpClient, baseURL+VtctldGetKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspaces: connect.NewClient[v16.GetKeyspacesRequest, v16.GetKeyspacesResponse]( + getKeyspaces: connect.NewClient[v161.GetKeyspacesRequest, v161.GetKeyspacesResponse]( httpClient, baseURL+VtctldGetKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[v16.GetPermissionsRequest, v16.GetPermissionsResponse]( + getPermissions: connect.NewClient[v161.GetPermissionsRequest, v161.GetPermissionsResponse]( httpClient, baseURL+VtctldGetPermissionsProcedure, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getRoutingRules: connect.NewClient[v16.GetRoutingRulesRequest, v16.GetRoutingRulesResponse]( + getRoutingRules: connect.NewClient[v161.GetRoutingRulesRequest, v161.GetRoutingRulesResponse]( httpClient, baseURL+VtctldGetRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v16.GetSchemaRequest, v16.GetSchemaResponse]( + getSchema: connect.NewClient[v161.GetSchemaRequest, v161.GetSchemaResponse]( httpClient, baseURL+VtctldGetSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShard: connect.NewClient[v16.GetShardRequest, v16.GetShardResponse]( + getShard: connect.NewClient[v161.GetShardRequest, v161.GetShardResponse]( httpClient, baseURL+VtctldGetShardProcedure, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShardRoutingRules: connect.NewClient[v16.GetShardRoutingRulesRequest, v16.GetShardRoutingRulesResponse]( + getShardRoutingRules: connect.NewClient[v161.GetShardRoutingRulesRequest, v161.GetShardRoutingRulesResponse]( httpClient, baseURL+VtctldGetShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaceNames: connect.NewClient[v16.GetSrvKeyspaceNamesRequest, v16.GetSrvKeyspaceNamesResponse]( + getSrvKeyspaceNames: connect.NewClient[v161.GetSrvKeyspaceNamesRequest, v161.GetSrvKeyspaceNamesResponse]( httpClient, baseURL+VtctldGetSrvKeyspaceNamesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaces: connect.NewClient[v16.GetSrvKeyspacesRequest, v16.GetSrvKeyspacesResponse]( + getSrvKeyspaces: connect.NewClient[v161.GetSrvKeyspacesRequest, v161.GetSrvKeyspacesResponse]( httpClient, baseURL+VtctldGetSrvKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateThrottlerConfig: connect.NewClient[v16.UpdateThrottlerConfigRequest, v16.UpdateThrottlerConfigResponse]( + updateThrottlerConfig: connect.NewClient[v161.UpdateThrottlerConfigRequest, v161.UpdateThrottlerConfigResponse]( httpClient, baseURL+VtctldUpdateThrottlerConfigProcedure, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchema: connect.NewClient[v16.GetSrvVSchemaRequest, v16.GetSrvVSchemaResponse]( + getSrvVSchema: connect.NewClient[v161.GetSrvVSchemaRequest, v161.GetSrvVSchemaResponse]( httpClient, baseURL+VtctldGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchemas: connect.NewClient[v16.GetSrvVSchemasRequest, v16.GetSrvVSchemasResponse]( + getSrvVSchemas: connect.NewClient[v161.GetSrvVSchemasRequest, v161.GetSrvVSchemasResponse]( httpClient, baseURL+VtctldGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablet: connect.NewClient[v16.GetTabletRequest, v16.GetTabletResponse]( + getTablet: connect.NewClient[v161.GetTabletRequest, v161.GetTabletResponse]( httpClient, baseURL+VtctldGetTabletProcedure, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablets: connect.NewClient[v16.GetTabletsRequest, v16.GetTabletsResponse]( + getTablets: connect.NewClient[v161.GetTabletsRequest, v161.GetTabletsResponse]( httpClient, baseURL+VtctldGetTabletsProcedure, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTopologyPath: connect.NewClient[v16.GetTopologyPathRequest, v16.GetTopologyPathResponse]( + getTopologyPath: connect.NewClient[v161.GetTopologyPathRequest, v161.GetTopologyPathResponse]( httpClient, baseURL+VtctldGetTopologyPathProcedure, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVersion: connect.NewClient[v16.GetVersionRequest, v16.GetVersionResponse]( + getVersion: connect.NewClient[v161.GetVersionRequest, v161.GetVersionResponse]( httpClient, baseURL+VtctldGetVersionProcedure, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVSchema: connect.NewClient[v16.GetVSchemaRequest, v16.GetVSchemaResponse]( + getVSchema: connect.NewClient[v161.GetVSchemaRequest, v161.GetVSchemaResponse]( httpClient, baseURL+VtctldGetVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getWorkflows: connect.NewClient[v16.GetWorkflowsRequest, v16.GetWorkflowsResponse]( + getWorkflows: connect.NewClient[v161.GetWorkflowsRequest, v161.GetWorkflowsResponse]( httpClient, baseURL+VtctldGetWorkflowsProcedure, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - initShardPrimary: connect.NewClient[v16.InitShardPrimaryRequest, v16.InitShardPrimaryResponse]( + initShardPrimary: connect.NewClient[v161.InitShardPrimaryRequest, v161.InitShardPrimaryResponse]( httpClient, baseURL+VtctldInitShardPrimaryProcedure, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - pingTablet: connect.NewClient[v16.PingTabletRequest, v16.PingTabletResponse]( + pingTablet: connect.NewClient[v161.PingTabletRequest, v161.PingTabletResponse]( httpClient, baseURL+VtctldPingTabletProcedure, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - plannedReparentShard: connect.NewClient[v16.PlannedReparentShardRequest, v16.PlannedReparentShardResponse]( + plannedReparentShard: connect.NewClient[v161.PlannedReparentShardRequest, v161.PlannedReparentShardResponse]( httpClient, baseURL+VtctldPlannedReparentShardProcedure, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildKeyspaceGraph: connect.NewClient[v16.RebuildKeyspaceGraphRequest, v16.RebuildKeyspaceGraphResponse]( + rebuildKeyspaceGraph: connect.NewClient[v161.RebuildKeyspaceGraphRequest, v161.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VtctldRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildVSchemaGraph: connect.NewClient[v16.RebuildVSchemaGraphRequest, v16.RebuildVSchemaGraphResponse]( + rebuildVSchemaGraph: connect.NewClient[v161.RebuildVSchemaGraphRequest, v161.RebuildVSchemaGraphResponse]( httpClient, baseURL+VtctldRebuildVSchemaGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[v16.RefreshStateRequest, v16.RefreshStateResponse]( + refreshState: connect.NewClient[v161.RefreshStateRequest, v161.RefreshStateResponse]( httpClient, baseURL+VtctldRefreshStateProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshStateByShard: connect.NewClient[v16.RefreshStateByShardRequest, v16.RefreshStateByShardResponse]( + refreshStateByShard: connect.NewClient[v161.RefreshStateByShardRequest, v161.RefreshStateByShardResponse]( httpClient, baseURL+VtctldRefreshStateByShardProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[v16.ReloadSchemaRequest, v16.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[v161.ReloadSchemaRequest, v161.ReloadSchemaResponse]( httpClient, baseURL+VtctldReloadSchemaProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaKeyspace: connect.NewClient[v16.ReloadSchemaKeyspaceRequest, v16.ReloadSchemaKeyspaceResponse]( + reloadSchemaKeyspace: connect.NewClient[v161.ReloadSchemaKeyspaceRequest, v161.ReloadSchemaKeyspaceResponse]( httpClient, baseURL+VtctldReloadSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaShard: connect.NewClient[v16.ReloadSchemaShardRequest, v16.ReloadSchemaShardResponse]( + reloadSchemaShard: connect.NewClient[v161.ReloadSchemaShardRequest, v161.ReloadSchemaShardResponse]( httpClient, baseURL+VtctldReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeBackup: connect.NewClient[v16.RemoveBackupRequest, v16.RemoveBackupResponse]( + removeBackup: connect.NewClient[v161.RemoveBackupRequest, v161.RemoveBackupResponse]( httpClient, baseURL+VtctldRemoveBackupProcedure, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeKeyspaceCell: connect.NewClient[v16.RemoveKeyspaceCellRequest, v16.RemoveKeyspaceCellResponse]( + removeKeyspaceCell: connect.NewClient[v161.RemoveKeyspaceCellRequest, v161.RemoveKeyspaceCellResponse]( httpClient, baseURL+VtctldRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeShardCell: connect.NewClient[v16.RemoveShardCellRequest, v16.RemoveShardCellResponse]( + removeShardCell: connect.NewClient[v161.RemoveShardCellRequest, v161.RemoveShardCellResponse]( httpClient, baseURL+VtctldRemoveShardCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - reparentTablet: connect.NewClient[v16.ReparentTabletRequest, v16.ReparentTabletResponse]( + reparentTablet: connect.NewClient[v161.ReparentTabletRequest, v161.ReparentTabletResponse]( httpClient, baseURL+VtctldReparentTabletProcedure, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[v16.RestoreFromBackupRequest, v16.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[v161.RestoreFromBackupRequest, v161.RestoreFromBackupResponse]( httpClient, baseURL+VtctldRestoreFromBackupProcedure, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[v16.RunHealthCheckRequest, v16.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[v161.RunHealthCheckRequest, v161.RunHealthCheckResponse]( httpClient, baseURL+VtctldRunHealthCheckProcedure, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - setKeyspaceDurabilityPolicy: connect.NewClient[v16.SetKeyspaceDurabilityPolicyRequest, v16.SetKeyspaceDurabilityPolicyResponse]( + setKeyspaceDurabilityPolicy: connect.NewClient[v161.SetKeyspaceDurabilityPolicyRequest, v161.SetKeyspaceDurabilityPolicyResponse]( httpClient, baseURL+VtctldSetKeyspaceDurabilityPolicyProcedure, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardIsPrimaryServing: connect.NewClient[v16.SetShardIsPrimaryServingRequest, v16.SetShardIsPrimaryServingResponse]( + setShardIsPrimaryServing: connect.NewClient[v161.SetShardIsPrimaryServingRequest, v161.SetShardIsPrimaryServingResponse]( httpClient, baseURL+VtctldSetShardIsPrimaryServingProcedure, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardTabletControl: connect.NewClient[v16.SetShardTabletControlRequest, v16.SetShardTabletControlResponse]( + setShardTabletControl: connect.NewClient[v161.SetShardTabletControlRequest, v161.SetShardTabletControlResponse]( httpClient, baseURL+VtctldSetShardTabletControlProcedure, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithClientOptions(opts...), ), - setWritable: connect.NewClient[v16.SetWritableRequest, v16.SetWritableResponse]( + setWritable: connect.NewClient[v161.SetWritableRequest, v161.SetWritableResponse]( httpClient, baseURL+VtctldSetWritableProcedure, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationAdd: connect.NewClient[v16.ShardReplicationAddRequest, v16.ShardReplicationAddResponse]( + shardReplicationAdd: connect.NewClient[v161.ShardReplicationAddRequest, v161.ShardReplicationAddResponse]( httpClient, baseURL+VtctldShardReplicationAddProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationFix: connect.NewClient[v16.ShardReplicationFixRequest, v16.ShardReplicationFixResponse]( + shardReplicationFix: connect.NewClient[v161.ShardReplicationFixRequest, v161.ShardReplicationFixResponse]( httpClient, baseURL+VtctldShardReplicationFixProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationPositions: connect.NewClient[v16.ShardReplicationPositionsRequest, v16.ShardReplicationPositionsResponse]( + shardReplicationPositions: connect.NewClient[v161.ShardReplicationPositionsRequest, v161.ShardReplicationPositionsResponse]( httpClient, baseURL+VtctldShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationRemove: connect.NewClient[v16.ShardReplicationRemoveRequest, v16.ShardReplicationRemoveResponse]( + shardReplicationRemove: connect.NewClient[v161.ShardReplicationRemoveRequest, v161.ShardReplicationRemoveResponse]( httpClient, baseURL+VtctldShardReplicationRemoveProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleepTablet: connect.NewClient[v16.SleepTabletRequest, v16.SleepTabletResponse]( + sleepTablet: connect.NewClient[v161.SleepTabletRequest, v161.SleepTabletResponse]( httpClient, baseURL+VtctldSleepTabletProcedure, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardAdd: connect.NewClient[v16.SourceShardAddRequest, v16.SourceShardAddResponse]( + sourceShardAdd: connect.NewClient[v161.SourceShardAddRequest, v161.SourceShardAddResponse]( httpClient, baseURL+VtctldSourceShardAddProcedure, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardDelete: connect.NewClient[v16.SourceShardDeleteRequest, v16.SourceShardDeleteResponse]( + sourceShardDelete: connect.NewClient[v161.SourceShardDeleteRequest, v161.SourceShardDeleteResponse]( httpClient, baseURL+VtctldSourceShardDeleteProcedure, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[v16.StartReplicationRequest, v16.StartReplicationResponse]( + startReplication: connect.NewClient[v161.StartReplicationRequest, v161.StartReplicationResponse]( httpClient, baseURL+VtctldStartReplicationProcedure, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[v16.StopReplicationRequest, v16.StopReplicationResponse]( + stopReplication: connect.NewClient[v161.StopReplicationRequest, v161.StopReplicationResponse]( httpClient, baseURL+VtctldStopReplicationProcedure, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - tabletExternallyReparented: connect.NewClient[v16.TabletExternallyReparentedRequest, v16.TabletExternallyReparentedResponse]( + tabletExternallyReparented: connect.NewClient[v161.TabletExternallyReparentedRequest, v161.TabletExternallyReparentedResponse]( httpClient, baseURL+VtctldTabletExternallyReparentedProcedure, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellInfo: connect.NewClient[v16.UpdateCellInfoRequest, v16.UpdateCellInfoResponse]( + updateCellInfo: connect.NewClient[v161.UpdateCellInfoRequest, v161.UpdateCellInfoResponse]( httpClient, baseURL+VtctldUpdateCellInfoProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellsAlias: connect.NewClient[v16.UpdateCellsAliasRequest, v16.UpdateCellsAliasResponse]( + updateCellsAlias: connect.NewClient[v161.UpdateCellsAliasRequest, v161.UpdateCellsAliasResponse]( httpClient, baseURL+VtctldUpdateCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - validate: connect.NewClient[v16.ValidateRequest, v16.ValidateResponse]( + validate: connect.NewClient[v161.ValidateRequest, v161.ValidateResponse]( httpClient, baseURL+VtctldValidateProcedure, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateKeyspace: connect.NewClient[v16.ValidateKeyspaceRequest, v16.ValidateKeyspaceResponse]( + validateKeyspace: connect.NewClient[v161.ValidateKeyspaceRequest, v161.ValidateKeyspaceResponse]( httpClient, baseURL+VtctldValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateSchemaKeyspace: connect.NewClient[v16.ValidateSchemaKeyspaceRequest, v16.ValidateSchemaKeyspaceResponse]( + validateSchemaKeyspace: connect.NewClient[v161.ValidateSchemaKeyspaceRequest, v161.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VtctldValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateShard: connect.NewClient[v16.ValidateShardRequest, v16.ValidateShardResponse]( + validateShard: connect.NewClient[v161.ValidateShardRequest, v161.ValidateShardResponse]( httpClient, baseURL+VtctldValidateShardProcedure, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionKeyspace: connect.NewClient[v16.ValidateVersionKeyspaceRequest, v16.ValidateVersionKeyspaceResponse]( + validateVersionKeyspace: connect.NewClient[v161.ValidateVersionKeyspaceRequest, v161.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VtctldValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionShard: connect.NewClient[v16.ValidateVersionShardRequest, v16.ValidateVersionShardResponse]( + validateVersionShard: connect.NewClient[v161.ValidateVersionShardRequest, v161.ValidateVersionShardResponse]( httpClient, baseURL+VtctldValidateVersionShardProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVSchema: connect.NewClient[v16.ValidateVSchemaRequest, v16.ValidateVSchemaResponse]( + validateVSchema: connect.NewClient[v161.ValidateVSchemaRequest, v161.ValidateVSchemaResponse]( httpClient, baseURL+VtctldValidateVSchemaProcedure, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctldClient implements VtctldClient. type vtctldClient struct { - addCellInfo *connect.Client[v16.AddCellInfoRequest, v16.AddCellInfoResponse] - addCellsAlias *connect.Client[v16.AddCellsAliasRequest, v16.AddCellsAliasResponse] - applyRoutingRules *connect.Client[v16.ApplyRoutingRulesRequest, v16.ApplyRoutingRulesResponse] - applySchema *connect.Client[v16.ApplySchemaRequest, v16.ApplySchemaResponse] - applyShardRoutingRules *connect.Client[v16.ApplyShardRoutingRulesRequest, v16.ApplyShardRoutingRulesResponse] - applyVSchema *connect.Client[v16.ApplyVSchemaRequest, v16.ApplyVSchemaResponse] - backup *connect.Client[v16.BackupRequest, v16.BackupResponse] - backupShard *connect.Client[v16.BackupShardRequest, v16.BackupResponse] - changeTabletType *connect.Client[v16.ChangeTabletTypeRequest, v16.ChangeTabletTypeResponse] - createKeyspace *connect.Client[v16.CreateKeyspaceRequest, v16.CreateKeyspaceResponse] - createShard *connect.Client[v16.CreateShardRequest, v16.CreateShardResponse] - deleteCellInfo *connect.Client[v16.DeleteCellInfoRequest, v16.DeleteCellInfoResponse] - deleteCellsAlias *connect.Client[v16.DeleteCellsAliasRequest, v16.DeleteCellsAliasResponse] - deleteKeyspace *connect.Client[v16.DeleteKeyspaceRequest, v16.DeleteKeyspaceResponse] - deleteShards *connect.Client[v16.DeleteShardsRequest, v16.DeleteShardsResponse] - deleteSrvVSchema *connect.Client[v16.DeleteSrvVSchemaRequest, v16.DeleteSrvVSchemaResponse] - deleteTablets *connect.Client[v16.DeleteTabletsRequest, v16.DeleteTabletsResponse] - emergencyReparentShard *connect.Client[v16.EmergencyReparentShardRequest, v16.EmergencyReparentShardResponse] - executeFetchAsApp *connect.Client[v16.ExecuteFetchAsAppRequest, v16.ExecuteFetchAsAppResponse] - executeFetchAsDBA *connect.Client[v16.ExecuteFetchAsDBARequest, v16.ExecuteFetchAsDBAResponse] - executeHook *connect.Client[v16.ExecuteHookRequest, v16.ExecuteHookResponse] - findAllShardsInKeyspace *connect.Client[v16.FindAllShardsInKeyspaceRequest, v16.FindAllShardsInKeyspaceResponse] - getBackups *connect.Client[v16.GetBackupsRequest, v16.GetBackupsResponse] - getCellInfo *connect.Client[v16.GetCellInfoRequest, v16.GetCellInfoResponse] - getCellInfoNames *connect.Client[v16.GetCellInfoNamesRequest, v16.GetCellInfoNamesResponse] - getCellsAliases *connect.Client[v16.GetCellsAliasesRequest, v16.GetCellsAliasesResponse] - getFullStatus *connect.Client[v16.GetFullStatusRequest, v16.GetFullStatusResponse] - getKeyspace *connect.Client[v16.GetKeyspaceRequest, v16.GetKeyspaceResponse] - getKeyspaces *connect.Client[v16.GetKeyspacesRequest, v16.GetKeyspacesResponse] - getPermissions *connect.Client[v16.GetPermissionsRequest, v16.GetPermissionsResponse] - getRoutingRules *connect.Client[v16.GetRoutingRulesRequest, v16.GetRoutingRulesResponse] - getSchema *connect.Client[v16.GetSchemaRequest, v16.GetSchemaResponse] - getShard *connect.Client[v16.GetShardRequest, v16.GetShardResponse] - getShardRoutingRules *connect.Client[v16.GetShardRoutingRulesRequest, v16.GetShardRoutingRulesResponse] - getSrvKeyspaceNames *connect.Client[v16.GetSrvKeyspaceNamesRequest, v16.GetSrvKeyspaceNamesResponse] - getSrvKeyspaces *connect.Client[v16.GetSrvKeyspacesRequest, v16.GetSrvKeyspacesResponse] - updateThrottlerConfig *connect.Client[v16.UpdateThrottlerConfigRequest, v16.UpdateThrottlerConfigResponse] - getSrvVSchema *connect.Client[v16.GetSrvVSchemaRequest, v16.GetSrvVSchemaResponse] - getSrvVSchemas *connect.Client[v16.GetSrvVSchemasRequest, v16.GetSrvVSchemasResponse] - getTablet *connect.Client[v16.GetTabletRequest, v16.GetTabletResponse] - getTablets *connect.Client[v16.GetTabletsRequest, v16.GetTabletsResponse] - getTopologyPath *connect.Client[v16.GetTopologyPathRequest, v16.GetTopologyPathResponse] - getVersion *connect.Client[v16.GetVersionRequest, v16.GetVersionResponse] - getVSchema *connect.Client[v16.GetVSchemaRequest, v16.GetVSchemaResponse] - getWorkflows *connect.Client[v16.GetWorkflowsRequest, v16.GetWorkflowsResponse] - initShardPrimary *connect.Client[v16.InitShardPrimaryRequest, v16.InitShardPrimaryResponse] - pingTablet *connect.Client[v16.PingTabletRequest, v16.PingTabletResponse] - plannedReparentShard *connect.Client[v16.PlannedReparentShardRequest, v16.PlannedReparentShardResponse] - rebuildKeyspaceGraph *connect.Client[v16.RebuildKeyspaceGraphRequest, v16.RebuildKeyspaceGraphResponse] - rebuildVSchemaGraph *connect.Client[v16.RebuildVSchemaGraphRequest, v16.RebuildVSchemaGraphResponse] - refreshState *connect.Client[v16.RefreshStateRequest, v16.RefreshStateResponse] - refreshStateByShard *connect.Client[v16.RefreshStateByShardRequest, v16.RefreshStateByShardResponse] - reloadSchema *connect.Client[v16.ReloadSchemaRequest, v16.ReloadSchemaResponse] - reloadSchemaKeyspace *connect.Client[v16.ReloadSchemaKeyspaceRequest, v16.ReloadSchemaKeyspaceResponse] - reloadSchemaShard *connect.Client[v16.ReloadSchemaShardRequest, v16.ReloadSchemaShardResponse] - removeBackup *connect.Client[v16.RemoveBackupRequest, v16.RemoveBackupResponse] - removeKeyspaceCell *connect.Client[v16.RemoveKeyspaceCellRequest, v16.RemoveKeyspaceCellResponse] - removeShardCell *connect.Client[v16.RemoveShardCellRequest, v16.RemoveShardCellResponse] - reparentTablet *connect.Client[v16.ReparentTabletRequest, v16.ReparentTabletResponse] - restoreFromBackup *connect.Client[v16.RestoreFromBackupRequest, v16.RestoreFromBackupResponse] - runHealthCheck *connect.Client[v16.RunHealthCheckRequest, v16.RunHealthCheckResponse] - setKeyspaceDurabilityPolicy *connect.Client[v16.SetKeyspaceDurabilityPolicyRequest, v16.SetKeyspaceDurabilityPolicyResponse] - setShardIsPrimaryServing *connect.Client[v16.SetShardIsPrimaryServingRequest, v16.SetShardIsPrimaryServingResponse] - setShardTabletControl *connect.Client[v16.SetShardTabletControlRequest, v16.SetShardTabletControlResponse] - setWritable *connect.Client[v16.SetWritableRequest, v16.SetWritableResponse] - shardReplicationAdd *connect.Client[v16.ShardReplicationAddRequest, v16.ShardReplicationAddResponse] - shardReplicationFix *connect.Client[v16.ShardReplicationFixRequest, v16.ShardReplicationFixResponse] - shardReplicationPositions *connect.Client[v16.ShardReplicationPositionsRequest, v16.ShardReplicationPositionsResponse] - shardReplicationRemove *connect.Client[v16.ShardReplicationRemoveRequest, v16.ShardReplicationRemoveResponse] - sleepTablet *connect.Client[v16.SleepTabletRequest, v16.SleepTabletResponse] - sourceShardAdd *connect.Client[v16.SourceShardAddRequest, v16.SourceShardAddResponse] - sourceShardDelete *connect.Client[v16.SourceShardDeleteRequest, v16.SourceShardDeleteResponse] - startReplication *connect.Client[v16.StartReplicationRequest, v16.StartReplicationResponse] - stopReplication *connect.Client[v16.StopReplicationRequest, v16.StopReplicationResponse] - tabletExternallyReparented *connect.Client[v16.TabletExternallyReparentedRequest, v16.TabletExternallyReparentedResponse] - updateCellInfo *connect.Client[v16.UpdateCellInfoRequest, v16.UpdateCellInfoResponse] - updateCellsAlias *connect.Client[v16.UpdateCellsAliasRequest, v16.UpdateCellsAliasResponse] - validate *connect.Client[v16.ValidateRequest, v16.ValidateResponse] - validateKeyspace *connect.Client[v16.ValidateKeyspaceRequest, v16.ValidateKeyspaceResponse] - validateSchemaKeyspace *connect.Client[v16.ValidateSchemaKeyspaceRequest, v16.ValidateSchemaKeyspaceResponse] - validateShard *connect.Client[v16.ValidateShardRequest, v16.ValidateShardResponse] - validateVersionKeyspace *connect.Client[v16.ValidateVersionKeyspaceRequest, v16.ValidateVersionKeyspaceResponse] - validateVersionShard *connect.Client[v16.ValidateVersionShardRequest, v16.ValidateVersionShardResponse] - validateVSchema *connect.Client[v16.ValidateVSchemaRequest, v16.ValidateVSchemaResponse] + addCellInfo *connect.Client[v161.AddCellInfoRequest, v161.AddCellInfoResponse] + addCellsAlias *connect.Client[v161.AddCellsAliasRequest, v161.AddCellsAliasResponse] + applyRoutingRules *connect.Client[v161.ApplyRoutingRulesRequest, v161.ApplyRoutingRulesResponse] + applySchema *connect.Client[v161.ApplySchemaRequest, v161.ApplySchemaResponse] + applyShardRoutingRules *connect.Client[v161.ApplyShardRoutingRulesRequest, v161.ApplyShardRoutingRulesResponse] + applyVSchema *connect.Client[v161.ApplyVSchemaRequest, v161.ApplyVSchemaResponse] + backup *connect.Client[v161.BackupRequest, v161.BackupResponse] + backupShard *connect.Client[v161.BackupShardRequest, v161.BackupResponse] + changeTabletType *connect.Client[v161.ChangeTabletTypeRequest, v161.ChangeTabletTypeResponse] + createKeyspace *connect.Client[v161.CreateKeyspaceRequest, v161.CreateKeyspaceResponse] + createShard *connect.Client[v161.CreateShardRequest, v161.CreateShardResponse] + deleteCellInfo *connect.Client[v161.DeleteCellInfoRequest, v161.DeleteCellInfoResponse] + deleteCellsAlias *connect.Client[v161.DeleteCellsAliasRequest, v161.DeleteCellsAliasResponse] + deleteKeyspace *connect.Client[v161.DeleteKeyspaceRequest, v161.DeleteKeyspaceResponse] + deleteShards *connect.Client[v161.DeleteShardsRequest, v161.DeleteShardsResponse] + deleteSrvVSchema *connect.Client[v161.DeleteSrvVSchemaRequest, v161.DeleteSrvVSchemaResponse] + deleteTablets *connect.Client[v161.DeleteTabletsRequest, v161.DeleteTabletsResponse] + emergencyReparentShard *connect.Client[v161.EmergencyReparentShardRequest, v161.EmergencyReparentShardResponse] + executeFetchAsApp *connect.Client[v161.ExecuteFetchAsAppRequest, v161.ExecuteFetchAsAppResponse] + executeFetchAsDBA *connect.Client[v161.ExecuteFetchAsDBARequest, v161.ExecuteFetchAsDBAResponse] + executeHook *connect.Client[v161.ExecuteHookRequest, v161.ExecuteHookResponse] + findAllShardsInKeyspace *connect.Client[v161.FindAllShardsInKeyspaceRequest, v161.FindAllShardsInKeyspaceResponse] + getBackups *connect.Client[v161.GetBackupsRequest, v161.GetBackupsResponse] + getCellInfo *connect.Client[v161.GetCellInfoRequest, v161.GetCellInfoResponse] + getCellInfoNames *connect.Client[v161.GetCellInfoNamesRequest, v161.GetCellInfoNamesResponse] + getCellsAliases *connect.Client[v161.GetCellsAliasesRequest, v161.GetCellsAliasesResponse] + getFullStatus *connect.Client[v161.GetFullStatusRequest, v161.GetFullStatusResponse] + getKeyspace *connect.Client[v161.GetKeyspaceRequest, v161.GetKeyspaceResponse] + getKeyspaces *connect.Client[v161.GetKeyspacesRequest, v161.GetKeyspacesResponse] + getPermissions *connect.Client[v161.GetPermissionsRequest, v161.GetPermissionsResponse] + getRoutingRules *connect.Client[v161.GetRoutingRulesRequest, v161.GetRoutingRulesResponse] + getSchema *connect.Client[v161.GetSchemaRequest, v161.GetSchemaResponse] + getShard *connect.Client[v161.GetShardRequest, v161.GetShardResponse] + getShardRoutingRules *connect.Client[v161.GetShardRoutingRulesRequest, v161.GetShardRoutingRulesResponse] + getSrvKeyspaceNames *connect.Client[v161.GetSrvKeyspaceNamesRequest, v161.GetSrvKeyspaceNamesResponse] + getSrvKeyspaces *connect.Client[v161.GetSrvKeyspacesRequest, v161.GetSrvKeyspacesResponse] + updateThrottlerConfig *connect.Client[v161.UpdateThrottlerConfigRequest, v161.UpdateThrottlerConfigResponse] + getSrvVSchema *connect.Client[v161.GetSrvVSchemaRequest, v161.GetSrvVSchemaResponse] + getSrvVSchemas *connect.Client[v161.GetSrvVSchemasRequest, v161.GetSrvVSchemasResponse] + getTablet *connect.Client[v161.GetTabletRequest, v161.GetTabletResponse] + getTablets *connect.Client[v161.GetTabletsRequest, v161.GetTabletsResponse] + getTopologyPath *connect.Client[v161.GetTopologyPathRequest, v161.GetTopologyPathResponse] + getVersion *connect.Client[v161.GetVersionRequest, v161.GetVersionResponse] + getVSchema *connect.Client[v161.GetVSchemaRequest, v161.GetVSchemaResponse] + getWorkflows *connect.Client[v161.GetWorkflowsRequest, v161.GetWorkflowsResponse] + initShardPrimary *connect.Client[v161.InitShardPrimaryRequest, v161.InitShardPrimaryResponse] + pingTablet *connect.Client[v161.PingTabletRequest, v161.PingTabletResponse] + plannedReparentShard *connect.Client[v161.PlannedReparentShardRequest, v161.PlannedReparentShardResponse] + rebuildKeyspaceGraph *connect.Client[v161.RebuildKeyspaceGraphRequest, v161.RebuildKeyspaceGraphResponse] + rebuildVSchemaGraph *connect.Client[v161.RebuildVSchemaGraphRequest, v161.RebuildVSchemaGraphResponse] + refreshState *connect.Client[v161.RefreshStateRequest, v161.RefreshStateResponse] + refreshStateByShard *connect.Client[v161.RefreshStateByShardRequest, v161.RefreshStateByShardResponse] + reloadSchema *connect.Client[v161.ReloadSchemaRequest, v161.ReloadSchemaResponse] + reloadSchemaKeyspace *connect.Client[v161.ReloadSchemaKeyspaceRequest, v161.ReloadSchemaKeyspaceResponse] + reloadSchemaShard *connect.Client[v161.ReloadSchemaShardRequest, v161.ReloadSchemaShardResponse] + removeBackup *connect.Client[v161.RemoveBackupRequest, v161.RemoveBackupResponse] + removeKeyspaceCell *connect.Client[v161.RemoveKeyspaceCellRequest, v161.RemoveKeyspaceCellResponse] + removeShardCell *connect.Client[v161.RemoveShardCellRequest, v161.RemoveShardCellResponse] + reparentTablet *connect.Client[v161.ReparentTabletRequest, v161.ReparentTabletResponse] + restoreFromBackup *connect.Client[v161.RestoreFromBackupRequest, v161.RestoreFromBackupResponse] + runHealthCheck *connect.Client[v161.RunHealthCheckRequest, v161.RunHealthCheckResponse] + setKeyspaceDurabilityPolicy *connect.Client[v161.SetKeyspaceDurabilityPolicyRequest, v161.SetKeyspaceDurabilityPolicyResponse] + setShardIsPrimaryServing *connect.Client[v161.SetShardIsPrimaryServingRequest, v161.SetShardIsPrimaryServingResponse] + setShardTabletControl *connect.Client[v161.SetShardTabletControlRequest, v161.SetShardTabletControlResponse] + setWritable *connect.Client[v161.SetWritableRequest, v161.SetWritableResponse] + shardReplicationAdd *connect.Client[v161.ShardReplicationAddRequest, v161.ShardReplicationAddResponse] + shardReplicationFix *connect.Client[v161.ShardReplicationFixRequest, v161.ShardReplicationFixResponse] + shardReplicationPositions *connect.Client[v161.ShardReplicationPositionsRequest, v161.ShardReplicationPositionsResponse] + shardReplicationRemove *connect.Client[v161.ShardReplicationRemoveRequest, v161.ShardReplicationRemoveResponse] + sleepTablet *connect.Client[v161.SleepTabletRequest, v161.SleepTabletResponse] + sourceShardAdd *connect.Client[v161.SourceShardAddRequest, v161.SourceShardAddResponse] + sourceShardDelete *connect.Client[v161.SourceShardDeleteRequest, v161.SourceShardDeleteResponse] + startReplication *connect.Client[v161.StartReplicationRequest, v161.StartReplicationResponse] + stopReplication *connect.Client[v161.StopReplicationRequest, v161.StopReplicationResponse] + tabletExternallyReparented *connect.Client[v161.TabletExternallyReparentedRequest, v161.TabletExternallyReparentedResponse] + updateCellInfo *connect.Client[v161.UpdateCellInfoRequest, v161.UpdateCellInfoResponse] + updateCellsAlias *connect.Client[v161.UpdateCellsAliasRequest, v161.UpdateCellsAliasResponse] + validate *connect.Client[v161.ValidateRequest, v161.ValidateResponse] + validateKeyspace *connect.Client[v161.ValidateKeyspaceRequest, v161.ValidateKeyspaceResponse] + validateSchemaKeyspace *connect.Client[v161.ValidateSchemaKeyspaceRequest, v161.ValidateSchemaKeyspaceResponse] + validateShard *connect.Client[v161.ValidateShardRequest, v161.ValidateShardResponse] + validateVersionKeyspace *connect.Client[v161.ValidateVersionKeyspaceRequest, v161.ValidateVersionKeyspaceResponse] + validateVersionShard *connect.Client[v161.ValidateVersionShardRequest, v161.ValidateVersionShardResponse] + validateVSchema *connect.Client[v161.ValidateVSchemaRequest, v161.ValidateVSchemaResponse] } // AddCellInfo calls vtctlservice.Vtctld.AddCellInfo. -func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[v16.AddCellInfoRequest]) (*connect.Response[v16.AddCellInfoResponse], error) { +func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[v161.AddCellInfoRequest]) (*connect.Response[v161.AddCellInfoResponse], error) { return c.addCellInfo.CallUnary(ctx, req) } // AddCellsAlias calls vtctlservice.Vtctld.AddCellsAlias. -func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[v16.AddCellsAliasRequest]) (*connect.Response[v16.AddCellsAliasResponse], error) { +func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[v161.AddCellsAliasRequest]) (*connect.Response[v161.AddCellsAliasResponse], error) { return c.addCellsAlias.CallUnary(ctx, req) } // ApplyRoutingRules calls vtctlservice.Vtctld.ApplyRoutingRules. -func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[v16.ApplyRoutingRulesRequest]) (*connect.Response[v16.ApplyRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[v161.ApplyRoutingRulesRequest]) (*connect.Response[v161.ApplyRoutingRulesResponse], error) { return c.applyRoutingRules.CallUnary(ctx, req) } // ApplySchema calls vtctlservice.Vtctld.ApplySchema. -func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) { +func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } // ApplyShardRoutingRules calls vtctlservice.Vtctld.ApplyShardRoutingRules. -func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[v16.ApplyShardRoutingRulesRequest]) (*connect.Response[v16.ApplyShardRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[v161.ApplyShardRoutingRulesRequest]) (*connect.Response[v161.ApplyShardRoutingRulesResponse], error) { return c.applyShardRoutingRules.CallUnary(ctx, req) } // ApplyVSchema calls vtctlservice.Vtctld.ApplyVSchema. -func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[v16.ApplyVSchemaRequest]) (*connect.Response[v16.ApplyVSchemaResponse], error) { +func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[v161.ApplyVSchemaRequest]) (*connect.Response[v161.ApplyVSchemaResponse], error) { return c.applyVSchema.CallUnary(ctx, req) } // Backup calls vtctlservice.Vtctld.Backup. -func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[v16.BackupRequest]) (*connect.ServerStreamForClient[v16.BackupResponse], error) { +func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[v161.BackupRequest]) (*connect.ServerStreamForClient[v161.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // BackupShard calls vtctlservice.Vtctld.BackupShard. -func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[v16.BackupShardRequest]) (*connect.ServerStreamForClient[v16.BackupResponse], error) { +func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[v161.BackupShardRequest]) (*connect.ServerStreamForClient[v161.BackupResponse], error) { return c.backupShard.CallServerStream(ctx, req) } // ChangeTabletType calls vtctlservice.Vtctld.ChangeTabletType. -func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[v16.ChangeTabletTypeRequest]) (*connect.Response[v16.ChangeTabletTypeResponse], error) { +func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[v161.ChangeTabletTypeRequest]) (*connect.Response[v161.ChangeTabletTypeResponse], error) { return c.changeTabletType.CallUnary(ctx, req) } // CreateKeyspace calls vtctlservice.Vtctld.CreateKeyspace. -func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[v16.CreateKeyspaceRequest]) (*connect.Response[v16.CreateKeyspaceResponse], error) { +func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[v161.CreateKeyspaceRequest]) (*connect.Response[v161.CreateKeyspaceResponse], error) { return c.createKeyspace.CallUnary(ctx, req) } // CreateShard calls vtctlservice.Vtctld.CreateShard. -func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[v16.CreateShardRequest]) (*connect.Response[v16.CreateShardResponse], error) { +func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[v161.CreateShardRequest]) (*connect.Response[v161.CreateShardResponse], error) { return c.createShard.CallUnary(ctx, req) } // DeleteCellInfo calls vtctlservice.Vtctld.DeleteCellInfo. -func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[v16.DeleteCellInfoRequest]) (*connect.Response[v16.DeleteCellInfoResponse], error) { +func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[v161.DeleteCellInfoRequest]) (*connect.Response[v161.DeleteCellInfoResponse], error) { return c.deleteCellInfo.CallUnary(ctx, req) } // DeleteCellsAlias calls vtctlservice.Vtctld.DeleteCellsAlias. -func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[v16.DeleteCellsAliasRequest]) (*connect.Response[v16.DeleteCellsAliasResponse], error) { +func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[v161.DeleteCellsAliasRequest]) (*connect.Response[v161.DeleteCellsAliasResponse], error) { return c.deleteCellsAlias.CallUnary(ctx, req) } // DeleteKeyspace calls vtctlservice.Vtctld.DeleteKeyspace. -func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v16.DeleteKeyspaceRequest]) (*connect.Response[v16.DeleteKeyspaceResponse], error) { +func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v161.DeleteKeyspaceRequest]) (*connect.Response[v161.DeleteKeyspaceResponse], error) { return c.deleteKeyspace.CallUnary(ctx, req) } // DeleteShards calls vtctlservice.Vtctld.DeleteShards. -func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[v16.DeleteShardsRequest]) (*connect.Response[v16.DeleteShardsResponse], error) { +func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[v161.DeleteShardsRequest]) (*connect.Response[v161.DeleteShardsResponse], error) { return c.deleteShards.CallUnary(ctx, req) } // DeleteSrvVSchema calls vtctlservice.Vtctld.DeleteSrvVSchema. -func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[v16.DeleteSrvVSchemaRequest]) (*connect.Response[v16.DeleteSrvVSchemaResponse], error) { +func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[v161.DeleteSrvVSchemaRequest]) (*connect.Response[v161.DeleteSrvVSchemaResponse], error) { return c.deleteSrvVSchema.CallUnary(ctx, req) } // DeleteTablets calls vtctlservice.Vtctld.DeleteTablets. -func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[v16.DeleteTabletsRequest]) (*connect.Response[v16.DeleteTabletsResponse], error) { +func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[v161.DeleteTabletsRequest]) (*connect.Response[v161.DeleteTabletsResponse], error) { return c.deleteTablets.CallUnary(ctx, req) } // EmergencyReparentShard calls vtctlservice.Vtctld.EmergencyReparentShard. -func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[v16.EmergencyReparentShardRequest]) (*connect.Response[v16.EmergencyReparentShardResponse], error) { +func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[v161.EmergencyReparentShardRequest]) (*connect.Response[v161.EmergencyReparentShardResponse], error) { return c.emergencyReparentShard.CallUnary(ctx, req) } // ExecuteFetchAsApp calls vtctlservice.Vtctld.ExecuteFetchAsApp. -func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) { +func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } // ExecuteFetchAsDBA calls vtctlservice.Vtctld.ExecuteFetchAsDBA. -func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[v16.ExecuteFetchAsDBARequest]) (*connect.Response[v16.ExecuteFetchAsDBAResponse], error) { +func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[v161.ExecuteFetchAsDBARequest]) (*connect.Response[v161.ExecuteFetchAsDBAResponse], error) { return c.executeFetchAsDBA.CallUnary(ctx, req) } // ExecuteHook calls vtctlservice.Vtctld.ExecuteHook. -func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) { +func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } // FindAllShardsInKeyspace calls vtctlservice.Vtctld.FindAllShardsInKeyspace. -func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[v16.FindAllShardsInKeyspaceRequest]) (*connect.Response[v16.FindAllShardsInKeyspaceResponse], error) { +func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[v161.FindAllShardsInKeyspaceRequest]) (*connect.Response[v161.FindAllShardsInKeyspaceResponse], error) { return c.findAllShardsInKeyspace.CallUnary(ctx, req) } // GetBackups calls vtctlservice.Vtctld.GetBackups. -func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[v16.GetBackupsRequest]) (*connect.Response[v16.GetBackupsResponse], error) { +func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[v161.GetBackupsRequest]) (*connect.Response[v161.GetBackupsResponse], error) { return c.getBackups.CallUnary(ctx, req) } // GetCellInfo calls vtctlservice.Vtctld.GetCellInfo. -func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[v16.GetCellInfoRequest]) (*connect.Response[v16.GetCellInfoResponse], error) { +func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[v161.GetCellInfoRequest]) (*connect.Response[v161.GetCellInfoResponse], error) { return c.getCellInfo.CallUnary(ctx, req) } // GetCellInfoNames calls vtctlservice.Vtctld.GetCellInfoNames. -func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[v16.GetCellInfoNamesRequest]) (*connect.Response[v16.GetCellInfoNamesResponse], error) { +func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[v161.GetCellInfoNamesRequest]) (*connect.Response[v161.GetCellInfoNamesResponse], error) { return c.getCellInfoNames.CallUnary(ctx, req) } // GetCellsAliases calls vtctlservice.Vtctld.GetCellsAliases. -func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[v16.GetCellsAliasesRequest]) (*connect.Response[v16.GetCellsAliasesResponse], error) { +func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[v161.GetCellsAliasesRequest]) (*connect.Response[v161.GetCellsAliasesResponse], error) { return c.getCellsAliases.CallUnary(ctx, req) } // GetFullStatus calls vtctlservice.Vtctld.GetFullStatus. -func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[v16.GetFullStatusRequest]) (*connect.Response[v16.GetFullStatusResponse], error) { +func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[v161.GetFullStatusRequest]) (*connect.Response[v161.GetFullStatusResponse], error) { return c.getFullStatus.CallUnary(ctx, req) } // GetKeyspace calls vtctlservice.Vtctld.GetKeyspace. -func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[v16.GetKeyspaceRequest]) (*connect.Response[v16.GetKeyspaceResponse], error) { +func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[v161.GetKeyspaceRequest]) (*connect.Response[v161.GetKeyspaceResponse], error) { return c.getKeyspace.CallUnary(ctx, req) } // GetKeyspaces calls vtctlservice.Vtctld.GetKeyspaces. -func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[v16.GetKeyspacesRequest]) (*connect.Response[v16.GetKeyspacesResponse], error) { +func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[v161.GetKeyspacesRequest]) (*connect.Response[v161.GetKeyspacesResponse], error) { return c.getKeyspaces.CallUnary(ctx, req) } // GetPermissions calls vtctlservice.Vtctld.GetPermissions. -func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) { +func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } // GetRoutingRules calls vtctlservice.Vtctld.GetRoutingRules. -func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[v16.GetRoutingRulesRequest]) (*connect.Response[v16.GetRoutingRulesResponse], error) { +func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[v161.GetRoutingRulesRequest]) (*connect.Response[v161.GetRoutingRulesResponse], error) { return c.getRoutingRules.CallUnary(ctx, req) } // GetSchema calls vtctlservice.Vtctld.GetSchema. -func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) { +func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetShard calls vtctlservice.Vtctld.GetShard. -func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[v16.GetShardRequest]) (*connect.Response[v16.GetShardResponse], error) { +func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[v161.GetShardRequest]) (*connect.Response[v161.GetShardResponse], error) { return c.getShard.CallUnary(ctx, req) } // GetShardRoutingRules calls vtctlservice.Vtctld.GetShardRoutingRules. -func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[v16.GetShardRoutingRulesRequest]) (*connect.Response[v16.GetShardRoutingRulesResponse], error) { +func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[v161.GetShardRoutingRulesRequest]) (*connect.Response[v161.GetShardRoutingRulesResponse], error) { return c.getShardRoutingRules.CallUnary(ctx, req) } // GetSrvKeyspaceNames calls vtctlservice.Vtctld.GetSrvKeyspaceNames. -func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[v16.GetSrvKeyspaceNamesRequest]) (*connect.Response[v16.GetSrvKeyspaceNamesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[v161.GetSrvKeyspaceNamesRequest]) (*connect.Response[v161.GetSrvKeyspaceNamesResponse], error) { return c.getSrvKeyspaceNames.CallUnary(ctx, req) } // GetSrvKeyspaces calls vtctlservice.Vtctld.GetSrvKeyspaces. -func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v16.GetSrvKeyspacesRequest]) (*connect.Response[v16.GetSrvKeyspacesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v161.GetSrvKeyspacesRequest]) (*connect.Response[v161.GetSrvKeyspacesResponse], error) { return c.getSrvKeyspaces.CallUnary(ctx, req) } // UpdateThrottlerConfig calls vtctlservice.Vtctld.UpdateThrottlerConfig. -func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[v16.UpdateThrottlerConfigRequest]) (*connect.Response[v16.UpdateThrottlerConfigResponse], error) { +func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[v161.UpdateThrottlerConfigRequest]) (*connect.Response[v161.UpdateThrottlerConfigResponse], error) { return c.updateThrottlerConfig.CallUnary(ctx, req) } // GetSrvVSchema calls vtctlservice.Vtctld.GetSrvVSchema. -func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v16.GetSrvVSchemaRequest]) (*connect.Response[v16.GetSrvVSchemaResponse], error) { +func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v161.GetSrvVSchemaRequest]) (*connect.Response[v161.GetSrvVSchemaResponse], error) { return c.getSrvVSchema.CallUnary(ctx, req) } // GetSrvVSchemas calls vtctlservice.Vtctld.GetSrvVSchemas. -func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v16.GetSrvVSchemasRequest]) (*connect.Response[v16.GetSrvVSchemasResponse], error) { +func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v161.GetSrvVSchemasRequest]) (*connect.Response[v161.GetSrvVSchemasResponse], error) { return c.getSrvVSchemas.CallUnary(ctx, req) } // GetTablet calls vtctlservice.Vtctld.GetTablet. -func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[v16.GetTabletRequest]) (*connect.Response[v16.GetTabletResponse], error) { +func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[v161.GetTabletRequest]) (*connect.Response[v161.GetTabletResponse], error) { return c.getTablet.CallUnary(ctx, req) } // GetTablets calls vtctlservice.Vtctld.GetTablets. -func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[v16.GetTabletsRequest]) (*connect.Response[v16.GetTabletsResponse], error) { +func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[v161.GetTabletsRequest]) (*connect.Response[v161.GetTabletsResponse], error) { return c.getTablets.CallUnary(ctx, req) } // GetTopologyPath calls vtctlservice.Vtctld.GetTopologyPath. -func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[v16.GetTopologyPathRequest]) (*connect.Response[v16.GetTopologyPathResponse], error) { +func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[v161.GetTopologyPathRequest]) (*connect.Response[v161.GetTopologyPathResponse], error) { return c.getTopologyPath.CallUnary(ctx, req) } // GetVersion calls vtctlservice.Vtctld.GetVersion. -func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[v16.GetVersionRequest]) (*connect.Response[v16.GetVersionResponse], error) { +func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[v161.GetVersionRequest]) (*connect.Response[v161.GetVersionResponse], error) { return c.getVersion.CallUnary(ctx, req) } // GetVSchema calls vtctlservice.Vtctld.GetVSchema. -func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[v16.GetVSchemaRequest]) (*connect.Response[v16.GetVSchemaResponse], error) { +func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[v161.GetVSchemaRequest]) (*connect.Response[v161.GetVSchemaResponse], error) { return c.getVSchema.CallUnary(ctx, req) } // GetWorkflows calls vtctlservice.Vtctld.GetWorkflows. -func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[v16.GetWorkflowsRequest]) (*connect.Response[v16.GetWorkflowsResponse], error) { +func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[v161.GetWorkflowsRequest]) (*connect.Response[v161.GetWorkflowsResponse], error) { return c.getWorkflows.CallUnary(ctx, req) } // InitShardPrimary calls vtctlservice.Vtctld.InitShardPrimary. -func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[v16.InitShardPrimaryRequest]) (*connect.Response[v16.InitShardPrimaryResponse], error) { +func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[v161.InitShardPrimaryRequest]) (*connect.Response[v161.InitShardPrimaryResponse], error) { return c.initShardPrimary.CallUnary(ctx, req) } // PingTablet calls vtctlservice.Vtctld.PingTablet. -func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[v16.PingTabletRequest]) (*connect.Response[v16.PingTabletResponse], error) { +func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[v161.PingTabletRequest]) (*connect.Response[v161.PingTabletResponse], error) { return c.pingTablet.CallUnary(ctx, req) } // PlannedReparentShard calls vtctlservice.Vtctld.PlannedReparentShard. -func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[v16.PlannedReparentShardRequest]) (*connect.Response[v16.PlannedReparentShardResponse], error) { +func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[v161.PlannedReparentShardRequest]) (*connect.Response[v161.PlannedReparentShardResponse], error) { return c.plannedReparentShard.CallUnary(ctx, req) } // RebuildKeyspaceGraph calls vtctlservice.Vtctld.RebuildKeyspaceGraph. -func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v16.RebuildKeyspaceGraphRequest]) (*connect.Response[v16.RebuildKeyspaceGraphResponse], error) { +func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v161.RebuildKeyspaceGraphRequest]) (*connect.Response[v161.RebuildKeyspaceGraphResponse], error) { return c.rebuildKeyspaceGraph.CallUnary(ctx, req) } // RebuildVSchemaGraph calls vtctlservice.Vtctld.RebuildVSchemaGraph. -func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[v16.RebuildVSchemaGraphRequest]) (*connect.Response[v16.RebuildVSchemaGraphResponse], error) { +func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[v161.RebuildVSchemaGraphRequest]) (*connect.Response[v161.RebuildVSchemaGraphResponse], error) { return c.rebuildVSchemaGraph.CallUnary(ctx, req) } // RefreshState calls vtctlservice.Vtctld.RefreshState. -func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) { +func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RefreshStateByShard calls vtctlservice.Vtctld.RefreshStateByShard. -func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[v16.RefreshStateByShardRequest]) (*connect.Response[v16.RefreshStateByShardResponse], error) { +func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[v161.RefreshStateByShardRequest]) (*connect.Response[v161.RefreshStateByShardResponse], error) { return c.refreshStateByShard.CallUnary(ctx, req) } // ReloadSchema calls vtctlservice.Vtctld.ReloadSchema. -func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) { +func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // ReloadSchemaKeyspace calls vtctlservice.Vtctld.ReloadSchemaKeyspace. -func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[v16.ReloadSchemaKeyspaceRequest]) (*connect.Response[v16.ReloadSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[v161.ReloadSchemaKeyspaceRequest]) (*connect.Response[v161.ReloadSchemaKeyspaceResponse], error) { return c.reloadSchemaKeyspace.CallUnary(ctx, req) } // ReloadSchemaShard calls vtctlservice.Vtctld.ReloadSchemaShard. -func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v16.ReloadSchemaShardRequest]) (*connect.Response[v16.ReloadSchemaShardResponse], error) { +func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v161.ReloadSchemaShardRequest]) (*connect.Response[v161.ReloadSchemaShardResponse], error) { return c.reloadSchemaShard.CallUnary(ctx, req) } // RemoveBackup calls vtctlservice.Vtctld.RemoveBackup. -func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[v16.RemoveBackupRequest]) (*connect.Response[v16.RemoveBackupResponse], error) { +func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[v161.RemoveBackupRequest]) (*connect.Response[v161.RemoveBackupResponse], error) { return c.removeBackup.CallUnary(ctx, req) } // RemoveKeyspaceCell calls vtctlservice.Vtctld.RemoveKeyspaceCell. -func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v16.RemoveKeyspaceCellRequest]) (*connect.Response[v16.RemoveKeyspaceCellResponse], error) { +func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v161.RemoveKeyspaceCellRequest]) (*connect.Response[v161.RemoveKeyspaceCellResponse], error) { return c.removeKeyspaceCell.CallUnary(ctx, req) } // RemoveShardCell calls vtctlservice.Vtctld.RemoveShardCell. -func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[v16.RemoveShardCellRequest]) (*connect.Response[v16.RemoveShardCellResponse], error) { +func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[v161.RemoveShardCellRequest]) (*connect.Response[v161.RemoveShardCellResponse], error) { return c.removeShardCell.CallUnary(ctx, req) } // ReparentTablet calls vtctlservice.Vtctld.ReparentTablet. -func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[v16.ReparentTabletRequest]) (*connect.Response[v16.ReparentTabletResponse], error) { +func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[v161.ReparentTabletRequest]) (*connect.Response[v161.ReparentTabletResponse], error) { return c.reparentTablet.CallUnary(ctx, req) } // RestoreFromBackup calls vtctlservice.Vtctld.RestoreFromBackup. -func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v16.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v16.RestoreFromBackupResponse], error) { +func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v161.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v161.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } // RunHealthCheck calls vtctlservice.Vtctld.RunHealthCheck. -func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) { +func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // SetKeyspaceDurabilityPolicy calls vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy. -func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[v16.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v16.SetKeyspaceDurabilityPolicyResponse], error) { +func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[v161.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v161.SetKeyspaceDurabilityPolicyResponse], error) { return c.setKeyspaceDurabilityPolicy.CallUnary(ctx, req) } // SetShardIsPrimaryServing calls vtctlservice.Vtctld.SetShardIsPrimaryServing. -func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[v16.SetShardIsPrimaryServingRequest]) (*connect.Response[v16.SetShardIsPrimaryServingResponse], error) { +func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[v161.SetShardIsPrimaryServingRequest]) (*connect.Response[v161.SetShardIsPrimaryServingResponse], error) { return c.setShardIsPrimaryServing.CallUnary(ctx, req) } // SetShardTabletControl calls vtctlservice.Vtctld.SetShardTabletControl. -func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[v16.SetShardTabletControlRequest]) (*connect.Response[v16.SetShardTabletControlResponse], error) { +func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[v161.SetShardTabletControlRequest]) (*connect.Response[v161.SetShardTabletControlResponse], error) { return c.setShardTabletControl.CallUnary(ctx, req) } // SetWritable calls vtctlservice.Vtctld.SetWritable. -func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[v16.SetWritableRequest]) (*connect.Response[v16.SetWritableResponse], error) { +func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[v161.SetWritableRequest]) (*connect.Response[v161.SetWritableResponse], error) { return c.setWritable.CallUnary(ctx, req) } // ShardReplicationAdd calls vtctlservice.Vtctld.ShardReplicationAdd. -func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[v16.ShardReplicationAddRequest]) (*connect.Response[v16.ShardReplicationAddResponse], error) { +func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[v161.ShardReplicationAddRequest]) (*connect.Response[v161.ShardReplicationAddResponse], error) { return c.shardReplicationAdd.CallUnary(ctx, req) } // ShardReplicationFix calls vtctlservice.Vtctld.ShardReplicationFix. -func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[v16.ShardReplicationFixRequest]) (*connect.Response[v16.ShardReplicationFixResponse], error) { +func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[v161.ShardReplicationFixRequest]) (*connect.Response[v161.ShardReplicationFixResponse], error) { return c.shardReplicationFix.CallUnary(ctx, req) } // ShardReplicationPositions calls vtctlservice.Vtctld.ShardReplicationPositions. -func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[v16.ShardReplicationPositionsRequest]) (*connect.Response[v16.ShardReplicationPositionsResponse], error) { +func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[v161.ShardReplicationPositionsRequest]) (*connect.Response[v161.ShardReplicationPositionsResponse], error) { return c.shardReplicationPositions.CallUnary(ctx, req) } // ShardReplicationRemove calls vtctlservice.Vtctld.ShardReplicationRemove. -func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[v16.ShardReplicationRemoveRequest]) (*connect.Response[v16.ShardReplicationRemoveResponse], error) { +func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[v161.ShardReplicationRemoveRequest]) (*connect.Response[v161.ShardReplicationRemoveResponse], error) { return c.shardReplicationRemove.CallUnary(ctx, req) } // SleepTablet calls vtctlservice.Vtctld.SleepTablet. -func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[v16.SleepTabletRequest]) (*connect.Response[v16.SleepTabletResponse], error) { +func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[v161.SleepTabletRequest]) (*connect.Response[v161.SleepTabletResponse], error) { return c.sleepTablet.CallUnary(ctx, req) } // SourceShardAdd calls vtctlservice.Vtctld.SourceShardAdd. -func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[v16.SourceShardAddRequest]) (*connect.Response[v16.SourceShardAddResponse], error) { +func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[v161.SourceShardAddRequest]) (*connect.Response[v161.SourceShardAddResponse], error) { return c.sourceShardAdd.CallUnary(ctx, req) } // SourceShardDelete calls vtctlservice.Vtctld.SourceShardDelete. -func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[v16.SourceShardDeleteRequest]) (*connect.Response[v16.SourceShardDeleteResponse], error) { +func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[v161.SourceShardDeleteRequest]) (*connect.Response[v161.SourceShardDeleteResponse], error) { return c.sourceShardDelete.CallUnary(ctx, req) } // StartReplication calls vtctlservice.Vtctld.StartReplication. -func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) { +func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StopReplication calls vtctlservice.Vtctld.StopReplication. -func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) { +func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // TabletExternallyReparented calls vtctlservice.Vtctld.TabletExternallyReparented. -func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[v16.TabletExternallyReparentedRequest]) (*connect.Response[v16.TabletExternallyReparentedResponse], error) { +func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[v161.TabletExternallyReparentedRequest]) (*connect.Response[v161.TabletExternallyReparentedResponse], error) { return c.tabletExternallyReparented.CallUnary(ctx, req) } // UpdateCellInfo calls vtctlservice.Vtctld.UpdateCellInfo. -func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[v16.UpdateCellInfoRequest]) (*connect.Response[v16.UpdateCellInfoResponse], error) { +func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[v161.UpdateCellInfoRequest]) (*connect.Response[v161.UpdateCellInfoResponse], error) { return c.updateCellInfo.CallUnary(ctx, req) } // UpdateCellsAlias calls vtctlservice.Vtctld.UpdateCellsAlias. -func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[v16.UpdateCellsAliasRequest]) (*connect.Response[v16.UpdateCellsAliasResponse], error) { +func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[v161.UpdateCellsAliasRequest]) (*connect.Response[v161.UpdateCellsAliasResponse], error) { return c.updateCellsAlias.CallUnary(ctx, req) } // Validate calls vtctlservice.Vtctld.Validate. -func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[v16.ValidateRequest]) (*connect.Response[v16.ValidateResponse], error) { +func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[v161.ValidateRequest]) (*connect.Response[v161.ValidateResponse], error) { return c.validate.CallUnary(ctx, req) } // ValidateKeyspace calls vtctlservice.Vtctld.ValidateKeyspace. -func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v16.ValidateKeyspaceRequest]) (*connect.Response[v16.ValidateKeyspaceResponse], error) { +func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v161.ValidateKeyspaceRequest]) (*connect.Response[v161.ValidateKeyspaceResponse], error) { return c.validateKeyspace.CallUnary(ctx, req) } // ValidateSchemaKeyspace calls vtctlservice.Vtctld.ValidateSchemaKeyspace. -func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v16.ValidateSchemaKeyspaceRequest]) (*connect.Response[v16.ValidateSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v161.ValidateSchemaKeyspaceRequest]) (*connect.Response[v161.ValidateSchemaKeyspaceResponse], error) { return c.validateSchemaKeyspace.CallUnary(ctx, req) } // ValidateShard calls vtctlservice.Vtctld.ValidateShard. -func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[v16.ValidateShardRequest]) (*connect.Response[v16.ValidateShardResponse], error) { +func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[v161.ValidateShardRequest]) (*connect.Response[v161.ValidateShardResponse], error) { return c.validateShard.CallUnary(ctx, req) } // ValidateVersionKeyspace calls vtctlservice.Vtctld.ValidateVersionKeyspace. -func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v16.ValidateVersionKeyspaceRequest]) (*connect.Response[v16.ValidateVersionKeyspaceResponse], error) { +func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v161.ValidateVersionKeyspaceRequest]) (*connect.Response[v161.ValidateVersionKeyspaceResponse], error) { return c.validateVersionKeyspace.CallUnary(ctx, req) } // ValidateVersionShard calls vtctlservice.Vtctld.ValidateVersionShard. -func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v16.ValidateVersionShardRequest]) (*connect.Response[v16.ValidateVersionShardResponse], error) { +func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v161.ValidateVersionShardRequest]) (*connect.Response[v161.ValidateVersionShardResponse], error) { return c.validateVersionShard.CallUnary(ctx, req) } // ValidateVSchema calls vtctlservice.Vtctld.ValidateVSchema. -func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[v16.ValidateVSchemaRequest]) (*connect.Response[v16.ValidateVSchemaResponse], error) { +func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[v161.ValidateVSchemaRequest]) (*connect.Response[v161.ValidateVSchemaResponse], error) { return c.validateVSchema.CallUnary(ctx, req) } @@ -1531,132 +1708,132 @@ func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request type VtctldHandler interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[v16.AddCellInfoRequest]) (*connect.Response[v16.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[v161.AddCellInfoRequest]) (*connect.Response[v161.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[v16.AddCellsAliasRequest]) (*connect.Response[v16.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[v161.AddCellsAliasRequest]) (*connect.Response[v161.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[v16.ApplyRoutingRulesRequest]) (*connect.Response[v16.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[v161.ApplyRoutingRulesRequest]) (*connect.Response[v161.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[v16.ApplyShardRoutingRulesRequest]) (*connect.Response[v16.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[v161.ApplyShardRoutingRulesRequest]) (*connect.Response[v161.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[v16.ApplyVSchemaRequest]) (*connect.Response[v16.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[v161.ApplyVSchemaRequest]) (*connect.Response[v161.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[v16.BackupRequest], *connect.ServerStream[v16.BackupResponse]) error + Backup(context.Context, *connect.Request[v161.BackupRequest], *connect.ServerStream[v161.BackupResponse]) error // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[v16.BackupShardRequest], *connect.ServerStream[v16.BackupResponse]) error + BackupShard(context.Context, *connect.Request[v161.BackupShardRequest], *connect.ServerStream[v161.BackupResponse]) error // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[v16.ChangeTabletTypeRequest]) (*connect.Response[v16.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[v161.ChangeTabletTypeRequest]) (*connect.Response[v161.ChangeTabletTypeResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[v16.CreateKeyspaceRequest]) (*connect.Response[v16.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[v161.CreateKeyspaceRequest]) (*connect.Response[v161.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[v16.CreateShardRequest]) (*connect.Response[v16.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[v161.CreateShardRequest]) (*connect.Response[v161.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[v16.DeleteCellInfoRequest]) (*connect.Response[v16.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[v161.DeleteCellInfoRequest]) (*connect.Response[v161.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[v16.DeleteCellsAliasRequest]) (*connect.Response[v16.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[v161.DeleteCellsAliasRequest]) (*connect.Response[v161.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[v16.DeleteKeyspaceRequest]) (*connect.Response[v16.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[v161.DeleteKeyspaceRequest]) (*connect.Response[v161.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[v16.DeleteShardsRequest]) (*connect.Response[v16.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[v161.DeleteShardsRequest]) (*connect.Response[v161.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[v16.DeleteSrvVSchemaRequest]) (*connect.Response[v16.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[v161.DeleteSrvVSchemaRequest]) (*connect.Response[v161.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[v16.DeleteTabletsRequest]) (*connect.Response[v16.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[v161.DeleteTabletsRequest]) (*connect.Response[v161.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[v16.EmergencyReparentShardRequest]) (*connect.Response[v16.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[v161.EmergencyReparentShardRequest]) (*connect.Response[v161.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[v16.ExecuteFetchAsDBARequest]) (*connect.Response[v16.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[v161.ExecuteFetchAsDBARequest]) (*connect.Response[v161.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[v16.FindAllShardsInKeyspaceRequest]) (*connect.Response[v16.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[v161.FindAllShardsInKeyspaceRequest]) (*connect.Response[v161.FindAllShardsInKeyspaceResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[v16.GetBackupsRequest]) (*connect.Response[v16.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[v161.GetBackupsRequest]) (*connect.Response[v161.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[v16.GetCellInfoRequest]) (*connect.Response[v16.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[v161.GetCellInfoRequest]) (*connect.Response[v161.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[v16.GetCellInfoNamesRequest]) (*connect.Response[v16.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[v161.GetCellInfoNamesRequest]) (*connect.Response[v161.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[v16.GetCellsAliasesRequest]) (*connect.Response[v16.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[v161.GetCellsAliasesRequest]) (*connect.Response[v161.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[v16.GetFullStatusRequest]) (*connect.Response[v16.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[v161.GetFullStatusRequest]) (*connect.Response[v161.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[v16.GetKeyspaceRequest]) (*connect.Response[v16.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[v161.GetKeyspaceRequest]) (*connect.Response[v161.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[v16.GetKeyspacesRequest]) (*connect.Response[v16.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[v161.GetKeyspacesRequest]) (*connect.Response[v161.GetKeyspacesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[v16.GetRoutingRulesRequest]) (*connect.Response[v16.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[v161.GetRoutingRulesRequest]) (*connect.Response[v161.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[v16.GetShardRequest]) (*connect.Response[v16.GetShardResponse], error) + GetShard(context.Context, *connect.Request[v161.GetShardRequest]) (*connect.Response[v161.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[v16.GetShardRoutingRulesRequest]) (*connect.Response[v16.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[v161.GetShardRoutingRulesRequest]) (*connect.Response[v161.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[v16.GetSrvKeyspaceNamesRequest]) (*connect.Response[v16.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[v161.GetSrvKeyspaceNamesRequest]) (*connect.Response[v161.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[v16.GetSrvKeyspacesRequest]) (*connect.Response[v16.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[v161.GetSrvKeyspacesRequest]) (*connect.Response[v161.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[v16.UpdateThrottlerConfigRequest]) (*connect.Response[v16.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[v161.UpdateThrottlerConfigRequest]) (*connect.Response[v161.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[v16.GetSrvVSchemaRequest]) (*connect.Response[v16.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[v161.GetSrvVSchemaRequest]) (*connect.Response[v161.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[v16.GetSrvVSchemasRequest]) (*connect.Response[v16.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[v161.GetSrvVSchemasRequest]) (*connect.Response[v161.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[v16.GetTabletRequest]) (*connect.Response[v16.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[v161.GetTabletRequest]) (*connect.Response[v161.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[v16.GetTabletsRequest]) (*connect.Response[v16.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[v161.GetTabletsRequest]) (*connect.Response[v161.GetTabletsResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[v16.GetTopologyPathRequest]) (*connect.Response[v16.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[v161.GetTopologyPathRequest]) (*connect.Response[v161.GetTopologyPathResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[v16.GetVersionRequest]) (*connect.Response[v16.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[v161.GetVersionRequest]) (*connect.Response[v161.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[v16.GetVSchemaRequest]) (*connect.Response[v16.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[v161.GetVSchemaRequest]) (*connect.Response[v161.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[v16.GetWorkflowsRequest]) (*connect.Response[v16.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[v161.GetWorkflowsRequest]) (*connect.Response[v161.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[v16.InitShardPrimaryRequest]) (*connect.Response[v16.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[v161.InitShardPrimaryRequest]) (*connect.Response[v161.InitShardPrimaryResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[v16.PingTabletRequest]) (*connect.Response[v16.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[v161.PingTabletRequest]) (*connect.Response[v161.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -1664,132 +1841,132 @@ type VtctldHandler interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[v16.PlannedReparentShardRequest]) (*connect.Response[v16.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[v161.PlannedReparentShardRequest]) (*connect.Response[v161.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[v16.RebuildKeyspaceGraphRequest]) (*connect.Response[v16.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[v161.RebuildKeyspaceGraphRequest]) (*connect.Response[v161.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[v16.RebuildVSchemaGraphRequest]) (*connect.Response[v16.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[v161.RebuildVSchemaGraphRequest]) (*connect.Response[v161.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[v16.RefreshStateByShardRequest]) (*connect.Response[v16.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[v161.RefreshStateByShardRequest]) (*connect.Response[v161.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[v16.ReloadSchemaKeyspaceRequest]) (*connect.Response[v16.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[v161.ReloadSchemaKeyspaceRequest]) (*connect.Response[v161.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[v16.ReloadSchemaShardRequest]) (*connect.Response[v16.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[v161.ReloadSchemaShardRequest]) (*connect.Response[v161.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[v16.RemoveBackupRequest]) (*connect.Response[v16.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[v161.RemoveBackupRequest]) (*connect.Response[v161.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[v16.RemoveKeyspaceCellRequest]) (*connect.Response[v16.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[v161.RemoveKeyspaceCellRequest]) (*connect.Response[v161.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[v16.RemoveShardCellRequest]) (*connect.Response[v16.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[v161.RemoveShardCellRequest]) (*connect.Response[v161.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[v16.ReparentTabletRequest]) (*connect.Response[v16.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[v161.ReparentTabletRequest]) (*connect.Response[v161.ReparentTabletResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[v16.RestoreFromBackupRequest], *connect.ServerStream[v16.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[v161.RestoreFromBackupRequest], *connect.ServerStream[v161.RestoreFromBackupResponse]) error // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v16.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v16.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v161.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v161.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[v16.SetShardIsPrimaryServingRequest]) (*connect.Response[v16.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[v161.SetShardIsPrimaryServingRequest]) (*connect.Response[v161.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[v16.SetShardTabletControlRequest]) (*connect.Response[v16.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[v161.SetShardTabletControlRequest]) (*connect.Response[v161.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[v16.SetWritableRequest]) (*connect.Response[v16.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[v161.SetWritableRequest]) (*connect.Response[v161.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[v16.ShardReplicationAddRequest]) (*connect.Response[v16.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[v161.ShardReplicationAddRequest]) (*connect.Response[v161.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[v16.ShardReplicationFixRequest]) (*connect.Response[v16.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[v161.ShardReplicationFixRequest]) (*connect.Response[v161.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[v16.ShardReplicationPositionsRequest]) (*connect.Response[v16.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[v161.ShardReplicationPositionsRequest]) (*connect.Response[v161.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[v16.ShardReplicationRemoveRequest]) (*connect.Response[v16.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[v161.ShardReplicationRemoveRequest]) (*connect.Response[v161.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[v16.SleepTabletRequest]) (*connect.Response[v16.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[v161.SleepTabletRequest]) (*connect.Response[v161.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[v16.SourceShardAddRequest]) (*connect.Response[v16.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[v161.SourceShardAddRequest]) (*connect.Response[v161.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[v16.SourceShardDeleteRequest]) (*connect.Response[v16.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[v161.SourceShardDeleteRequest]) (*connect.Response[v161.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v16.TabletExternallyReparentedRequest]) (*connect.Response[v16.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v161.TabletExternallyReparentedRequest]) (*connect.Response[v161.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[v16.UpdateCellInfoRequest]) (*connect.Response[v16.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[v161.UpdateCellInfoRequest]) (*connect.Response[v161.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[v16.UpdateCellsAliasRequest]) (*connect.Response[v16.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[v161.UpdateCellsAliasRequest]) (*connect.Response[v161.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[v16.ValidateRequest]) (*connect.Response[v16.ValidateResponse], error) + Validate(context.Context, *connect.Request[v161.ValidateRequest]) (*connect.Response[v161.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[v16.ValidateKeyspaceRequest]) (*connect.Response[v16.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[v161.ValidateKeyspaceRequest]) (*connect.Response[v161.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[v16.ValidateSchemaKeyspaceRequest]) (*connect.Response[v16.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[v161.ValidateSchemaKeyspaceRequest]) (*connect.Response[v161.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[v16.ValidateShardRequest]) (*connect.Response[v16.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[v161.ValidateShardRequest]) (*connect.Response[v161.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[v16.ValidateVersionKeyspaceRequest]) (*connect.Response[v16.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[v161.ValidateVersionKeyspaceRequest]) (*connect.Response[v161.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[v16.ValidateVersionShardRequest]) (*connect.Response[v16.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[v161.ValidateVersionShardRequest]) (*connect.Response[v161.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[v16.ValidateVSchemaRequest]) (*connect.Response[v16.ValidateVSchemaResponse], error) + ValidateVSchema(context.Context, *connect.Request[v161.ValidateVSchemaRequest]) (*connect.Response[v161.ValidateVSchemaResponse], error) } // NewVtctldHandler builds an HTTP handler from the service implementation. It returns the path on @@ -1801,422 +1978,506 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldAddCellInfoHandler := connect.NewUnaryHandler( VtctldAddCellInfoProcedure, svc.AddCellInfo, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldAddCellsAliasHandler := connect.NewUnaryHandler( VtctldAddCellsAliasProcedure, svc.AddCellsAlias, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyRoutingRulesProcedure, svc.ApplyRoutingRules, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplySchemaHandler := connect.NewUnaryHandler( VtctldApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyShardRoutingRulesProcedure, svc.ApplyShardRoutingRules, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyVSchemaHandler := connect.NewUnaryHandler( VtctldApplyVSchemaProcedure, svc.ApplyVSchema, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupHandler := connect.NewServerStreamHandler( VtctldBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupShardHandler := connect.NewServerStreamHandler( VtctldBackupShardProcedure, svc.BackupShard, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldChangeTabletTypeHandler := connect.NewUnaryHandler( VtctldChangeTabletTypeProcedure, svc.ChangeTabletType, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateKeyspaceHandler := connect.NewUnaryHandler( VtctldCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateShardHandler := connect.NewUnaryHandler( VtctldCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellInfoHandler := connect.NewUnaryHandler( VtctldDeleteCellInfoProcedure, svc.DeleteCellInfo, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellsAliasHandler := connect.NewUnaryHandler( VtctldDeleteCellsAliasProcedure, svc.DeleteCellsAlias, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteKeyspaceHandler := connect.NewUnaryHandler( VtctldDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteShardsHandler := connect.NewUnaryHandler( VtctldDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteSrvVSchemaHandler := connect.NewUnaryHandler( VtctldDeleteSrvVSchemaProcedure, svc.DeleteSrvVSchema, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteTabletsHandler := connect.NewUnaryHandler( VtctldDeleteTabletsProcedure, svc.DeleteTablets, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldEmergencyReparentShardHandler := connect.NewUnaryHandler( VtctldEmergencyReparentShardProcedure, svc.EmergencyReparentShard, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsAppHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsDBAHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsDBAProcedure, svc.ExecuteFetchAsDBA, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteHookHandler := connect.NewUnaryHandler( VtctldExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldFindAllShardsInKeyspaceHandler := connect.NewUnaryHandler( VtctldFindAllShardsInKeyspaceProcedure, svc.FindAllShardsInKeyspace, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetBackupsHandler := connect.NewUnaryHandler( VtctldGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoHandler := connect.NewUnaryHandler( VtctldGetCellInfoProcedure, svc.GetCellInfo, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoNamesHandler := connect.NewUnaryHandler( VtctldGetCellInfoNamesProcedure, svc.GetCellInfoNames, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellsAliasesHandler := connect.NewUnaryHandler( VtctldGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetFullStatusHandler := connect.NewUnaryHandler( VtctldGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspaceHandler := connect.NewUnaryHandler( VtctldGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspacesHandler := connect.NewUnaryHandler( VtctldGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetPermissionsHandler := connect.NewUnaryHandler( VtctldGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetRoutingRulesProcedure, svc.GetRoutingRules, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSchemaHandler := connect.NewUnaryHandler( VtctldGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardHandler := connect.NewUnaryHandler( VtctldGetShardProcedure, svc.GetShard, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetShardRoutingRulesProcedure, svc.GetShardRoutingRules, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspaceNamesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspaceNamesProcedure, svc.GetSrvKeyspaceNames, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspacesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspacesProcedure, svc.GetSrvKeyspaces, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateThrottlerConfigHandler := connect.NewUnaryHandler( VtctldUpdateThrottlerConfigProcedure, svc.UpdateThrottlerConfig, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemaHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemasHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletHandler := connect.NewUnaryHandler( VtctldGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletsHandler := connect.NewUnaryHandler( VtctldGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTopologyPathHandler := connect.NewUnaryHandler( VtctldGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVersionHandler := connect.NewUnaryHandler( VtctldGetVersionProcedure, svc.GetVersion, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVSchemaHandler := connect.NewUnaryHandler( VtctldGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetWorkflowsHandler := connect.NewUnaryHandler( VtctldGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldInitShardPrimaryHandler := connect.NewUnaryHandler( VtctldInitShardPrimaryProcedure, svc.InitShardPrimary, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPingTabletHandler := connect.NewUnaryHandler( VtctldPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPlannedReparentShardHandler := connect.NewUnaryHandler( VtctldPlannedReparentShardProcedure, svc.PlannedReparentShard, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VtctldRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildVSchemaGraphHandler := connect.NewUnaryHandler( VtctldRebuildVSchemaGraphProcedure, svc.RebuildVSchemaGraph, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateHandler := connect.NewUnaryHandler( VtctldRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateByShardHandler := connect.NewUnaryHandler( VtctldRefreshStateByShardProcedure, svc.RefreshStateByShard, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaHandler := connect.NewUnaryHandler( VtctldReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldReloadSchemaKeyspaceProcedure, svc.ReloadSchemaKeyspace, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaShardHandler := connect.NewUnaryHandler( VtctldReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveBackupHandler := connect.NewUnaryHandler( VtctldRemoveBackupProcedure, svc.RemoveBackup, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VtctldRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveShardCellHandler := connect.NewUnaryHandler( VtctldRemoveShardCellProcedure, svc.RemoveShardCell, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReparentTabletHandler := connect.NewUnaryHandler( VtctldReparentTabletProcedure, svc.ReparentTablet, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRestoreFromBackupHandler := connect.NewServerStreamHandler( VtctldRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRunHealthCheckHandler := connect.NewUnaryHandler( VtctldRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetKeyspaceDurabilityPolicyHandler := connect.NewUnaryHandler( VtctldSetKeyspaceDurabilityPolicyProcedure, svc.SetKeyspaceDurabilityPolicy, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardIsPrimaryServingHandler := connect.NewUnaryHandler( VtctldSetShardIsPrimaryServingProcedure, svc.SetShardIsPrimaryServing, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardTabletControlHandler := connect.NewUnaryHandler( VtctldSetShardTabletControlProcedure, svc.SetShardTabletControl, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetWritableHandler := connect.NewUnaryHandler( VtctldSetWritableProcedure, svc.SetWritable, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationAddHandler := connect.NewUnaryHandler( VtctldShardReplicationAddProcedure, svc.ShardReplicationAdd, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationFixHandler := connect.NewUnaryHandler( VtctldShardReplicationFixProcedure, svc.ShardReplicationFix, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationPositionsHandler := connect.NewUnaryHandler( VtctldShardReplicationPositionsProcedure, svc.ShardReplicationPositions, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationRemoveHandler := connect.NewUnaryHandler( VtctldShardReplicationRemoveProcedure, svc.ShardReplicationRemove, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSleepTabletHandler := connect.NewUnaryHandler( VtctldSleepTabletProcedure, svc.SleepTablet, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardAddHandler := connect.NewUnaryHandler( VtctldSourceShardAddProcedure, svc.SourceShardAdd, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardDeleteHandler := connect.NewUnaryHandler( VtctldSourceShardDeleteProcedure, svc.SourceShardDelete, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStartReplicationHandler := connect.NewUnaryHandler( VtctldStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStopReplicationHandler := connect.NewUnaryHandler( VtctldStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldTabletExternallyReparentedHandler := connect.NewUnaryHandler( VtctldTabletExternallyReparentedProcedure, svc.TabletExternallyReparented, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellInfoHandler := connect.NewUnaryHandler( VtctldUpdateCellInfoProcedure, svc.UpdateCellInfo, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellsAliasHandler := connect.NewUnaryHandler( VtctldUpdateCellsAliasProcedure, svc.UpdateCellsAlias, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateHandler := connect.NewUnaryHandler( VtctldValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateShardHandler := connect.NewUnaryHandler( VtctldValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionShardHandler := connect.NewUnaryHandler( VtctldValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVSchemaHandler := connect.NewUnaryHandler( VtctldValidateVSchemaProcedure, svc.ValidateVSchema, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctld/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -2397,338 +2658,338 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, // UnimplementedVtctldHandler returns CodeUnimplemented from all methods. type UnimplementedVtctldHandler struct{} -func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[v16.AddCellInfoRequest]) (*connect.Response[v16.AddCellInfoResponse], error) { +func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[v161.AddCellInfoRequest]) (*connect.Response[v161.AddCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[v16.AddCellsAliasRequest]) (*connect.Response[v16.AddCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[v161.AddCellsAliasRequest]) (*connect.Response[v161.AddCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[v16.ApplyRoutingRulesRequest]) (*connect.Response[v16.ApplyRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[v161.ApplyRoutingRulesRequest]) (*connect.Response[v161.ApplyRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[v16.ApplySchemaRequest]) (*connect.Response[v16.ApplySchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[v161.ApplySchemaRequest]) (*connect.Response[v161.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplySchema is not implemented")) } -func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[v16.ApplyShardRoutingRulesRequest]) (*connect.Response[v16.ApplyShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[v161.ApplyShardRoutingRulesRequest]) (*connect.Response[v161.ApplyShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[v16.ApplyVSchemaRequest]) (*connect.Response[v16.ApplyVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[v161.ApplyVSchemaRequest]) (*connect.Response[v161.ApplyVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyVSchema is not implemented")) } -func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[v16.BackupRequest], *connect.ServerStream[v16.BackupResponse]) error { +func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[v161.BackupRequest], *connect.ServerStream[v161.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Backup is not implemented")) } -func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[v16.BackupShardRequest], *connect.ServerStream[v16.BackupResponse]) error { +func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[v161.BackupShardRequest], *connect.ServerStream[v161.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.BackupShard is not implemented")) } -func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[v16.ChangeTabletTypeRequest]) (*connect.Response[v16.ChangeTabletTypeResponse], error) { +func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[v161.ChangeTabletTypeRequest]) (*connect.Response[v161.ChangeTabletTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ChangeTabletType is not implemented")) } -func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[v16.CreateKeyspaceRequest]) (*connect.Response[v16.CreateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[v161.CreateKeyspaceRequest]) (*connect.Response[v161.CreateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[v16.CreateShardRequest]) (*connect.Response[v16.CreateShardResponse], error) { +func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[v161.CreateShardRequest]) (*connect.Response[v161.CreateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateShard is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[v16.DeleteCellInfoRequest]) (*connect.Response[v16.DeleteCellInfoResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[v161.DeleteCellInfoRequest]) (*connect.Response[v161.DeleteCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[v16.DeleteCellsAliasRequest]) (*connect.Response[v16.DeleteCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[v161.DeleteCellsAliasRequest]) (*connect.Response[v161.DeleteCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[v16.DeleteKeyspaceRequest]) (*connect.Response[v16.DeleteKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[v161.DeleteKeyspaceRequest]) (*connect.Response[v161.DeleteKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[v16.DeleteShardsRequest]) (*connect.Response[v16.DeleteShardsResponse], error) { +func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[v161.DeleteShardsRequest]) (*connect.Response[v161.DeleteShardsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteShards is not implemented")) } -func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[v16.DeleteSrvVSchemaRequest]) (*connect.Response[v16.DeleteSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[v161.DeleteSrvVSchemaRequest]) (*connect.Response[v161.DeleteSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[v16.DeleteTabletsRequest]) (*connect.Response[v16.DeleteTabletsResponse], error) { +func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[v161.DeleteTabletsRequest]) (*connect.Response[v161.DeleteTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteTablets is not implemented")) } -func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[v16.EmergencyReparentShardRequest]) (*connect.Response[v16.EmergencyReparentShardResponse], error) { +func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[v161.EmergencyReparentShardRequest]) (*connect.Response[v161.EmergencyReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.EmergencyReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v16.ExecuteFetchAsAppRequest]) (*connect.Response[v16.ExecuteFetchAsAppResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v161.ExecuteFetchAsAppRequest]) (*connect.Response[v161.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[v16.ExecuteFetchAsDBARequest]) (*connect.Response[v16.ExecuteFetchAsDBAResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[v161.ExecuteFetchAsDBARequest]) (*connect.Response[v161.ExecuteFetchAsDBAResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsDBA is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[v16.ExecuteHookRequest]) (*connect.Response[v16.ExecuteHookResponse], error) { +func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[v161.ExecuteHookRequest]) (*connect.Response[v161.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteHook is not implemented")) } -func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[v16.FindAllShardsInKeyspaceRequest]) (*connect.Response[v16.FindAllShardsInKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[v161.FindAllShardsInKeyspaceRequest]) (*connect.Response[v161.FindAllShardsInKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.FindAllShardsInKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[v16.GetBackupsRequest]) (*connect.Response[v16.GetBackupsResponse], error) { +func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[v161.GetBackupsRequest]) (*connect.Response[v161.GetBackupsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetBackups is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[v16.GetCellInfoRequest]) (*connect.Response[v16.GetCellInfoResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[v161.GetCellInfoRequest]) (*connect.Response[v161.GetCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[v16.GetCellInfoNamesRequest]) (*connect.Response[v16.GetCellInfoNamesResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[v161.GetCellInfoNamesRequest]) (*connect.Response[v161.GetCellInfoNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfoNames is not implemented")) } -func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[v16.GetCellsAliasesRequest]) (*connect.Response[v16.GetCellsAliasesResponse], error) { +func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[v161.GetCellsAliasesRequest]) (*connect.Response[v161.GetCellsAliasesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellsAliases is not implemented")) } -func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[v16.GetFullStatusRequest]) (*connect.Response[v16.GetFullStatusResponse], error) { +func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[v161.GetFullStatusRequest]) (*connect.Response[v161.GetFullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetFullStatus is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[v16.GetKeyspaceRequest]) (*connect.Response[v16.GetKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[v161.GetKeyspaceRequest]) (*connect.Response[v161.GetKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[v16.GetKeyspacesRequest]) (*connect.Response[v16.GetKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[v161.GetKeyspacesRequest]) (*connect.Response[v161.GetKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[v16.GetPermissionsRequest]) (*connect.Response[v16.GetPermissionsResponse], error) { +func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[v161.GetPermissionsRequest]) (*connect.Response[v161.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetPermissions is not implemented")) } -func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[v16.GetRoutingRulesRequest]) (*connect.Response[v16.GetRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[v161.GetRoutingRulesRequest]) (*connect.Response[v161.GetRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[v16.GetSchemaRequest]) (*connect.Response[v16.GetSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[v161.GetSchemaRequest]) (*connect.Response[v161.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[v16.GetShardRequest]) (*connect.Response[v16.GetShardResponse], error) { +func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[v161.GetShardRequest]) (*connect.Response[v161.GetShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShard is not implemented")) } -func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[v16.GetShardRoutingRulesRequest]) (*connect.Response[v16.GetShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[v161.GetShardRoutingRulesRequest]) (*connect.Response[v161.GetShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[v16.GetSrvKeyspaceNamesRequest]) (*connect.Response[v16.GetSrvKeyspaceNamesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[v161.GetSrvKeyspaceNamesRequest]) (*connect.Response[v161.GetSrvKeyspaceNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaceNames is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[v16.GetSrvKeyspacesRequest]) (*connect.Response[v16.GetSrvKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[v161.GetSrvKeyspacesRequest]) (*connect.Response[v161.GetSrvKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[v16.UpdateThrottlerConfigRequest]) (*connect.Response[v16.UpdateThrottlerConfigResponse], error) { +func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[v161.UpdateThrottlerConfigRequest]) (*connect.Response[v161.UpdateThrottlerConfigResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateThrottlerConfig is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[v16.GetSrvVSchemaRequest]) (*connect.Response[v16.GetSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[v161.GetSrvVSchemaRequest]) (*connect.Response[v161.GetSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[v16.GetSrvVSchemasRequest]) (*connect.Response[v16.GetSrvVSchemasResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[v161.GetSrvVSchemasRequest]) (*connect.Response[v161.GetSrvVSchemasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchemas is not implemented")) } -func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[v16.GetTabletRequest]) (*connect.Response[v16.GetTabletResponse], error) { +func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[v161.GetTabletRequest]) (*connect.Response[v161.GetTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablet is not implemented")) } -func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[v16.GetTabletsRequest]) (*connect.Response[v16.GetTabletsResponse], error) { +func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[v161.GetTabletsRequest]) (*connect.Response[v161.GetTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablets is not implemented")) } -func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[v16.GetTopologyPathRequest]) (*connect.Response[v16.GetTopologyPathResponse], error) { +func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[v161.GetTopologyPathRequest]) (*connect.Response[v161.GetTopologyPathResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTopologyPath is not implemented")) } -func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[v16.GetVersionRequest]) (*connect.Response[v16.GetVersionResponse], error) { +func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[v161.GetVersionRequest]) (*connect.Response[v161.GetVersionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVersion is not implemented")) } -func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[v16.GetVSchemaRequest]) (*connect.Response[v16.GetVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[v161.GetVSchemaRequest]) (*connect.Response[v161.GetVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[v16.GetWorkflowsRequest]) (*connect.Response[v16.GetWorkflowsResponse], error) { +func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[v161.GetWorkflowsRequest]) (*connect.Response[v161.GetWorkflowsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetWorkflows is not implemented")) } -func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[v16.InitShardPrimaryRequest]) (*connect.Response[v16.InitShardPrimaryResponse], error) { +func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[v161.InitShardPrimaryRequest]) (*connect.Response[v161.InitShardPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.InitShardPrimary is not implemented")) } -func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[v16.PingTabletRequest]) (*connect.Response[v16.PingTabletResponse], error) { +func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[v161.PingTabletRequest]) (*connect.Response[v161.PingTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PingTablet is not implemented")) } -func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[v16.PlannedReparentShardRequest]) (*connect.Response[v16.PlannedReparentShardResponse], error) { +func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[v161.PlannedReparentShardRequest]) (*connect.Response[v161.PlannedReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PlannedReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v16.RebuildKeyspaceGraphRequest]) (*connect.Response[v16.RebuildKeyspaceGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v161.RebuildKeyspaceGraphRequest]) (*connect.Response[v161.RebuildKeyspaceGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildKeyspaceGraph is not implemented")) } -func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[v16.RebuildVSchemaGraphRequest]) (*connect.Response[v16.RebuildVSchemaGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[v161.RebuildVSchemaGraphRequest]) (*connect.Response[v161.RebuildVSchemaGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildVSchemaGraph is not implemented")) } -func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[v16.RefreshStateRequest]) (*connect.Response[v16.RefreshStateResponse], error) { +func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[v161.RefreshStateRequest]) (*connect.Response[v161.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshState is not implemented")) } -func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[v16.RefreshStateByShardRequest]) (*connect.Response[v16.RefreshStateByShardResponse], error) { +func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[v161.RefreshStateByShardRequest]) (*connect.Response[v161.RefreshStateByShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshStateByShard is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[v16.ReloadSchemaRequest]) (*connect.Response[v16.ReloadSchemaResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[v161.ReloadSchemaRequest]) (*connect.Response[v161.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchema is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[v16.ReloadSchemaKeyspaceRequest]) (*connect.Response[v16.ReloadSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[v161.ReloadSchemaKeyspaceRequest]) (*connect.Response[v161.ReloadSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[v16.ReloadSchemaShardRequest]) (*connect.Response[v16.ReloadSchemaShardResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[v161.ReloadSchemaShardRequest]) (*connect.Response[v161.ReloadSchemaShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaShard is not implemented")) } -func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[v16.RemoveBackupRequest]) (*connect.Response[v16.RemoveBackupResponse], error) { +func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[v161.RemoveBackupRequest]) (*connect.Response[v161.RemoveBackupResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveBackup is not implemented")) } -func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v16.RemoveKeyspaceCellRequest]) (*connect.Response[v16.RemoveKeyspaceCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v161.RemoveKeyspaceCellRequest]) (*connect.Response[v161.RemoveKeyspaceCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveKeyspaceCell is not implemented")) } -func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[v16.RemoveShardCellRequest]) (*connect.Response[v16.RemoveShardCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[v161.RemoveShardCellRequest]) (*connect.Response[v161.RemoveShardCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveShardCell is not implemented")) } -func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[v16.ReparentTabletRequest]) (*connect.Response[v16.ReparentTabletResponse], error) { +func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[v161.ReparentTabletRequest]) (*connect.Response[v161.ReparentTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReparentTablet is not implemented")) } -func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[v16.RestoreFromBackupRequest], *connect.ServerStream[v16.RestoreFromBackupResponse]) error { +func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[v161.RestoreFromBackupRequest], *connect.ServerStream[v161.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RestoreFromBackup is not implemented")) } -func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[v16.RunHealthCheckRequest]) (*connect.Response[v16.RunHealthCheckResponse], error) { +func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[v161.RunHealthCheckRequest]) (*connect.Response[v161.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RunHealthCheck is not implemented")) } -func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v16.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v16.SetKeyspaceDurabilityPolicyResponse], error) { +func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v161.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v161.SetKeyspaceDurabilityPolicyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy is not implemented")) } -func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[v16.SetShardIsPrimaryServingRequest]) (*connect.Response[v16.SetShardIsPrimaryServingResponse], error) { +func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[v161.SetShardIsPrimaryServingRequest]) (*connect.Response[v161.SetShardIsPrimaryServingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardIsPrimaryServing is not implemented")) } -func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[v16.SetShardTabletControlRequest]) (*connect.Response[v16.SetShardTabletControlResponse], error) { +func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[v161.SetShardTabletControlRequest]) (*connect.Response[v161.SetShardTabletControlResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardTabletControl is not implemented")) } -func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[v16.SetWritableRequest]) (*connect.Response[v16.SetWritableResponse], error) { +func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[v161.SetWritableRequest]) (*connect.Response[v161.SetWritableResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetWritable is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[v16.ShardReplicationAddRequest]) (*connect.Response[v16.ShardReplicationAddResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[v161.ShardReplicationAddRequest]) (*connect.Response[v161.ShardReplicationAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationAdd is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[v16.ShardReplicationFixRequest]) (*connect.Response[v16.ShardReplicationFixResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[v161.ShardReplicationFixRequest]) (*connect.Response[v161.ShardReplicationFixResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationFix is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[v16.ShardReplicationPositionsRequest]) (*connect.Response[v16.ShardReplicationPositionsResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[v161.ShardReplicationPositionsRequest]) (*connect.Response[v161.ShardReplicationPositionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationPositions is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[v16.ShardReplicationRemoveRequest]) (*connect.Response[v16.ShardReplicationRemoveResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[v161.ShardReplicationRemoveRequest]) (*connect.Response[v161.ShardReplicationRemoveResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationRemove is not implemented")) } -func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[v16.SleepTabletRequest]) (*connect.Response[v16.SleepTabletResponse], error) { +func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[v161.SleepTabletRequest]) (*connect.Response[v161.SleepTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SleepTablet is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[v16.SourceShardAddRequest]) (*connect.Response[v16.SourceShardAddResponse], error) { +func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[v161.SourceShardAddRequest]) (*connect.Response[v161.SourceShardAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardAdd is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[v16.SourceShardDeleteRequest]) (*connect.Response[v16.SourceShardDeleteResponse], error) { +func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[v161.SourceShardDeleteRequest]) (*connect.Response[v161.SourceShardDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardDelete is not implemented")) } -func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[v16.StartReplicationRequest]) (*connect.Response[v16.StartReplicationResponse], error) { +func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[v161.StartReplicationRequest]) (*connect.Response[v161.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StartReplication is not implemented")) } -func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[v16.StopReplicationRequest]) (*connect.Response[v16.StopReplicationResponse], error) { +func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[v161.StopReplicationRequest]) (*connect.Response[v161.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StopReplication is not implemented")) } -func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[v16.TabletExternallyReparentedRequest]) (*connect.Response[v16.TabletExternallyReparentedResponse], error) { +func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[v161.TabletExternallyReparentedRequest]) (*connect.Response[v161.TabletExternallyReparentedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.TabletExternallyReparented is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[v16.UpdateCellInfoRequest]) (*connect.Response[v16.UpdateCellInfoResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[v161.UpdateCellInfoRequest]) (*connect.Response[v161.UpdateCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[v16.UpdateCellsAliasRequest]) (*connect.Response[v16.UpdateCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[v161.UpdateCellsAliasRequest]) (*connect.Response[v161.UpdateCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[v16.ValidateRequest]) (*connect.Response[v16.ValidateResponse], error) { +func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[v161.ValidateRequest]) (*connect.Response[v161.ValidateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Validate is not implemented")) } -func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[v16.ValidateKeyspaceRequest]) (*connect.Response[v16.ValidateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[v161.ValidateKeyspaceRequest]) (*connect.Response[v161.ValidateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v16.ValidateSchemaKeyspaceRequest]) (*connect.Response[v16.ValidateSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v161.ValidateSchemaKeyspaceRequest]) (*connect.Response[v161.ValidateSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[v16.ValidateShardRequest]) (*connect.Response[v16.ValidateShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[v161.ValidateShardRequest]) (*connect.Response[v161.ValidateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v16.ValidateVersionKeyspaceRequest]) (*connect.Response[v16.ValidateVersionKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v161.ValidateVersionKeyspaceRequest]) (*connect.Response[v161.ValidateVersionKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[v16.ValidateVersionShardRequest]) (*connect.Response[v16.ValidateVersionShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[v161.ValidateVersionShardRequest]) (*connect.Response[v161.ValidateVersionShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[v16.ValidateVSchemaRequest]) (*connect.Response[v16.ValidateVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[v161.ValidateVSchemaRequest]) (*connect.Response[v161.ValidateVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVSchema is not implemented")) } diff --git a/gen/vitess/vtctlservice/v17/vtctlservice.pb.go b/gen/vitess/vtctlservice/v17/vtctlservice.pb.go index 1168f0b..3516286 100644 --- a/gen/vitess/vtctlservice/v17/vtctlservice.pb.go +++ b/gen/vitess/vtctlservice/v17/vtctlservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctlservice/v17/vtctlservice.proto @@ -677,7 +677,7 @@ var file_vitess_vtctlservice_v17_vtctlservice_proto_rawDesc = []byte{ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_vtctlservice_v17_vtctlservice_proto_goTypes = []interface{}{ +var file_vitess_vtctlservice_v17_vtctlservice_proto_goTypes = []any{ (*v17.ExecuteVtctlCommandRequest)(nil), // 0: vitess.vtctldata.v17.ExecuteVtctlCommandRequest (*v17.AddCellInfoRequest)(nil), // 1: vitess.vtctldata.v17.AddCellInfoRequest (*v17.AddCellsAliasRequest)(nil), // 2: vitess.vtctldata.v17.AddCellsAliasRequest diff --git a/gen/vitess/vtctlservice/v17/vtctlservicev17connect/vtctlservice.connect.go b/gen/vitess/vtctlservice/v17/vtctlservicev17connect/vtctlservice.connect.go index e609824..c14afdb 100644 --- a/gen/vitess/vtctlservice/v17/vtctlservicev17connect/vtctlservice.connect.go +++ b/gen/vitess/vtctlservice/v17/vtctlservicev17connect/vtctlservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v17 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v17" - _ "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v17" + v171 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v17" + v17 "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v17" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VtctlName is the fully-qualified name of the Vtctl service. @@ -257,9 +257,101 @@ const ( VtctldWorkflowUpdateProcedure = "/vtctlservice.Vtctld/WorkflowUpdate" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vtctlServiceDescriptor = v17.File_vitess_vtctlservice_v17_vtctlservice_proto.Services().ByName("Vtctl") + vtctlExecuteVtctlCommandMethodDescriptor = vtctlServiceDescriptor.Methods().ByName("ExecuteVtctlCommand") + vtctldServiceDescriptor = v17.File_vitess_vtctlservice_v17_vtctlservice_proto.Services().ByName("Vtctld") + vtctldAddCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellInfo") + vtctldAddCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellsAlias") + vtctldApplyRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyRoutingRules") + vtctldApplySchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplySchema") + vtctldApplyShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyShardRoutingRules") + vtctldApplyVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyVSchema") + vtctldBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Backup") + vtctldBackupShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("BackupShard") + vtctldChangeTabletTypeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ChangeTabletType") + vtctldCreateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateKeyspace") + vtctldCreateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateShard") + vtctldDeleteCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellInfo") + vtctldDeleteCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellsAlias") + vtctldDeleteKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteKeyspace") + vtctldDeleteShardsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteShards") + vtctldDeleteSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteSrvVSchema") + vtctldDeleteTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteTablets") + vtctldEmergencyReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("EmergencyReparentShard") + vtctldExecuteFetchAsAppMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + vtctldExecuteFetchAsDBAMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsDBA") + vtctldExecuteHookMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteHook") + vtctldFindAllShardsInKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("FindAllShardsInKeyspace") + vtctldGetBackupsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetBackups") + vtctldGetCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfo") + vtctldGetCellInfoNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfoNames") + vtctldGetCellsAliasesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellsAliases") + vtctldGetFullStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetFullStatus") + vtctldGetKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspace") + vtctldGetKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspaces") + vtctldGetPermissionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetPermissions") + vtctldGetRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetRoutingRules") + vtctldGetSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchema") + vtctldGetShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShard") + vtctldGetShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShardRoutingRules") + vtctldGetSrvKeyspaceNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaceNames") + vtctldGetSrvKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vtctldUpdateThrottlerConfigMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateThrottlerConfig") + vtctldGetSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchema") + vtctldGetSrvVSchemasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vtctldGetTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablet") + vtctldGetTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablets") + vtctldGetTopologyPathMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTopologyPath") + vtctldGetVersionMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVersion") + vtctldGetVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVSchema") + vtctldGetWorkflowsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetWorkflows") + vtctldInitShardPrimaryMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("InitShardPrimary") + vtctldPingTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PingTablet") + vtctldPlannedReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PlannedReparentShard") + vtctldRebuildKeyspaceGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vtctldRebuildVSchemaGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildVSchemaGraph") + vtctldRefreshStateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshState") + vtctldRefreshStateByShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshStateByShard") + vtctldReloadSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchema") + vtctldReloadSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaKeyspace") + vtctldReloadSchemaShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vtctldRemoveBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveBackup") + vtctldRemoveKeyspaceCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vtctldRemoveShardCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveShardCell") + vtctldReparentTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReparentTablet") + vtctldRestoreFromBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RestoreFromBackup") + vtctldRunHealthCheckMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RunHealthCheck") + vtctldSetKeyspaceDurabilityPolicyMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetKeyspaceDurabilityPolicy") + vtctldSetShardIsPrimaryServingMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardIsPrimaryServing") + vtctldSetShardTabletControlMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardTabletControl") + vtctldSetWritableMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetWritable") + vtctldShardReplicationAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationAdd") + vtctldShardReplicationFixMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationFix") + vtctldShardReplicationPositionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationPositions") + vtctldShardReplicationRemoveMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationRemove") + vtctldSleepTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SleepTablet") + vtctldSourceShardAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardAdd") + vtctldSourceShardDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardDelete") + vtctldStartReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StartReplication") + vtctldStopReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StopReplication") + vtctldTabletExternallyReparentedMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("TabletExternallyReparented") + vtctldUpdateCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellInfo") + vtctldUpdateCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellsAlias") + vtctldValidateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Validate") + vtctldValidateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateKeyspace") + vtctldValidateSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vtctldValidateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateShard") + vtctldValidateVersionKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vtctldValidateVersionShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionShard") + vtctldValidateVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVSchema") + vtctldWorkflowUpdateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowUpdate") +) + // VtctlClient is a client for the vtctlservice.Vtctl service. type VtctlClient interface { - ExecuteVtctlCommand(context.Context, *connect.Request[v17.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v17.ExecuteVtctlCommandResponse], error) + ExecuteVtctlCommand(context.Context, *connect.Request[v171.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v171.ExecuteVtctlCommandResponse], error) } // NewVtctlClient constructs a client for the vtctlservice.Vtctl service. By default, it @@ -272,27 +364,28 @@ type VtctlClient interface { func NewVtctlClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctlClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctlClient{ - executeVtctlCommand: connect.NewClient[v17.ExecuteVtctlCommandRequest, v17.ExecuteVtctlCommandResponse]( + executeVtctlCommand: connect.NewClient[v171.ExecuteVtctlCommandRequest, v171.ExecuteVtctlCommandResponse]( httpClient, baseURL+VtctlExecuteVtctlCommandProcedure, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctlClient implements VtctlClient. type vtctlClient struct { - executeVtctlCommand *connect.Client[v17.ExecuteVtctlCommandRequest, v17.ExecuteVtctlCommandResponse] + executeVtctlCommand *connect.Client[v171.ExecuteVtctlCommandRequest, v171.ExecuteVtctlCommandResponse] } // ExecuteVtctlCommand calls vtctlservice.Vtctl.ExecuteVtctlCommand. -func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[v17.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v17.ExecuteVtctlCommandResponse], error) { +func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[v171.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v171.ExecuteVtctlCommandResponse], error) { return c.executeVtctlCommand.CallServerStream(ctx, req) } // VtctlHandler is an implementation of the vtctlservice.Vtctl service. type VtctlHandler interface { - ExecuteVtctlCommand(context.Context, *connect.Request[v17.ExecuteVtctlCommandRequest], *connect.ServerStream[v17.ExecuteVtctlCommandResponse]) error + ExecuteVtctlCommand(context.Context, *connect.Request[v171.ExecuteVtctlCommandRequest], *connect.ServerStream[v171.ExecuteVtctlCommandResponse]) error } // NewVtctlHandler builds an HTTP handler from the service implementation. It returns the path on @@ -304,7 +397,8 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h vtctlExecuteVtctlCommandHandler := connect.NewServerStreamHandler( VtctlExecuteVtctlCommandProcedure, svc.ExecuteVtctlCommand, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -319,7 +413,7 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h // UnimplementedVtctlHandler returns CodeUnimplemented from all methods. type UnimplementedVtctlHandler struct{} -func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[v17.ExecuteVtctlCommandRequest], *connect.ServerStream[v17.ExecuteVtctlCommandResponse]) error { +func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[v171.ExecuteVtctlCommandRequest], *connect.ServerStream[v171.ExecuteVtctlCommandResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctl.ExecuteVtctlCommand is not implemented")) } @@ -327,132 +421,132 @@ func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.R type VtctldClient interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[v17.AddCellInfoRequest]) (*connect.Response[v17.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[v171.AddCellInfoRequest]) (*connect.Response[v171.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[v17.AddCellsAliasRequest]) (*connect.Response[v17.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[v171.AddCellsAliasRequest]) (*connect.Response[v171.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[v17.ApplyRoutingRulesRequest]) (*connect.Response[v17.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[v171.ApplyRoutingRulesRequest]) (*connect.Response[v171.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[v17.ApplyShardRoutingRulesRequest]) (*connect.Response[v17.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[v171.ApplyShardRoutingRulesRequest]) (*connect.Response[v171.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[v17.ApplyVSchemaRequest]) (*connect.Response[v17.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[v171.ApplyVSchemaRequest]) (*connect.Response[v171.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[v17.BackupRequest]) (*connect.ServerStreamForClient[v17.BackupResponse], error) + Backup(context.Context, *connect.Request[v171.BackupRequest]) (*connect.ServerStreamForClient[v171.BackupResponse], error) // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[v17.BackupShardRequest]) (*connect.ServerStreamForClient[v17.BackupResponse], error) + BackupShard(context.Context, *connect.Request[v171.BackupShardRequest]) (*connect.ServerStreamForClient[v171.BackupResponse], error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[v17.ChangeTabletTypeRequest]) (*connect.Response[v17.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[v171.ChangeTabletTypeRequest]) (*connect.Response[v171.ChangeTabletTypeResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[v17.CreateKeyspaceRequest]) (*connect.Response[v17.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[v171.CreateKeyspaceRequest]) (*connect.Response[v171.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[v17.CreateShardRequest]) (*connect.Response[v17.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[v171.CreateShardRequest]) (*connect.Response[v171.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[v17.DeleteCellInfoRequest]) (*connect.Response[v17.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[v171.DeleteCellInfoRequest]) (*connect.Response[v171.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[v17.DeleteCellsAliasRequest]) (*connect.Response[v17.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[v171.DeleteCellsAliasRequest]) (*connect.Response[v171.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[v17.DeleteKeyspaceRequest]) (*connect.Response[v17.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[v171.DeleteKeyspaceRequest]) (*connect.Response[v171.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[v17.DeleteShardsRequest]) (*connect.Response[v17.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[v171.DeleteShardsRequest]) (*connect.Response[v171.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[v17.DeleteSrvVSchemaRequest]) (*connect.Response[v17.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[v171.DeleteSrvVSchemaRequest]) (*connect.Response[v171.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[v17.DeleteTabletsRequest]) (*connect.Response[v17.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[v171.DeleteTabletsRequest]) (*connect.Response[v171.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[v17.EmergencyReparentShardRequest]) (*connect.Response[v17.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[v171.EmergencyReparentShardRequest]) (*connect.Response[v171.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[v17.ExecuteFetchAsDBARequest]) (*connect.Response[v17.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[v171.ExecuteFetchAsDBARequest]) (*connect.Response[v171.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[v17.FindAllShardsInKeyspaceRequest]) (*connect.Response[v17.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[v171.FindAllShardsInKeyspaceRequest]) (*connect.Response[v171.FindAllShardsInKeyspaceResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[v17.GetBackupsRequest]) (*connect.Response[v17.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[v171.GetBackupsRequest]) (*connect.Response[v171.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[v17.GetCellInfoRequest]) (*connect.Response[v17.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[v171.GetCellInfoRequest]) (*connect.Response[v171.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[v17.GetCellInfoNamesRequest]) (*connect.Response[v17.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[v171.GetCellInfoNamesRequest]) (*connect.Response[v171.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[v17.GetCellsAliasesRequest]) (*connect.Response[v17.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[v171.GetCellsAliasesRequest]) (*connect.Response[v171.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[v17.GetFullStatusRequest]) (*connect.Response[v17.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[v171.GetFullStatusRequest]) (*connect.Response[v171.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[v17.GetKeyspaceRequest]) (*connect.Response[v17.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[v171.GetKeyspaceRequest]) (*connect.Response[v171.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[v17.GetKeyspacesRequest]) (*connect.Response[v17.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[v171.GetKeyspacesRequest]) (*connect.Response[v171.GetKeyspacesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[v17.GetRoutingRulesRequest]) (*connect.Response[v17.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[v171.GetRoutingRulesRequest]) (*connect.Response[v171.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[v17.GetShardRequest]) (*connect.Response[v17.GetShardResponse], error) + GetShard(context.Context, *connect.Request[v171.GetShardRequest]) (*connect.Response[v171.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[v17.GetShardRoutingRulesRequest]) (*connect.Response[v17.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[v171.GetShardRoutingRulesRequest]) (*connect.Response[v171.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[v17.GetSrvKeyspaceNamesRequest]) (*connect.Response[v17.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[v171.GetSrvKeyspaceNamesRequest]) (*connect.Response[v171.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[v17.GetSrvKeyspacesRequest]) (*connect.Response[v17.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[v171.GetSrvKeyspacesRequest]) (*connect.Response[v171.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[v17.UpdateThrottlerConfigRequest]) (*connect.Response[v17.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[v171.UpdateThrottlerConfigRequest]) (*connect.Response[v171.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[v17.GetSrvVSchemaRequest]) (*connect.Response[v17.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[v171.GetSrvVSchemaRequest]) (*connect.Response[v171.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[v17.GetSrvVSchemasRequest]) (*connect.Response[v17.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[v171.GetSrvVSchemasRequest]) (*connect.Response[v171.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[v17.GetTabletRequest]) (*connect.Response[v17.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[v171.GetTabletRequest]) (*connect.Response[v171.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[v17.GetTabletsRequest]) (*connect.Response[v17.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[v171.GetTabletsRequest]) (*connect.Response[v171.GetTabletsResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[v17.GetTopologyPathRequest]) (*connect.Response[v17.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[v171.GetTopologyPathRequest]) (*connect.Response[v171.GetTopologyPathResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[v17.GetVersionRequest]) (*connect.Response[v17.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[v171.GetVersionRequest]) (*connect.Response[v171.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[v17.GetVSchemaRequest]) (*connect.Response[v17.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[v171.GetVSchemaRequest]) (*connect.Response[v171.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[v17.GetWorkflowsRequest]) (*connect.Response[v17.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[v171.GetWorkflowsRequest]) (*connect.Response[v171.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[v17.InitShardPrimaryRequest]) (*connect.Response[v17.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[v171.InitShardPrimaryRequest]) (*connect.Response[v171.InitShardPrimaryResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[v17.PingTabletRequest]) (*connect.Response[v17.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[v171.PingTabletRequest]) (*connect.Response[v171.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -460,135 +554,135 @@ type VtctldClient interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[v17.PlannedReparentShardRequest]) (*connect.Response[v17.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[v171.PlannedReparentShardRequest]) (*connect.Response[v171.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[v17.RebuildKeyspaceGraphRequest]) (*connect.Response[v17.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[v171.RebuildKeyspaceGraphRequest]) (*connect.Response[v171.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[v17.RebuildVSchemaGraphRequest]) (*connect.Response[v17.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[v171.RebuildVSchemaGraphRequest]) (*connect.Response[v171.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[v17.RefreshStateByShardRequest]) (*connect.Response[v17.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[v171.RefreshStateByShardRequest]) (*connect.Response[v171.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[v17.ReloadSchemaKeyspaceRequest]) (*connect.Response[v17.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[v171.ReloadSchemaKeyspaceRequest]) (*connect.Response[v171.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[v17.ReloadSchemaShardRequest]) (*connect.Response[v17.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[v171.ReloadSchemaShardRequest]) (*connect.Response[v171.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[v17.RemoveBackupRequest]) (*connect.Response[v17.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[v171.RemoveBackupRequest]) (*connect.Response[v171.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[v17.RemoveKeyspaceCellRequest]) (*connect.Response[v17.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[v171.RemoveKeyspaceCellRequest]) (*connect.Response[v171.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[v17.RemoveShardCellRequest]) (*connect.Response[v17.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[v171.RemoveShardCellRequest]) (*connect.Response[v171.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[v17.ReparentTabletRequest]) (*connect.Response[v17.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[v171.ReparentTabletRequest]) (*connect.Response[v171.ReparentTabletResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[v17.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v17.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[v171.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v171.RestoreFromBackupResponse], error) // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v17.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v17.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v171.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v171.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[v17.SetShardIsPrimaryServingRequest]) (*connect.Response[v17.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[v171.SetShardIsPrimaryServingRequest]) (*connect.Response[v171.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[v17.SetShardTabletControlRequest]) (*connect.Response[v17.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[v171.SetShardTabletControlRequest]) (*connect.Response[v171.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[v17.SetWritableRequest]) (*connect.Response[v17.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[v171.SetWritableRequest]) (*connect.Response[v171.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[v17.ShardReplicationAddRequest]) (*connect.Response[v17.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[v171.ShardReplicationAddRequest]) (*connect.Response[v171.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[v17.ShardReplicationFixRequest]) (*connect.Response[v17.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[v171.ShardReplicationFixRequest]) (*connect.Response[v171.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[v17.ShardReplicationPositionsRequest]) (*connect.Response[v17.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[v171.ShardReplicationPositionsRequest]) (*connect.Response[v171.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[v17.ShardReplicationRemoveRequest]) (*connect.Response[v17.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[v171.ShardReplicationRemoveRequest]) (*connect.Response[v171.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[v17.SleepTabletRequest]) (*connect.Response[v17.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[v171.SleepTabletRequest]) (*connect.Response[v171.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[v17.SourceShardAddRequest]) (*connect.Response[v17.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[v171.SourceShardAddRequest]) (*connect.Response[v171.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[v17.SourceShardDeleteRequest]) (*connect.Response[v17.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[v171.SourceShardDeleteRequest]) (*connect.Response[v171.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v17.TabletExternallyReparentedRequest]) (*connect.Response[v17.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v171.TabletExternallyReparentedRequest]) (*connect.Response[v171.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[v17.UpdateCellInfoRequest]) (*connect.Response[v17.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[v171.UpdateCellInfoRequest]) (*connect.Response[v171.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[v17.UpdateCellsAliasRequest]) (*connect.Response[v17.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[v171.UpdateCellsAliasRequest]) (*connect.Response[v171.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[v17.ValidateRequest]) (*connect.Response[v17.ValidateResponse], error) + Validate(context.Context, *connect.Request[v171.ValidateRequest]) (*connect.Response[v171.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[v17.ValidateKeyspaceRequest]) (*connect.Response[v17.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[v171.ValidateKeyspaceRequest]) (*connect.Response[v171.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[v17.ValidateSchemaKeyspaceRequest]) (*connect.Response[v17.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[v171.ValidateSchemaKeyspaceRequest]) (*connect.Response[v171.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[v17.ValidateShardRequest]) (*connect.Response[v17.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[v171.ValidateShardRequest]) (*connect.Response[v171.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[v17.ValidateVersionKeyspaceRequest]) (*connect.Response[v17.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[v171.ValidateVersionKeyspaceRequest]) (*connect.Response[v171.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[v17.ValidateVersionShardRequest]) (*connect.Response[v17.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[v171.ValidateVersionShardRequest]) (*connect.Response[v171.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[v17.ValidateVSchemaRequest]) (*connect.Response[v17.ValidateVSchemaResponse], error) + ValidateVSchema(context.Context, *connect.Request[v171.ValidateVSchemaRequest]) (*connect.Response[v171.ValidateVSchemaResponse], error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. - WorkflowUpdate(context.Context, *connect.Request[v17.WorkflowUpdateRequest]) (*connect.Response[v17.WorkflowUpdateResponse], error) + WorkflowUpdate(context.Context, *connect.Request[v171.WorkflowUpdateRequest]) (*connect.Response[v171.WorkflowUpdateResponse], error) } // NewVtctldClient constructs a client for the vtctlservice.Vtctld service. By default, @@ -601,945 +695,1030 @@ type VtctldClient interface { func NewVtctldClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctldClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctldClient{ - addCellInfo: connect.NewClient[v17.AddCellInfoRequest, v17.AddCellInfoResponse]( + addCellInfo: connect.NewClient[v171.AddCellInfoRequest, v171.AddCellInfoResponse]( httpClient, baseURL+VtctldAddCellInfoProcedure, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - addCellsAlias: connect.NewClient[v17.AddCellsAliasRequest, v17.AddCellsAliasResponse]( + addCellsAlias: connect.NewClient[v171.AddCellsAliasRequest, v171.AddCellsAliasResponse]( httpClient, baseURL+VtctldAddCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyRoutingRules: connect.NewClient[v17.ApplyRoutingRulesRequest, v17.ApplyRoutingRulesResponse]( + applyRoutingRules: connect.NewClient[v171.ApplyRoutingRulesRequest, v171.ApplyRoutingRulesResponse]( httpClient, baseURL+VtctldApplyRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[v17.ApplySchemaRequest, v17.ApplySchemaResponse]( + applySchema: connect.NewClient[v171.ApplySchemaRequest, v171.ApplySchemaResponse]( httpClient, baseURL+VtctldApplySchemaProcedure, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyShardRoutingRules: connect.NewClient[v17.ApplyShardRoutingRulesRequest, v17.ApplyShardRoutingRulesResponse]( + applyShardRoutingRules: connect.NewClient[v171.ApplyShardRoutingRulesRequest, v171.ApplyShardRoutingRulesResponse]( httpClient, baseURL+VtctldApplyShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyVSchema: connect.NewClient[v17.ApplyVSchemaRequest, v17.ApplyVSchemaResponse]( + applyVSchema: connect.NewClient[v171.ApplyVSchemaRequest, v171.ApplyVSchemaResponse]( httpClient, baseURL+VtctldApplyVSchemaProcedure, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[v17.BackupRequest, v17.BackupResponse]( + backup: connect.NewClient[v171.BackupRequest, v171.BackupResponse]( httpClient, baseURL+VtctldBackupProcedure, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - backupShard: connect.NewClient[v17.BackupShardRequest, v17.BackupResponse]( + backupShard: connect.NewClient[v171.BackupShardRequest, v171.BackupResponse]( httpClient, baseURL+VtctldBackupShardProcedure, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeTabletType: connect.NewClient[v17.ChangeTabletTypeRequest, v17.ChangeTabletTypeResponse]( + changeTabletType: connect.NewClient[v171.ChangeTabletTypeRequest, v171.ChangeTabletTypeResponse]( httpClient, baseURL+VtctldChangeTabletTypeProcedure, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithClientOptions(opts...), ), - createKeyspace: connect.NewClient[v17.CreateKeyspaceRequest, v17.CreateKeyspaceResponse]( + createKeyspace: connect.NewClient[v171.CreateKeyspaceRequest, v171.CreateKeyspaceResponse]( httpClient, baseURL+VtctldCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - createShard: connect.NewClient[v17.CreateShardRequest, v17.CreateShardResponse]( + createShard: connect.NewClient[v171.CreateShardRequest, v171.CreateShardResponse]( httpClient, baseURL+VtctldCreateShardProcedure, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellInfo: connect.NewClient[v17.DeleteCellInfoRequest, v17.DeleteCellInfoResponse]( + deleteCellInfo: connect.NewClient[v171.DeleteCellInfoRequest, v171.DeleteCellInfoResponse]( httpClient, baseURL+VtctldDeleteCellInfoProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellsAlias: connect.NewClient[v17.DeleteCellsAliasRequest, v17.DeleteCellsAliasResponse]( + deleteCellsAlias: connect.NewClient[v171.DeleteCellsAliasRequest, v171.DeleteCellsAliasResponse]( httpClient, baseURL+VtctldDeleteCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteKeyspace: connect.NewClient[v17.DeleteKeyspaceRequest, v17.DeleteKeyspaceResponse]( + deleteKeyspace: connect.NewClient[v171.DeleteKeyspaceRequest, v171.DeleteKeyspaceResponse]( httpClient, baseURL+VtctldDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteShards: connect.NewClient[v17.DeleteShardsRequest, v17.DeleteShardsResponse]( + deleteShards: connect.NewClient[v171.DeleteShardsRequest, v171.DeleteShardsResponse]( httpClient, baseURL+VtctldDeleteShardsProcedure, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteSrvVSchema: connect.NewClient[v17.DeleteSrvVSchemaRequest, v17.DeleteSrvVSchemaResponse]( + deleteSrvVSchema: connect.NewClient[v171.DeleteSrvVSchemaRequest, v171.DeleteSrvVSchemaResponse]( httpClient, baseURL+VtctldDeleteSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteTablets: connect.NewClient[v17.DeleteTabletsRequest, v17.DeleteTabletsResponse]( + deleteTablets: connect.NewClient[v171.DeleteTabletsRequest, v171.DeleteTabletsResponse]( httpClient, baseURL+VtctldDeleteTabletsProcedure, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), - emergencyReparentShard: connect.NewClient[v17.EmergencyReparentShardRequest, v17.EmergencyReparentShardResponse]( + emergencyReparentShard: connect.NewClient[v171.EmergencyReparentShardRequest, v171.EmergencyReparentShardResponse]( httpClient, baseURL+VtctldEmergencyReparentShardProcedure, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[v17.ExecuteFetchAsAppRequest, v17.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[v171.ExecuteFetchAsAppRequest, v171.ExecuteFetchAsAppResponse]( httpClient, baseURL+VtctldExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDBA: connect.NewClient[v17.ExecuteFetchAsDBARequest, v17.ExecuteFetchAsDBAResponse]( + executeFetchAsDBA: connect.NewClient[v171.ExecuteFetchAsDBARequest, v171.ExecuteFetchAsDBAResponse]( httpClient, baseURL+VtctldExecuteFetchAsDBAProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[v17.ExecuteHookRequest, v17.ExecuteHookResponse]( + executeHook: connect.NewClient[v171.ExecuteHookRequest, v171.ExecuteHookResponse]( httpClient, baseURL+VtctldExecuteHookProcedure, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - findAllShardsInKeyspace: connect.NewClient[v17.FindAllShardsInKeyspaceRequest, v17.FindAllShardsInKeyspaceResponse]( + findAllShardsInKeyspace: connect.NewClient[v171.FindAllShardsInKeyspaceRequest, v171.FindAllShardsInKeyspaceResponse]( httpClient, baseURL+VtctldFindAllShardsInKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - getBackups: connect.NewClient[v17.GetBackupsRequest, v17.GetBackupsResponse]( + getBackups: connect.NewClient[v171.GetBackupsRequest, v171.GetBackupsResponse]( httpClient, baseURL+VtctldGetBackupsProcedure, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfo: connect.NewClient[v17.GetCellInfoRequest, v17.GetCellInfoResponse]( + getCellInfo: connect.NewClient[v171.GetCellInfoRequest, v171.GetCellInfoResponse]( httpClient, baseURL+VtctldGetCellInfoProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfoNames: connect.NewClient[v17.GetCellInfoNamesRequest, v17.GetCellInfoNamesResponse]( + getCellInfoNames: connect.NewClient[v171.GetCellInfoNamesRequest, v171.GetCellInfoNamesResponse]( httpClient, baseURL+VtctldGetCellInfoNamesProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellsAliases: connect.NewClient[v17.GetCellsAliasesRequest, v17.GetCellsAliasesResponse]( + getCellsAliases: connect.NewClient[v171.GetCellsAliasesRequest, v171.GetCellsAliasesResponse]( httpClient, baseURL+VtctldGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getFullStatus: connect.NewClient[v17.GetFullStatusRequest, v17.GetFullStatusResponse]( + getFullStatus: connect.NewClient[v171.GetFullStatusRequest, v171.GetFullStatusResponse]( httpClient, baseURL+VtctldGetFullStatusProcedure, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspace: connect.NewClient[v17.GetKeyspaceRequest, v17.GetKeyspaceResponse]( + getKeyspace: connect.NewClient[v171.GetKeyspaceRequest, v171.GetKeyspaceResponse]( httpClient, baseURL+VtctldGetKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspaces: connect.NewClient[v17.GetKeyspacesRequest, v17.GetKeyspacesResponse]( + getKeyspaces: connect.NewClient[v171.GetKeyspacesRequest, v171.GetKeyspacesResponse]( httpClient, baseURL+VtctldGetKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[v17.GetPermissionsRequest, v17.GetPermissionsResponse]( + getPermissions: connect.NewClient[v171.GetPermissionsRequest, v171.GetPermissionsResponse]( httpClient, baseURL+VtctldGetPermissionsProcedure, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getRoutingRules: connect.NewClient[v17.GetRoutingRulesRequest, v17.GetRoutingRulesResponse]( + getRoutingRules: connect.NewClient[v171.GetRoutingRulesRequest, v171.GetRoutingRulesResponse]( httpClient, baseURL+VtctldGetRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v17.GetSchemaRequest, v17.GetSchemaResponse]( + getSchema: connect.NewClient[v171.GetSchemaRequest, v171.GetSchemaResponse]( httpClient, baseURL+VtctldGetSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShard: connect.NewClient[v17.GetShardRequest, v17.GetShardResponse]( + getShard: connect.NewClient[v171.GetShardRequest, v171.GetShardResponse]( httpClient, baseURL+VtctldGetShardProcedure, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShardRoutingRules: connect.NewClient[v17.GetShardRoutingRulesRequest, v17.GetShardRoutingRulesResponse]( + getShardRoutingRules: connect.NewClient[v171.GetShardRoutingRulesRequest, v171.GetShardRoutingRulesResponse]( httpClient, baseURL+VtctldGetShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaceNames: connect.NewClient[v17.GetSrvKeyspaceNamesRequest, v17.GetSrvKeyspaceNamesResponse]( + getSrvKeyspaceNames: connect.NewClient[v171.GetSrvKeyspaceNamesRequest, v171.GetSrvKeyspaceNamesResponse]( httpClient, baseURL+VtctldGetSrvKeyspaceNamesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaces: connect.NewClient[v17.GetSrvKeyspacesRequest, v17.GetSrvKeyspacesResponse]( + getSrvKeyspaces: connect.NewClient[v171.GetSrvKeyspacesRequest, v171.GetSrvKeyspacesResponse]( httpClient, baseURL+VtctldGetSrvKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateThrottlerConfig: connect.NewClient[v17.UpdateThrottlerConfigRequest, v17.UpdateThrottlerConfigResponse]( + updateThrottlerConfig: connect.NewClient[v171.UpdateThrottlerConfigRequest, v171.UpdateThrottlerConfigResponse]( httpClient, baseURL+VtctldUpdateThrottlerConfigProcedure, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchema: connect.NewClient[v17.GetSrvVSchemaRequest, v17.GetSrvVSchemaResponse]( + getSrvVSchema: connect.NewClient[v171.GetSrvVSchemaRequest, v171.GetSrvVSchemaResponse]( httpClient, baseURL+VtctldGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchemas: connect.NewClient[v17.GetSrvVSchemasRequest, v17.GetSrvVSchemasResponse]( + getSrvVSchemas: connect.NewClient[v171.GetSrvVSchemasRequest, v171.GetSrvVSchemasResponse]( httpClient, baseURL+VtctldGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablet: connect.NewClient[v17.GetTabletRequest, v17.GetTabletResponse]( + getTablet: connect.NewClient[v171.GetTabletRequest, v171.GetTabletResponse]( httpClient, baseURL+VtctldGetTabletProcedure, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablets: connect.NewClient[v17.GetTabletsRequest, v17.GetTabletsResponse]( + getTablets: connect.NewClient[v171.GetTabletsRequest, v171.GetTabletsResponse]( httpClient, baseURL+VtctldGetTabletsProcedure, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTopologyPath: connect.NewClient[v17.GetTopologyPathRequest, v17.GetTopologyPathResponse]( + getTopologyPath: connect.NewClient[v171.GetTopologyPathRequest, v171.GetTopologyPathResponse]( httpClient, baseURL+VtctldGetTopologyPathProcedure, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVersion: connect.NewClient[v17.GetVersionRequest, v17.GetVersionResponse]( + getVersion: connect.NewClient[v171.GetVersionRequest, v171.GetVersionResponse]( httpClient, baseURL+VtctldGetVersionProcedure, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVSchema: connect.NewClient[v17.GetVSchemaRequest, v17.GetVSchemaResponse]( + getVSchema: connect.NewClient[v171.GetVSchemaRequest, v171.GetVSchemaResponse]( httpClient, baseURL+VtctldGetVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getWorkflows: connect.NewClient[v17.GetWorkflowsRequest, v17.GetWorkflowsResponse]( + getWorkflows: connect.NewClient[v171.GetWorkflowsRequest, v171.GetWorkflowsResponse]( httpClient, baseURL+VtctldGetWorkflowsProcedure, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - initShardPrimary: connect.NewClient[v17.InitShardPrimaryRequest, v17.InitShardPrimaryResponse]( + initShardPrimary: connect.NewClient[v171.InitShardPrimaryRequest, v171.InitShardPrimaryResponse]( httpClient, baseURL+VtctldInitShardPrimaryProcedure, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - pingTablet: connect.NewClient[v17.PingTabletRequest, v17.PingTabletResponse]( + pingTablet: connect.NewClient[v171.PingTabletRequest, v171.PingTabletResponse]( httpClient, baseURL+VtctldPingTabletProcedure, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - plannedReparentShard: connect.NewClient[v17.PlannedReparentShardRequest, v17.PlannedReparentShardResponse]( + plannedReparentShard: connect.NewClient[v171.PlannedReparentShardRequest, v171.PlannedReparentShardResponse]( httpClient, baseURL+VtctldPlannedReparentShardProcedure, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildKeyspaceGraph: connect.NewClient[v17.RebuildKeyspaceGraphRequest, v17.RebuildKeyspaceGraphResponse]( + rebuildKeyspaceGraph: connect.NewClient[v171.RebuildKeyspaceGraphRequest, v171.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VtctldRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildVSchemaGraph: connect.NewClient[v17.RebuildVSchemaGraphRequest, v17.RebuildVSchemaGraphResponse]( + rebuildVSchemaGraph: connect.NewClient[v171.RebuildVSchemaGraphRequest, v171.RebuildVSchemaGraphResponse]( httpClient, baseURL+VtctldRebuildVSchemaGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[v17.RefreshStateRequest, v17.RefreshStateResponse]( + refreshState: connect.NewClient[v171.RefreshStateRequest, v171.RefreshStateResponse]( httpClient, baseURL+VtctldRefreshStateProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshStateByShard: connect.NewClient[v17.RefreshStateByShardRequest, v17.RefreshStateByShardResponse]( + refreshStateByShard: connect.NewClient[v171.RefreshStateByShardRequest, v171.RefreshStateByShardResponse]( httpClient, baseURL+VtctldRefreshStateByShardProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[v17.ReloadSchemaRequest, v17.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[v171.ReloadSchemaRequest, v171.ReloadSchemaResponse]( httpClient, baseURL+VtctldReloadSchemaProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaKeyspace: connect.NewClient[v17.ReloadSchemaKeyspaceRequest, v17.ReloadSchemaKeyspaceResponse]( + reloadSchemaKeyspace: connect.NewClient[v171.ReloadSchemaKeyspaceRequest, v171.ReloadSchemaKeyspaceResponse]( httpClient, baseURL+VtctldReloadSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaShard: connect.NewClient[v17.ReloadSchemaShardRequest, v17.ReloadSchemaShardResponse]( + reloadSchemaShard: connect.NewClient[v171.ReloadSchemaShardRequest, v171.ReloadSchemaShardResponse]( httpClient, baseURL+VtctldReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeBackup: connect.NewClient[v17.RemoveBackupRequest, v17.RemoveBackupResponse]( + removeBackup: connect.NewClient[v171.RemoveBackupRequest, v171.RemoveBackupResponse]( httpClient, baseURL+VtctldRemoveBackupProcedure, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeKeyspaceCell: connect.NewClient[v17.RemoveKeyspaceCellRequest, v17.RemoveKeyspaceCellResponse]( + removeKeyspaceCell: connect.NewClient[v171.RemoveKeyspaceCellRequest, v171.RemoveKeyspaceCellResponse]( httpClient, baseURL+VtctldRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeShardCell: connect.NewClient[v17.RemoveShardCellRequest, v17.RemoveShardCellResponse]( + removeShardCell: connect.NewClient[v171.RemoveShardCellRequest, v171.RemoveShardCellResponse]( httpClient, baseURL+VtctldRemoveShardCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - reparentTablet: connect.NewClient[v17.ReparentTabletRequest, v17.ReparentTabletResponse]( + reparentTablet: connect.NewClient[v171.ReparentTabletRequest, v171.ReparentTabletResponse]( httpClient, baseURL+VtctldReparentTabletProcedure, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[v17.RestoreFromBackupRequest, v17.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[v171.RestoreFromBackupRequest, v171.RestoreFromBackupResponse]( httpClient, baseURL+VtctldRestoreFromBackupProcedure, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[v17.RunHealthCheckRequest, v17.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[v171.RunHealthCheckRequest, v171.RunHealthCheckResponse]( httpClient, baseURL+VtctldRunHealthCheckProcedure, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - setKeyspaceDurabilityPolicy: connect.NewClient[v17.SetKeyspaceDurabilityPolicyRequest, v17.SetKeyspaceDurabilityPolicyResponse]( + setKeyspaceDurabilityPolicy: connect.NewClient[v171.SetKeyspaceDurabilityPolicyRequest, v171.SetKeyspaceDurabilityPolicyResponse]( httpClient, baseURL+VtctldSetKeyspaceDurabilityPolicyProcedure, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardIsPrimaryServing: connect.NewClient[v17.SetShardIsPrimaryServingRequest, v17.SetShardIsPrimaryServingResponse]( + setShardIsPrimaryServing: connect.NewClient[v171.SetShardIsPrimaryServingRequest, v171.SetShardIsPrimaryServingResponse]( httpClient, baseURL+VtctldSetShardIsPrimaryServingProcedure, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardTabletControl: connect.NewClient[v17.SetShardTabletControlRequest, v17.SetShardTabletControlResponse]( + setShardTabletControl: connect.NewClient[v171.SetShardTabletControlRequest, v171.SetShardTabletControlResponse]( httpClient, baseURL+VtctldSetShardTabletControlProcedure, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithClientOptions(opts...), ), - setWritable: connect.NewClient[v17.SetWritableRequest, v17.SetWritableResponse]( + setWritable: connect.NewClient[v171.SetWritableRequest, v171.SetWritableResponse]( httpClient, baseURL+VtctldSetWritableProcedure, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationAdd: connect.NewClient[v17.ShardReplicationAddRequest, v17.ShardReplicationAddResponse]( + shardReplicationAdd: connect.NewClient[v171.ShardReplicationAddRequest, v171.ShardReplicationAddResponse]( httpClient, baseURL+VtctldShardReplicationAddProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationFix: connect.NewClient[v17.ShardReplicationFixRequest, v17.ShardReplicationFixResponse]( + shardReplicationFix: connect.NewClient[v171.ShardReplicationFixRequest, v171.ShardReplicationFixResponse]( httpClient, baseURL+VtctldShardReplicationFixProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationPositions: connect.NewClient[v17.ShardReplicationPositionsRequest, v17.ShardReplicationPositionsResponse]( + shardReplicationPositions: connect.NewClient[v171.ShardReplicationPositionsRequest, v171.ShardReplicationPositionsResponse]( httpClient, baseURL+VtctldShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationRemove: connect.NewClient[v17.ShardReplicationRemoveRequest, v17.ShardReplicationRemoveResponse]( + shardReplicationRemove: connect.NewClient[v171.ShardReplicationRemoveRequest, v171.ShardReplicationRemoveResponse]( httpClient, baseURL+VtctldShardReplicationRemoveProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleepTablet: connect.NewClient[v17.SleepTabletRequest, v17.SleepTabletResponse]( + sleepTablet: connect.NewClient[v171.SleepTabletRequest, v171.SleepTabletResponse]( httpClient, baseURL+VtctldSleepTabletProcedure, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardAdd: connect.NewClient[v17.SourceShardAddRequest, v17.SourceShardAddResponse]( + sourceShardAdd: connect.NewClient[v171.SourceShardAddRequest, v171.SourceShardAddResponse]( httpClient, baseURL+VtctldSourceShardAddProcedure, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardDelete: connect.NewClient[v17.SourceShardDeleteRequest, v17.SourceShardDeleteResponse]( + sourceShardDelete: connect.NewClient[v171.SourceShardDeleteRequest, v171.SourceShardDeleteResponse]( httpClient, baseURL+VtctldSourceShardDeleteProcedure, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[v17.StartReplicationRequest, v17.StartReplicationResponse]( + startReplication: connect.NewClient[v171.StartReplicationRequest, v171.StartReplicationResponse]( httpClient, baseURL+VtctldStartReplicationProcedure, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[v17.StopReplicationRequest, v17.StopReplicationResponse]( + stopReplication: connect.NewClient[v171.StopReplicationRequest, v171.StopReplicationResponse]( httpClient, baseURL+VtctldStopReplicationProcedure, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - tabletExternallyReparented: connect.NewClient[v17.TabletExternallyReparentedRequest, v17.TabletExternallyReparentedResponse]( + tabletExternallyReparented: connect.NewClient[v171.TabletExternallyReparentedRequest, v171.TabletExternallyReparentedResponse]( httpClient, baseURL+VtctldTabletExternallyReparentedProcedure, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellInfo: connect.NewClient[v17.UpdateCellInfoRequest, v17.UpdateCellInfoResponse]( + updateCellInfo: connect.NewClient[v171.UpdateCellInfoRequest, v171.UpdateCellInfoResponse]( httpClient, baseURL+VtctldUpdateCellInfoProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellsAlias: connect.NewClient[v17.UpdateCellsAliasRequest, v17.UpdateCellsAliasResponse]( + updateCellsAlias: connect.NewClient[v171.UpdateCellsAliasRequest, v171.UpdateCellsAliasResponse]( httpClient, baseURL+VtctldUpdateCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - validate: connect.NewClient[v17.ValidateRequest, v17.ValidateResponse]( + validate: connect.NewClient[v171.ValidateRequest, v171.ValidateResponse]( httpClient, baseURL+VtctldValidateProcedure, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateKeyspace: connect.NewClient[v17.ValidateKeyspaceRequest, v17.ValidateKeyspaceResponse]( + validateKeyspace: connect.NewClient[v171.ValidateKeyspaceRequest, v171.ValidateKeyspaceResponse]( httpClient, baseURL+VtctldValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateSchemaKeyspace: connect.NewClient[v17.ValidateSchemaKeyspaceRequest, v17.ValidateSchemaKeyspaceResponse]( + validateSchemaKeyspace: connect.NewClient[v171.ValidateSchemaKeyspaceRequest, v171.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VtctldValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateShard: connect.NewClient[v17.ValidateShardRequest, v17.ValidateShardResponse]( + validateShard: connect.NewClient[v171.ValidateShardRequest, v171.ValidateShardResponse]( httpClient, baseURL+VtctldValidateShardProcedure, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionKeyspace: connect.NewClient[v17.ValidateVersionKeyspaceRequest, v17.ValidateVersionKeyspaceResponse]( + validateVersionKeyspace: connect.NewClient[v171.ValidateVersionKeyspaceRequest, v171.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VtctldValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionShard: connect.NewClient[v17.ValidateVersionShardRequest, v17.ValidateVersionShardResponse]( + validateVersionShard: connect.NewClient[v171.ValidateVersionShardRequest, v171.ValidateVersionShardResponse]( httpClient, baseURL+VtctldValidateVersionShardProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVSchema: connect.NewClient[v17.ValidateVSchemaRequest, v17.ValidateVSchemaResponse]( + validateVSchema: connect.NewClient[v171.ValidateVSchemaRequest, v171.ValidateVSchemaResponse]( httpClient, baseURL+VtctldValidateVSchemaProcedure, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowUpdate: connect.NewClient[v17.WorkflowUpdateRequest, v17.WorkflowUpdateResponse]( + workflowUpdate: connect.NewClient[v171.WorkflowUpdateRequest, v171.WorkflowUpdateResponse]( httpClient, baseURL+VtctldWorkflowUpdateProcedure, - opts..., + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctldClient implements VtctldClient. type vtctldClient struct { - addCellInfo *connect.Client[v17.AddCellInfoRequest, v17.AddCellInfoResponse] - addCellsAlias *connect.Client[v17.AddCellsAliasRequest, v17.AddCellsAliasResponse] - applyRoutingRules *connect.Client[v17.ApplyRoutingRulesRequest, v17.ApplyRoutingRulesResponse] - applySchema *connect.Client[v17.ApplySchemaRequest, v17.ApplySchemaResponse] - applyShardRoutingRules *connect.Client[v17.ApplyShardRoutingRulesRequest, v17.ApplyShardRoutingRulesResponse] - applyVSchema *connect.Client[v17.ApplyVSchemaRequest, v17.ApplyVSchemaResponse] - backup *connect.Client[v17.BackupRequest, v17.BackupResponse] - backupShard *connect.Client[v17.BackupShardRequest, v17.BackupResponse] - changeTabletType *connect.Client[v17.ChangeTabletTypeRequest, v17.ChangeTabletTypeResponse] - createKeyspace *connect.Client[v17.CreateKeyspaceRequest, v17.CreateKeyspaceResponse] - createShard *connect.Client[v17.CreateShardRequest, v17.CreateShardResponse] - deleteCellInfo *connect.Client[v17.DeleteCellInfoRequest, v17.DeleteCellInfoResponse] - deleteCellsAlias *connect.Client[v17.DeleteCellsAliasRequest, v17.DeleteCellsAliasResponse] - deleteKeyspace *connect.Client[v17.DeleteKeyspaceRequest, v17.DeleteKeyspaceResponse] - deleteShards *connect.Client[v17.DeleteShardsRequest, v17.DeleteShardsResponse] - deleteSrvVSchema *connect.Client[v17.DeleteSrvVSchemaRequest, v17.DeleteSrvVSchemaResponse] - deleteTablets *connect.Client[v17.DeleteTabletsRequest, v17.DeleteTabletsResponse] - emergencyReparentShard *connect.Client[v17.EmergencyReparentShardRequest, v17.EmergencyReparentShardResponse] - executeFetchAsApp *connect.Client[v17.ExecuteFetchAsAppRequest, v17.ExecuteFetchAsAppResponse] - executeFetchAsDBA *connect.Client[v17.ExecuteFetchAsDBARequest, v17.ExecuteFetchAsDBAResponse] - executeHook *connect.Client[v17.ExecuteHookRequest, v17.ExecuteHookResponse] - findAllShardsInKeyspace *connect.Client[v17.FindAllShardsInKeyspaceRequest, v17.FindAllShardsInKeyspaceResponse] - getBackups *connect.Client[v17.GetBackupsRequest, v17.GetBackupsResponse] - getCellInfo *connect.Client[v17.GetCellInfoRequest, v17.GetCellInfoResponse] - getCellInfoNames *connect.Client[v17.GetCellInfoNamesRequest, v17.GetCellInfoNamesResponse] - getCellsAliases *connect.Client[v17.GetCellsAliasesRequest, v17.GetCellsAliasesResponse] - getFullStatus *connect.Client[v17.GetFullStatusRequest, v17.GetFullStatusResponse] - getKeyspace *connect.Client[v17.GetKeyspaceRequest, v17.GetKeyspaceResponse] - getKeyspaces *connect.Client[v17.GetKeyspacesRequest, v17.GetKeyspacesResponse] - getPermissions *connect.Client[v17.GetPermissionsRequest, v17.GetPermissionsResponse] - getRoutingRules *connect.Client[v17.GetRoutingRulesRequest, v17.GetRoutingRulesResponse] - getSchema *connect.Client[v17.GetSchemaRequest, v17.GetSchemaResponse] - getShard *connect.Client[v17.GetShardRequest, v17.GetShardResponse] - getShardRoutingRules *connect.Client[v17.GetShardRoutingRulesRequest, v17.GetShardRoutingRulesResponse] - getSrvKeyspaceNames *connect.Client[v17.GetSrvKeyspaceNamesRequest, v17.GetSrvKeyspaceNamesResponse] - getSrvKeyspaces *connect.Client[v17.GetSrvKeyspacesRequest, v17.GetSrvKeyspacesResponse] - updateThrottlerConfig *connect.Client[v17.UpdateThrottlerConfigRequest, v17.UpdateThrottlerConfigResponse] - getSrvVSchema *connect.Client[v17.GetSrvVSchemaRequest, v17.GetSrvVSchemaResponse] - getSrvVSchemas *connect.Client[v17.GetSrvVSchemasRequest, v17.GetSrvVSchemasResponse] - getTablet *connect.Client[v17.GetTabletRequest, v17.GetTabletResponse] - getTablets *connect.Client[v17.GetTabletsRequest, v17.GetTabletsResponse] - getTopologyPath *connect.Client[v17.GetTopologyPathRequest, v17.GetTopologyPathResponse] - getVersion *connect.Client[v17.GetVersionRequest, v17.GetVersionResponse] - getVSchema *connect.Client[v17.GetVSchemaRequest, v17.GetVSchemaResponse] - getWorkflows *connect.Client[v17.GetWorkflowsRequest, v17.GetWorkflowsResponse] - initShardPrimary *connect.Client[v17.InitShardPrimaryRequest, v17.InitShardPrimaryResponse] - pingTablet *connect.Client[v17.PingTabletRequest, v17.PingTabletResponse] - plannedReparentShard *connect.Client[v17.PlannedReparentShardRequest, v17.PlannedReparentShardResponse] - rebuildKeyspaceGraph *connect.Client[v17.RebuildKeyspaceGraphRequest, v17.RebuildKeyspaceGraphResponse] - rebuildVSchemaGraph *connect.Client[v17.RebuildVSchemaGraphRequest, v17.RebuildVSchemaGraphResponse] - refreshState *connect.Client[v17.RefreshStateRequest, v17.RefreshStateResponse] - refreshStateByShard *connect.Client[v17.RefreshStateByShardRequest, v17.RefreshStateByShardResponse] - reloadSchema *connect.Client[v17.ReloadSchemaRequest, v17.ReloadSchemaResponse] - reloadSchemaKeyspace *connect.Client[v17.ReloadSchemaKeyspaceRequest, v17.ReloadSchemaKeyspaceResponse] - reloadSchemaShard *connect.Client[v17.ReloadSchemaShardRequest, v17.ReloadSchemaShardResponse] - removeBackup *connect.Client[v17.RemoveBackupRequest, v17.RemoveBackupResponse] - removeKeyspaceCell *connect.Client[v17.RemoveKeyspaceCellRequest, v17.RemoveKeyspaceCellResponse] - removeShardCell *connect.Client[v17.RemoveShardCellRequest, v17.RemoveShardCellResponse] - reparentTablet *connect.Client[v17.ReparentTabletRequest, v17.ReparentTabletResponse] - restoreFromBackup *connect.Client[v17.RestoreFromBackupRequest, v17.RestoreFromBackupResponse] - runHealthCheck *connect.Client[v17.RunHealthCheckRequest, v17.RunHealthCheckResponse] - setKeyspaceDurabilityPolicy *connect.Client[v17.SetKeyspaceDurabilityPolicyRequest, v17.SetKeyspaceDurabilityPolicyResponse] - setShardIsPrimaryServing *connect.Client[v17.SetShardIsPrimaryServingRequest, v17.SetShardIsPrimaryServingResponse] - setShardTabletControl *connect.Client[v17.SetShardTabletControlRequest, v17.SetShardTabletControlResponse] - setWritable *connect.Client[v17.SetWritableRequest, v17.SetWritableResponse] - shardReplicationAdd *connect.Client[v17.ShardReplicationAddRequest, v17.ShardReplicationAddResponse] - shardReplicationFix *connect.Client[v17.ShardReplicationFixRequest, v17.ShardReplicationFixResponse] - shardReplicationPositions *connect.Client[v17.ShardReplicationPositionsRequest, v17.ShardReplicationPositionsResponse] - shardReplicationRemove *connect.Client[v17.ShardReplicationRemoveRequest, v17.ShardReplicationRemoveResponse] - sleepTablet *connect.Client[v17.SleepTabletRequest, v17.SleepTabletResponse] - sourceShardAdd *connect.Client[v17.SourceShardAddRequest, v17.SourceShardAddResponse] - sourceShardDelete *connect.Client[v17.SourceShardDeleteRequest, v17.SourceShardDeleteResponse] - startReplication *connect.Client[v17.StartReplicationRequest, v17.StartReplicationResponse] - stopReplication *connect.Client[v17.StopReplicationRequest, v17.StopReplicationResponse] - tabletExternallyReparented *connect.Client[v17.TabletExternallyReparentedRequest, v17.TabletExternallyReparentedResponse] - updateCellInfo *connect.Client[v17.UpdateCellInfoRequest, v17.UpdateCellInfoResponse] - updateCellsAlias *connect.Client[v17.UpdateCellsAliasRequest, v17.UpdateCellsAliasResponse] - validate *connect.Client[v17.ValidateRequest, v17.ValidateResponse] - validateKeyspace *connect.Client[v17.ValidateKeyspaceRequest, v17.ValidateKeyspaceResponse] - validateSchemaKeyspace *connect.Client[v17.ValidateSchemaKeyspaceRequest, v17.ValidateSchemaKeyspaceResponse] - validateShard *connect.Client[v17.ValidateShardRequest, v17.ValidateShardResponse] - validateVersionKeyspace *connect.Client[v17.ValidateVersionKeyspaceRequest, v17.ValidateVersionKeyspaceResponse] - validateVersionShard *connect.Client[v17.ValidateVersionShardRequest, v17.ValidateVersionShardResponse] - validateVSchema *connect.Client[v17.ValidateVSchemaRequest, v17.ValidateVSchemaResponse] - workflowUpdate *connect.Client[v17.WorkflowUpdateRequest, v17.WorkflowUpdateResponse] + addCellInfo *connect.Client[v171.AddCellInfoRequest, v171.AddCellInfoResponse] + addCellsAlias *connect.Client[v171.AddCellsAliasRequest, v171.AddCellsAliasResponse] + applyRoutingRules *connect.Client[v171.ApplyRoutingRulesRequest, v171.ApplyRoutingRulesResponse] + applySchema *connect.Client[v171.ApplySchemaRequest, v171.ApplySchemaResponse] + applyShardRoutingRules *connect.Client[v171.ApplyShardRoutingRulesRequest, v171.ApplyShardRoutingRulesResponse] + applyVSchema *connect.Client[v171.ApplyVSchemaRequest, v171.ApplyVSchemaResponse] + backup *connect.Client[v171.BackupRequest, v171.BackupResponse] + backupShard *connect.Client[v171.BackupShardRequest, v171.BackupResponse] + changeTabletType *connect.Client[v171.ChangeTabletTypeRequest, v171.ChangeTabletTypeResponse] + createKeyspace *connect.Client[v171.CreateKeyspaceRequest, v171.CreateKeyspaceResponse] + createShard *connect.Client[v171.CreateShardRequest, v171.CreateShardResponse] + deleteCellInfo *connect.Client[v171.DeleteCellInfoRequest, v171.DeleteCellInfoResponse] + deleteCellsAlias *connect.Client[v171.DeleteCellsAliasRequest, v171.DeleteCellsAliasResponse] + deleteKeyspace *connect.Client[v171.DeleteKeyspaceRequest, v171.DeleteKeyspaceResponse] + deleteShards *connect.Client[v171.DeleteShardsRequest, v171.DeleteShardsResponse] + deleteSrvVSchema *connect.Client[v171.DeleteSrvVSchemaRequest, v171.DeleteSrvVSchemaResponse] + deleteTablets *connect.Client[v171.DeleteTabletsRequest, v171.DeleteTabletsResponse] + emergencyReparentShard *connect.Client[v171.EmergencyReparentShardRequest, v171.EmergencyReparentShardResponse] + executeFetchAsApp *connect.Client[v171.ExecuteFetchAsAppRequest, v171.ExecuteFetchAsAppResponse] + executeFetchAsDBA *connect.Client[v171.ExecuteFetchAsDBARequest, v171.ExecuteFetchAsDBAResponse] + executeHook *connect.Client[v171.ExecuteHookRequest, v171.ExecuteHookResponse] + findAllShardsInKeyspace *connect.Client[v171.FindAllShardsInKeyspaceRequest, v171.FindAllShardsInKeyspaceResponse] + getBackups *connect.Client[v171.GetBackupsRequest, v171.GetBackupsResponse] + getCellInfo *connect.Client[v171.GetCellInfoRequest, v171.GetCellInfoResponse] + getCellInfoNames *connect.Client[v171.GetCellInfoNamesRequest, v171.GetCellInfoNamesResponse] + getCellsAliases *connect.Client[v171.GetCellsAliasesRequest, v171.GetCellsAliasesResponse] + getFullStatus *connect.Client[v171.GetFullStatusRequest, v171.GetFullStatusResponse] + getKeyspace *connect.Client[v171.GetKeyspaceRequest, v171.GetKeyspaceResponse] + getKeyspaces *connect.Client[v171.GetKeyspacesRequest, v171.GetKeyspacesResponse] + getPermissions *connect.Client[v171.GetPermissionsRequest, v171.GetPermissionsResponse] + getRoutingRules *connect.Client[v171.GetRoutingRulesRequest, v171.GetRoutingRulesResponse] + getSchema *connect.Client[v171.GetSchemaRequest, v171.GetSchemaResponse] + getShard *connect.Client[v171.GetShardRequest, v171.GetShardResponse] + getShardRoutingRules *connect.Client[v171.GetShardRoutingRulesRequest, v171.GetShardRoutingRulesResponse] + getSrvKeyspaceNames *connect.Client[v171.GetSrvKeyspaceNamesRequest, v171.GetSrvKeyspaceNamesResponse] + getSrvKeyspaces *connect.Client[v171.GetSrvKeyspacesRequest, v171.GetSrvKeyspacesResponse] + updateThrottlerConfig *connect.Client[v171.UpdateThrottlerConfigRequest, v171.UpdateThrottlerConfigResponse] + getSrvVSchema *connect.Client[v171.GetSrvVSchemaRequest, v171.GetSrvVSchemaResponse] + getSrvVSchemas *connect.Client[v171.GetSrvVSchemasRequest, v171.GetSrvVSchemasResponse] + getTablet *connect.Client[v171.GetTabletRequest, v171.GetTabletResponse] + getTablets *connect.Client[v171.GetTabletsRequest, v171.GetTabletsResponse] + getTopologyPath *connect.Client[v171.GetTopologyPathRequest, v171.GetTopologyPathResponse] + getVersion *connect.Client[v171.GetVersionRequest, v171.GetVersionResponse] + getVSchema *connect.Client[v171.GetVSchemaRequest, v171.GetVSchemaResponse] + getWorkflows *connect.Client[v171.GetWorkflowsRequest, v171.GetWorkflowsResponse] + initShardPrimary *connect.Client[v171.InitShardPrimaryRequest, v171.InitShardPrimaryResponse] + pingTablet *connect.Client[v171.PingTabletRequest, v171.PingTabletResponse] + plannedReparentShard *connect.Client[v171.PlannedReparentShardRequest, v171.PlannedReparentShardResponse] + rebuildKeyspaceGraph *connect.Client[v171.RebuildKeyspaceGraphRequest, v171.RebuildKeyspaceGraphResponse] + rebuildVSchemaGraph *connect.Client[v171.RebuildVSchemaGraphRequest, v171.RebuildVSchemaGraphResponse] + refreshState *connect.Client[v171.RefreshStateRequest, v171.RefreshStateResponse] + refreshStateByShard *connect.Client[v171.RefreshStateByShardRequest, v171.RefreshStateByShardResponse] + reloadSchema *connect.Client[v171.ReloadSchemaRequest, v171.ReloadSchemaResponse] + reloadSchemaKeyspace *connect.Client[v171.ReloadSchemaKeyspaceRequest, v171.ReloadSchemaKeyspaceResponse] + reloadSchemaShard *connect.Client[v171.ReloadSchemaShardRequest, v171.ReloadSchemaShardResponse] + removeBackup *connect.Client[v171.RemoveBackupRequest, v171.RemoveBackupResponse] + removeKeyspaceCell *connect.Client[v171.RemoveKeyspaceCellRequest, v171.RemoveKeyspaceCellResponse] + removeShardCell *connect.Client[v171.RemoveShardCellRequest, v171.RemoveShardCellResponse] + reparentTablet *connect.Client[v171.ReparentTabletRequest, v171.ReparentTabletResponse] + restoreFromBackup *connect.Client[v171.RestoreFromBackupRequest, v171.RestoreFromBackupResponse] + runHealthCheck *connect.Client[v171.RunHealthCheckRequest, v171.RunHealthCheckResponse] + setKeyspaceDurabilityPolicy *connect.Client[v171.SetKeyspaceDurabilityPolicyRequest, v171.SetKeyspaceDurabilityPolicyResponse] + setShardIsPrimaryServing *connect.Client[v171.SetShardIsPrimaryServingRequest, v171.SetShardIsPrimaryServingResponse] + setShardTabletControl *connect.Client[v171.SetShardTabletControlRequest, v171.SetShardTabletControlResponse] + setWritable *connect.Client[v171.SetWritableRequest, v171.SetWritableResponse] + shardReplicationAdd *connect.Client[v171.ShardReplicationAddRequest, v171.ShardReplicationAddResponse] + shardReplicationFix *connect.Client[v171.ShardReplicationFixRequest, v171.ShardReplicationFixResponse] + shardReplicationPositions *connect.Client[v171.ShardReplicationPositionsRequest, v171.ShardReplicationPositionsResponse] + shardReplicationRemove *connect.Client[v171.ShardReplicationRemoveRequest, v171.ShardReplicationRemoveResponse] + sleepTablet *connect.Client[v171.SleepTabletRequest, v171.SleepTabletResponse] + sourceShardAdd *connect.Client[v171.SourceShardAddRequest, v171.SourceShardAddResponse] + sourceShardDelete *connect.Client[v171.SourceShardDeleteRequest, v171.SourceShardDeleteResponse] + startReplication *connect.Client[v171.StartReplicationRequest, v171.StartReplicationResponse] + stopReplication *connect.Client[v171.StopReplicationRequest, v171.StopReplicationResponse] + tabletExternallyReparented *connect.Client[v171.TabletExternallyReparentedRequest, v171.TabletExternallyReparentedResponse] + updateCellInfo *connect.Client[v171.UpdateCellInfoRequest, v171.UpdateCellInfoResponse] + updateCellsAlias *connect.Client[v171.UpdateCellsAliasRequest, v171.UpdateCellsAliasResponse] + validate *connect.Client[v171.ValidateRequest, v171.ValidateResponse] + validateKeyspace *connect.Client[v171.ValidateKeyspaceRequest, v171.ValidateKeyspaceResponse] + validateSchemaKeyspace *connect.Client[v171.ValidateSchemaKeyspaceRequest, v171.ValidateSchemaKeyspaceResponse] + validateShard *connect.Client[v171.ValidateShardRequest, v171.ValidateShardResponse] + validateVersionKeyspace *connect.Client[v171.ValidateVersionKeyspaceRequest, v171.ValidateVersionKeyspaceResponse] + validateVersionShard *connect.Client[v171.ValidateVersionShardRequest, v171.ValidateVersionShardResponse] + validateVSchema *connect.Client[v171.ValidateVSchemaRequest, v171.ValidateVSchemaResponse] + workflowUpdate *connect.Client[v171.WorkflowUpdateRequest, v171.WorkflowUpdateResponse] } // AddCellInfo calls vtctlservice.Vtctld.AddCellInfo. -func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[v17.AddCellInfoRequest]) (*connect.Response[v17.AddCellInfoResponse], error) { +func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[v171.AddCellInfoRequest]) (*connect.Response[v171.AddCellInfoResponse], error) { return c.addCellInfo.CallUnary(ctx, req) } // AddCellsAlias calls vtctlservice.Vtctld.AddCellsAlias. -func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[v17.AddCellsAliasRequest]) (*connect.Response[v17.AddCellsAliasResponse], error) { +func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[v171.AddCellsAliasRequest]) (*connect.Response[v171.AddCellsAliasResponse], error) { return c.addCellsAlias.CallUnary(ctx, req) } // ApplyRoutingRules calls vtctlservice.Vtctld.ApplyRoutingRules. -func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[v17.ApplyRoutingRulesRequest]) (*connect.Response[v17.ApplyRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[v171.ApplyRoutingRulesRequest]) (*connect.Response[v171.ApplyRoutingRulesResponse], error) { return c.applyRoutingRules.CallUnary(ctx, req) } // ApplySchema calls vtctlservice.Vtctld.ApplySchema. -func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) { +func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } // ApplyShardRoutingRules calls vtctlservice.Vtctld.ApplyShardRoutingRules. -func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[v17.ApplyShardRoutingRulesRequest]) (*connect.Response[v17.ApplyShardRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[v171.ApplyShardRoutingRulesRequest]) (*connect.Response[v171.ApplyShardRoutingRulesResponse], error) { return c.applyShardRoutingRules.CallUnary(ctx, req) } // ApplyVSchema calls vtctlservice.Vtctld.ApplyVSchema. -func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[v17.ApplyVSchemaRequest]) (*connect.Response[v17.ApplyVSchemaResponse], error) { +func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[v171.ApplyVSchemaRequest]) (*connect.Response[v171.ApplyVSchemaResponse], error) { return c.applyVSchema.CallUnary(ctx, req) } // Backup calls vtctlservice.Vtctld.Backup. -func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[v17.BackupRequest]) (*connect.ServerStreamForClient[v17.BackupResponse], error) { +func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[v171.BackupRequest]) (*connect.ServerStreamForClient[v171.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // BackupShard calls vtctlservice.Vtctld.BackupShard. -func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[v17.BackupShardRequest]) (*connect.ServerStreamForClient[v17.BackupResponse], error) { +func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[v171.BackupShardRequest]) (*connect.ServerStreamForClient[v171.BackupResponse], error) { return c.backupShard.CallServerStream(ctx, req) } // ChangeTabletType calls vtctlservice.Vtctld.ChangeTabletType. -func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[v17.ChangeTabletTypeRequest]) (*connect.Response[v17.ChangeTabletTypeResponse], error) { +func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[v171.ChangeTabletTypeRequest]) (*connect.Response[v171.ChangeTabletTypeResponse], error) { return c.changeTabletType.CallUnary(ctx, req) } // CreateKeyspace calls vtctlservice.Vtctld.CreateKeyspace. -func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[v17.CreateKeyspaceRequest]) (*connect.Response[v17.CreateKeyspaceResponse], error) { +func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[v171.CreateKeyspaceRequest]) (*connect.Response[v171.CreateKeyspaceResponse], error) { return c.createKeyspace.CallUnary(ctx, req) } // CreateShard calls vtctlservice.Vtctld.CreateShard. -func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[v17.CreateShardRequest]) (*connect.Response[v17.CreateShardResponse], error) { +func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[v171.CreateShardRequest]) (*connect.Response[v171.CreateShardResponse], error) { return c.createShard.CallUnary(ctx, req) } // DeleteCellInfo calls vtctlservice.Vtctld.DeleteCellInfo. -func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[v17.DeleteCellInfoRequest]) (*connect.Response[v17.DeleteCellInfoResponse], error) { +func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[v171.DeleteCellInfoRequest]) (*connect.Response[v171.DeleteCellInfoResponse], error) { return c.deleteCellInfo.CallUnary(ctx, req) } // DeleteCellsAlias calls vtctlservice.Vtctld.DeleteCellsAlias. -func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[v17.DeleteCellsAliasRequest]) (*connect.Response[v17.DeleteCellsAliasResponse], error) { +func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[v171.DeleteCellsAliasRequest]) (*connect.Response[v171.DeleteCellsAliasResponse], error) { return c.deleteCellsAlias.CallUnary(ctx, req) } // DeleteKeyspace calls vtctlservice.Vtctld.DeleteKeyspace. -func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v17.DeleteKeyspaceRequest]) (*connect.Response[v17.DeleteKeyspaceResponse], error) { +func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v171.DeleteKeyspaceRequest]) (*connect.Response[v171.DeleteKeyspaceResponse], error) { return c.deleteKeyspace.CallUnary(ctx, req) } // DeleteShards calls vtctlservice.Vtctld.DeleteShards. -func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[v17.DeleteShardsRequest]) (*connect.Response[v17.DeleteShardsResponse], error) { +func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[v171.DeleteShardsRequest]) (*connect.Response[v171.DeleteShardsResponse], error) { return c.deleteShards.CallUnary(ctx, req) } // DeleteSrvVSchema calls vtctlservice.Vtctld.DeleteSrvVSchema. -func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[v17.DeleteSrvVSchemaRequest]) (*connect.Response[v17.DeleteSrvVSchemaResponse], error) { +func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[v171.DeleteSrvVSchemaRequest]) (*connect.Response[v171.DeleteSrvVSchemaResponse], error) { return c.deleteSrvVSchema.CallUnary(ctx, req) } // DeleteTablets calls vtctlservice.Vtctld.DeleteTablets. -func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[v17.DeleteTabletsRequest]) (*connect.Response[v17.DeleteTabletsResponse], error) { +func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[v171.DeleteTabletsRequest]) (*connect.Response[v171.DeleteTabletsResponse], error) { return c.deleteTablets.CallUnary(ctx, req) } // EmergencyReparentShard calls vtctlservice.Vtctld.EmergencyReparentShard. -func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[v17.EmergencyReparentShardRequest]) (*connect.Response[v17.EmergencyReparentShardResponse], error) { +func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[v171.EmergencyReparentShardRequest]) (*connect.Response[v171.EmergencyReparentShardResponse], error) { return c.emergencyReparentShard.CallUnary(ctx, req) } // ExecuteFetchAsApp calls vtctlservice.Vtctld.ExecuteFetchAsApp. -func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) { +func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } // ExecuteFetchAsDBA calls vtctlservice.Vtctld.ExecuteFetchAsDBA. -func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[v17.ExecuteFetchAsDBARequest]) (*connect.Response[v17.ExecuteFetchAsDBAResponse], error) { +func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[v171.ExecuteFetchAsDBARequest]) (*connect.Response[v171.ExecuteFetchAsDBAResponse], error) { return c.executeFetchAsDBA.CallUnary(ctx, req) } // ExecuteHook calls vtctlservice.Vtctld.ExecuteHook. -func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) { +func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } // FindAllShardsInKeyspace calls vtctlservice.Vtctld.FindAllShardsInKeyspace. -func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[v17.FindAllShardsInKeyspaceRequest]) (*connect.Response[v17.FindAllShardsInKeyspaceResponse], error) { +func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[v171.FindAllShardsInKeyspaceRequest]) (*connect.Response[v171.FindAllShardsInKeyspaceResponse], error) { return c.findAllShardsInKeyspace.CallUnary(ctx, req) } // GetBackups calls vtctlservice.Vtctld.GetBackups. -func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[v17.GetBackupsRequest]) (*connect.Response[v17.GetBackupsResponse], error) { +func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[v171.GetBackupsRequest]) (*connect.Response[v171.GetBackupsResponse], error) { return c.getBackups.CallUnary(ctx, req) } // GetCellInfo calls vtctlservice.Vtctld.GetCellInfo. -func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[v17.GetCellInfoRequest]) (*connect.Response[v17.GetCellInfoResponse], error) { +func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[v171.GetCellInfoRequest]) (*connect.Response[v171.GetCellInfoResponse], error) { return c.getCellInfo.CallUnary(ctx, req) } // GetCellInfoNames calls vtctlservice.Vtctld.GetCellInfoNames. -func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[v17.GetCellInfoNamesRequest]) (*connect.Response[v17.GetCellInfoNamesResponse], error) { +func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[v171.GetCellInfoNamesRequest]) (*connect.Response[v171.GetCellInfoNamesResponse], error) { return c.getCellInfoNames.CallUnary(ctx, req) } // GetCellsAliases calls vtctlservice.Vtctld.GetCellsAliases. -func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[v17.GetCellsAliasesRequest]) (*connect.Response[v17.GetCellsAliasesResponse], error) { +func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[v171.GetCellsAliasesRequest]) (*connect.Response[v171.GetCellsAliasesResponse], error) { return c.getCellsAliases.CallUnary(ctx, req) } // GetFullStatus calls vtctlservice.Vtctld.GetFullStatus. -func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[v17.GetFullStatusRequest]) (*connect.Response[v17.GetFullStatusResponse], error) { +func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[v171.GetFullStatusRequest]) (*connect.Response[v171.GetFullStatusResponse], error) { return c.getFullStatus.CallUnary(ctx, req) } // GetKeyspace calls vtctlservice.Vtctld.GetKeyspace. -func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[v17.GetKeyspaceRequest]) (*connect.Response[v17.GetKeyspaceResponse], error) { +func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[v171.GetKeyspaceRequest]) (*connect.Response[v171.GetKeyspaceResponse], error) { return c.getKeyspace.CallUnary(ctx, req) } // GetKeyspaces calls vtctlservice.Vtctld.GetKeyspaces. -func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[v17.GetKeyspacesRequest]) (*connect.Response[v17.GetKeyspacesResponse], error) { +func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[v171.GetKeyspacesRequest]) (*connect.Response[v171.GetKeyspacesResponse], error) { return c.getKeyspaces.CallUnary(ctx, req) } // GetPermissions calls vtctlservice.Vtctld.GetPermissions. -func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) { +func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } // GetRoutingRules calls vtctlservice.Vtctld.GetRoutingRules. -func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[v17.GetRoutingRulesRequest]) (*connect.Response[v17.GetRoutingRulesResponse], error) { +func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[v171.GetRoutingRulesRequest]) (*connect.Response[v171.GetRoutingRulesResponse], error) { return c.getRoutingRules.CallUnary(ctx, req) } // GetSchema calls vtctlservice.Vtctld.GetSchema. -func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) { +func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetShard calls vtctlservice.Vtctld.GetShard. -func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[v17.GetShardRequest]) (*connect.Response[v17.GetShardResponse], error) { +func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[v171.GetShardRequest]) (*connect.Response[v171.GetShardResponse], error) { return c.getShard.CallUnary(ctx, req) } // GetShardRoutingRules calls vtctlservice.Vtctld.GetShardRoutingRules. -func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[v17.GetShardRoutingRulesRequest]) (*connect.Response[v17.GetShardRoutingRulesResponse], error) { +func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[v171.GetShardRoutingRulesRequest]) (*connect.Response[v171.GetShardRoutingRulesResponse], error) { return c.getShardRoutingRules.CallUnary(ctx, req) } // GetSrvKeyspaceNames calls vtctlservice.Vtctld.GetSrvKeyspaceNames. -func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[v17.GetSrvKeyspaceNamesRequest]) (*connect.Response[v17.GetSrvKeyspaceNamesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[v171.GetSrvKeyspaceNamesRequest]) (*connect.Response[v171.GetSrvKeyspaceNamesResponse], error) { return c.getSrvKeyspaceNames.CallUnary(ctx, req) } // GetSrvKeyspaces calls vtctlservice.Vtctld.GetSrvKeyspaces. -func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v17.GetSrvKeyspacesRequest]) (*connect.Response[v17.GetSrvKeyspacesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v171.GetSrvKeyspacesRequest]) (*connect.Response[v171.GetSrvKeyspacesResponse], error) { return c.getSrvKeyspaces.CallUnary(ctx, req) } // UpdateThrottlerConfig calls vtctlservice.Vtctld.UpdateThrottlerConfig. -func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[v17.UpdateThrottlerConfigRequest]) (*connect.Response[v17.UpdateThrottlerConfigResponse], error) { +func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[v171.UpdateThrottlerConfigRequest]) (*connect.Response[v171.UpdateThrottlerConfigResponse], error) { return c.updateThrottlerConfig.CallUnary(ctx, req) } // GetSrvVSchema calls vtctlservice.Vtctld.GetSrvVSchema. -func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v17.GetSrvVSchemaRequest]) (*connect.Response[v17.GetSrvVSchemaResponse], error) { +func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v171.GetSrvVSchemaRequest]) (*connect.Response[v171.GetSrvVSchemaResponse], error) { return c.getSrvVSchema.CallUnary(ctx, req) } // GetSrvVSchemas calls vtctlservice.Vtctld.GetSrvVSchemas. -func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v17.GetSrvVSchemasRequest]) (*connect.Response[v17.GetSrvVSchemasResponse], error) { +func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v171.GetSrvVSchemasRequest]) (*connect.Response[v171.GetSrvVSchemasResponse], error) { return c.getSrvVSchemas.CallUnary(ctx, req) } // GetTablet calls vtctlservice.Vtctld.GetTablet. -func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[v17.GetTabletRequest]) (*connect.Response[v17.GetTabletResponse], error) { +func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[v171.GetTabletRequest]) (*connect.Response[v171.GetTabletResponse], error) { return c.getTablet.CallUnary(ctx, req) } // GetTablets calls vtctlservice.Vtctld.GetTablets. -func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[v17.GetTabletsRequest]) (*connect.Response[v17.GetTabletsResponse], error) { +func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[v171.GetTabletsRequest]) (*connect.Response[v171.GetTabletsResponse], error) { return c.getTablets.CallUnary(ctx, req) } // GetTopologyPath calls vtctlservice.Vtctld.GetTopologyPath. -func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[v17.GetTopologyPathRequest]) (*connect.Response[v17.GetTopologyPathResponse], error) { +func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[v171.GetTopologyPathRequest]) (*connect.Response[v171.GetTopologyPathResponse], error) { return c.getTopologyPath.CallUnary(ctx, req) } // GetVersion calls vtctlservice.Vtctld.GetVersion. -func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[v17.GetVersionRequest]) (*connect.Response[v17.GetVersionResponse], error) { +func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[v171.GetVersionRequest]) (*connect.Response[v171.GetVersionResponse], error) { return c.getVersion.CallUnary(ctx, req) } // GetVSchema calls vtctlservice.Vtctld.GetVSchema. -func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[v17.GetVSchemaRequest]) (*connect.Response[v17.GetVSchemaResponse], error) { +func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[v171.GetVSchemaRequest]) (*connect.Response[v171.GetVSchemaResponse], error) { return c.getVSchema.CallUnary(ctx, req) } // GetWorkflows calls vtctlservice.Vtctld.GetWorkflows. -func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[v17.GetWorkflowsRequest]) (*connect.Response[v17.GetWorkflowsResponse], error) { +func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[v171.GetWorkflowsRequest]) (*connect.Response[v171.GetWorkflowsResponse], error) { return c.getWorkflows.CallUnary(ctx, req) } // InitShardPrimary calls vtctlservice.Vtctld.InitShardPrimary. -func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[v17.InitShardPrimaryRequest]) (*connect.Response[v17.InitShardPrimaryResponse], error) { +func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[v171.InitShardPrimaryRequest]) (*connect.Response[v171.InitShardPrimaryResponse], error) { return c.initShardPrimary.CallUnary(ctx, req) } // PingTablet calls vtctlservice.Vtctld.PingTablet. -func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[v17.PingTabletRequest]) (*connect.Response[v17.PingTabletResponse], error) { +func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[v171.PingTabletRequest]) (*connect.Response[v171.PingTabletResponse], error) { return c.pingTablet.CallUnary(ctx, req) } // PlannedReparentShard calls vtctlservice.Vtctld.PlannedReparentShard. -func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[v17.PlannedReparentShardRequest]) (*connect.Response[v17.PlannedReparentShardResponse], error) { +func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[v171.PlannedReparentShardRequest]) (*connect.Response[v171.PlannedReparentShardResponse], error) { return c.plannedReparentShard.CallUnary(ctx, req) } // RebuildKeyspaceGraph calls vtctlservice.Vtctld.RebuildKeyspaceGraph. -func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v17.RebuildKeyspaceGraphRequest]) (*connect.Response[v17.RebuildKeyspaceGraphResponse], error) { +func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v171.RebuildKeyspaceGraphRequest]) (*connect.Response[v171.RebuildKeyspaceGraphResponse], error) { return c.rebuildKeyspaceGraph.CallUnary(ctx, req) } // RebuildVSchemaGraph calls vtctlservice.Vtctld.RebuildVSchemaGraph. -func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[v17.RebuildVSchemaGraphRequest]) (*connect.Response[v17.RebuildVSchemaGraphResponse], error) { +func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[v171.RebuildVSchemaGraphRequest]) (*connect.Response[v171.RebuildVSchemaGraphResponse], error) { return c.rebuildVSchemaGraph.CallUnary(ctx, req) } // RefreshState calls vtctlservice.Vtctld.RefreshState. -func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) { +func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RefreshStateByShard calls vtctlservice.Vtctld.RefreshStateByShard. -func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[v17.RefreshStateByShardRequest]) (*connect.Response[v17.RefreshStateByShardResponse], error) { +func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[v171.RefreshStateByShardRequest]) (*connect.Response[v171.RefreshStateByShardResponse], error) { return c.refreshStateByShard.CallUnary(ctx, req) } // ReloadSchema calls vtctlservice.Vtctld.ReloadSchema. -func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) { +func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // ReloadSchemaKeyspace calls vtctlservice.Vtctld.ReloadSchemaKeyspace. -func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[v17.ReloadSchemaKeyspaceRequest]) (*connect.Response[v17.ReloadSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[v171.ReloadSchemaKeyspaceRequest]) (*connect.Response[v171.ReloadSchemaKeyspaceResponse], error) { return c.reloadSchemaKeyspace.CallUnary(ctx, req) } // ReloadSchemaShard calls vtctlservice.Vtctld.ReloadSchemaShard. -func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v17.ReloadSchemaShardRequest]) (*connect.Response[v17.ReloadSchemaShardResponse], error) { +func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v171.ReloadSchemaShardRequest]) (*connect.Response[v171.ReloadSchemaShardResponse], error) { return c.reloadSchemaShard.CallUnary(ctx, req) } // RemoveBackup calls vtctlservice.Vtctld.RemoveBackup. -func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[v17.RemoveBackupRequest]) (*connect.Response[v17.RemoveBackupResponse], error) { +func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[v171.RemoveBackupRequest]) (*connect.Response[v171.RemoveBackupResponse], error) { return c.removeBackup.CallUnary(ctx, req) } // RemoveKeyspaceCell calls vtctlservice.Vtctld.RemoveKeyspaceCell. -func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v17.RemoveKeyspaceCellRequest]) (*connect.Response[v17.RemoveKeyspaceCellResponse], error) { +func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v171.RemoveKeyspaceCellRequest]) (*connect.Response[v171.RemoveKeyspaceCellResponse], error) { return c.removeKeyspaceCell.CallUnary(ctx, req) } // RemoveShardCell calls vtctlservice.Vtctld.RemoveShardCell. -func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[v17.RemoveShardCellRequest]) (*connect.Response[v17.RemoveShardCellResponse], error) { +func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[v171.RemoveShardCellRequest]) (*connect.Response[v171.RemoveShardCellResponse], error) { return c.removeShardCell.CallUnary(ctx, req) } // ReparentTablet calls vtctlservice.Vtctld.ReparentTablet. -func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[v17.ReparentTabletRequest]) (*connect.Response[v17.ReparentTabletResponse], error) { +func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[v171.ReparentTabletRequest]) (*connect.Response[v171.ReparentTabletResponse], error) { return c.reparentTablet.CallUnary(ctx, req) } // RestoreFromBackup calls vtctlservice.Vtctld.RestoreFromBackup. -func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v17.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v17.RestoreFromBackupResponse], error) { +func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v171.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v171.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } // RunHealthCheck calls vtctlservice.Vtctld.RunHealthCheck. -func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) { +func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // SetKeyspaceDurabilityPolicy calls vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy. -func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[v17.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v17.SetKeyspaceDurabilityPolicyResponse], error) { +func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[v171.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v171.SetKeyspaceDurabilityPolicyResponse], error) { return c.setKeyspaceDurabilityPolicy.CallUnary(ctx, req) } // SetShardIsPrimaryServing calls vtctlservice.Vtctld.SetShardIsPrimaryServing. -func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[v17.SetShardIsPrimaryServingRequest]) (*connect.Response[v17.SetShardIsPrimaryServingResponse], error) { +func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[v171.SetShardIsPrimaryServingRequest]) (*connect.Response[v171.SetShardIsPrimaryServingResponse], error) { return c.setShardIsPrimaryServing.CallUnary(ctx, req) } // SetShardTabletControl calls vtctlservice.Vtctld.SetShardTabletControl. -func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[v17.SetShardTabletControlRequest]) (*connect.Response[v17.SetShardTabletControlResponse], error) { +func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[v171.SetShardTabletControlRequest]) (*connect.Response[v171.SetShardTabletControlResponse], error) { return c.setShardTabletControl.CallUnary(ctx, req) } // SetWritable calls vtctlservice.Vtctld.SetWritable. -func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[v17.SetWritableRequest]) (*connect.Response[v17.SetWritableResponse], error) { +func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[v171.SetWritableRequest]) (*connect.Response[v171.SetWritableResponse], error) { return c.setWritable.CallUnary(ctx, req) } // ShardReplicationAdd calls vtctlservice.Vtctld.ShardReplicationAdd. -func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[v17.ShardReplicationAddRequest]) (*connect.Response[v17.ShardReplicationAddResponse], error) { +func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[v171.ShardReplicationAddRequest]) (*connect.Response[v171.ShardReplicationAddResponse], error) { return c.shardReplicationAdd.CallUnary(ctx, req) } // ShardReplicationFix calls vtctlservice.Vtctld.ShardReplicationFix. -func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[v17.ShardReplicationFixRequest]) (*connect.Response[v17.ShardReplicationFixResponse], error) { +func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[v171.ShardReplicationFixRequest]) (*connect.Response[v171.ShardReplicationFixResponse], error) { return c.shardReplicationFix.CallUnary(ctx, req) } // ShardReplicationPositions calls vtctlservice.Vtctld.ShardReplicationPositions. -func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[v17.ShardReplicationPositionsRequest]) (*connect.Response[v17.ShardReplicationPositionsResponse], error) { +func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[v171.ShardReplicationPositionsRequest]) (*connect.Response[v171.ShardReplicationPositionsResponse], error) { return c.shardReplicationPositions.CallUnary(ctx, req) } // ShardReplicationRemove calls vtctlservice.Vtctld.ShardReplicationRemove. -func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[v17.ShardReplicationRemoveRequest]) (*connect.Response[v17.ShardReplicationRemoveResponse], error) { +func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[v171.ShardReplicationRemoveRequest]) (*connect.Response[v171.ShardReplicationRemoveResponse], error) { return c.shardReplicationRemove.CallUnary(ctx, req) } // SleepTablet calls vtctlservice.Vtctld.SleepTablet. -func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[v17.SleepTabletRequest]) (*connect.Response[v17.SleepTabletResponse], error) { +func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[v171.SleepTabletRequest]) (*connect.Response[v171.SleepTabletResponse], error) { return c.sleepTablet.CallUnary(ctx, req) } // SourceShardAdd calls vtctlservice.Vtctld.SourceShardAdd. -func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[v17.SourceShardAddRequest]) (*connect.Response[v17.SourceShardAddResponse], error) { +func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[v171.SourceShardAddRequest]) (*connect.Response[v171.SourceShardAddResponse], error) { return c.sourceShardAdd.CallUnary(ctx, req) } // SourceShardDelete calls vtctlservice.Vtctld.SourceShardDelete. -func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[v17.SourceShardDeleteRequest]) (*connect.Response[v17.SourceShardDeleteResponse], error) { +func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[v171.SourceShardDeleteRequest]) (*connect.Response[v171.SourceShardDeleteResponse], error) { return c.sourceShardDelete.CallUnary(ctx, req) } // StartReplication calls vtctlservice.Vtctld.StartReplication. -func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) { +func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StopReplication calls vtctlservice.Vtctld.StopReplication. -func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) { +func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // TabletExternallyReparented calls vtctlservice.Vtctld.TabletExternallyReparented. -func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[v17.TabletExternallyReparentedRequest]) (*connect.Response[v17.TabletExternallyReparentedResponse], error) { +func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[v171.TabletExternallyReparentedRequest]) (*connect.Response[v171.TabletExternallyReparentedResponse], error) { return c.tabletExternallyReparented.CallUnary(ctx, req) } // UpdateCellInfo calls vtctlservice.Vtctld.UpdateCellInfo. -func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[v17.UpdateCellInfoRequest]) (*connect.Response[v17.UpdateCellInfoResponse], error) { +func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[v171.UpdateCellInfoRequest]) (*connect.Response[v171.UpdateCellInfoResponse], error) { return c.updateCellInfo.CallUnary(ctx, req) } // UpdateCellsAlias calls vtctlservice.Vtctld.UpdateCellsAlias. -func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[v17.UpdateCellsAliasRequest]) (*connect.Response[v17.UpdateCellsAliasResponse], error) { +func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[v171.UpdateCellsAliasRequest]) (*connect.Response[v171.UpdateCellsAliasResponse], error) { return c.updateCellsAlias.CallUnary(ctx, req) } // Validate calls vtctlservice.Vtctld.Validate. -func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[v17.ValidateRequest]) (*connect.Response[v17.ValidateResponse], error) { +func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[v171.ValidateRequest]) (*connect.Response[v171.ValidateResponse], error) { return c.validate.CallUnary(ctx, req) } // ValidateKeyspace calls vtctlservice.Vtctld.ValidateKeyspace. -func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v17.ValidateKeyspaceRequest]) (*connect.Response[v17.ValidateKeyspaceResponse], error) { +func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v171.ValidateKeyspaceRequest]) (*connect.Response[v171.ValidateKeyspaceResponse], error) { return c.validateKeyspace.CallUnary(ctx, req) } // ValidateSchemaKeyspace calls vtctlservice.Vtctld.ValidateSchemaKeyspace. -func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v17.ValidateSchemaKeyspaceRequest]) (*connect.Response[v17.ValidateSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v171.ValidateSchemaKeyspaceRequest]) (*connect.Response[v171.ValidateSchemaKeyspaceResponse], error) { return c.validateSchemaKeyspace.CallUnary(ctx, req) } // ValidateShard calls vtctlservice.Vtctld.ValidateShard. -func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[v17.ValidateShardRequest]) (*connect.Response[v17.ValidateShardResponse], error) { +func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[v171.ValidateShardRequest]) (*connect.Response[v171.ValidateShardResponse], error) { return c.validateShard.CallUnary(ctx, req) } // ValidateVersionKeyspace calls vtctlservice.Vtctld.ValidateVersionKeyspace. -func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v17.ValidateVersionKeyspaceRequest]) (*connect.Response[v17.ValidateVersionKeyspaceResponse], error) { +func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v171.ValidateVersionKeyspaceRequest]) (*connect.Response[v171.ValidateVersionKeyspaceResponse], error) { return c.validateVersionKeyspace.CallUnary(ctx, req) } // ValidateVersionShard calls vtctlservice.Vtctld.ValidateVersionShard. -func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v17.ValidateVersionShardRequest]) (*connect.Response[v17.ValidateVersionShardResponse], error) { +func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v171.ValidateVersionShardRequest]) (*connect.Response[v171.ValidateVersionShardResponse], error) { return c.validateVersionShard.CallUnary(ctx, req) } // ValidateVSchema calls vtctlservice.Vtctld.ValidateVSchema. -func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[v17.ValidateVSchemaRequest]) (*connect.Response[v17.ValidateVSchemaResponse], error) { +func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[v171.ValidateVSchemaRequest]) (*connect.Response[v171.ValidateVSchemaResponse], error) { return c.validateVSchema.CallUnary(ctx, req) } // WorkflowUpdate calls vtctlservice.Vtctld.WorkflowUpdate. -func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[v17.WorkflowUpdateRequest]) (*connect.Response[v17.WorkflowUpdateResponse], error) { +func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[v171.WorkflowUpdateRequest]) (*connect.Response[v171.WorkflowUpdateResponse], error) { return c.workflowUpdate.CallUnary(ctx, req) } @@ -1547,132 +1726,132 @@ func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[ type VtctldHandler interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[v17.AddCellInfoRequest]) (*connect.Response[v17.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[v171.AddCellInfoRequest]) (*connect.Response[v171.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[v17.AddCellsAliasRequest]) (*connect.Response[v17.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[v171.AddCellsAliasRequest]) (*connect.Response[v171.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[v17.ApplyRoutingRulesRequest]) (*connect.Response[v17.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[v171.ApplyRoutingRulesRequest]) (*connect.Response[v171.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[v17.ApplyShardRoutingRulesRequest]) (*connect.Response[v17.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[v171.ApplyShardRoutingRulesRequest]) (*connect.Response[v171.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[v17.ApplyVSchemaRequest]) (*connect.Response[v17.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[v171.ApplyVSchemaRequest]) (*connect.Response[v171.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[v17.BackupRequest], *connect.ServerStream[v17.BackupResponse]) error + Backup(context.Context, *connect.Request[v171.BackupRequest], *connect.ServerStream[v171.BackupResponse]) error // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[v17.BackupShardRequest], *connect.ServerStream[v17.BackupResponse]) error + BackupShard(context.Context, *connect.Request[v171.BackupShardRequest], *connect.ServerStream[v171.BackupResponse]) error // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[v17.ChangeTabletTypeRequest]) (*connect.Response[v17.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[v171.ChangeTabletTypeRequest]) (*connect.Response[v171.ChangeTabletTypeResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[v17.CreateKeyspaceRequest]) (*connect.Response[v17.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[v171.CreateKeyspaceRequest]) (*connect.Response[v171.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[v17.CreateShardRequest]) (*connect.Response[v17.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[v171.CreateShardRequest]) (*connect.Response[v171.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[v17.DeleteCellInfoRequest]) (*connect.Response[v17.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[v171.DeleteCellInfoRequest]) (*connect.Response[v171.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[v17.DeleteCellsAliasRequest]) (*connect.Response[v17.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[v171.DeleteCellsAliasRequest]) (*connect.Response[v171.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[v17.DeleteKeyspaceRequest]) (*connect.Response[v17.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[v171.DeleteKeyspaceRequest]) (*connect.Response[v171.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[v17.DeleteShardsRequest]) (*connect.Response[v17.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[v171.DeleteShardsRequest]) (*connect.Response[v171.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[v17.DeleteSrvVSchemaRequest]) (*connect.Response[v17.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[v171.DeleteSrvVSchemaRequest]) (*connect.Response[v171.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[v17.DeleteTabletsRequest]) (*connect.Response[v17.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[v171.DeleteTabletsRequest]) (*connect.Response[v171.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[v17.EmergencyReparentShardRequest]) (*connect.Response[v17.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[v171.EmergencyReparentShardRequest]) (*connect.Response[v171.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[v17.ExecuteFetchAsDBARequest]) (*connect.Response[v17.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[v171.ExecuteFetchAsDBARequest]) (*connect.Response[v171.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[v17.FindAllShardsInKeyspaceRequest]) (*connect.Response[v17.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[v171.FindAllShardsInKeyspaceRequest]) (*connect.Response[v171.FindAllShardsInKeyspaceResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[v17.GetBackupsRequest]) (*connect.Response[v17.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[v171.GetBackupsRequest]) (*connect.Response[v171.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[v17.GetCellInfoRequest]) (*connect.Response[v17.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[v171.GetCellInfoRequest]) (*connect.Response[v171.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[v17.GetCellInfoNamesRequest]) (*connect.Response[v17.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[v171.GetCellInfoNamesRequest]) (*connect.Response[v171.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[v17.GetCellsAliasesRequest]) (*connect.Response[v17.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[v171.GetCellsAliasesRequest]) (*connect.Response[v171.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[v17.GetFullStatusRequest]) (*connect.Response[v17.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[v171.GetFullStatusRequest]) (*connect.Response[v171.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[v17.GetKeyspaceRequest]) (*connect.Response[v17.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[v171.GetKeyspaceRequest]) (*connect.Response[v171.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[v17.GetKeyspacesRequest]) (*connect.Response[v17.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[v171.GetKeyspacesRequest]) (*connect.Response[v171.GetKeyspacesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[v17.GetRoutingRulesRequest]) (*connect.Response[v17.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[v171.GetRoutingRulesRequest]) (*connect.Response[v171.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[v17.GetShardRequest]) (*connect.Response[v17.GetShardResponse], error) + GetShard(context.Context, *connect.Request[v171.GetShardRequest]) (*connect.Response[v171.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[v17.GetShardRoutingRulesRequest]) (*connect.Response[v17.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[v171.GetShardRoutingRulesRequest]) (*connect.Response[v171.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[v17.GetSrvKeyspaceNamesRequest]) (*connect.Response[v17.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[v171.GetSrvKeyspaceNamesRequest]) (*connect.Response[v171.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[v17.GetSrvKeyspacesRequest]) (*connect.Response[v17.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[v171.GetSrvKeyspacesRequest]) (*connect.Response[v171.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[v17.UpdateThrottlerConfigRequest]) (*connect.Response[v17.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[v171.UpdateThrottlerConfigRequest]) (*connect.Response[v171.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[v17.GetSrvVSchemaRequest]) (*connect.Response[v17.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[v171.GetSrvVSchemaRequest]) (*connect.Response[v171.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[v17.GetSrvVSchemasRequest]) (*connect.Response[v17.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[v171.GetSrvVSchemasRequest]) (*connect.Response[v171.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[v17.GetTabletRequest]) (*connect.Response[v17.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[v171.GetTabletRequest]) (*connect.Response[v171.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[v17.GetTabletsRequest]) (*connect.Response[v17.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[v171.GetTabletsRequest]) (*connect.Response[v171.GetTabletsResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[v17.GetTopologyPathRequest]) (*connect.Response[v17.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[v171.GetTopologyPathRequest]) (*connect.Response[v171.GetTopologyPathResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[v17.GetVersionRequest]) (*connect.Response[v17.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[v171.GetVersionRequest]) (*connect.Response[v171.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[v17.GetVSchemaRequest]) (*connect.Response[v17.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[v171.GetVSchemaRequest]) (*connect.Response[v171.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[v17.GetWorkflowsRequest]) (*connect.Response[v17.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[v171.GetWorkflowsRequest]) (*connect.Response[v171.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[v17.InitShardPrimaryRequest]) (*connect.Response[v17.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[v171.InitShardPrimaryRequest]) (*connect.Response[v171.InitShardPrimaryResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[v17.PingTabletRequest]) (*connect.Response[v17.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[v171.PingTabletRequest]) (*connect.Response[v171.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -1680,135 +1859,135 @@ type VtctldHandler interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[v17.PlannedReparentShardRequest]) (*connect.Response[v17.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[v171.PlannedReparentShardRequest]) (*connect.Response[v171.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[v17.RebuildKeyspaceGraphRequest]) (*connect.Response[v17.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[v171.RebuildKeyspaceGraphRequest]) (*connect.Response[v171.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[v17.RebuildVSchemaGraphRequest]) (*connect.Response[v17.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[v171.RebuildVSchemaGraphRequest]) (*connect.Response[v171.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[v17.RefreshStateByShardRequest]) (*connect.Response[v17.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[v171.RefreshStateByShardRequest]) (*connect.Response[v171.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[v17.ReloadSchemaKeyspaceRequest]) (*connect.Response[v17.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[v171.ReloadSchemaKeyspaceRequest]) (*connect.Response[v171.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[v17.ReloadSchemaShardRequest]) (*connect.Response[v17.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[v171.ReloadSchemaShardRequest]) (*connect.Response[v171.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[v17.RemoveBackupRequest]) (*connect.Response[v17.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[v171.RemoveBackupRequest]) (*connect.Response[v171.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[v17.RemoveKeyspaceCellRequest]) (*connect.Response[v17.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[v171.RemoveKeyspaceCellRequest]) (*connect.Response[v171.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[v17.RemoveShardCellRequest]) (*connect.Response[v17.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[v171.RemoveShardCellRequest]) (*connect.Response[v171.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[v17.ReparentTabletRequest]) (*connect.Response[v17.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[v171.ReparentTabletRequest]) (*connect.Response[v171.ReparentTabletResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[v17.RestoreFromBackupRequest], *connect.ServerStream[v17.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[v171.RestoreFromBackupRequest], *connect.ServerStream[v171.RestoreFromBackupResponse]) error // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v17.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v17.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v171.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v171.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[v17.SetShardIsPrimaryServingRequest]) (*connect.Response[v17.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[v171.SetShardIsPrimaryServingRequest]) (*connect.Response[v171.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[v17.SetShardTabletControlRequest]) (*connect.Response[v17.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[v171.SetShardTabletControlRequest]) (*connect.Response[v171.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[v17.SetWritableRequest]) (*connect.Response[v17.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[v171.SetWritableRequest]) (*connect.Response[v171.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[v17.ShardReplicationAddRequest]) (*connect.Response[v17.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[v171.ShardReplicationAddRequest]) (*connect.Response[v171.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[v17.ShardReplicationFixRequest]) (*connect.Response[v17.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[v171.ShardReplicationFixRequest]) (*connect.Response[v171.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[v17.ShardReplicationPositionsRequest]) (*connect.Response[v17.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[v171.ShardReplicationPositionsRequest]) (*connect.Response[v171.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[v17.ShardReplicationRemoveRequest]) (*connect.Response[v17.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[v171.ShardReplicationRemoveRequest]) (*connect.Response[v171.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[v17.SleepTabletRequest]) (*connect.Response[v17.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[v171.SleepTabletRequest]) (*connect.Response[v171.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[v17.SourceShardAddRequest]) (*connect.Response[v17.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[v171.SourceShardAddRequest]) (*connect.Response[v171.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[v17.SourceShardDeleteRequest]) (*connect.Response[v17.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[v171.SourceShardDeleteRequest]) (*connect.Response[v171.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v17.TabletExternallyReparentedRequest]) (*connect.Response[v17.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v171.TabletExternallyReparentedRequest]) (*connect.Response[v171.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[v17.UpdateCellInfoRequest]) (*connect.Response[v17.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[v171.UpdateCellInfoRequest]) (*connect.Response[v171.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[v17.UpdateCellsAliasRequest]) (*connect.Response[v17.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[v171.UpdateCellsAliasRequest]) (*connect.Response[v171.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[v17.ValidateRequest]) (*connect.Response[v17.ValidateResponse], error) + Validate(context.Context, *connect.Request[v171.ValidateRequest]) (*connect.Response[v171.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[v17.ValidateKeyspaceRequest]) (*connect.Response[v17.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[v171.ValidateKeyspaceRequest]) (*connect.Response[v171.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[v17.ValidateSchemaKeyspaceRequest]) (*connect.Response[v17.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[v171.ValidateSchemaKeyspaceRequest]) (*connect.Response[v171.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[v17.ValidateShardRequest]) (*connect.Response[v17.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[v171.ValidateShardRequest]) (*connect.Response[v171.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[v17.ValidateVersionKeyspaceRequest]) (*connect.Response[v17.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[v171.ValidateVersionKeyspaceRequest]) (*connect.Response[v171.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[v17.ValidateVersionShardRequest]) (*connect.Response[v17.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[v171.ValidateVersionShardRequest]) (*connect.Response[v171.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[v17.ValidateVSchemaRequest]) (*connect.Response[v17.ValidateVSchemaResponse], error) + ValidateVSchema(context.Context, *connect.Request[v171.ValidateVSchemaRequest]) (*connect.Response[v171.ValidateVSchemaResponse], error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. - WorkflowUpdate(context.Context, *connect.Request[v17.WorkflowUpdateRequest]) (*connect.Response[v17.WorkflowUpdateResponse], error) + WorkflowUpdate(context.Context, *connect.Request[v171.WorkflowUpdateRequest]) (*connect.Response[v171.WorkflowUpdateResponse], error) } // NewVtctldHandler builds an HTTP handler from the service implementation. It returns the path on @@ -1820,427 +1999,512 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldAddCellInfoHandler := connect.NewUnaryHandler( VtctldAddCellInfoProcedure, svc.AddCellInfo, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldAddCellsAliasHandler := connect.NewUnaryHandler( VtctldAddCellsAliasProcedure, svc.AddCellsAlias, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyRoutingRulesProcedure, svc.ApplyRoutingRules, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplySchemaHandler := connect.NewUnaryHandler( VtctldApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyShardRoutingRulesProcedure, svc.ApplyShardRoutingRules, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyVSchemaHandler := connect.NewUnaryHandler( VtctldApplyVSchemaProcedure, svc.ApplyVSchema, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupHandler := connect.NewServerStreamHandler( VtctldBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupShardHandler := connect.NewServerStreamHandler( VtctldBackupShardProcedure, svc.BackupShard, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldChangeTabletTypeHandler := connect.NewUnaryHandler( VtctldChangeTabletTypeProcedure, svc.ChangeTabletType, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateKeyspaceHandler := connect.NewUnaryHandler( VtctldCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateShardHandler := connect.NewUnaryHandler( VtctldCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellInfoHandler := connect.NewUnaryHandler( VtctldDeleteCellInfoProcedure, svc.DeleteCellInfo, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellsAliasHandler := connect.NewUnaryHandler( VtctldDeleteCellsAliasProcedure, svc.DeleteCellsAlias, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteKeyspaceHandler := connect.NewUnaryHandler( VtctldDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteShardsHandler := connect.NewUnaryHandler( VtctldDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteSrvVSchemaHandler := connect.NewUnaryHandler( VtctldDeleteSrvVSchemaProcedure, svc.DeleteSrvVSchema, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteTabletsHandler := connect.NewUnaryHandler( VtctldDeleteTabletsProcedure, svc.DeleteTablets, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldEmergencyReparentShardHandler := connect.NewUnaryHandler( VtctldEmergencyReparentShardProcedure, svc.EmergencyReparentShard, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsAppHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsDBAHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsDBAProcedure, svc.ExecuteFetchAsDBA, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteHookHandler := connect.NewUnaryHandler( VtctldExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldFindAllShardsInKeyspaceHandler := connect.NewUnaryHandler( VtctldFindAllShardsInKeyspaceProcedure, svc.FindAllShardsInKeyspace, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetBackupsHandler := connect.NewUnaryHandler( VtctldGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoHandler := connect.NewUnaryHandler( VtctldGetCellInfoProcedure, svc.GetCellInfo, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoNamesHandler := connect.NewUnaryHandler( VtctldGetCellInfoNamesProcedure, svc.GetCellInfoNames, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellsAliasesHandler := connect.NewUnaryHandler( VtctldGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetFullStatusHandler := connect.NewUnaryHandler( VtctldGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspaceHandler := connect.NewUnaryHandler( VtctldGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspacesHandler := connect.NewUnaryHandler( VtctldGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetPermissionsHandler := connect.NewUnaryHandler( VtctldGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetRoutingRulesProcedure, svc.GetRoutingRules, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSchemaHandler := connect.NewUnaryHandler( VtctldGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardHandler := connect.NewUnaryHandler( VtctldGetShardProcedure, svc.GetShard, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetShardRoutingRulesProcedure, svc.GetShardRoutingRules, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspaceNamesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspaceNamesProcedure, svc.GetSrvKeyspaceNames, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspacesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspacesProcedure, svc.GetSrvKeyspaces, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateThrottlerConfigHandler := connect.NewUnaryHandler( VtctldUpdateThrottlerConfigProcedure, svc.UpdateThrottlerConfig, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemaHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemasHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletHandler := connect.NewUnaryHandler( VtctldGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletsHandler := connect.NewUnaryHandler( VtctldGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTopologyPathHandler := connect.NewUnaryHandler( VtctldGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVersionHandler := connect.NewUnaryHandler( VtctldGetVersionProcedure, svc.GetVersion, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVSchemaHandler := connect.NewUnaryHandler( VtctldGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetWorkflowsHandler := connect.NewUnaryHandler( VtctldGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldInitShardPrimaryHandler := connect.NewUnaryHandler( VtctldInitShardPrimaryProcedure, svc.InitShardPrimary, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPingTabletHandler := connect.NewUnaryHandler( VtctldPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPlannedReparentShardHandler := connect.NewUnaryHandler( VtctldPlannedReparentShardProcedure, svc.PlannedReparentShard, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VtctldRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildVSchemaGraphHandler := connect.NewUnaryHandler( VtctldRebuildVSchemaGraphProcedure, svc.RebuildVSchemaGraph, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateHandler := connect.NewUnaryHandler( VtctldRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateByShardHandler := connect.NewUnaryHandler( VtctldRefreshStateByShardProcedure, svc.RefreshStateByShard, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaHandler := connect.NewUnaryHandler( VtctldReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldReloadSchemaKeyspaceProcedure, svc.ReloadSchemaKeyspace, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaShardHandler := connect.NewUnaryHandler( VtctldReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveBackupHandler := connect.NewUnaryHandler( VtctldRemoveBackupProcedure, svc.RemoveBackup, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VtctldRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveShardCellHandler := connect.NewUnaryHandler( VtctldRemoveShardCellProcedure, svc.RemoveShardCell, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReparentTabletHandler := connect.NewUnaryHandler( VtctldReparentTabletProcedure, svc.ReparentTablet, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRestoreFromBackupHandler := connect.NewServerStreamHandler( VtctldRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRunHealthCheckHandler := connect.NewUnaryHandler( VtctldRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetKeyspaceDurabilityPolicyHandler := connect.NewUnaryHandler( VtctldSetKeyspaceDurabilityPolicyProcedure, svc.SetKeyspaceDurabilityPolicy, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardIsPrimaryServingHandler := connect.NewUnaryHandler( VtctldSetShardIsPrimaryServingProcedure, svc.SetShardIsPrimaryServing, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardTabletControlHandler := connect.NewUnaryHandler( VtctldSetShardTabletControlProcedure, svc.SetShardTabletControl, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetWritableHandler := connect.NewUnaryHandler( VtctldSetWritableProcedure, svc.SetWritable, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationAddHandler := connect.NewUnaryHandler( VtctldShardReplicationAddProcedure, svc.ShardReplicationAdd, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationFixHandler := connect.NewUnaryHandler( VtctldShardReplicationFixProcedure, svc.ShardReplicationFix, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationPositionsHandler := connect.NewUnaryHandler( VtctldShardReplicationPositionsProcedure, svc.ShardReplicationPositions, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationRemoveHandler := connect.NewUnaryHandler( VtctldShardReplicationRemoveProcedure, svc.ShardReplicationRemove, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSleepTabletHandler := connect.NewUnaryHandler( VtctldSleepTabletProcedure, svc.SleepTablet, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardAddHandler := connect.NewUnaryHandler( VtctldSourceShardAddProcedure, svc.SourceShardAdd, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardDeleteHandler := connect.NewUnaryHandler( VtctldSourceShardDeleteProcedure, svc.SourceShardDelete, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStartReplicationHandler := connect.NewUnaryHandler( VtctldStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStopReplicationHandler := connect.NewUnaryHandler( VtctldStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldTabletExternallyReparentedHandler := connect.NewUnaryHandler( VtctldTabletExternallyReparentedProcedure, svc.TabletExternallyReparented, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellInfoHandler := connect.NewUnaryHandler( VtctldUpdateCellInfoProcedure, svc.UpdateCellInfo, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellsAliasHandler := connect.NewUnaryHandler( VtctldUpdateCellsAliasProcedure, svc.UpdateCellsAlias, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateHandler := connect.NewUnaryHandler( VtctldValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateShardHandler := connect.NewUnaryHandler( VtctldValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionShardHandler := connect.NewUnaryHandler( VtctldValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVSchemaHandler := connect.NewUnaryHandler( VtctldValidateVSchemaProcedure, svc.ValidateVSchema, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowUpdateHandler := connect.NewUnaryHandler( VtctldWorkflowUpdateProcedure, svc.WorkflowUpdate, - opts..., + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctld/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -2423,342 +2687,342 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, // UnimplementedVtctldHandler returns CodeUnimplemented from all methods. type UnimplementedVtctldHandler struct{} -func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[v17.AddCellInfoRequest]) (*connect.Response[v17.AddCellInfoResponse], error) { +func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[v171.AddCellInfoRequest]) (*connect.Response[v171.AddCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[v17.AddCellsAliasRequest]) (*connect.Response[v17.AddCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[v171.AddCellsAliasRequest]) (*connect.Response[v171.AddCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[v17.ApplyRoutingRulesRequest]) (*connect.Response[v17.ApplyRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[v171.ApplyRoutingRulesRequest]) (*connect.Response[v171.ApplyRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[v17.ApplySchemaRequest]) (*connect.Response[v17.ApplySchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[v171.ApplySchemaRequest]) (*connect.Response[v171.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplySchema is not implemented")) } -func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[v17.ApplyShardRoutingRulesRequest]) (*connect.Response[v17.ApplyShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[v171.ApplyShardRoutingRulesRequest]) (*connect.Response[v171.ApplyShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[v17.ApplyVSchemaRequest]) (*connect.Response[v17.ApplyVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[v171.ApplyVSchemaRequest]) (*connect.Response[v171.ApplyVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyVSchema is not implemented")) } -func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[v17.BackupRequest], *connect.ServerStream[v17.BackupResponse]) error { +func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[v171.BackupRequest], *connect.ServerStream[v171.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Backup is not implemented")) } -func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[v17.BackupShardRequest], *connect.ServerStream[v17.BackupResponse]) error { +func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[v171.BackupShardRequest], *connect.ServerStream[v171.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.BackupShard is not implemented")) } -func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[v17.ChangeTabletTypeRequest]) (*connect.Response[v17.ChangeTabletTypeResponse], error) { +func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[v171.ChangeTabletTypeRequest]) (*connect.Response[v171.ChangeTabletTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ChangeTabletType is not implemented")) } -func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[v17.CreateKeyspaceRequest]) (*connect.Response[v17.CreateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[v171.CreateKeyspaceRequest]) (*connect.Response[v171.CreateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[v17.CreateShardRequest]) (*connect.Response[v17.CreateShardResponse], error) { +func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[v171.CreateShardRequest]) (*connect.Response[v171.CreateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateShard is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[v17.DeleteCellInfoRequest]) (*connect.Response[v17.DeleteCellInfoResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[v171.DeleteCellInfoRequest]) (*connect.Response[v171.DeleteCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[v17.DeleteCellsAliasRequest]) (*connect.Response[v17.DeleteCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[v171.DeleteCellsAliasRequest]) (*connect.Response[v171.DeleteCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[v17.DeleteKeyspaceRequest]) (*connect.Response[v17.DeleteKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[v171.DeleteKeyspaceRequest]) (*connect.Response[v171.DeleteKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[v17.DeleteShardsRequest]) (*connect.Response[v17.DeleteShardsResponse], error) { +func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[v171.DeleteShardsRequest]) (*connect.Response[v171.DeleteShardsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteShards is not implemented")) } -func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[v17.DeleteSrvVSchemaRequest]) (*connect.Response[v17.DeleteSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[v171.DeleteSrvVSchemaRequest]) (*connect.Response[v171.DeleteSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[v17.DeleteTabletsRequest]) (*connect.Response[v17.DeleteTabletsResponse], error) { +func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[v171.DeleteTabletsRequest]) (*connect.Response[v171.DeleteTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteTablets is not implemented")) } -func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[v17.EmergencyReparentShardRequest]) (*connect.Response[v17.EmergencyReparentShardResponse], error) { +func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[v171.EmergencyReparentShardRequest]) (*connect.Response[v171.EmergencyReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.EmergencyReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v17.ExecuteFetchAsAppRequest]) (*connect.Response[v17.ExecuteFetchAsAppResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v171.ExecuteFetchAsAppRequest]) (*connect.Response[v171.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[v17.ExecuteFetchAsDBARequest]) (*connect.Response[v17.ExecuteFetchAsDBAResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[v171.ExecuteFetchAsDBARequest]) (*connect.Response[v171.ExecuteFetchAsDBAResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsDBA is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[v17.ExecuteHookRequest]) (*connect.Response[v17.ExecuteHookResponse], error) { +func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[v171.ExecuteHookRequest]) (*connect.Response[v171.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteHook is not implemented")) } -func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[v17.FindAllShardsInKeyspaceRequest]) (*connect.Response[v17.FindAllShardsInKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[v171.FindAllShardsInKeyspaceRequest]) (*connect.Response[v171.FindAllShardsInKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.FindAllShardsInKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[v17.GetBackupsRequest]) (*connect.Response[v17.GetBackupsResponse], error) { +func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[v171.GetBackupsRequest]) (*connect.Response[v171.GetBackupsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetBackups is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[v17.GetCellInfoRequest]) (*connect.Response[v17.GetCellInfoResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[v171.GetCellInfoRequest]) (*connect.Response[v171.GetCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[v17.GetCellInfoNamesRequest]) (*connect.Response[v17.GetCellInfoNamesResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[v171.GetCellInfoNamesRequest]) (*connect.Response[v171.GetCellInfoNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfoNames is not implemented")) } -func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[v17.GetCellsAliasesRequest]) (*connect.Response[v17.GetCellsAliasesResponse], error) { +func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[v171.GetCellsAliasesRequest]) (*connect.Response[v171.GetCellsAliasesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellsAliases is not implemented")) } -func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[v17.GetFullStatusRequest]) (*connect.Response[v17.GetFullStatusResponse], error) { +func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[v171.GetFullStatusRequest]) (*connect.Response[v171.GetFullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetFullStatus is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[v17.GetKeyspaceRequest]) (*connect.Response[v17.GetKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[v171.GetKeyspaceRequest]) (*connect.Response[v171.GetKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[v17.GetKeyspacesRequest]) (*connect.Response[v17.GetKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[v171.GetKeyspacesRequest]) (*connect.Response[v171.GetKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[v17.GetPermissionsRequest]) (*connect.Response[v17.GetPermissionsResponse], error) { +func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[v171.GetPermissionsRequest]) (*connect.Response[v171.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetPermissions is not implemented")) } -func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[v17.GetRoutingRulesRequest]) (*connect.Response[v17.GetRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[v171.GetRoutingRulesRequest]) (*connect.Response[v171.GetRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[v17.GetSchemaRequest]) (*connect.Response[v17.GetSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[v171.GetSchemaRequest]) (*connect.Response[v171.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[v17.GetShardRequest]) (*connect.Response[v17.GetShardResponse], error) { +func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[v171.GetShardRequest]) (*connect.Response[v171.GetShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShard is not implemented")) } -func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[v17.GetShardRoutingRulesRequest]) (*connect.Response[v17.GetShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[v171.GetShardRoutingRulesRequest]) (*connect.Response[v171.GetShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[v17.GetSrvKeyspaceNamesRequest]) (*connect.Response[v17.GetSrvKeyspaceNamesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[v171.GetSrvKeyspaceNamesRequest]) (*connect.Response[v171.GetSrvKeyspaceNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaceNames is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[v17.GetSrvKeyspacesRequest]) (*connect.Response[v17.GetSrvKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[v171.GetSrvKeyspacesRequest]) (*connect.Response[v171.GetSrvKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[v17.UpdateThrottlerConfigRequest]) (*connect.Response[v17.UpdateThrottlerConfigResponse], error) { +func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[v171.UpdateThrottlerConfigRequest]) (*connect.Response[v171.UpdateThrottlerConfigResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateThrottlerConfig is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[v17.GetSrvVSchemaRequest]) (*connect.Response[v17.GetSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[v171.GetSrvVSchemaRequest]) (*connect.Response[v171.GetSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[v17.GetSrvVSchemasRequest]) (*connect.Response[v17.GetSrvVSchemasResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[v171.GetSrvVSchemasRequest]) (*connect.Response[v171.GetSrvVSchemasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchemas is not implemented")) } -func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[v17.GetTabletRequest]) (*connect.Response[v17.GetTabletResponse], error) { +func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[v171.GetTabletRequest]) (*connect.Response[v171.GetTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablet is not implemented")) } -func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[v17.GetTabletsRequest]) (*connect.Response[v17.GetTabletsResponse], error) { +func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[v171.GetTabletsRequest]) (*connect.Response[v171.GetTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablets is not implemented")) } -func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[v17.GetTopologyPathRequest]) (*connect.Response[v17.GetTopologyPathResponse], error) { +func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[v171.GetTopologyPathRequest]) (*connect.Response[v171.GetTopologyPathResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTopologyPath is not implemented")) } -func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[v17.GetVersionRequest]) (*connect.Response[v17.GetVersionResponse], error) { +func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[v171.GetVersionRequest]) (*connect.Response[v171.GetVersionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVersion is not implemented")) } -func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[v17.GetVSchemaRequest]) (*connect.Response[v17.GetVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[v171.GetVSchemaRequest]) (*connect.Response[v171.GetVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[v17.GetWorkflowsRequest]) (*connect.Response[v17.GetWorkflowsResponse], error) { +func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[v171.GetWorkflowsRequest]) (*connect.Response[v171.GetWorkflowsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetWorkflows is not implemented")) } -func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[v17.InitShardPrimaryRequest]) (*connect.Response[v17.InitShardPrimaryResponse], error) { +func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[v171.InitShardPrimaryRequest]) (*connect.Response[v171.InitShardPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.InitShardPrimary is not implemented")) } -func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[v17.PingTabletRequest]) (*connect.Response[v17.PingTabletResponse], error) { +func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[v171.PingTabletRequest]) (*connect.Response[v171.PingTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PingTablet is not implemented")) } -func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[v17.PlannedReparentShardRequest]) (*connect.Response[v17.PlannedReparentShardResponse], error) { +func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[v171.PlannedReparentShardRequest]) (*connect.Response[v171.PlannedReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PlannedReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v17.RebuildKeyspaceGraphRequest]) (*connect.Response[v17.RebuildKeyspaceGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v171.RebuildKeyspaceGraphRequest]) (*connect.Response[v171.RebuildKeyspaceGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildKeyspaceGraph is not implemented")) } -func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[v17.RebuildVSchemaGraphRequest]) (*connect.Response[v17.RebuildVSchemaGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[v171.RebuildVSchemaGraphRequest]) (*connect.Response[v171.RebuildVSchemaGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildVSchemaGraph is not implemented")) } -func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[v17.RefreshStateRequest]) (*connect.Response[v17.RefreshStateResponse], error) { +func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[v171.RefreshStateRequest]) (*connect.Response[v171.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshState is not implemented")) } -func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[v17.RefreshStateByShardRequest]) (*connect.Response[v17.RefreshStateByShardResponse], error) { +func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[v171.RefreshStateByShardRequest]) (*connect.Response[v171.RefreshStateByShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshStateByShard is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[v17.ReloadSchemaRequest]) (*connect.Response[v17.ReloadSchemaResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[v171.ReloadSchemaRequest]) (*connect.Response[v171.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchema is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[v17.ReloadSchemaKeyspaceRequest]) (*connect.Response[v17.ReloadSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[v171.ReloadSchemaKeyspaceRequest]) (*connect.Response[v171.ReloadSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[v17.ReloadSchemaShardRequest]) (*connect.Response[v17.ReloadSchemaShardResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[v171.ReloadSchemaShardRequest]) (*connect.Response[v171.ReloadSchemaShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaShard is not implemented")) } -func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[v17.RemoveBackupRequest]) (*connect.Response[v17.RemoveBackupResponse], error) { +func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[v171.RemoveBackupRequest]) (*connect.Response[v171.RemoveBackupResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveBackup is not implemented")) } -func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v17.RemoveKeyspaceCellRequest]) (*connect.Response[v17.RemoveKeyspaceCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v171.RemoveKeyspaceCellRequest]) (*connect.Response[v171.RemoveKeyspaceCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveKeyspaceCell is not implemented")) } -func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[v17.RemoveShardCellRequest]) (*connect.Response[v17.RemoveShardCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[v171.RemoveShardCellRequest]) (*connect.Response[v171.RemoveShardCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveShardCell is not implemented")) } -func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[v17.ReparentTabletRequest]) (*connect.Response[v17.ReparentTabletResponse], error) { +func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[v171.ReparentTabletRequest]) (*connect.Response[v171.ReparentTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReparentTablet is not implemented")) } -func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[v17.RestoreFromBackupRequest], *connect.ServerStream[v17.RestoreFromBackupResponse]) error { +func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[v171.RestoreFromBackupRequest], *connect.ServerStream[v171.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RestoreFromBackup is not implemented")) } -func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[v17.RunHealthCheckRequest]) (*connect.Response[v17.RunHealthCheckResponse], error) { +func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[v171.RunHealthCheckRequest]) (*connect.Response[v171.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RunHealthCheck is not implemented")) } -func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v17.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v17.SetKeyspaceDurabilityPolicyResponse], error) { +func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v171.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v171.SetKeyspaceDurabilityPolicyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy is not implemented")) } -func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[v17.SetShardIsPrimaryServingRequest]) (*connect.Response[v17.SetShardIsPrimaryServingResponse], error) { +func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[v171.SetShardIsPrimaryServingRequest]) (*connect.Response[v171.SetShardIsPrimaryServingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardIsPrimaryServing is not implemented")) } -func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[v17.SetShardTabletControlRequest]) (*connect.Response[v17.SetShardTabletControlResponse], error) { +func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[v171.SetShardTabletControlRequest]) (*connect.Response[v171.SetShardTabletControlResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardTabletControl is not implemented")) } -func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[v17.SetWritableRequest]) (*connect.Response[v17.SetWritableResponse], error) { +func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[v171.SetWritableRequest]) (*connect.Response[v171.SetWritableResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetWritable is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[v17.ShardReplicationAddRequest]) (*connect.Response[v17.ShardReplicationAddResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[v171.ShardReplicationAddRequest]) (*connect.Response[v171.ShardReplicationAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationAdd is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[v17.ShardReplicationFixRequest]) (*connect.Response[v17.ShardReplicationFixResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[v171.ShardReplicationFixRequest]) (*connect.Response[v171.ShardReplicationFixResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationFix is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[v17.ShardReplicationPositionsRequest]) (*connect.Response[v17.ShardReplicationPositionsResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[v171.ShardReplicationPositionsRequest]) (*connect.Response[v171.ShardReplicationPositionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationPositions is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[v17.ShardReplicationRemoveRequest]) (*connect.Response[v17.ShardReplicationRemoveResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[v171.ShardReplicationRemoveRequest]) (*connect.Response[v171.ShardReplicationRemoveResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationRemove is not implemented")) } -func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[v17.SleepTabletRequest]) (*connect.Response[v17.SleepTabletResponse], error) { +func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[v171.SleepTabletRequest]) (*connect.Response[v171.SleepTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SleepTablet is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[v17.SourceShardAddRequest]) (*connect.Response[v17.SourceShardAddResponse], error) { +func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[v171.SourceShardAddRequest]) (*connect.Response[v171.SourceShardAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardAdd is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[v17.SourceShardDeleteRequest]) (*connect.Response[v17.SourceShardDeleteResponse], error) { +func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[v171.SourceShardDeleteRequest]) (*connect.Response[v171.SourceShardDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardDelete is not implemented")) } -func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[v17.StartReplicationRequest]) (*connect.Response[v17.StartReplicationResponse], error) { +func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[v171.StartReplicationRequest]) (*connect.Response[v171.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StartReplication is not implemented")) } -func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[v17.StopReplicationRequest]) (*connect.Response[v17.StopReplicationResponse], error) { +func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[v171.StopReplicationRequest]) (*connect.Response[v171.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StopReplication is not implemented")) } -func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[v17.TabletExternallyReparentedRequest]) (*connect.Response[v17.TabletExternallyReparentedResponse], error) { +func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[v171.TabletExternallyReparentedRequest]) (*connect.Response[v171.TabletExternallyReparentedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.TabletExternallyReparented is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[v17.UpdateCellInfoRequest]) (*connect.Response[v17.UpdateCellInfoResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[v171.UpdateCellInfoRequest]) (*connect.Response[v171.UpdateCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[v17.UpdateCellsAliasRequest]) (*connect.Response[v17.UpdateCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[v171.UpdateCellsAliasRequest]) (*connect.Response[v171.UpdateCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[v17.ValidateRequest]) (*connect.Response[v17.ValidateResponse], error) { +func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[v171.ValidateRequest]) (*connect.Response[v171.ValidateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Validate is not implemented")) } -func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[v17.ValidateKeyspaceRequest]) (*connect.Response[v17.ValidateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[v171.ValidateKeyspaceRequest]) (*connect.Response[v171.ValidateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v17.ValidateSchemaKeyspaceRequest]) (*connect.Response[v17.ValidateSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v171.ValidateSchemaKeyspaceRequest]) (*connect.Response[v171.ValidateSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[v17.ValidateShardRequest]) (*connect.Response[v17.ValidateShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[v171.ValidateShardRequest]) (*connect.Response[v171.ValidateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v17.ValidateVersionKeyspaceRequest]) (*connect.Response[v17.ValidateVersionKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v171.ValidateVersionKeyspaceRequest]) (*connect.Response[v171.ValidateVersionKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[v17.ValidateVersionShardRequest]) (*connect.Response[v17.ValidateVersionShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[v171.ValidateVersionShardRequest]) (*connect.Response[v171.ValidateVersionShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[v17.ValidateVSchemaRequest]) (*connect.Response[v17.ValidateVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[v171.ValidateVSchemaRequest]) (*connect.Response[v171.ValidateVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVSchema is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowUpdate(context.Context, *connect.Request[v17.WorkflowUpdateRequest]) (*connect.Response[v17.WorkflowUpdateResponse], error) { +func (UnimplementedVtctldHandler) WorkflowUpdate(context.Context, *connect.Request[v171.WorkflowUpdateRequest]) (*connect.Response[v171.WorkflowUpdateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowUpdate is not implemented")) } diff --git a/gen/vitess/vtctlservice/v18/vtctlservice.pb.go b/gen/vitess/vtctlservice/v18/vtctlservice.pb.go index c9fbc0f..a06f78b 100644 --- a/gen/vitess/vtctlservice/v18/vtctlservice.pb.go +++ b/gen/vitess/vtctlservice/v18/vtctlservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtctlservice/v18/vtctlservice.proto @@ -858,7 +858,7 @@ var file_vitess_vtctlservice_v18_vtctlservice_proto_rawDesc = []byte{ 0x65, 0x76, 0x31, 0x38, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_vtctlservice_v18_vtctlservice_proto_goTypes = []interface{}{ +var file_vitess_vtctlservice_v18_vtctlservice_proto_goTypes = []any{ (*v18.ExecuteVtctlCommandRequest)(nil), // 0: vitess.vtctldata.v18.ExecuteVtctlCommandRequest (*v18.AddCellInfoRequest)(nil), // 1: vitess.vtctldata.v18.AddCellInfoRequest (*v18.AddCellsAliasRequest)(nil), // 2: vitess.vtctldata.v18.AddCellsAliasRequest diff --git a/gen/vitess/vtctlservice/v18/vtctlservicev18connect/vtctlservice.connect.go b/gen/vitess/vtctlservice/v18/vtctlservicev18connect/vtctlservice.connect.go index d4b274e..5466b4b 100644 --- a/gen/vitess/vtctlservice/v18/vtctlservicev18connect/vtctlservice.connect.go +++ b/gen/vitess/vtctlservice/v18/vtctlservicev18connect/vtctlservice.connect.go @@ -25,8 +25,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v18 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v18" - _ "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v18" + v181 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v18" + v18 "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v18" http "net/http" strings "strings" ) @@ -36,7 +36,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VtctlName is the fully-qualified name of the Vtctl service. @@ -318,9 +318,126 @@ const ( VtctldWorkflowUpdateProcedure = "/vtctlservice.Vtctld/WorkflowUpdate" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vtctlServiceDescriptor = v18.File_vitess_vtctlservice_v18_vtctlservice_proto.Services().ByName("Vtctl") + vtctlExecuteVtctlCommandMethodDescriptor = vtctlServiceDescriptor.Methods().ByName("ExecuteVtctlCommand") + vtctldServiceDescriptor = v18.File_vitess_vtctlservice_v18_vtctlservice_proto.Services().ByName("Vtctld") + vtctldAddCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellInfo") + vtctldAddCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellsAlias") + vtctldApplyRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyRoutingRules") + vtctldApplySchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplySchema") + vtctldApplyShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyShardRoutingRules") + vtctldApplyVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyVSchema") + vtctldBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Backup") + vtctldBackupShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("BackupShard") + vtctldCancelSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CancelSchemaMigration") + vtctldChangeTabletTypeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ChangeTabletType") + vtctldCleanupSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CleanupSchemaMigration") + vtctldCompleteSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CompleteSchemaMigration") + vtctldCreateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateKeyspace") + vtctldCreateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateShard") + vtctldDeleteCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellInfo") + vtctldDeleteCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellsAlias") + vtctldDeleteKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteKeyspace") + vtctldDeleteShardsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteShards") + vtctldDeleteSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteSrvVSchema") + vtctldDeleteTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteTablets") + vtctldEmergencyReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("EmergencyReparentShard") + vtctldExecuteFetchAsAppMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + vtctldExecuteFetchAsDBAMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsDBA") + vtctldExecuteHookMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteHook") + vtctldFindAllShardsInKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("FindAllShardsInKeyspace") + vtctldGetBackupsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetBackups") + vtctldGetCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfo") + vtctldGetCellInfoNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfoNames") + vtctldGetCellsAliasesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellsAliases") + vtctldGetFullStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetFullStatus") + vtctldGetKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspace") + vtctldGetKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspaces") + vtctldGetPermissionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetPermissions") + vtctldGetRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetRoutingRules") + vtctldGetSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchema") + vtctldGetSchemaMigrationsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchemaMigrations") + vtctldGetShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShard") + vtctldGetShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShardRoutingRules") + vtctldGetSrvKeyspaceNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaceNames") + vtctldGetSrvKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vtctldUpdateThrottlerConfigMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateThrottlerConfig") + vtctldGetSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchema") + vtctldGetSrvVSchemasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vtctldGetTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablet") + vtctldGetTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablets") + vtctldGetTopologyPathMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTopologyPath") + vtctldGetVersionMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVersion") + vtctldGetVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVSchema") + vtctldGetWorkflowsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetWorkflows") + vtctldInitShardPrimaryMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("InitShardPrimary") + vtctldLaunchSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LaunchSchemaMigration") + vtctldLookupVindexCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LookupVindexCreate") + vtctldLookupVindexExternalizeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LookupVindexExternalize") + vtctldMaterializeCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MaterializeCreate") + vtctldMigrateCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MigrateCreate") + vtctldMountRegisterMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountRegister") + vtctldMountUnregisterMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountUnregister") + vtctldMountShowMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountShow") + vtctldMountListMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountList") + vtctldMoveTablesCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MoveTablesCreate") + vtctldMoveTablesCompleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MoveTablesComplete") + vtctldPingTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PingTablet") + vtctldPlannedReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PlannedReparentShard") + vtctldRebuildKeyspaceGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vtctldRebuildVSchemaGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildVSchemaGraph") + vtctldRefreshStateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshState") + vtctldRefreshStateByShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshStateByShard") + vtctldReloadSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchema") + vtctldReloadSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaKeyspace") + vtctldReloadSchemaShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vtctldRemoveBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveBackup") + vtctldRemoveKeyspaceCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vtctldRemoveShardCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveShardCell") + vtctldReparentTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReparentTablet") + vtctldReshardCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReshardCreate") + vtctldRestoreFromBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RestoreFromBackup") + vtctldRetrySchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RetrySchemaMigration") + vtctldRunHealthCheckMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RunHealthCheck") + vtctldSetKeyspaceDurabilityPolicyMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetKeyspaceDurabilityPolicy") + vtctldSetShardIsPrimaryServingMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardIsPrimaryServing") + vtctldSetShardTabletControlMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardTabletControl") + vtctldSetWritableMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetWritable") + vtctldShardReplicationAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationAdd") + vtctldShardReplicationFixMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationFix") + vtctldShardReplicationPositionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationPositions") + vtctldShardReplicationRemoveMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationRemove") + vtctldSleepTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SleepTablet") + vtctldSourceShardAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardAdd") + vtctldSourceShardDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardDelete") + vtctldStartReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StartReplication") + vtctldStopReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StopReplication") + vtctldTabletExternallyReparentedMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("TabletExternallyReparented") + vtctldUpdateCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellInfo") + vtctldUpdateCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellsAlias") + vtctldValidateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Validate") + vtctldValidateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateKeyspace") + vtctldValidateSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vtctldValidateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateShard") + vtctldValidateVersionKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vtctldValidateVersionShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionShard") + vtctldValidateVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVSchema") + vtctldVDiffCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffCreate") + vtctldVDiffDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffDelete") + vtctldVDiffResumeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffResume") + vtctldVDiffShowMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffShow") + vtctldVDiffStopMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffStop") + vtctldWorkflowDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowDelete") + vtctldWorkflowStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowStatus") + vtctldWorkflowSwitchTrafficMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowSwitchTraffic") + vtctldWorkflowUpdateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowUpdate") +) + // VtctlClient is a client for the vtctlservice.Vtctl service. type VtctlClient interface { - ExecuteVtctlCommand(context.Context, *connect.Request[v18.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v18.ExecuteVtctlCommandResponse], error) + ExecuteVtctlCommand(context.Context, *connect.Request[v181.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v181.ExecuteVtctlCommandResponse], error) } // NewVtctlClient constructs a client for the vtctlservice.Vtctl service. By default, it @@ -333,27 +450,28 @@ type VtctlClient interface { func NewVtctlClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctlClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctlClient{ - executeVtctlCommand: connect.NewClient[v18.ExecuteVtctlCommandRequest, v18.ExecuteVtctlCommandResponse]( + executeVtctlCommand: connect.NewClient[v181.ExecuteVtctlCommandRequest, v181.ExecuteVtctlCommandResponse]( httpClient, baseURL+VtctlExecuteVtctlCommandProcedure, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctlClient implements VtctlClient. type vtctlClient struct { - executeVtctlCommand *connect.Client[v18.ExecuteVtctlCommandRequest, v18.ExecuteVtctlCommandResponse] + executeVtctlCommand *connect.Client[v181.ExecuteVtctlCommandRequest, v181.ExecuteVtctlCommandResponse] } // ExecuteVtctlCommand calls vtctlservice.Vtctl.ExecuteVtctlCommand. -func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[v18.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v18.ExecuteVtctlCommandResponse], error) { +func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[v181.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v181.ExecuteVtctlCommandResponse], error) { return c.executeVtctlCommand.CallServerStream(ctx, req) } // VtctlHandler is an implementation of the vtctlservice.Vtctl service. type VtctlHandler interface { - ExecuteVtctlCommand(context.Context, *connect.Request[v18.ExecuteVtctlCommandRequest], *connect.ServerStream[v18.ExecuteVtctlCommandResponse]) error + ExecuteVtctlCommand(context.Context, *connect.Request[v181.ExecuteVtctlCommandRequest], *connect.ServerStream[v181.ExecuteVtctlCommandResponse]) error } // NewVtctlHandler builds an HTTP handler from the service implementation. It returns the path on @@ -365,7 +483,8 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h vtctlExecuteVtctlCommandHandler := connect.NewServerStreamHandler( VtctlExecuteVtctlCommandProcedure, svc.ExecuteVtctlCommand, - opts..., + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -380,7 +499,7 @@ func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, h // UnimplementedVtctlHandler returns CodeUnimplemented from all methods. type UnimplementedVtctlHandler struct{} -func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[v18.ExecuteVtctlCommandRequest], *connect.ServerStream[v18.ExecuteVtctlCommandResponse]) error { +func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[v181.ExecuteVtctlCommandRequest], *connect.ServerStream[v181.ExecuteVtctlCommandResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctl.ExecuteVtctlCommand is not implemented")) } @@ -388,168 +507,168 @@ func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.R type VtctldClient interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[v18.AddCellInfoRequest]) (*connect.Response[v18.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[v181.AddCellInfoRequest]) (*connect.Response[v181.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[v18.AddCellsAliasRequest]) (*connect.Response[v18.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[v181.AddCellsAliasRequest]) (*connect.Response[v181.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[v18.ApplyRoutingRulesRequest]) (*connect.Response[v18.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[v181.ApplyRoutingRulesRequest]) (*connect.Response[v181.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[v18.ApplyShardRoutingRulesRequest]) (*connect.Response[v18.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[v181.ApplyShardRoutingRulesRequest]) (*connect.Response[v181.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[v18.ApplyVSchemaRequest]) (*connect.Response[v18.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[v181.ApplyVSchemaRequest]) (*connect.Response[v181.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[v18.BackupRequest]) (*connect.ServerStreamForClient[v18.BackupResponse], error) + Backup(context.Context, *connect.Request[v181.BackupRequest]) (*connect.ServerStreamForClient[v181.BackupResponse], error) // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[v18.BackupShardRequest]) (*connect.ServerStreamForClient[v18.BackupResponse], error) + BackupShard(context.Context, *connect.Request[v181.BackupShardRequest]) (*connect.ServerStreamForClient[v181.BackupResponse], error) // CancelSchemaMigration cancels one or all migrations, terminating any runnign ones as needed. - CancelSchemaMigration(context.Context, *connect.Request[v18.CancelSchemaMigrationRequest]) (*connect.Response[v18.CancelSchemaMigrationResponse], error) + CancelSchemaMigration(context.Context, *connect.Request[v181.CancelSchemaMigrationRequest]) (*connect.Response[v181.CancelSchemaMigrationResponse], error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[v18.ChangeTabletTypeRequest]) (*connect.Response[v18.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[v181.ChangeTabletTypeRequest]) (*connect.Response[v181.ChangeTabletTypeResponse], error) // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. - CleanupSchemaMigration(context.Context, *connect.Request[v18.CleanupSchemaMigrationRequest]) (*connect.Response[v18.CleanupSchemaMigrationResponse], error) + CleanupSchemaMigration(context.Context, *connect.Request[v181.CleanupSchemaMigrationRequest]) (*connect.Response[v181.CleanupSchemaMigrationResponse], error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. - CompleteSchemaMigration(context.Context, *connect.Request[v18.CompleteSchemaMigrationRequest]) (*connect.Response[v18.CompleteSchemaMigrationResponse], error) + CompleteSchemaMigration(context.Context, *connect.Request[v181.CompleteSchemaMigrationRequest]) (*connect.Response[v181.CompleteSchemaMigrationResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[v18.CreateKeyspaceRequest]) (*connect.Response[v18.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[v181.CreateKeyspaceRequest]) (*connect.Response[v181.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[v18.CreateShardRequest]) (*connect.Response[v18.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[v181.CreateShardRequest]) (*connect.Response[v181.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[v18.DeleteCellInfoRequest]) (*connect.Response[v18.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[v181.DeleteCellInfoRequest]) (*connect.Response[v181.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[v18.DeleteCellsAliasRequest]) (*connect.Response[v18.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[v181.DeleteCellsAliasRequest]) (*connect.Response[v181.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[v18.DeleteKeyspaceRequest]) (*connect.Response[v18.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[v181.DeleteKeyspaceRequest]) (*connect.Response[v181.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[v18.DeleteShardsRequest]) (*connect.Response[v18.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[v181.DeleteShardsRequest]) (*connect.Response[v181.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[v18.DeleteSrvVSchemaRequest]) (*connect.Response[v18.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[v181.DeleteSrvVSchemaRequest]) (*connect.Response[v181.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[v18.DeleteTabletsRequest]) (*connect.Response[v18.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[v181.DeleteTabletsRequest]) (*connect.Response[v181.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[v18.EmergencyReparentShardRequest]) (*connect.Response[v18.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[v181.EmergencyReparentShardRequest]) (*connect.Response[v181.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[v18.ExecuteFetchAsDBARequest]) (*connect.Response[v18.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[v181.ExecuteFetchAsDBARequest]) (*connect.Response[v181.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[v18.FindAllShardsInKeyspaceRequest]) (*connect.Response[v18.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[v181.FindAllShardsInKeyspaceRequest]) (*connect.Response[v181.FindAllShardsInKeyspaceResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[v18.GetBackupsRequest]) (*connect.Response[v18.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[v181.GetBackupsRequest]) (*connect.Response[v181.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[v18.GetCellInfoRequest]) (*connect.Response[v18.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[v181.GetCellInfoRequest]) (*connect.Response[v181.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[v18.GetCellInfoNamesRequest]) (*connect.Response[v18.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[v181.GetCellInfoNamesRequest]) (*connect.Response[v181.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[v18.GetCellsAliasesRequest]) (*connect.Response[v18.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[v181.GetCellsAliasesRequest]) (*connect.Response[v181.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[v18.GetFullStatusRequest]) (*connect.Response[v18.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[v181.GetFullStatusRequest]) (*connect.Response[v181.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[v18.GetKeyspaceRequest]) (*connect.Response[v18.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[v181.GetKeyspaceRequest]) (*connect.Response[v181.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[v18.GetKeyspacesRequest]) (*connect.Response[v18.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[v181.GetKeyspacesRequest]) (*connect.Response[v181.GetKeyspacesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[v18.GetRoutingRulesRequest]) (*connect.Response[v18.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[v181.GetRoutingRulesRequest]) (*connect.Response[v181.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) // GetSchemaMigrations returns one or more online schema migrations for the // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. // // Different fields in the request message result in different filtering // behaviors. See the documentation on GetSchemaMigrationsRequest for details. - GetSchemaMigrations(context.Context, *connect.Request[v18.GetSchemaMigrationsRequest]) (*connect.Response[v18.GetSchemaMigrationsResponse], error) + GetSchemaMigrations(context.Context, *connect.Request[v181.GetSchemaMigrationsRequest]) (*connect.Response[v181.GetSchemaMigrationsResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[v18.GetShardRequest]) (*connect.Response[v18.GetShardResponse], error) + GetShard(context.Context, *connect.Request[v181.GetShardRequest]) (*connect.Response[v181.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[v18.GetShardRoutingRulesRequest]) (*connect.Response[v18.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[v181.GetShardRoutingRulesRequest]) (*connect.Response[v181.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[v18.GetSrvKeyspaceNamesRequest]) (*connect.Response[v18.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[v181.GetSrvKeyspaceNamesRequest]) (*connect.Response[v181.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[v18.GetSrvKeyspacesRequest]) (*connect.Response[v18.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[v181.GetSrvKeyspacesRequest]) (*connect.Response[v181.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[v18.UpdateThrottlerConfigRequest]) (*connect.Response[v18.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[v181.UpdateThrottlerConfigRequest]) (*connect.Response[v181.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[v18.GetSrvVSchemaRequest]) (*connect.Response[v18.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[v181.GetSrvVSchemaRequest]) (*connect.Response[v181.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[v18.GetSrvVSchemasRequest]) (*connect.Response[v18.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[v181.GetSrvVSchemasRequest]) (*connect.Response[v181.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[v18.GetTabletRequest]) (*connect.Response[v18.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[v181.GetTabletRequest]) (*connect.Response[v181.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[v18.GetTabletsRequest]) (*connect.Response[v18.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[v181.GetTabletsRequest]) (*connect.Response[v181.GetTabletsResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[v18.GetTopologyPathRequest]) (*connect.Response[v18.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[v181.GetTopologyPathRequest]) (*connect.Response[v181.GetTopologyPathResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[v18.GetVersionRequest]) (*connect.Response[v18.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[v181.GetVersionRequest]) (*connect.Response[v181.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[v18.GetVSchemaRequest]) (*connect.Response[v18.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[v181.GetVSchemaRequest]) (*connect.Response[v181.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[v18.GetWorkflowsRequest]) (*connect.Response[v18.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[v181.GetWorkflowsRequest]) (*connect.Response[v181.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[v18.InitShardPrimaryRequest]) (*connect.Response[v18.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[v181.InitShardPrimaryRequest]) (*connect.Response[v181.InitShardPrimaryResponse], error) // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. - LaunchSchemaMigration(context.Context, *connect.Request[v18.LaunchSchemaMigrationRequest]) (*connect.Response[v18.LaunchSchemaMigrationResponse], error) - LookupVindexCreate(context.Context, *connect.Request[v18.LookupVindexCreateRequest]) (*connect.Response[v18.LookupVindexCreateResponse], error) - LookupVindexExternalize(context.Context, *connect.Request[v18.LookupVindexExternalizeRequest]) (*connect.Response[v18.LookupVindexExternalizeResponse], error) + LaunchSchemaMigration(context.Context, *connect.Request[v181.LaunchSchemaMigrationRequest]) (*connect.Response[v181.LaunchSchemaMigrationResponse], error) + LookupVindexCreate(context.Context, *connect.Request[v181.LookupVindexCreateRequest]) (*connect.Response[v181.LookupVindexCreateResponse], error) + LookupVindexExternalize(context.Context, *connect.Request[v181.LookupVindexExternalizeRequest]) (*connect.Response[v181.LookupVindexExternalizeResponse], error) // MaterializeCreate creates a workflow to materialize one or more tables // from a source keyspace to a target keyspace using a provided expressions. - MaterializeCreate(context.Context, *connect.Request[v18.MaterializeCreateRequest]) (*connect.Response[v18.MaterializeCreateResponse], error) + MaterializeCreate(context.Context, *connect.Request[v181.MaterializeCreateRequest]) (*connect.Response[v181.MaterializeCreateResponse], error) // MigrateCreate creates a workflow which migrates one or more tables from an // external cluster into Vitess. - MigrateCreate(context.Context, *connect.Request[v18.MigrateCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) + MigrateCreate(context.Context, *connect.Request[v181.MigrateCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) // MountRegister registers a new external Vitess cluster. - MountRegister(context.Context, *connect.Request[v18.MountRegisterRequest]) (*connect.Response[v18.MountRegisterResponse], error) + MountRegister(context.Context, *connect.Request[v181.MountRegisterRequest]) (*connect.Response[v181.MountRegisterResponse], error) // MountUnregister unregisters an external Vitess cluster. - MountUnregister(context.Context, *connect.Request[v18.MountUnregisterRequest]) (*connect.Response[v18.MountUnregisterResponse], error) + MountUnregister(context.Context, *connect.Request[v181.MountUnregisterRequest]) (*connect.Response[v181.MountUnregisterResponse], error) // MountShow returns information about an external Vitess cluster. - MountShow(context.Context, *connect.Request[v18.MountShowRequest]) (*connect.Response[v18.MountShowResponse], error) + MountShow(context.Context, *connect.Request[v181.MountShowRequest]) (*connect.Response[v181.MountShowResponse], error) // MountList lists all registered external Vitess clusters. - MountList(context.Context, *connect.Request[v18.MountListRequest]) (*connect.Response[v18.MountListResponse], error) + MountList(context.Context, *connect.Request[v181.MountListRequest]) (*connect.Response[v181.MountListResponse], error) // MoveTablesCreate creates a workflow which moves one or more tables from a // source keyspace to a target keyspace. - MoveTablesCreate(context.Context, *connect.Request[v18.MoveTablesCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) + MoveTablesCreate(context.Context, *connect.Request[v181.MoveTablesCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) // MoveTablesComplete completes the move and cleans up the workflow and // its related artifacts. - MoveTablesComplete(context.Context, *connect.Request[v18.MoveTablesCompleteRequest]) (*connect.Response[v18.MoveTablesCompleteResponse], error) + MoveTablesComplete(context.Context, *connect.Request[v181.MoveTablesCompleteRequest]) (*connect.Response[v181.MoveTablesCompleteResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[v18.PingTabletRequest]) (*connect.Response[v18.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[v181.PingTabletRequest]) (*connect.Response[v181.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -557,148 +676,148 @@ type VtctldClient interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[v18.PlannedReparentShardRequest]) (*connect.Response[v18.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[v181.PlannedReparentShardRequest]) (*connect.Response[v181.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[v18.RebuildKeyspaceGraphRequest]) (*connect.Response[v18.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[v181.RebuildKeyspaceGraphRequest]) (*connect.Response[v181.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[v18.RebuildVSchemaGraphRequest]) (*connect.Response[v18.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[v181.RebuildVSchemaGraphRequest]) (*connect.Response[v181.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[v18.RefreshStateByShardRequest]) (*connect.Response[v18.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[v181.RefreshStateByShardRequest]) (*connect.Response[v181.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[v18.ReloadSchemaKeyspaceRequest]) (*connect.Response[v18.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[v181.ReloadSchemaKeyspaceRequest]) (*connect.Response[v181.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[v18.ReloadSchemaShardRequest]) (*connect.Response[v18.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[v181.ReloadSchemaShardRequest]) (*connect.Response[v181.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[v18.RemoveBackupRequest]) (*connect.Response[v18.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[v181.RemoveBackupRequest]) (*connect.Response[v181.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[v18.RemoveKeyspaceCellRequest]) (*connect.Response[v18.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[v181.RemoveKeyspaceCellRequest]) (*connect.Response[v181.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[v18.RemoveShardCellRequest]) (*connect.Response[v18.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[v181.RemoveShardCellRequest]) (*connect.Response[v181.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[v18.ReparentTabletRequest]) (*connect.Response[v18.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[v181.ReparentTabletRequest]) (*connect.Response[v181.ReparentTabletResponse], error) // ReshardCreate creates a workflow to reshard a keyspace. - ReshardCreate(context.Context, *connect.Request[v18.ReshardCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) + ReshardCreate(context.Context, *connect.Request[v181.ReshardCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[v18.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v18.RestoreFromBackupResponse], error) + RestoreFromBackup(context.Context, *connect.Request[v181.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v181.RestoreFromBackupResponse], error) // RetrySchemaMigration marks a given schema migration for retry. - RetrySchemaMigration(context.Context, *connect.Request[v18.RetrySchemaMigrationRequest]) (*connect.Response[v18.RetrySchemaMigrationResponse], error) + RetrySchemaMigration(context.Context, *connect.Request[v181.RetrySchemaMigrationRequest]) (*connect.Response[v181.RetrySchemaMigrationResponse], error) // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v18.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v18.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v181.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v181.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[v18.SetShardIsPrimaryServingRequest]) (*connect.Response[v18.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[v181.SetShardIsPrimaryServingRequest]) (*connect.Response[v181.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[v18.SetShardTabletControlRequest]) (*connect.Response[v18.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[v181.SetShardTabletControlRequest]) (*connect.Response[v181.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[v18.SetWritableRequest]) (*connect.Response[v18.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[v181.SetWritableRequest]) (*connect.Response[v181.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[v18.ShardReplicationAddRequest]) (*connect.Response[v18.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[v181.ShardReplicationAddRequest]) (*connect.Response[v181.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[v18.ShardReplicationFixRequest]) (*connect.Response[v18.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[v181.ShardReplicationFixRequest]) (*connect.Response[v181.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[v18.ShardReplicationPositionsRequest]) (*connect.Response[v18.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[v181.ShardReplicationPositionsRequest]) (*connect.Response[v181.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[v18.ShardReplicationRemoveRequest]) (*connect.Response[v18.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[v181.ShardReplicationRemoveRequest]) (*connect.Response[v181.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[v18.SleepTabletRequest]) (*connect.Response[v18.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[v181.SleepTabletRequest]) (*connect.Response[v181.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[v18.SourceShardAddRequest]) (*connect.Response[v18.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[v181.SourceShardAddRequest]) (*connect.Response[v181.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[v18.SourceShardDeleteRequest]) (*connect.Response[v18.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[v181.SourceShardDeleteRequest]) (*connect.Response[v181.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v18.TabletExternallyReparentedRequest]) (*connect.Response[v18.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v181.TabletExternallyReparentedRequest]) (*connect.Response[v181.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[v18.UpdateCellInfoRequest]) (*connect.Response[v18.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[v181.UpdateCellInfoRequest]) (*connect.Response[v181.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[v18.UpdateCellsAliasRequest]) (*connect.Response[v18.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[v181.UpdateCellsAliasRequest]) (*connect.Response[v181.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[v18.ValidateRequest]) (*connect.Response[v18.ValidateResponse], error) + Validate(context.Context, *connect.Request[v181.ValidateRequest]) (*connect.Response[v181.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[v18.ValidateKeyspaceRequest]) (*connect.Response[v18.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[v181.ValidateKeyspaceRequest]) (*connect.Response[v181.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[v18.ValidateSchemaKeyspaceRequest]) (*connect.Response[v18.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[v181.ValidateSchemaKeyspaceRequest]) (*connect.Response[v181.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[v18.ValidateShardRequest]) (*connect.Response[v18.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[v181.ValidateShardRequest]) (*connect.Response[v181.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[v18.ValidateVersionKeyspaceRequest]) (*connect.Response[v18.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[v181.ValidateVersionKeyspaceRequest]) (*connect.Response[v181.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[v18.ValidateVersionShardRequest]) (*connect.Response[v18.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[v181.ValidateVersionShardRequest]) (*connect.Response[v181.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[v18.ValidateVSchemaRequest]) (*connect.Response[v18.ValidateVSchemaResponse], error) - VDiffCreate(context.Context, *connect.Request[v18.VDiffCreateRequest]) (*connect.Response[v18.VDiffCreateResponse], error) - VDiffDelete(context.Context, *connect.Request[v18.VDiffDeleteRequest]) (*connect.Response[v18.VDiffDeleteResponse], error) - VDiffResume(context.Context, *connect.Request[v18.VDiffResumeRequest]) (*connect.Response[v18.VDiffResumeResponse], error) - VDiffShow(context.Context, *connect.Request[v18.VDiffShowRequest]) (*connect.Response[v18.VDiffShowResponse], error) - VDiffStop(context.Context, *connect.Request[v18.VDiffStopRequest]) (*connect.Response[v18.VDiffStopResponse], error) + ValidateVSchema(context.Context, *connect.Request[v181.ValidateVSchemaRequest]) (*connect.Response[v181.ValidateVSchemaResponse], error) + VDiffCreate(context.Context, *connect.Request[v181.VDiffCreateRequest]) (*connect.Response[v181.VDiffCreateResponse], error) + VDiffDelete(context.Context, *connect.Request[v181.VDiffDeleteRequest]) (*connect.Response[v181.VDiffDeleteResponse], error) + VDiffResume(context.Context, *connect.Request[v181.VDiffResumeRequest]) (*connect.Response[v181.VDiffResumeResponse], error) + VDiffShow(context.Context, *connect.Request[v181.VDiffShowRequest]) (*connect.Response[v181.VDiffShowResponse], error) + VDiffStop(context.Context, *connect.Request[v181.VDiffStopRequest]) (*connect.Response[v181.VDiffStopResponse], error) // WorkflowDelete deletes a vreplication workflow. - WorkflowDelete(context.Context, *connect.Request[v18.WorkflowDeleteRequest]) (*connect.Response[v18.WorkflowDeleteResponse], error) - WorkflowStatus(context.Context, *connect.Request[v18.WorkflowStatusRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) - WorkflowSwitchTraffic(context.Context, *connect.Request[v18.WorkflowSwitchTrafficRequest]) (*connect.Response[v18.WorkflowSwitchTrafficResponse], error) + WorkflowDelete(context.Context, *connect.Request[v181.WorkflowDeleteRequest]) (*connect.Response[v181.WorkflowDeleteResponse], error) + WorkflowStatus(context.Context, *connect.Request[v181.WorkflowStatusRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) + WorkflowSwitchTraffic(context.Context, *connect.Request[v181.WorkflowSwitchTrafficRequest]) (*connect.Response[v181.WorkflowSwitchTrafficResponse], error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. - WorkflowUpdate(context.Context, *connect.Request[v18.WorkflowUpdateRequest]) (*connect.Response[v18.WorkflowUpdateResponse], error) + WorkflowUpdate(context.Context, *connect.Request[v181.WorkflowUpdateRequest]) (*connect.Response[v181.WorkflowUpdateResponse], error) } // NewVtctldClient constructs a client for the vtctlservice.Vtctld service. By default, @@ -711,1220 +830,1330 @@ type VtctldClient interface { func NewVtctldClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctldClient { baseURL = strings.TrimRight(baseURL, "/") return &vtctldClient{ - addCellInfo: connect.NewClient[v18.AddCellInfoRequest, v18.AddCellInfoResponse]( + addCellInfo: connect.NewClient[v181.AddCellInfoRequest, v181.AddCellInfoResponse]( httpClient, baseURL+VtctldAddCellInfoProcedure, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - addCellsAlias: connect.NewClient[v18.AddCellsAliasRequest, v18.AddCellsAliasResponse]( + addCellsAlias: connect.NewClient[v181.AddCellsAliasRequest, v181.AddCellsAliasResponse]( httpClient, baseURL+VtctldAddCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyRoutingRules: connect.NewClient[v18.ApplyRoutingRulesRequest, v18.ApplyRoutingRulesResponse]( + applyRoutingRules: connect.NewClient[v181.ApplyRoutingRulesRequest, v181.ApplyRoutingRulesResponse]( httpClient, baseURL+VtctldApplyRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applySchema: connect.NewClient[v18.ApplySchemaRequest, v18.ApplySchemaResponse]( + applySchema: connect.NewClient[v181.ApplySchemaRequest, v181.ApplySchemaResponse]( httpClient, baseURL+VtctldApplySchemaProcedure, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyShardRoutingRules: connect.NewClient[v18.ApplyShardRoutingRulesRequest, v18.ApplyShardRoutingRulesResponse]( + applyShardRoutingRules: connect.NewClient[v181.ApplyShardRoutingRulesRequest, v181.ApplyShardRoutingRulesResponse]( httpClient, baseURL+VtctldApplyShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - applyVSchema: connect.NewClient[v18.ApplyVSchemaRequest, v18.ApplyVSchemaResponse]( + applyVSchema: connect.NewClient[v181.ApplyVSchemaRequest, v181.ApplyVSchemaResponse]( httpClient, baseURL+VtctldApplyVSchemaProcedure, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - backup: connect.NewClient[v18.BackupRequest, v18.BackupResponse]( + backup: connect.NewClient[v181.BackupRequest, v181.BackupResponse]( httpClient, baseURL+VtctldBackupProcedure, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - backupShard: connect.NewClient[v18.BackupShardRequest, v18.BackupResponse]( + backupShard: connect.NewClient[v181.BackupShardRequest, v181.BackupResponse]( httpClient, baseURL+VtctldBackupShardProcedure, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - cancelSchemaMigration: connect.NewClient[v18.CancelSchemaMigrationRequest, v18.CancelSchemaMigrationResponse]( + cancelSchemaMigration: connect.NewClient[v181.CancelSchemaMigrationRequest, v181.CancelSchemaMigrationResponse]( httpClient, baseURL+VtctldCancelSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldCancelSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - changeTabletType: connect.NewClient[v18.ChangeTabletTypeRequest, v18.ChangeTabletTypeResponse]( + changeTabletType: connect.NewClient[v181.ChangeTabletTypeRequest, v181.ChangeTabletTypeResponse]( httpClient, baseURL+VtctldChangeTabletTypeProcedure, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithClientOptions(opts...), ), - cleanupSchemaMigration: connect.NewClient[v18.CleanupSchemaMigrationRequest, v18.CleanupSchemaMigrationResponse]( + cleanupSchemaMigration: connect.NewClient[v181.CleanupSchemaMigrationRequest, v181.CleanupSchemaMigrationResponse]( httpClient, baseURL+VtctldCleanupSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldCleanupSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - completeSchemaMigration: connect.NewClient[v18.CompleteSchemaMigrationRequest, v18.CompleteSchemaMigrationResponse]( + completeSchemaMigration: connect.NewClient[v181.CompleteSchemaMigrationRequest, v181.CompleteSchemaMigrationResponse]( httpClient, baseURL+VtctldCompleteSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldCompleteSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - createKeyspace: connect.NewClient[v18.CreateKeyspaceRequest, v18.CreateKeyspaceResponse]( + createKeyspace: connect.NewClient[v181.CreateKeyspaceRequest, v181.CreateKeyspaceResponse]( httpClient, baseURL+VtctldCreateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - createShard: connect.NewClient[v18.CreateShardRequest, v18.CreateShardResponse]( + createShard: connect.NewClient[v181.CreateShardRequest, v181.CreateShardResponse]( httpClient, baseURL+VtctldCreateShardProcedure, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellInfo: connect.NewClient[v18.DeleteCellInfoRequest, v18.DeleteCellInfoResponse]( + deleteCellInfo: connect.NewClient[v181.DeleteCellInfoRequest, v181.DeleteCellInfoResponse]( httpClient, baseURL+VtctldDeleteCellInfoProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteCellsAlias: connect.NewClient[v18.DeleteCellsAliasRequest, v18.DeleteCellsAliasResponse]( + deleteCellsAlias: connect.NewClient[v181.DeleteCellsAliasRequest, v181.DeleteCellsAliasResponse]( httpClient, baseURL+VtctldDeleteCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteKeyspace: connect.NewClient[v18.DeleteKeyspaceRequest, v18.DeleteKeyspaceResponse]( + deleteKeyspace: connect.NewClient[v181.DeleteKeyspaceRequest, v181.DeleteKeyspaceResponse]( httpClient, baseURL+VtctldDeleteKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteShards: connect.NewClient[v18.DeleteShardsRequest, v18.DeleteShardsResponse]( + deleteShards: connect.NewClient[v181.DeleteShardsRequest, v181.DeleteShardsResponse]( httpClient, baseURL+VtctldDeleteShardsProcedure, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteSrvVSchema: connect.NewClient[v18.DeleteSrvVSchemaRequest, v18.DeleteSrvVSchemaResponse]( + deleteSrvVSchema: connect.NewClient[v181.DeleteSrvVSchemaRequest, v181.DeleteSrvVSchemaResponse]( httpClient, baseURL+VtctldDeleteSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - deleteTablets: connect.NewClient[v18.DeleteTabletsRequest, v18.DeleteTabletsResponse]( + deleteTablets: connect.NewClient[v181.DeleteTabletsRequest, v181.DeleteTabletsResponse]( httpClient, baseURL+VtctldDeleteTabletsProcedure, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), - emergencyReparentShard: connect.NewClient[v18.EmergencyReparentShardRequest, v18.EmergencyReparentShardResponse]( + emergencyReparentShard: connect.NewClient[v181.EmergencyReparentShardRequest, v181.EmergencyReparentShardResponse]( httpClient, baseURL+VtctldEmergencyReparentShardProcedure, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsApp: connect.NewClient[v18.ExecuteFetchAsAppRequest, v18.ExecuteFetchAsAppResponse]( + executeFetchAsApp: connect.NewClient[v181.ExecuteFetchAsAppRequest, v181.ExecuteFetchAsAppResponse]( httpClient, baseURL+VtctldExecuteFetchAsAppProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeFetchAsDBA: connect.NewClient[v18.ExecuteFetchAsDBARequest, v18.ExecuteFetchAsDBAResponse]( + executeFetchAsDBA: connect.NewClient[v181.ExecuteFetchAsDBARequest, v181.ExecuteFetchAsDBAResponse]( httpClient, baseURL+VtctldExecuteFetchAsDBAProcedure, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeHook: connect.NewClient[v18.ExecuteHookRequest, v18.ExecuteHookResponse]( + executeHook: connect.NewClient[v181.ExecuteHookRequest, v181.ExecuteHookResponse]( httpClient, baseURL+VtctldExecuteHookProcedure, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), ), - findAllShardsInKeyspace: connect.NewClient[v18.FindAllShardsInKeyspaceRequest, v18.FindAllShardsInKeyspaceResponse]( + findAllShardsInKeyspace: connect.NewClient[v181.FindAllShardsInKeyspaceRequest, v181.FindAllShardsInKeyspaceResponse]( httpClient, baseURL+VtctldFindAllShardsInKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - getBackups: connect.NewClient[v18.GetBackupsRequest, v18.GetBackupsResponse]( + getBackups: connect.NewClient[v181.GetBackupsRequest, v181.GetBackupsResponse]( httpClient, baseURL+VtctldGetBackupsProcedure, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfo: connect.NewClient[v18.GetCellInfoRequest, v18.GetCellInfoResponse]( + getCellInfo: connect.NewClient[v181.GetCellInfoRequest, v181.GetCellInfoResponse]( httpClient, baseURL+VtctldGetCellInfoProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellInfoNames: connect.NewClient[v18.GetCellInfoNamesRequest, v18.GetCellInfoNamesResponse]( + getCellInfoNames: connect.NewClient[v181.GetCellInfoNamesRequest, v181.GetCellInfoNamesResponse]( httpClient, baseURL+VtctldGetCellInfoNamesProcedure, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getCellsAliases: connect.NewClient[v18.GetCellsAliasesRequest, v18.GetCellsAliasesResponse]( + getCellsAliases: connect.NewClient[v181.GetCellsAliasesRequest, v181.GetCellsAliasesResponse]( httpClient, baseURL+VtctldGetCellsAliasesProcedure, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getFullStatus: connect.NewClient[v18.GetFullStatusRequest, v18.GetFullStatusResponse]( + getFullStatus: connect.NewClient[v181.GetFullStatusRequest, v181.GetFullStatusResponse]( httpClient, baseURL+VtctldGetFullStatusProcedure, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspace: connect.NewClient[v18.GetKeyspaceRequest, v18.GetKeyspaceResponse]( + getKeyspace: connect.NewClient[v181.GetKeyspaceRequest, v181.GetKeyspaceResponse]( httpClient, baseURL+VtctldGetKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - getKeyspaces: connect.NewClient[v18.GetKeyspacesRequest, v18.GetKeyspacesResponse]( + getKeyspaces: connect.NewClient[v181.GetKeyspacesRequest, v181.GetKeyspacesResponse]( httpClient, baseURL+VtctldGetKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getPermissions: connect.NewClient[v18.GetPermissionsRequest, v18.GetPermissionsResponse]( + getPermissions: connect.NewClient[v181.GetPermissionsRequest, v181.GetPermissionsResponse]( httpClient, baseURL+VtctldGetPermissionsProcedure, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getRoutingRules: connect.NewClient[v18.GetRoutingRulesRequest, v18.GetRoutingRulesResponse]( + getRoutingRules: connect.NewClient[v181.GetRoutingRulesRequest, v181.GetRoutingRulesResponse]( httpClient, baseURL+VtctldGetRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchema: connect.NewClient[v18.GetSchemaRequest, v18.GetSchemaResponse]( + getSchema: connect.NewClient[v181.GetSchemaRequest, v181.GetSchemaResponse]( httpClient, baseURL+VtctldGetSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSchemaMigrations: connect.NewClient[v18.GetSchemaMigrationsRequest, v18.GetSchemaMigrationsResponse]( + getSchemaMigrations: connect.NewClient[v181.GetSchemaMigrationsRequest, v181.GetSchemaMigrationsResponse]( httpClient, baseURL+VtctldGetSchemaMigrationsProcedure, - opts..., + connect.WithSchema(vtctldGetSchemaMigrationsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShard: connect.NewClient[v18.GetShardRequest, v18.GetShardResponse]( + getShard: connect.NewClient[v181.GetShardRequest, v181.GetShardResponse]( httpClient, baseURL+VtctldGetShardProcedure, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - getShardRoutingRules: connect.NewClient[v18.GetShardRoutingRulesRequest, v18.GetShardRoutingRulesResponse]( + getShardRoutingRules: connect.NewClient[v181.GetShardRoutingRulesRequest, v181.GetShardRoutingRulesResponse]( httpClient, baseURL+VtctldGetShardRoutingRulesProcedure, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaceNames: connect.NewClient[v18.GetSrvKeyspaceNamesRequest, v18.GetSrvKeyspaceNamesResponse]( + getSrvKeyspaceNames: connect.NewClient[v181.GetSrvKeyspaceNamesRequest, v181.GetSrvKeyspaceNamesResponse]( httpClient, baseURL+VtctldGetSrvKeyspaceNamesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvKeyspaces: connect.NewClient[v18.GetSrvKeyspacesRequest, v18.GetSrvKeyspacesResponse]( + getSrvKeyspaces: connect.NewClient[v181.GetSrvKeyspacesRequest, v181.GetSrvKeyspacesResponse]( httpClient, baseURL+VtctldGetSrvKeyspacesProcedure, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateThrottlerConfig: connect.NewClient[v18.UpdateThrottlerConfigRequest, v18.UpdateThrottlerConfigResponse]( + updateThrottlerConfig: connect.NewClient[v181.UpdateThrottlerConfigRequest, v181.UpdateThrottlerConfigResponse]( httpClient, baseURL+VtctldUpdateThrottlerConfigProcedure, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchema: connect.NewClient[v18.GetSrvVSchemaRequest, v18.GetSrvVSchemaResponse]( + getSrvVSchema: connect.NewClient[v181.GetSrvVSchemaRequest, v181.GetSrvVSchemaResponse]( httpClient, baseURL+VtctldGetSrvVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getSrvVSchemas: connect.NewClient[v18.GetSrvVSchemasRequest, v18.GetSrvVSchemasResponse]( + getSrvVSchemas: connect.NewClient[v181.GetSrvVSchemasRequest, v181.GetSrvVSchemasResponse]( httpClient, baseURL+VtctldGetSrvVSchemasProcedure, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablet: connect.NewClient[v18.GetTabletRequest, v18.GetTabletResponse]( + getTablet: connect.NewClient[v181.GetTabletRequest, v181.GetTabletResponse]( httpClient, baseURL+VtctldGetTabletProcedure, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTablets: connect.NewClient[v18.GetTabletsRequest, v18.GetTabletsResponse]( + getTablets: connect.NewClient[v181.GetTabletsRequest, v181.GetTabletsResponse]( httpClient, baseURL+VtctldGetTabletsProcedure, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), ), - getTopologyPath: connect.NewClient[v18.GetTopologyPathRequest, v18.GetTopologyPathResponse]( + getTopologyPath: connect.NewClient[v181.GetTopologyPathRequest, v181.GetTopologyPathResponse]( httpClient, baseURL+VtctldGetTopologyPathProcedure, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVersion: connect.NewClient[v18.GetVersionRequest, v18.GetVersionResponse]( + getVersion: connect.NewClient[v181.GetVersionRequest, v181.GetVersionResponse]( httpClient, baseURL+VtctldGetVersionProcedure, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithClientOptions(opts...), ), - getVSchema: connect.NewClient[v18.GetVSchemaRequest, v18.GetVSchemaResponse]( + getVSchema: connect.NewClient[v181.GetVSchemaRequest, v181.GetVSchemaResponse]( httpClient, baseURL+VtctldGetVSchemaProcedure, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - getWorkflows: connect.NewClient[v18.GetWorkflowsRequest, v18.GetWorkflowsResponse]( + getWorkflows: connect.NewClient[v181.GetWorkflowsRequest, v181.GetWorkflowsResponse]( httpClient, baseURL+VtctldGetWorkflowsProcedure, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), ), - initShardPrimary: connect.NewClient[v18.InitShardPrimaryRequest, v18.InitShardPrimaryResponse]( + initShardPrimary: connect.NewClient[v181.InitShardPrimaryRequest, v181.InitShardPrimaryResponse]( httpClient, baseURL+VtctldInitShardPrimaryProcedure, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), ), - launchSchemaMigration: connect.NewClient[v18.LaunchSchemaMigrationRequest, v18.LaunchSchemaMigrationResponse]( + launchSchemaMigration: connect.NewClient[v181.LaunchSchemaMigrationRequest, v181.LaunchSchemaMigrationResponse]( httpClient, baseURL+VtctldLaunchSchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldLaunchSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - lookupVindexCreate: connect.NewClient[v18.LookupVindexCreateRequest, v18.LookupVindexCreateResponse]( + lookupVindexCreate: connect.NewClient[v181.LookupVindexCreateRequest, v181.LookupVindexCreateResponse]( httpClient, baseURL+VtctldLookupVindexCreateProcedure, - opts..., + connect.WithSchema(vtctldLookupVindexCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - lookupVindexExternalize: connect.NewClient[v18.LookupVindexExternalizeRequest, v18.LookupVindexExternalizeResponse]( + lookupVindexExternalize: connect.NewClient[v181.LookupVindexExternalizeRequest, v181.LookupVindexExternalizeResponse]( httpClient, baseURL+VtctldLookupVindexExternalizeProcedure, - opts..., + connect.WithSchema(vtctldLookupVindexExternalizeMethodDescriptor), + connect.WithClientOptions(opts...), ), - materializeCreate: connect.NewClient[v18.MaterializeCreateRequest, v18.MaterializeCreateResponse]( + materializeCreate: connect.NewClient[v181.MaterializeCreateRequest, v181.MaterializeCreateResponse]( httpClient, baseURL+VtctldMaterializeCreateProcedure, - opts..., + connect.WithSchema(vtctldMaterializeCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - migrateCreate: connect.NewClient[v18.MigrateCreateRequest, v18.WorkflowStatusResponse]( + migrateCreate: connect.NewClient[v181.MigrateCreateRequest, v181.WorkflowStatusResponse]( httpClient, baseURL+VtctldMigrateCreateProcedure, - opts..., + connect.WithSchema(vtctldMigrateCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountRegister: connect.NewClient[v18.MountRegisterRequest, v18.MountRegisterResponse]( + mountRegister: connect.NewClient[v181.MountRegisterRequest, v181.MountRegisterResponse]( httpClient, baseURL+VtctldMountRegisterProcedure, - opts..., + connect.WithSchema(vtctldMountRegisterMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountUnregister: connect.NewClient[v18.MountUnregisterRequest, v18.MountUnregisterResponse]( + mountUnregister: connect.NewClient[v181.MountUnregisterRequest, v181.MountUnregisterResponse]( httpClient, baseURL+VtctldMountUnregisterProcedure, - opts..., + connect.WithSchema(vtctldMountUnregisterMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountShow: connect.NewClient[v18.MountShowRequest, v18.MountShowResponse]( + mountShow: connect.NewClient[v181.MountShowRequest, v181.MountShowResponse]( httpClient, baseURL+VtctldMountShowProcedure, - opts..., + connect.WithSchema(vtctldMountShowMethodDescriptor), + connect.WithClientOptions(opts...), ), - mountList: connect.NewClient[v18.MountListRequest, v18.MountListResponse]( + mountList: connect.NewClient[v181.MountListRequest, v181.MountListResponse]( httpClient, baseURL+VtctldMountListProcedure, - opts..., + connect.WithSchema(vtctldMountListMethodDescriptor), + connect.WithClientOptions(opts...), ), - moveTablesCreate: connect.NewClient[v18.MoveTablesCreateRequest, v18.WorkflowStatusResponse]( + moveTablesCreate: connect.NewClient[v181.MoveTablesCreateRequest, v181.WorkflowStatusResponse]( httpClient, baseURL+VtctldMoveTablesCreateProcedure, - opts..., + connect.WithSchema(vtctldMoveTablesCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - moveTablesComplete: connect.NewClient[v18.MoveTablesCompleteRequest, v18.MoveTablesCompleteResponse]( + moveTablesComplete: connect.NewClient[v181.MoveTablesCompleteRequest, v181.MoveTablesCompleteResponse]( httpClient, baseURL+VtctldMoveTablesCompleteProcedure, - opts..., + connect.WithSchema(vtctldMoveTablesCompleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - pingTablet: connect.NewClient[v18.PingTabletRequest, v18.PingTabletResponse]( + pingTablet: connect.NewClient[v181.PingTabletRequest, v181.PingTabletResponse]( httpClient, baseURL+VtctldPingTabletProcedure, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - plannedReparentShard: connect.NewClient[v18.PlannedReparentShardRequest, v18.PlannedReparentShardResponse]( + plannedReparentShard: connect.NewClient[v181.PlannedReparentShardRequest, v181.PlannedReparentShardResponse]( httpClient, baseURL+VtctldPlannedReparentShardProcedure, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildKeyspaceGraph: connect.NewClient[v18.RebuildKeyspaceGraphRequest, v18.RebuildKeyspaceGraphResponse]( + rebuildKeyspaceGraph: connect.NewClient[v181.RebuildKeyspaceGraphRequest, v181.RebuildKeyspaceGraphResponse]( httpClient, baseURL+VtctldRebuildKeyspaceGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - rebuildVSchemaGraph: connect.NewClient[v18.RebuildVSchemaGraphRequest, v18.RebuildVSchemaGraphResponse]( + rebuildVSchemaGraph: connect.NewClient[v181.RebuildVSchemaGraphRequest, v181.RebuildVSchemaGraphResponse]( httpClient, baseURL+VtctldRebuildVSchemaGraphProcedure, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshState: connect.NewClient[v18.RefreshStateRequest, v18.RefreshStateResponse]( + refreshState: connect.NewClient[v181.RefreshStateRequest, v181.RefreshStateResponse]( httpClient, baseURL+VtctldRefreshStateProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), ), - refreshStateByShard: connect.NewClient[v18.RefreshStateByShardRequest, v18.RefreshStateByShardResponse]( + refreshStateByShard: connect.NewClient[v181.RefreshStateByShardRequest, v181.RefreshStateByShardResponse]( httpClient, baseURL+VtctldRefreshStateByShardProcedure, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchema: connect.NewClient[v18.ReloadSchemaRequest, v18.ReloadSchemaResponse]( + reloadSchema: connect.NewClient[v181.ReloadSchemaRequest, v181.ReloadSchemaResponse]( httpClient, baseURL+VtctldReloadSchemaProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaKeyspace: connect.NewClient[v18.ReloadSchemaKeyspaceRequest, v18.ReloadSchemaKeyspaceResponse]( + reloadSchemaKeyspace: connect.NewClient[v181.ReloadSchemaKeyspaceRequest, v181.ReloadSchemaKeyspaceResponse]( httpClient, baseURL+VtctldReloadSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - reloadSchemaShard: connect.NewClient[v18.ReloadSchemaShardRequest, v18.ReloadSchemaShardResponse]( + reloadSchemaShard: connect.NewClient[v181.ReloadSchemaShardRequest, v181.ReloadSchemaShardResponse]( httpClient, baseURL+VtctldReloadSchemaShardProcedure, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeBackup: connect.NewClient[v18.RemoveBackupRequest, v18.RemoveBackupResponse]( + removeBackup: connect.NewClient[v181.RemoveBackupRequest, v181.RemoveBackupResponse]( httpClient, baseURL+VtctldRemoveBackupProcedure, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeKeyspaceCell: connect.NewClient[v18.RemoveKeyspaceCellRequest, v18.RemoveKeyspaceCellResponse]( + removeKeyspaceCell: connect.NewClient[v181.RemoveKeyspaceCellRequest, v181.RemoveKeyspaceCellResponse]( httpClient, baseURL+VtctldRemoveKeyspaceCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - removeShardCell: connect.NewClient[v18.RemoveShardCellRequest, v18.RemoveShardCellResponse]( + removeShardCell: connect.NewClient[v181.RemoveShardCellRequest, v181.RemoveShardCellResponse]( httpClient, baseURL+VtctldRemoveShardCellProcedure, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithClientOptions(opts...), ), - reparentTablet: connect.NewClient[v18.ReparentTabletRequest, v18.ReparentTabletResponse]( + reparentTablet: connect.NewClient[v181.ReparentTabletRequest, v181.ReparentTabletResponse]( httpClient, baseURL+VtctldReparentTabletProcedure, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - reshardCreate: connect.NewClient[v18.ReshardCreateRequest, v18.WorkflowStatusResponse]( + reshardCreate: connect.NewClient[v181.ReshardCreateRequest, v181.WorkflowStatusResponse]( httpClient, baseURL+VtctldReshardCreateProcedure, - opts..., + connect.WithSchema(vtctldReshardCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - restoreFromBackup: connect.NewClient[v18.RestoreFromBackupRequest, v18.RestoreFromBackupResponse]( + restoreFromBackup: connect.NewClient[v181.RestoreFromBackupRequest, v181.RestoreFromBackupResponse]( httpClient, baseURL+VtctldRestoreFromBackupProcedure, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), ), - retrySchemaMigration: connect.NewClient[v18.RetrySchemaMigrationRequest, v18.RetrySchemaMigrationResponse]( + retrySchemaMigration: connect.NewClient[v181.RetrySchemaMigrationRequest, v181.RetrySchemaMigrationResponse]( httpClient, baseURL+VtctldRetrySchemaMigrationProcedure, - opts..., + connect.WithSchema(vtctldRetrySchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), ), - runHealthCheck: connect.NewClient[v18.RunHealthCheckRequest, v18.RunHealthCheckResponse]( + runHealthCheck: connect.NewClient[v181.RunHealthCheckRequest, v181.RunHealthCheckResponse]( httpClient, baseURL+VtctldRunHealthCheckProcedure, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), ), - setKeyspaceDurabilityPolicy: connect.NewClient[v18.SetKeyspaceDurabilityPolicyRequest, v18.SetKeyspaceDurabilityPolicyResponse]( + setKeyspaceDurabilityPolicy: connect.NewClient[v181.SetKeyspaceDurabilityPolicyRequest, v181.SetKeyspaceDurabilityPolicyResponse]( httpClient, baseURL+VtctldSetKeyspaceDurabilityPolicyProcedure, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardIsPrimaryServing: connect.NewClient[v18.SetShardIsPrimaryServingRequest, v18.SetShardIsPrimaryServingResponse]( + setShardIsPrimaryServing: connect.NewClient[v181.SetShardIsPrimaryServingRequest, v181.SetShardIsPrimaryServingResponse]( httpClient, baseURL+VtctldSetShardIsPrimaryServingProcedure, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithClientOptions(opts...), ), - setShardTabletControl: connect.NewClient[v18.SetShardTabletControlRequest, v18.SetShardTabletControlResponse]( + setShardTabletControl: connect.NewClient[v181.SetShardTabletControlRequest, v181.SetShardTabletControlResponse]( httpClient, baseURL+VtctldSetShardTabletControlProcedure, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithClientOptions(opts...), ), - setWritable: connect.NewClient[v18.SetWritableRequest, v18.SetWritableResponse]( + setWritable: connect.NewClient[v181.SetWritableRequest, v181.SetWritableResponse]( httpClient, baseURL+VtctldSetWritableProcedure, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationAdd: connect.NewClient[v18.ShardReplicationAddRequest, v18.ShardReplicationAddResponse]( + shardReplicationAdd: connect.NewClient[v181.ShardReplicationAddRequest, v181.ShardReplicationAddResponse]( httpClient, baseURL+VtctldShardReplicationAddProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationFix: connect.NewClient[v18.ShardReplicationFixRequest, v18.ShardReplicationFixResponse]( + shardReplicationFix: connect.NewClient[v181.ShardReplicationFixRequest, v181.ShardReplicationFixResponse]( httpClient, baseURL+VtctldShardReplicationFixProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationPositions: connect.NewClient[v18.ShardReplicationPositionsRequest, v18.ShardReplicationPositionsResponse]( + shardReplicationPositions: connect.NewClient[v181.ShardReplicationPositionsRequest, v181.ShardReplicationPositionsResponse]( httpClient, baseURL+VtctldShardReplicationPositionsProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), ), - shardReplicationRemove: connect.NewClient[v18.ShardReplicationRemoveRequest, v18.ShardReplicationRemoveResponse]( + shardReplicationRemove: connect.NewClient[v181.ShardReplicationRemoveRequest, v181.ShardReplicationRemoveResponse]( httpClient, baseURL+VtctldShardReplicationRemoveProcedure, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithClientOptions(opts...), ), - sleepTablet: connect.NewClient[v18.SleepTabletRequest, v18.SleepTabletResponse]( + sleepTablet: connect.NewClient[v181.SleepTabletRequest, v181.SleepTabletResponse]( httpClient, baseURL+VtctldSleepTabletProcedure, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardAdd: connect.NewClient[v18.SourceShardAddRequest, v18.SourceShardAddResponse]( + sourceShardAdd: connect.NewClient[v181.SourceShardAddRequest, v181.SourceShardAddResponse]( httpClient, baseURL+VtctldSourceShardAddProcedure, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithClientOptions(opts...), ), - sourceShardDelete: connect.NewClient[v18.SourceShardDeleteRequest, v18.SourceShardDeleteResponse]( + sourceShardDelete: connect.NewClient[v181.SourceShardDeleteRequest, v181.SourceShardDeleteResponse]( httpClient, baseURL+VtctldSourceShardDeleteProcedure, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - startReplication: connect.NewClient[v18.StartReplicationRequest, v18.StartReplicationResponse]( + startReplication: connect.NewClient[v181.StartReplicationRequest, v181.StartReplicationResponse]( httpClient, baseURL+VtctldStartReplicationProcedure, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - stopReplication: connect.NewClient[v18.StopReplicationRequest, v18.StopReplicationResponse]( + stopReplication: connect.NewClient[v181.StopReplicationRequest, v181.StopReplicationResponse]( httpClient, baseURL+VtctldStopReplicationProcedure, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), ), - tabletExternallyReparented: connect.NewClient[v18.TabletExternallyReparentedRequest, v18.TabletExternallyReparentedResponse]( + tabletExternallyReparented: connect.NewClient[v181.TabletExternallyReparentedRequest, v181.TabletExternallyReparentedResponse]( httpClient, baseURL+VtctldTabletExternallyReparentedProcedure, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellInfo: connect.NewClient[v18.UpdateCellInfoRequest, v18.UpdateCellInfoResponse]( + updateCellInfo: connect.NewClient[v181.UpdateCellInfoRequest, v181.UpdateCellInfoResponse]( httpClient, baseURL+VtctldUpdateCellInfoProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), ), - updateCellsAlias: connect.NewClient[v18.UpdateCellsAliasRequest, v18.UpdateCellsAliasResponse]( + updateCellsAlias: connect.NewClient[v181.UpdateCellsAliasRequest, v181.UpdateCellsAliasResponse]( httpClient, baseURL+VtctldUpdateCellsAliasProcedure, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), ), - validate: connect.NewClient[v18.ValidateRequest, v18.ValidateResponse]( + validate: connect.NewClient[v181.ValidateRequest, v181.ValidateResponse]( httpClient, baseURL+VtctldValidateProcedure, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateKeyspace: connect.NewClient[v18.ValidateKeyspaceRequest, v18.ValidateKeyspaceResponse]( + validateKeyspace: connect.NewClient[v181.ValidateKeyspaceRequest, v181.ValidateKeyspaceResponse]( httpClient, baseURL+VtctldValidateKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateSchemaKeyspace: connect.NewClient[v18.ValidateSchemaKeyspaceRequest, v18.ValidateSchemaKeyspaceResponse]( + validateSchemaKeyspace: connect.NewClient[v181.ValidateSchemaKeyspaceRequest, v181.ValidateSchemaKeyspaceResponse]( httpClient, baseURL+VtctldValidateSchemaKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateShard: connect.NewClient[v18.ValidateShardRequest, v18.ValidateShardResponse]( + validateShard: connect.NewClient[v181.ValidateShardRequest, v181.ValidateShardResponse]( httpClient, baseURL+VtctldValidateShardProcedure, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionKeyspace: connect.NewClient[v18.ValidateVersionKeyspaceRequest, v18.ValidateVersionKeyspaceResponse]( + validateVersionKeyspace: connect.NewClient[v181.ValidateVersionKeyspaceRequest, v181.ValidateVersionKeyspaceResponse]( httpClient, baseURL+VtctldValidateVersionKeyspaceProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVersionShard: connect.NewClient[v18.ValidateVersionShardRequest, v18.ValidateVersionShardResponse]( + validateVersionShard: connect.NewClient[v181.ValidateVersionShardRequest, v181.ValidateVersionShardResponse]( httpClient, baseURL+VtctldValidateVersionShardProcedure, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), ), - validateVSchema: connect.NewClient[v18.ValidateVSchemaRequest, v18.ValidateVSchemaResponse]( + validateVSchema: connect.NewClient[v181.ValidateVSchemaRequest, v181.ValidateVSchemaResponse]( httpClient, baseURL+VtctldValidateVSchemaProcedure, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffCreate: connect.NewClient[v18.VDiffCreateRequest, v18.VDiffCreateResponse]( + vDiffCreate: connect.NewClient[v181.VDiffCreateRequest, v181.VDiffCreateResponse]( httpClient, baseURL+VtctldVDiffCreateProcedure, - opts..., + connect.WithSchema(vtctldVDiffCreateMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffDelete: connect.NewClient[v18.VDiffDeleteRequest, v18.VDiffDeleteResponse]( + vDiffDelete: connect.NewClient[v181.VDiffDeleteRequest, v181.VDiffDeleteResponse]( httpClient, baseURL+VtctldVDiffDeleteProcedure, - opts..., + connect.WithSchema(vtctldVDiffDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffResume: connect.NewClient[v18.VDiffResumeRequest, v18.VDiffResumeResponse]( + vDiffResume: connect.NewClient[v181.VDiffResumeRequest, v181.VDiffResumeResponse]( httpClient, baseURL+VtctldVDiffResumeProcedure, - opts..., + connect.WithSchema(vtctldVDiffResumeMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffShow: connect.NewClient[v18.VDiffShowRequest, v18.VDiffShowResponse]( + vDiffShow: connect.NewClient[v181.VDiffShowRequest, v181.VDiffShowResponse]( httpClient, baseURL+VtctldVDiffShowProcedure, - opts..., + connect.WithSchema(vtctldVDiffShowMethodDescriptor), + connect.WithClientOptions(opts...), ), - vDiffStop: connect.NewClient[v18.VDiffStopRequest, v18.VDiffStopResponse]( + vDiffStop: connect.NewClient[v181.VDiffStopRequest, v181.VDiffStopResponse]( httpClient, baseURL+VtctldVDiffStopProcedure, - opts..., + connect.WithSchema(vtctldVDiffStopMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowDelete: connect.NewClient[v18.WorkflowDeleteRequest, v18.WorkflowDeleteResponse]( + workflowDelete: connect.NewClient[v181.WorkflowDeleteRequest, v181.WorkflowDeleteResponse]( httpClient, baseURL+VtctldWorkflowDeleteProcedure, - opts..., + connect.WithSchema(vtctldWorkflowDeleteMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowStatus: connect.NewClient[v18.WorkflowStatusRequest, v18.WorkflowStatusResponse]( + workflowStatus: connect.NewClient[v181.WorkflowStatusRequest, v181.WorkflowStatusResponse]( httpClient, baseURL+VtctldWorkflowStatusProcedure, - opts..., + connect.WithSchema(vtctldWorkflowStatusMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowSwitchTraffic: connect.NewClient[v18.WorkflowSwitchTrafficRequest, v18.WorkflowSwitchTrafficResponse]( + workflowSwitchTraffic: connect.NewClient[v181.WorkflowSwitchTrafficRequest, v181.WorkflowSwitchTrafficResponse]( httpClient, baseURL+VtctldWorkflowSwitchTrafficProcedure, - opts..., + connect.WithSchema(vtctldWorkflowSwitchTrafficMethodDescriptor), + connect.WithClientOptions(opts...), ), - workflowUpdate: connect.NewClient[v18.WorkflowUpdateRequest, v18.WorkflowUpdateResponse]( + workflowUpdate: connect.NewClient[v181.WorkflowUpdateRequest, v181.WorkflowUpdateResponse]( httpClient, baseURL+VtctldWorkflowUpdateProcedure, - opts..., + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vtctldClient implements VtctldClient. type vtctldClient struct { - addCellInfo *connect.Client[v18.AddCellInfoRequest, v18.AddCellInfoResponse] - addCellsAlias *connect.Client[v18.AddCellsAliasRequest, v18.AddCellsAliasResponse] - applyRoutingRules *connect.Client[v18.ApplyRoutingRulesRequest, v18.ApplyRoutingRulesResponse] - applySchema *connect.Client[v18.ApplySchemaRequest, v18.ApplySchemaResponse] - applyShardRoutingRules *connect.Client[v18.ApplyShardRoutingRulesRequest, v18.ApplyShardRoutingRulesResponse] - applyVSchema *connect.Client[v18.ApplyVSchemaRequest, v18.ApplyVSchemaResponse] - backup *connect.Client[v18.BackupRequest, v18.BackupResponse] - backupShard *connect.Client[v18.BackupShardRequest, v18.BackupResponse] - cancelSchemaMigration *connect.Client[v18.CancelSchemaMigrationRequest, v18.CancelSchemaMigrationResponse] - changeTabletType *connect.Client[v18.ChangeTabletTypeRequest, v18.ChangeTabletTypeResponse] - cleanupSchemaMigration *connect.Client[v18.CleanupSchemaMigrationRequest, v18.CleanupSchemaMigrationResponse] - completeSchemaMigration *connect.Client[v18.CompleteSchemaMigrationRequest, v18.CompleteSchemaMigrationResponse] - createKeyspace *connect.Client[v18.CreateKeyspaceRequest, v18.CreateKeyspaceResponse] - createShard *connect.Client[v18.CreateShardRequest, v18.CreateShardResponse] - deleteCellInfo *connect.Client[v18.DeleteCellInfoRequest, v18.DeleteCellInfoResponse] - deleteCellsAlias *connect.Client[v18.DeleteCellsAliasRequest, v18.DeleteCellsAliasResponse] - deleteKeyspace *connect.Client[v18.DeleteKeyspaceRequest, v18.DeleteKeyspaceResponse] - deleteShards *connect.Client[v18.DeleteShardsRequest, v18.DeleteShardsResponse] - deleteSrvVSchema *connect.Client[v18.DeleteSrvVSchemaRequest, v18.DeleteSrvVSchemaResponse] - deleteTablets *connect.Client[v18.DeleteTabletsRequest, v18.DeleteTabletsResponse] - emergencyReparentShard *connect.Client[v18.EmergencyReparentShardRequest, v18.EmergencyReparentShardResponse] - executeFetchAsApp *connect.Client[v18.ExecuteFetchAsAppRequest, v18.ExecuteFetchAsAppResponse] - executeFetchAsDBA *connect.Client[v18.ExecuteFetchAsDBARequest, v18.ExecuteFetchAsDBAResponse] - executeHook *connect.Client[v18.ExecuteHookRequest, v18.ExecuteHookResponse] - findAllShardsInKeyspace *connect.Client[v18.FindAllShardsInKeyspaceRequest, v18.FindAllShardsInKeyspaceResponse] - getBackups *connect.Client[v18.GetBackupsRequest, v18.GetBackupsResponse] - getCellInfo *connect.Client[v18.GetCellInfoRequest, v18.GetCellInfoResponse] - getCellInfoNames *connect.Client[v18.GetCellInfoNamesRequest, v18.GetCellInfoNamesResponse] - getCellsAliases *connect.Client[v18.GetCellsAliasesRequest, v18.GetCellsAliasesResponse] - getFullStatus *connect.Client[v18.GetFullStatusRequest, v18.GetFullStatusResponse] - getKeyspace *connect.Client[v18.GetKeyspaceRequest, v18.GetKeyspaceResponse] - getKeyspaces *connect.Client[v18.GetKeyspacesRequest, v18.GetKeyspacesResponse] - getPermissions *connect.Client[v18.GetPermissionsRequest, v18.GetPermissionsResponse] - getRoutingRules *connect.Client[v18.GetRoutingRulesRequest, v18.GetRoutingRulesResponse] - getSchema *connect.Client[v18.GetSchemaRequest, v18.GetSchemaResponse] - getSchemaMigrations *connect.Client[v18.GetSchemaMigrationsRequest, v18.GetSchemaMigrationsResponse] - getShard *connect.Client[v18.GetShardRequest, v18.GetShardResponse] - getShardRoutingRules *connect.Client[v18.GetShardRoutingRulesRequest, v18.GetShardRoutingRulesResponse] - getSrvKeyspaceNames *connect.Client[v18.GetSrvKeyspaceNamesRequest, v18.GetSrvKeyspaceNamesResponse] - getSrvKeyspaces *connect.Client[v18.GetSrvKeyspacesRequest, v18.GetSrvKeyspacesResponse] - updateThrottlerConfig *connect.Client[v18.UpdateThrottlerConfigRequest, v18.UpdateThrottlerConfigResponse] - getSrvVSchema *connect.Client[v18.GetSrvVSchemaRequest, v18.GetSrvVSchemaResponse] - getSrvVSchemas *connect.Client[v18.GetSrvVSchemasRequest, v18.GetSrvVSchemasResponse] - getTablet *connect.Client[v18.GetTabletRequest, v18.GetTabletResponse] - getTablets *connect.Client[v18.GetTabletsRequest, v18.GetTabletsResponse] - getTopologyPath *connect.Client[v18.GetTopologyPathRequest, v18.GetTopologyPathResponse] - getVersion *connect.Client[v18.GetVersionRequest, v18.GetVersionResponse] - getVSchema *connect.Client[v18.GetVSchemaRequest, v18.GetVSchemaResponse] - getWorkflows *connect.Client[v18.GetWorkflowsRequest, v18.GetWorkflowsResponse] - initShardPrimary *connect.Client[v18.InitShardPrimaryRequest, v18.InitShardPrimaryResponse] - launchSchemaMigration *connect.Client[v18.LaunchSchemaMigrationRequest, v18.LaunchSchemaMigrationResponse] - lookupVindexCreate *connect.Client[v18.LookupVindexCreateRequest, v18.LookupVindexCreateResponse] - lookupVindexExternalize *connect.Client[v18.LookupVindexExternalizeRequest, v18.LookupVindexExternalizeResponse] - materializeCreate *connect.Client[v18.MaterializeCreateRequest, v18.MaterializeCreateResponse] - migrateCreate *connect.Client[v18.MigrateCreateRequest, v18.WorkflowStatusResponse] - mountRegister *connect.Client[v18.MountRegisterRequest, v18.MountRegisterResponse] - mountUnregister *connect.Client[v18.MountUnregisterRequest, v18.MountUnregisterResponse] - mountShow *connect.Client[v18.MountShowRequest, v18.MountShowResponse] - mountList *connect.Client[v18.MountListRequest, v18.MountListResponse] - moveTablesCreate *connect.Client[v18.MoveTablesCreateRequest, v18.WorkflowStatusResponse] - moveTablesComplete *connect.Client[v18.MoveTablesCompleteRequest, v18.MoveTablesCompleteResponse] - pingTablet *connect.Client[v18.PingTabletRequest, v18.PingTabletResponse] - plannedReparentShard *connect.Client[v18.PlannedReparentShardRequest, v18.PlannedReparentShardResponse] - rebuildKeyspaceGraph *connect.Client[v18.RebuildKeyspaceGraphRequest, v18.RebuildKeyspaceGraphResponse] - rebuildVSchemaGraph *connect.Client[v18.RebuildVSchemaGraphRequest, v18.RebuildVSchemaGraphResponse] - refreshState *connect.Client[v18.RefreshStateRequest, v18.RefreshStateResponse] - refreshStateByShard *connect.Client[v18.RefreshStateByShardRequest, v18.RefreshStateByShardResponse] - reloadSchema *connect.Client[v18.ReloadSchemaRequest, v18.ReloadSchemaResponse] - reloadSchemaKeyspace *connect.Client[v18.ReloadSchemaKeyspaceRequest, v18.ReloadSchemaKeyspaceResponse] - reloadSchemaShard *connect.Client[v18.ReloadSchemaShardRequest, v18.ReloadSchemaShardResponse] - removeBackup *connect.Client[v18.RemoveBackupRequest, v18.RemoveBackupResponse] - removeKeyspaceCell *connect.Client[v18.RemoveKeyspaceCellRequest, v18.RemoveKeyspaceCellResponse] - removeShardCell *connect.Client[v18.RemoveShardCellRequest, v18.RemoveShardCellResponse] - reparentTablet *connect.Client[v18.ReparentTabletRequest, v18.ReparentTabletResponse] - reshardCreate *connect.Client[v18.ReshardCreateRequest, v18.WorkflowStatusResponse] - restoreFromBackup *connect.Client[v18.RestoreFromBackupRequest, v18.RestoreFromBackupResponse] - retrySchemaMigration *connect.Client[v18.RetrySchemaMigrationRequest, v18.RetrySchemaMigrationResponse] - runHealthCheck *connect.Client[v18.RunHealthCheckRequest, v18.RunHealthCheckResponse] - setKeyspaceDurabilityPolicy *connect.Client[v18.SetKeyspaceDurabilityPolicyRequest, v18.SetKeyspaceDurabilityPolicyResponse] - setShardIsPrimaryServing *connect.Client[v18.SetShardIsPrimaryServingRequest, v18.SetShardIsPrimaryServingResponse] - setShardTabletControl *connect.Client[v18.SetShardTabletControlRequest, v18.SetShardTabletControlResponse] - setWritable *connect.Client[v18.SetWritableRequest, v18.SetWritableResponse] - shardReplicationAdd *connect.Client[v18.ShardReplicationAddRequest, v18.ShardReplicationAddResponse] - shardReplicationFix *connect.Client[v18.ShardReplicationFixRequest, v18.ShardReplicationFixResponse] - shardReplicationPositions *connect.Client[v18.ShardReplicationPositionsRequest, v18.ShardReplicationPositionsResponse] - shardReplicationRemove *connect.Client[v18.ShardReplicationRemoveRequest, v18.ShardReplicationRemoveResponse] - sleepTablet *connect.Client[v18.SleepTabletRequest, v18.SleepTabletResponse] - sourceShardAdd *connect.Client[v18.SourceShardAddRequest, v18.SourceShardAddResponse] - sourceShardDelete *connect.Client[v18.SourceShardDeleteRequest, v18.SourceShardDeleteResponse] - startReplication *connect.Client[v18.StartReplicationRequest, v18.StartReplicationResponse] - stopReplication *connect.Client[v18.StopReplicationRequest, v18.StopReplicationResponse] - tabletExternallyReparented *connect.Client[v18.TabletExternallyReparentedRequest, v18.TabletExternallyReparentedResponse] - updateCellInfo *connect.Client[v18.UpdateCellInfoRequest, v18.UpdateCellInfoResponse] - updateCellsAlias *connect.Client[v18.UpdateCellsAliasRequest, v18.UpdateCellsAliasResponse] - validate *connect.Client[v18.ValidateRequest, v18.ValidateResponse] - validateKeyspace *connect.Client[v18.ValidateKeyspaceRequest, v18.ValidateKeyspaceResponse] - validateSchemaKeyspace *connect.Client[v18.ValidateSchemaKeyspaceRequest, v18.ValidateSchemaKeyspaceResponse] - validateShard *connect.Client[v18.ValidateShardRequest, v18.ValidateShardResponse] - validateVersionKeyspace *connect.Client[v18.ValidateVersionKeyspaceRequest, v18.ValidateVersionKeyspaceResponse] - validateVersionShard *connect.Client[v18.ValidateVersionShardRequest, v18.ValidateVersionShardResponse] - validateVSchema *connect.Client[v18.ValidateVSchemaRequest, v18.ValidateVSchemaResponse] - vDiffCreate *connect.Client[v18.VDiffCreateRequest, v18.VDiffCreateResponse] - vDiffDelete *connect.Client[v18.VDiffDeleteRequest, v18.VDiffDeleteResponse] - vDiffResume *connect.Client[v18.VDiffResumeRequest, v18.VDiffResumeResponse] - vDiffShow *connect.Client[v18.VDiffShowRequest, v18.VDiffShowResponse] - vDiffStop *connect.Client[v18.VDiffStopRequest, v18.VDiffStopResponse] - workflowDelete *connect.Client[v18.WorkflowDeleteRequest, v18.WorkflowDeleteResponse] - workflowStatus *connect.Client[v18.WorkflowStatusRequest, v18.WorkflowStatusResponse] - workflowSwitchTraffic *connect.Client[v18.WorkflowSwitchTrafficRequest, v18.WorkflowSwitchTrafficResponse] - workflowUpdate *connect.Client[v18.WorkflowUpdateRequest, v18.WorkflowUpdateResponse] + addCellInfo *connect.Client[v181.AddCellInfoRequest, v181.AddCellInfoResponse] + addCellsAlias *connect.Client[v181.AddCellsAliasRequest, v181.AddCellsAliasResponse] + applyRoutingRules *connect.Client[v181.ApplyRoutingRulesRequest, v181.ApplyRoutingRulesResponse] + applySchema *connect.Client[v181.ApplySchemaRequest, v181.ApplySchemaResponse] + applyShardRoutingRules *connect.Client[v181.ApplyShardRoutingRulesRequest, v181.ApplyShardRoutingRulesResponse] + applyVSchema *connect.Client[v181.ApplyVSchemaRequest, v181.ApplyVSchemaResponse] + backup *connect.Client[v181.BackupRequest, v181.BackupResponse] + backupShard *connect.Client[v181.BackupShardRequest, v181.BackupResponse] + cancelSchemaMigration *connect.Client[v181.CancelSchemaMigrationRequest, v181.CancelSchemaMigrationResponse] + changeTabletType *connect.Client[v181.ChangeTabletTypeRequest, v181.ChangeTabletTypeResponse] + cleanupSchemaMigration *connect.Client[v181.CleanupSchemaMigrationRequest, v181.CleanupSchemaMigrationResponse] + completeSchemaMigration *connect.Client[v181.CompleteSchemaMigrationRequest, v181.CompleteSchemaMigrationResponse] + createKeyspace *connect.Client[v181.CreateKeyspaceRequest, v181.CreateKeyspaceResponse] + createShard *connect.Client[v181.CreateShardRequest, v181.CreateShardResponse] + deleteCellInfo *connect.Client[v181.DeleteCellInfoRequest, v181.DeleteCellInfoResponse] + deleteCellsAlias *connect.Client[v181.DeleteCellsAliasRequest, v181.DeleteCellsAliasResponse] + deleteKeyspace *connect.Client[v181.DeleteKeyspaceRequest, v181.DeleteKeyspaceResponse] + deleteShards *connect.Client[v181.DeleteShardsRequest, v181.DeleteShardsResponse] + deleteSrvVSchema *connect.Client[v181.DeleteSrvVSchemaRequest, v181.DeleteSrvVSchemaResponse] + deleteTablets *connect.Client[v181.DeleteTabletsRequest, v181.DeleteTabletsResponse] + emergencyReparentShard *connect.Client[v181.EmergencyReparentShardRequest, v181.EmergencyReparentShardResponse] + executeFetchAsApp *connect.Client[v181.ExecuteFetchAsAppRequest, v181.ExecuteFetchAsAppResponse] + executeFetchAsDBA *connect.Client[v181.ExecuteFetchAsDBARequest, v181.ExecuteFetchAsDBAResponse] + executeHook *connect.Client[v181.ExecuteHookRequest, v181.ExecuteHookResponse] + findAllShardsInKeyspace *connect.Client[v181.FindAllShardsInKeyspaceRequest, v181.FindAllShardsInKeyspaceResponse] + getBackups *connect.Client[v181.GetBackupsRequest, v181.GetBackupsResponse] + getCellInfo *connect.Client[v181.GetCellInfoRequest, v181.GetCellInfoResponse] + getCellInfoNames *connect.Client[v181.GetCellInfoNamesRequest, v181.GetCellInfoNamesResponse] + getCellsAliases *connect.Client[v181.GetCellsAliasesRequest, v181.GetCellsAliasesResponse] + getFullStatus *connect.Client[v181.GetFullStatusRequest, v181.GetFullStatusResponse] + getKeyspace *connect.Client[v181.GetKeyspaceRequest, v181.GetKeyspaceResponse] + getKeyspaces *connect.Client[v181.GetKeyspacesRequest, v181.GetKeyspacesResponse] + getPermissions *connect.Client[v181.GetPermissionsRequest, v181.GetPermissionsResponse] + getRoutingRules *connect.Client[v181.GetRoutingRulesRequest, v181.GetRoutingRulesResponse] + getSchema *connect.Client[v181.GetSchemaRequest, v181.GetSchemaResponse] + getSchemaMigrations *connect.Client[v181.GetSchemaMigrationsRequest, v181.GetSchemaMigrationsResponse] + getShard *connect.Client[v181.GetShardRequest, v181.GetShardResponse] + getShardRoutingRules *connect.Client[v181.GetShardRoutingRulesRequest, v181.GetShardRoutingRulesResponse] + getSrvKeyspaceNames *connect.Client[v181.GetSrvKeyspaceNamesRequest, v181.GetSrvKeyspaceNamesResponse] + getSrvKeyspaces *connect.Client[v181.GetSrvKeyspacesRequest, v181.GetSrvKeyspacesResponse] + updateThrottlerConfig *connect.Client[v181.UpdateThrottlerConfigRequest, v181.UpdateThrottlerConfigResponse] + getSrvVSchema *connect.Client[v181.GetSrvVSchemaRequest, v181.GetSrvVSchemaResponse] + getSrvVSchemas *connect.Client[v181.GetSrvVSchemasRequest, v181.GetSrvVSchemasResponse] + getTablet *connect.Client[v181.GetTabletRequest, v181.GetTabletResponse] + getTablets *connect.Client[v181.GetTabletsRequest, v181.GetTabletsResponse] + getTopologyPath *connect.Client[v181.GetTopologyPathRequest, v181.GetTopologyPathResponse] + getVersion *connect.Client[v181.GetVersionRequest, v181.GetVersionResponse] + getVSchema *connect.Client[v181.GetVSchemaRequest, v181.GetVSchemaResponse] + getWorkflows *connect.Client[v181.GetWorkflowsRequest, v181.GetWorkflowsResponse] + initShardPrimary *connect.Client[v181.InitShardPrimaryRequest, v181.InitShardPrimaryResponse] + launchSchemaMigration *connect.Client[v181.LaunchSchemaMigrationRequest, v181.LaunchSchemaMigrationResponse] + lookupVindexCreate *connect.Client[v181.LookupVindexCreateRequest, v181.LookupVindexCreateResponse] + lookupVindexExternalize *connect.Client[v181.LookupVindexExternalizeRequest, v181.LookupVindexExternalizeResponse] + materializeCreate *connect.Client[v181.MaterializeCreateRequest, v181.MaterializeCreateResponse] + migrateCreate *connect.Client[v181.MigrateCreateRequest, v181.WorkflowStatusResponse] + mountRegister *connect.Client[v181.MountRegisterRequest, v181.MountRegisterResponse] + mountUnregister *connect.Client[v181.MountUnregisterRequest, v181.MountUnregisterResponse] + mountShow *connect.Client[v181.MountShowRequest, v181.MountShowResponse] + mountList *connect.Client[v181.MountListRequest, v181.MountListResponse] + moveTablesCreate *connect.Client[v181.MoveTablesCreateRequest, v181.WorkflowStatusResponse] + moveTablesComplete *connect.Client[v181.MoveTablesCompleteRequest, v181.MoveTablesCompleteResponse] + pingTablet *connect.Client[v181.PingTabletRequest, v181.PingTabletResponse] + plannedReparentShard *connect.Client[v181.PlannedReparentShardRequest, v181.PlannedReparentShardResponse] + rebuildKeyspaceGraph *connect.Client[v181.RebuildKeyspaceGraphRequest, v181.RebuildKeyspaceGraphResponse] + rebuildVSchemaGraph *connect.Client[v181.RebuildVSchemaGraphRequest, v181.RebuildVSchemaGraphResponse] + refreshState *connect.Client[v181.RefreshStateRequest, v181.RefreshStateResponse] + refreshStateByShard *connect.Client[v181.RefreshStateByShardRequest, v181.RefreshStateByShardResponse] + reloadSchema *connect.Client[v181.ReloadSchemaRequest, v181.ReloadSchemaResponse] + reloadSchemaKeyspace *connect.Client[v181.ReloadSchemaKeyspaceRequest, v181.ReloadSchemaKeyspaceResponse] + reloadSchemaShard *connect.Client[v181.ReloadSchemaShardRequest, v181.ReloadSchemaShardResponse] + removeBackup *connect.Client[v181.RemoveBackupRequest, v181.RemoveBackupResponse] + removeKeyspaceCell *connect.Client[v181.RemoveKeyspaceCellRequest, v181.RemoveKeyspaceCellResponse] + removeShardCell *connect.Client[v181.RemoveShardCellRequest, v181.RemoveShardCellResponse] + reparentTablet *connect.Client[v181.ReparentTabletRequest, v181.ReparentTabletResponse] + reshardCreate *connect.Client[v181.ReshardCreateRequest, v181.WorkflowStatusResponse] + restoreFromBackup *connect.Client[v181.RestoreFromBackupRequest, v181.RestoreFromBackupResponse] + retrySchemaMigration *connect.Client[v181.RetrySchemaMigrationRequest, v181.RetrySchemaMigrationResponse] + runHealthCheck *connect.Client[v181.RunHealthCheckRequest, v181.RunHealthCheckResponse] + setKeyspaceDurabilityPolicy *connect.Client[v181.SetKeyspaceDurabilityPolicyRequest, v181.SetKeyspaceDurabilityPolicyResponse] + setShardIsPrimaryServing *connect.Client[v181.SetShardIsPrimaryServingRequest, v181.SetShardIsPrimaryServingResponse] + setShardTabletControl *connect.Client[v181.SetShardTabletControlRequest, v181.SetShardTabletControlResponse] + setWritable *connect.Client[v181.SetWritableRequest, v181.SetWritableResponse] + shardReplicationAdd *connect.Client[v181.ShardReplicationAddRequest, v181.ShardReplicationAddResponse] + shardReplicationFix *connect.Client[v181.ShardReplicationFixRequest, v181.ShardReplicationFixResponse] + shardReplicationPositions *connect.Client[v181.ShardReplicationPositionsRequest, v181.ShardReplicationPositionsResponse] + shardReplicationRemove *connect.Client[v181.ShardReplicationRemoveRequest, v181.ShardReplicationRemoveResponse] + sleepTablet *connect.Client[v181.SleepTabletRequest, v181.SleepTabletResponse] + sourceShardAdd *connect.Client[v181.SourceShardAddRequest, v181.SourceShardAddResponse] + sourceShardDelete *connect.Client[v181.SourceShardDeleteRequest, v181.SourceShardDeleteResponse] + startReplication *connect.Client[v181.StartReplicationRequest, v181.StartReplicationResponse] + stopReplication *connect.Client[v181.StopReplicationRequest, v181.StopReplicationResponse] + tabletExternallyReparented *connect.Client[v181.TabletExternallyReparentedRequest, v181.TabletExternallyReparentedResponse] + updateCellInfo *connect.Client[v181.UpdateCellInfoRequest, v181.UpdateCellInfoResponse] + updateCellsAlias *connect.Client[v181.UpdateCellsAliasRequest, v181.UpdateCellsAliasResponse] + validate *connect.Client[v181.ValidateRequest, v181.ValidateResponse] + validateKeyspace *connect.Client[v181.ValidateKeyspaceRequest, v181.ValidateKeyspaceResponse] + validateSchemaKeyspace *connect.Client[v181.ValidateSchemaKeyspaceRequest, v181.ValidateSchemaKeyspaceResponse] + validateShard *connect.Client[v181.ValidateShardRequest, v181.ValidateShardResponse] + validateVersionKeyspace *connect.Client[v181.ValidateVersionKeyspaceRequest, v181.ValidateVersionKeyspaceResponse] + validateVersionShard *connect.Client[v181.ValidateVersionShardRequest, v181.ValidateVersionShardResponse] + validateVSchema *connect.Client[v181.ValidateVSchemaRequest, v181.ValidateVSchemaResponse] + vDiffCreate *connect.Client[v181.VDiffCreateRequest, v181.VDiffCreateResponse] + vDiffDelete *connect.Client[v181.VDiffDeleteRequest, v181.VDiffDeleteResponse] + vDiffResume *connect.Client[v181.VDiffResumeRequest, v181.VDiffResumeResponse] + vDiffShow *connect.Client[v181.VDiffShowRequest, v181.VDiffShowResponse] + vDiffStop *connect.Client[v181.VDiffStopRequest, v181.VDiffStopResponse] + workflowDelete *connect.Client[v181.WorkflowDeleteRequest, v181.WorkflowDeleteResponse] + workflowStatus *connect.Client[v181.WorkflowStatusRequest, v181.WorkflowStatusResponse] + workflowSwitchTraffic *connect.Client[v181.WorkflowSwitchTrafficRequest, v181.WorkflowSwitchTrafficResponse] + workflowUpdate *connect.Client[v181.WorkflowUpdateRequest, v181.WorkflowUpdateResponse] } // AddCellInfo calls vtctlservice.Vtctld.AddCellInfo. -func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[v18.AddCellInfoRequest]) (*connect.Response[v18.AddCellInfoResponse], error) { +func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[v181.AddCellInfoRequest]) (*connect.Response[v181.AddCellInfoResponse], error) { return c.addCellInfo.CallUnary(ctx, req) } // AddCellsAlias calls vtctlservice.Vtctld.AddCellsAlias. -func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[v18.AddCellsAliasRequest]) (*connect.Response[v18.AddCellsAliasResponse], error) { +func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[v181.AddCellsAliasRequest]) (*connect.Response[v181.AddCellsAliasResponse], error) { return c.addCellsAlias.CallUnary(ctx, req) } // ApplyRoutingRules calls vtctlservice.Vtctld.ApplyRoutingRules. -func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[v18.ApplyRoutingRulesRequest]) (*connect.Response[v18.ApplyRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[v181.ApplyRoutingRulesRequest]) (*connect.Response[v181.ApplyRoutingRulesResponse], error) { return c.applyRoutingRules.CallUnary(ctx, req) } // ApplySchema calls vtctlservice.Vtctld.ApplySchema. -func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) { +func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) { return c.applySchema.CallUnary(ctx, req) } // ApplyShardRoutingRules calls vtctlservice.Vtctld.ApplyShardRoutingRules. -func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[v18.ApplyShardRoutingRulesRequest]) (*connect.Response[v18.ApplyShardRoutingRulesResponse], error) { +func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[v181.ApplyShardRoutingRulesRequest]) (*connect.Response[v181.ApplyShardRoutingRulesResponse], error) { return c.applyShardRoutingRules.CallUnary(ctx, req) } // ApplyVSchema calls vtctlservice.Vtctld.ApplyVSchema. -func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[v18.ApplyVSchemaRequest]) (*connect.Response[v18.ApplyVSchemaResponse], error) { +func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[v181.ApplyVSchemaRequest]) (*connect.Response[v181.ApplyVSchemaResponse], error) { return c.applyVSchema.CallUnary(ctx, req) } // Backup calls vtctlservice.Vtctld.Backup. -func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[v18.BackupRequest]) (*connect.ServerStreamForClient[v18.BackupResponse], error) { +func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[v181.BackupRequest]) (*connect.ServerStreamForClient[v181.BackupResponse], error) { return c.backup.CallServerStream(ctx, req) } // BackupShard calls vtctlservice.Vtctld.BackupShard. -func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[v18.BackupShardRequest]) (*connect.ServerStreamForClient[v18.BackupResponse], error) { +func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[v181.BackupShardRequest]) (*connect.ServerStreamForClient[v181.BackupResponse], error) { return c.backupShard.CallServerStream(ctx, req) } // CancelSchemaMigration calls vtctlservice.Vtctld.CancelSchemaMigration. -func (c *vtctldClient) CancelSchemaMigration(ctx context.Context, req *connect.Request[v18.CancelSchemaMigrationRequest]) (*connect.Response[v18.CancelSchemaMigrationResponse], error) { +func (c *vtctldClient) CancelSchemaMigration(ctx context.Context, req *connect.Request[v181.CancelSchemaMigrationRequest]) (*connect.Response[v181.CancelSchemaMigrationResponse], error) { return c.cancelSchemaMigration.CallUnary(ctx, req) } // ChangeTabletType calls vtctlservice.Vtctld.ChangeTabletType. -func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[v18.ChangeTabletTypeRequest]) (*connect.Response[v18.ChangeTabletTypeResponse], error) { +func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[v181.ChangeTabletTypeRequest]) (*connect.Response[v181.ChangeTabletTypeResponse], error) { return c.changeTabletType.CallUnary(ctx, req) } // CleanupSchemaMigration calls vtctlservice.Vtctld.CleanupSchemaMigration. -func (c *vtctldClient) CleanupSchemaMigration(ctx context.Context, req *connect.Request[v18.CleanupSchemaMigrationRequest]) (*connect.Response[v18.CleanupSchemaMigrationResponse], error) { +func (c *vtctldClient) CleanupSchemaMigration(ctx context.Context, req *connect.Request[v181.CleanupSchemaMigrationRequest]) (*connect.Response[v181.CleanupSchemaMigrationResponse], error) { return c.cleanupSchemaMigration.CallUnary(ctx, req) } // CompleteSchemaMigration calls vtctlservice.Vtctld.CompleteSchemaMigration. -func (c *vtctldClient) CompleteSchemaMigration(ctx context.Context, req *connect.Request[v18.CompleteSchemaMigrationRequest]) (*connect.Response[v18.CompleteSchemaMigrationResponse], error) { +func (c *vtctldClient) CompleteSchemaMigration(ctx context.Context, req *connect.Request[v181.CompleteSchemaMigrationRequest]) (*connect.Response[v181.CompleteSchemaMigrationResponse], error) { return c.completeSchemaMigration.CallUnary(ctx, req) } // CreateKeyspace calls vtctlservice.Vtctld.CreateKeyspace. -func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[v18.CreateKeyspaceRequest]) (*connect.Response[v18.CreateKeyspaceResponse], error) { +func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[v181.CreateKeyspaceRequest]) (*connect.Response[v181.CreateKeyspaceResponse], error) { return c.createKeyspace.CallUnary(ctx, req) } // CreateShard calls vtctlservice.Vtctld.CreateShard. -func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[v18.CreateShardRequest]) (*connect.Response[v18.CreateShardResponse], error) { +func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[v181.CreateShardRequest]) (*connect.Response[v181.CreateShardResponse], error) { return c.createShard.CallUnary(ctx, req) } // DeleteCellInfo calls vtctlservice.Vtctld.DeleteCellInfo. -func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[v18.DeleteCellInfoRequest]) (*connect.Response[v18.DeleteCellInfoResponse], error) { +func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[v181.DeleteCellInfoRequest]) (*connect.Response[v181.DeleteCellInfoResponse], error) { return c.deleteCellInfo.CallUnary(ctx, req) } // DeleteCellsAlias calls vtctlservice.Vtctld.DeleteCellsAlias. -func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[v18.DeleteCellsAliasRequest]) (*connect.Response[v18.DeleteCellsAliasResponse], error) { +func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[v181.DeleteCellsAliasRequest]) (*connect.Response[v181.DeleteCellsAliasResponse], error) { return c.deleteCellsAlias.CallUnary(ctx, req) } // DeleteKeyspace calls vtctlservice.Vtctld.DeleteKeyspace. -func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v18.DeleteKeyspaceRequest]) (*connect.Response[v18.DeleteKeyspaceResponse], error) { +func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v181.DeleteKeyspaceRequest]) (*connect.Response[v181.DeleteKeyspaceResponse], error) { return c.deleteKeyspace.CallUnary(ctx, req) } // DeleteShards calls vtctlservice.Vtctld.DeleteShards. -func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[v18.DeleteShardsRequest]) (*connect.Response[v18.DeleteShardsResponse], error) { +func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[v181.DeleteShardsRequest]) (*connect.Response[v181.DeleteShardsResponse], error) { return c.deleteShards.CallUnary(ctx, req) } // DeleteSrvVSchema calls vtctlservice.Vtctld.DeleteSrvVSchema. -func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[v18.DeleteSrvVSchemaRequest]) (*connect.Response[v18.DeleteSrvVSchemaResponse], error) { +func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[v181.DeleteSrvVSchemaRequest]) (*connect.Response[v181.DeleteSrvVSchemaResponse], error) { return c.deleteSrvVSchema.CallUnary(ctx, req) } // DeleteTablets calls vtctlservice.Vtctld.DeleteTablets. -func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[v18.DeleteTabletsRequest]) (*connect.Response[v18.DeleteTabletsResponse], error) { +func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[v181.DeleteTabletsRequest]) (*connect.Response[v181.DeleteTabletsResponse], error) { return c.deleteTablets.CallUnary(ctx, req) } // EmergencyReparentShard calls vtctlservice.Vtctld.EmergencyReparentShard. -func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[v18.EmergencyReparentShardRequest]) (*connect.Response[v18.EmergencyReparentShardResponse], error) { +func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[v181.EmergencyReparentShardRequest]) (*connect.Response[v181.EmergencyReparentShardResponse], error) { return c.emergencyReparentShard.CallUnary(ctx, req) } // ExecuteFetchAsApp calls vtctlservice.Vtctld.ExecuteFetchAsApp. -func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) { +func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) { return c.executeFetchAsApp.CallUnary(ctx, req) } // ExecuteFetchAsDBA calls vtctlservice.Vtctld.ExecuteFetchAsDBA. -func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[v18.ExecuteFetchAsDBARequest]) (*connect.Response[v18.ExecuteFetchAsDBAResponse], error) { +func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[v181.ExecuteFetchAsDBARequest]) (*connect.Response[v181.ExecuteFetchAsDBAResponse], error) { return c.executeFetchAsDBA.CallUnary(ctx, req) } // ExecuteHook calls vtctlservice.Vtctld.ExecuteHook. -func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) { +func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) { return c.executeHook.CallUnary(ctx, req) } // FindAllShardsInKeyspace calls vtctlservice.Vtctld.FindAllShardsInKeyspace. -func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[v18.FindAllShardsInKeyspaceRequest]) (*connect.Response[v18.FindAllShardsInKeyspaceResponse], error) { +func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[v181.FindAllShardsInKeyspaceRequest]) (*connect.Response[v181.FindAllShardsInKeyspaceResponse], error) { return c.findAllShardsInKeyspace.CallUnary(ctx, req) } // GetBackups calls vtctlservice.Vtctld.GetBackups. -func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[v18.GetBackupsRequest]) (*connect.Response[v18.GetBackupsResponse], error) { +func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[v181.GetBackupsRequest]) (*connect.Response[v181.GetBackupsResponse], error) { return c.getBackups.CallUnary(ctx, req) } // GetCellInfo calls vtctlservice.Vtctld.GetCellInfo. -func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[v18.GetCellInfoRequest]) (*connect.Response[v18.GetCellInfoResponse], error) { +func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[v181.GetCellInfoRequest]) (*connect.Response[v181.GetCellInfoResponse], error) { return c.getCellInfo.CallUnary(ctx, req) } // GetCellInfoNames calls vtctlservice.Vtctld.GetCellInfoNames. -func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[v18.GetCellInfoNamesRequest]) (*connect.Response[v18.GetCellInfoNamesResponse], error) { +func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[v181.GetCellInfoNamesRequest]) (*connect.Response[v181.GetCellInfoNamesResponse], error) { return c.getCellInfoNames.CallUnary(ctx, req) } // GetCellsAliases calls vtctlservice.Vtctld.GetCellsAliases. -func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[v18.GetCellsAliasesRequest]) (*connect.Response[v18.GetCellsAliasesResponse], error) { +func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[v181.GetCellsAliasesRequest]) (*connect.Response[v181.GetCellsAliasesResponse], error) { return c.getCellsAliases.CallUnary(ctx, req) } // GetFullStatus calls vtctlservice.Vtctld.GetFullStatus. -func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[v18.GetFullStatusRequest]) (*connect.Response[v18.GetFullStatusResponse], error) { +func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[v181.GetFullStatusRequest]) (*connect.Response[v181.GetFullStatusResponse], error) { return c.getFullStatus.CallUnary(ctx, req) } // GetKeyspace calls vtctlservice.Vtctld.GetKeyspace. -func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[v18.GetKeyspaceRequest]) (*connect.Response[v18.GetKeyspaceResponse], error) { +func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[v181.GetKeyspaceRequest]) (*connect.Response[v181.GetKeyspaceResponse], error) { return c.getKeyspace.CallUnary(ctx, req) } // GetKeyspaces calls vtctlservice.Vtctld.GetKeyspaces. -func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[v18.GetKeyspacesRequest]) (*connect.Response[v18.GetKeyspacesResponse], error) { +func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[v181.GetKeyspacesRequest]) (*connect.Response[v181.GetKeyspacesResponse], error) { return c.getKeyspaces.CallUnary(ctx, req) } // GetPermissions calls vtctlservice.Vtctld.GetPermissions. -func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) { +func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) { return c.getPermissions.CallUnary(ctx, req) } // GetRoutingRules calls vtctlservice.Vtctld.GetRoutingRules. -func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[v18.GetRoutingRulesRequest]) (*connect.Response[v18.GetRoutingRulesResponse], error) { +func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[v181.GetRoutingRulesRequest]) (*connect.Response[v181.GetRoutingRulesResponse], error) { return c.getRoutingRules.CallUnary(ctx, req) } // GetSchema calls vtctlservice.Vtctld.GetSchema. -func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) { +func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) { return c.getSchema.CallUnary(ctx, req) } // GetSchemaMigrations calls vtctlservice.Vtctld.GetSchemaMigrations. -func (c *vtctldClient) GetSchemaMigrations(ctx context.Context, req *connect.Request[v18.GetSchemaMigrationsRequest]) (*connect.Response[v18.GetSchemaMigrationsResponse], error) { +func (c *vtctldClient) GetSchemaMigrations(ctx context.Context, req *connect.Request[v181.GetSchemaMigrationsRequest]) (*connect.Response[v181.GetSchemaMigrationsResponse], error) { return c.getSchemaMigrations.CallUnary(ctx, req) } // GetShard calls vtctlservice.Vtctld.GetShard. -func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[v18.GetShardRequest]) (*connect.Response[v18.GetShardResponse], error) { +func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[v181.GetShardRequest]) (*connect.Response[v181.GetShardResponse], error) { return c.getShard.CallUnary(ctx, req) } // GetShardRoutingRules calls vtctlservice.Vtctld.GetShardRoutingRules. -func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[v18.GetShardRoutingRulesRequest]) (*connect.Response[v18.GetShardRoutingRulesResponse], error) { +func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[v181.GetShardRoutingRulesRequest]) (*connect.Response[v181.GetShardRoutingRulesResponse], error) { return c.getShardRoutingRules.CallUnary(ctx, req) } // GetSrvKeyspaceNames calls vtctlservice.Vtctld.GetSrvKeyspaceNames. -func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[v18.GetSrvKeyspaceNamesRequest]) (*connect.Response[v18.GetSrvKeyspaceNamesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[v181.GetSrvKeyspaceNamesRequest]) (*connect.Response[v181.GetSrvKeyspaceNamesResponse], error) { return c.getSrvKeyspaceNames.CallUnary(ctx, req) } // GetSrvKeyspaces calls vtctlservice.Vtctld.GetSrvKeyspaces. -func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v18.GetSrvKeyspacesRequest]) (*connect.Response[v18.GetSrvKeyspacesResponse], error) { +func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v181.GetSrvKeyspacesRequest]) (*connect.Response[v181.GetSrvKeyspacesResponse], error) { return c.getSrvKeyspaces.CallUnary(ctx, req) } // UpdateThrottlerConfig calls vtctlservice.Vtctld.UpdateThrottlerConfig. -func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[v18.UpdateThrottlerConfigRequest]) (*connect.Response[v18.UpdateThrottlerConfigResponse], error) { +func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[v181.UpdateThrottlerConfigRequest]) (*connect.Response[v181.UpdateThrottlerConfigResponse], error) { return c.updateThrottlerConfig.CallUnary(ctx, req) } // GetSrvVSchema calls vtctlservice.Vtctld.GetSrvVSchema. -func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v18.GetSrvVSchemaRequest]) (*connect.Response[v18.GetSrvVSchemaResponse], error) { +func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v181.GetSrvVSchemaRequest]) (*connect.Response[v181.GetSrvVSchemaResponse], error) { return c.getSrvVSchema.CallUnary(ctx, req) } // GetSrvVSchemas calls vtctlservice.Vtctld.GetSrvVSchemas. -func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v18.GetSrvVSchemasRequest]) (*connect.Response[v18.GetSrvVSchemasResponse], error) { +func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v181.GetSrvVSchemasRequest]) (*connect.Response[v181.GetSrvVSchemasResponse], error) { return c.getSrvVSchemas.CallUnary(ctx, req) } // GetTablet calls vtctlservice.Vtctld.GetTablet. -func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[v18.GetTabletRequest]) (*connect.Response[v18.GetTabletResponse], error) { +func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[v181.GetTabletRequest]) (*connect.Response[v181.GetTabletResponse], error) { return c.getTablet.CallUnary(ctx, req) } // GetTablets calls vtctlservice.Vtctld.GetTablets. -func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[v18.GetTabletsRequest]) (*connect.Response[v18.GetTabletsResponse], error) { +func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[v181.GetTabletsRequest]) (*connect.Response[v181.GetTabletsResponse], error) { return c.getTablets.CallUnary(ctx, req) } // GetTopologyPath calls vtctlservice.Vtctld.GetTopologyPath. -func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[v18.GetTopologyPathRequest]) (*connect.Response[v18.GetTopologyPathResponse], error) { +func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[v181.GetTopologyPathRequest]) (*connect.Response[v181.GetTopologyPathResponse], error) { return c.getTopologyPath.CallUnary(ctx, req) } // GetVersion calls vtctlservice.Vtctld.GetVersion. -func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[v18.GetVersionRequest]) (*connect.Response[v18.GetVersionResponse], error) { +func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[v181.GetVersionRequest]) (*connect.Response[v181.GetVersionResponse], error) { return c.getVersion.CallUnary(ctx, req) } // GetVSchema calls vtctlservice.Vtctld.GetVSchema. -func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[v18.GetVSchemaRequest]) (*connect.Response[v18.GetVSchemaResponse], error) { +func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[v181.GetVSchemaRequest]) (*connect.Response[v181.GetVSchemaResponse], error) { return c.getVSchema.CallUnary(ctx, req) } // GetWorkflows calls vtctlservice.Vtctld.GetWorkflows. -func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[v18.GetWorkflowsRequest]) (*connect.Response[v18.GetWorkflowsResponse], error) { +func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[v181.GetWorkflowsRequest]) (*connect.Response[v181.GetWorkflowsResponse], error) { return c.getWorkflows.CallUnary(ctx, req) } // InitShardPrimary calls vtctlservice.Vtctld.InitShardPrimary. -func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[v18.InitShardPrimaryRequest]) (*connect.Response[v18.InitShardPrimaryResponse], error) { +func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[v181.InitShardPrimaryRequest]) (*connect.Response[v181.InitShardPrimaryResponse], error) { return c.initShardPrimary.CallUnary(ctx, req) } // LaunchSchemaMigration calls vtctlservice.Vtctld.LaunchSchemaMigration. -func (c *vtctldClient) LaunchSchemaMigration(ctx context.Context, req *connect.Request[v18.LaunchSchemaMigrationRequest]) (*connect.Response[v18.LaunchSchemaMigrationResponse], error) { +func (c *vtctldClient) LaunchSchemaMigration(ctx context.Context, req *connect.Request[v181.LaunchSchemaMigrationRequest]) (*connect.Response[v181.LaunchSchemaMigrationResponse], error) { return c.launchSchemaMigration.CallUnary(ctx, req) } // LookupVindexCreate calls vtctlservice.Vtctld.LookupVindexCreate. -func (c *vtctldClient) LookupVindexCreate(ctx context.Context, req *connect.Request[v18.LookupVindexCreateRequest]) (*connect.Response[v18.LookupVindexCreateResponse], error) { +func (c *vtctldClient) LookupVindexCreate(ctx context.Context, req *connect.Request[v181.LookupVindexCreateRequest]) (*connect.Response[v181.LookupVindexCreateResponse], error) { return c.lookupVindexCreate.CallUnary(ctx, req) } // LookupVindexExternalize calls vtctlservice.Vtctld.LookupVindexExternalize. -func (c *vtctldClient) LookupVindexExternalize(ctx context.Context, req *connect.Request[v18.LookupVindexExternalizeRequest]) (*connect.Response[v18.LookupVindexExternalizeResponse], error) { +func (c *vtctldClient) LookupVindexExternalize(ctx context.Context, req *connect.Request[v181.LookupVindexExternalizeRequest]) (*connect.Response[v181.LookupVindexExternalizeResponse], error) { return c.lookupVindexExternalize.CallUnary(ctx, req) } // MaterializeCreate calls vtctlservice.Vtctld.MaterializeCreate. -func (c *vtctldClient) MaterializeCreate(ctx context.Context, req *connect.Request[v18.MaterializeCreateRequest]) (*connect.Response[v18.MaterializeCreateResponse], error) { +func (c *vtctldClient) MaterializeCreate(ctx context.Context, req *connect.Request[v181.MaterializeCreateRequest]) (*connect.Response[v181.MaterializeCreateResponse], error) { return c.materializeCreate.CallUnary(ctx, req) } // MigrateCreate calls vtctlservice.Vtctld.MigrateCreate. -func (c *vtctldClient) MigrateCreate(ctx context.Context, req *connect.Request[v18.MigrateCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (c *vtctldClient) MigrateCreate(ctx context.Context, req *connect.Request[v181.MigrateCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return c.migrateCreate.CallUnary(ctx, req) } // MountRegister calls vtctlservice.Vtctld.MountRegister. -func (c *vtctldClient) MountRegister(ctx context.Context, req *connect.Request[v18.MountRegisterRequest]) (*connect.Response[v18.MountRegisterResponse], error) { +func (c *vtctldClient) MountRegister(ctx context.Context, req *connect.Request[v181.MountRegisterRequest]) (*connect.Response[v181.MountRegisterResponse], error) { return c.mountRegister.CallUnary(ctx, req) } // MountUnregister calls vtctlservice.Vtctld.MountUnregister. -func (c *vtctldClient) MountUnregister(ctx context.Context, req *connect.Request[v18.MountUnregisterRequest]) (*connect.Response[v18.MountUnregisterResponse], error) { +func (c *vtctldClient) MountUnregister(ctx context.Context, req *connect.Request[v181.MountUnregisterRequest]) (*connect.Response[v181.MountUnregisterResponse], error) { return c.mountUnregister.CallUnary(ctx, req) } // MountShow calls vtctlservice.Vtctld.MountShow. -func (c *vtctldClient) MountShow(ctx context.Context, req *connect.Request[v18.MountShowRequest]) (*connect.Response[v18.MountShowResponse], error) { +func (c *vtctldClient) MountShow(ctx context.Context, req *connect.Request[v181.MountShowRequest]) (*connect.Response[v181.MountShowResponse], error) { return c.mountShow.CallUnary(ctx, req) } // MountList calls vtctlservice.Vtctld.MountList. -func (c *vtctldClient) MountList(ctx context.Context, req *connect.Request[v18.MountListRequest]) (*connect.Response[v18.MountListResponse], error) { +func (c *vtctldClient) MountList(ctx context.Context, req *connect.Request[v181.MountListRequest]) (*connect.Response[v181.MountListResponse], error) { return c.mountList.CallUnary(ctx, req) } // MoveTablesCreate calls vtctlservice.Vtctld.MoveTablesCreate. -func (c *vtctldClient) MoveTablesCreate(ctx context.Context, req *connect.Request[v18.MoveTablesCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (c *vtctldClient) MoveTablesCreate(ctx context.Context, req *connect.Request[v181.MoveTablesCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return c.moveTablesCreate.CallUnary(ctx, req) } // MoveTablesComplete calls vtctlservice.Vtctld.MoveTablesComplete. -func (c *vtctldClient) MoveTablesComplete(ctx context.Context, req *connect.Request[v18.MoveTablesCompleteRequest]) (*connect.Response[v18.MoveTablesCompleteResponse], error) { +func (c *vtctldClient) MoveTablesComplete(ctx context.Context, req *connect.Request[v181.MoveTablesCompleteRequest]) (*connect.Response[v181.MoveTablesCompleteResponse], error) { return c.moveTablesComplete.CallUnary(ctx, req) } // PingTablet calls vtctlservice.Vtctld.PingTablet. -func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[v18.PingTabletRequest]) (*connect.Response[v18.PingTabletResponse], error) { +func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[v181.PingTabletRequest]) (*connect.Response[v181.PingTabletResponse], error) { return c.pingTablet.CallUnary(ctx, req) } // PlannedReparentShard calls vtctlservice.Vtctld.PlannedReparentShard. -func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[v18.PlannedReparentShardRequest]) (*connect.Response[v18.PlannedReparentShardResponse], error) { +func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[v181.PlannedReparentShardRequest]) (*connect.Response[v181.PlannedReparentShardResponse], error) { return c.plannedReparentShard.CallUnary(ctx, req) } // RebuildKeyspaceGraph calls vtctlservice.Vtctld.RebuildKeyspaceGraph. -func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v18.RebuildKeyspaceGraphRequest]) (*connect.Response[v18.RebuildKeyspaceGraphResponse], error) { +func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v181.RebuildKeyspaceGraphRequest]) (*connect.Response[v181.RebuildKeyspaceGraphResponse], error) { return c.rebuildKeyspaceGraph.CallUnary(ctx, req) } // RebuildVSchemaGraph calls vtctlservice.Vtctld.RebuildVSchemaGraph. -func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[v18.RebuildVSchemaGraphRequest]) (*connect.Response[v18.RebuildVSchemaGraphResponse], error) { +func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[v181.RebuildVSchemaGraphRequest]) (*connect.Response[v181.RebuildVSchemaGraphResponse], error) { return c.rebuildVSchemaGraph.CallUnary(ctx, req) } // RefreshState calls vtctlservice.Vtctld.RefreshState. -func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) { +func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) { return c.refreshState.CallUnary(ctx, req) } // RefreshStateByShard calls vtctlservice.Vtctld.RefreshStateByShard. -func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[v18.RefreshStateByShardRequest]) (*connect.Response[v18.RefreshStateByShardResponse], error) { +func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[v181.RefreshStateByShardRequest]) (*connect.Response[v181.RefreshStateByShardResponse], error) { return c.refreshStateByShard.CallUnary(ctx, req) } // ReloadSchema calls vtctlservice.Vtctld.ReloadSchema. -func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) { +func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) { return c.reloadSchema.CallUnary(ctx, req) } // ReloadSchemaKeyspace calls vtctlservice.Vtctld.ReloadSchemaKeyspace. -func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[v18.ReloadSchemaKeyspaceRequest]) (*connect.Response[v18.ReloadSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[v181.ReloadSchemaKeyspaceRequest]) (*connect.Response[v181.ReloadSchemaKeyspaceResponse], error) { return c.reloadSchemaKeyspace.CallUnary(ctx, req) } // ReloadSchemaShard calls vtctlservice.Vtctld.ReloadSchemaShard. -func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v18.ReloadSchemaShardRequest]) (*connect.Response[v18.ReloadSchemaShardResponse], error) { +func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v181.ReloadSchemaShardRequest]) (*connect.Response[v181.ReloadSchemaShardResponse], error) { return c.reloadSchemaShard.CallUnary(ctx, req) } // RemoveBackup calls vtctlservice.Vtctld.RemoveBackup. -func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[v18.RemoveBackupRequest]) (*connect.Response[v18.RemoveBackupResponse], error) { +func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[v181.RemoveBackupRequest]) (*connect.Response[v181.RemoveBackupResponse], error) { return c.removeBackup.CallUnary(ctx, req) } // RemoveKeyspaceCell calls vtctlservice.Vtctld.RemoveKeyspaceCell. -func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v18.RemoveKeyspaceCellRequest]) (*connect.Response[v18.RemoveKeyspaceCellResponse], error) { +func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v181.RemoveKeyspaceCellRequest]) (*connect.Response[v181.RemoveKeyspaceCellResponse], error) { return c.removeKeyspaceCell.CallUnary(ctx, req) } // RemoveShardCell calls vtctlservice.Vtctld.RemoveShardCell. -func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[v18.RemoveShardCellRequest]) (*connect.Response[v18.RemoveShardCellResponse], error) { +func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[v181.RemoveShardCellRequest]) (*connect.Response[v181.RemoveShardCellResponse], error) { return c.removeShardCell.CallUnary(ctx, req) } // ReparentTablet calls vtctlservice.Vtctld.ReparentTablet. -func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[v18.ReparentTabletRequest]) (*connect.Response[v18.ReparentTabletResponse], error) { +func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[v181.ReparentTabletRequest]) (*connect.Response[v181.ReparentTabletResponse], error) { return c.reparentTablet.CallUnary(ctx, req) } // ReshardCreate calls vtctlservice.Vtctld.ReshardCreate. -func (c *vtctldClient) ReshardCreate(ctx context.Context, req *connect.Request[v18.ReshardCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (c *vtctldClient) ReshardCreate(ctx context.Context, req *connect.Request[v181.ReshardCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return c.reshardCreate.CallUnary(ctx, req) } // RestoreFromBackup calls vtctlservice.Vtctld.RestoreFromBackup. -func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v18.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v18.RestoreFromBackupResponse], error) { +func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v181.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v181.RestoreFromBackupResponse], error) { return c.restoreFromBackup.CallServerStream(ctx, req) } // RetrySchemaMigration calls vtctlservice.Vtctld.RetrySchemaMigration. -func (c *vtctldClient) RetrySchemaMigration(ctx context.Context, req *connect.Request[v18.RetrySchemaMigrationRequest]) (*connect.Response[v18.RetrySchemaMigrationResponse], error) { +func (c *vtctldClient) RetrySchemaMigration(ctx context.Context, req *connect.Request[v181.RetrySchemaMigrationRequest]) (*connect.Response[v181.RetrySchemaMigrationResponse], error) { return c.retrySchemaMigration.CallUnary(ctx, req) } // RunHealthCheck calls vtctlservice.Vtctld.RunHealthCheck. -func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) { +func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) { return c.runHealthCheck.CallUnary(ctx, req) } // SetKeyspaceDurabilityPolicy calls vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy. -func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[v18.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v18.SetKeyspaceDurabilityPolicyResponse], error) { +func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[v181.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v181.SetKeyspaceDurabilityPolicyResponse], error) { return c.setKeyspaceDurabilityPolicy.CallUnary(ctx, req) } // SetShardIsPrimaryServing calls vtctlservice.Vtctld.SetShardIsPrimaryServing. -func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[v18.SetShardIsPrimaryServingRequest]) (*connect.Response[v18.SetShardIsPrimaryServingResponse], error) { +func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[v181.SetShardIsPrimaryServingRequest]) (*connect.Response[v181.SetShardIsPrimaryServingResponse], error) { return c.setShardIsPrimaryServing.CallUnary(ctx, req) } // SetShardTabletControl calls vtctlservice.Vtctld.SetShardTabletControl. -func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[v18.SetShardTabletControlRequest]) (*connect.Response[v18.SetShardTabletControlResponse], error) { +func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[v181.SetShardTabletControlRequest]) (*connect.Response[v181.SetShardTabletControlResponse], error) { return c.setShardTabletControl.CallUnary(ctx, req) } // SetWritable calls vtctlservice.Vtctld.SetWritable. -func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[v18.SetWritableRequest]) (*connect.Response[v18.SetWritableResponse], error) { +func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[v181.SetWritableRequest]) (*connect.Response[v181.SetWritableResponse], error) { return c.setWritable.CallUnary(ctx, req) } // ShardReplicationAdd calls vtctlservice.Vtctld.ShardReplicationAdd. -func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[v18.ShardReplicationAddRequest]) (*connect.Response[v18.ShardReplicationAddResponse], error) { +func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[v181.ShardReplicationAddRequest]) (*connect.Response[v181.ShardReplicationAddResponse], error) { return c.shardReplicationAdd.CallUnary(ctx, req) } // ShardReplicationFix calls vtctlservice.Vtctld.ShardReplicationFix. -func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[v18.ShardReplicationFixRequest]) (*connect.Response[v18.ShardReplicationFixResponse], error) { +func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[v181.ShardReplicationFixRequest]) (*connect.Response[v181.ShardReplicationFixResponse], error) { return c.shardReplicationFix.CallUnary(ctx, req) } // ShardReplicationPositions calls vtctlservice.Vtctld.ShardReplicationPositions. -func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[v18.ShardReplicationPositionsRequest]) (*connect.Response[v18.ShardReplicationPositionsResponse], error) { +func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[v181.ShardReplicationPositionsRequest]) (*connect.Response[v181.ShardReplicationPositionsResponse], error) { return c.shardReplicationPositions.CallUnary(ctx, req) } // ShardReplicationRemove calls vtctlservice.Vtctld.ShardReplicationRemove. -func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[v18.ShardReplicationRemoveRequest]) (*connect.Response[v18.ShardReplicationRemoveResponse], error) { +func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[v181.ShardReplicationRemoveRequest]) (*connect.Response[v181.ShardReplicationRemoveResponse], error) { return c.shardReplicationRemove.CallUnary(ctx, req) } // SleepTablet calls vtctlservice.Vtctld.SleepTablet. -func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[v18.SleepTabletRequest]) (*connect.Response[v18.SleepTabletResponse], error) { +func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[v181.SleepTabletRequest]) (*connect.Response[v181.SleepTabletResponse], error) { return c.sleepTablet.CallUnary(ctx, req) } // SourceShardAdd calls vtctlservice.Vtctld.SourceShardAdd. -func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[v18.SourceShardAddRequest]) (*connect.Response[v18.SourceShardAddResponse], error) { +func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[v181.SourceShardAddRequest]) (*connect.Response[v181.SourceShardAddResponse], error) { return c.sourceShardAdd.CallUnary(ctx, req) } // SourceShardDelete calls vtctlservice.Vtctld.SourceShardDelete. -func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[v18.SourceShardDeleteRequest]) (*connect.Response[v18.SourceShardDeleteResponse], error) { +func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[v181.SourceShardDeleteRequest]) (*connect.Response[v181.SourceShardDeleteResponse], error) { return c.sourceShardDelete.CallUnary(ctx, req) } // StartReplication calls vtctlservice.Vtctld.StartReplication. -func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) { +func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) { return c.startReplication.CallUnary(ctx, req) } // StopReplication calls vtctlservice.Vtctld.StopReplication. -func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) { +func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) { return c.stopReplication.CallUnary(ctx, req) } // TabletExternallyReparented calls vtctlservice.Vtctld.TabletExternallyReparented. -func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[v18.TabletExternallyReparentedRequest]) (*connect.Response[v18.TabletExternallyReparentedResponse], error) { +func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[v181.TabletExternallyReparentedRequest]) (*connect.Response[v181.TabletExternallyReparentedResponse], error) { return c.tabletExternallyReparented.CallUnary(ctx, req) } // UpdateCellInfo calls vtctlservice.Vtctld.UpdateCellInfo. -func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[v18.UpdateCellInfoRequest]) (*connect.Response[v18.UpdateCellInfoResponse], error) { +func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[v181.UpdateCellInfoRequest]) (*connect.Response[v181.UpdateCellInfoResponse], error) { return c.updateCellInfo.CallUnary(ctx, req) } // UpdateCellsAlias calls vtctlservice.Vtctld.UpdateCellsAlias. -func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[v18.UpdateCellsAliasRequest]) (*connect.Response[v18.UpdateCellsAliasResponse], error) { +func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[v181.UpdateCellsAliasRequest]) (*connect.Response[v181.UpdateCellsAliasResponse], error) { return c.updateCellsAlias.CallUnary(ctx, req) } // Validate calls vtctlservice.Vtctld.Validate. -func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[v18.ValidateRequest]) (*connect.Response[v18.ValidateResponse], error) { +func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[v181.ValidateRequest]) (*connect.Response[v181.ValidateResponse], error) { return c.validate.CallUnary(ctx, req) } // ValidateKeyspace calls vtctlservice.Vtctld.ValidateKeyspace. -func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v18.ValidateKeyspaceRequest]) (*connect.Response[v18.ValidateKeyspaceResponse], error) { +func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v181.ValidateKeyspaceRequest]) (*connect.Response[v181.ValidateKeyspaceResponse], error) { return c.validateKeyspace.CallUnary(ctx, req) } // ValidateSchemaKeyspace calls vtctlservice.Vtctld.ValidateSchemaKeyspace. -func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v18.ValidateSchemaKeyspaceRequest]) (*connect.Response[v18.ValidateSchemaKeyspaceResponse], error) { +func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v181.ValidateSchemaKeyspaceRequest]) (*connect.Response[v181.ValidateSchemaKeyspaceResponse], error) { return c.validateSchemaKeyspace.CallUnary(ctx, req) } // ValidateShard calls vtctlservice.Vtctld.ValidateShard. -func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[v18.ValidateShardRequest]) (*connect.Response[v18.ValidateShardResponse], error) { +func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[v181.ValidateShardRequest]) (*connect.Response[v181.ValidateShardResponse], error) { return c.validateShard.CallUnary(ctx, req) } // ValidateVersionKeyspace calls vtctlservice.Vtctld.ValidateVersionKeyspace. -func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v18.ValidateVersionKeyspaceRequest]) (*connect.Response[v18.ValidateVersionKeyspaceResponse], error) { +func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v181.ValidateVersionKeyspaceRequest]) (*connect.Response[v181.ValidateVersionKeyspaceResponse], error) { return c.validateVersionKeyspace.CallUnary(ctx, req) } // ValidateVersionShard calls vtctlservice.Vtctld.ValidateVersionShard. -func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v18.ValidateVersionShardRequest]) (*connect.Response[v18.ValidateVersionShardResponse], error) { +func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v181.ValidateVersionShardRequest]) (*connect.Response[v181.ValidateVersionShardResponse], error) { return c.validateVersionShard.CallUnary(ctx, req) } // ValidateVSchema calls vtctlservice.Vtctld.ValidateVSchema. -func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[v18.ValidateVSchemaRequest]) (*connect.Response[v18.ValidateVSchemaResponse], error) { +func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[v181.ValidateVSchemaRequest]) (*connect.Response[v181.ValidateVSchemaResponse], error) { return c.validateVSchema.CallUnary(ctx, req) } // VDiffCreate calls vtctlservice.Vtctld.VDiffCreate. -func (c *vtctldClient) VDiffCreate(ctx context.Context, req *connect.Request[v18.VDiffCreateRequest]) (*connect.Response[v18.VDiffCreateResponse], error) { +func (c *vtctldClient) VDiffCreate(ctx context.Context, req *connect.Request[v181.VDiffCreateRequest]) (*connect.Response[v181.VDiffCreateResponse], error) { return c.vDiffCreate.CallUnary(ctx, req) } // VDiffDelete calls vtctlservice.Vtctld.VDiffDelete. -func (c *vtctldClient) VDiffDelete(ctx context.Context, req *connect.Request[v18.VDiffDeleteRequest]) (*connect.Response[v18.VDiffDeleteResponse], error) { +func (c *vtctldClient) VDiffDelete(ctx context.Context, req *connect.Request[v181.VDiffDeleteRequest]) (*connect.Response[v181.VDiffDeleteResponse], error) { return c.vDiffDelete.CallUnary(ctx, req) } // VDiffResume calls vtctlservice.Vtctld.VDiffResume. -func (c *vtctldClient) VDiffResume(ctx context.Context, req *connect.Request[v18.VDiffResumeRequest]) (*connect.Response[v18.VDiffResumeResponse], error) { +func (c *vtctldClient) VDiffResume(ctx context.Context, req *connect.Request[v181.VDiffResumeRequest]) (*connect.Response[v181.VDiffResumeResponse], error) { return c.vDiffResume.CallUnary(ctx, req) } // VDiffShow calls vtctlservice.Vtctld.VDiffShow. -func (c *vtctldClient) VDiffShow(ctx context.Context, req *connect.Request[v18.VDiffShowRequest]) (*connect.Response[v18.VDiffShowResponse], error) { +func (c *vtctldClient) VDiffShow(ctx context.Context, req *connect.Request[v181.VDiffShowRequest]) (*connect.Response[v181.VDiffShowResponse], error) { return c.vDiffShow.CallUnary(ctx, req) } // VDiffStop calls vtctlservice.Vtctld.VDiffStop. -func (c *vtctldClient) VDiffStop(ctx context.Context, req *connect.Request[v18.VDiffStopRequest]) (*connect.Response[v18.VDiffStopResponse], error) { +func (c *vtctldClient) VDiffStop(ctx context.Context, req *connect.Request[v181.VDiffStopRequest]) (*connect.Response[v181.VDiffStopResponse], error) { return c.vDiffStop.CallUnary(ctx, req) } // WorkflowDelete calls vtctlservice.Vtctld.WorkflowDelete. -func (c *vtctldClient) WorkflowDelete(ctx context.Context, req *connect.Request[v18.WorkflowDeleteRequest]) (*connect.Response[v18.WorkflowDeleteResponse], error) { +func (c *vtctldClient) WorkflowDelete(ctx context.Context, req *connect.Request[v181.WorkflowDeleteRequest]) (*connect.Response[v181.WorkflowDeleteResponse], error) { return c.workflowDelete.CallUnary(ctx, req) } // WorkflowStatus calls vtctlservice.Vtctld.WorkflowStatus. -func (c *vtctldClient) WorkflowStatus(ctx context.Context, req *connect.Request[v18.WorkflowStatusRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (c *vtctldClient) WorkflowStatus(ctx context.Context, req *connect.Request[v181.WorkflowStatusRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return c.workflowStatus.CallUnary(ctx, req) } // WorkflowSwitchTraffic calls vtctlservice.Vtctld.WorkflowSwitchTraffic. -func (c *vtctldClient) WorkflowSwitchTraffic(ctx context.Context, req *connect.Request[v18.WorkflowSwitchTrafficRequest]) (*connect.Response[v18.WorkflowSwitchTrafficResponse], error) { +func (c *vtctldClient) WorkflowSwitchTraffic(ctx context.Context, req *connect.Request[v181.WorkflowSwitchTrafficRequest]) (*connect.Response[v181.WorkflowSwitchTrafficResponse], error) { return c.workflowSwitchTraffic.CallUnary(ctx, req) } // WorkflowUpdate calls vtctlservice.Vtctld.WorkflowUpdate. -func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[v18.WorkflowUpdateRequest]) (*connect.Response[v18.WorkflowUpdateResponse], error) { +func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[v181.WorkflowUpdateRequest]) (*connect.Response[v181.WorkflowUpdateResponse], error) { return c.workflowUpdate.CallUnary(ctx, req) } @@ -1932,168 +2161,168 @@ func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[ type VtctldHandler interface { // AddCellInfo registers a local topology service in a new cell by creating // the CellInfo with the provided parameters. - AddCellInfo(context.Context, *connect.Request[v18.AddCellInfoRequest]) (*connect.Response[v18.AddCellInfoResponse], error) + AddCellInfo(context.Context, *connect.Request[v181.AddCellInfoRequest]) (*connect.Response[v181.AddCellInfoResponse], error) // AddCellsAlias defines a group of cells that can be referenced by a single // name (the alias). // // When routing query traffic, replica/rdonly traffic can be routed across // cells within the group (alias). Only primary traffic can be routed across // cells not in the same group (alias). - AddCellsAlias(context.Context, *connect.Request[v18.AddCellsAliasRequest]) (*connect.Response[v18.AddCellsAliasResponse], error) + AddCellsAlias(context.Context, *connect.Request[v181.AddCellsAliasRequest]) (*connect.Response[v181.AddCellsAliasResponse], error) // ApplyRoutingRules applies the VSchema routing rules. - ApplyRoutingRules(context.Context, *connect.Request[v18.ApplyRoutingRulesRequest]) (*connect.Response[v18.ApplyRoutingRulesResponse], error) + ApplyRoutingRules(context.Context, *connect.Request[v181.ApplyRoutingRulesRequest]) (*connect.Response[v181.ApplyRoutingRulesResponse], error) // ApplySchema applies a schema to a keyspace. - ApplySchema(context.Context, *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) + ApplySchema(context.Context, *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) // ApplyShardRoutingRules applies the VSchema shard routing rules. - ApplyShardRoutingRules(context.Context, *connect.Request[v18.ApplyShardRoutingRulesRequest]) (*connect.Response[v18.ApplyShardRoutingRulesResponse], error) + ApplyShardRoutingRules(context.Context, *connect.Request[v181.ApplyShardRoutingRulesRequest]) (*connect.Response[v181.ApplyShardRoutingRulesResponse], error) // ApplyVSchema applies a vschema to a keyspace. - ApplyVSchema(context.Context, *connect.Request[v18.ApplyVSchemaRequest]) (*connect.Response[v18.ApplyVSchemaResponse], error) + ApplyVSchema(context.Context, *connect.Request[v181.ApplyVSchemaRequest]) (*connect.Response[v181.ApplyVSchemaResponse], error) // Backup uses the BackupEngine and BackupStorage services on the specified // tablet to create and store a new backup. - Backup(context.Context, *connect.Request[v18.BackupRequest], *connect.ServerStream[v18.BackupResponse]) error + Backup(context.Context, *connect.Request[v181.BackupRequest], *connect.ServerStream[v181.BackupResponse]) error // BackupShard chooses a tablet in the shard and uses it to create a backup. - BackupShard(context.Context, *connect.Request[v18.BackupShardRequest], *connect.ServerStream[v18.BackupResponse]) error + BackupShard(context.Context, *connect.Request[v181.BackupShardRequest], *connect.ServerStream[v181.BackupResponse]) error // CancelSchemaMigration cancels one or all migrations, terminating any runnign ones as needed. - CancelSchemaMigration(context.Context, *connect.Request[v18.CancelSchemaMigrationRequest]) (*connect.Response[v18.CancelSchemaMigrationResponse], error) + CancelSchemaMigration(context.Context, *connect.Request[v181.CancelSchemaMigrationRequest]) (*connect.Response[v181.CancelSchemaMigrationResponse], error) // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. - ChangeTabletType(context.Context, *connect.Request[v18.ChangeTabletTypeRequest]) (*connect.Response[v18.ChangeTabletTypeResponse], error) + ChangeTabletType(context.Context, *connect.Request[v181.ChangeTabletTypeRequest]) (*connect.Response[v181.ChangeTabletTypeResponse], error) // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. - CleanupSchemaMigration(context.Context, *connect.Request[v18.CleanupSchemaMigrationRequest]) (*connect.Response[v18.CleanupSchemaMigrationResponse], error) + CleanupSchemaMigration(context.Context, *connect.Request[v181.CleanupSchemaMigrationRequest]) (*connect.Response[v181.CleanupSchemaMigrationResponse], error) // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. - CompleteSchemaMigration(context.Context, *connect.Request[v18.CompleteSchemaMigrationRequest]) (*connect.Response[v18.CompleteSchemaMigrationResponse], error) + CompleteSchemaMigration(context.Context, *connect.Request[v181.CompleteSchemaMigrationRequest]) (*connect.Response[v181.CompleteSchemaMigrationResponse], error) // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. - CreateKeyspace(context.Context, *connect.Request[v18.CreateKeyspaceRequest]) (*connect.Response[v18.CreateKeyspaceResponse], error) + CreateKeyspace(context.Context, *connect.Request[v181.CreateKeyspaceRequest]) (*connect.Response[v181.CreateKeyspaceResponse], error) // CreateShard creates the specified shard in the topology. - CreateShard(context.Context, *connect.Request[v18.CreateShardRequest]) (*connect.Response[v18.CreateShardResponse], error) + CreateShard(context.Context, *connect.Request[v181.CreateShardRequest]) (*connect.Response[v181.CreateShardResponse], error) // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot // be referenced by any Shard record in the topology. - DeleteCellInfo(context.Context, *connect.Request[v18.DeleteCellInfoRequest]) (*connect.Response[v18.DeleteCellInfoResponse], error) + DeleteCellInfo(context.Context, *connect.Request[v181.DeleteCellInfoRequest]) (*connect.Response[v181.DeleteCellInfoResponse], error) // DeleteCellsAlias deletes the CellsAlias for the provided alias. - DeleteCellsAlias(context.Context, *connect.Request[v18.DeleteCellsAliasRequest]) (*connect.Response[v18.DeleteCellsAliasResponse], error) + DeleteCellsAlias(context.Context, *connect.Request[v181.DeleteCellsAliasRequest]) (*connect.Response[v181.DeleteCellsAliasResponse], error) // DeleteKeyspace deletes the specified keyspace from the topology. In // recursive mode, it also recursively deletes all shards in the keyspace. // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace // returns an error. - DeleteKeyspace(context.Context, *connect.Request[v18.DeleteKeyspaceRequest]) (*connect.Response[v18.DeleteKeyspaceResponse], error) + DeleteKeyspace(context.Context, *connect.Request[v181.DeleteKeyspaceRequest]) (*connect.Response[v181.DeleteKeyspaceResponse], error) // DeleteShards deletes the specified shards from the topology. In recursive // mode, it also deletes all tablets belonging to the shard. Otherwise, the // shard must be empty (have no tablets) or DeleteShards returns an error for // that shard. - DeleteShards(context.Context, *connect.Request[v18.DeleteShardsRequest]) (*connect.Response[v18.DeleteShardsResponse], error) + DeleteShards(context.Context, *connect.Request[v181.DeleteShardsRequest]) (*connect.Response[v181.DeleteShardsResponse], error) // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. - DeleteSrvVSchema(context.Context, *connect.Request[v18.DeleteSrvVSchemaRequest]) (*connect.Response[v18.DeleteSrvVSchemaResponse], error) + DeleteSrvVSchema(context.Context, *connect.Request[v181.DeleteSrvVSchemaRequest]) (*connect.Response[v181.DeleteSrvVSchemaResponse], error) // DeleteTablets deletes one or more tablets from the topology. - DeleteTablets(context.Context, *connect.Request[v18.DeleteTabletsRequest]) (*connect.Response[v18.DeleteTabletsResponse], error) + DeleteTablets(context.Context, *connect.Request[v181.DeleteTabletsRequest]) (*connect.Response[v181.DeleteTabletsResponse], error) // EmergencyReparentShard reparents the shard to the new primary. It assumes // the old primary is dead or otherwise not responding. - EmergencyReparentShard(context.Context, *connect.Request[v18.EmergencyReparentShardRequest]) (*connect.Response[v18.EmergencyReparentShardResponse], error) + EmergencyReparentShard(context.Context, *connect.Request[v181.EmergencyReparentShardRequest]) (*connect.Response[v181.EmergencyReparentShardResponse], error) // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. - ExecuteFetchAsApp(context.Context, *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) + ExecuteFetchAsApp(context.Context, *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. - ExecuteFetchAsDBA(context.Context, *connect.Request[v18.ExecuteFetchAsDBARequest]) (*connect.Response[v18.ExecuteFetchAsDBAResponse], error) + ExecuteFetchAsDBA(context.Context, *connect.Request[v181.ExecuteFetchAsDBARequest]) (*connect.Response[v181.ExecuteFetchAsDBAResponse], error) // ExecuteHook runs the hook on the tablet. - ExecuteHook(context.Context, *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) + ExecuteHook(context.Context, *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. - FindAllShardsInKeyspace(context.Context, *connect.Request[v18.FindAllShardsInKeyspaceRequest]) (*connect.Response[v18.FindAllShardsInKeyspaceResponse], error) + FindAllShardsInKeyspace(context.Context, *connect.Request[v181.FindAllShardsInKeyspaceRequest]) (*connect.Response[v181.FindAllShardsInKeyspaceResponse], error) // GetBackups returns all the backups for a shard. - GetBackups(context.Context, *connect.Request[v18.GetBackupsRequest]) (*connect.Response[v18.GetBackupsResponse], error) + GetBackups(context.Context, *connect.Request[v181.GetBackupsRequest]) (*connect.Response[v181.GetBackupsResponse], error) // GetCellInfo returns the information for a cell. - GetCellInfo(context.Context, *connect.Request[v18.GetCellInfoRequest]) (*connect.Response[v18.GetCellInfoResponse], error) + GetCellInfo(context.Context, *connect.Request[v181.GetCellInfoRequest]) (*connect.Response[v181.GetCellInfoResponse], error) // GetCellInfoNames returns all the cells for which we have a CellInfo object, // meaning we have a topology service registered. - GetCellInfoNames(context.Context, *connect.Request[v18.GetCellInfoNamesRequest]) (*connect.Response[v18.GetCellInfoNamesResponse], error) + GetCellInfoNames(context.Context, *connect.Request[v181.GetCellInfoNamesRequest]) (*connect.Response[v181.GetCellInfoNamesResponse], error) // GetCellsAliases returns a mapping of cell alias to cells identified by that // alias. - GetCellsAliases(context.Context, *connect.Request[v18.GetCellsAliasesRequest]) (*connect.Response[v18.GetCellsAliasesResponse], error) + GetCellsAliases(context.Context, *connect.Request[v181.GetCellsAliasesRequest]) (*connect.Response[v181.GetCellsAliasesResponse], error) // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others - GetFullStatus(context.Context, *connect.Request[v18.GetFullStatusRequest]) (*connect.Response[v18.GetFullStatusResponse], error) + GetFullStatus(context.Context, *connect.Request[v181.GetFullStatusRequest]) (*connect.Response[v181.GetFullStatusResponse], error) // GetKeyspace reads the given keyspace from the topo and returns it. - GetKeyspace(context.Context, *connect.Request[v18.GetKeyspaceRequest]) (*connect.Response[v18.GetKeyspaceResponse], error) + GetKeyspace(context.Context, *connect.Request[v181.GetKeyspaceRequest]) (*connect.Response[v181.GetKeyspaceResponse], error) // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. - GetKeyspaces(context.Context, *connect.Request[v18.GetKeyspacesRequest]) (*connect.Response[v18.GetKeyspacesResponse], error) + GetKeyspaces(context.Context, *connect.Request[v181.GetKeyspacesRequest]) (*connect.Response[v181.GetKeyspacesResponse], error) // GetPermissions returns the permissions set on the remote tablet. - GetPermissions(context.Context, *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) + GetPermissions(context.Context, *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) // GetRoutingRules returns the VSchema routing rules. - GetRoutingRules(context.Context, *connect.Request[v18.GetRoutingRulesRequest]) (*connect.Response[v18.GetRoutingRulesResponse], error) + GetRoutingRules(context.Context, *connect.Request[v181.GetRoutingRulesRequest]) (*connect.Response[v181.GetRoutingRulesResponse], error) // GetSchema returns the schema for a tablet, or just the schema for the // specified tables in that tablet. - GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) + GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) // GetSchemaMigrations returns one or more online schema migrations for the // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. // // Different fields in the request message result in different filtering // behaviors. See the documentation on GetSchemaMigrationsRequest for details. - GetSchemaMigrations(context.Context, *connect.Request[v18.GetSchemaMigrationsRequest]) (*connect.Response[v18.GetSchemaMigrationsResponse], error) + GetSchemaMigrations(context.Context, *connect.Request[v181.GetSchemaMigrationsRequest]) (*connect.Response[v181.GetSchemaMigrationsResponse], error) // GetShard returns information about a shard in the topology. - GetShard(context.Context, *connect.Request[v18.GetShardRequest]) (*connect.Response[v18.GetShardResponse], error) + GetShard(context.Context, *connect.Request[v181.GetShardRequest]) (*connect.Response[v181.GetShardResponse], error) // GetShardRoutingRules returns the VSchema shard routing rules. - GetShardRoutingRules(context.Context, *connect.Request[v18.GetShardRoutingRulesRequest]) (*connect.Response[v18.GetShardRoutingRulesResponse], error) + GetShardRoutingRules(context.Context, *connect.Request[v181.GetShardRoutingRulesRequest]) (*connect.Response[v181.GetShardRoutingRulesResponse], error) // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served // in that cell. - GetSrvKeyspaceNames(context.Context, *connect.Request[v18.GetSrvKeyspaceNamesRequest]) (*connect.Response[v18.GetSrvKeyspaceNamesResponse], error) + GetSrvKeyspaceNames(context.Context, *connect.Request[v181.GetSrvKeyspaceNamesRequest]) (*connect.Response[v181.GetSrvKeyspaceNamesResponse], error) // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more // cells. - GetSrvKeyspaces(context.Context, *connect.Request[v18.GetSrvKeyspacesRequest]) (*connect.Response[v18.GetSrvKeyspacesResponse], error) + GetSrvKeyspaces(context.Context, *connect.Request[v181.GetSrvKeyspacesRequest]) (*connect.Response[v181.GetSrvKeyspacesResponse], error) // UpdateThrottlerConfig updates the tablet throttler configuration - UpdateThrottlerConfig(context.Context, *connect.Request[v18.UpdateThrottlerConfigRequest]) (*connect.Response[v18.UpdateThrottlerConfigResponse], error) + UpdateThrottlerConfig(context.Context, *connect.Request[v181.UpdateThrottlerConfigRequest]) (*connect.Response[v181.UpdateThrottlerConfigResponse], error) // GetSrvVSchema returns the SrvVSchema for a cell. - GetSrvVSchema(context.Context, *connect.Request[v18.GetSrvVSchemaRequest]) (*connect.Response[v18.GetSrvVSchemaResponse], error) + GetSrvVSchema(context.Context, *connect.Request[v181.GetSrvVSchemaRequest]) (*connect.Response[v181.GetSrvVSchemaResponse], error) // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, // optionally filtered by cell name. - GetSrvVSchemas(context.Context, *connect.Request[v18.GetSrvVSchemasRequest]) (*connect.Response[v18.GetSrvVSchemasResponse], error) + GetSrvVSchemas(context.Context, *connect.Request[v181.GetSrvVSchemasRequest]) (*connect.Response[v181.GetSrvVSchemasResponse], error) // GetTablet returns information about a tablet. - GetTablet(context.Context, *connect.Request[v18.GetTabletRequest]) (*connect.Response[v18.GetTabletResponse], error) + GetTablet(context.Context, *connect.Request[v181.GetTabletRequest]) (*connect.Response[v181.GetTabletResponse], error) // GetTablets returns tablets, optionally filtered by keyspace and shard. - GetTablets(context.Context, *connect.Request[v18.GetTabletsRequest]) (*connect.Response[v18.GetTabletsResponse], error) + GetTablets(context.Context, *connect.Request[v181.GetTabletsRequest]) (*connect.Response[v181.GetTabletsResponse], error) // GetTopologyPath returns the topology cell at a given path. - GetTopologyPath(context.Context, *connect.Request[v18.GetTopologyPathRequest]) (*connect.Response[v18.GetTopologyPathResponse], error) + GetTopologyPath(context.Context, *connect.Request[v181.GetTopologyPathRequest]) (*connect.Response[v181.GetTopologyPathResponse], error) // GetVersion returns the version of a tablet from its debug vars. - GetVersion(context.Context, *connect.Request[v18.GetVersionRequest]) (*connect.Response[v18.GetVersionResponse], error) + GetVersion(context.Context, *connect.Request[v181.GetVersionRequest]) (*connect.Response[v181.GetVersionResponse], error) // GetVSchema returns the vschema for a keyspace. - GetVSchema(context.Context, *connect.Request[v18.GetVSchemaRequest]) (*connect.Response[v18.GetVSchemaResponse], error) + GetVSchema(context.Context, *connect.Request[v181.GetVSchemaRequest]) (*connect.Response[v181.GetVSchemaResponse], error) // GetWorkflows returns a list of workflows for the given keyspace. - GetWorkflows(context.Context, *connect.Request[v18.GetWorkflowsRequest]) (*connect.Response[v18.GetWorkflowsResponse], error) + GetWorkflows(context.Context, *connect.Request[v181.GetWorkflowsRequest]) (*connect.Response[v181.GetWorkflowsResponse], error) // InitShardPrimary sets the initial primary for a shard. Will make all other // tablets in the shard replicas of the provided primary. // // WARNING: This could cause data loss on an already replicating shard. // PlannedReparentShard or EmergencyReparentShard should be used in those // cases instead. - InitShardPrimary(context.Context, *connect.Request[v18.InitShardPrimaryRequest]) (*connect.Response[v18.InitShardPrimaryResponse], error) + InitShardPrimary(context.Context, *connect.Request[v181.InitShardPrimaryRequest]) (*connect.Response[v181.InitShardPrimaryResponse], error) // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. - LaunchSchemaMigration(context.Context, *connect.Request[v18.LaunchSchemaMigrationRequest]) (*connect.Response[v18.LaunchSchemaMigrationResponse], error) - LookupVindexCreate(context.Context, *connect.Request[v18.LookupVindexCreateRequest]) (*connect.Response[v18.LookupVindexCreateResponse], error) - LookupVindexExternalize(context.Context, *connect.Request[v18.LookupVindexExternalizeRequest]) (*connect.Response[v18.LookupVindexExternalizeResponse], error) + LaunchSchemaMigration(context.Context, *connect.Request[v181.LaunchSchemaMigrationRequest]) (*connect.Response[v181.LaunchSchemaMigrationResponse], error) + LookupVindexCreate(context.Context, *connect.Request[v181.LookupVindexCreateRequest]) (*connect.Response[v181.LookupVindexCreateResponse], error) + LookupVindexExternalize(context.Context, *connect.Request[v181.LookupVindexExternalizeRequest]) (*connect.Response[v181.LookupVindexExternalizeResponse], error) // MaterializeCreate creates a workflow to materialize one or more tables // from a source keyspace to a target keyspace using a provided expressions. - MaterializeCreate(context.Context, *connect.Request[v18.MaterializeCreateRequest]) (*connect.Response[v18.MaterializeCreateResponse], error) + MaterializeCreate(context.Context, *connect.Request[v181.MaterializeCreateRequest]) (*connect.Response[v181.MaterializeCreateResponse], error) // MigrateCreate creates a workflow which migrates one or more tables from an // external cluster into Vitess. - MigrateCreate(context.Context, *connect.Request[v18.MigrateCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) + MigrateCreate(context.Context, *connect.Request[v181.MigrateCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) // MountRegister registers a new external Vitess cluster. - MountRegister(context.Context, *connect.Request[v18.MountRegisterRequest]) (*connect.Response[v18.MountRegisterResponse], error) + MountRegister(context.Context, *connect.Request[v181.MountRegisterRequest]) (*connect.Response[v181.MountRegisterResponse], error) // MountUnregister unregisters an external Vitess cluster. - MountUnregister(context.Context, *connect.Request[v18.MountUnregisterRequest]) (*connect.Response[v18.MountUnregisterResponse], error) + MountUnregister(context.Context, *connect.Request[v181.MountUnregisterRequest]) (*connect.Response[v181.MountUnregisterResponse], error) // MountShow returns information about an external Vitess cluster. - MountShow(context.Context, *connect.Request[v18.MountShowRequest]) (*connect.Response[v18.MountShowResponse], error) + MountShow(context.Context, *connect.Request[v181.MountShowRequest]) (*connect.Response[v181.MountShowResponse], error) // MountList lists all registered external Vitess clusters. - MountList(context.Context, *connect.Request[v18.MountListRequest]) (*connect.Response[v18.MountListResponse], error) + MountList(context.Context, *connect.Request[v181.MountListRequest]) (*connect.Response[v181.MountListResponse], error) // MoveTablesCreate creates a workflow which moves one or more tables from a // source keyspace to a target keyspace. - MoveTablesCreate(context.Context, *connect.Request[v18.MoveTablesCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) + MoveTablesCreate(context.Context, *connect.Request[v181.MoveTablesCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) // MoveTablesComplete completes the move and cleans up the workflow and // its related artifacts. - MoveTablesComplete(context.Context, *connect.Request[v18.MoveTablesCompleteRequest]) (*connect.Response[v18.MoveTablesCompleteResponse], error) + MoveTablesComplete(context.Context, *connect.Request[v181.MoveTablesCompleteRequest]) (*connect.Response[v181.MoveTablesCompleteResponse], error) // PingTablet checks that the specified tablet is awake and responding to RPCs. // This command can be blocked by other in-flight operations. - PingTablet(context.Context, *connect.Request[v18.PingTabletRequest]) (*connect.Response[v18.PingTabletResponse], error) + PingTablet(context.Context, *connect.Request[v181.PingTabletRequest]) (*connect.Response[v181.PingTabletResponse], error) // PlannedReparentShard reparents the shard to the new primary, or away from // an old primary. Both the old and new primaries need to be reachable and // running. @@ -2101,148 +2330,148 @@ type VtctldHandler interface { // **NOTE**: The vtctld will not consider any replicas outside the cell the // current shard primary is in for promotion unless NewPrimary is explicitly // provided in the request. - PlannedReparentShard(context.Context, *connect.Request[v18.PlannedReparentShardRequest]) (*connect.Response[v18.PlannedReparentShardResponse], error) + PlannedReparentShard(context.Context, *connect.Request[v181.PlannedReparentShardRequest]) (*connect.Response[v181.PlannedReparentShardResponse], error) // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. // // This may trigger an update to all connected clients. - RebuildKeyspaceGraph(context.Context, *connect.Request[v18.RebuildKeyspaceGraphRequest]) (*connect.Response[v18.RebuildKeyspaceGraphResponse], error) + RebuildKeyspaceGraph(context.Context, *connect.Request[v181.RebuildKeyspaceGraphRequest]) (*connect.Response[v181.RebuildKeyspaceGraphResponse], error) // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global // VSchema objects in the provided cells (or all cells in the topo none // provided). - RebuildVSchemaGraph(context.Context, *connect.Request[v18.RebuildVSchemaGraphRequest]) (*connect.Response[v18.RebuildVSchemaGraphResponse], error) + RebuildVSchemaGraph(context.Context, *connect.Request[v181.RebuildVSchemaGraphRequest]) (*connect.Response[v181.RebuildVSchemaGraphResponse], error) // RefreshState reloads the tablet record on the specified tablet. - RefreshState(context.Context, *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) + RefreshState(context.Context, *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) // RefreshStateByShard calls RefreshState on all the tablets in the given shard. - RefreshStateByShard(context.Context, *connect.Request[v18.RefreshStateByShardRequest]) (*connect.Response[v18.RefreshStateByShardResponse], error) + RefreshStateByShard(context.Context, *connect.Request[v181.RefreshStateByShardRequest]) (*connect.Response[v181.RefreshStateByShardResponse], error) // ReloadSchema instructs the remote tablet to reload its schema. - ReloadSchema(context.Context, *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) + ReloadSchema(context.Context, *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. - ReloadSchemaKeyspace(context.Context, *connect.Request[v18.ReloadSchemaKeyspaceRequest]) (*connect.Response[v18.ReloadSchemaKeyspaceResponse], error) + ReloadSchemaKeyspace(context.Context, *connect.Request[v181.ReloadSchemaKeyspaceRequest]) (*connect.Response[v181.ReloadSchemaKeyspaceResponse], error) // ReloadSchemaShard reloads the schema on all tablets in a shard. // // In general, we don't always expect all replicas to be ready to reload, and // the periodic schema reload makes them self-healing anyway. So, we do this // on a best-effort basis, and log warnings for any tablets that fail to // reload within the context deadline. - ReloadSchemaShard(context.Context, *connect.Request[v18.ReloadSchemaShardRequest]) (*connect.Response[v18.ReloadSchemaShardResponse], error) + ReloadSchemaShard(context.Context, *connect.Request[v181.ReloadSchemaShardRequest]) (*connect.Response[v181.ReloadSchemaShardResponse], error) // RemoveBackup removes a backup from the BackupStorage used by vtctld. - RemoveBackup(context.Context, *connect.Request[v18.RemoveBackupRequest]) (*connect.Response[v18.RemoveBackupResponse], error) + RemoveBackup(context.Context, *connect.Request[v181.RemoveBackupRequest]) (*connect.Response[v181.RemoveBackupResponse], error) // RemoveKeyspaceCell removes the specified cell from the Cells list for all // shards in the specified keyspace (by calling RemoveShardCell on every // shard). It also removes the SrvKeyspace for that keyspace in that cell. - RemoveKeyspaceCell(context.Context, *connect.Request[v18.RemoveKeyspaceCellRequest]) (*connect.Response[v18.RemoveKeyspaceCellResponse], error) + RemoveKeyspaceCell(context.Context, *connect.Request[v181.RemoveKeyspaceCellRequest]) (*connect.Response[v181.RemoveKeyspaceCellResponse], error) // RemoveShardCell removes the specified cell from the specified shard's Cells // list. - RemoveShardCell(context.Context, *connect.Request[v18.RemoveShardCellRequest]) (*connect.Response[v18.RemoveShardCellResponse], error) + RemoveShardCell(context.Context, *connect.Request[v181.RemoveShardCellRequest]) (*connect.Response[v181.RemoveShardCellResponse], error) // ReparentTablet reparents a tablet to the current primary in the shard. This // only works if the current replica position matches the last known reparent // action. - ReparentTablet(context.Context, *connect.Request[v18.ReparentTabletRequest]) (*connect.Response[v18.ReparentTabletResponse], error) + ReparentTablet(context.Context, *connect.Request[v181.ReparentTabletRequest]) (*connect.Response[v181.ReparentTabletResponse], error) // ReshardCreate creates a workflow to reshard a keyspace. - ReshardCreate(context.Context, *connect.Request[v18.ReshardCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) + ReshardCreate(context.Context, *connect.Request[v181.ReshardCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) // RestoreFromBackup stops mysqld for the given tablet and restores a backup. - RestoreFromBackup(context.Context, *connect.Request[v18.RestoreFromBackupRequest], *connect.ServerStream[v18.RestoreFromBackupResponse]) error + RestoreFromBackup(context.Context, *connect.Request[v181.RestoreFromBackupRequest], *connect.ServerStream[v181.RestoreFromBackupResponse]) error // RetrySchemaMigration marks a given schema migration for retry. - RetrySchemaMigration(context.Context, *connect.Request[v18.RetrySchemaMigrationRequest]) (*connect.Response[v18.RetrySchemaMigrationResponse], error) + RetrySchemaMigration(context.Context, *connect.Request[v181.RetrySchemaMigrationRequest]) (*connect.Response[v181.RetrySchemaMigrationResponse], error) // RunHealthCheck runs a healthcheck on the remote tablet. - RunHealthCheck(context.Context, *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) + RunHealthCheck(context.Context, *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. - SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v18.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v18.SetKeyspaceDurabilityPolicyResponse], error) + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v181.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v181.SetKeyspaceDurabilityPolicyResponse], error) // SetShardIsPrimaryServing adds or removes a shard from serving. // // This is meant as an emergency function. It does not rebuild any serving // graph (i.e. it does not run RebuildKeyspaceGraph). - SetShardIsPrimaryServing(context.Context, *connect.Request[v18.SetShardIsPrimaryServingRequest]) (*connect.Response[v18.SetShardIsPrimaryServingResponse], error) + SetShardIsPrimaryServing(context.Context, *connect.Request[v181.SetShardIsPrimaryServingRequest]) (*connect.Response[v181.SetShardIsPrimaryServingResponse], error) // SetShardTabletControl updates the TabletControl topo record for a shard and // tablet type. // // This should only be used for an emergency fix, or after a finished // Reshard. See the documentation on SetShardTabletControlRequest for more // information about the different update modes. - SetShardTabletControl(context.Context, *connect.Request[v18.SetShardTabletControlRequest]) (*connect.Response[v18.SetShardTabletControlResponse], error) + SetShardTabletControl(context.Context, *connect.Request[v181.SetShardTabletControlRequest]) (*connect.Response[v181.SetShardTabletControlResponse], error) // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). - SetWritable(context.Context, *connect.Request[v18.SetWritableRequest]) (*connect.Response[v18.SetWritableResponse], error) + SetWritable(context.Context, *connect.Request[v181.SetWritableRequest]) (*connect.Response[v181.SetWritableResponse], error) // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. // // It is a low-level function and should generally not be called. - ShardReplicationAdd(context.Context, *connect.Request[v18.ShardReplicationAddRequest]) (*connect.Response[v18.ShardReplicationAddResponse], error) + ShardReplicationAdd(context.Context, *connect.Request[v181.ShardReplicationAddRequest]) (*connect.Response[v181.ShardReplicationAddResponse], error) // ShardReplicationFix walks the replication graph for a shard in a cell and // attempts to fix the first problem encountered, returning information about // the problem fixed, if any. - ShardReplicationFix(context.Context, *connect.Request[v18.ShardReplicationFixRequest]) (*connect.Response[v18.ShardReplicationFixResponse], error) + ShardReplicationFix(context.Context, *connect.Request[v181.ShardReplicationFixRequest]) (*connect.Response[v181.ShardReplicationFixResponse], error) // ShardReplicationPositions returns the replication position of each tablet // in a shard. This RPC makes a best-effort to return partial results. For // example, if one tablet in the shard graph is unreachable, then // ShardReplicationPositions will return non-error, and include valid results // for the reachable tablets. - ShardReplicationPositions(context.Context, *connect.Request[v18.ShardReplicationPositionsRequest]) (*connect.Response[v18.ShardReplicationPositionsResponse], error) + ShardReplicationPositions(context.Context, *connect.Request[v181.ShardReplicationPositionsRequest]) (*connect.Response[v181.ShardReplicationPositionsResponse], error) // ShardReplicationRemove removes an entry from a topodata.ShardReplication // object. // // It is a low-level function and should generally not be called. - ShardReplicationRemove(context.Context, *connect.Request[v18.ShardReplicationRemoveRequest]) (*connect.Response[v18.ShardReplicationRemoveResponse], error) + ShardReplicationRemove(context.Context, *connect.Request[v181.ShardReplicationRemoveRequest]) (*connect.Response[v181.ShardReplicationRemoveResponse], error) // SleepTablet blocks the aciton queue on the specified tablet for the // specified duration. // // This is typically used for testing. - SleepTablet(context.Context, *connect.Request[v18.SleepTabletRequest]) (*connect.Response[v18.SleepTabletResponse], error) + SleepTablet(context.Context, *connect.Request[v181.SleepTabletRequest]) (*connect.Response[v181.SleepTabletResponse], error) // SourceShardAdd adds the SourceShard record with the provided index. This // should be used only as an emergency function. // // It does not call RefreshState for the shard primary. - SourceShardAdd(context.Context, *connect.Request[v18.SourceShardAddRequest]) (*connect.Response[v18.SourceShardAddResponse], error) + SourceShardAdd(context.Context, *connect.Request[v181.SourceShardAddRequest]) (*connect.Response[v181.SourceShardAddResponse], error) // SourceShardDelete deletes the SourceShard record with the provided index. // This should be used only as an emergency cleanup function. // // It does not call RefreshState for the shard primary. - SourceShardDelete(context.Context, *connect.Request[v18.SourceShardDeleteRequest]) (*connect.Response[v18.SourceShardDeleteResponse], error) + SourceShardDelete(context.Context, *connect.Request[v181.SourceShardDeleteRequest]) (*connect.Response[v181.SourceShardDeleteResponse], error) // StartReplication starts replication on the specified tablet. - StartReplication(context.Context, *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) + StartReplication(context.Context, *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) // StopReplication stops replication on the specified tablet. - StopReplication(context.Context, *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) + StopReplication(context.Context, *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) // TabletExternallyReparented changes metadata in the topology server to // acknowledge a shard primary change performed by an external tool (e.g. // orchestrator). // // See the Reparenting guide for more information: - // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v18.TabletExternallyReparentedRequest]) (*connect.Response[v18.TabletExternallyReparentedResponse], error) + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v181.TabletExternallyReparentedRequest]) (*connect.Response[v181.TabletExternallyReparentedResponse], error) // UpdateCellInfo updates the content of a CellInfo with the provided // parameters. Empty values are ignored. If the cell does not exist, the // CellInfo will be created. - UpdateCellInfo(context.Context, *connect.Request[v18.UpdateCellInfoRequest]) (*connect.Response[v18.UpdateCellInfoResponse], error) + UpdateCellInfo(context.Context, *connect.Request[v181.UpdateCellInfoRequest]) (*connect.Response[v181.UpdateCellInfoResponse], error) // UpdateCellsAlias updates the content of a CellsAlias with the provided // parameters. Empty values are ignored. If the alias does not exist, the // CellsAlias will be created. - UpdateCellsAlias(context.Context, *connect.Request[v18.UpdateCellsAliasRequest]) (*connect.Response[v18.UpdateCellsAliasResponse], error) + UpdateCellsAlias(context.Context, *connect.Request[v181.UpdateCellsAliasRequest]) (*connect.Response[v181.UpdateCellsAliasResponse], error) // Validate validates that all nodes from the global replication graph are // reachable, and that all tablets in discoverable cells are consistent. - Validate(context.Context, *connect.Request[v18.ValidateRequest]) (*connect.Response[v18.ValidateResponse], error) + Validate(context.Context, *connect.Request[v181.ValidateRequest]) (*connect.Response[v181.ValidateResponse], error) // ValidateKeyspace validates that all nodes reachable from the specified // keyspace are consistent. - ValidateKeyspace(context.Context, *connect.Request[v18.ValidateKeyspaceRequest]) (*connect.Response[v18.ValidateKeyspaceResponse], error) + ValidateKeyspace(context.Context, *connect.Request[v181.ValidateKeyspaceRequest]) (*connect.Response[v181.ValidateKeyspaceResponse], error) // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. - ValidateSchemaKeyspace(context.Context, *connect.Request[v18.ValidateSchemaKeyspaceRequest]) (*connect.Response[v18.ValidateSchemaKeyspaceResponse], error) + ValidateSchemaKeyspace(context.Context, *connect.Request[v181.ValidateSchemaKeyspaceRequest]) (*connect.Response[v181.ValidateSchemaKeyspaceResponse], error) // ValidateShard validates that all nodes reachable from the specified shard // are consistent. - ValidateShard(context.Context, *connect.Request[v18.ValidateShardRequest]) (*connect.Response[v18.ValidateShardResponse], error) + ValidateShard(context.Context, *connect.Request[v181.ValidateShardRequest]) (*connect.Response[v181.ValidateShardResponse], error) // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. - ValidateVersionKeyspace(context.Context, *connect.Request[v18.ValidateVersionKeyspaceRequest]) (*connect.Response[v18.ValidateVersionKeyspaceResponse], error) + ValidateVersionKeyspace(context.Context, *connect.Request[v181.ValidateVersionKeyspaceRequest]) (*connect.Response[v181.ValidateVersionKeyspaceResponse], error) // ValidateVersionShard validates that the version on the primary matches all of the replicas. - ValidateVersionShard(context.Context, *connect.Request[v18.ValidateVersionShardRequest]) (*connect.Response[v18.ValidateVersionShardResponse], error) + ValidateVersionShard(context.Context, *connect.Request[v181.ValidateVersionShardRequest]) (*connect.Response[v181.ValidateVersionShardResponse], error) // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. - ValidateVSchema(context.Context, *connect.Request[v18.ValidateVSchemaRequest]) (*connect.Response[v18.ValidateVSchemaResponse], error) - VDiffCreate(context.Context, *connect.Request[v18.VDiffCreateRequest]) (*connect.Response[v18.VDiffCreateResponse], error) - VDiffDelete(context.Context, *connect.Request[v18.VDiffDeleteRequest]) (*connect.Response[v18.VDiffDeleteResponse], error) - VDiffResume(context.Context, *connect.Request[v18.VDiffResumeRequest]) (*connect.Response[v18.VDiffResumeResponse], error) - VDiffShow(context.Context, *connect.Request[v18.VDiffShowRequest]) (*connect.Response[v18.VDiffShowResponse], error) - VDiffStop(context.Context, *connect.Request[v18.VDiffStopRequest]) (*connect.Response[v18.VDiffStopResponse], error) + ValidateVSchema(context.Context, *connect.Request[v181.ValidateVSchemaRequest]) (*connect.Response[v181.ValidateVSchemaResponse], error) + VDiffCreate(context.Context, *connect.Request[v181.VDiffCreateRequest]) (*connect.Response[v181.VDiffCreateResponse], error) + VDiffDelete(context.Context, *connect.Request[v181.VDiffDeleteRequest]) (*connect.Response[v181.VDiffDeleteResponse], error) + VDiffResume(context.Context, *connect.Request[v181.VDiffResumeRequest]) (*connect.Response[v181.VDiffResumeResponse], error) + VDiffShow(context.Context, *connect.Request[v181.VDiffShowRequest]) (*connect.Response[v181.VDiffShowResponse], error) + VDiffStop(context.Context, *connect.Request[v181.VDiffStopRequest]) (*connect.Response[v181.VDiffStopResponse], error) // WorkflowDelete deletes a vreplication workflow. - WorkflowDelete(context.Context, *connect.Request[v18.WorkflowDeleteRequest]) (*connect.Response[v18.WorkflowDeleteResponse], error) - WorkflowStatus(context.Context, *connect.Request[v18.WorkflowStatusRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) - WorkflowSwitchTraffic(context.Context, *connect.Request[v18.WorkflowSwitchTrafficRequest]) (*connect.Response[v18.WorkflowSwitchTrafficResponse], error) + WorkflowDelete(context.Context, *connect.Request[v181.WorkflowDeleteRequest]) (*connect.Response[v181.WorkflowDeleteResponse], error) + WorkflowStatus(context.Context, *connect.Request[v181.WorkflowStatusRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) + WorkflowSwitchTraffic(context.Context, *connect.Request[v181.WorkflowSwitchTrafficRequest]) (*connect.Response[v181.WorkflowSwitchTrafficResponse], error) // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. - WorkflowUpdate(context.Context, *connect.Request[v18.WorkflowUpdateRequest]) (*connect.Response[v18.WorkflowUpdateResponse], error) + WorkflowUpdate(context.Context, *connect.Request[v181.WorkflowUpdateRequest]) (*connect.Response[v181.WorkflowUpdateResponse], error) } // NewVtctldHandler builds an HTTP handler from the service implementation. It returns the path on @@ -2254,552 +2483,662 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, vtctldAddCellInfoHandler := connect.NewUnaryHandler( VtctldAddCellInfoProcedure, svc.AddCellInfo, - opts..., + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldAddCellsAliasHandler := connect.NewUnaryHandler( VtctldAddCellsAliasProcedure, svc.AddCellsAlias, - opts..., + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyRoutingRulesProcedure, svc.ApplyRoutingRules, - opts..., + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplySchemaHandler := connect.NewUnaryHandler( VtctldApplySchemaProcedure, svc.ApplySchema, - opts..., + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldApplyShardRoutingRulesProcedure, svc.ApplyShardRoutingRules, - opts..., + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldApplyVSchemaHandler := connect.NewUnaryHandler( VtctldApplyVSchemaProcedure, svc.ApplyVSchema, - opts..., + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupHandler := connect.NewServerStreamHandler( VtctldBackupProcedure, svc.Backup, - opts..., + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldBackupShardHandler := connect.NewServerStreamHandler( VtctldBackupShardProcedure, svc.BackupShard, - opts..., + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCancelSchemaMigrationHandler := connect.NewUnaryHandler( VtctldCancelSchemaMigrationProcedure, svc.CancelSchemaMigration, - opts..., + connect.WithSchema(vtctldCancelSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldChangeTabletTypeHandler := connect.NewUnaryHandler( VtctldChangeTabletTypeProcedure, svc.ChangeTabletType, - opts..., + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCleanupSchemaMigrationHandler := connect.NewUnaryHandler( VtctldCleanupSchemaMigrationProcedure, svc.CleanupSchemaMigration, - opts..., + connect.WithSchema(vtctldCleanupSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCompleteSchemaMigrationHandler := connect.NewUnaryHandler( VtctldCompleteSchemaMigrationProcedure, svc.CompleteSchemaMigration, - opts..., + connect.WithSchema(vtctldCompleteSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateKeyspaceHandler := connect.NewUnaryHandler( VtctldCreateKeyspaceProcedure, svc.CreateKeyspace, - opts..., + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldCreateShardHandler := connect.NewUnaryHandler( VtctldCreateShardProcedure, svc.CreateShard, - opts..., + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellInfoHandler := connect.NewUnaryHandler( VtctldDeleteCellInfoProcedure, svc.DeleteCellInfo, - opts..., + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteCellsAliasHandler := connect.NewUnaryHandler( VtctldDeleteCellsAliasProcedure, svc.DeleteCellsAlias, - opts..., + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteKeyspaceHandler := connect.NewUnaryHandler( VtctldDeleteKeyspaceProcedure, svc.DeleteKeyspace, - opts..., + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteShardsHandler := connect.NewUnaryHandler( VtctldDeleteShardsProcedure, svc.DeleteShards, - opts..., + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteSrvVSchemaHandler := connect.NewUnaryHandler( VtctldDeleteSrvVSchemaProcedure, svc.DeleteSrvVSchema, - opts..., + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldDeleteTabletsHandler := connect.NewUnaryHandler( VtctldDeleteTabletsProcedure, svc.DeleteTablets, - opts..., + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldEmergencyReparentShardHandler := connect.NewUnaryHandler( VtctldEmergencyReparentShardProcedure, svc.EmergencyReparentShard, - opts..., + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsAppHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsAppProcedure, svc.ExecuteFetchAsApp, - opts..., + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteFetchAsDBAHandler := connect.NewUnaryHandler( VtctldExecuteFetchAsDBAProcedure, svc.ExecuteFetchAsDBA, - opts..., + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldExecuteHookHandler := connect.NewUnaryHandler( VtctldExecuteHookProcedure, svc.ExecuteHook, - opts..., + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldFindAllShardsInKeyspaceHandler := connect.NewUnaryHandler( VtctldFindAllShardsInKeyspaceProcedure, svc.FindAllShardsInKeyspace, - opts..., + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetBackupsHandler := connect.NewUnaryHandler( VtctldGetBackupsProcedure, svc.GetBackups, - opts..., + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoHandler := connect.NewUnaryHandler( VtctldGetCellInfoProcedure, svc.GetCellInfo, - opts..., + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellInfoNamesHandler := connect.NewUnaryHandler( VtctldGetCellInfoNamesProcedure, svc.GetCellInfoNames, - opts..., + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetCellsAliasesHandler := connect.NewUnaryHandler( VtctldGetCellsAliasesProcedure, svc.GetCellsAliases, - opts..., + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetFullStatusHandler := connect.NewUnaryHandler( VtctldGetFullStatusProcedure, svc.GetFullStatus, - opts..., + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspaceHandler := connect.NewUnaryHandler( VtctldGetKeyspaceProcedure, svc.GetKeyspace, - opts..., + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetKeyspacesHandler := connect.NewUnaryHandler( VtctldGetKeyspacesProcedure, svc.GetKeyspaces, - opts..., + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetPermissionsHandler := connect.NewUnaryHandler( VtctldGetPermissionsProcedure, svc.GetPermissions, - opts..., + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetRoutingRulesProcedure, svc.GetRoutingRules, - opts..., + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSchemaHandler := connect.NewUnaryHandler( VtctldGetSchemaProcedure, svc.GetSchema, - opts..., + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSchemaMigrationsHandler := connect.NewUnaryHandler( VtctldGetSchemaMigrationsProcedure, svc.GetSchemaMigrations, - opts..., + connect.WithSchema(vtctldGetSchemaMigrationsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardHandler := connect.NewUnaryHandler( VtctldGetShardProcedure, svc.GetShard, - opts..., + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetShardRoutingRulesHandler := connect.NewUnaryHandler( VtctldGetShardRoutingRulesProcedure, svc.GetShardRoutingRules, - opts..., + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspaceNamesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspaceNamesProcedure, svc.GetSrvKeyspaceNames, - opts..., + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvKeyspacesHandler := connect.NewUnaryHandler( VtctldGetSrvKeyspacesProcedure, svc.GetSrvKeyspaces, - opts..., + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateThrottlerConfigHandler := connect.NewUnaryHandler( VtctldUpdateThrottlerConfigProcedure, svc.UpdateThrottlerConfig, - opts..., + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemaHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemaProcedure, svc.GetSrvVSchema, - opts..., + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetSrvVSchemasHandler := connect.NewUnaryHandler( VtctldGetSrvVSchemasProcedure, svc.GetSrvVSchemas, - opts..., + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletHandler := connect.NewUnaryHandler( VtctldGetTabletProcedure, svc.GetTablet, - opts..., + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTabletsHandler := connect.NewUnaryHandler( VtctldGetTabletsProcedure, svc.GetTablets, - opts..., + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetTopologyPathHandler := connect.NewUnaryHandler( VtctldGetTopologyPathProcedure, svc.GetTopologyPath, - opts..., + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVersionHandler := connect.NewUnaryHandler( VtctldGetVersionProcedure, svc.GetVersion, - opts..., + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetVSchemaHandler := connect.NewUnaryHandler( VtctldGetVSchemaProcedure, svc.GetVSchema, - opts..., + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldGetWorkflowsHandler := connect.NewUnaryHandler( VtctldGetWorkflowsProcedure, svc.GetWorkflows, - opts..., + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldInitShardPrimaryHandler := connect.NewUnaryHandler( VtctldInitShardPrimaryProcedure, svc.InitShardPrimary, - opts..., + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldLaunchSchemaMigrationHandler := connect.NewUnaryHandler( VtctldLaunchSchemaMigrationProcedure, svc.LaunchSchemaMigration, - opts..., + connect.WithSchema(vtctldLaunchSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldLookupVindexCreateHandler := connect.NewUnaryHandler( VtctldLookupVindexCreateProcedure, svc.LookupVindexCreate, - opts..., + connect.WithSchema(vtctldLookupVindexCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldLookupVindexExternalizeHandler := connect.NewUnaryHandler( VtctldLookupVindexExternalizeProcedure, svc.LookupVindexExternalize, - opts..., + connect.WithSchema(vtctldLookupVindexExternalizeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMaterializeCreateHandler := connect.NewUnaryHandler( VtctldMaterializeCreateProcedure, svc.MaterializeCreate, - opts..., + connect.WithSchema(vtctldMaterializeCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMigrateCreateHandler := connect.NewUnaryHandler( VtctldMigrateCreateProcedure, svc.MigrateCreate, - opts..., + connect.WithSchema(vtctldMigrateCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountRegisterHandler := connect.NewUnaryHandler( VtctldMountRegisterProcedure, svc.MountRegister, - opts..., + connect.WithSchema(vtctldMountRegisterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountUnregisterHandler := connect.NewUnaryHandler( VtctldMountUnregisterProcedure, svc.MountUnregister, - opts..., + connect.WithSchema(vtctldMountUnregisterMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountShowHandler := connect.NewUnaryHandler( VtctldMountShowProcedure, svc.MountShow, - opts..., + connect.WithSchema(vtctldMountShowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMountListHandler := connect.NewUnaryHandler( VtctldMountListProcedure, svc.MountList, - opts..., + connect.WithSchema(vtctldMountListMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMoveTablesCreateHandler := connect.NewUnaryHandler( VtctldMoveTablesCreateProcedure, svc.MoveTablesCreate, - opts..., + connect.WithSchema(vtctldMoveTablesCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldMoveTablesCompleteHandler := connect.NewUnaryHandler( VtctldMoveTablesCompleteProcedure, svc.MoveTablesComplete, - opts..., + connect.WithSchema(vtctldMoveTablesCompleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPingTabletHandler := connect.NewUnaryHandler( VtctldPingTabletProcedure, svc.PingTablet, - opts..., + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldPlannedReparentShardHandler := connect.NewUnaryHandler( VtctldPlannedReparentShardProcedure, svc.PlannedReparentShard, - opts..., + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( VtctldRebuildKeyspaceGraphProcedure, svc.RebuildKeyspaceGraph, - opts..., + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRebuildVSchemaGraphHandler := connect.NewUnaryHandler( VtctldRebuildVSchemaGraphProcedure, svc.RebuildVSchemaGraph, - opts..., + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateHandler := connect.NewUnaryHandler( VtctldRefreshStateProcedure, svc.RefreshState, - opts..., + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRefreshStateByShardHandler := connect.NewUnaryHandler( VtctldRefreshStateByShardProcedure, svc.RefreshStateByShard, - opts..., + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaHandler := connect.NewUnaryHandler( VtctldReloadSchemaProcedure, svc.ReloadSchema, - opts..., + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldReloadSchemaKeyspaceProcedure, svc.ReloadSchemaKeyspace, - opts..., + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReloadSchemaShardHandler := connect.NewUnaryHandler( VtctldReloadSchemaShardProcedure, svc.ReloadSchemaShard, - opts..., + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveBackupHandler := connect.NewUnaryHandler( VtctldRemoveBackupProcedure, svc.RemoveBackup, - opts..., + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveKeyspaceCellHandler := connect.NewUnaryHandler( VtctldRemoveKeyspaceCellProcedure, svc.RemoveKeyspaceCell, - opts..., + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRemoveShardCellHandler := connect.NewUnaryHandler( VtctldRemoveShardCellProcedure, svc.RemoveShardCell, - opts..., + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReparentTabletHandler := connect.NewUnaryHandler( VtctldReparentTabletProcedure, svc.ReparentTablet, - opts..., + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldReshardCreateHandler := connect.NewUnaryHandler( VtctldReshardCreateProcedure, svc.ReshardCreate, - opts..., + connect.WithSchema(vtctldReshardCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRestoreFromBackupHandler := connect.NewServerStreamHandler( VtctldRestoreFromBackupProcedure, svc.RestoreFromBackup, - opts..., + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRetrySchemaMigrationHandler := connect.NewUnaryHandler( VtctldRetrySchemaMigrationProcedure, svc.RetrySchemaMigration, - opts..., + connect.WithSchema(vtctldRetrySchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldRunHealthCheckHandler := connect.NewUnaryHandler( VtctldRunHealthCheckProcedure, svc.RunHealthCheck, - opts..., + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetKeyspaceDurabilityPolicyHandler := connect.NewUnaryHandler( VtctldSetKeyspaceDurabilityPolicyProcedure, svc.SetKeyspaceDurabilityPolicy, - opts..., + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardIsPrimaryServingHandler := connect.NewUnaryHandler( VtctldSetShardIsPrimaryServingProcedure, svc.SetShardIsPrimaryServing, - opts..., + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetShardTabletControlHandler := connect.NewUnaryHandler( VtctldSetShardTabletControlProcedure, svc.SetShardTabletControl, - opts..., + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSetWritableHandler := connect.NewUnaryHandler( VtctldSetWritableProcedure, svc.SetWritable, - opts..., + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationAddHandler := connect.NewUnaryHandler( VtctldShardReplicationAddProcedure, svc.ShardReplicationAdd, - opts..., + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationFixHandler := connect.NewUnaryHandler( VtctldShardReplicationFixProcedure, svc.ShardReplicationFix, - opts..., + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationPositionsHandler := connect.NewUnaryHandler( VtctldShardReplicationPositionsProcedure, svc.ShardReplicationPositions, - opts..., + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldShardReplicationRemoveHandler := connect.NewUnaryHandler( VtctldShardReplicationRemoveProcedure, svc.ShardReplicationRemove, - opts..., + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSleepTabletHandler := connect.NewUnaryHandler( VtctldSleepTabletProcedure, svc.SleepTablet, - opts..., + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardAddHandler := connect.NewUnaryHandler( VtctldSourceShardAddProcedure, svc.SourceShardAdd, - opts..., + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldSourceShardDeleteHandler := connect.NewUnaryHandler( VtctldSourceShardDeleteProcedure, svc.SourceShardDelete, - opts..., + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStartReplicationHandler := connect.NewUnaryHandler( VtctldStartReplicationProcedure, svc.StartReplication, - opts..., + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldStopReplicationHandler := connect.NewUnaryHandler( VtctldStopReplicationProcedure, svc.StopReplication, - opts..., + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldTabletExternallyReparentedHandler := connect.NewUnaryHandler( VtctldTabletExternallyReparentedProcedure, svc.TabletExternallyReparented, - opts..., + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellInfoHandler := connect.NewUnaryHandler( VtctldUpdateCellInfoProcedure, svc.UpdateCellInfo, - opts..., + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldUpdateCellsAliasHandler := connect.NewUnaryHandler( VtctldUpdateCellsAliasProcedure, svc.UpdateCellsAlias, - opts..., + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateHandler := connect.NewUnaryHandler( VtctldValidateProcedure, svc.Validate, - opts..., + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateKeyspaceProcedure, svc.ValidateKeyspace, - opts..., + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateSchemaKeyspaceProcedure, svc.ValidateSchemaKeyspace, - opts..., + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateShardHandler := connect.NewUnaryHandler( VtctldValidateShardProcedure, svc.ValidateShard, - opts..., + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionKeyspaceHandler := connect.NewUnaryHandler( VtctldValidateVersionKeyspaceProcedure, svc.ValidateVersionKeyspace, - opts..., + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVersionShardHandler := connect.NewUnaryHandler( VtctldValidateVersionShardProcedure, svc.ValidateVersionShard, - opts..., + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldValidateVSchemaHandler := connect.NewUnaryHandler( VtctldValidateVSchemaProcedure, svc.ValidateVSchema, - opts..., + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffCreateHandler := connect.NewUnaryHandler( VtctldVDiffCreateProcedure, svc.VDiffCreate, - opts..., + connect.WithSchema(vtctldVDiffCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffDeleteHandler := connect.NewUnaryHandler( VtctldVDiffDeleteProcedure, svc.VDiffDelete, - opts..., + connect.WithSchema(vtctldVDiffDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffResumeHandler := connect.NewUnaryHandler( VtctldVDiffResumeProcedure, svc.VDiffResume, - opts..., + connect.WithSchema(vtctldVDiffResumeMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffShowHandler := connect.NewUnaryHandler( VtctldVDiffShowProcedure, svc.VDiffShow, - opts..., + connect.WithSchema(vtctldVDiffShowMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldVDiffStopHandler := connect.NewUnaryHandler( VtctldVDiffStopProcedure, svc.VDiffStop, - opts..., + connect.WithSchema(vtctldVDiffStopMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowDeleteHandler := connect.NewUnaryHandler( VtctldWorkflowDeleteProcedure, svc.WorkflowDelete, - opts..., + connect.WithSchema(vtctldWorkflowDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowStatusHandler := connect.NewUnaryHandler( VtctldWorkflowStatusProcedure, svc.WorkflowStatus, - opts..., + connect.WithSchema(vtctldWorkflowStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowSwitchTrafficHandler := connect.NewUnaryHandler( VtctldWorkflowSwitchTrafficProcedure, svc.WorkflowSwitchTraffic, - opts..., + connect.WithSchema(vtctldWorkflowSwitchTrafficMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vtctldWorkflowUpdateHandler := connect.NewUnaryHandler( VtctldWorkflowUpdateProcedure, svc.WorkflowUpdate, - opts..., + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtctlservice.Vtctld/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -3032,442 +3371,442 @@ func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, // UnimplementedVtctldHandler returns CodeUnimplemented from all methods. type UnimplementedVtctldHandler struct{} -func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[v18.AddCellInfoRequest]) (*connect.Response[v18.AddCellInfoResponse], error) { +func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[v181.AddCellInfoRequest]) (*connect.Response[v181.AddCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[v18.AddCellsAliasRequest]) (*connect.Response[v18.AddCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[v181.AddCellsAliasRequest]) (*connect.Response[v181.AddCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[v18.ApplyRoutingRulesRequest]) (*connect.Response[v18.ApplyRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[v181.ApplyRoutingRulesRequest]) (*connect.Response[v181.ApplyRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[v18.ApplySchemaRequest]) (*connect.Response[v18.ApplySchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[v181.ApplySchemaRequest]) (*connect.Response[v181.ApplySchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplySchema is not implemented")) } -func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[v18.ApplyShardRoutingRulesRequest]) (*connect.Response[v18.ApplyShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[v181.ApplyShardRoutingRulesRequest]) (*connect.Response[v181.ApplyShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[v18.ApplyVSchemaRequest]) (*connect.Response[v18.ApplyVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[v181.ApplyVSchemaRequest]) (*connect.Response[v181.ApplyVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyVSchema is not implemented")) } -func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[v18.BackupRequest], *connect.ServerStream[v18.BackupResponse]) error { +func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[v181.BackupRequest], *connect.ServerStream[v181.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Backup is not implemented")) } -func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[v18.BackupShardRequest], *connect.ServerStream[v18.BackupResponse]) error { +func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[v181.BackupShardRequest], *connect.ServerStream[v181.BackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.BackupShard is not implemented")) } -func (UnimplementedVtctldHandler) CancelSchemaMigration(context.Context, *connect.Request[v18.CancelSchemaMigrationRequest]) (*connect.Response[v18.CancelSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) CancelSchemaMigration(context.Context, *connect.Request[v181.CancelSchemaMigrationRequest]) (*connect.Response[v181.CancelSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CancelSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[v18.ChangeTabletTypeRequest]) (*connect.Response[v18.ChangeTabletTypeResponse], error) { +func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[v181.ChangeTabletTypeRequest]) (*connect.Response[v181.ChangeTabletTypeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ChangeTabletType is not implemented")) } -func (UnimplementedVtctldHandler) CleanupSchemaMigration(context.Context, *connect.Request[v18.CleanupSchemaMigrationRequest]) (*connect.Response[v18.CleanupSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) CleanupSchemaMigration(context.Context, *connect.Request[v181.CleanupSchemaMigrationRequest]) (*connect.Response[v181.CleanupSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CleanupSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) CompleteSchemaMigration(context.Context, *connect.Request[v18.CompleteSchemaMigrationRequest]) (*connect.Response[v18.CompleteSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) CompleteSchemaMigration(context.Context, *connect.Request[v181.CompleteSchemaMigrationRequest]) (*connect.Response[v181.CompleteSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CompleteSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[v18.CreateKeyspaceRequest]) (*connect.Response[v18.CreateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[v181.CreateKeyspaceRequest]) (*connect.Response[v181.CreateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[v18.CreateShardRequest]) (*connect.Response[v18.CreateShardResponse], error) { +func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[v181.CreateShardRequest]) (*connect.Response[v181.CreateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateShard is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[v18.DeleteCellInfoRequest]) (*connect.Response[v18.DeleteCellInfoResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[v181.DeleteCellInfoRequest]) (*connect.Response[v181.DeleteCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[v18.DeleteCellsAliasRequest]) (*connect.Response[v18.DeleteCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[v181.DeleteCellsAliasRequest]) (*connect.Response[v181.DeleteCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[v18.DeleteKeyspaceRequest]) (*connect.Response[v18.DeleteKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[v181.DeleteKeyspaceRequest]) (*connect.Response[v181.DeleteKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[v18.DeleteShardsRequest]) (*connect.Response[v18.DeleteShardsResponse], error) { +func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[v181.DeleteShardsRequest]) (*connect.Response[v181.DeleteShardsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteShards is not implemented")) } -func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[v18.DeleteSrvVSchemaRequest]) (*connect.Response[v18.DeleteSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[v181.DeleteSrvVSchemaRequest]) (*connect.Response[v181.DeleteSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[v18.DeleteTabletsRequest]) (*connect.Response[v18.DeleteTabletsResponse], error) { +func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[v181.DeleteTabletsRequest]) (*connect.Response[v181.DeleteTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteTablets is not implemented")) } -func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[v18.EmergencyReparentShardRequest]) (*connect.Response[v18.EmergencyReparentShardResponse], error) { +func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[v181.EmergencyReparentShardRequest]) (*connect.Response[v181.EmergencyReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.EmergencyReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v18.ExecuteFetchAsAppRequest]) (*connect.Response[v18.ExecuteFetchAsAppResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v181.ExecuteFetchAsAppRequest]) (*connect.Response[v181.ExecuteFetchAsAppResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsApp is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[v18.ExecuteFetchAsDBARequest]) (*connect.Response[v18.ExecuteFetchAsDBAResponse], error) { +func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[v181.ExecuteFetchAsDBARequest]) (*connect.Response[v181.ExecuteFetchAsDBAResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsDBA is not implemented")) } -func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[v18.ExecuteHookRequest]) (*connect.Response[v18.ExecuteHookResponse], error) { +func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[v181.ExecuteHookRequest]) (*connect.Response[v181.ExecuteHookResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteHook is not implemented")) } -func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[v18.FindAllShardsInKeyspaceRequest]) (*connect.Response[v18.FindAllShardsInKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[v181.FindAllShardsInKeyspaceRequest]) (*connect.Response[v181.FindAllShardsInKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.FindAllShardsInKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[v18.GetBackupsRequest]) (*connect.Response[v18.GetBackupsResponse], error) { +func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[v181.GetBackupsRequest]) (*connect.Response[v181.GetBackupsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetBackups is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[v18.GetCellInfoRequest]) (*connect.Response[v18.GetCellInfoResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[v181.GetCellInfoRequest]) (*connect.Response[v181.GetCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[v18.GetCellInfoNamesRequest]) (*connect.Response[v18.GetCellInfoNamesResponse], error) { +func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[v181.GetCellInfoNamesRequest]) (*connect.Response[v181.GetCellInfoNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfoNames is not implemented")) } -func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[v18.GetCellsAliasesRequest]) (*connect.Response[v18.GetCellsAliasesResponse], error) { +func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[v181.GetCellsAliasesRequest]) (*connect.Response[v181.GetCellsAliasesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellsAliases is not implemented")) } -func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[v18.GetFullStatusRequest]) (*connect.Response[v18.GetFullStatusResponse], error) { +func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[v181.GetFullStatusRequest]) (*connect.Response[v181.GetFullStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetFullStatus is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[v18.GetKeyspaceRequest]) (*connect.Response[v18.GetKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[v181.GetKeyspaceRequest]) (*connect.Response[v181.GetKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[v18.GetKeyspacesRequest]) (*connect.Response[v18.GetKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[v181.GetKeyspacesRequest]) (*connect.Response[v181.GetKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[v18.GetPermissionsRequest]) (*connect.Response[v18.GetPermissionsResponse], error) { +func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[v181.GetPermissionsRequest]) (*connect.Response[v181.GetPermissionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetPermissions is not implemented")) } -func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[v18.GetRoutingRulesRequest]) (*connect.Response[v18.GetRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[v181.GetRoutingRulesRequest]) (*connect.Response[v181.GetRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[v18.GetSchemaRequest]) (*connect.Response[v18.GetSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[v181.GetSchemaRequest]) (*connect.Response[v181.GetSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetSchemaMigrations(context.Context, *connect.Request[v18.GetSchemaMigrationsRequest]) (*connect.Response[v18.GetSchemaMigrationsResponse], error) { +func (UnimplementedVtctldHandler) GetSchemaMigrations(context.Context, *connect.Request[v181.GetSchemaMigrationsRequest]) (*connect.Response[v181.GetSchemaMigrationsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchemaMigrations is not implemented")) } -func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[v18.GetShardRequest]) (*connect.Response[v18.GetShardResponse], error) { +func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[v181.GetShardRequest]) (*connect.Response[v181.GetShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShard is not implemented")) } -func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[v18.GetShardRoutingRulesRequest]) (*connect.Response[v18.GetShardRoutingRulesResponse], error) { +func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[v181.GetShardRoutingRulesRequest]) (*connect.Response[v181.GetShardRoutingRulesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShardRoutingRules is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[v18.GetSrvKeyspaceNamesRequest]) (*connect.Response[v18.GetSrvKeyspaceNamesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[v181.GetSrvKeyspaceNamesRequest]) (*connect.Response[v181.GetSrvKeyspaceNamesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaceNames is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[v18.GetSrvKeyspacesRequest]) (*connect.Response[v18.GetSrvKeyspacesResponse], error) { +func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[v181.GetSrvKeyspacesRequest]) (*connect.Response[v181.GetSrvKeyspacesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaces is not implemented")) } -func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[v18.UpdateThrottlerConfigRequest]) (*connect.Response[v18.UpdateThrottlerConfigResponse], error) { +func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[v181.UpdateThrottlerConfigRequest]) (*connect.Response[v181.UpdateThrottlerConfigResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateThrottlerConfig is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[v18.GetSrvVSchemaRequest]) (*connect.Response[v18.GetSrvVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[v181.GetSrvVSchemaRequest]) (*connect.Response[v181.GetSrvVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[v18.GetSrvVSchemasRequest]) (*connect.Response[v18.GetSrvVSchemasResponse], error) { +func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[v181.GetSrvVSchemasRequest]) (*connect.Response[v181.GetSrvVSchemasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchemas is not implemented")) } -func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[v18.GetTabletRequest]) (*connect.Response[v18.GetTabletResponse], error) { +func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[v181.GetTabletRequest]) (*connect.Response[v181.GetTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablet is not implemented")) } -func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[v18.GetTabletsRequest]) (*connect.Response[v18.GetTabletsResponse], error) { +func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[v181.GetTabletsRequest]) (*connect.Response[v181.GetTabletsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablets is not implemented")) } -func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[v18.GetTopologyPathRequest]) (*connect.Response[v18.GetTopologyPathResponse], error) { +func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[v181.GetTopologyPathRequest]) (*connect.Response[v181.GetTopologyPathResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTopologyPath is not implemented")) } -func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[v18.GetVersionRequest]) (*connect.Response[v18.GetVersionResponse], error) { +func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[v181.GetVersionRequest]) (*connect.Response[v181.GetVersionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVersion is not implemented")) } -func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[v18.GetVSchemaRequest]) (*connect.Response[v18.GetVSchemaResponse], error) { +func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[v181.GetVSchemaRequest]) (*connect.Response[v181.GetVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVSchema is not implemented")) } -func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[v18.GetWorkflowsRequest]) (*connect.Response[v18.GetWorkflowsResponse], error) { +func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[v181.GetWorkflowsRequest]) (*connect.Response[v181.GetWorkflowsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetWorkflows is not implemented")) } -func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[v18.InitShardPrimaryRequest]) (*connect.Response[v18.InitShardPrimaryResponse], error) { +func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[v181.InitShardPrimaryRequest]) (*connect.Response[v181.InitShardPrimaryResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.InitShardPrimary is not implemented")) } -func (UnimplementedVtctldHandler) LaunchSchemaMigration(context.Context, *connect.Request[v18.LaunchSchemaMigrationRequest]) (*connect.Response[v18.LaunchSchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) LaunchSchemaMigration(context.Context, *connect.Request[v181.LaunchSchemaMigrationRequest]) (*connect.Response[v181.LaunchSchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LaunchSchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) LookupVindexCreate(context.Context, *connect.Request[v18.LookupVindexCreateRequest]) (*connect.Response[v18.LookupVindexCreateResponse], error) { +func (UnimplementedVtctldHandler) LookupVindexCreate(context.Context, *connect.Request[v181.LookupVindexCreateRequest]) (*connect.Response[v181.LookupVindexCreateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LookupVindexCreate is not implemented")) } -func (UnimplementedVtctldHandler) LookupVindexExternalize(context.Context, *connect.Request[v18.LookupVindexExternalizeRequest]) (*connect.Response[v18.LookupVindexExternalizeResponse], error) { +func (UnimplementedVtctldHandler) LookupVindexExternalize(context.Context, *connect.Request[v181.LookupVindexExternalizeRequest]) (*connect.Response[v181.LookupVindexExternalizeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LookupVindexExternalize is not implemented")) } -func (UnimplementedVtctldHandler) MaterializeCreate(context.Context, *connect.Request[v18.MaterializeCreateRequest]) (*connect.Response[v18.MaterializeCreateResponse], error) { +func (UnimplementedVtctldHandler) MaterializeCreate(context.Context, *connect.Request[v181.MaterializeCreateRequest]) (*connect.Response[v181.MaterializeCreateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MaterializeCreate is not implemented")) } -func (UnimplementedVtctldHandler) MigrateCreate(context.Context, *connect.Request[v18.MigrateCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) MigrateCreate(context.Context, *connect.Request[v181.MigrateCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MigrateCreate is not implemented")) } -func (UnimplementedVtctldHandler) MountRegister(context.Context, *connect.Request[v18.MountRegisterRequest]) (*connect.Response[v18.MountRegisterResponse], error) { +func (UnimplementedVtctldHandler) MountRegister(context.Context, *connect.Request[v181.MountRegisterRequest]) (*connect.Response[v181.MountRegisterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountRegister is not implemented")) } -func (UnimplementedVtctldHandler) MountUnregister(context.Context, *connect.Request[v18.MountUnregisterRequest]) (*connect.Response[v18.MountUnregisterResponse], error) { +func (UnimplementedVtctldHandler) MountUnregister(context.Context, *connect.Request[v181.MountUnregisterRequest]) (*connect.Response[v181.MountUnregisterResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountUnregister is not implemented")) } -func (UnimplementedVtctldHandler) MountShow(context.Context, *connect.Request[v18.MountShowRequest]) (*connect.Response[v18.MountShowResponse], error) { +func (UnimplementedVtctldHandler) MountShow(context.Context, *connect.Request[v181.MountShowRequest]) (*connect.Response[v181.MountShowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountShow is not implemented")) } -func (UnimplementedVtctldHandler) MountList(context.Context, *connect.Request[v18.MountListRequest]) (*connect.Response[v18.MountListResponse], error) { +func (UnimplementedVtctldHandler) MountList(context.Context, *connect.Request[v181.MountListRequest]) (*connect.Response[v181.MountListResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountList is not implemented")) } -func (UnimplementedVtctldHandler) MoveTablesCreate(context.Context, *connect.Request[v18.MoveTablesCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) MoveTablesCreate(context.Context, *connect.Request[v181.MoveTablesCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MoveTablesCreate is not implemented")) } -func (UnimplementedVtctldHandler) MoveTablesComplete(context.Context, *connect.Request[v18.MoveTablesCompleteRequest]) (*connect.Response[v18.MoveTablesCompleteResponse], error) { +func (UnimplementedVtctldHandler) MoveTablesComplete(context.Context, *connect.Request[v181.MoveTablesCompleteRequest]) (*connect.Response[v181.MoveTablesCompleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MoveTablesComplete is not implemented")) } -func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[v18.PingTabletRequest]) (*connect.Response[v18.PingTabletResponse], error) { +func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[v181.PingTabletRequest]) (*connect.Response[v181.PingTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PingTablet is not implemented")) } -func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[v18.PlannedReparentShardRequest]) (*connect.Response[v18.PlannedReparentShardResponse], error) { +func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[v181.PlannedReparentShardRequest]) (*connect.Response[v181.PlannedReparentShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PlannedReparentShard is not implemented")) } -func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v18.RebuildKeyspaceGraphRequest]) (*connect.Response[v18.RebuildKeyspaceGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v181.RebuildKeyspaceGraphRequest]) (*connect.Response[v181.RebuildKeyspaceGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildKeyspaceGraph is not implemented")) } -func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[v18.RebuildVSchemaGraphRequest]) (*connect.Response[v18.RebuildVSchemaGraphResponse], error) { +func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[v181.RebuildVSchemaGraphRequest]) (*connect.Response[v181.RebuildVSchemaGraphResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildVSchemaGraph is not implemented")) } -func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[v18.RefreshStateRequest]) (*connect.Response[v18.RefreshStateResponse], error) { +func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[v181.RefreshStateRequest]) (*connect.Response[v181.RefreshStateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshState is not implemented")) } -func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[v18.RefreshStateByShardRequest]) (*connect.Response[v18.RefreshStateByShardResponse], error) { +func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[v181.RefreshStateByShardRequest]) (*connect.Response[v181.RefreshStateByShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshStateByShard is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[v18.ReloadSchemaRequest]) (*connect.Response[v18.ReloadSchemaResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[v181.ReloadSchemaRequest]) (*connect.Response[v181.ReloadSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchema is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[v18.ReloadSchemaKeyspaceRequest]) (*connect.Response[v18.ReloadSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[v181.ReloadSchemaKeyspaceRequest]) (*connect.Response[v181.ReloadSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[v18.ReloadSchemaShardRequest]) (*connect.Response[v18.ReloadSchemaShardResponse], error) { +func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[v181.ReloadSchemaShardRequest]) (*connect.Response[v181.ReloadSchemaShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaShard is not implemented")) } -func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[v18.RemoveBackupRequest]) (*connect.Response[v18.RemoveBackupResponse], error) { +func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[v181.RemoveBackupRequest]) (*connect.Response[v181.RemoveBackupResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveBackup is not implemented")) } -func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v18.RemoveKeyspaceCellRequest]) (*connect.Response[v18.RemoveKeyspaceCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v181.RemoveKeyspaceCellRequest]) (*connect.Response[v181.RemoveKeyspaceCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveKeyspaceCell is not implemented")) } -func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[v18.RemoveShardCellRequest]) (*connect.Response[v18.RemoveShardCellResponse], error) { +func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[v181.RemoveShardCellRequest]) (*connect.Response[v181.RemoveShardCellResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveShardCell is not implemented")) } -func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[v18.ReparentTabletRequest]) (*connect.Response[v18.ReparentTabletResponse], error) { +func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[v181.ReparentTabletRequest]) (*connect.Response[v181.ReparentTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReparentTablet is not implemented")) } -func (UnimplementedVtctldHandler) ReshardCreate(context.Context, *connect.Request[v18.ReshardCreateRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) ReshardCreate(context.Context, *connect.Request[v181.ReshardCreateRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReshardCreate is not implemented")) } -func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[v18.RestoreFromBackupRequest], *connect.ServerStream[v18.RestoreFromBackupResponse]) error { +func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[v181.RestoreFromBackupRequest], *connect.ServerStream[v181.RestoreFromBackupResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RestoreFromBackup is not implemented")) } -func (UnimplementedVtctldHandler) RetrySchemaMigration(context.Context, *connect.Request[v18.RetrySchemaMigrationRequest]) (*connect.Response[v18.RetrySchemaMigrationResponse], error) { +func (UnimplementedVtctldHandler) RetrySchemaMigration(context.Context, *connect.Request[v181.RetrySchemaMigrationRequest]) (*connect.Response[v181.RetrySchemaMigrationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RetrySchemaMigration is not implemented")) } -func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[v18.RunHealthCheckRequest]) (*connect.Response[v18.RunHealthCheckResponse], error) { +func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[v181.RunHealthCheckRequest]) (*connect.Response[v181.RunHealthCheckResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RunHealthCheck is not implemented")) } -func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v18.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v18.SetKeyspaceDurabilityPolicyResponse], error) { +func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v181.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v181.SetKeyspaceDurabilityPolicyResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy is not implemented")) } -func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[v18.SetShardIsPrimaryServingRequest]) (*connect.Response[v18.SetShardIsPrimaryServingResponse], error) { +func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[v181.SetShardIsPrimaryServingRequest]) (*connect.Response[v181.SetShardIsPrimaryServingResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardIsPrimaryServing is not implemented")) } -func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[v18.SetShardTabletControlRequest]) (*connect.Response[v18.SetShardTabletControlResponse], error) { +func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[v181.SetShardTabletControlRequest]) (*connect.Response[v181.SetShardTabletControlResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardTabletControl is not implemented")) } -func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[v18.SetWritableRequest]) (*connect.Response[v18.SetWritableResponse], error) { +func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[v181.SetWritableRequest]) (*connect.Response[v181.SetWritableResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetWritable is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[v18.ShardReplicationAddRequest]) (*connect.Response[v18.ShardReplicationAddResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[v181.ShardReplicationAddRequest]) (*connect.Response[v181.ShardReplicationAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationAdd is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[v18.ShardReplicationFixRequest]) (*connect.Response[v18.ShardReplicationFixResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[v181.ShardReplicationFixRequest]) (*connect.Response[v181.ShardReplicationFixResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationFix is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[v18.ShardReplicationPositionsRequest]) (*connect.Response[v18.ShardReplicationPositionsResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[v181.ShardReplicationPositionsRequest]) (*connect.Response[v181.ShardReplicationPositionsResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationPositions is not implemented")) } -func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[v18.ShardReplicationRemoveRequest]) (*connect.Response[v18.ShardReplicationRemoveResponse], error) { +func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[v181.ShardReplicationRemoveRequest]) (*connect.Response[v181.ShardReplicationRemoveResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationRemove is not implemented")) } -func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[v18.SleepTabletRequest]) (*connect.Response[v18.SleepTabletResponse], error) { +func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[v181.SleepTabletRequest]) (*connect.Response[v181.SleepTabletResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SleepTablet is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[v18.SourceShardAddRequest]) (*connect.Response[v18.SourceShardAddResponse], error) { +func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[v181.SourceShardAddRequest]) (*connect.Response[v181.SourceShardAddResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardAdd is not implemented")) } -func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[v18.SourceShardDeleteRequest]) (*connect.Response[v18.SourceShardDeleteResponse], error) { +func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[v181.SourceShardDeleteRequest]) (*connect.Response[v181.SourceShardDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardDelete is not implemented")) } -func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[v18.StartReplicationRequest]) (*connect.Response[v18.StartReplicationResponse], error) { +func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[v181.StartReplicationRequest]) (*connect.Response[v181.StartReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StartReplication is not implemented")) } -func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[v18.StopReplicationRequest]) (*connect.Response[v18.StopReplicationResponse], error) { +func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[v181.StopReplicationRequest]) (*connect.Response[v181.StopReplicationResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StopReplication is not implemented")) } -func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[v18.TabletExternallyReparentedRequest]) (*connect.Response[v18.TabletExternallyReparentedResponse], error) { +func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[v181.TabletExternallyReparentedRequest]) (*connect.Response[v181.TabletExternallyReparentedResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.TabletExternallyReparented is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[v18.UpdateCellInfoRequest]) (*connect.Response[v18.UpdateCellInfoResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[v181.UpdateCellInfoRequest]) (*connect.Response[v181.UpdateCellInfoResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellInfo is not implemented")) } -func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[v18.UpdateCellsAliasRequest]) (*connect.Response[v18.UpdateCellsAliasResponse], error) { +func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[v181.UpdateCellsAliasRequest]) (*connect.Response[v181.UpdateCellsAliasResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellsAlias is not implemented")) } -func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[v18.ValidateRequest]) (*connect.Response[v18.ValidateResponse], error) { +func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[v181.ValidateRequest]) (*connect.Response[v181.ValidateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Validate is not implemented")) } -func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[v18.ValidateKeyspaceRequest]) (*connect.Response[v18.ValidateKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[v181.ValidateKeyspaceRequest]) (*connect.Response[v181.ValidateKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v18.ValidateSchemaKeyspaceRequest]) (*connect.Response[v18.ValidateSchemaKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v181.ValidateSchemaKeyspaceRequest]) (*connect.Response[v181.ValidateSchemaKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateSchemaKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[v18.ValidateShardRequest]) (*connect.Response[v18.ValidateShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[v181.ValidateShardRequest]) (*connect.Response[v181.ValidateShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v18.ValidateVersionKeyspaceRequest]) (*connect.Response[v18.ValidateVersionKeyspaceResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v181.ValidateVersionKeyspaceRequest]) (*connect.Response[v181.ValidateVersionKeyspaceResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionKeyspace is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[v18.ValidateVersionShardRequest]) (*connect.Response[v18.ValidateVersionShardResponse], error) { +func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[v181.ValidateVersionShardRequest]) (*connect.Response[v181.ValidateVersionShardResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionShard is not implemented")) } -func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[v18.ValidateVSchemaRequest]) (*connect.Response[v18.ValidateVSchemaResponse], error) { +func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[v181.ValidateVSchemaRequest]) (*connect.Response[v181.ValidateVSchemaResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVSchema is not implemented")) } -func (UnimplementedVtctldHandler) VDiffCreate(context.Context, *connect.Request[v18.VDiffCreateRequest]) (*connect.Response[v18.VDiffCreateResponse], error) { +func (UnimplementedVtctldHandler) VDiffCreate(context.Context, *connect.Request[v181.VDiffCreateRequest]) (*connect.Response[v181.VDiffCreateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffCreate is not implemented")) } -func (UnimplementedVtctldHandler) VDiffDelete(context.Context, *connect.Request[v18.VDiffDeleteRequest]) (*connect.Response[v18.VDiffDeleteResponse], error) { +func (UnimplementedVtctldHandler) VDiffDelete(context.Context, *connect.Request[v181.VDiffDeleteRequest]) (*connect.Response[v181.VDiffDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffDelete is not implemented")) } -func (UnimplementedVtctldHandler) VDiffResume(context.Context, *connect.Request[v18.VDiffResumeRequest]) (*connect.Response[v18.VDiffResumeResponse], error) { +func (UnimplementedVtctldHandler) VDiffResume(context.Context, *connect.Request[v181.VDiffResumeRequest]) (*connect.Response[v181.VDiffResumeResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffResume is not implemented")) } -func (UnimplementedVtctldHandler) VDiffShow(context.Context, *connect.Request[v18.VDiffShowRequest]) (*connect.Response[v18.VDiffShowResponse], error) { +func (UnimplementedVtctldHandler) VDiffShow(context.Context, *connect.Request[v181.VDiffShowRequest]) (*connect.Response[v181.VDiffShowResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffShow is not implemented")) } -func (UnimplementedVtctldHandler) VDiffStop(context.Context, *connect.Request[v18.VDiffStopRequest]) (*connect.Response[v18.VDiffStopResponse], error) { +func (UnimplementedVtctldHandler) VDiffStop(context.Context, *connect.Request[v181.VDiffStopRequest]) (*connect.Response[v181.VDiffStopResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffStop is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowDelete(context.Context, *connect.Request[v18.WorkflowDeleteRequest]) (*connect.Response[v18.WorkflowDeleteResponse], error) { +func (UnimplementedVtctldHandler) WorkflowDelete(context.Context, *connect.Request[v181.WorkflowDeleteRequest]) (*connect.Response[v181.WorkflowDeleteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowDelete is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowStatus(context.Context, *connect.Request[v18.WorkflowStatusRequest]) (*connect.Response[v18.WorkflowStatusResponse], error) { +func (UnimplementedVtctldHandler) WorkflowStatus(context.Context, *connect.Request[v181.WorkflowStatusRequest]) (*connect.Response[v181.WorkflowStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowStatus is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowSwitchTraffic(context.Context, *connect.Request[v18.WorkflowSwitchTrafficRequest]) (*connect.Response[v18.WorkflowSwitchTrafficResponse], error) { +func (UnimplementedVtctldHandler) WorkflowSwitchTraffic(context.Context, *connect.Request[v181.WorkflowSwitchTrafficRequest]) (*connect.Response[v181.WorkflowSwitchTrafficResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowSwitchTraffic is not implemented")) } -func (UnimplementedVtctldHandler) WorkflowUpdate(context.Context, *connect.Request[v18.WorkflowUpdateRequest]) (*connect.Response[v18.WorkflowUpdateResponse], error) { +func (UnimplementedVtctldHandler) WorkflowUpdate(context.Context, *connect.Request[v181.WorkflowUpdateRequest]) (*connect.Response[v181.WorkflowUpdateResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowUpdate is not implemented")) } diff --git a/gen/vitess/vtctlservice/v19/vtctlservice.pb.go b/gen/vitess/vtctlservice/v19/vtctlservice.pb.go new file mode 100644 index 0000000..2da42eb --- /dev/null +++ b/gen/vitess/vtctlservice/v19/vtctlservice.pb.go @@ -0,0 +1,1359 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This package contains a service allowing you to use vtctld as a +// proxy for vt commands. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vtctlservice/v19/vtctlservice.proto + +package vtctlservicev19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_vitess_vtctlservice_v19_vtctlservice_proto protoreflect.FileDescriptor + +var file_vitess_vtctlservice_v19_vtctlservice_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x24, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x87, 0x01, 0x0a, 0x05, + 0x56, 0x74, 0x63, 0x74, 0x6c, 0x12, 0x7e, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x56, 0x74, 0x63, 0x74, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x30, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x56, 0x74, 0x63, 0x74, 0x6c, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x56, 0x74, 0x63, + 0x74, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x30, 0x01, 0x32, 0xae, 0x65, 0x0a, 0x06, 0x56, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x12, 0x64, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x43, 0x65, 0x6c, + 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, + 0x64, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x65, + 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x85, 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, + 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, + 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x41, 0x70, 0x70, 0x6c, 0x79, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x57, 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x23, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x0b, 0x42, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x82, 0x01, + 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x65, 0x61, + 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, + 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x88, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x6d, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, + 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, + 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, + 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, + 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x72, 0x76, 0x56, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x6a, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, + 0x16, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x34, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, + 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, 0x70, 0x70, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x41, + 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, + 0x41, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x73, 0x44, 0x42, 0x41, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, + 0x6f, 0x6f, 0x6b, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x49, 0x6e, 0x4b, 0x65, 0x79, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 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, 0x22, 0x00, 0x12, 0x94, 0x01, 0x0a, 0x1b, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, + 0x4f, 0x76, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, + 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x75, 0x74, 0x4f, 0x76, 0x65, + 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, + 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, + 0x0b, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, + 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x47, 0x65, + 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, + 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x25, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x7f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 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, 0x22, 0x00, + 0x12, 0x7c, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 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, 0x22, 0x00, 0x12, 0x70, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x4b, 0x65, 0x79, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x82, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, + 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x68, 0x72, 0x6f, + 0x74, 0x74, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, + 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, + 0x76, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x72, 0x76, 0x56, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x5e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x26, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x12, 0x27, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, + 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x47, + 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x47, 0x65, + 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x49, 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x49, + 0x6e, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x4c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, + 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, + 0x0a, 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, + 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x6f, 0x6f, + 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x4c, 0x6f, + 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4c, 0x6f, 0x6f, + 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0d, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x53, 0x68, 0x6f, 0x77, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, + 0x74, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, + 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x10, 0x4d, 0x6f, 0x76, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x4d, 0x6f, + 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x6e, + 0x6e, 0x65, 0x64, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x47, 0x72, 0x61, 0x70, + 0x68, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x52, 0x65, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x61, 0x70, + 0x68, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x72, + 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x42, 0x79, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 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, 0x22, 0x00, 0x12, + 0x67, 0x0a, 0x0c, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, + 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x6f, + 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x52, 0x65, 0x6c, + 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, + 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c, + 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x52, 0x65, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, + 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, + 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 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, 0x22, 0x00, 0x30, 0x01, 0x12, 0x7f, 0x0a, + 0x14, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x74, + 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, + 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x75, 0x6e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x94, 0x01, + 0x0a, 0x1b, 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, 0x12, 0x38, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x49, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, + 0x67, 0x12, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 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, + 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x32, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 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, + 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x57, 0x72, + 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, + 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, + 0x13, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x41, 0x64, 0x64, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, + 0x69, 0x78, 0x12, 0x30, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x19, 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, 0x12, 0x36, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 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, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, + 0x73, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x6f, + 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x91, 0x01, 0x0a, 0x1a, 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, 0x12, 0x37, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x38, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x2d, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, + 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x73, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, + 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x22, 0x00, + 0x12, 0x85, 0x01, 0x0a, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x33, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 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, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x22, 0x00, 0x12, + 0x7f, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 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, 0x1a, 0x32, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 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, 0x22, 0x00, + 0x12, 0x70, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x56, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x56, 0x44, 0x69, 0x66, + 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, + 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, + 0x0a, 0x0b, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x28, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, + 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, + 0x77, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, + 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, + 0x70, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, + 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, + 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, + 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, + 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x32, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x77, 0x69, 0x74, + 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x63, 0x74, 0x6c, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x51, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, + 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x76, 0x74, 0x63, 0x74, 0x6c, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var file_vitess_vtctlservice_v19_vtctlservice_proto_goTypes = []any{ + (*v19.ExecuteVtctlCommandRequest)(nil), // 0: vitess.vtctldata.v19.ExecuteVtctlCommandRequest + (*v19.AddCellInfoRequest)(nil), // 1: vitess.vtctldata.v19.AddCellInfoRequest + (*v19.AddCellsAliasRequest)(nil), // 2: vitess.vtctldata.v19.AddCellsAliasRequest + (*v19.ApplyRoutingRulesRequest)(nil), // 3: vitess.vtctldata.v19.ApplyRoutingRulesRequest + (*v19.ApplySchemaRequest)(nil), // 4: vitess.vtctldata.v19.ApplySchemaRequest + (*v19.ApplyShardRoutingRulesRequest)(nil), // 5: vitess.vtctldata.v19.ApplyShardRoutingRulesRequest + (*v19.ApplyVSchemaRequest)(nil), // 6: vitess.vtctldata.v19.ApplyVSchemaRequest + (*v19.BackupRequest)(nil), // 7: vitess.vtctldata.v19.BackupRequest + (*v19.BackupShardRequest)(nil), // 8: vitess.vtctldata.v19.BackupShardRequest + (*v19.CancelSchemaMigrationRequest)(nil), // 9: vitess.vtctldata.v19.CancelSchemaMigrationRequest + (*v19.ChangeTabletTypeRequest)(nil), // 10: vitess.vtctldata.v19.ChangeTabletTypeRequest + (*v19.CleanupSchemaMigrationRequest)(nil), // 11: vitess.vtctldata.v19.CleanupSchemaMigrationRequest + (*v19.CompleteSchemaMigrationRequest)(nil), // 12: vitess.vtctldata.v19.CompleteSchemaMigrationRequest + (*v19.CreateKeyspaceRequest)(nil), // 13: vitess.vtctldata.v19.CreateKeyspaceRequest + (*v19.CreateShardRequest)(nil), // 14: vitess.vtctldata.v19.CreateShardRequest + (*v19.DeleteCellInfoRequest)(nil), // 15: vitess.vtctldata.v19.DeleteCellInfoRequest + (*v19.DeleteCellsAliasRequest)(nil), // 16: vitess.vtctldata.v19.DeleteCellsAliasRequest + (*v19.DeleteKeyspaceRequest)(nil), // 17: vitess.vtctldata.v19.DeleteKeyspaceRequest + (*v19.DeleteShardsRequest)(nil), // 18: vitess.vtctldata.v19.DeleteShardsRequest + (*v19.DeleteSrvVSchemaRequest)(nil), // 19: vitess.vtctldata.v19.DeleteSrvVSchemaRequest + (*v19.DeleteTabletsRequest)(nil), // 20: vitess.vtctldata.v19.DeleteTabletsRequest + (*v19.EmergencyReparentShardRequest)(nil), // 21: vitess.vtctldata.v19.EmergencyReparentShardRequest + (*v19.ExecuteFetchAsAppRequest)(nil), // 22: vitess.vtctldata.v19.ExecuteFetchAsAppRequest + (*v19.ExecuteFetchAsDBARequest)(nil), // 23: vitess.vtctldata.v19.ExecuteFetchAsDBARequest + (*v19.ExecuteHookRequest)(nil), // 24: vitess.vtctldata.v19.ExecuteHookRequest + (*v19.FindAllShardsInKeyspaceRequest)(nil), // 25: vitess.vtctldata.v19.FindAllShardsInKeyspaceRequest + (*v19.ForceCutOverSchemaMigrationRequest)(nil), // 26: vitess.vtctldata.v19.ForceCutOverSchemaMigrationRequest + (*v19.GetBackupsRequest)(nil), // 27: vitess.vtctldata.v19.GetBackupsRequest + (*v19.GetCellInfoRequest)(nil), // 28: vitess.vtctldata.v19.GetCellInfoRequest + (*v19.GetCellInfoNamesRequest)(nil), // 29: vitess.vtctldata.v19.GetCellInfoNamesRequest + (*v19.GetCellsAliasesRequest)(nil), // 30: vitess.vtctldata.v19.GetCellsAliasesRequest + (*v19.GetFullStatusRequest)(nil), // 31: vitess.vtctldata.v19.GetFullStatusRequest + (*v19.GetKeyspaceRequest)(nil), // 32: vitess.vtctldata.v19.GetKeyspaceRequest + (*v19.GetKeyspacesRequest)(nil), // 33: vitess.vtctldata.v19.GetKeyspacesRequest + (*v19.GetPermissionsRequest)(nil), // 34: vitess.vtctldata.v19.GetPermissionsRequest + (*v19.GetRoutingRulesRequest)(nil), // 35: vitess.vtctldata.v19.GetRoutingRulesRequest + (*v19.GetSchemaRequest)(nil), // 36: vitess.vtctldata.v19.GetSchemaRequest + (*v19.GetSchemaMigrationsRequest)(nil), // 37: vitess.vtctldata.v19.GetSchemaMigrationsRequest + (*v19.GetShardReplicationRequest)(nil), // 38: vitess.vtctldata.v19.GetShardReplicationRequest + (*v19.GetShardRequest)(nil), // 39: vitess.vtctldata.v19.GetShardRequest + (*v19.GetShardRoutingRulesRequest)(nil), // 40: vitess.vtctldata.v19.GetShardRoutingRulesRequest + (*v19.GetSrvKeyspaceNamesRequest)(nil), // 41: vitess.vtctldata.v19.GetSrvKeyspaceNamesRequest + (*v19.GetSrvKeyspacesRequest)(nil), // 42: vitess.vtctldata.v19.GetSrvKeyspacesRequest + (*v19.UpdateThrottlerConfigRequest)(nil), // 43: vitess.vtctldata.v19.UpdateThrottlerConfigRequest + (*v19.GetSrvVSchemaRequest)(nil), // 44: vitess.vtctldata.v19.GetSrvVSchemaRequest + (*v19.GetSrvVSchemasRequest)(nil), // 45: vitess.vtctldata.v19.GetSrvVSchemasRequest + (*v19.GetTabletRequest)(nil), // 46: vitess.vtctldata.v19.GetTabletRequest + (*v19.GetTabletsRequest)(nil), // 47: vitess.vtctldata.v19.GetTabletsRequest + (*v19.GetTopologyPathRequest)(nil), // 48: vitess.vtctldata.v19.GetTopologyPathRequest + (*v19.GetVersionRequest)(nil), // 49: vitess.vtctldata.v19.GetVersionRequest + (*v19.GetVSchemaRequest)(nil), // 50: vitess.vtctldata.v19.GetVSchemaRequest + (*v19.GetWorkflowsRequest)(nil), // 51: vitess.vtctldata.v19.GetWorkflowsRequest + (*v19.InitShardPrimaryRequest)(nil), // 52: vitess.vtctldata.v19.InitShardPrimaryRequest + (*v19.LaunchSchemaMigrationRequest)(nil), // 53: vitess.vtctldata.v19.LaunchSchemaMigrationRequest + (*v19.LookupVindexCreateRequest)(nil), // 54: vitess.vtctldata.v19.LookupVindexCreateRequest + (*v19.LookupVindexExternalizeRequest)(nil), // 55: vitess.vtctldata.v19.LookupVindexExternalizeRequest + (*v19.MaterializeCreateRequest)(nil), // 56: vitess.vtctldata.v19.MaterializeCreateRequest + (*v19.MigrateCreateRequest)(nil), // 57: vitess.vtctldata.v19.MigrateCreateRequest + (*v19.MountRegisterRequest)(nil), // 58: vitess.vtctldata.v19.MountRegisterRequest + (*v19.MountUnregisterRequest)(nil), // 59: vitess.vtctldata.v19.MountUnregisterRequest + (*v19.MountShowRequest)(nil), // 60: vitess.vtctldata.v19.MountShowRequest + (*v19.MountListRequest)(nil), // 61: vitess.vtctldata.v19.MountListRequest + (*v19.MoveTablesCreateRequest)(nil), // 62: vitess.vtctldata.v19.MoveTablesCreateRequest + (*v19.MoveTablesCompleteRequest)(nil), // 63: vitess.vtctldata.v19.MoveTablesCompleteRequest + (*v19.PingTabletRequest)(nil), // 64: vitess.vtctldata.v19.PingTabletRequest + (*v19.PlannedReparentShardRequest)(nil), // 65: vitess.vtctldata.v19.PlannedReparentShardRequest + (*v19.RebuildKeyspaceGraphRequest)(nil), // 66: vitess.vtctldata.v19.RebuildKeyspaceGraphRequest + (*v19.RebuildVSchemaGraphRequest)(nil), // 67: vitess.vtctldata.v19.RebuildVSchemaGraphRequest + (*v19.RefreshStateRequest)(nil), // 68: vitess.vtctldata.v19.RefreshStateRequest + (*v19.RefreshStateByShardRequest)(nil), // 69: vitess.vtctldata.v19.RefreshStateByShardRequest + (*v19.ReloadSchemaRequest)(nil), // 70: vitess.vtctldata.v19.ReloadSchemaRequest + (*v19.ReloadSchemaKeyspaceRequest)(nil), // 71: vitess.vtctldata.v19.ReloadSchemaKeyspaceRequest + (*v19.ReloadSchemaShardRequest)(nil), // 72: vitess.vtctldata.v19.ReloadSchemaShardRequest + (*v19.RemoveBackupRequest)(nil), // 73: vitess.vtctldata.v19.RemoveBackupRequest + (*v19.RemoveKeyspaceCellRequest)(nil), // 74: vitess.vtctldata.v19.RemoveKeyspaceCellRequest + (*v19.RemoveShardCellRequest)(nil), // 75: vitess.vtctldata.v19.RemoveShardCellRequest + (*v19.ReparentTabletRequest)(nil), // 76: vitess.vtctldata.v19.ReparentTabletRequest + (*v19.ReshardCreateRequest)(nil), // 77: vitess.vtctldata.v19.ReshardCreateRequest + (*v19.RestoreFromBackupRequest)(nil), // 78: vitess.vtctldata.v19.RestoreFromBackupRequest + (*v19.RetrySchemaMigrationRequest)(nil), // 79: vitess.vtctldata.v19.RetrySchemaMigrationRequest + (*v19.RunHealthCheckRequest)(nil), // 80: vitess.vtctldata.v19.RunHealthCheckRequest + (*v19.SetKeyspaceDurabilityPolicyRequest)(nil), // 81: vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyRequest + (*v19.SetShardIsPrimaryServingRequest)(nil), // 82: vitess.vtctldata.v19.SetShardIsPrimaryServingRequest + (*v19.SetShardTabletControlRequest)(nil), // 83: vitess.vtctldata.v19.SetShardTabletControlRequest + (*v19.SetWritableRequest)(nil), // 84: vitess.vtctldata.v19.SetWritableRequest + (*v19.ShardReplicationAddRequest)(nil), // 85: vitess.vtctldata.v19.ShardReplicationAddRequest + (*v19.ShardReplicationFixRequest)(nil), // 86: vitess.vtctldata.v19.ShardReplicationFixRequest + (*v19.ShardReplicationPositionsRequest)(nil), // 87: vitess.vtctldata.v19.ShardReplicationPositionsRequest + (*v19.ShardReplicationRemoveRequest)(nil), // 88: vitess.vtctldata.v19.ShardReplicationRemoveRequest + (*v19.SleepTabletRequest)(nil), // 89: vitess.vtctldata.v19.SleepTabletRequest + (*v19.SourceShardAddRequest)(nil), // 90: vitess.vtctldata.v19.SourceShardAddRequest + (*v19.SourceShardDeleteRequest)(nil), // 91: vitess.vtctldata.v19.SourceShardDeleteRequest + (*v19.StartReplicationRequest)(nil), // 92: vitess.vtctldata.v19.StartReplicationRequest + (*v19.StopReplicationRequest)(nil), // 93: vitess.vtctldata.v19.StopReplicationRequest + (*v19.TabletExternallyReparentedRequest)(nil), // 94: vitess.vtctldata.v19.TabletExternallyReparentedRequest + (*v19.UpdateCellInfoRequest)(nil), // 95: vitess.vtctldata.v19.UpdateCellInfoRequest + (*v19.UpdateCellsAliasRequest)(nil), // 96: vitess.vtctldata.v19.UpdateCellsAliasRequest + (*v19.ValidateRequest)(nil), // 97: vitess.vtctldata.v19.ValidateRequest + (*v19.ValidateKeyspaceRequest)(nil), // 98: vitess.vtctldata.v19.ValidateKeyspaceRequest + (*v19.ValidateSchemaKeyspaceRequest)(nil), // 99: vitess.vtctldata.v19.ValidateSchemaKeyspaceRequest + (*v19.ValidateShardRequest)(nil), // 100: vitess.vtctldata.v19.ValidateShardRequest + (*v19.ValidateVersionKeyspaceRequest)(nil), // 101: vitess.vtctldata.v19.ValidateVersionKeyspaceRequest + (*v19.ValidateVersionShardRequest)(nil), // 102: vitess.vtctldata.v19.ValidateVersionShardRequest + (*v19.ValidateVSchemaRequest)(nil), // 103: vitess.vtctldata.v19.ValidateVSchemaRequest + (*v19.VDiffCreateRequest)(nil), // 104: vitess.vtctldata.v19.VDiffCreateRequest + (*v19.VDiffDeleteRequest)(nil), // 105: vitess.vtctldata.v19.VDiffDeleteRequest + (*v19.VDiffResumeRequest)(nil), // 106: vitess.vtctldata.v19.VDiffResumeRequest + (*v19.VDiffShowRequest)(nil), // 107: vitess.vtctldata.v19.VDiffShowRequest + (*v19.VDiffStopRequest)(nil), // 108: vitess.vtctldata.v19.VDiffStopRequest + (*v19.WorkflowDeleteRequest)(nil), // 109: vitess.vtctldata.v19.WorkflowDeleteRequest + (*v19.WorkflowStatusRequest)(nil), // 110: vitess.vtctldata.v19.WorkflowStatusRequest + (*v19.WorkflowSwitchTrafficRequest)(nil), // 111: vitess.vtctldata.v19.WorkflowSwitchTrafficRequest + (*v19.WorkflowUpdateRequest)(nil), // 112: vitess.vtctldata.v19.WorkflowUpdateRequest + (*v19.ExecuteVtctlCommandResponse)(nil), // 113: vitess.vtctldata.v19.ExecuteVtctlCommandResponse + (*v19.AddCellInfoResponse)(nil), // 114: vitess.vtctldata.v19.AddCellInfoResponse + (*v19.AddCellsAliasResponse)(nil), // 115: vitess.vtctldata.v19.AddCellsAliasResponse + (*v19.ApplyRoutingRulesResponse)(nil), // 116: vitess.vtctldata.v19.ApplyRoutingRulesResponse + (*v19.ApplySchemaResponse)(nil), // 117: vitess.vtctldata.v19.ApplySchemaResponse + (*v19.ApplyShardRoutingRulesResponse)(nil), // 118: vitess.vtctldata.v19.ApplyShardRoutingRulesResponse + (*v19.ApplyVSchemaResponse)(nil), // 119: vitess.vtctldata.v19.ApplyVSchemaResponse + (*v19.BackupResponse)(nil), // 120: vitess.vtctldata.v19.BackupResponse + (*v19.CancelSchemaMigrationResponse)(nil), // 121: vitess.vtctldata.v19.CancelSchemaMigrationResponse + (*v19.ChangeTabletTypeResponse)(nil), // 122: vitess.vtctldata.v19.ChangeTabletTypeResponse + (*v19.CleanupSchemaMigrationResponse)(nil), // 123: vitess.vtctldata.v19.CleanupSchemaMigrationResponse + (*v19.CompleteSchemaMigrationResponse)(nil), // 124: vitess.vtctldata.v19.CompleteSchemaMigrationResponse + (*v19.CreateKeyspaceResponse)(nil), // 125: vitess.vtctldata.v19.CreateKeyspaceResponse + (*v19.CreateShardResponse)(nil), // 126: vitess.vtctldata.v19.CreateShardResponse + (*v19.DeleteCellInfoResponse)(nil), // 127: vitess.vtctldata.v19.DeleteCellInfoResponse + (*v19.DeleteCellsAliasResponse)(nil), // 128: vitess.vtctldata.v19.DeleteCellsAliasResponse + (*v19.DeleteKeyspaceResponse)(nil), // 129: vitess.vtctldata.v19.DeleteKeyspaceResponse + (*v19.DeleteShardsResponse)(nil), // 130: vitess.vtctldata.v19.DeleteShardsResponse + (*v19.DeleteSrvVSchemaResponse)(nil), // 131: vitess.vtctldata.v19.DeleteSrvVSchemaResponse + (*v19.DeleteTabletsResponse)(nil), // 132: vitess.vtctldata.v19.DeleteTabletsResponse + (*v19.EmergencyReparentShardResponse)(nil), // 133: vitess.vtctldata.v19.EmergencyReparentShardResponse + (*v19.ExecuteFetchAsAppResponse)(nil), // 134: vitess.vtctldata.v19.ExecuteFetchAsAppResponse + (*v19.ExecuteFetchAsDBAResponse)(nil), // 135: vitess.vtctldata.v19.ExecuteFetchAsDBAResponse + (*v19.ExecuteHookResponse)(nil), // 136: vitess.vtctldata.v19.ExecuteHookResponse + (*v19.FindAllShardsInKeyspaceResponse)(nil), // 137: vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse + (*v19.ForceCutOverSchemaMigrationResponse)(nil), // 138: vitess.vtctldata.v19.ForceCutOverSchemaMigrationResponse + (*v19.GetBackupsResponse)(nil), // 139: vitess.vtctldata.v19.GetBackupsResponse + (*v19.GetCellInfoResponse)(nil), // 140: vitess.vtctldata.v19.GetCellInfoResponse + (*v19.GetCellInfoNamesResponse)(nil), // 141: vitess.vtctldata.v19.GetCellInfoNamesResponse + (*v19.GetCellsAliasesResponse)(nil), // 142: vitess.vtctldata.v19.GetCellsAliasesResponse + (*v19.GetFullStatusResponse)(nil), // 143: vitess.vtctldata.v19.GetFullStatusResponse + (*v19.GetKeyspaceResponse)(nil), // 144: vitess.vtctldata.v19.GetKeyspaceResponse + (*v19.GetKeyspacesResponse)(nil), // 145: vitess.vtctldata.v19.GetKeyspacesResponse + (*v19.GetPermissionsResponse)(nil), // 146: vitess.vtctldata.v19.GetPermissionsResponse + (*v19.GetRoutingRulesResponse)(nil), // 147: vitess.vtctldata.v19.GetRoutingRulesResponse + (*v19.GetSchemaResponse)(nil), // 148: vitess.vtctldata.v19.GetSchemaResponse + (*v19.GetSchemaMigrationsResponse)(nil), // 149: vitess.vtctldata.v19.GetSchemaMigrationsResponse + (*v19.GetShardReplicationResponse)(nil), // 150: vitess.vtctldata.v19.GetShardReplicationResponse + (*v19.GetShardResponse)(nil), // 151: vitess.vtctldata.v19.GetShardResponse + (*v19.GetShardRoutingRulesResponse)(nil), // 152: vitess.vtctldata.v19.GetShardRoutingRulesResponse + (*v19.GetSrvKeyspaceNamesResponse)(nil), // 153: vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse + (*v19.GetSrvKeyspacesResponse)(nil), // 154: vitess.vtctldata.v19.GetSrvKeyspacesResponse + (*v19.UpdateThrottlerConfigResponse)(nil), // 155: vitess.vtctldata.v19.UpdateThrottlerConfigResponse + (*v19.GetSrvVSchemaResponse)(nil), // 156: vitess.vtctldata.v19.GetSrvVSchemaResponse + (*v19.GetSrvVSchemasResponse)(nil), // 157: vitess.vtctldata.v19.GetSrvVSchemasResponse + (*v19.GetTabletResponse)(nil), // 158: vitess.vtctldata.v19.GetTabletResponse + (*v19.GetTabletsResponse)(nil), // 159: vitess.vtctldata.v19.GetTabletsResponse + (*v19.GetTopologyPathResponse)(nil), // 160: vitess.vtctldata.v19.GetTopologyPathResponse + (*v19.GetVersionResponse)(nil), // 161: vitess.vtctldata.v19.GetVersionResponse + (*v19.GetVSchemaResponse)(nil), // 162: vitess.vtctldata.v19.GetVSchemaResponse + (*v19.GetWorkflowsResponse)(nil), // 163: vitess.vtctldata.v19.GetWorkflowsResponse + (*v19.InitShardPrimaryResponse)(nil), // 164: vitess.vtctldata.v19.InitShardPrimaryResponse + (*v19.LaunchSchemaMigrationResponse)(nil), // 165: vitess.vtctldata.v19.LaunchSchemaMigrationResponse + (*v19.LookupVindexCreateResponse)(nil), // 166: vitess.vtctldata.v19.LookupVindexCreateResponse + (*v19.LookupVindexExternalizeResponse)(nil), // 167: vitess.vtctldata.v19.LookupVindexExternalizeResponse + (*v19.MaterializeCreateResponse)(nil), // 168: vitess.vtctldata.v19.MaterializeCreateResponse + (*v19.WorkflowStatusResponse)(nil), // 169: vitess.vtctldata.v19.WorkflowStatusResponse + (*v19.MountRegisterResponse)(nil), // 170: vitess.vtctldata.v19.MountRegisterResponse + (*v19.MountUnregisterResponse)(nil), // 171: vitess.vtctldata.v19.MountUnregisterResponse + (*v19.MountShowResponse)(nil), // 172: vitess.vtctldata.v19.MountShowResponse + (*v19.MountListResponse)(nil), // 173: vitess.vtctldata.v19.MountListResponse + (*v19.MoveTablesCompleteResponse)(nil), // 174: vitess.vtctldata.v19.MoveTablesCompleteResponse + (*v19.PingTabletResponse)(nil), // 175: vitess.vtctldata.v19.PingTabletResponse + (*v19.PlannedReparentShardResponse)(nil), // 176: vitess.vtctldata.v19.PlannedReparentShardResponse + (*v19.RebuildKeyspaceGraphResponse)(nil), // 177: vitess.vtctldata.v19.RebuildKeyspaceGraphResponse + (*v19.RebuildVSchemaGraphResponse)(nil), // 178: vitess.vtctldata.v19.RebuildVSchemaGraphResponse + (*v19.RefreshStateResponse)(nil), // 179: vitess.vtctldata.v19.RefreshStateResponse + (*v19.RefreshStateByShardResponse)(nil), // 180: vitess.vtctldata.v19.RefreshStateByShardResponse + (*v19.ReloadSchemaResponse)(nil), // 181: vitess.vtctldata.v19.ReloadSchemaResponse + (*v19.ReloadSchemaKeyspaceResponse)(nil), // 182: vitess.vtctldata.v19.ReloadSchemaKeyspaceResponse + (*v19.ReloadSchemaShardResponse)(nil), // 183: vitess.vtctldata.v19.ReloadSchemaShardResponse + (*v19.RemoveBackupResponse)(nil), // 184: vitess.vtctldata.v19.RemoveBackupResponse + (*v19.RemoveKeyspaceCellResponse)(nil), // 185: vitess.vtctldata.v19.RemoveKeyspaceCellResponse + (*v19.RemoveShardCellResponse)(nil), // 186: vitess.vtctldata.v19.RemoveShardCellResponse + (*v19.ReparentTabletResponse)(nil), // 187: vitess.vtctldata.v19.ReparentTabletResponse + (*v19.RestoreFromBackupResponse)(nil), // 188: vitess.vtctldata.v19.RestoreFromBackupResponse + (*v19.RetrySchemaMigrationResponse)(nil), // 189: vitess.vtctldata.v19.RetrySchemaMigrationResponse + (*v19.RunHealthCheckResponse)(nil), // 190: vitess.vtctldata.v19.RunHealthCheckResponse + (*v19.SetKeyspaceDurabilityPolicyResponse)(nil), // 191: vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyResponse + (*v19.SetShardIsPrimaryServingResponse)(nil), // 192: vitess.vtctldata.v19.SetShardIsPrimaryServingResponse + (*v19.SetShardTabletControlResponse)(nil), // 193: vitess.vtctldata.v19.SetShardTabletControlResponse + (*v19.SetWritableResponse)(nil), // 194: vitess.vtctldata.v19.SetWritableResponse + (*v19.ShardReplicationAddResponse)(nil), // 195: vitess.vtctldata.v19.ShardReplicationAddResponse + (*v19.ShardReplicationFixResponse)(nil), // 196: vitess.vtctldata.v19.ShardReplicationFixResponse + (*v19.ShardReplicationPositionsResponse)(nil), // 197: vitess.vtctldata.v19.ShardReplicationPositionsResponse + (*v19.ShardReplicationRemoveResponse)(nil), // 198: vitess.vtctldata.v19.ShardReplicationRemoveResponse + (*v19.SleepTabletResponse)(nil), // 199: vitess.vtctldata.v19.SleepTabletResponse + (*v19.SourceShardAddResponse)(nil), // 200: vitess.vtctldata.v19.SourceShardAddResponse + (*v19.SourceShardDeleteResponse)(nil), // 201: vitess.vtctldata.v19.SourceShardDeleteResponse + (*v19.StartReplicationResponse)(nil), // 202: vitess.vtctldata.v19.StartReplicationResponse + (*v19.StopReplicationResponse)(nil), // 203: vitess.vtctldata.v19.StopReplicationResponse + (*v19.TabletExternallyReparentedResponse)(nil), // 204: vitess.vtctldata.v19.TabletExternallyReparentedResponse + (*v19.UpdateCellInfoResponse)(nil), // 205: vitess.vtctldata.v19.UpdateCellInfoResponse + (*v19.UpdateCellsAliasResponse)(nil), // 206: vitess.vtctldata.v19.UpdateCellsAliasResponse + (*v19.ValidateResponse)(nil), // 207: vitess.vtctldata.v19.ValidateResponse + (*v19.ValidateKeyspaceResponse)(nil), // 208: vitess.vtctldata.v19.ValidateKeyspaceResponse + (*v19.ValidateSchemaKeyspaceResponse)(nil), // 209: vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse + (*v19.ValidateShardResponse)(nil), // 210: vitess.vtctldata.v19.ValidateShardResponse + (*v19.ValidateVersionKeyspaceResponse)(nil), // 211: vitess.vtctldata.v19.ValidateVersionKeyspaceResponse + (*v19.ValidateVersionShardResponse)(nil), // 212: vitess.vtctldata.v19.ValidateVersionShardResponse + (*v19.ValidateVSchemaResponse)(nil), // 213: vitess.vtctldata.v19.ValidateVSchemaResponse + (*v19.VDiffCreateResponse)(nil), // 214: vitess.vtctldata.v19.VDiffCreateResponse + (*v19.VDiffDeleteResponse)(nil), // 215: vitess.vtctldata.v19.VDiffDeleteResponse + (*v19.VDiffResumeResponse)(nil), // 216: vitess.vtctldata.v19.VDiffResumeResponse + (*v19.VDiffShowResponse)(nil), // 217: vitess.vtctldata.v19.VDiffShowResponse + (*v19.VDiffStopResponse)(nil), // 218: vitess.vtctldata.v19.VDiffStopResponse + (*v19.WorkflowDeleteResponse)(nil), // 219: vitess.vtctldata.v19.WorkflowDeleteResponse + (*v19.WorkflowSwitchTrafficResponse)(nil), // 220: vitess.vtctldata.v19.WorkflowSwitchTrafficResponse + (*v19.WorkflowUpdateResponse)(nil), // 221: vitess.vtctldata.v19.WorkflowUpdateResponse +} +var file_vitess_vtctlservice_v19_vtctlservice_proto_depIdxs = []int32{ + 0, // 0: vitess.vtctlservice.v19.Vtctl.ExecuteVtctlCommand:input_type -> vitess.vtctldata.v19.ExecuteVtctlCommandRequest + 1, // 1: vitess.vtctlservice.v19.Vtctld.AddCellInfo:input_type -> vitess.vtctldata.v19.AddCellInfoRequest + 2, // 2: vitess.vtctlservice.v19.Vtctld.AddCellsAlias:input_type -> vitess.vtctldata.v19.AddCellsAliasRequest + 3, // 3: vitess.vtctlservice.v19.Vtctld.ApplyRoutingRules:input_type -> vitess.vtctldata.v19.ApplyRoutingRulesRequest + 4, // 4: vitess.vtctlservice.v19.Vtctld.ApplySchema:input_type -> vitess.vtctldata.v19.ApplySchemaRequest + 5, // 5: vitess.vtctlservice.v19.Vtctld.ApplyShardRoutingRules:input_type -> vitess.vtctldata.v19.ApplyShardRoutingRulesRequest + 6, // 6: vitess.vtctlservice.v19.Vtctld.ApplyVSchema:input_type -> vitess.vtctldata.v19.ApplyVSchemaRequest + 7, // 7: vitess.vtctlservice.v19.Vtctld.Backup:input_type -> vitess.vtctldata.v19.BackupRequest + 8, // 8: vitess.vtctlservice.v19.Vtctld.BackupShard:input_type -> vitess.vtctldata.v19.BackupShardRequest + 9, // 9: vitess.vtctlservice.v19.Vtctld.CancelSchemaMigration:input_type -> vitess.vtctldata.v19.CancelSchemaMigrationRequest + 10, // 10: vitess.vtctlservice.v19.Vtctld.ChangeTabletType:input_type -> vitess.vtctldata.v19.ChangeTabletTypeRequest + 11, // 11: vitess.vtctlservice.v19.Vtctld.CleanupSchemaMigration:input_type -> vitess.vtctldata.v19.CleanupSchemaMigrationRequest + 12, // 12: vitess.vtctlservice.v19.Vtctld.CompleteSchemaMigration:input_type -> vitess.vtctldata.v19.CompleteSchemaMigrationRequest + 13, // 13: vitess.vtctlservice.v19.Vtctld.CreateKeyspace:input_type -> vitess.vtctldata.v19.CreateKeyspaceRequest + 14, // 14: vitess.vtctlservice.v19.Vtctld.CreateShard:input_type -> vitess.vtctldata.v19.CreateShardRequest + 15, // 15: vitess.vtctlservice.v19.Vtctld.DeleteCellInfo:input_type -> vitess.vtctldata.v19.DeleteCellInfoRequest + 16, // 16: vitess.vtctlservice.v19.Vtctld.DeleteCellsAlias:input_type -> vitess.vtctldata.v19.DeleteCellsAliasRequest + 17, // 17: vitess.vtctlservice.v19.Vtctld.DeleteKeyspace:input_type -> vitess.vtctldata.v19.DeleteKeyspaceRequest + 18, // 18: vitess.vtctlservice.v19.Vtctld.DeleteShards:input_type -> vitess.vtctldata.v19.DeleteShardsRequest + 19, // 19: vitess.vtctlservice.v19.Vtctld.DeleteSrvVSchema:input_type -> vitess.vtctldata.v19.DeleteSrvVSchemaRequest + 20, // 20: vitess.vtctlservice.v19.Vtctld.DeleteTablets:input_type -> vitess.vtctldata.v19.DeleteTabletsRequest + 21, // 21: vitess.vtctlservice.v19.Vtctld.EmergencyReparentShard:input_type -> vitess.vtctldata.v19.EmergencyReparentShardRequest + 22, // 22: vitess.vtctlservice.v19.Vtctld.ExecuteFetchAsApp:input_type -> vitess.vtctldata.v19.ExecuteFetchAsAppRequest + 23, // 23: vitess.vtctlservice.v19.Vtctld.ExecuteFetchAsDBA:input_type -> vitess.vtctldata.v19.ExecuteFetchAsDBARequest + 24, // 24: vitess.vtctlservice.v19.Vtctld.ExecuteHook:input_type -> vitess.vtctldata.v19.ExecuteHookRequest + 25, // 25: vitess.vtctlservice.v19.Vtctld.FindAllShardsInKeyspace:input_type -> vitess.vtctldata.v19.FindAllShardsInKeyspaceRequest + 26, // 26: vitess.vtctlservice.v19.Vtctld.ForceCutOverSchemaMigration:input_type -> vitess.vtctldata.v19.ForceCutOverSchemaMigrationRequest + 27, // 27: vitess.vtctlservice.v19.Vtctld.GetBackups:input_type -> vitess.vtctldata.v19.GetBackupsRequest + 28, // 28: vitess.vtctlservice.v19.Vtctld.GetCellInfo:input_type -> vitess.vtctldata.v19.GetCellInfoRequest + 29, // 29: vitess.vtctlservice.v19.Vtctld.GetCellInfoNames:input_type -> vitess.vtctldata.v19.GetCellInfoNamesRequest + 30, // 30: vitess.vtctlservice.v19.Vtctld.GetCellsAliases:input_type -> vitess.vtctldata.v19.GetCellsAliasesRequest + 31, // 31: vitess.vtctlservice.v19.Vtctld.GetFullStatus:input_type -> vitess.vtctldata.v19.GetFullStatusRequest + 32, // 32: vitess.vtctlservice.v19.Vtctld.GetKeyspace:input_type -> vitess.vtctldata.v19.GetKeyspaceRequest + 33, // 33: vitess.vtctlservice.v19.Vtctld.GetKeyspaces:input_type -> vitess.vtctldata.v19.GetKeyspacesRequest + 34, // 34: vitess.vtctlservice.v19.Vtctld.GetPermissions:input_type -> vitess.vtctldata.v19.GetPermissionsRequest + 35, // 35: vitess.vtctlservice.v19.Vtctld.GetRoutingRules:input_type -> vitess.vtctldata.v19.GetRoutingRulesRequest + 36, // 36: vitess.vtctlservice.v19.Vtctld.GetSchema:input_type -> vitess.vtctldata.v19.GetSchemaRequest + 37, // 37: vitess.vtctlservice.v19.Vtctld.GetSchemaMigrations:input_type -> vitess.vtctldata.v19.GetSchemaMigrationsRequest + 38, // 38: vitess.vtctlservice.v19.Vtctld.GetShardReplication:input_type -> vitess.vtctldata.v19.GetShardReplicationRequest + 39, // 39: vitess.vtctlservice.v19.Vtctld.GetShard:input_type -> vitess.vtctldata.v19.GetShardRequest + 40, // 40: vitess.vtctlservice.v19.Vtctld.GetShardRoutingRules:input_type -> vitess.vtctldata.v19.GetShardRoutingRulesRequest + 41, // 41: vitess.vtctlservice.v19.Vtctld.GetSrvKeyspaceNames:input_type -> vitess.vtctldata.v19.GetSrvKeyspaceNamesRequest + 42, // 42: vitess.vtctlservice.v19.Vtctld.GetSrvKeyspaces:input_type -> vitess.vtctldata.v19.GetSrvKeyspacesRequest + 43, // 43: vitess.vtctlservice.v19.Vtctld.UpdateThrottlerConfig:input_type -> vitess.vtctldata.v19.UpdateThrottlerConfigRequest + 44, // 44: vitess.vtctlservice.v19.Vtctld.GetSrvVSchema:input_type -> vitess.vtctldata.v19.GetSrvVSchemaRequest + 45, // 45: vitess.vtctlservice.v19.Vtctld.GetSrvVSchemas:input_type -> vitess.vtctldata.v19.GetSrvVSchemasRequest + 46, // 46: vitess.vtctlservice.v19.Vtctld.GetTablet:input_type -> vitess.vtctldata.v19.GetTabletRequest + 47, // 47: vitess.vtctlservice.v19.Vtctld.GetTablets:input_type -> vitess.vtctldata.v19.GetTabletsRequest + 48, // 48: vitess.vtctlservice.v19.Vtctld.GetTopologyPath:input_type -> vitess.vtctldata.v19.GetTopologyPathRequest + 49, // 49: vitess.vtctlservice.v19.Vtctld.GetVersion:input_type -> vitess.vtctldata.v19.GetVersionRequest + 50, // 50: vitess.vtctlservice.v19.Vtctld.GetVSchema:input_type -> vitess.vtctldata.v19.GetVSchemaRequest + 51, // 51: vitess.vtctlservice.v19.Vtctld.GetWorkflows:input_type -> vitess.vtctldata.v19.GetWorkflowsRequest + 52, // 52: vitess.vtctlservice.v19.Vtctld.InitShardPrimary:input_type -> vitess.vtctldata.v19.InitShardPrimaryRequest + 53, // 53: vitess.vtctlservice.v19.Vtctld.LaunchSchemaMigration:input_type -> vitess.vtctldata.v19.LaunchSchemaMigrationRequest + 54, // 54: vitess.vtctlservice.v19.Vtctld.LookupVindexCreate:input_type -> vitess.vtctldata.v19.LookupVindexCreateRequest + 55, // 55: vitess.vtctlservice.v19.Vtctld.LookupVindexExternalize:input_type -> vitess.vtctldata.v19.LookupVindexExternalizeRequest + 56, // 56: vitess.vtctlservice.v19.Vtctld.MaterializeCreate:input_type -> vitess.vtctldata.v19.MaterializeCreateRequest + 57, // 57: vitess.vtctlservice.v19.Vtctld.MigrateCreate:input_type -> vitess.vtctldata.v19.MigrateCreateRequest + 58, // 58: vitess.vtctlservice.v19.Vtctld.MountRegister:input_type -> vitess.vtctldata.v19.MountRegisterRequest + 59, // 59: vitess.vtctlservice.v19.Vtctld.MountUnregister:input_type -> vitess.vtctldata.v19.MountUnregisterRequest + 60, // 60: vitess.vtctlservice.v19.Vtctld.MountShow:input_type -> vitess.vtctldata.v19.MountShowRequest + 61, // 61: vitess.vtctlservice.v19.Vtctld.MountList:input_type -> vitess.vtctldata.v19.MountListRequest + 62, // 62: vitess.vtctlservice.v19.Vtctld.MoveTablesCreate:input_type -> vitess.vtctldata.v19.MoveTablesCreateRequest + 63, // 63: vitess.vtctlservice.v19.Vtctld.MoveTablesComplete:input_type -> vitess.vtctldata.v19.MoveTablesCompleteRequest + 64, // 64: vitess.vtctlservice.v19.Vtctld.PingTablet:input_type -> vitess.vtctldata.v19.PingTabletRequest + 65, // 65: vitess.vtctlservice.v19.Vtctld.PlannedReparentShard:input_type -> vitess.vtctldata.v19.PlannedReparentShardRequest + 66, // 66: vitess.vtctlservice.v19.Vtctld.RebuildKeyspaceGraph:input_type -> vitess.vtctldata.v19.RebuildKeyspaceGraphRequest + 67, // 67: vitess.vtctlservice.v19.Vtctld.RebuildVSchemaGraph:input_type -> vitess.vtctldata.v19.RebuildVSchemaGraphRequest + 68, // 68: vitess.vtctlservice.v19.Vtctld.RefreshState:input_type -> vitess.vtctldata.v19.RefreshStateRequest + 69, // 69: vitess.vtctlservice.v19.Vtctld.RefreshStateByShard:input_type -> vitess.vtctldata.v19.RefreshStateByShardRequest + 70, // 70: vitess.vtctlservice.v19.Vtctld.ReloadSchema:input_type -> vitess.vtctldata.v19.ReloadSchemaRequest + 71, // 71: vitess.vtctlservice.v19.Vtctld.ReloadSchemaKeyspace:input_type -> vitess.vtctldata.v19.ReloadSchemaKeyspaceRequest + 72, // 72: vitess.vtctlservice.v19.Vtctld.ReloadSchemaShard:input_type -> vitess.vtctldata.v19.ReloadSchemaShardRequest + 73, // 73: vitess.vtctlservice.v19.Vtctld.RemoveBackup:input_type -> vitess.vtctldata.v19.RemoveBackupRequest + 74, // 74: vitess.vtctlservice.v19.Vtctld.RemoveKeyspaceCell:input_type -> vitess.vtctldata.v19.RemoveKeyspaceCellRequest + 75, // 75: vitess.vtctlservice.v19.Vtctld.RemoveShardCell:input_type -> vitess.vtctldata.v19.RemoveShardCellRequest + 76, // 76: vitess.vtctlservice.v19.Vtctld.ReparentTablet:input_type -> vitess.vtctldata.v19.ReparentTabletRequest + 77, // 77: vitess.vtctlservice.v19.Vtctld.ReshardCreate:input_type -> vitess.vtctldata.v19.ReshardCreateRequest + 78, // 78: vitess.vtctlservice.v19.Vtctld.RestoreFromBackup:input_type -> vitess.vtctldata.v19.RestoreFromBackupRequest + 79, // 79: vitess.vtctlservice.v19.Vtctld.RetrySchemaMigration:input_type -> vitess.vtctldata.v19.RetrySchemaMigrationRequest + 80, // 80: vitess.vtctlservice.v19.Vtctld.RunHealthCheck:input_type -> vitess.vtctldata.v19.RunHealthCheckRequest + 81, // 81: vitess.vtctlservice.v19.Vtctld.SetKeyspaceDurabilityPolicy:input_type -> vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyRequest + 82, // 82: vitess.vtctlservice.v19.Vtctld.SetShardIsPrimaryServing:input_type -> vitess.vtctldata.v19.SetShardIsPrimaryServingRequest + 83, // 83: vitess.vtctlservice.v19.Vtctld.SetShardTabletControl:input_type -> vitess.vtctldata.v19.SetShardTabletControlRequest + 84, // 84: vitess.vtctlservice.v19.Vtctld.SetWritable:input_type -> vitess.vtctldata.v19.SetWritableRequest + 85, // 85: vitess.vtctlservice.v19.Vtctld.ShardReplicationAdd:input_type -> vitess.vtctldata.v19.ShardReplicationAddRequest + 86, // 86: vitess.vtctlservice.v19.Vtctld.ShardReplicationFix:input_type -> vitess.vtctldata.v19.ShardReplicationFixRequest + 87, // 87: vitess.vtctlservice.v19.Vtctld.ShardReplicationPositions:input_type -> vitess.vtctldata.v19.ShardReplicationPositionsRequest + 88, // 88: vitess.vtctlservice.v19.Vtctld.ShardReplicationRemove:input_type -> vitess.vtctldata.v19.ShardReplicationRemoveRequest + 89, // 89: vitess.vtctlservice.v19.Vtctld.SleepTablet:input_type -> vitess.vtctldata.v19.SleepTabletRequest + 90, // 90: vitess.vtctlservice.v19.Vtctld.SourceShardAdd:input_type -> vitess.vtctldata.v19.SourceShardAddRequest + 91, // 91: vitess.vtctlservice.v19.Vtctld.SourceShardDelete:input_type -> vitess.vtctldata.v19.SourceShardDeleteRequest + 92, // 92: vitess.vtctlservice.v19.Vtctld.StartReplication:input_type -> vitess.vtctldata.v19.StartReplicationRequest + 93, // 93: vitess.vtctlservice.v19.Vtctld.StopReplication:input_type -> vitess.vtctldata.v19.StopReplicationRequest + 94, // 94: vitess.vtctlservice.v19.Vtctld.TabletExternallyReparented:input_type -> vitess.vtctldata.v19.TabletExternallyReparentedRequest + 95, // 95: vitess.vtctlservice.v19.Vtctld.UpdateCellInfo:input_type -> vitess.vtctldata.v19.UpdateCellInfoRequest + 96, // 96: vitess.vtctlservice.v19.Vtctld.UpdateCellsAlias:input_type -> vitess.vtctldata.v19.UpdateCellsAliasRequest + 97, // 97: vitess.vtctlservice.v19.Vtctld.Validate:input_type -> vitess.vtctldata.v19.ValidateRequest + 98, // 98: vitess.vtctlservice.v19.Vtctld.ValidateKeyspace:input_type -> vitess.vtctldata.v19.ValidateKeyspaceRequest + 99, // 99: vitess.vtctlservice.v19.Vtctld.ValidateSchemaKeyspace:input_type -> vitess.vtctldata.v19.ValidateSchemaKeyspaceRequest + 100, // 100: vitess.vtctlservice.v19.Vtctld.ValidateShard:input_type -> vitess.vtctldata.v19.ValidateShardRequest + 101, // 101: vitess.vtctlservice.v19.Vtctld.ValidateVersionKeyspace:input_type -> vitess.vtctldata.v19.ValidateVersionKeyspaceRequest + 102, // 102: vitess.vtctlservice.v19.Vtctld.ValidateVersionShard:input_type -> vitess.vtctldata.v19.ValidateVersionShardRequest + 103, // 103: vitess.vtctlservice.v19.Vtctld.ValidateVSchema:input_type -> vitess.vtctldata.v19.ValidateVSchemaRequest + 104, // 104: vitess.vtctlservice.v19.Vtctld.VDiffCreate:input_type -> vitess.vtctldata.v19.VDiffCreateRequest + 105, // 105: vitess.vtctlservice.v19.Vtctld.VDiffDelete:input_type -> vitess.vtctldata.v19.VDiffDeleteRequest + 106, // 106: vitess.vtctlservice.v19.Vtctld.VDiffResume:input_type -> vitess.vtctldata.v19.VDiffResumeRequest + 107, // 107: vitess.vtctlservice.v19.Vtctld.VDiffShow:input_type -> vitess.vtctldata.v19.VDiffShowRequest + 108, // 108: vitess.vtctlservice.v19.Vtctld.VDiffStop:input_type -> vitess.vtctldata.v19.VDiffStopRequest + 109, // 109: vitess.vtctlservice.v19.Vtctld.WorkflowDelete:input_type -> vitess.vtctldata.v19.WorkflowDeleteRequest + 110, // 110: vitess.vtctlservice.v19.Vtctld.WorkflowStatus:input_type -> vitess.vtctldata.v19.WorkflowStatusRequest + 111, // 111: vitess.vtctlservice.v19.Vtctld.WorkflowSwitchTraffic:input_type -> vitess.vtctldata.v19.WorkflowSwitchTrafficRequest + 112, // 112: vitess.vtctlservice.v19.Vtctld.WorkflowUpdate:input_type -> vitess.vtctldata.v19.WorkflowUpdateRequest + 113, // 113: vitess.vtctlservice.v19.Vtctl.ExecuteVtctlCommand:output_type -> vitess.vtctldata.v19.ExecuteVtctlCommandResponse + 114, // 114: vitess.vtctlservice.v19.Vtctld.AddCellInfo:output_type -> vitess.vtctldata.v19.AddCellInfoResponse + 115, // 115: vitess.vtctlservice.v19.Vtctld.AddCellsAlias:output_type -> vitess.vtctldata.v19.AddCellsAliasResponse + 116, // 116: vitess.vtctlservice.v19.Vtctld.ApplyRoutingRules:output_type -> vitess.vtctldata.v19.ApplyRoutingRulesResponse + 117, // 117: vitess.vtctlservice.v19.Vtctld.ApplySchema:output_type -> vitess.vtctldata.v19.ApplySchemaResponse + 118, // 118: vitess.vtctlservice.v19.Vtctld.ApplyShardRoutingRules:output_type -> vitess.vtctldata.v19.ApplyShardRoutingRulesResponse + 119, // 119: vitess.vtctlservice.v19.Vtctld.ApplyVSchema:output_type -> vitess.vtctldata.v19.ApplyVSchemaResponse + 120, // 120: vitess.vtctlservice.v19.Vtctld.Backup:output_type -> vitess.vtctldata.v19.BackupResponse + 120, // 121: vitess.vtctlservice.v19.Vtctld.BackupShard:output_type -> vitess.vtctldata.v19.BackupResponse + 121, // 122: vitess.vtctlservice.v19.Vtctld.CancelSchemaMigration:output_type -> vitess.vtctldata.v19.CancelSchemaMigrationResponse + 122, // 123: vitess.vtctlservice.v19.Vtctld.ChangeTabletType:output_type -> vitess.vtctldata.v19.ChangeTabletTypeResponse + 123, // 124: vitess.vtctlservice.v19.Vtctld.CleanupSchemaMigration:output_type -> vitess.vtctldata.v19.CleanupSchemaMigrationResponse + 124, // 125: vitess.vtctlservice.v19.Vtctld.CompleteSchemaMigration:output_type -> vitess.vtctldata.v19.CompleteSchemaMigrationResponse + 125, // 126: vitess.vtctlservice.v19.Vtctld.CreateKeyspace:output_type -> vitess.vtctldata.v19.CreateKeyspaceResponse + 126, // 127: vitess.vtctlservice.v19.Vtctld.CreateShard:output_type -> vitess.vtctldata.v19.CreateShardResponse + 127, // 128: vitess.vtctlservice.v19.Vtctld.DeleteCellInfo:output_type -> vitess.vtctldata.v19.DeleteCellInfoResponse + 128, // 129: vitess.vtctlservice.v19.Vtctld.DeleteCellsAlias:output_type -> vitess.vtctldata.v19.DeleteCellsAliasResponse + 129, // 130: vitess.vtctlservice.v19.Vtctld.DeleteKeyspace:output_type -> vitess.vtctldata.v19.DeleteKeyspaceResponse + 130, // 131: vitess.vtctlservice.v19.Vtctld.DeleteShards:output_type -> vitess.vtctldata.v19.DeleteShardsResponse + 131, // 132: vitess.vtctlservice.v19.Vtctld.DeleteSrvVSchema:output_type -> vitess.vtctldata.v19.DeleteSrvVSchemaResponse + 132, // 133: vitess.vtctlservice.v19.Vtctld.DeleteTablets:output_type -> vitess.vtctldata.v19.DeleteTabletsResponse + 133, // 134: vitess.vtctlservice.v19.Vtctld.EmergencyReparentShard:output_type -> vitess.vtctldata.v19.EmergencyReparentShardResponse + 134, // 135: vitess.vtctlservice.v19.Vtctld.ExecuteFetchAsApp:output_type -> vitess.vtctldata.v19.ExecuteFetchAsAppResponse + 135, // 136: vitess.vtctlservice.v19.Vtctld.ExecuteFetchAsDBA:output_type -> vitess.vtctldata.v19.ExecuteFetchAsDBAResponse + 136, // 137: vitess.vtctlservice.v19.Vtctld.ExecuteHook:output_type -> vitess.vtctldata.v19.ExecuteHookResponse + 137, // 138: vitess.vtctlservice.v19.Vtctld.FindAllShardsInKeyspace:output_type -> vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse + 138, // 139: vitess.vtctlservice.v19.Vtctld.ForceCutOverSchemaMigration:output_type -> vitess.vtctldata.v19.ForceCutOverSchemaMigrationResponse + 139, // 140: vitess.vtctlservice.v19.Vtctld.GetBackups:output_type -> vitess.vtctldata.v19.GetBackupsResponse + 140, // 141: vitess.vtctlservice.v19.Vtctld.GetCellInfo:output_type -> vitess.vtctldata.v19.GetCellInfoResponse + 141, // 142: vitess.vtctlservice.v19.Vtctld.GetCellInfoNames:output_type -> vitess.vtctldata.v19.GetCellInfoNamesResponse + 142, // 143: vitess.vtctlservice.v19.Vtctld.GetCellsAliases:output_type -> vitess.vtctldata.v19.GetCellsAliasesResponse + 143, // 144: vitess.vtctlservice.v19.Vtctld.GetFullStatus:output_type -> vitess.vtctldata.v19.GetFullStatusResponse + 144, // 145: vitess.vtctlservice.v19.Vtctld.GetKeyspace:output_type -> vitess.vtctldata.v19.GetKeyspaceResponse + 145, // 146: vitess.vtctlservice.v19.Vtctld.GetKeyspaces:output_type -> vitess.vtctldata.v19.GetKeyspacesResponse + 146, // 147: vitess.vtctlservice.v19.Vtctld.GetPermissions:output_type -> vitess.vtctldata.v19.GetPermissionsResponse + 147, // 148: vitess.vtctlservice.v19.Vtctld.GetRoutingRules:output_type -> vitess.vtctldata.v19.GetRoutingRulesResponse + 148, // 149: vitess.vtctlservice.v19.Vtctld.GetSchema:output_type -> vitess.vtctldata.v19.GetSchemaResponse + 149, // 150: vitess.vtctlservice.v19.Vtctld.GetSchemaMigrations:output_type -> vitess.vtctldata.v19.GetSchemaMigrationsResponse + 150, // 151: vitess.vtctlservice.v19.Vtctld.GetShardReplication:output_type -> vitess.vtctldata.v19.GetShardReplicationResponse + 151, // 152: vitess.vtctlservice.v19.Vtctld.GetShard:output_type -> vitess.vtctldata.v19.GetShardResponse + 152, // 153: vitess.vtctlservice.v19.Vtctld.GetShardRoutingRules:output_type -> vitess.vtctldata.v19.GetShardRoutingRulesResponse + 153, // 154: vitess.vtctlservice.v19.Vtctld.GetSrvKeyspaceNames:output_type -> vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse + 154, // 155: vitess.vtctlservice.v19.Vtctld.GetSrvKeyspaces:output_type -> vitess.vtctldata.v19.GetSrvKeyspacesResponse + 155, // 156: vitess.vtctlservice.v19.Vtctld.UpdateThrottlerConfig:output_type -> vitess.vtctldata.v19.UpdateThrottlerConfigResponse + 156, // 157: vitess.vtctlservice.v19.Vtctld.GetSrvVSchema:output_type -> vitess.vtctldata.v19.GetSrvVSchemaResponse + 157, // 158: vitess.vtctlservice.v19.Vtctld.GetSrvVSchemas:output_type -> vitess.vtctldata.v19.GetSrvVSchemasResponse + 158, // 159: vitess.vtctlservice.v19.Vtctld.GetTablet:output_type -> vitess.vtctldata.v19.GetTabletResponse + 159, // 160: vitess.vtctlservice.v19.Vtctld.GetTablets:output_type -> vitess.vtctldata.v19.GetTabletsResponse + 160, // 161: vitess.vtctlservice.v19.Vtctld.GetTopologyPath:output_type -> vitess.vtctldata.v19.GetTopologyPathResponse + 161, // 162: vitess.vtctlservice.v19.Vtctld.GetVersion:output_type -> vitess.vtctldata.v19.GetVersionResponse + 162, // 163: vitess.vtctlservice.v19.Vtctld.GetVSchema:output_type -> vitess.vtctldata.v19.GetVSchemaResponse + 163, // 164: vitess.vtctlservice.v19.Vtctld.GetWorkflows:output_type -> vitess.vtctldata.v19.GetWorkflowsResponse + 164, // 165: vitess.vtctlservice.v19.Vtctld.InitShardPrimary:output_type -> vitess.vtctldata.v19.InitShardPrimaryResponse + 165, // 166: vitess.vtctlservice.v19.Vtctld.LaunchSchemaMigration:output_type -> vitess.vtctldata.v19.LaunchSchemaMigrationResponse + 166, // 167: vitess.vtctlservice.v19.Vtctld.LookupVindexCreate:output_type -> vitess.vtctldata.v19.LookupVindexCreateResponse + 167, // 168: vitess.vtctlservice.v19.Vtctld.LookupVindexExternalize:output_type -> vitess.vtctldata.v19.LookupVindexExternalizeResponse + 168, // 169: vitess.vtctlservice.v19.Vtctld.MaterializeCreate:output_type -> vitess.vtctldata.v19.MaterializeCreateResponse + 169, // 170: vitess.vtctlservice.v19.Vtctld.MigrateCreate:output_type -> vitess.vtctldata.v19.WorkflowStatusResponse + 170, // 171: vitess.vtctlservice.v19.Vtctld.MountRegister:output_type -> vitess.vtctldata.v19.MountRegisterResponse + 171, // 172: vitess.vtctlservice.v19.Vtctld.MountUnregister:output_type -> vitess.vtctldata.v19.MountUnregisterResponse + 172, // 173: vitess.vtctlservice.v19.Vtctld.MountShow:output_type -> vitess.vtctldata.v19.MountShowResponse + 173, // 174: vitess.vtctlservice.v19.Vtctld.MountList:output_type -> vitess.vtctldata.v19.MountListResponse + 169, // 175: vitess.vtctlservice.v19.Vtctld.MoveTablesCreate:output_type -> vitess.vtctldata.v19.WorkflowStatusResponse + 174, // 176: vitess.vtctlservice.v19.Vtctld.MoveTablesComplete:output_type -> vitess.vtctldata.v19.MoveTablesCompleteResponse + 175, // 177: vitess.vtctlservice.v19.Vtctld.PingTablet:output_type -> vitess.vtctldata.v19.PingTabletResponse + 176, // 178: vitess.vtctlservice.v19.Vtctld.PlannedReparentShard:output_type -> vitess.vtctldata.v19.PlannedReparentShardResponse + 177, // 179: vitess.vtctlservice.v19.Vtctld.RebuildKeyspaceGraph:output_type -> vitess.vtctldata.v19.RebuildKeyspaceGraphResponse + 178, // 180: vitess.vtctlservice.v19.Vtctld.RebuildVSchemaGraph:output_type -> vitess.vtctldata.v19.RebuildVSchemaGraphResponse + 179, // 181: vitess.vtctlservice.v19.Vtctld.RefreshState:output_type -> vitess.vtctldata.v19.RefreshStateResponse + 180, // 182: vitess.vtctlservice.v19.Vtctld.RefreshStateByShard:output_type -> vitess.vtctldata.v19.RefreshStateByShardResponse + 181, // 183: vitess.vtctlservice.v19.Vtctld.ReloadSchema:output_type -> vitess.vtctldata.v19.ReloadSchemaResponse + 182, // 184: vitess.vtctlservice.v19.Vtctld.ReloadSchemaKeyspace:output_type -> vitess.vtctldata.v19.ReloadSchemaKeyspaceResponse + 183, // 185: vitess.vtctlservice.v19.Vtctld.ReloadSchemaShard:output_type -> vitess.vtctldata.v19.ReloadSchemaShardResponse + 184, // 186: vitess.vtctlservice.v19.Vtctld.RemoveBackup:output_type -> vitess.vtctldata.v19.RemoveBackupResponse + 185, // 187: vitess.vtctlservice.v19.Vtctld.RemoveKeyspaceCell:output_type -> vitess.vtctldata.v19.RemoveKeyspaceCellResponse + 186, // 188: vitess.vtctlservice.v19.Vtctld.RemoveShardCell:output_type -> vitess.vtctldata.v19.RemoveShardCellResponse + 187, // 189: vitess.vtctlservice.v19.Vtctld.ReparentTablet:output_type -> vitess.vtctldata.v19.ReparentTabletResponse + 169, // 190: vitess.vtctlservice.v19.Vtctld.ReshardCreate:output_type -> vitess.vtctldata.v19.WorkflowStatusResponse + 188, // 191: vitess.vtctlservice.v19.Vtctld.RestoreFromBackup:output_type -> vitess.vtctldata.v19.RestoreFromBackupResponse + 189, // 192: vitess.vtctlservice.v19.Vtctld.RetrySchemaMigration:output_type -> vitess.vtctldata.v19.RetrySchemaMigrationResponse + 190, // 193: vitess.vtctlservice.v19.Vtctld.RunHealthCheck:output_type -> vitess.vtctldata.v19.RunHealthCheckResponse + 191, // 194: vitess.vtctlservice.v19.Vtctld.SetKeyspaceDurabilityPolicy:output_type -> vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyResponse + 192, // 195: vitess.vtctlservice.v19.Vtctld.SetShardIsPrimaryServing:output_type -> vitess.vtctldata.v19.SetShardIsPrimaryServingResponse + 193, // 196: vitess.vtctlservice.v19.Vtctld.SetShardTabletControl:output_type -> vitess.vtctldata.v19.SetShardTabletControlResponse + 194, // 197: vitess.vtctlservice.v19.Vtctld.SetWritable:output_type -> vitess.vtctldata.v19.SetWritableResponse + 195, // 198: vitess.vtctlservice.v19.Vtctld.ShardReplicationAdd:output_type -> vitess.vtctldata.v19.ShardReplicationAddResponse + 196, // 199: vitess.vtctlservice.v19.Vtctld.ShardReplicationFix:output_type -> vitess.vtctldata.v19.ShardReplicationFixResponse + 197, // 200: vitess.vtctlservice.v19.Vtctld.ShardReplicationPositions:output_type -> vitess.vtctldata.v19.ShardReplicationPositionsResponse + 198, // 201: vitess.vtctlservice.v19.Vtctld.ShardReplicationRemove:output_type -> vitess.vtctldata.v19.ShardReplicationRemoveResponse + 199, // 202: vitess.vtctlservice.v19.Vtctld.SleepTablet:output_type -> vitess.vtctldata.v19.SleepTabletResponse + 200, // 203: vitess.vtctlservice.v19.Vtctld.SourceShardAdd:output_type -> vitess.vtctldata.v19.SourceShardAddResponse + 201, // 204: vitess.vtctlservice.v19.Vtctld.SourceShardDelete:output_type -> vitess.vtctldata.v19.SourceShardDeleteResponse + 202, // 205: vitess.vtctlservice.v19.Vtctld.StartReplication:output_type -> vitess.vtctldata.v19.StartReplicationResponse + 203, // 206: vitess.vtctlservice.v19.Vtctld.StopReplication:output_type -> vitess.vtctldata.v19.StopReplicationResponse + 204, // 207: vitess.vtctlservice.v19.Vtctld.TabletExternallyReparented:output_type -> vitess.vtctldata.v19.TabletExternallyReparentedResponse + 205, // 208: vitess.vtctlservice.v19.Vtctld.UpdateCellInfo:output_type -> vitess.vtctldata.v19.UpdateCellInfoResponse + 206, // 209: vitess.vtctlservice.v19.Vtctld.UpdateCellsAlias:output_type -> vitess.vtctldata.v19.UpdateCellsAliasResponse + 207, // 210: vitess.vtctlservice.v19.Vtctld.Validate:output_type -> vitess.vtctldata.v19.ValidateResponse + 208, // 211: vitess.vtctlservice.v19.Vtctld.ValidateKeyspace:output_type -> vitess.vtctldata.v19.ValidateKeyspaceResponse + 209, // 212: vitess.vtctlservice.v19.Vtctld.ValidateSchemaKeyspace:output_type -> vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse + 210, // 213: vitess.vtctlservice.v19.Vtctld.ValidateShard:output_type -> vitess.vtctldata.v19.ValidateShardResponse + 211, // 214: vitess.vtctlservice.v19.Vtctld.ValidateVersionKeyspace:output_type -> vitess.vtctldata.v19.ValidateVersionKeyspaceResponse + 212, // 215: vitess.vtctlservice.v19.Vtctld.ValidateVersionShard:output_type -> vitess.vtctldata.v19.ValidateVersionShardResponse + 213, // 216: vitess.vtctlservice.v19.Vtctld.ValidateVSchema:output_type -> vitess.vtctldata.v19.ValidateVSchemaResponse + 214, // 217: vitess.vtctlservice.v19.Vtctld.VDiffCreate:output_type -> vitess.vtctldata.v19.VDiffCreateResponse + 215, // 218: vitess.vtctlservice.v19.Vtctld.VDiffDelete:output_type -> vitess.vtctldata.v19.VDiffDeleteResponse + 216, // 219: vitess.vtctlservice.v19.Vtctld.VDiffResume:output_type -> vitess.vtctldata.v19.VDiffResumeResponse + 217, // 220: vitess.vtctlservice.v19.Vtctld.VDiffShow:output_type -> vitess.vtctldata.v19.VDiffShowResponse + 218, // 221: vitess.vtctlservice.v19.Vtctld.VDiffStop:output_type -> vitess.vtctldata.v19.VDiffStopResponse + 219, // 222: vitess.vtctlservice.v19.Vtctld.WorkflowDelete:output_type -> vitess.vtctldata.v19.WorkflowDeleteResponse + 169, // 223: vitess.vtctlservice.v19.Vtctld.WorkflowStatus:output_type -> vitess.vtctldata.v19.WorkflowStatusResponse + 220, // 224: vitess.vtctlservice.v19.Vtctld.WorkflowSwitchTraffic:output_type -> vitess.vtctldata.v19.WorkflowSwitchTrafficResponse + 221, // 225: vitess.vtctlservice.v19.Vtctld.WorkflowUpdate:output_type -> vitess.vtctldata.v19.WorkflowUpdateResponse + 113, // [113:226] is the sub-list for method output_type + 0, // [0:113] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_vitess_vtctlservice_v19_vtctlservice_proto_init() } +func file_vitess_vtctlservice_v19_vtctlservice_proto_init() { + if File_vitess_vtctlservice_v19_vtctlservice_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vtctlservice_v19_vtctlservice_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 2, + }, + GoTypes: file_vitess_vtctlservice_v19_vtctlservice_proto_goTypes, + DependencyIndexes: file_vitess_vtctlservice_v19_vtctlservice_proto_depIdxs, + }.Build() + File_vitess_vtctlservice_v19_vtctlservice_proto = out.File + file_vitess_vtctlservice_v19_vtctlservice_proto_rawDesc = nil + file_vitess_vtctlservice_v19_vtctlservice_proto_goTypes = nil + file_vitess_vtctlservice_v19_vtctlservice_proto_depIdxs = nil +} diff --git a/gen/vitess/vtctlservice/v19/vtctlservicev19connect/vtctlservice.connect.go b/gen/vitess/vtctlservice/v19/vtctlservicev19connect/vtctlservice.connect.go new file mode 100644 index 0000000..beff5ba --- /dev/null +++ b/gen/vitess/vtctlservice/v19/vtctlservicev19connect/vtctlservice.connect.go @@ -0,0 +1,3876 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// This package contains a service allowing you to use vtctld as a +// proxy for vt commands. + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/vtctlservice/v19/vtctlservice.proto + +package vtctlservicev19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v191 "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // VtctlName is the fully-qualified name of the Vtctl service. + VtctlName = "vtctlservice.Vtctl" + // VtctldName is the fully-qualified name of the Vtctld service. + VtctldName = "vtctlservice.Vtctld" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // VtctlExecuteVtctlCommandProcedure is the fully-qualified name of the Vtctl's ExecuteVtctlCommand + // RPC. + VtctlExecuteVtctlCommandProcedure = "/vtctlservice.Vtctl/ExecuteVtctlCommand" + // VtctldAddCellInfoProcedure is the fully-qualified name of the Vtctld's AddCellInfo RPC. + VtctldAddCellInfoProcedure = "/vtctlservice.Vtctld/AddCellInfo" + // VtctldAddCellsAliasProcedure is the fully-qualified name of the Vtctld's AddCellsAlias RPC. + VtctldAddCellsAliasProcedure = "/vtctlservice.Vtctld/AddCellsAlias" + // VtctldApplyRoutingRulesProcedure is the fully-qualified name of the Vtctld's ApplyRoutingRules + // RPC. + VtctldApplyRoutingRulesProcedure = "/vtctlservice.Vtctld/ApplyRoutingRules" + // VtctldApplySchemaProcedure is the fully-qualified name of the Vtctld's ApplySchema RPC. + VtctldApplySchemaProcedure = "/vtctlservice.Vtctld/ApplySchema" + // VtctldApplyShardRoutingRulesProcedure is the fully-qualified name of the Vtctld's + // ApplyShardRoutingRules RPC. + VtctldApplyShardRoutingRulesProcedure = "/vtctlservice.Vtctld/ApplyShardRoutingRules" + // VtctldApplyVSchemaProcedure is the fully-qualified name of the Vtctld's ApplyVSchema RPC. + VtctldApplyVSchemaProcedure = "/vtctlservice.Vtctld/ApplyVSchema" + // VtctldBackupProcedure is the fully-qualified name of the Vtctld's Backup RPC. + VtctldBackupProcedure = "/vtctlservice.Vtctld/Backup" + // VtctldBackupShardProcedure is the fully-qualified name of the Vtctld's BackupShard RPC. + VtctldBackupShardProcedure = "/vtctlservice.Vtctld/BackupShard" + // VtctldCancelSchemaMigrationProcedure is the fully-qualified name of the Vtctld's + // CancelSchemaMigration RPC. + VtctldCancelSchemaMigrationProcedure = "/vtctlservice.Vtctld/CancelSchemaMigration" + // VtctldChangeTabletTypeProcedure is the fully-qualified name of the Vtctld's ChangeTabletType RPC. + VtctldChangeTabletTypeProcedure = "/vtctlservice.Vtctld/ChangeTabletType" + // VtctldCleanupSchemaMigrationProcedure is the fully-qualified name of the Vtctld's + // CleanupSchemaMigration RPC. + VtctldCleanupSchemaMigrationProcedure = "/vtctlservice.Vtctld/CleanupSchemaMigration" + // VtctldCompleteSchemaMigrationProcedure is the fully-qualified name of the Vtctld's + // CompleteSchemaMigration RPC. + VtctldCompleteSchemaMigrationProcedure = "/vtctlservice.Vtctld/CompleteSchemaMigration" + // VtctldCreateKeyspaceProcedure is the fully-qualified name of the Vtctld's CreateKeyspace RPC. + VtctldCreateKeyspaceProcedure = "/vtctlservice.Vtctld/CreateKeyspace" + // VtctldCreateShardProcedure is the fully-qualified name of the Vtctld's CreateShard RPC. + VtctldCreateShardProcedure = "/vtctlservice.Vtctld/CreateShard" + // VtctldDeleteCellInfoProcedure is the fully-qualified name of the Vtctld's DeleteCellInfo RPC. + VtctldDeleteCellInfoProcedure = "/vtctlservice.Vtctld/DeleteCellInfo" + // VtctldDeleteCellsAliasProcedure is the fully-qualified name of the Vtctld's DeleteCellsAlias RPC. + VtctldDeleteCellsAliasProcedure = "/vtctlservice.Vtctld/DeleteCellsAlias" + // VtctldDeleteKeyspaceProcedure is the fully-qualified name of the Vtctld's DeleteKeyspace RPC. + VtctldDeleteKeyspaceProcedure = "/vtctlservice.Vtctld/DeleteKeyspace" + // VtctldDeleteShardsProcedure is the fully-qualified name of the Vtctld's DeleteShards RPC. + VtctldDeleteShardsProcedure = "/vtctlservice.Vtctld/DeleteShards" + // VtctldDeleteSrvVSchemaProcedure is the fully-qualified name of the Vtctld's DeleteSrvVSchema RPC. + VtctldDeleteSrvVSchemaProcedure = "/vtctlservice.Vtctld/DeleteSrvVSchema" + // VtctldDeleteTabletsProcedure is the fully-qualified name of the Vtctld's DeleteTablets RPC. + VtctldDeleteTabletsProcedure = "/vtctlservice.Vtctld/DeleteTablets" + // VtctldEmergencyReparentShardProcedure is the fully-qualified name of the Vtctld's + // EmergencyReparentShard RPC. + VtctldEmergencyReparentShardProcedure = "/vtctlservice.Vtctld/EmergencyReparentShard" + // VtctldExecuteFetchAsAppProcedure is the fully-qualified name of the Vtctld's ExecuteFetchAsApp + // RPC. + VtctldExecuteFetchAsAppProcedure = "/vtctlservice.Vtctld/ExecuteFetchAsApp" + // VtctldExecuteFetchAsDBAProcedure is the fully-qualified name of the Vtctld's ExecuteFetchAsDBA + // RPC. + VtctldExecuteFetchAsDBAProcedure = "/vtctlservice.Vtctld/ExecuteFetchAsDBA" + // VtctldExecuteHookProcedure is the fully-qualified name of the Vtctld's ExecuteHook RPC. + VtctldExecuteHookProcedure = "/vtctlservice.Vtctld/ExecuteHook" + // VtctldFindAllShardsInKeyspaceProcedure is the fully-qualified name of the Vtctld's + // FindAllShardsInKeyspace RPC. + VtctldFindAllShardsInKeyspaceProcedure = "/vtctlservice.Vtctld/FindAllShardsInKeyspace" + // VtctldForceCutOverSchemaMigrationProcedure is the fully-qualified name of the Vtctld's + // ForceCutOverSchemaMigration RPC. + VtctldForceCutOverSchemaMigrationProcedure = "/vtctlservice.Vtctld/ForceCutOverSchemaMigration" + // VtctldGetBackupsProcedure is the fully-qualified name of the Vtctld's GetBackups RPC. + VtctldGetBackupsProcedure = "/vtctlservice.Vtctld/GetBackups" + // VtctldGetCellInfoProcedure is the fully-qualified name of the Vtctld's GetCellInfo RPC. + VtctldGetCellInfoProcedure = "/vtctlservice.Vtctld/GetCellInfo" + // VtctldGetCellInfoNamesProcedure is the fully-qualified name of the Vtctld's GetCellInfoNames RPC. + VtctldGetCellInfoNamesProcedure = "/vtctlservice.Vtctld/GetCellInfoNames" + // VtctldGetCellsAliasesProcedure is the fully-qualified name of the Vtctld's GetCellsAliases RPC. + VtctldGetCellsAliasesProcedure = "/vtctlservice.Vtctld/GetCellsAliases" + // VtctldGetFullStatusProcedure is the fully-qualified name of the Vtctld's GetFullStatus RPC. + VtctldGetFullStatusProcedure = "/vtctlservice.Vtctld/GetFullStatus" + // VtctldGetKeyspaceProcedure is the fully-qualified name of the Vtctld's GetKeyspace RPC. + VtctldGetKeyspaceProcedure = "/vtctlservice.Vtctld/GetKeyspace" + // VtctldGetKeyspacesProcedure is the fully-qualified name of the Vtctld's GetKeyspaces RPC. + VtctldGetKeyspacesProcedure = "/vtctlservice.Vtctld/GetKeyspaces" + // VtctldGetPermissionsProcedure is the fully-qualified name of the Vtctld's GetPermissions RPC. + VtctldGetPermissionsProcedure = "/vtctlservice.Vtctld/GetPermissions" + // VtctldGetRoutingRulesProcedure is the fully-qualified name of the Vtctld's GetRoutingRules RPC. + VtctldGetRoutingRulesProcedure = "/vtctlservice.Vtctld/GetRoutingRules" + // VtctldGetSchemaProcedure is the fully-qualified name of the Vtctld's GetSchema RPC. + VtctldGetSchemaProcedure = "/vtctlservice.Vtctld/GetSchema" + // VtctldGetSchemaMigrationsProcedure is the fully-qualified name of the Vtctld's + // GetSchemaMigrations RPC. + VtctldGetSchemaMigrationsProcedure = "/vtctlservice.Vtctld/GetSchemaMigrations" + // VtctldGetShardReplicationProcedure is the fully-qualified name of the Vtctld's + // GetShardReplication RPC. + VtctldGetShardReplicationProcedure = "/vtctlservice.Vtctld/GetShardReplication" + // VtctldGetShardProcedure is the fully-qualified name of the Vtctld's GetShard RPC. + VtctldGetShardProcedure = "/vtctlservice.Vtctld/GetShard" + // VtctldGetShardRoutingRulesProcedure is the fully-qualified name of the Vtctld's + // GetShardRoutingRules RPC. + VtctldGetShardRoutingRulesProcedure = "/vtctlservice.Vtctld/GetShardRoutingRules" + // VtctldGetSrvKeyspaceNamesProcedure is the fully-qualified name of the Vtctld's + // GetSrvKeyspaceNames RPC. + VtctldGetSrvKeyspaceNamesProcedure = "/vtctlservice.Vtctld/GetSrvKeyspaceNames" + // VtctldGetSrvKeyspacesProcedure is the fully-qualified name of the Vtctld's GetSrvKeyspaces RPC. + VtctldGetSrvKeyspacesProcedure = "/vtctlservice.Vtctld/GetSrvKeyspaces" + // VtctldUpdateThrottlerConfigProcedure is the fully-qualified name of the Vtctld's + // UpdateThrottlerConfig RPC. + VtctldUpdateThrottlerConfigProcedure = "/vtctlservice.Vtctld/UpdateThrottlerConfig" + // VtctldGetSrvVSchemaProcedure is the fully-qualified name of the Vtctld's GetSrvVSchema RPC. + VtctldGetSrvVSchemaProcedure = "/vtctlservice.Vtctld/GetSrvVSchema" + // VtctldGetSrvVSchemasProcedure is the fully-qualified name of the Vtctld's GetSrvVSchemas RPC. + VtctldGetSrvVSchemasProcedure = "/vtctlservice.Vtctld/GetSrvVSchemas" + // VtctldGetTabletProcedure is the fully-qualified name of the Vtctld's GetTablet RPC. + VtctldGetTabletProcedure = "/vtctlservice.Vtctld/GetTablet" + // VtctldGetTabletsProcedure is the fully-qualified name of the Vtctld's GetTablets RPC. + VtctldGetTabletsProcedure = "/vtctlservice.Vtctld/GetTablets" + // VtctldGetTopologyPathProcedure is the fully-qualified name of the Vtctld's GetTopologyPath RPC. + VtctldGetTopologyPathProcedure = "/vtctlservice.Vtctld/GetTopologyPath" + // VtctldGetVersionProcedure is the fully-qualified name of the Vtctld's GetVersion RPC. + VtctldGetVersionProcedure = "/vtctlservice.Vtctld/GetVersion" + // VtctldGetVSchemaProcedure is the fully-qualified name of the Vtctld's GetVSchema RPC. + VtctldGetVSchemaProcedure = "/vtctlservice.Vtctld/GetVSchema" + // VtctldGetWorkflowsProcedure is the fully-qualified name of the Vtctld's GetWorkflows RPC. + VtctldGetWorkflowsProcedure = "/vtctlservice.Vtctld/GetWorkflows" + // VtctldInitShardPrimaryProcedure is the fully-qualified name of the Vtctld's InitShardPrimary RPC. + VtctldInitShardPrimaryProcedure = "/vtctlservice.Vtctld/InitShardPrimary" + // VtctldLaunchSchemaMigrationProcedure is the fully-qualified name of the Vtctld's + // LaunchSchemaMigration RPC. + VtctldLaunchSchemaMigrationProcedure = "/vtctlservice.Vtctld/LaunchSchemaMigration" + // VtctldLookupVindexCreateProcedure is the fully-qualified name of the Vtctld's LookupVindexCreate + // RPC. + VtctldLookupVindexCreateProcedure = "/vtctlservice.Vtctld/LookupVindexCreate" + // VtctldLookupVindexExternalizeProcedure is the fully-qualified name of the Vtctld's + // LookupVindexExternalize RPC. + VtctldLookupVindexExternalizeProcedure = "/vtctlservice.Vtctld/LookupVindexExternalize" + // VtctldMaterializeCreateProcedure is the fully-qualified name of the Vtctld's MaterializeCreate + // RPC. + VtctldMaterializeCreateProcedure = "/vtctlservice.Vtctld/MaterializeCreate" + // VtctldMigrateCreateProcedure is the fully-qualified name of the Vtctld's MigrateCreate RPC. + VtctldMigrateCreateProcedure = "/vtctlservice.Vtctld/MigrateCreate" + // VtctldMountRegisterProcedure is the fully-qualified name of the Vtctld's MountRegister RPC. + VtctldMountRegisterProcedure = "/vtctlservice.Vtctld/MountRegister" + // VtctldMountUnregisterProcedure is the fully-qualified name of the Vtctld's MountUnregister RPC. + VtctldMountUnregisterProcedure = "/vtctlservice.Vtctld/MountUnregister" + // VtctldMountShowProcedure is the fully-qualified name of the Vtctld's MountShow RPC. + VtctldMountShowProcedure = "/vtctlservice.Vtctld/MountShow" + // VtctldMountListProcedure is the fully-qualified name of the Vtctld's MountList RPC. + VtctldMountListProcedure = "/vtctlservice.Vtctld/MountList" + // VtctldMoveTablesCreateProcedure is the fully-qualified name of the Vtctld's MoveTablesCreate RPC. + VtctldMoveTablesCreateProcedure = "/vtctlservice.Vtctld/MoveTablesCreate" + // VtctldMoveTablesCompleteProcedure is the fully-qualified name of the Vtctld's MoveTablesComplete + // RPC. + VtctldMoveTablesCompleteProcedure = "/vtctlservice.Vtctld/MoveTablesComplete" + // VtctldPingTabletProcedure is the fully-qualified name of the Vtctld's PingTablet RPC. + VtctldPingTabletProcedure = "/vtctlservice.Vtctld/PingTablet" + // VtctldPlannedReparentShardProcedure is the fully-qualified name of the Vtctld's + // PlannedReparentShard RPC. + VtctldPlannedReparentShardProcedure = "/vtctlservice.Vtctld/PlannedReparentShard" + // VtctldRebuildKeyspaceGraphProcedure is the fully-qualified name of the Vtctld's + // RebuildKeyspaceGraph RPC. + VtctldRebuildKeyspaceGraphProcedure = "/vtctlservice.Vtctld/RebuildKeyspaceGraph" + // VtctldRebuildVSchemaGraphProcedure is the fully-qualified name of the Vtctld's + // RebuildVSchemaGraph RPC. + VtctldRebuildVSchemaGraphProcedure = "/vtctlservice.Vtctld/RebuildVSchemaGraph" + // VtctldRefreshStateProcedure is the fully-qualified name of the Vtctld's RefreshState RPC. + VtctldRefreshStateProcedure = "/vtctlservice.Vtctld/RefreshState" + // VtctldRefreshStateByShardProcedure is the fully-qualified name of the Vtctld's + // RefreshStateByShard RPC. + VtctldRefreshStateByShardProcedure = "/vtctlservice.Vtctld/RefreshStateByShard" + // VtctldReloadSchemaProcedure is the fully-qualified name of the Vtctld's ReloadSchema RPC. + VtctldReloadSchemaProcedure = "/vtctlservice.Vtctld/ReloadSchema" + // VtctldReloadSchemaKeyspaceProcedure is the fully-qualified name of the Vtctld's + // ReloadSchemaKeyspace RPC. + VtctldReloadSchemaKeyspaceProcedure = "/vtctlservice.Vtctld/ReloadSchemaKeyspace" + // VtctldReloadSchemaShardProcedure is the fully-qualified name of the Vtctld's ReloadSchemaShard + // RPC. + VtctldReloadSchemaShardProcedure = "/vtctlservice.Vtctld/ReloadSchemaShard" + // VtctldRemoveBackupProcedure is the fully-qualified name of the Vtctld's RemoveBackup RPC. + VtctldRemoveBackupProcedure = "/vtctlservice.Vtctld/RemoveBackup" + // VtctldRemoveKeyspaceCellProcedure is the fully-qualified name of the Vtctld's RemoveKeyspaceCell + // RPC. + VtctldRemoveKeyspaceCellProcedure = "/vtctlservice.Vtctld/RemoveKeyspaceCell" + // VtctldRemoveShardCellProcedure is the fully-qualified name of the Vtctld's RemoveShardCell RPC. + VtctldRemoveShardCellProcedure = "/vtctlservice.Vtctld/RemoveShardCell" + // VtctldReparentTabletProcedure is the fully-qualified name of the Vtctld's ReparentTablet RPC. + VtctldReparentTabletProcedure = "/vtctlservice.Vtctld/ReparentTablet" + // VtctldReshardCreateProcedure is the fully-qualified name of the Vtctld's ReshardCreate RPC. + VtctldReshardCreateProcedure = "/vtctlservice.Vtctld/ReshardCreate" + // VtctldRestoreFromBackupProcedure is the fully-qualified name of the Vtctld's RestoreFromBackup + // RPC. + VtctldRestoreFromBackupProcedure = "/vtctlservice.Vtctld/RestoreFromBackup" + // VtctldRetrySchemaMigrationProcedure is the fully-qualified name of the Vtctld's + // RetrySchemaMigration RPC. + VtctldRetrySchemaMigrationProcedure = "/vtctlservice.Vtctld/RetrySchemaMigration" + // VtctldRunHealthCheckProcedure is the fully-qualified name of the Vtctld's RunHealthCheck RPC. + VtctldRunHealthCheckProcedure = "/vtctlservice.Vtctld/RunHealthCheck" + // VtctldSetKeyspaceDurabilityPolicyProcedure is the fully-qualified name of the Vtctld's + // SetKeyspaceDurabilityPolicy RPC. + VtctldSetKeyspaceDurabilityPolicyProcedure = "/vtctlservice.Vtctld/SetKeyspaceDurabilityPolicy" + // VtctldSetShardIsPrimaryServingProcedure is the fully-qualified name of the Vtctld's + // SetShardIsPrimaryServing RPC. + VtctldSetShardIsPrimaryServingProcedure = "/vtctlservice.Vtctld/SetShardIsPrimaryServing" + // VtctldSetShardTabletControlProcedure is the fully-qualified name of the Vtctld's + // SetShardTabletControl RPC. + VtctldSetShardTabletControlProcedure = "/vtctlservice.Vtctld/SetShardTabletControl" + // VtctldSetWritableProcedure is the fully-qualified name of the Vtctld's SetWritable RPC. + VtctldSetWritableProcedure = "/vtctlservice.Vtctld/SetWritable" + // VtctldShardReplicationAddProcedure is the fully-qualified name of the Vtctld's + // ShardReplicationAdd RPC. + VtctldShardReplicationAddProcedure = "/vtctlservice.Vtctld/ShardReplicationAdd" + // VtctldShardReplicationFixProcedure is the fully-qualified name of the Vtctld's + // ShardReplicationFix RPC. + VtctldShardReplicationFixProcedure = "/vtctlservice.Vtctld/ShardReplicationFix" + // VtctldShardReplicationPositionsProcedure is the fully-qualified name of the Vtctld's + // ShardReplicationPositions RPC. + VtctldShardReplicationPositionsProcedure = "/vtctlservice.Vtctld/ShardReplicationPositions" + // VtctldShardReplicationRemoveProcedure is the fully-qualified name of the Vtctld's + // ShardReplicationRemove RPC. + VtctldShardReplicationRemoveProcedure = "/vtctlservice.Vtctld/ShardReplicationRemove" + // VtctldSleepTabletProcedure is the fully-qualified name of the Vtctld's SleepTablet RPC. + VtctldSleepTabletProcedure = "/vtctlservice.Vtctld/SleepTablet" + // VtctldSourceShardAddProcedure is the fully-qualified name of the Vtctld's SourceShardAdd RPC. + VtctldSourceShardAddProcedure = "/vtctlservice.Vtctld/SourceShardAdd" + // VtctldSourceShardDeleteProcedure is the fully-qualified name of the Vtctld's SourceShardDelete + // RPC. + VtctldSourceShardDeleteProcedure = "/vtctlservice.Vtctld/SourceShardDelete" + // VtctldStartReplicationProcedure is the fully-qualified name of the Vtctld's StartReplication RPC. + VtctldStartReplicationProcedure = "/vtctlservice.Vtctld/StartReplication" + // VtctldStopReplicationProcedure is the fully-qualified name of the Vtctld's StopReplication RPC. + VtctldStopReplicationProcedure = "/vtctlservice.Vtctld/StopReplication" + // VtctldTabletExternallyReparentedProcedure is the fully-qualified name of the Vtctld's + // TabletExternallyReparented RPC. + VtctldTabletExternallyReparentedProcedure = "/vtctlservice.Vtctld/TabletExternallyReparented" + // VtctldUpdateCellInfoProcedure is the fully-qualified name of the Vtctld's UpdateCellInfo RPC. + VtctldUpdateCellInfoProcedure = "/vtctlservice.Vtctld/UpdateCellInfo" + // VtctldUpdateCellsAliasProcedure is the fully-qualified name of the Vtctld's UpdateCellsAlias RPC. + VtctldUpdateCellsAliasProcedure = "/vtctlservice.Vtctld/UpdateCellsAlias" + // VtctldValidateProcedure is the fully-qualified name of the Vtctld's Validate RPC. + VtctldValidateProcedure = "/vtctlservice.Vtctld/Validate" + // VtctldValidateKeyspaceProcedure is the fully-qualified name of the Vtctld's ValidateKeyspace RPC. + VtctldValidateKeyspaceProcedure = "/vtctlservice.Vtctld/ValidateKeyspace" + // VtctldValidateSchemaKeyspaceProcedure is the fully-qualified name of the Vtctld's + // ValidateSchemaKeyspace RPC. + VtctldValidateSchemaKeyspaceProcedure = "/vtctlservice.Vtctld/ValidateSchemaKeyspace" + // VtctldValidateShardProcedure is the fully-qualified name of the Vtctld's ValidateShard RPC. + VtctldValidateShardProcedure = "/vtctlservice.Vtctld/ValidateShard" + // VtctldValidateVersionKeyspaceProcedure is the fully-qualified name of the Vtctld's + // ValidateVersionKeyspace RPC. + VtctldValidateVersionKeyspaceProcedure = "/vtctlservice.Vtctld/ValidateVersionKeyspace" + // VtctldValidateVersionShardProcedure is the fully-qualified name of the Vtctld's + // ValidateVersionShard RPC. + VtctldValidateVersionShardProcedure = "/vtctlservice.Vtctld/ValidateVersionShard" + // VtctldValidateVSchemaProcedure is the fully-qualified name of the Vtctld's ValidateVSchema RPC. + VtctldValidateVSchemaProcedure = "/vtctlservice.Vtctld/ValidateVSchema" + // VtctldVDiffCreateProcedure is the fully-qualified name of the Vtctld's VDiffCreate RPC. + VtctldVDiffCreateProcedure = "/vtctlservice.Vtctld/VDiffCreate" + // VtctldVDiffDeleteProcedure is the fully-qualified name of the Vtctld's VDiffDelete RPC. + VtctldVDiffDeleteProcedure = "/vtctlservice.Vtctld/VDiffDelete" + // VtctldVDiffResumeProcedure is the fully-qualified name of the Vtctld's VDiffResume RPC. + VtctldVDiffResumeProcedure = "/vtctlservice.Vtctld/VDiffResume" + // VtctldVDiffShowProcedure is the fully-qualified name of the Vtctld's VDiffShow RPC. + VtctldVDiffShowProcedure = "/vtctlservice.Vtctld/VDiffShow" + // VtctldVDiffStopProcedure is the fully-qualified name of the Vtctld's VDiffStop RPC. + VtctldVDiffStopProcedure = "/vtctlservice.Vtctld/VDiffStop" + // VtctldWorkflowDeleteProcedure is the fully-qualified name of the Vtctld's WorkflowDelete RPC. + VtctldWorkflowDeleteProcedure = "/vtctlservice.Vtctld/WorkflowDelete" + // VtctldWorkflowStatusProcedure is the fully-qualified name of the Vtctld's WorkflowStatus RPC. + VtctldWorkflowStatusProcedure = "/vtctlservice.Vtctld/WorkflowStatus" + // VtctldWorkflowSwitchTrafficProcedure is the fully-qualified name of the Vtctld's + // WorkflowSwitchTraffic RPC. + VtctldWorkflowSwitchTrafficProcedure = "/vtctlservice.Vtctld/WorkflowSwitchTraffic" + // VtctldWorkflowUpdateProcedure is the fully-qualified name of the Vtctld's WorkflowUpdate RPC. + VtctldWorkflowUpdateProcedure = "/vtctlservice.Vtctld/WorkflowUpdate" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vtctlServiceDescriptor = v19.File_vitess_vtctlservice_v19_vtctlservice_proto.Services().ByName("Vtctl") + vtctlExecuteVtctlCommandMethodDescriptor = vtctlServiceDescriptor.Methods().ByName("ExecuteVtctlCommand") + vtctldServiceDescriptor = v19.File_vitess_vtctlservice_v19_vtctlservice_proto.Services().ByName("Vtctld") + vtctldAddCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellInfo") + vtctldAddCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("AddCellsAlias") + vtctldApplyRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyRoutingRules") + vtctldApplySchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplySchema") + vtctldApplyShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyShardRoutingRules") + vtctldApplyVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ApplyVSchema") + vtctldBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Backup") + vtctldBackupShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("BackupShard") + vtctldCancelSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CancelSchemaMigration") + vtctldChangeTabletTypeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ChangeTabletType") + vtctldCleanupSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CleanupSchemaMigration") + vtctldCompleteSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CompleteSchemaMigration") + vtctldCreateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateKeyspace") + vtctldCreateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("CreateShard") + vtctldDeleteCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellInfo") + vtctldDeleteCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteCellsAlias") + vtctldDeleteKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteKeyspace") + vtctldDeleteShardsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteShards") + vtctldDeleteSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteSrvVSchema") + vtctldDeleteTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("DeleteTablets") + vtctldEmergencyReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("EmergencyReparentShard") + vtctldExecuteFetchAsAppMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsApp") + vtctldExecuteFetchAsDBAMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteFetchAsDBA") + vtctldExecuteHookMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ExecuteHook") + vtctldFindAllShardsInKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("FindAllShardsInKeyspace") + vtctldForceCutOverSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ForceCutOverSchemaMigration") + vtctldGetBackupsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetBackups") + vtctldGetCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfo") + vtctldGetCellInfoNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellInfoNames") + vtctldGetCellsAliasesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetCellsAliases") + vtctldGetFullStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetFullStatus") + vtctldGetKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspace") + vtctldGetKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetKeyspaces") + vtctldGetPermissionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetPermissions") + vtctldGetRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetRoutingRules") + vtctldGetSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchema") + vtctldGetSchemaMigrationsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSchemaMigrations") + vtctldGetShardReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShardReplication") + vtctldGetShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShard") + vtctldGetShardRoutingRulesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetShardRoutingRules") + vtctldGetSrvKeyspaceNamesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaceNames") + vtctldGetSrvKeyspacesMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvKeyspaces") + vtctldUpdateThrottlerConfigMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateThrottlerConfig") + vtctldGetSrvVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchema") + vtctldGetSrvVSchemasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetSrvVSchemas") + vtctldGetTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablet") + vtctldGetTabletsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTablets") + vtctldGetTopologyPathMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetTopologyPath") + vtctldGetVersionMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVersion") + vtctldGetVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetVSchema") + vtctldGetWorkflowsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("GetWorkflows") + vtctldInitShardPrimaryMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("InitShardPrimary") + vtctldLaunchSchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LaunchSchemaMigration") + vtctldLookupVindexCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LookupVindexCreate") + vtctldLookupVindexExternalizeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("LookupVindexExternalize") + vtctldMaterializeCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MaterializeCreate") + vtctldMigrateCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MigrateCreate") + vtctldMountRegisterMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountRegister") + vtctldMountUnregisterMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountUnregister") + vtctldMountShowMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountShow") + vtctldMountListMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MountList") + vtctldMoveTablesCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MoveTablesCreate") + vtctldMoveTablesCompleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("MoveTablesComplete") + vtctldPingTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PingTablet") + vtctldPlannedReparentShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("PlannedReparentShard") + vtctldRebuildKeyspaceGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildKeyspaceGraph") + vtctldRebuildVSchemaGraphMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RebuildVSchemaGraph") + vtctldRefreshStateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshState") + vtctldRefreshStateByShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RefreshStateByShard") + vtctldReloadSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchema") + vtctldReloadSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaKeyspace") + vtctldReloadSchemaShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReloadSchemaShard") + vtctldRemoveBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveBackup") + vtctldRemoveKeyspaceCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveKeyspaceCell") + vtctldRemoveShardCellMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RemoveShardCell") + vtctldReparentTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReparentTablet") + vtctldReshardCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ReshardCreate") + vtctldRestoreFromBackupMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RestoreFromBackup") + vtctldRetrySchemaMigrationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RetrySchemaMigration") + vtctldRunHealthCheckMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("RunHealthCheck") + vtctldSetKeyspaceDurabilityPolicyMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetKeyspaceDurabilityPolicy") + vtctldSetShardIsPrimaryServingMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardIsPrimaryServing") + vtctldSetShardTabletControlMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetShardTabletControl") + vtctldSetWritableMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SetWritable") + vtctldShardReplicationAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationAdd") + vtctldShardReplicationFixMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationFix") + vtctldShardReplicationPositionsMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationPositions") + vtctldShardReplicationRemoveMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ShardReplicationRemove") + vtctldSleepTabletMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SleepTablet") + vtctldSourceShardAddMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardAdd") + vtctldSourceShardDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("SourceShardDelete") + vtctldStartReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StartReplication") + vtctldStopReplicationMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("StopReplication") + vtctldTabletExternallyReparentedMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("TabletExternallyReparented") + vtctldUpdateCellInfoMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellInfo") + vtctldUpdateCellsAliasMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("UpdateCellsAlias") + vtctldValidateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("Validate") + vtctldValidateKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateKeyspace") + vtctldValidateSchemaKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateSchemaKeyspace") + vtctldValidateShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateShard") + vtctldValidateVersionKeyspaceMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionKeyspace") + vtctldValidateVersionShardMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVersionShard") + vtctldValidateVSchemaMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("ValidateVSchema") + vtctldVDiffCreateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffCreate") + vtctldVDiffDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffDelete") + vtctldVDiffResumeMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffResume") + vtctldVDiffShowMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffShow") + vtctldVDiffStopMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("VDiffStop") + vtctldWorkflowDeleteMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowDelete") + vtctldWorkflowStatusMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowStatus") + vtctldWorkflowSwitchTrafficMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowSwitchTraffic") + vtctldWorkflowUpdateMethodDescriptor = vtctldServiceDescriptor.Methods().ByName("WorkflowUpdate") +) + +// VtctlClient is a client for the vtctlservice.Vtctl service. +type VtctlClient interface { + ExecuteVtctlCommand(context.Context, *connect.Request[v191.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v191.ExecuteVtctlCommandResponse], error) +} + +// NewVtctlClient constructs a client for the vtctlservice.Vtctl service. By default, it +// uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends +// uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or +// connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewVtctlClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctlClient { + baseURL = strings.TrimRight(baseURL, "/") + return &vtctlClient{ + executeVtctlCommand: connect.NewClient[v191.ExecuteVtctlCommandRequest, v191.ExecuteVtctlCommandResponse]( + httpClient, + baseURL+VtctlExecuteVtctlCommandProcedure, + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// vtctlClient implements VtctlClient. +type vtctlClient struct { + executeVtctlCommand *connect.Client[v191.ExecuteVtctlCommandRequest, v191.ExecuteVtctlCommandResponse] +} + +// ExecuteVtctlCommand calls vtctlservice.Vtctl.ExecuteVtctlCommand. +func (c *vtctlClient) ExecuteVtctlCommand(ctx context.Context, req *connect.Request[v191.ExecuteVtctlCommandRequest]) (*connect.ServerStreamForClient[v191.ExecuteVtctlCommandResponse], error) { + return c.executeVtctlCommand.CallServerStream(ctx, req) +} + +// VtctlHandler is an implementation of the vtctlservice.Vtctl service. +type VtctlHandler interface { + ExecuteVtctlCommand(context.Context, *connect.Request[v191.ExecuteVtctlCommandRequest], *connect.ServerStream[v191.ExecuteVtctlCommandResponse]) error +} + +// NewVtctlHandler builds an HTTP handler from the service implementation. It returns the path on +// which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewVtctlHandler(svc VtctlHandler, opts ...connect.HandlerOption) (string, http.Handler) { + vtctlExecuteVtctlCommandHandler := connect.NewServerStreamHandler( + VtctlExecuteVtctlCommandProcedure, + svc.ExecuteVtctlCommand, + connect.WithSchema(vtctlExecuteVtctlCommandMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/vtctlservice.Vtctl/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case VtctlExecuteVtctlCommandProcedure: + vtctlExecuteVtctlCommandHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedVtctlHandler returns CodeUnimplemented from all methods. +type UnimplementedVtctlHandler struct{} + +func (UnimplementedVtctlHandler) ExecuteVtctlCommand(context.Context, *connect.Request[v191.ExecuteVtctlCommandRequest], *connect.ServerStream[v191.ExecuteVtctlCommandResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctl.ExecuteVtctlCommand is not implemented")) +} + +// VtctldClient is a client for the vtctlservice.Vtctld service. +type VtctldClient interface { + // AddCellInfo registers a local topology service in a new cell by creating + // the CellInfo with the provided parameters. + AddCellInfo(context.Context, *connect.Request[v191.AddCellInfoRequest]) (*connect.Response[v191.AddCellInfoResponse], error) + // AddCellsAlias defines a group of cells that can be referenced by a single + // name (the alias). + // + // When routing query traffic, replica/rdonly traffic can be routed across + // cells within the group (alias). Only primary traffic can be routed across + // cells not in the same group (alias). + AddCellsAlias(context.Context, *connect.Request[v191.AddCellsAliasRequest]) (*connect.Response[v191.AddCellsAliasResponse], error) + // ApplyRoutingRules applies the VSchema routing rules. + ApplyRoutingRules(context.Context, *connect.Request[v191.ApplyRoutingRulesRequest]) (*connect.Response[v191.ApplyRoutingRulesResponse], error) + // ApplySchema applies a schema to a keyspace. + ApplySchema(context.Context, *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) + // ApplyShardRoutingRules applies the VSchema shard routing rules. + ApplyShardRoutingRules(context.Context, *connect.Request[v191.ApplyShardRoutingRulesRequest]) (*connect.Response[v191.ApplyShardRoutingRulesResponse], error) + // ApplyVSchema applies a vschema to a keyspace. + ApplyVSchema(context.Context, *connect.Request[v191.ApplyVSchemaRequest]) (*connect.Response[v191.ApplyVSchemaResponse], error) + // Backup uses the BackupEngine and BackupStorage services on the specified + // tablet to create and store a new backup. + Backup(context.Context, *connect.Request[v191.BackupRequest]) (*connect.ServerStreamForClient[v191.BackupResponse], error) + // BackupShard chooses a tablet in the shard and uses it to create a backup. + BackupShard(context.Context, *connect.Request[v191.BackupShardRequest]) (*connect.ServerStreamForClient[v191.BackupResponse], error) + // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[v191.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) + // ChangeTabletType changes the db type for the specified tablet, if possible. + // This is used primarily to arrange replicas, and it will not convert a + // primary. For that, use InitShardPrimary. + // + // NOTE: This command automatically updates the serving graph. + ChangeTabletType(context.Context, *connect.Request[v191.ChangeTabletTypeRequest]) (*connect.Response[v191.ChangeTabletTypeResponse], error) + // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. + CleanupSchemaMigration(context.Context, *connect.Request[v191.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. + CompleteSchemaMigration(context.Context, *connect.Request[v191.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) + // CreateKeyspace creates the specified keyspace in the topology. For a + // SNAPSHOT keyspace, the request must specify the name of a base keyspace, + // as well as a snapshot time. + CreateKeyspace(context.Context, *connect.Request[v191.CreateKeyspaceRequest]) (*connect.Response[v191.CreateKeyspaceResponse], error) + // CreateShard creates the specified shard in the topology. + CreateShard(context.Context, *connect.Request[v191.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) + // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot + // be referenced by any Shard record in the topology. + DeleteCellInfo(context.Context, *connect.Request[v191.DeleteCellInfoRequest]) (*connect.Response[v191.DeleteCellInfoResponse], error) + // DeleteCellsAlias deletes the CellsAlias for the provided alias. + DeleteCellsAlias(context.Context, *connect.Request[v191.DeleteCellsAliasRequest]) (*connect.Response[v191.DeleteCellsAliasResponse], error) + // DeleteKeyspace deletes the specified keyspace from the topology. In + // recursive mode, it also recursively deletes all shards in the keyspace. + // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace + // returns an error. + DeleteKeyspace(context.Context, *connect.Request[v191.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) + // DeleteShards deletes the specified shards from the topology. In recursive + // mode, it also deletes all tablets belonging to the shard. Otherwise, the + // shard must be empty (have no tablets) or DeleteShards returns an error for + // that shard. + DeleteShards(context.Context, *connect.Request[v191.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) + // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. + DeleteSrvVSchema(context.Context, *connect.Request[v191.DeleteSrvVSchemaRequest]) (*connect.Response[v191.DeleteSrvVSchemaResponse], error) + // DeleteTablets deletes one or more tablets from the topology. + DeleteTablets(context.Context, *connect.Request[v191.DeleteTabletsRequest]) (*connect.Response[v191.DeleteTabletsResponse], error) + // EmergencyReparentShard reparents the shard to the new primary. It assumes + // the old primary is dead or otherwise not responding. + EmergencyReparentShard(context.Context, *connect.Request[v191.EmergencyReparentShardRequest]) (*connect.Response[v191.EmergencyReparentShardResponse], error) + // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. + ExecuteFetchAsApp(context.Context, *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) + // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. + ExecuteFetchAsDBA(context.Context, *connect.Request[v191.ExecuteFetchAsDBARequest]) (*connect.Response[v191.ExecuteFetchAsDBAResponse], error) + // ExecuteHook runs the hook on the tablet. + ExecuteHook(context.Context, *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) + // FindAllShardsInKeyspace returns a map of shard names to shard references + // for a given keyspace. + FindAllShardsInKeyspace(context.Context, *connect.Request[v191.FindAllShardsInKeyspaceRequest]) (*connect.Response[v191.FindAllShardsInKeyspaceResponse], error) + // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. + ForceCutOverSchemaMigration(context.Context, *connect.Request[v191.ForceCutOverSchemaMigrationRequest]) (*connect.Response[v191.ForceCutOverSchemaMigrationResponse], error) + // GetBackups returns all the backups for a shard. + GetBackups(context.Context, *connect.Request[v191.GetBackupsRequest]) (*connect.Response[v191.GetBackupsResponse], error) + // GetCellInfo returns the information for a cell. + GetCellInfo(context.Context, *connect.Request[v191.GetCellInfoRequest]) (*connect.Response[v191.GetCellInfoResponse], error) + // GetCellInfoNames returns all the cells for which we have a CellInfo object, + // meaning we have a topology service registered. + GetCellInfoNames(context.Context, *connect.Request[v191.GetCellInfoNamesRequest]) (*connect.Response[v191.GetCellInfoNamesResponse], error) + // GetCellsAliases returns a mapping of cell alias to cells identified by that + // alias. + GetCellsAliases(context.Context, *connect.Request[v191.GetCellsAliasesRequest]) (*connect.Response[v191.GetCellsAliasesResponse], error) + // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + GetFullStatus(context.Context, *connect.Request[v191.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) + // GetKeyspace reads the given keyspace from the topo and returns it. + GetKeyspace(context.Context, *connect.Request[v191.GetKeyspaceRequest]) (*connect.Response[v191.GetKeyspaceResponse], error) + // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. + GetKeyspaces(context.Context, *connect.Request[v191.GetKeyspacesRequest]) (*connect.Response[v191.GetKeyspacesResponse], error) + // GetPermissions returns the permissions set on the remote tablet. + GetPermissions(context.Context, *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) + // GetRoutingRules returns the VSchema routing rules. + GetRoutingRules(context.Context, *connect.Request[v191.GetRoutingRulesRequest]) (*connect.Response[v191.GetRoutingRulesResponse], error) + // GetSchema returns the schema for a tablet, or just the schema for the + // specified tables in that tablet. + GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) + // GetSchemaMigrations returns one or more online schema migrations for the + // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different filtering + // behaviors. See the documentation on GetSchemaMigrationsRequest for details. + GetSchemaMigrations(context.Context, *connect.Request[v191.GetSchemaMigrationsRequest]) (*connect.Response[v191.GetSchemaMigrationsResponse], error) + // GetShardReplication returns the replication graph for a shard in a cell. + GetShardReplication(context.Context, *connect.Request[v191.GetShardReplicationRequest]) (*connect.Response[v191.GetShardReplicationResponse], error) + // GetShard returns information about a shard in the topology. + GetShard(context.Context, *connect.Request[v191.GetShardRequest]) (*connect.Response[v191.GetShardResponse], error) + // GetShardRoutingRules returns the VSchema shard routing rules. + GetShardRoutingRules(context.Context, *connect.Request[v191.GetShardRoutingRulesRequest]) (*connect.Response[v191.GetShardRoutingRulesResponse], error) + // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served + // in that cell. + GetSrvKeyspaceNames(context.Context, *connect.Request[v191.GetSrvKeyspaceNamesRequest]) (*connect.Response[v191.GetSrvKeyspaceNamesResponse], error) + // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more + // cells. + GetSrvKeyspaces(context.Context, *connect.Request[v191.GetSrvKeyspacesRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) + // UpdateThrottlerConfig updates the tablet throttler configuration + UpdateThrottlerConfig(context.Context, *connect.Request[v191.UpdateThrottlerConfigRequest]) (*connect.Response[v191.UpdateThrottlerConfigResponse], error) + // GetSrvVSchema returns the SrvVSchema for a cell. + GetSrvVSchema(context.Context, *connect.Request[v191.GetSrvVSchemaRequest]) (*connect.Response[v191.GetSrvVSchemaResponse], error) + // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, + // optionally filtered by cell name. + GetSrvVSchemas(context.Context, *connect.Request[v191.GetSrvVSchemasRequest]) (*connect.Response[v191.GetSrvVSchemasResponse], error) + // GetTablet returns information about a tablet. + GetTablet(context.Context, *connect.Request[v191.GetTabletRequest]) (*connect.Response[v191.GetTabletResponse], error) + // GetTablets returns tablets, optionally filtered by keyspace and shard. + GetTablets(context.Context, *connect.Request[v191.GetTabletsRequest]) (*connect.Response[v191.GetTabletsResponse], error) + // GetTopologyPath returns the topology cell at a given path. + GetTopologyPath(context.Context, *connect.Request[v191.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) + // GetVersion returns the version of a tablet from its debug vars. + GetVersion(context.Context, *connect.Request[v191.GetVersionRequest]) (*connect.Response[v191.GetVersionResponse], error) + // GetVSchema returns the vschema for a keyspace. + GetVSchema(context.Context, *connect.Request[v191.GetVSchemaRequest]) (*connect.Response[v191.GetVSchemaResponse], error) + // GetWorkflows returns a list of workflows for the given keyspace. + GetWorkflows(context.Context, *connect.Request[v191.GetWorkflowsRequest]) (*connect.Response[v191.GetWorkflowsResponse], error) + // InitShardPrimary sets the initial primary for a shard. Will make all other + // tablets in the shard replicas of the provided primary. + // + // WARNING: This could cause data loss on an already replicating shard. + // PlannedReparentShard or EmergencyReparentShard should be used in those + // cases instead. + InitShardPrimary(context.Context, *connect.Request[v191.InitShardPrimaryRequest]) (*connect.Response[v191.InitShardPrimaryResponse], error) + // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. + LaunchSchemaMigration(context.Context, *connect.Request[v191.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) + LookupVindexCreate(context.Context, *connect.Request[v191.LookupVindexCreateRequest]) (*connect.Response[v191.LookupVindexCreateResponse], error) + LookupVindexExternalize(context.Context, *connect.Request[v191.LookupVindexExternalizeRequest]) (*connect.Response[v191.LookupVindexExternalizeResponse], error) + // MaterializeCreate creates a workflow to materialize one or more tables + // from a source keyspace to a target keyspace using a provided expressions. + MaterializeCreate(context.Context, *connect.Request[v191.MaterializeCreateRequest]) (*connect.Response[v191.MaterializeCreateResponse], error) + // MigrateCreate creates a workflow which migrates one or more tables from an + // external cluster into Vitess. + MigrateCreate(context.Context, *connect.Request[v191.MigrateCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + // MountRegister registers a new external Vitess cluster. + MountRegister(context.Context, *connect.Request[v191.MountRegisterRequest]) (*connect.Response[v191.MountRegisterResponse], error) + // MountUnregister unregisters an external Vitess cluster. + MountUnregister(context.Context, *connect.Request[v191.MountUnregisterRequest]) (*connect.Response[v191.MountUnregisterResponse], error) + // MountShow returns information about an external Vitess cluster. + MountShow(context.Context, *connect.Request[v191.MountShowRequest]) (*connect.Response[v191.MountShowResponse], error) + // MountList lists all registered external Vitess clusters. + MountList(context.Context, *connect.Request[v191.MountListRequest]) (*connect.Response[v191.MountListResponse], error) + // MoveTablesCreate creates a workflow which moves one or more tables from a + // source keyspace to a target keyspace. + MoveTablesCreate(context.Context, *connect.Request[v191.MoveTablesCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + // MoveTablesComplete completes the move and cleans up the workflow and + // its related artifacts. + MoveTablesComplete(context.Context, *connect.Request[v191.MoveTablesCompleteRequest]) (*connect.Response[v191.MoveTablesCompleteResponse], error) + // PingTablet checks that the specified tablet is awake and responding to RPCs. + // This command can be blocked by other in-flight operations. + PingTablet(context.Context, *connect.Request[v191.PingTabletRequest]) (*connect.Response[v191.PingTabletResponse], error) + // PlannedReparentShard reparents the shard to the new primary, or away from + // an old primary. Both the old and new primaries need to be reachable and + // running. + // + // **NOTE**: The vtctld will not consider any replicas outside the cell the + // current shard primary is in for promotion unless NewPrimary is explicitly + // provided in the request. + PlannedReparentShard(context.Context, *connect.Request[v191.PlannedReparentShardRequest]) (*connect.Response[v191.PlannedReparentShardResponse], error) + // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. + // + // This may trigger an update to all connected clients. + RebuildKeyspaceGraph(context.Context, *connect.Request[v191.RebuildKeyspaceGraphRequest]) (*connect.Response[v191.RebuildKeyspaceGraphResponse], error) + // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global + // VSchema objects in the provided cells (or all cells in the topo none + // provided). + RebuildVSchemaGraph(context.Context, *connect.Request[v191.RebuildVSchemaGraphRequest]) (*connect.Response[v191.RebuildVSchemaGraphResponse], error) + // RefreshState reloads the tablet record on the specified tablet. + RefreshState(context.Context, *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) + // RefreshStateByShard calls RefreshState on all the tablets in the given shard. + RefreshStateByShard(context.Context, *connect.Request[v191.RefreshStateByShardRequest]) (*connect.Response[v191.RefreshStateByShardResponse], error) + // ReloadSchema instructs the remote tablet to reload its schema. + ReloadSchema(context.Context, *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) + // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. + ReloadSchemaKeyspace(context.Context, *connect.Request[v191.ReloadSchemaKeyspaceRequest]) (*connect.Response[v191.ReloadSchemaKeyspaceResponse], error) + // ReloadSchemaShard reloads the schema on all tablets in a shard. + // + // In general, we don't always expect all replicas to be ready to reload, and + // the periodic schema reload makes them self-healing anyway. So, we do this + // on a best-effort basis, and log warnings for any tablets that fail to + // reload within the context deadline. + ReloadSchemaShard(context.Context, *connect.Request[v191.ReloadSchemaShardRequest]) (*connect.Response[v191.ReloadSchemaShardResponse], error) + // RemoveBackup removes a backup from the BackupStorage used by vtctld. + RemoveBackup(context.Context, *connect.Request[v191.RemoveBackupRequest]) (*connect.Response[v191.RemoveBackupResponse], error) + // RemoveKeyspaceCell removes the specified cell from the Cells list for all + // shards in the specified keyspace (by calling RemoveShardCell on every + // shard). It also removes the SrvKeyspace for that keyspace in that cell. + RemoveKeyspaceCell(context.Context, *connect.Request[v191.RemoveKeyspaceCellRequest]) (*connect.Response[v191.RemoveKeyspaceCellResponse], error) + // RemoveShardCell removes the specified cell from the specified shard's Cells + // list. + RemoveShardCell(context.Context, *connect.Request[v191.RemoveShardCellRequest]) (*connect.Response[v191.RemoveShardCellResponse], error) + // ReparentTablet reparents a tablet to the current primary in the shard. This + // only works if the current replica position matches the last known reparent + // action. + ReparentTablet(context.Context, *connect.Request[v191.ReparentTabletRequest]) (*connect.Response[v191.ReparentTabletResponse], error) + // ReshardCreate creates a workflow to reshard a keyspace. + ReshardCreate(context.Context, *connect.Request[v191.ReshardCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + // RestoreFromBackup stops mysqld for the given tablet and restores a backup. + RestoreFromBackup(context.Context, *connect.Request[v191.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v191.RestoreFromBackupResponse], error) + // RetrySchemaMigration marks a given schema migration for retry. + RetrySchemaMigration(context.Context, *connect.Request[v191.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) + // RunHealthCheck runs a healthcheck on the remote tablet. + RunHealthCheck(context.Context, *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) + // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v191.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v191.SetKeyspaceDurabilityPolicyResponse], error) + // SetShardIsPrimaryServing adds or removes a shard from serving. + // + // This is meant as an emergency function. It does not rebuild any serving + // graph (i.e. it does not run RebuildKeyspaceGraph). + SetShardIsPrimaryServing(context.Context, *connect.Request[v191.SetShardIsPrimaryServingRequest]) (*connect.Response[v191.SetShardIsPrimaryServingResponse], error) + // SetShardTabletControl updates the TabletControl topo record for a shard and + // tablet type. + // + // This should only be used for an emergency fix, or after a finished + // Reshard. See the documentation on SetShardTabletControlRequest for more + // information about the different update modes. + SetShardTabletControl(context.Context, *connect.Request[v191.SetShardTabletControlRequest]) (*connect.Response[v191.SetShardTabletControlResponse], error) + // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). + SetWritable(context.Context, *connect.Request[v191.SetWritableRequest]) (*connect.Response[v191.SetWritableResponse], error) + // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. + // + // It is a low-level function and should generally not be called. + ShardReplicationAdd(context.Context, *connect.Request[v191.ShardReplicationAddRequest]) (*connect.Response[v191.ShardReplicationAddResponse], error) + // ShardReplicationFix walks the replication graph for a shard in a cell and + // attempts to fix the first problem encountered, returning information about + // the problem fixed, if any. + ShardReplicationFix(context.Context, *connect.Request[v191.ShardReplicationFixRequest]) (*connect.Response[v191.ShardReplicationFixResponse], error) + // ShardReplicationPositions returns the replication position of each tablet + // in a shard. This RPC makes a best-effort to return partial results. For + // example, if one tablet in the shard graph is unreachable, then + // ShardReplicationPositions will return non-error, and include valid results + // for the reachable tablets. + ShardReplicationPositions(context.Context, *connect.Request[v191.ShardReplicationPositionsRequest]) (*connect.Response[v191.ShardReplicationPositionsResponse], error) + // ShardReplicationRemove removes an entry from a topodata.ShardReplication + // object. + // + // It is a low-level function and should generally not be called. + ShardReplicationRemove(context.Context, *connect.Request[v191.ShardReplicationRemoveRequest]) (*connect.Response[v191.ShardReplicationRemoveResponse], error) + // SleepTablet blocks the aciton queue on the specified tablet for the + // specified duration. + // + // This is typically used for testing. + SleepTablet(context.Context, *connect.Request[v191.SleepTabletRequest]) (*connect.Response[v191.SleepTabletResponse], error) + // SourceShardAdd adds the SourceShard record with the provided index. This + // should be used only as an emergency function. + // + // It does not call RefreshState for the shard primary. + SourceShardAdd(context.Context, *connect.Request[v191.SourceShardAddRequest]) (*connect.Response[v191.SourceShardAddResponse], error) + // SourceShardDelete deletes the SourceShard record with the provided index. + // This should be used only as an emergency cleanup function. + // + // It does not call RefreshState for the shard primary. + SourceShardDelete(context.Context, *connect.Request[v191.SourceShardDeleteRequest]) (*connect.Response[v191.SourceShardDeleteResponse], error) + // StartReplication starts replication on the specified tablet. + StartReplication(context.Context, *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) + // StopReplication stops replication on the specified tablet. + StopReplication(context.Context, *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) + // TabletExternallyReparented changes metadata in the topology server to + // acknowledge a shard primary change performed by an external tool (e.g. + // orchestrator). + // + // See the Reparenting guide for more information: + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v191.TabletExternallyReparentedRequest]) (*connect.Response[v191.TabletExternallyReparentedResponse], error) + // UpdateCellInfo updates the content of a CellInfo with the provided + // parameters. Empty values are ignored. If the cell does not exist, the + // CellInfo will be created. + UpdateCellInfo(context.Context, *connect.Request[v191.UpdateCellInfoRequest]) (*connect.Response[v191.UpdateCellInfoResponse], error) + // UpdateCellsAlias updates the content of a CellsAlias with the provided + // parameters. Empty values are ignored. If the alias does not exist, the + // CellsAlias will be created. + UpdateCellsAlias(context.Context, *connect.Request[v191.UpdateCellsAliasRequest]) (*connect.Response[v191.UpdateCellsAliasResponse], error) + // Validate validates that all nodes from the global replication graph are + // reachable, and that all tablets in discoverable cells are consistent. + Validate(context.Context, *connect.Request[v191.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) + // ValidateKeyspace validates that all nodes reachable from the specified + // keyspace are consistent. + ValidateKeyspace(context.Context, *connect.Request[v191.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) + // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. + ValidateSchemaKeyspace(context.Context, *connect.Request[v191.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) + // ValidateShard validates that all nodes reachable from the specified shard + // are consistent. + ValidateShard(context.Context, *connect.Request[v191.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) + // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. + ValidateVersionKeyspace(context.Context, *connect.Request[v191.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) + // ValidateVersionShard validates that the version on the primary matches all of the replicas. + ValidateVersionShard(context.Context, *connect.Request[v191.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) + // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. + ValidateVSchema(context.Context, *connect.Request[v191.ValidateVSchemaRequest]) (*connect.Response[v191.ValidateVSchemaResponse], error) + VDiffCreate(context.Context, *connect.Request[v191.VDiffCreateRequest]) (*connect.Response[v191.VDiffCreateResponse], error) + VDiffDelete(context.Context, *connect.Request[v191.VDiffDeleteRequest]) (*connect.Response[v191.VDiffDeleteResponse], error) + VDiffResume(context.Context, *connect.Request[v191.VDiffResumeRequest]) (*connect.Response[v191.VDiffResumeResponse], error) + VDiffShow(context.Context, *connect.Request[v191.VDiffShowRequest]) (*connect.Response[v191.VDiffShowResponse], error) + VDiffStop(context.Context, *connect.Request[v191.VDiffStopRequest]) (*connect.Response[v191.VDiffStopResponse], error) + // WorkflowDelete deletes a vreplication workflow. + WorkflowDelete(context.Context, *connect.Request[v191.WorkflowDeleteRequest]) (*connect.Response[v191.WorkflowDeleteResponse], error) + WorkflowStatus(context.Context, *connect.Request[v191.WorkflowStatusRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + WorkflowSwitchTraffic(context.Context, *connect.Request[v191.WorkflowSwitchTrafficRequest]) (*connect.Response[v191.WorkflowSwitchTrafficResponse], error) + // WorkflowUpdate updates the configuration of a vreplication workflow + // using the provided updated parameters. + WorkflowUpdate(context.Context, *connect.Request[v191.WorkflowUpdateRequest]) (*connect.Response[v191.WorkflowUpdateResponse], error) +} + +// NewVtctldClient constructs a client for the vtctlservice.Vtctld service. By default, +// it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and +// sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() +// or connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewVtctldClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VtctldClient { + baseURL = strings.TrimRight(baseURL, "/") + return &vtctldClient{ + addCellInfo: connect.NewClient[v191.AddCellInfoRequest, v191.AddCellInfoResponse]( + httpClient, + baseURL+VtctldAddCellInfoProcedure, + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), + ), + addCellsAlias: connect.NewClient[v191.AddCellsAliasRequest, v191.AddCellsAliasResponse]( + httpClient, + baseURL+VtctldAddCellsAliasProcedure, + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + applyRoutingRules: connect.NewClient[v191.ApplyRoutingRulesRequest, v191.ApplyRoutingRulesResponse]( + httpClient, + baseURL+VtctldApplyRoutingRulesProcedure, + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + applySchema: connect.NewClient[v191.ApplySchemaRequest, v191.ApplySchemaResponse]( + httpClient, + baseURL+VtctldApplySchemaProcedure, + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + applyShardRoutingRules: connect.NewClient[v191.ApplyShardRoutingRulesRequest, v191.ApplyShardRoutingRulesResponse]( + httpClient, + baseURL+VtctldApplyShardRoutingRulesProcedure, + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + applyVSchema: connect.NewClient[v191.ApplyVSchemaRequest, v191.ApplyVSchemaResponse]( + httpClient, + baseURL+VtctldApplyVSchemaProcedure, + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + backup: connect.NewClient[v191.BackupRequest, v191.BackupResponse]( + httpClient, + baseURL+VtctldBackupProcedure, + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithClientOptions(opts...), + ), + backupShard: connect.NewClient[v191.BackupShardRequest, v191.BackupResponse]( + httpClient, + baseURL+VtctldBackupShardProcedure, + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + cancelSchemaMigration: connect.NewClient[v191.CancelSchemaMigrationRequest, v191.CancelSchemaMigrationResponse]( + httpClient, + baseURL+VtctldCancelSchemaMigrationProcedure, + connect.WithSchema(vtctldCancelSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + changeTabletType: connect.NewClient[v191.ChangeTabletTypeRequest, v191.ChangeTabletTypeResponse]( + httpClient, + baseURL+VtctldChangeTabletTypeProcedure, + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithClientOptions(opts...), + ), + cleanupSchemaMigration: connect.NewClient[v191.CleanupSchemaMigrationRequest, v191.CleanupSchemaMigrationResponse]( + httpClient, + baseURL+VtctldCleanupSchemaMigrationProcedure, + connect.WithSchema(vtctldCleanupSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + completeSchemaMigration: connect.NewClient[v191.CompleteSchemaMigrationRequest, v191.CompleteSchemaMigrationResponse]( + httpClient, + baseURL+VtctldCompleteSchemaMigrationProcedure, + connect.WithSchema(vtctldCompleteSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + createKeyspace: connect.NewClient[v191.CreateKeyspaceRequest, v191.CreateKeyspaceResponse]( + httpClient, + baseURL+VtctldCreateKeyspaceProcedure, + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + createShard: connect.NewClient[v191.CreateShardRequest, v191.CreateShardResponse]( + httpClient, + baseURL+VtctldCreateShardProcedure, + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteCellInfo: connect.NewClient[v191.DeleteCellInfoRequest, v191.DeleteCellInfoResponse]( + httpClient, + baseURL+VtctldDeleteCellInfoProcedure, + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteCellsAlias: connect.NewClient[v191.DeleteCellsAliasRequest, v191.DeleteCellsAliasResponse]( + httpClient, + baseURL+VtctldDeleteCellsAliasProcedure, + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteKeyspace: connect.NewClient[v191.DeleteKeyspaceRequest, v191.DeleteKeyspaceResponse]( + httpClient, + baseURL+VtctldDeleteKeyspaceProcedure, + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteShards: connect.NewClient[v191.DeleteShardsRequest, v191.DeleteShardsResponse]( + httpClient, + baseURL+VtctldDeleteShardsProcedure, + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteSrvVSchema: connect.NewClient[v191.DeleteSrvVSchemaRequest, v191.DeleteSrvVSchemaResponse]( + httpClient, + baseURL+VtctldDeleteSrvVSchemaProcedure, + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + deleteTablets: connect.NewClient[v191.DeleteTabletsRequest, v191.DeleteTabletsResponse]( + httpClient, + baseURL+VtctldDeleteTabletsProcedure, + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + emergencyReparentShard: connect.NewClient[v191.EmergencyReparentShardRequest, v191.EmergencyReparentShardResponse]( + httpClient, + baseURL+VtctldEmergencyReparentShardProcedure, + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeFetchAsApp: connect.NewClient[v191.ExecuteFetchAsAppRequest, v191.ExecuteFetchAsAppResponse]( + httpClient, + baseURL+VtctldExecuteFetchAsAppProcedure, + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeFetchAsDBA: connect.NewClient[v191.ExecuteFetchAsDBARequest, v191.ExecuteFetchAsDBAResponse]( + httpClient, + baseURL+VtctldExecuteFetchAsDBAProcedure, + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeHook: connect.NewClient[v191.ExecuteHookRequest, v191.ExecuteHookResponse]( + httpClient, + baseURL+VtctldExecuteHookProcedure, + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithClientOptions(opts...), + ), + findAllShardsInKeyspace: connect.NewClient[v191.FindAllShardsInKeyspaceRequest, v191.FindAllShardsInKeyspaceResponse]( + httpClient, + baseURL+VtctldFindAllShardsInKeyspaceProcedure, + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + forceCutOverSchemaMigration: connect.NewClient[v191.ForceCutOverSchemaMigrationRequest, v191.ForceCutOverSchemaMigrationResponse]( + httpClient, + baseURL+VtctldForceCutOverSchemaMigrationProcedure, + connect.WithSchema(vtctldForceCutOverSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getBackups: connect.NewClient[v191.GetBackupsRequest, v191.GetBackupsResponse]( + httpClient, + baseURL+VtctldGetBackupsProcedure, + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getCellInfo: connect.NewClient[v191.GetCellInfoRequest, v191.GetCellInfoResponse]( + httpClient, + baseURL+VtctldGetCellInfoProcedure, + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getCellInfoNames: connect.NewClient[v191.GetCellInfoNamesRequest, v191.GetCellInfoNamesResponse]( + httpClient, + baseURL+VtctldGetCellInfoNamesProcedure, + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getCellsAliases: connect.NewClient[v191.GetCellsAliasesRequest, v191.GetCellsAliasesResponse]( + httpClient, + baseURL+VtctldGetCellsAliasesProcedure, + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getFullStatus: connect.NewClient[v191.GetFullStatusRequest, v191.GetFullStatusResponse]( + httpClient, + baseURL+VtctldGetFullStatusProcedure, + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getKeyspace: connect.NewClient[v191.GetKeyspaceRequest, v191.GetKeyspaceResponse]( + httpClient, + baseURL+VtctldGetKeyspaceProcedure, + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getKeyspaces: connect.NewClient[v191.GetKeyspacesRequest, v191.GetKeyspacesResponse]( + httpClient, + baseURL+VtctldGetKeyspacesProcedure, + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getPermissions: connect.NewClient[v191.GetPermissionsRequest, v191.GetPermissionsResponse]( + httpClient, + baseURL+VtctldGetPermissionsProcedure, + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getRoutingRules: connect.NewClient[v191.GetRoutingRulesRequest, v191.GetRoutingRulesResponse]( + httpClient, + baseURL+VtctldGetRoutingRulesProcedure, + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchema: connect.NewClient[v191.GetSchemaRequest, v191.GetSchemaResponse]( + httpClient, + baseURL+VtctldGetSchemaProcedure, + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSchemaMigrations: connect.NewClient[v191.GetSchemaMigrationsRequest, v191.GetSchemaMigrationsResponse]( + httpClient, + baseURL+VtctldGetSchemaMigrationsProcedure, + connect.WithSchema(vtctldGetSchemaMigrationsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getShardReplication: connect.NewClient[v191.GetShardReplicationRequest, v191.GetShardReplicationResponse]( + httpClient, + baseURL+VtctldGetShardReplicationProcedure, + connect.WithSchema(vtctldGetShardReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getShard: connect.NewClient[v191.GetShardRequest, v191.GetShardResponse]( + httpClient, + baseURL+VtctldGetShardProcedure, + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getShardRoutingRules: connect.NewClient[v191.GetShardRoutingRulesRequest, v191.GetShardRoutingRulesResponse]( + httpClient, + baseURL+VtctldGetShardRoutingRulesProcedure, + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvKeyspaceNames: connect.NewClient[v191.GetSrvKeyspaceNamesRequest, v191.GetSrvKeyspaceNamesResponse]( + httpClient, + baseURL+VtctldGetSrvKeyspaceNamesProcedure, + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvKeyspaces: connect.NewClient[v191.GetSrvKeyspacesRequest, v191.GetSrvKeyspacesResponse]( + httpClient, + baseURL+VtctldGetSrvKeyspacesProcedure, + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + updateThrottlerConfig: connect.NewClient[v191.UpdateThrottlerConfigRequest, v191.UpdateThrottlerConfigResponse]( + httpClient, + baseURL+VtctldUpdateThrottlerConfigProcedure, + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvVSchema: connect.NewClient[v191.GetSrvVSchemaRequest, v191.GetSrvVSchemaResponse]( + httpClient, + baseURL+VtctldGetSrvVSchemaProcedure, + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getSrvVSchemas: connect.NewClient[v191.GetSrvVSchemasRequest, v191.GetSrvVSchemasResponse]( + httpClient, + baseURL+VtctldGetSrvVSchemasProcedure, + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTablet: connect.NewClient[v191.GetTabletRequest, v191.GetTabletResponse]( + httpClient, + baseURL+VtctldGetTabletProcedure, + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTablets: connect.NewClient[v191.GetTabletsRequest, v191.GetTabletsResponse]( + httpClient, + baseURL+VtctldGetTabletsProcedure, + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getTopologyPath: connect.NewClient[v191.GetTopologyPathRequest, v191.GetTopologyPathResponse]( + httpClient, + baseURL+VtctldGetTopologyPathProcedure, + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getVersion: connect.NewClient[v191.GetVersionRequest, v191.GetVersionResponse]( + httpClient, + baseURL+VtctldGetVersionProcedure, + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getVSchema: connect.NewClient[v191.GetVSchemaRequest, v191.GetVSchemaResponse]( + httpClient, + baseURL+VtctldGetVSchemaProcedure, + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + getWorkflows: connect.NewClient[v191.GetWorkflowsRequest, v191.GetWorkflowsResponse]( + httpClient, + baseURL+VtctldGetWorkflowsProcedure, + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + initShardPrimary: connect.NewClient[v191.InitShardPrimaryRequest, v191.InitShardPrimaryResponse]( + httpClient, + baseURL+VtctldInitShardPrimaryProcedure, + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithClientOptions(opts...), + ), + launchSchemaMigration: connect.NewClient[v191.LaunchSchemaMigrationRequest, v191.LaunchSchemaMigrationResponse]( + httpClient, + baseURL+VtctldLaunchSchemaMigrationProcedure, + connect.WithSchema(vtctldLaunchSchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + lookupVindexCreate: connect.NewClient[v191.LookupVindexCreateRequest, v191.LookupVindexCreateResponse]( + httpClient, + baseURL+VtctldLookupVindexCreateProcedure, + connect.WithSchema(vtctldLookupVindexCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + lookupVindexExternalize: connect.NewClient[v191.LookupVindexExternalizeRequest, v191.LookupVindexExternalizeResponse]( + httpClient, + baseURL+VtctldLookupVindexExternalizeProcedure, + connect.WithSchema(vtctldLookupVindexExternalizeMethodDescriptor), + connect.WithClientOptions(opts...), + ), + materializeCreate: connect.NewClient[v191.MaterializeCreateRequest, v191.MaterializeCreateResponse]( + httpClient, + baseURL+VtctldMaterializeCreateProcedure, + connect.WithSchema(vtctldMaterializeCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + migrateCreate: connect.NewClient[v191.MigrateCreateRequest, v191.WorkflowStatusResponse]( + httpClient, + baseURL+VtctldMigrateCreateProcedure, + connect.WithSchema(vtctldMigrateCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + mountRegister: connect.NewClient[v191.MountRegisterRequest, v191.MountRegisterResponse]( + httpClient, + baseURL+VtctldMountRegisterProcedure, + connect.WithSchema(vtctldMountRegisterMethodDescriptor), + connect.WithClientOptions(opts...), + ), + mountUnregister: connect.NewClient[v191.MountUnregisterRequest, v191.MountUnregisterResponse]( + httpClient, + baseURL+VtctldMountUnregisterProcedure, + connect.WithSchema(vtctldMountUnregisterMethodDescriptor), + connect.WithClientOptions(opts...), + ), + mountShow: connect.NewClient[v191.MountShowRequest, v191.MountShowResponse]( + httpClient, + baseURL+VtctldMountShowProcedure, + connect.WithSchema(vtctldMountShowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + mountList: connect.NewClient[v191.MountListRequest, v191.MountListResponse]( + httpClient, + baseURL+VtctldMountListProcedure, + connect.WithSchema(vtctldMountListMethodDescriptor), + connect.WithClientOptions(opts...), + ), + moveTablesCreate: connect.NewClient[v191.MoveTablesCreateRequest, v191.WorkflowStatusResponse]( + httpClient, + baseURL+VtctldMoveTablesCreateProcedure, + connect.WithSchema(vtctldMoveTablesCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + moveTablesComplete: connect.NewClient[v191.MoveTablesCompleteRequest, v191.MoveTablesCompleteResponse]( + httpClient, + baseURL+VtctldMoveTablesCompleteProcedure, + connect.WithSchema(vtctldMoveTablesCompleteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + pingTablet: connect.NewClient[v191.PingTabletRequest, v191.PingTabletResponse]( + httpClient, + baseURL+VtctldPingTabletProcedure, + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithClientOptions(opts...), + ), + plannedReparentShard: connect.NewClient[v191.PlannedReparentShardRequest, v191.PlannedReparentShardResponse]( + httpClient, + baseURL+VtctldPlannedReparentShardProcedure, + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + rebuildKeyspaceGraph: connect.NewClient[v191.RebuildKeyspaceGraphRequest, v191.RebuildKeyspaceGraphResponse]( + httpClient, + baseURL+VtctldRebuildKeyspaceGraphProcedure, + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithClientOptions(opts...), + ), + rebuildVSchemaGraph: connect.NewClient[v191.RebuildVSchemaGraphRequest, v191.RebuildVSchemaGraphResponse]( + httpClient, + baseURL+VtctldRebuildVSchemaGraphProcedure, + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithClientOptions(opts...), + ), + refreshState: connect.NewClient[v191.RefreshStateRequest, v191.RefreshStateResponse]( + httpClient, + baseURL+VtctldRefreshStateProcedure, + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + refreshStateByShard: connect.NewClient[v191.RefreshStateByShardRequest, v191.RefreshStateByShardResponse]( + httpClient, + baseURL+VtctldRefreshStateByShardProcedure, + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reloadSchema: connect.NewClient[v191.ReloadSchemaRequest, v191.ReloadSchemaResponse]( + httpClient, + baseURL+VtctldReloadSchemaProcedure, + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reloadSchemaKeyspace: connect.NewClient[v191.ReloadSchemaKeyspaceRequest, v191.ReloadSchemaKeyspaceResponse]( + httpClient, + baseURL+VtctldReloadSchemaKeyspaceProcedure, + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reloadSchemaShard: connect.NewClient[v191.ReloadSchemaShardRequest, v191.ReloadSchemaShardResponse]( + httpClient, + baseURL+VtctldReloadSchemaShardProcedure, + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + removeBackup: connect.NewClient[v191.RemoveBackupRequest, v191.RemoveBackupResponse]( + httpClient, + baseURL+VtctldRemoveBackupProcedure, + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithClientOptions(opts...), + ), + removeKeyspaceCell: connect.NewClient[v191.RemoveKeyspaceCellRequest, v191.RemoveKeyspaceCellResponse]( + httpClient, + baseURL+VtctldRemoveKeyspaceCellProcedure, + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithClientOptions(opts...), + ), + removeShardCell: connect.NewClient[v191.RemoveShardCellRequest, v191.RemoveShardCellResponse]( + httpClient, + baseURL+VtctldRemoveShardCellProcedure, + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reparentTablet: connect.NewClient[v191.ReparentTabletRequest, v191.ReparentTabletResponse]( + httpClient, + baseURL+VtctldReparentTabletProcedure, + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithClientOptions(opts...), + ), + reshardCreate: connect.NewClient[v191.ReshardCreateRequest, v191.WorkflowStatusResponse]( + httpClient, + baseURL+VtctldReshardCreateProcedure, + connect.WithSchema(vtctldReshardCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + restoreFromBackup: connect.NewClient[v191.RestoreFromBackupRequest, v191.RestoreFromBackupResponse]( + httpClient, + baseURL+VtctldRestoreFromBackupProcedure, + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithClientOptions(opts...), + ), + retrySchemaMigration: connect.NewClient[v191.RetrySchemaMigrationRequest, v191.RetrySchemaMigrationResponse]( + httpClient, + baseURL+VtctldRetrySchemaMigrationProcedure, + connect.WithSchema(vtctldRetrySchemaMigrationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + runHealthCheck: connect.NewClient[v191.RunHealthCheckRequest, v191.RunHealthCheckResponse]( + httpClient, + baseURL+VtctldRunHealthCheckProcedure, + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setKeyspaceDurabilityPolicy: connect.NewClient[v191.SetKeyspaceDurabilityPolicyRequest, v191.SetKeyspaceDurabilityPolicyResponse]( + httpClient, + baseURL+VtctldSetKeyspaceDurabilityPolicyProcedure, + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setShardIsPrimaryServing: connect.NewClient[v191.SetShardIsPrimaryServingRequest, v191.SetShardIsPrimaryServingResponse]( + httpClient, + baseURL+VtctldSetShardIsPrimaryServingProcedure, + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setShardTabletControl: connect.NewClient[v191.SetShardTabletControlRequest, v191.SetShardTabletControlResponse]( + httpClient, + baseURL+VtctldSetShardTabletControlProcedure, + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithClientOptions(opts...), + ), + setWritable: connect.NewClient[v191.SetWritableRequest, v191.SetWritableResponse]( + httpClient, + baseURL+VtctldSetWritableProcedure, + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithClientOptions(opts...), + ), + shardReplicationAdd: connect.NewClient[v191.ShardReplicationAddRequest, v191.ShardReplicationAddResponse]( + httpClient, + baseURL+VtctldShardReplicationAddProcedure, + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithClientOptions(opts...), + ), + shardReplicationFix: connect.NewClient[v191.ShardReplicationFixRequest, v191.ShardReplicationFixResponse]( + httpClient, + baseURL+VtctldShardReplicationFixProcedure, + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithClientOptions(opts...), + ), + shardReplicationPositions: connect.NewClient[v191.ShardReplicationPositionsRequest, v191.ShardReplicationPositionsResponse]( + httpClient, + baseURL+VtctldShardReplicationPositionsProcedure, + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithClientOptions(opts...), + ), + shardReplicationRemove: connect.NewClient[v191.ShardReplicationRemoveRequest, v191.ShardReplicationRemoveResponse]( + httpClient, + baseURL+VtctldShardReplicationRemoveProcedure, + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithClientOptions(opts...), + ), + sleepTablet: connect.NewClient[v191.SleepTabletRequest, v191.SleepTabletResponse]( + httpClient, + baseURL+VtctldSleepTabletProcedure, + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithClientOptions(opts...), + ), + sourceShardAdd: connect.NewClient[v191.SourceShardAddRequest, v191.SourceShardAddResponse]( + httpClient, + baseURL+VtctldSourceShardAddProcedure, + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithClientOptions(opts...), + ), + sourceShardDelete: connect.NewClient[v191.SourceShardDeleteRequest, v191.SourceShardDeleteResponse]( + httpClient, + baseURL+VtctldSourceShardDeleteProcedure, + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + startReplication: connect.NewClient[v191.StartReplicationRequest, v191.StartReplicationResponse]( + httpClient, + baseURL+VtctldStartReplicationProcedure, + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + stopReplication: connect.NewClient[v191.StopReplicationRequest, v191.StopReplicationResponse]( + httpClient, + baseURL+VtctldStopReplicationProcedure, + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithClientOptions(opts...), + ), + tabletExternallyReparented: connect.NewClient[v191.TabletExternallyReparentedRequest, v191.TabletExternallyReparentedResponse]( + httpClient, + baseURL+VtctldTabletExternallyReparentedProcedure, + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithClientOptions(opts...), + ), + updateCellInfo: connect.NewClient[v191.UpdateCellInfoRequest, v191.UpdateCellInfoResponse]( + httpClient, + baseURL+VtctldUpdateCellInfoProcedure, + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithClientOptions(opts...), + ), + updateCellsAlias: connect.NewClient[v191.UpdateCellsAliasRequest, v191.UpdateCellsAliasResponse]( + httpClient, + baseURL+VtctldUpdateCellsAliasProcedure, + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validate: connect.NewClient[v191.ValidateRequest, v191.ValidateResponse]( + httpClient, + baseURL+VtctldValidateProcedure, + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateKeyspace: connect.NewClient[v191.ValidateKeyspaceRequest, v191.ValidateKeyspaceResponse]( + httpClient, + baseURL+VtctldValidateKeyspaceProcedure, + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateSchemaKeyspace: connect.NewClient[v191.ValidateSchemaKeyspaceRequest, v191.ValidateSchemaKeyspaceResponse]( + httpClient, + baseURL+VtctldValidateSchemaKeyspaceProcedure, + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateShard: connect.NewClient[v191.ValidateShardRequest, v191.ValidateShardResponse]( + httpClient, + baseURL+VtctldValidateShardProcedure, + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateVersionKeyspace: connect.NewClient[v191.ValidateVersionKeyspaceRequest, v191.ValidateVersionKeyspaceResponse]( + httpClient, + baseURL+VtctldValidateVersionKeyspaceProcedure, + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateVersionShard: connect.NewClient[v191.ValidateVersionShardRequest, v191.ValidateVersionShardResponse]( + httpClient, + baseURL+VtctldValidateVersionShardProcedure, + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithClientOptions(opts...), + ), + validateVSchema: connect.NewClient[v191.ValidateVSchemaRequest, v191.ValidateVSchemaResponse]( + httpClient, + baseURL+VtctldValidateVSchemaProcedure, + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiffCreate: connect.NewClient[v191.VDiffCreateRequest, v191.VDiffCreateResponse]( + httpClient, + baseURL+VtctldVDiffCreateProcedure, + connect.WithSchema(vtctldVDiffCreateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiffDelete: connect.NewClient[v191.VDiffDeleteRequest, v191.VDiffDeleteResponse]( + httpClient, + baseURL+VtctldVDiffDeleteProcedure, + connect.WithSchema(vtctldVDiffDeleteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiffResume: connect.NewClient[v191.VDiffResumeRequest, v191.VDiffResumeResponse]( + httpClient, + baseURL+VtctldVDiffResumeProcedure, + connect.WithSchema(vtctldVDiffResumeMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiffShow: connect.NewClient[v191.VDiffShowRequest, v191.VDiffShowResponse]( + httpClient, + baseURL+VtctldVDiffShowProcedure, + connect.WithSchema(vtctldVDiffShowMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vDiffStop: connect.NewClient[v191.VDiffStopRequest, v191.VDiffStopResponse]( + httpClient, + baseURL+VtctldVDiffStopProcedure, + connect.WithSchema(vtctldVDiffStopMethodDescriptor), + connect.WithClientOptions(opts...), + ), + workflowDelete: connect.NewClient[v191.WorkflowDeleteRequest, v191.WorkflowDeleteResponse]( + httpClient, + baseURL+VtctldWorkflowDeleteProcedure, + connect.WithSchema(vtctldWorkflowDeleteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + workflowStatus: connect.NewClient[v191.WorkflowStatusRequest, v191.WorkflowStatusResponse]( + httpClient, + baseURL+VtctldWorkflowStatusProcedure, + connect.WithSchema(vtctldWorkflowStatusMethodDescriptor), + connect.WithClientOptions(opts...), + ), + workflowSwitchTraffic: connect.NewClient[v191.WorkflowSwitchTrafficRequest, v191.WorkflowSwitchTrafficResponse]( + httpClient, + baseURL+VtctldWorkflowSwitchTrafficProcedure, + connect.WithSchema(vtctldWorkflowSwitchTrafficMethodDescriptor), + connect.WithClientOptions(opts...), + ), + workflowUpdate: connect.NewClient[v191.WorkflowUpdateRequest, v191.WorkflowUpdateResponse]( + httpClient, + baseURL+VtctldWorkflowUpdateProcedure, + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// vtctldClient implements VtctldClient. +type vtctldClient struct { + addCellInfo *connect.Client[v191.AddCellInfoRequest, v191.AddCellInfoResponse] + addCellsAlias *connect.Client[v191.AddCellsAliasRequest, v191.AddCellsAliasResponse] + applyRoutingRules *connect.Client[v191.ApplyRoutingRulesRequest, v191.ApplyRoutingRulesResponse] + applySchema *connect.Client[v191.ApplySchemaRequest, v191.ApplySchemaResponse] + applyShardRoutingRules *connect.Client[v191.ApplyShardRoutingRulesRequest, v191.ApplyShardRoutingRulesResponse] + applyVSchema *connect.Client[v191.ApplyVSchemaRequest, v191.ApplyVSchemaResponse] + backup *connect.Client[v191.BackupRequest, v191.BackupResponse] + backupShard *connect.Client[v191.BackupShardRequest, v191.BackupResponse] + cancelSchemaMigration *connect.Client[v191.CancelSchemaMigrationRequest, v191.CancelSchemaMigrationResponse] + changeTabletType *connect.Client[v191.ChangeTabletTypeRequest, v191.ChangeTabletTypeResponse] + cleanupSchemaMigration *connect.Client[v191.CleanupSchemaMigrationRequest, v191.CleanupSchemaMigrationResponse] + completeSchemaMigration *connect.Client[v191.CompleteSchemaMigrationRequest, v191.CompleteSchemaMigrationResponse] + createKeyspace *connect.Client[v191.CreateKeyspaceRequest, v191.CreateKeyspaceResponse] + createShard *connect.Client[v191.CreateShardRequest, v191.CreateShardResponse] + deleteCellInfo *connect.Client[v191.DeleteCellInfoRequest, v191.DeleteCellInfoResponse] + deleteCellsAlias *connect.Client[v191.DeleteCellsAliasRequest, v191.DeleteCellsAliasResponse] + deleteKeyspace *connect.Client[v191.DeleteKeyspaceRequest, v191.DeleteKeyspaceResponse] + deleteShards *connect.Client[v191.DeleteShardsRequest, v191.DeleteShardsResponse] + deleteSrvVSchema *connect.Client[v191.DeleteSrvVSchemaRequest, v191.DeleteSrvVSchemaResponse] + deleteTablets *connect.Client[v191.DeleteTabletsRequest, v191.DeleteTabletsResponse] + emergencyReparentShard *connect.Client[v191.EmergencyReparentShardRequest, v191.EmergencyReparentShardResponse] + executeFetchAsApp *connect.Client[v191.ExecuteFetchAsAppRequest, v191.ExecuteFetchAsAppResponse] + executeFetchAsDBA *connect.Client[v191.ExecuteFetchAsDBARequest, v191.ExecuteFetchAsDBAResponse] + executeHook *connect.Client[v191.ExecuteHookRequest, v191.ExecuteHookResponse] + findAllShardsInKeyspace *connect.Client[v191.FindAllShardsInKeyspaceRequest, v191.FindAllShardsInKeyspaceResponse] + forceCutOverSchemaMigration *connect.Client[v191.ForceCutOverSchemaMigrationRequest, v191.ForceCutOverSchemaMigrationResponse] + getBackups *connect.Client[v191.GetBackupsRequest, v191.GetBackupsResponse] + getCellInfo *connect.Client[v191.GetCellInfoRequest, v191.GetCellInfoResponse] + getCellInfoNames *connect.Client[v191.GetCellInfoNamesRequest, v191.GetCellInfoNamesResponse] + getCellsAliases *connect.Client[v191.GetCellsAliasesRequest, v191.GetCellsAliasesResponse] + getFullStatus *connect.Client[v191.GetFullStatusRequest, v191.GetFullStatusResponse] + getKeyspace *connect.Client[v191.GetKeyspaceRequest, v191.GetKeyspaceResponse] + getKeyspaces *connect.Client[v191.GetKeyspacesRequest, v191.GetKeyspacesResponse] + getPermissions *connect.Client[v191.GetPermissionsRequest, v191.GetPermissionsResponse] + getRoutingRules *connect.Client[v191.GetRoutingRulesRequest, v191.GetRoutingRulesResponse] + getSchema *connect.Client[v191.GetSchemaRequest, v191.GetSchemaResponse] + getSchemaMigrations *connect.Client[v191.GetSchemaMigrationsRequest, v191.GetSchemaMigrationsResponse] + getShardReplication *connect.Client[v191.GetShardReplicationRequest, v191.GetShardReplicationResponse] + getShard *connect.Client[v191.GetShardRequest, v191.GetShardResponse] + getShardRoutingRules *connect.Client[v191.GetShardRoutingRulesRequest, v191.GetShardRoutingRulesResponse] + getSrvKeyspaceNames *connect.Client[v191.GetSrvKeyspaceNamesRequest, v191.GetSrvKeyspaceNamesResponse] + getSrvKeyspaces *connect.Client[v191.GetSrvKeyspacesRequest, v191.GetSrvKeyspacesResponse] + updateThrottlerConfig *connect.Client[v191.UpdateThrottlerConfigRequest, v191.UpdateThrottlerConfigResponse] + getSrvVSchema *connect.Client[v191.GetSrvVSchemaRequest, v191.GetSrvVSchemaResponse] + getSrvVSchemas *connect.Client[v191.GetSrvVSchemasRequest, v191.GetSrvVSchemasResponse] + getTablet *connect.Client[v191.GetTabletRequest, v191.GetTabletResponse] + getTablets *connect.Client[v191.GetTabletsRequest, v191.GetTabletsResponse] + getTopologyPath *connect.Client[v191.GetTopologyPathRequest, v191.GetTopologyPathResponse] + getVersion *connect.Client[v191.GetVersionRequest, v191.GetVersionResponse] + getVSchema *connect.Client[v191.GetVSchemaRequest, v191.GetVSchemaResponse] + getWorkflows *connect.Client[v191.GetWorkflowsRequest, v191.GetWorkflowsResponse] + initShardPrimary *connect.Client[v191.InitShardPrimaryRequest, v191.InitShardPrimaryResponse] + launchSchemaMigration *connect.Client[v191.LaunchSchemaMigrationRequest, v191.LaunchSchemaMigrationResponse] + lookupVindexCreate *connect.Client[v191.LookupVindexCreateRequest, v191.LookupVindexCreateResponse] + lookupVindexExternalize *connect.Client[v191.LookupVindexExternalizeRequest, v191.LookupVindexExternalizeResponse] + materializeCreate *connect.Client[v191.MaterializeCreateRequest, v191.MaterializeCreateResponse] + migrateCreate *connect.Client[v191.MigrateCreateRequest, v191.WorkflowStatusResponse] + mountRegister *connect.Client[v191.MountRegisterRequest, v191.MountRegisterResponse] + mountUnregister *connect.Client[v191.MountUnregisterRequest, v191.MountUnregisterResponse] + mountShow *connect.Client[v191.MountShowRequest, v191.MountShowResponse] + mountList *connect.Client[v191.MountListRequest, v191.MountListResponse] + moveTablesCreate *connect.Client[v191.MoveTablesCreateRequest, v191.WorkflowStatusResponse] + moveTablesComplete *connect.Client[v191.MoveTablesCompleteRequest, v191.MoveTablesCompleteResponse] + pingTablet *connect.Client[v191.PingTabletRequest, v191.PingTabletResponse] + plannedReparentShard *connect.Client[v191.PlannedReparentShardRequest, v191.PlannedReparentShardResponse] + rebuildKeyspaceGraph *connect.Client[v191.RebuildKeyspaceGraphRequest, v191.RebuildKeyspaceGraphResponse] + rebuildVSchemaGraph *connect.Client[v191.RebuildVSchemaGraphRequest, v191.RebuildVSchemaGraphResponse] + refreshState *connect.Client[v191.RefreshStateRequest, v191.RefreshStateResponse] + refreshStateByShard *connect.Client[v191.RefreshStateByShardRequest, v191.RefreshStateByShardResponse] + reloadSchema *connect.Client[v191.ReloadSchemaRequest, v191.ReloadSchemaResponse] + reloadSchemaKeyspace *connect.Client[v191.ReloadSchemaKeyspaceRequest, v191.ReloadSchemaKeyspaceResponse] + reloadSchemaShard *connect.Client[v191.ReloadSchemaShardRequest, v191.ReloadSchemaShardResponse] + removeBackup *connect.Client[v191.RemoveBackupRequest, v191.RemoveBackupResponse] + removeKeyspaceCell *connect.Client[v191.RemoveKeyspaceCellRequest, v191.RemoveKeyspaceCellResponse] + removeShardCell *connect.Client[v191.RemoveShardCellRequest, v191.RemoveShardCellResponse] + reparentTablet *connect.Client[v191.ReparentTabletRequest, v191.ReparentTabletResponse] + reshardCreate *connect.Client[v191.ReshardCreateRequest, v191.WorkflowStatusResponse] + restoreFromBackup *connect.Client[v191.RestoreFromBackupRequest, v191.RestoreFromBackupResponse] + retrySchemaMigration *connect.Client[v191.RetrySchemaMigrationRequest, v191.RetrySchemaMigrationResponse] + runHealthCheck *connect.Client[v191.RunHealthCheckRequest, v191.RunHealthCheckResponse] + setKeyspaceDurabilityPolicy *connect.Client[v191.SetKeyspaceDurabilityPolicyRequest, v191.SetKeyspaceDurabilityPolicyResponse] + setShardIsPrimaryServing *connect.Client[v191.SetShardIsPrimaryServingRequest, v191.SetShardIsPrimaryServingResponse] + setShardTabletControl *connect.Client[v191.SetShardTabletControlRequest, v191.SetShardTabletControlResponse] + setWritable *connect.Client[v191.SetWritableRequest, v191.SetWritableResponse] + shardReplicationAdd *connect.Client[v191.ShardReplicationAddRequest, v191.ShardReplicationAddResponse] + shardReplicationFix *connect.Client[v191.ShardReplicationFixRequest, v191.ShardReplicationFixResponse] + shardReplicationPositions *connect.Client[v191.ShardReplicationPositionsRequest, v191.ShardReplicationPositionsResponse] + shardReplicationRemove *connect.Client[v191.ShardReplicationRemoveRequest, v191.ShardReplicationRemoveResponse] + sleepTablet *connect.Client[v191.SleepTabletRequest, v191.SleepTabletResponse] + sourceShardAdd *connect.Client[v191.SourceShardAddRequest, v191.SourceShardAddResponse] + sourceShardDelete *connect.Client[v191.SourceShardDeleteRequest, v191.SourceShardDeleteResponse] + startReplication *connect.Client[v191.StartReplicationRequest, v191.StartReplicationResponse] + stopReplication *connect.Client[v191.StopReplicationRequest, v191.StopReplicationResponse] + tabletExternallyReparented *connect.Client[v191.TabletExternallyReparentedRequest, v191.TabletExternallyReparentedResponse] + updateCellInfo *connect.Client[v191.UpdateCellInfoRequest, v191.UpdateCellInfoResponse] + updateCellsAlias *connect.Client[v191.UpdateCellsAliasRequest, v191.UpdateCellsAliasResponse] + validate *connect.Client[v191.ValidateRequest, v191.ValidateResponse] + validateKeyspace *connect.Client[v191.ValidateKeyspaceRequest, v191.ValidateKeyspaceResponse] + validateSchemaKeyspace *connect.Client[v191.ValidateSchemaKeyspaceRequest, v191.ValidateSchemaKeyspaceResponse] + validateShard *connect.Client[v191.ValidateShardRequest, v191.ValidateShardResponse] + validateVersionKeyspace *connect.Client[v191.ValidateVersionKeyspaceRequest, v191.ValidateVersionKeyspaceResponse] + validateVersionShard *connect.Client[v191.ValidateVersionShardRequest, v191.ValidateVersionShardResponse] + validateVSchema *connect.Client[v191.ValidateVSchemaRequest, v191.ValidateVSchemaResponse] + vDiffCreate *connect.Client[v191.VDiffCreateRequest, v191.VDiffCreateResponse] + vDiffDelete *connect.Client[v191.VDiffDeleteRequest, v191.VDiffDeleteResponse] + vDiffResume *connect.Client[v191.VDiffResumeRequest, v191.VDiffResumeResponse] + vDiffShow *connect.Client[v191.VDiffShowRequest, v191.VDiffShowResponse] + vDiffStop *connect.Client[v191.VDiffStopRequest, v191.VDiffStopResponse] + workflowDelete *connect.Client[v191.WorkflowDeleteRequest, v191.WorkflowDeleteResponse] + workflowStatus *connect.Client[v191.WorkflowStatusRequest, v191.WorkflowStatusResponse] + workflowSwitchTraffic *connect.Client[v191.WorkflowSwitchTrafficRequest, v191.WorkflowSwitchTrafficResponse] + workflowUpdate *connect.Client[v191.WorkflowUpdateRequest, v191.WorkflowUpdateResponse] +} + +// AddCellInfo calls vtctlservice.Vtctld.AddCellInfo. +func (c *vtctldClient) AddCellInfo(ctx context.Context, req *connect.Request[v191.AddCellInfoRequest]) (*connect.Response[v191.AddCellInfoResponse], error) { + return c.addCellInfo.CallUnary(ctx, req) +} + +// AddCellsAlias calls vtctlservice.Vtctld.AddCellsAlias. +func (c *vtctldClient) AddCellsAlias(ctx context.Context, req *connect.Request[v191.AddCellsAliasRequest]) (*connect.Response[v191.AddCellsAliasResponse], error) { + return c.addCellsAlias.CallUnary(ctx, req) +} + +// ApplyRoutingRules calls vtctlservice.Vtctld.ApplyRoutingRules. +func (c *vtctldClient) ApplyRoutingRules(ctx context.Context, req *connect.Request[v191.ApplyRoutingRulesRequest]) (*connect.Response[v191.ApplyRoutingRulesResponse], error) { + return c.applyRoutingRules.CallUnary(ctx, req) +} + +// ApplySchema calls vtctlservice.Vtctld.ApplySchema. +func (c *vtctldClient) ApplySchema(ctx context.Context, req *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) { + return c.applySchema.CallUnary(ctx, req) +} + +// ApplyShardRoutingRules calls vtctlservice.Vtctld.ApplyShardRoutingRules. +func (c *vtctldClient) ApplyShardRoutingRules(ctx context.Context, req *connect.Request[v191.ApplyShardRoutingRulesRequest]) (*connect.Response[v191.ApplyShardRoutingRulesResponse], error) { + return c.applyShardRoutingRules.CallUnary(ctx, req) +} + +// ApplyVSchema calls vtctlservice.Vtctld.ApplyVSchema. +func (c *vtctldClient) ApplyVSchema(ctx context.Context, req *connect.Request[v191.ApplyVSchemaRequest]) (*connect.Response[v191.ApplyVSchemaResponse], error) { + return c.applyVSchema.CallUnary(ctx, req) +} + +// Backup calls vtctlservice.Vtctld.Backup. +func (c *vtctldClient) Backup(ctx context.Context, req *connect.Request[v191.BackupRequest]) (*connect.ServerStreamForClient[v191.BackupResponse], error) { + return c.backup.CallServerStream(ctx, req) +} + +// BackupShard calls vtctlservice.Vtctld.BackupShard. +func (c *vtctldClient) BackupShard(ctx context.Context, req *connect.Request[v191.BackupShardRequest]) (*connect.ServerStreamForClient[v191.BackupResponse], error) { + return c.backupShard.CallServerStream(ctx, req) +} + +// CancelSchemaMigration calls vtctlservice.Vtctld.CancelSchemaMigration. +func (c *vtctldClient) CancelSchemaMigration(ctx context.Context, req *connect.Request[v191.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) { + return c.cancelSchemaMigration.CallUnary(ctx, req) +} + +// ChangeTabletType calls vtctlservice.Vtctld.ChangeTabletType. +func (c *vtctldClient) ChangeTabletType(ctx context.Context, req *connect.Request[v191.ChangeTabletTypeRequest]) (*connect.Response[v191.ChangeTabletTypeResponse], error) { + return c.changeTabletType.CallUnary(ctx, req) +} + +// CleanupSchemaMigration calls vtctlservice.Vtctld.CleanupSchemaMigration. +func (c *vtctldClient) CleanupSchemaMigration(ctx context.Context, req *connect.Request[v191.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) { + return c.cleanupSchemaMigration.CallUnary(ctx, req) +} + +// CompleteSchemaMigration calls vtctlservice.Vtctld.CompleteSchemaMigration. +func (c *vtctldClient) CompleteSchemaMigration(ctx context.Context, req *connect.Request[v191.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) { + return c.completeSchemaMigration.CallUnary(ctx, req) +} + +// CreateKeyspace calls vtctlservice.Vtctld.CreateKeyspace. +func (c *vtctldClient) CreateKeyspace(ctx context.Context, req *connect.Request[v191.CreateKeyspaceRequest]) (*connect.Response[v191.CreateKeyspaceResponse], error) { + return c.createKeyspace.CallUnary(ctx, req) +} + +// CreateShard calls vtctlservice.Vtctld.CreateShard. +func (c *vtctldClient) CreateShard(ctx context.Context, req *connect.Request[v191.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) { + return c.createShard.CallUnary(ctx, req) +} + +// DeleteCellInfo calls vtctlservice.Vtctld.DeleteCellInfo. +func (c *vtctldClient) DeleteCellInfo(ctx context.Context, req *connect.Request[v191.DeleteCellInfoRequest]) (*connect.Response[v191.DeleteCellInfoResponse], error) { + return c.deleteCellInfo.CallUnary(ctx, req) +} + +// DeleteCellsAlias calls vtctlservice.Vtctld.DeleteCellsAlias. +func (c *vtctldClient) DeleteCellsAlias(ctx context.Context, req *connect.Request[v191.DeleteCellsAliasRequest]) (*connect.Response[v191.DeleteCellsAliasResponse], error) { + return c.deleteCellsAlias.CallUnary(ctx, req) +} + +// DeleteKeyspace calls vtctlservice.Vtctld.DeleteKeyspace. +func (c *vtctldClient) DeleteKeyspace(ctx context.Context, req *connect.Request[v191.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) { + return c.deleteKeyspace.CallUnary(ctx, req) +} + +// DeleteShards calls vtctlservice.Vtctld.DeleteShards. +func (c *vtctldClient) DeleteShards(ctx context.Context, req *connect.Request[v191.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) { + return c.deleteShards.CallUnary(ctx, req) +} + +// DeleteSrvVSchema calls vtctlservice.Vtctld.DeleteSrvVSchema. +func (c *vtctldClient) DeleteSrvVSchema(ctx context.Context, req *connect.Request[v191.DeleteSrvVSchemaRequest]) (*connect.Response[v191.DeleteSrvVSchemaResponse], error) { + return c.deleteSrvVSchema.CallUnary(ctx, req) +} + +// DeleteTablets calls vtctlservice.Vtctld.DeleteTablets. +func (c *vtctldClient) DeleteTablets(ctx context.Context, req *connect.Request[v191.DeleteTabletsRequest]) (*connect.Response[v191.DeleteTabletsResponse], error) { + return c.deleteTablets.CallUnary(ctx, req) +} + +// EmergencyReparentShard calls vtctlservice.Vtctld.EmergencyReparentShard. +func (c *vtctldClient) EmergencyReparentShard(ctx context.Context, req *connect.Request[v191.EmergencyReparentShardRequest]) (*connect.Response[v191.EmergencyReparentShardResponse], error) { + return c.emergencyReparentShard.CallUnary(ctx, req) +} + +// ExecuteFetchAsApp calls vtctlservice.Vtctld.ExecuteFetchAsApp. +func (c *vtctldClient) ExecuteFetchAsApp(ctx context.Context, req *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) { + return c.executeFetchAsApp.CallUnary(ctx, req) +} + +// ExecuteFetchAsDBA calls vtctlservice.Vtctld.ExecuteFetchAsDBA. +func (c *vtctldClient) ExecuteFetchAsDBA(ctx context.Context, req *connect.Request[v191.ExecuteFetchAsDBARequest]) (*connect.Response[v191.ExecuteFetchAsDBAResponse], error) { + return c.executeFetchAsDBA.CallUnary(ctx, req) +} + +// ExecuteHook calls vtctlservice.Vtctld.ExecuteHook. +func (c *vtctldClient) ExecuteHook(ctx context.Context, req *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) { + return c.executeHook.CallUnary(ctx, req) +} + +// FindAllShardsInKeyspace calls vtctlservice.Vtctld.FindAllShardsInKeyspace. +func (c *vtctldClient) FindAllShardsInKeyspace(ctx context.Context, req *connect.Request[v191.FindAllShardsInKeyspaceRequest]) (*connect.Response[v191.FindAllShardsInKeyspaceResponse], error) { + return c.findAllShardsInKeyspace.CallUnary(ctx, req) +} + +// ForceCutOverSchemaMigration calls vtctlservice.Vtctld.ForceCutOverSchemaMigration. +func (c *vtctldClient) ForceCutOverSchemaMigration(ctx context.Context, req *connect.Request[v191.ForceCutOverSchemaMigrationRequest]) (*connect.Response[v191.ForceCutOverSchemaMigrationResponse], error) { + return c.forceCutOverSchemaMigration.CallUnary(ctx, req) +} + +// GetBackups calls vtctlservice.Vtctld.GetBackups. +func (c *vtctldClient) GetBackups(ctx context.Context, req *connect.Request[v191.GetBackupsRequest]) (*connect.Response[v191.GetBackupsResponse], error) { + return c.getBackups.CallUnary(ctx, req) +} + +// GetCellInfo calls vtctlservice.Vtctld.GetCellInfo. +func (c *vtctldClient) GetCellInfo(ctx context.Context, req *connect.Request[v191.GetCellInfoRequest]) (*connect.Response[v191.GetCellInfoResponse], error) { + return c.getCellInfo.CallUnary(ctx, req) +} + +// GetCellInfoNames calls vtctlservice.Vtctld.GetCellInfoNames. +func (c *vtctldClient) GetCellInfoNames(ctx context.Context, req *connect.Request[v191.GetCellInfoNamesRequest]) (*connect.Response[v191.GetCellInfoNamesResponse], error) { + return c.getCellInfoNames.CallUnary(ctx, req) +} + +// GetCellsAliases calls vtctlservice.Vtctld.GetCellsAliases. +func (c *vtctldClient) GetCellsAliases(ctx context.Context, req *connect.Request[v191.GetCellsAliasesRequest]) (*connect.Response[v191.GetCellsAliasesResponse], error) { + return c.getCellsAliases.CallUnary(ctx, req) +} + +// GetFullStatus calls vtctlservice.Vtctld.GetFullStatus. +func (c *vtctldClient) GetFullStatus(ctx context.Context, req *connect.Request[v191.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) { + return c.getFullStatus.CallUnary(ctx, req) +} + +// GetKeyspace calls vtctlservice.Vtctld.GetKeyspace. +func (c *vtctldClient) GetKeyspace(ctx context.Context, req *connect.Request[v191.GetKeyspaceRequest]) (*connect.Response[v191.GetKeyspaceResponse], error) { + return c.getKeyspace.CallUnary(ctx, req) +} + +// GetKeyspaces calls vtctlservice.Vtctld.GetKeyspaces. +func (c *vtctldClient) GetKeyspaces(ctx context.Context, req *connect.Request[v191.GetKeyspacesRequest]) (*connect.Response[v191.GetKeyspacesResponse], error) { + return c.getKeyspaces.CallUnary(ctx, req) +} + +// GetPermissions calls vtctlservice.Vtctld.GetPermissions. +func (c *vtctldClient) GetPermissions(ctx context.Context, req *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) { + return c.getPermissions.CallUnary(ctx, req) +} + +// GetRoutingRules calls vtctlservice.Vtctld.GetRoutingRules. +func (c *vtctldClient) GetRoutingRules(ctx context.Context, req *connect.Request[v191.GetRoutingRulesRequest]) (*connect.Response[v191.GetRoutingRulesResponse], error) { + return c.getRoutingRules.CallUnary(ctx, req) +} + +// GetSchema calls vtctlservice.Vtctld.GetSchema. +func (c *vtctldClient) GetSchema(ctx context.Context, req *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) { + return c.getSchema.CallUnary(ctx, req) +} + +// GetSchemaMigrations calls vtctlservice.Vtctld.GetSchemaMigrations. +func (c *vtctldClient) GetSchemaMigrations(ctx context.Context, req *connect.Request[v191.GetSchemaMigrationsRequest]) (*connect.Response[v191.GetSchemaMigrationsResponse], error) { + return c.getSchemaMigrations.CallUnary(ctx, req) +} + +// GetShardReplication calls vtctlservice.Vtctld.GetShardReplication. +func (c *vtctldClient) GetShardReplication(ctx context.Context, req *connect.Request[v191.GetShardReplicationRequest]) (*connect.Response[v191.GetShardReplicationResponse], error) { + return c.getShardReplication.CallUnary(ctx, req) +} + +// GetShard calls vtctlservice.Vtctld.GetShard. +func (c *vtctldClient) GetShard(ctx context.Context, req *connect.Request[v191.GetShardRequest]) (*connect.Response[v191.GetShardResponse], error) { + return c.getShard.CallUnary(ctx, req) +} + +// GetShardRoutingRules calls vtctlservice.Vtctld.GetShardRoutingRules. +func (c *vtctldClient) GetShardRoutingRules(ctx context.Context, req *connect.Request[v191.GetShardRoutingRulesRequest]) (*connect.Response[v191.GetShardRoutingRulesResponse], error) { + return c.getShardRoutingRules.CallUnary(ctx, req) +} + +// GetSrvKeyspaceNames calls vtctlservice.Vtctld.GetSrvKeyspaceNames. +func (c *vtctldClient) GetSrvKeyspaceNames(ctx context.Context, req *connect.Request[v191.GetSrvKeyspaceNamesRequest]) (*connect.Response[v191.GetSrvKeyspaceNamesResponse], error) { + return c.getSrvKeyspaceNames.CallUnary(ctx, req) +} + +// GetSrvKeyspaces calls vtctlservice.Vtctld.GetSrvKeyspaces. +func (c *vtctldClient) GetSrvKeyspaces(ctx context.Context, req *connect.Request[v191.GetSrvKeyspacesRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) { + return c.getSrvKeyspaces.CallUnary(ctx, req) +} + +// UpdateThrottlerConfig calls vtctlservice.Vtctld.UpdateThrottlerConfig. +func (c *vtctldClient) UpdateThrottlerConfig(ctx context.Context, req *connect.Request[v191.UpdateThrottlerConfigRequest]) (*connect.Response[v191.UpdateThrottlerConfigResponse], error) { + return c.updateThrottlerConfig.CallUnary(ctx, req) +} + +// GetSrvVSchema calls vtctlservice.Vtctld.GetSrvVSchema. +func (c *vtctldClient) GetSrvVSchema(ctx context.Context, req *connect.Request[v191.GetSrvVSchemaRequest]) (*connect.Response[v191.GetSrvVSchemaResponse], error) { + return c.getSrvVSchema.CallUnary(ctx, req) +} + +// GetSrvVSchemas calls vtctlservice.Vtctld.GetSrvVSchemas. +func (c *vtctldClient) GetSrvVSchemas(ctx context.Context, req *connect.Request[v191.GetSrvVSchemasRequest]) (*connect.Response[v191.GetSrvVSchemasResponse], error) { + return c.getSrvVSchemas.CallUnary(ctx, req) +} + +// GetTablet calls vtctlservice.Vtctld.GetTablet. +func (c *vtctldClient) GetTablet(ctx context.Context, req *connect.Request[v191.GetTabletRequest]) (*connect.Response[v191.GetTabletResponse], error) { + return c.getTablet.CallUnary(ctx, req) +} + +// GetTablets calls vtctlservice.Vtctld.GetTablets. +func (c *vtctldClient) GetTablets(ctx context.Context, req *connect.Request[v191.GetTabletsRequest]) (*connect.Response[v191.GetTabletsResponse], error) { + return c.getTablets.CallUnary(ctx, req) +} + +// GetTopologyPath calls vtctlservice.Vtctld.GetTopologyPath. +func (c *vtctldClient) GetTopologyPath(ctx context.Context, req *connect.Request[v191.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) { + return c.getTopologyPath.CallUnary(ctx, req) +} + +// GetVersion calls vtctlservice.Vtctld.GetVersion. +func (c *vtctldClient) GetVersion(ctx context.Context, req *connect.Request[v191.GetVersionRequest]) (*connect.Response[v191.GetVersionResponse], error) { + return c.getVersion.CallUnary(ctx, req) +} + +// GetVSchema calls vtctlservice.Vtctld.GetVSchema. +func (c *vtctldClient) GetVSchema(ctx context.Context, req *connect.Request[v191.GetVSchemaRequest]) (*connect.Response[v191.GetVSchemaResponse], error) { + return c.getVSchema.CallUnary(ctx, req) +} + +// GetWorkflows calls vtctlservice.Vtctld.GetWorkflows. +func (c *vtctldClient) GetWorkflows(ctx context.Context, req *connect.Request[v191.GetWorkflowsRequest]) (*connect.Response[v191.GetWorkflowsResponse], error) { + return c.getWorkflows.CallUnary(ctx, req) +} + +// InitShardPrimary calls vtctlservice.Vtctld.InitShardPrimary. +func (c *vtctldClient) InitShardPrimary(ctx context.Context, req *connect.Request[v191.InitShardPrimaryRequest]) (*connect.Response[v191.InitShardPrimaryResponse], error) { + return c.initShardPrimary.CallUnary(ctx, req) +} + +// LaunchSchemaMigration calls vtctlservice.Vtctld.LaunchSchemaMigration. +func (c *vtctldClient) LaunchSchemaMigration(ctx context.Context, req *connect.Request[v191.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) { + return c.launchSchemaMigration.CallUnary(ctx, req) +} + +// LookupVindexCreate calls vtctlservice.Vtctld.LookupVindexCreate. +func (c *vtctldClient) LookupVindexCreate(ctx context.Context, req *connect.Request[v191.LookupVindexCreateRequest]) (*connect.Response[v191.LookupVindexCreateResponse], error) { + return c.lookupVindexCreate.CallUnary(ctx, req) +} + +// LookupVindexExternalize calls vtctlservice.Vtctld.LookupVindexExternalize. +func (c *vtctldClient) LookupVindexExternalize(ctx context.Context, req *connect.Request[v191.LookupVindexExternalizeRequest]) (*connect.Response[v191.LookupVindexExternalizeResponse], error) { + return c.lookupVindexExternalize.CallUnary(ctx, req) +} + +// MaterializeCreate calls vtctlservice.Vtctld.MaterializeCreate. +func (c *vtctldClient) MaterializeCreate(ctx context.Context, req *connect.Request[v191.MaterializeCreateRequest]) (*connect.Response[v191.MaterializeCreateResponse], error) { + return c.materializeCreate.CallUnary(ctx, req) +} + +// MigrateCreate calls vtctlservice.Vtctld.MigrateCreate. +func (c *vtctldClient) MigrateCreate(ctx context.Context, req *connect.Request[v191.MigrateCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return c.migrateCreate.CallUnary(ctx, req) +} + +// MountRegister calls vtctlservice.Vtctld.MountRegister. +func (c *vtctldClient) MountRegister(ctx context.Context, req *connect.Request[v191.MountRegisterRequest]) (*connect.Response[v191.MountRegisterResponse], error) { + return c.mountRegister.CallUnary(ctx, req) +} + +// MountUnregister calls vtctlservice.Vtctld.MountUnregister. +func (c *vtctldClient) MountUnregister(ctx context.Context, req *connect.Request[v191.MountUnregisterRequest]) (*connect.Response[v191.MountUnregisterResponse], error) { + return c.mountUnregister.CallUnary(ctx, req) +} + +// MountShow calls vtctlservice.Vtctld.MountShow. +func (c *vtctldClient) MountShow(ctx context.Context, req *connect.Request[v191.MountShowRequest]) (*connect.Response[v191.MountShowResponse], error) { + return c.mountShow.CallUnary(ctx, req) +} + +// MountList calls vtctlservice.Vtctld.MountList. +func (c *vtctldClient) MountList(ctx context.Context, req *connect.Request[v191.MountListRequest]) (*connect.Response[v191.MountListResponse], error) { + return c.mountList.CallUnary(ctx, req) +} + +// MoveTablesCreate calls vtctlservice.Vtctld.MoveTablesCreate. +func (c *vtctldClient) MoveTablesCreate(ctx context.Context, req *connect.Request[v191.MoveTablesCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return c.moveTablesCreate.CallUnary(ctx, req) +} + +// MoveTablesComplete calls vtctlservice.Vtctld.MoveTablesComplete. +func (c *vtctldClient) MoveTablesComplete(ctx context.Context, req *connect.Request[v191.MoveTablesCompleteRequest]) (*connect.Response[v191.MoveTablesCompleteResponse], error) { + return c.moveTablesComplete.CallUnary(ctx, req) +} + +// PingTablet calls vtctlservice.Vtctld.PingTablet. +func (c *vtctldClient) PingTablet(ctx context.Context, req *connect.Request[v191.PingTabletRequest]) (*connect.Response[v191.PingTabletResponse], error) { + return c.pingTablet.CallUnary(ctx, req) +} + +// PlannedReparentShard calls vtctlservice.Vtctld.PlannedReparentShard. +func (c *vtctldClient) PlannedReparentShard(ctx context.Context, req *connect.Request[v191.PlannedReparentShardRequest]) (*connect.Response[v191.PlannedReparentShardResponse], error) { + return c.plannedReparentShard.CallUnary(ctx, req) +} + +// RebuildKeyspaceGraph calls vtctlservice.Vtctld.RebuildKeyspaceGraph. +func (c *vtctldClient) RebuildKeyspaceGraph(ctx context.Context, req *connect.Request[v191.RebuildKeyspaceGraphRequest]) (*connect.Response[v191.RebuildKeyspaceGraphResponse], error) { + return c.rebuildKeyspaceGraph.CallUnary(ctx, req) +} + +// RebuildVSchemaGraph calls vtctlservice.Vtctld.RebuildVSchemaGraph. +func (c *vtctldClient) RebuildVSchemaGraph(ctx context.Context, req *connect.Request[v191.RebuildVSchemaGraphRequest]) (*connect.Response[v191.RebuildVSchemaGraphResponse], error) { + return c.rebuildVSchemaGraph.CallUnary(ctx, req) +} + +// RefreshState calls vtctlservice.Vtctld.RefreshState. +func (c *vtctldClient) RefreshState(ctx context.Context, req *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) { + return c.refreshState.CallUnary(ctx, req) +} + +// RefreshStateByShard calls vtctlservice.Vtctld.RefreshStateByShard. +func (c *vtctldClient) RefreshStateByShard(ctx context.Context, req *connect.Request[v191.RefreshStateByShardRequest]) (*connect.Response[v191.RefreshStateByShardResponse], error) { + return c.refreshStateByShard.CallUnary(ctx, req) +} + +// ReloadSchema calls vtctlservice.Vtctld.ReloadSchema. +func (c *vtctldClient) ReloadSchema(ctx context.Context, req *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) { + return c.reloadSchema.CallUnary(ctx, req) +} + +// ReloadSchemaKeyspace calls vtctlservice.Vtctld.ReloadSchemaKeyspace. +func (c *vtctldClient) ReloadSchemaKeyspace(ctx context.Context, req *connect.Request[v191.ReloadSchemaKeyspaceRequest]) (*connect.Response[v191.ReloadSchemaKeyspaceResponse], error) { + return c.reloadSchemaKeyspace.CallUnary(ctx, req) +} + +// ReloadSchemaShard calls vtctlservice.Vtctld.ReloadSchemaShard. +func (c *vtctldClient) ReloadSchemaShard(ctx context.Context, req *connect.Request[v191.ReloadSchemaShardRequest]) (*connect.Response[v191.ReloadSchemaShardResponse], error) { + return c.reloadSchemaShard.CallUnary(ctx, req) +} + +// RemoveBackup calls vtctlservice.Vtctld.RemoveBackup. +func (c *vtctldClient) RemoveBackup(ctx context.Context, req *connect.Request[v191.RemoveBackupRequest]) (*connect.Response[v191.RemoveBackupResponse], error) { + return c.removeBackup.CallUnary(ctx, req) +} + +// RemoveKeyspaceCell calls vtctlservice.Vtctld.RemoveKeyspaceCell. +func (c *vtctldClient) RemoveKeyspaceCell(ctx context.Context, req *connect.Request[v191.RemoveKeyspaceCellRequest]) (*connect.Response[v191.RemoveKeyspaceCellResponse], error) { + return c.removeKeyspaceCell.CallUnary(ctx, req) +} + +// RemoveShardCell calls vtctlservice.Vtctld.RemoveShardCell. +func (c *vtctldClient) RemoveShardCell(ctx context.Context, req *connect.Request[v191.RemoveShardCellRequest]) (*connect.Response[v191.RemoveShardCellResponse], error) { + return c.removeShardCell.CallUnary(ctx, req) +} + +// ReparentTablet calls vtctlservice.Vtctld.ReparentTablet. +func (c *vtctldClient) ReparentTablet(ctx context.Context, req *connect.Request[v191.ReparentTabletRequest]) (*connect.Response[v191.ReparentTabletResponse], error) { + return c.reparentTablet.CallUnary(ctx, req) +} + +// ReshardCreate calls vtctlservice.Vtctld.ReshardCreate. +func (c *vtctldClient) ReshardCreate(ctx context.Context, req *connect.Request[v191.ReshardCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return c.reshardCreate.CallUnary(ctx, req) +} + +// RestoreFromBackup calls vtctlservice.Vtctld.RestoreFromBackup. +func (c *vtctldClient) RestoreFromBackup(ctx context.Context, req *connect.Request[v191.RestoreFromBackupRequest]) (*connect.ServerStreamForClient[v191.RestoreFromBackupResponse], error) { + return c.restoreFromBackup.CallServerStream(ctx, req) +} + +// RetrySchemaMigration calls vtctlservice.Vtctld.RetrySchemaMigration. +func (c *vtctldClient) RetrySchemaMigration(ctx context.Context, req *connect.Request[v191.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) { + return c.retrySchemaMigration.CallUnary(ctx, req) +} + +// RunHealthCheck calls vtctlservice.Vtctld.RunHealthCheck. +func (c *vtctldClient) RunHealthCheck(ctx context.Context, req *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) { + return c.runHealthCheck.CallUnary(ctx, req) +} + +// SetKeyspaceDurabilityPolicy calls vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy. +func (c *vtctldClient) SetKeyspaceDurabilityPolicy(ctx context.Context, req *connect.Request[v191.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v191.SetKeyspaceDurabilityPolicyResponse], error) { + return c.setKeyspaceDurabilityPolicy.CallUnary(ctx, req) +} + +// SetShardIsPrimaryServing calls vtctlservice.Vtctld.SetShardIsPrimaryServing. +func (c *vtctldClient) SetShardIsPrimaryServing(ctx context.Context, req *connect.Request[v191.SetShardIsPrimaryServingRequest]) (*connect.Response[v191.SetShardIsPrimaryServingResponse], error) { + return c.setShardIsPrimaryServing.CallUnary(ctx, req) +} + +// SetShardTabletControl calls vtctlservice.Vtctld.SetShardTabletControl. +func (c *vtctldClient) SetShardTabletControl(ctx context.Context, req *connect.Request[v191.SetShardTabletControlRequest]) (*connect.Response[v191.SetShardTabletControlResponse], error) { + return c.setShardTabletControl.CallUnary(ctx, req) +} + +// SetWritable calls vtctlservice.Vtctld.SetWritable. +func (c *vtctldClient) SetWritable(ctx context.Context, req *connect.Request[v191.SetWritableRequest]) (*connect.Response[v191.SetWritableResponse], error) { + return c.setWritable.CallUnary(ctx, req) +} + +// ShardReplicationAdd calls vtctlservice.Vtctld.ShardReplicationAdd. +func (c *vtctldClient) ShardReplicationAdd(ctx context.Context, req *connect.Request[v191.ShardReplicationAddRequest]) (*connect.Response[v191.ShardReplicationAddResponse], error) { + return c.shardReplicationAdd.CallUnary(ctx, req) +} + +// ShardReplicationFix calls vtctlservice.Vtctld.ShardReplicationFix. +func (c *vtctldClient) ShardReplicationFix(ctx context.Context, req *connect.Request[v191.ShardReplicationFixRequest]) (*connect.Response[v191.ShardReplicationFixResponse], error) { + return c.shardReplicationFix.CallUnary(ctx, req) +} + +// ShardReplicationPositions calls vtctlservice.Vtctld.ShardReplicationPositions. +func (c *vtctldClient) ShardReplicationPositions(ctx context.Context, req *connect.Request[v191.ShardReplicationPositionsRequest]) (*connect.Response[v191.ShardReplicationPositionsResponse], error) { + return c.shardReplicationPositions.CallUnary(ctx, req) +} + +// ShardReplicationRemove calls vtctlservice.Vtctld.ShardReplicationRemove. +func (c *vtctldClient) ShardReplicationRemove(ctx context.Context, req *connect.Request[v191.ShardReplicationRemoveRequest]) (*connect.Response[v191.ShardReplicationRemoveResponse], error) { + return c.shardReplicationRemove.CallUnary(ctx, req) +} + +// SleepTablet calls vtctlservice.Vtctld.SleepTablet. +func (c *vtctldClient) SleepTablet(ctx context.Context, req *connect.Request[v191.SleepTabletRequest]) (*connect.Response[v191.SleepTabletResponse], error) { + return c.sleepTablet.CallUnary(ctx, req) +} + +// SourceShardAdd calls vtctlservice.Vtctld.SourceShardAdd. +func (c *vtctldClient) SourceShardAdd(ctx context.Context, req *connect.Request[v191.SourceShardAddRequest]) (*connect.Response[v191.SourceShardAddResponse], error) { + return c.sourceShardAdd.CallUnary(ctx, req) +} + +// SourceShardDelete calls vtctlservice.Vtctld.SourceShardDelete. +func (c *vtctldClient) SourceShardDelete(ctx context.Context, req *connect.Request[v191.SourceShardDeleteRequest]) (*connect.Response[v191.SourceShardDeleteResponse], error) { + return c.sourceShardDelete.CallUnary(ctx, req) +} + +// StartReplication calls vtctlservice.Vtctld.StartReplication. +func (c *vtctldClient) StartReplication(ctx context.Context, req *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) { + return c.startReplication.CallUnary(ctx, req) +} + +// StopReplication calls vtctlservice.Vtctld.StopReplication. +func (c *vtctldClient) StopReplication(ctx context.Context, req *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) { + return c.stopReplication.CallUnary(ctx, req) +} + +// TabletExternallyReparented calls vtctlservice.Vtctld.TabletExternallyReparented. +func (c *vtctldClient) TabletExternallyReparented(ctx context.Context, req *connect.Request[v191.TabletExternallyReparentedRequest]) (*connect.Response[v191.TabletExternallyReparentedResponse], error) { + return c.tabletExternallyReparented.CallUnary(ctx, req) +} + +// UpdateCellInfo calls vtctlservice.Vtctld.UpdateCellInfo. +func (c *vtctldClient) UpdateCellInfo(ctx context.Context, req *connect.Request[v191.UpdateCellInfoRequest]) (*connect.Response[v191.UpdateCellInfoResponse], error) { + return c.updateCellInfo.CallUnary(ctx, req) +} + +// UpdateCellsAlias calls vtctlservice.Vtctld.UpdateCellsAlias. +func (c *vtctldClient) UpdateCellsAlias(ctx context.Context, req *connect.Request[v191.UpdateCellsAliasRequest]) (*connect.Response[v191.UpdateCellsAliasResponse], error) { + return c.updateCellsAlias.CallUnary(ctx, req) +} + +// Validate calls vtctlservice.Vtctld.Validate. +func (c *vtctldClient) Validate(ctx context.Context, req *connect.Request[v191.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) { + return c.validate.CallUnary(ctx, req) +} + +// ValidateKeyspace calls vtctlservice.Vtctld.ValidateKeyspace. +func (c *vtctldClient) ValidateKeyspace(ctx context.Context, req *connect.Request[v191.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) { + return c.validateKeyspace.CallUnary(ctx, req) +} + +// ValidateSchemaKeyspace calls vtctlservice.Vtctld.ValidateSchemaKeyspace. +func (c *vtctldClient) ValidateSchemaKeyspace(ctx context.Context, req *connect.Request[v191.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) { + return c.validateSchemaKeyspace.CallUnary(ctx, req) +} + +// ValidateShard calls vtctlservice.Vtctld.ValidateShard. +func (c *vtctldClient) ValidateShard(ctx context.Context, req *connect.Request[v191.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) { + return c.validateShard.CallUnary(ctx, req) +} + +// ValidateVersionKeyspace calls vtctlservice.Vtctld.ValidateVersionKeyspace. +func (c *vtctldClient) ValidateVersionKeyspace(ctx context.Context, req *connect.Request[v191.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) { + return c.validateVersionKeyspace.CallUnary(ctx, req) +} + +// ValidateVersionShard calls vtctlservice.Vtctld.ValidateVersionShard. +func (c *vtctldClient) ValidateVersionShard(ctx context.Context, req *connect.Request[v191.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) { + return c.validateVersionShard.CallUnary(ctx, req) +} + +// ValidateVSchema calls vtctlservice.Vtctld.ValidateVSchema. +func (c *vtctldClient) ValidateVSchema(ctx context.Context, req *connect.Request[v191.ValidateVSchemaRequest]) (*connect.Response[v191.ValidateVSchemaResponse], error) { + return c.validateVSchema.CallUnary(ctx, req) +} + +// VDiffCreate calls vtctlservice.Vtctld.VDiffCreate. +func (c *vtctldClient) VDiffCreate(ctx context.Context, req *connect.Request[v191.VDiffCreateRequest]) (*connect.Response[v191.VDiffCreateResponse], error) { + return c.vDiffCreate.CallUnary(ctx, req) +} + +// VDiffDelete calls vtctlservice.Vtctld.VDiffDelete. +func (c *vtctldClient) VDiffDelete(ctx context.Context, req *connect.Request[v191.VDiffDeleteRequest]) (*connect.Response[v191.VDiffDeleteResponse], error) { + return c.vDiffDelete.CallUnary(ctx, req) +} + +// VDiffResume calls vtctlservice.Vtctld.VDiffResume. +func (c *vtctldClient) VDiffResume(ctx context.Context, req *connect.Request[v191.VDiffResumeRequest]) (*connect.Response[v191.VDiffResumeResponse], error) { + return c.vDiffResume.CallUnary(ctx, req) +} + +// VDiffShow calls vtctlservice.Vtctld.VDiffShow. +func (c *vtctldClient) VDiffShow(ctx context.Context, req *connect.Request[v191.VDiffShowRequest]) (*connect.Response[v191.VDiffShowResponse], error) { + return c.vDiffShow.CallUnary(ctx, req) +} + +// VDiffStop calls vtctlservice.Vtctld.VDiffStop. +func (c *vtctldClient) VDiffStop(ctx context.Context, req *connect.Request[v191.VDiffStopRequest]) (*connect.Response[v191.VDiffStopResponse], error) { + return c.vDiffStop.CallUnary(ctx, req) +} + +// WorkflowDelete calls vtctlservice.Vtctld.WorkflowDelete. +func (c *vtctldClient) WorkflowDelete(ctx context.Context, req *connect.Request[v191.WorkflowDeleteRequest]) (*connect.Response[v191.WorkflowDeleteResponse], error) { + return c.workflowDelete.CallUnary(ctx, req) +} + +// WorkflowStatus calls vtctlservice.Vtctld.WorkflowStatus. +func (c *vtctldClient) WorkflowStatus(ctx context.Context, req *connect.Request[v191.WorkflowStatusRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return c.workflowStatus.CallUnary(ctx, req) +} + +// WorkflowSwitchTraffic calls vtctlservice.Vtctld.WorkflowSwitchTraffic. +func (c *vtctldClient) WorkflowSwitchTraffic(ctx context.Context, req *connect.Request[v191.WorkflowSwitchTrafficRequest]) (*connect.Response[v191.WorkflowSwitchTrafficResponse], error) { + return c.workflowSwitchTraffic.CallUnary(ctx, req) +} + +// WorkflowUpdate calls vtctlservice.Vtctld.WorkflowUpdate. +func (c *vtctldClient) WorkflowUpdate(ctx context.Context, req *connect.Request[v191.WorkflowUpdateRequest]) (*connect.Response[v191.WorkflowUpdateResponse], error) { + return c.workflowUpdate.CallUnary(ctx, req) +} + +// VtctldHandler is an implementation of the vtctlservice.Vtctld service. +type VtctldHandler interface { + // AddCellInfo registers a local topology service in a new cell by creating + // the CellInfo with the provided parameters. + AddCellInfo(context.Context, *connect.Request[v191.AddCellInfoRequest]) (*connect.Response[v191.AddCellInfoResponse], error) + // AddCellsAlias defines a group of cells that can be referenced by a single + // name (the alias). + // + // When routing query traffic, replica/rdonly traffic can be routed across + // cells within the group (alias). Only primary traffic can be routed across + // cells not in the same group (alias). + AddCellsAlias(context.Context, *connect.Request[v191.AddCellsAliasRequest]) (*connect.Response[v191.AddCellsAliasResponse], error) + // ApplyRoutingRules applies the VSchema routing rules. + ApplyRoutingRules(context.Context, *connect.Request[v191.ApplyRoutingRulesRequest]) (*connect.Response[v191.ApplyRoutingRulesResponse], error) + // ApplySchema applies a schema to a keyspace. + ApplySchema(context.Context, *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) + // ApplyShardRoutingRules applies the VSchema shard routing rules. + ApplyShardRoutingRules(context.Context, *connect.Request[v191.ApplyShardRoutingRulesRequest]) (*connect.Response[v191.ApplyShardRoutingRulesResponse], error) + // ApplyVSchema applies a vschema to a keyspace. + ApplyVSchema(context.Context, *connect.Request[v191.ApplyVSchemaRequest]) (*connect.Response[v191.ApplyVSchemaResponse], error) + // Backup uses the BackupEngine and BackupStorage services on the specified + // tablet to create and store a new backup. + Backup(context.Context, *connect.Request[v191.BackupRequest], *connect.ServerStream[v191.BackupResponse]) error + // BackupShard chooses a tablet in the shard and uses it to create a backup. + BackupShard(context.Context, *connect.Request[v191.BackupShardRequest], *connect.ServerStream[v191.BackupResponse]) error + // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. + CancelSchemaMigration(context.Context, *connect.Request[v191.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) + // ChangeTabletType changes the db type for the specified tablet, if possible. + // This is used primarily to arrange replicas, and it will not convert a + // primary. For that, use InitShardPrimary. + // + // NOTE: This command automatically updates the serving graph. + ChangeTabletType(context.Context, *connect.Request[v191.ChangeTabletTypeRequest]) (*connect.Response[v191.ChangeTabletTypeResponse], error) + // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. + CleanupSchemaMigration(context.Context, *connect.Request[v191.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) + // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. + CompleteSchemaMigration(context.Context, *connect.Request[v191.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) + // CreateKeyspace creates the specified keyspace in the topology. For a + // SNAPSHOT keyspace, the request must specify the name of a base keyspace, + // as well as a snapshot time. + CreateKeyspace(context.Context, *connect.Request[v191.CreateKeyspaceRequest]) (*connect.Response[v191.CreateKeyspaceResponse], error) + // CreateShard creates the specified shard in the topology. + CreateShard(context.Context, *connect.Request[v191.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) + // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot + // be referenced by any Shard record in the topology. + DeleteCellInfo(context.Context, *connect.Request[v191.DeleteCellInfoRequest]) (*connect.Response[v191.DeleteCellInfoResponse], error) + // DeleteCellsAlias deletes the CellsAlias for the provided alias. + DeleteCellsAlias(context.Context, *connect.Request[v191.DeleteCellsAliasRequest]) (*connect.Response[v191.DeleteCellsAliasResponse], error) + // DeleteKeyspace deletes the specified keyspace from the topology. In + // recursive mode, it also recursively deletes all shards in the keyspace. + // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace + // returns an error. + DeleteKeyspace(context.Context, *connect.Request[v191.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) + // DeleteShards deletes the specified shards from the topology. In recursive + // mode, it also deletes all tablets belonging to the shard. Otherwise, the + // shard must be empty (have no tablets) or DeleteShards returns an error for + // that shard. + DeleteShards(context.Context, *connect.Request[v191.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) + // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. + DeleteSrvVSchema(context.Context, *connect.Request[v191.DeleteSrvVSchemaRequest]) (*connect.Response[v191.DeleteSrvVSchemaResponse], error) + // DeleteTablets deletes one or more tablets from the topology. + DeleteTablets(context.Context, *connect.Request[v191.DeleteTabletsRequest]) (*connect.Response[v191.DeleteTabletsResponse], error) + // EmergencyReparentShard reparents the shard to the new primary. It assumes + // the old primary is dead or otherwise not responding. + EmergencyReparentShard(context.Context, *connect.Request[v191.EmergencyReparentShardRequest]) (*connect.Response[v191.EmergencyReparentShardResponse], error) + // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. + ExecuteFetchAsApp(context.Context, *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) + // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. + ExecuteFetchAsDBA(context.Context, *connect.Request[v191.ExecuteFetchAsDBARequest]) (*connect.Response[v191.ExecuteFetchAsDBAResponse], error) + // ExecuteHook runs the hook on the tablet. + ExecuteHook(context.Context, *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) + // FindAllShardsInKeyspace returns a map of shard names to shard references + // for a given keyspace. + FindAllShardsInKeyspace(context.Context, *connect.Request[v191.FindAllShardsInKeyspaceRequest]) (*connect.Response[v191.FindAllShardsInKeyspaceResponse], error) + // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. + ForceCutOverSchemaMigration(context.Context, *connect.Request[v191.ForceCutOverSchemaMigrationRequest]) (*connect.Response[v191.ForceCutOverSchemaMigrationResponse], error) + // GetBackups returns all the backups for a shard. + GetBackups(context.Context, *connect.Request[v191.GetBackupsRequest]) (*connect.Response[v191.GetBackupsResponse], error) + // GetCellInfo returns the information for a cell. + GetCellInfo(context.Context, *connect.Request[v191.GetCellInfoRequest]) (*connect.Response[v191.GetCellInfoResponse], error) + // GetCellInfoNames returns all the cells for which we have a CellInfo object, + // meaning we have a topology service registered. + GetCellInfoNames(context.Context, *connect.Request[v191.GetCellInfoNamesRequest]) (*connect.Response[v191.GetCellInfoNamesResponse], error) + // GetCellsAliases returns a mapping of cell alias to cells identified by that + // alias. + GetCellsAliases(context.Context, *connect.Request[v191.GetCellsAliasesRequest]) (*connect.Response[v191.GetCellsAliasesResponse], error) + // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + GetFullStatus(context.Context, *connect.Request[v191.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) + // GetKeyspace reads the given keyspace from the topo and returns it. + GetKeyspace(context.Context, *connect.Request[v191.GetKeyspaceRequest]) (*connect.Response[v191.GetKeyspaceResponse], error) + // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. + GetKeyspaces(context.Context, *connect.Request[v191.GetKeyspacesRequest]) (*connect.Response[v191.GetKeyspacesResponse], error) + // GetPermissions returns the permissions set on the remote tablet. + GetPermissions(context.Context, *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) + // GetRoutingRules returns the VSchema routing rules. + GetRoutingRules(context.Context, *connect.Request[v191.GetRoutingRulesRequest]) (*connect.Response[v191.GetRoutingRulesResponse], error) + // GetSchema returns the schema for a tablet, or just the schema for the + // specified tables in that tablet. + GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) + // GetSchemaMigrations returns one or more online schema migrations for the + // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different filtering + // behaviors. See the documentation on GetSchemaMigrationsRequest for details. + GetSchemaMigrations(context.Context, *connect.Request[v191.GetSchemaMigrationsRequest]) (*connect.Response[v191.GetSchemaMigrationsResponse], error) + // GetShardReplication returns the replication graph for a shard in a cell. + GetShardReplication(context.Context, *connect.Request[v191.GetShardReplicationRequest]) (*connect.Response[v191.GetShardReplicationResponse], error) + // GetShard returns information about a shard in the topology. + GetShard(context.Context, *connect.Request[v191.GetShardRequest]) (*connect.Response[v191.GetShardResponse], error) + // GetShardRoutingRules returns the VSchema shard routing rules. + GetShardRoutingRules(context.Context, *connect.Request[v191.GetShardRoutingRulesRequest]) (*connect.Response[v191.GetShardRoutingRulesResponse], error) + // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served + // in that cell. + GetSrvKeyspaceNames(context.Context, *connect.Request[v191.GetSrvKeyspaceNamesRequest]) (*connect.Response[v191.GetSrvKeyspaceNamesResponse], error) + // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more + // cells. + GetSrvKeyspaces(context.Context, *connect.Request[v191.GetSrvKeyspacesRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) + // UpdateThrottlerConfig updates the tablet throttler configuration + UpdateThrottlerConfig(context.Context, *connect.Request[v191.UpdateThrottlerConfigRequest]) (*connect.Response[v191.UpdateThrottlerConfigResponse], error) + // GetSrvVSchema returns the SrvVSchema for a cell. + GetSrvVSchema(context.Context, *connect.Request[v191.GetSrvVSchemaRequest]) (*connect.Response[v191.GetSrvVSchemaResponse], error) + // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, + // optionally filtered by cell name. + GetSrvVSchemas(context.Context, *connect.Request[v191.GetSrvVSchemasRequest]) (*connect.Response[v191.GetSrvVSchemasResponse], error) + // GetTablet returns information about a tablet. + GetTablet(context.Context, *connect.Request[v191.GetTabletRequest]) (*connect.Response[v191.GetTabletResponse], error) + // GetTablets returns tablets, optionally filtered by keyspace and shard. + GetTablets(context.Context, *connect.Request[v191.GetTabletsRequest]) (*connect.Response[v191.GetTabletsResponse], error) + // GetTopologyPath returns the topology cell at a given path. + GetTopologyPath(context.Context, *connect.Request[v191.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) + // GetVersion returns the version of a tablet from its debug vars. + GetVersion(context.Context, *connect.Request[v191.GetVersionRequest]) (*connect.Response[v191.GetVersionResponse], error) + // GetVSchema returns the vschema for a keyspace. + GetVSchema(context.Context, *connect.Request[v191.GetVSchemaRequest]) (*connect.Response[v191.GetVSchemaResponse], error) + // GetWorkflows returns a list of workflows for the given keyspace. + GetWorkflows(context.Context, *connect.Request[v191.GetWorkflowsRequest]) (*connect.Response[v191.GetWorkflowsResponse], error) + // InitShardPrimary sets the initial primary for a shard. Will make all other + // tablets in the shard replicas of the provided primary. + // + // WARNING: This could cause data loss on an already replicating shard. + // PlannedReparentShard or EmergencyReparentShard should be used in those + // cases instead. + InitShardPrimary(context.Context, *connect.Request[v191.InitShardPrimaryRequest]) (*connect.Response[v191.InitShardPrimaryResponse], error) + // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. + LaunchSchemaMigration(context.Context, *connect.Request[v191.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) + LookupVindexCreate(context.Context, *connect.Request[v191.LookupVindexCreateRequest]) (*connect.Response[v191.LookupVindexCreateResponse], error) + LookupVindexExternalize(context.Context, *connect.Request[v191.LookupVindexExternalizeRequest]) (*connect.Response[v191.LookupVindexExternalizeResponse], error) + // MaterializeCreate creates a workflow to materialize one or more tables + // from a source keyspace to a target keyspace using a provided expressions. + MaterializeCreate(context.Context, *connect.Request[v191.MaterializeCreateRequest]) (*connect.Response[v191.MaterializeCreateResponse], error) + // MigrateCreate creates a workflow which migrates one or more tables from an + // external cluster into Vitess. + MigrateCreate(context.Context, *connect.Request[v191.MigrateCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + // MountRegister registers a new external Vitess cluster. + MountRegister(context.Context, *connect.Request[v191.MountRegisterRequest]) (*connect.Response[v191.MountRegisterResponse], error) + // MountUnregister unregisters an external Vitess cluster. + MountUnregister(context.Context, *connect.Request[v191.MountUnregisterRequest]) (*connect.Response[v191.MountUnregisterResponse], error) + // MountShow returns information about an external Vitess cluster. + MountShow(context.Context, *connect.Request[v191.MountShowRequest]) (*connect.Response[v191.MountShowResponse], error) + // MountList lists all registered external Vitess clusters. + MountList(context.Context, *connect.Request[v191.MountListRequest]) (*connect.Response[v191.MountListResponse], error) + // MoveTablesCreate creates a workflow which moves one or more tables from a + // source keyspace to a target keyspace. + MoveTablesCreate(context.Context, *connect.Request[v191.MoveTablesCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + // MoveTablesComplete completes the move and cleans up the workflow and + // its related artifacts. + MoveTablesComplete(context.Context, *connect.Request[v191.MoveTablesCompleteRequest]) (*connect.Response[v191.MoveTablesCompleteResponse], error) + // PingTablet checks that the specified tablet is awake and responding to RPCs. + // This command can be blocked by other in-flight operations. + PingTablet(context.Context, *connect.Request[v191.PingTabletRequest]) (*connect.Response[v191.PingTabletResponse], error) + // PlannedReparentShard reparents the shard to the new primary, or away from + // an old primary. Both the old and new primaries need to be reachable and + // running. + // + // **NOTE**: The vtctld will not consider any replicas outside the cell the + // current shard primary is in for promotion unless NewPrimary is explicitly + // provided in the request. + PlannedReparentShard(context.Context, *connect.Request[v191.PlannedReparentShardRequest]) (*connect.Response[v191.PlannedReparentShardResponse], error) + // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. + // + // This may trigger an update to all connected clients. + RebuildKeyspaceGraph(context.Context, *connect.Request[v191.RebuildKeyspaceGraphRequest]) (*connect.Response[v191.RebuildKeyspaceGraphResponse], error) + // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global + // VSchema objects in the provided cells (or all cells in the topo none + // provided). + RebuildVSchemaGraph(context.Context, *connect.Request[v191.RebuildVSchemaGraphRequest]) (*connect.Response[v191.RebuildVSchemaGraphResponse], error) + // RefreshState reloads the tablet record on the specified tablet. + RefreshState(context.Context, *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) + // RefreshStateByShard calls RefreshState on all the tablets in the given shard. + RefreshStateByShard(context.Context, *connect.Request[v191.RefreshStateByShardRequest]) (*connect.Response[v191.RefreshStateByShardResponse], error) + // ReloadSchema instructs the remote tablet to reload its schema. + ReloadSchema(context.Context, *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) + // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. + ReloadSchemaKeyspace(context.Context, *connect.Request[v191.ReloadSchemaKeyspaceRequest]) (*connect.Response[v191.ReloadSchemaKeyspaceResponse], error) + // ReloadSchemaShard reloads the schema on all tablets in a shard. + // + // In general, we don't always expect all replicas to be ready to reload, and + // the periodic schema reload makes them self-healing anyway. So, we do this + // on a best-effort basis, and log warnings for any tablets that fail to + // reload within the context deadline. + ReloadSchemaShard(context.Context, *connect.Request[v191.ReloadSchemaShardRequest]) (*connect.Response[v191.ReloadSchemaShardResponse], error) + // RemoveBackup removes a backup from the BackupStorage used by vtctld. + RemoveBackup(context.Context, *connect.Request[v191.RemoveBackupRequest]) (*connect.Response[v191.RemoveBackupResponse], error) + // RemoveKeyspaceCell removes the specified cell from the Cells list for all + // shards in the specified keyspace (by calling RemoveShardCell on every + // shard). It also removes the SrvKeyspace for that keyspace in that cell. + RemoveKeyspaceCell(context.Context, *connect.Request[v191.RemoveKeyspaceCellRequest]) (*connect.Response[v191.RemoveKeyspaceCellResponse], error) + // RemoveShardCell removes the specified cell from the specified shard's Cells + // list. + RemoveShardCell(context.Context, *connect.Request[v191.RemoveShardCellRequest]) (*connect.Response[v191.RemoveShardCellResponse], error) + // ReparentTablet reparents a tablet to the current primary in the shard. This + // only works if the current replica position matches the last known reparent + // action. + ReparentTablet(context.Context, *connect.Request[v191.ReparentTabletRequest]) (*connect.Response[v191.ReparentTabletResponse], error) + // ReshardCreate creates a workflow to reshard a keyspace. + ReshardCreate(context.Context, *connect.Request[v191.ReshardCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + // RestoreFromBackup stops mysqld for the given tablet and restores a backup. + RestoreFromBackup(context.Context, *connect.Request[v191.RestoreFromBackupRequest], *connect.ServerStream[v191.RestoreFromBackupResponse]) error + // RetrySchemaMigration marks a given schema migration for retry. + RetrySchemaMigration(context.Context, *connect.Request[v191.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) + // RunHealthCheck runs a healthcheck on the remote tablet. + RunHealthCheck(context.Context, *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) + // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. + SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v191.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v191.SetKeyspaceDurabilityPolicyResponse], error) + // SetShardIsPrimaryServing adds or removes a shard from serving. + // + // This is meant as an emergency function. It does not rebuild any serving + // graph (i.e. it does not run RebuildKeyspaceGraph). + SetShardIsPrimaryServing(context.Context, *connect.Request[v191.SetShardIsPrimaryServingRequest]) (*connect.Response[v191.SetShardIsPrimaryServingResponse], error) + // SetShardTabletControl updates the TabletControl topo record for a shard and + // tablet type. + // + // This should only be used for an emergency fix, or after a finished + // Reshard. See the documentation on SetShardTabletControlRequest for more + // information about the different update modes. + SetShardTabletControl(context.Context, *connect.Request[v191.SetShardTabletControlRequest]) (*connect.Response[v191.SetShardTabletControlResponse], error) + // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). + SetWritable(context.Context, *connect.Request[v191.SetWritableRequest]) (*connect.Response[v191.SetWritableResponse], error) + // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. + // + // It is a low-level function and should generally not be called. + ShardReplicationAdd(context.Context, *connect.Request[v191.ShardReplicationAddRequest]) (*connect.Response[v191.ShardReplicationAddResponse], error) + // ShardReplicationFix walks the replication graph for a shard in a cell and + // attempts to fix the first problem encountered, returning information about + // the problem fixed, if any. + ShardReplicationFix(context.Context, *connect.Request[v191.ShardReplicationFixRequest]) (*connect.Response[v191.ShardReplicationFixResponse], error) + // ShardReplicationPositions returns the replication position of each tablet + // in a shard. This RPC makes a best-effort to return partial results. For + // example, if one tablet in the shard graph is unreachable, then + // ShardReplicationPositions will return non-error, and include valid results + // for the reachable tablets. + ShardReplicationPositions(context.Context, *connect.Request[v191.ShardReplicationPositionsRequest]) (*connect.Response[v191.ShardReplicationPositionsResponse], error) + // ShardReplicationRemove removes an entry from a topodata.ShardReplication + // object. + // + // It is a low-level function and should generally not be called. + ShardReplicationRemove(context.Context, *connect.Request[v191.ShardReplicationRemoveRequest]) (*connect.Response[v191.ShardReplicationRemoveResponse], error) + // SleepTablet blocks the aciton queue on the specified tablet for the + // specified duration. + // + // This is typically used for testing. + SleepTablet(context.Context, *connect.Request[v191.SleepTabletRequest]) (*connect.Response[v191.SleepTabletResponse], error) + // SourceShardAdd adds the SourceShard record with the provided index. This + // should be used only as an emergency function. + // + // It does not call RefreshState for the shard primary. + SourceShardAdd(context.Context, *connect.Request[v191.SourceShardAddRequest]) (*connect.Response[v191.SourceShardAddResponse], error) + // SourceShardDelete deletes the SourceShard record with the provided index. + // This should be used only as an emergency cleanup function. + // + // It does not call RefreshState for the shard primary. + SourceShardDelete(context.Context, *connect.Request[v191.SourceShardDeleteRequest]) (*connect.Response[v191.SourceShardDeleteResponse], error) + // StartReplication starts replication on the specified tablet. + StartReplication(context.Context, *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) + // StopReplication stops replication on the specified tablet. + StopReplication(context.Context, *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) + // TabletExternallyReparented changes metadata in the topology server to + // acknowledge a shard primary change performed by an external tool (e.g. + // orchestrator). + // + // See the Reparenting guide for more information: + // https://io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting.Context, *connect.Request[v191.TabletExternallyReparentedRequest]) (*connect.Response[v191.TabletExternallyReparentedResponse], error) + // UpdateCellInfo updates the content of a CellInfo with the provided + // parameters. Empty values are ignored. If the cell does not exist, the + // CellInfo will be created. + UpdateCellInfo(context.Context, *connect.Request[v191.UpdateCellInfoRequest]) (*connect.Response[v191.UpdateCellInfoResponse], error) + // UpdateCellsAlias updates the content of a CellsAlias with the provided + // parameters. Empty values are ignored. If the alias does not exist, the + // CellsAlias will be created. + UpdateCellsAlias(context.Context, *connect.Request[v191.UpdateCellsAliasRequest]) (*connect.Response[v191.UpdateCellsAliasResponse], error) + // Validate validates that all nodes from the global replication graph are + // reachable, and that all tablets in discoverable cells are consistent. + Validate(context.Context, *connect.Request[v191.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) + // ValidateKeyspace validates that all nodes reachable from the specified + // keyspace are consistent. + ValidateKeyspace(context.Context, *connect.Request[v191.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) + // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. + ValidateSchemaKeyspace(context.Context, *connect.Request[v191.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) + // ValidateShard validates that all nodes reachable from the specified shard + // are consistent. + ValidateShard(context.Context, *connect.Request[v191.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) + // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. + ValidateVersionKeyspace(context.Context, *connect.Request[v191.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) + // ValidateVersionShard validates that the version on the primary matches all of the replicas. + ValidateVersionShard(context.Context, *connect.Request[v191.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) + // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. + ValidateVSchema(context.Context, *connect.Request[v191.ValidateVSchemaRequest]) (*connect.Response[v191.ValidateVSchemaResponse], error) + VDiffCreate(context.Context, *connect.Request[v191.VDiffCreateRequest]) (*connect.Response[v191.VDiffCreateResponse], error) + VDiffDelete(context.Context, *connect.Request[v191.VDiffDeleteRequest]) (*connect.Response[v191.VDiffDeleteResponse], error) + VDiffResume(context.Context, *connect.Request[v191.VDiffResumeRequest]) (*connect.Response[v191.VDiffResumeResponse], error) + VDiffShow(context.Context, *connect.Request[v191.VDiffShowRequest]) (*connect.Response[v191.VDiffShowResponse], error) + VDiffStop(context.Context, *connect.Request[v191.VDiffStopRequest]) (*connect.Response[v191.VDiffStopResponse], error) + // WorkflowDelete deletes a vreplication workflow. + WorkflowDelete(context.Context, *connect.Request[v191.WorkflowDeleteRequest]) (*connect.Response[v191.WorkflowDeleteResponse], error) + WorkflowStatus(context.Context, *connect.Request[v191.WorkflowStatusRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) + WorkflowSwitchTraffic(context.Context, *connect.Request[v191.WorkflowSwitchTrafficRequest]) (*connect.Response[v191.WorkflowSwitchTrafficResponse], error) + // WorkflowUpdate updates the configuration of a vreplication workflow + // using the provided updated parameters. + WorkflowUpdate(context.Context, *connect.Request[v191.WorkflowUpdateRequest]) (*connect.Response[v191.WorkflowUpdateResponse], error) +} + +// NewVtctldHandler builds an HTTP handler from the service implementation. It returns the path on +// which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewVtctldHandler(svc VtctldHandler, opts ...connect.HandlerOption) (string, http.Handler) { + vtctldAddCellInfoHandler := connect.NewUnaryHandler( + VtctldAddCellInfoProcedure, + svc.AddCellInfo, + connect.WithSchema(vtctldAddCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldAddCellsAliasHandler := connect.NewUnaryHandler( + VtctldAddCellsAliasProcedure, + svc.AddCellsAlias, + connect.WithSchema(vtctldAddCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldApplyRoutingRulesHandler := connect.NewUnaryHandler( + VtctldApplyRoutingRulesProcedure, + svc.ApplyRoutingRules, + connect.WithSchema(vtctldApplyRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldApplySchemaHandler := connect.NewUnaryHandler( + VtctldApplySchemaProcedure, + svc.ApplySchema, + connect.WithSchema(vtctldApplySchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldApplyShardRoutingRulesHandler := connect.NewUnaryHandler( + VtctldApplyShardRoutingRulesProcedure, + svc.ApplyShardRoutingRules, + connect.WithSchema(vtctldApplyShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldApplyVSchemaHandler := connect.NewUnaryHandler( + VtctldApplyVSchemaProcedure, + svc.ApplyVSchema, + connect.WithSchema(vtctldApplyVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldBackupHandler := connect.NewServerStreamHandler( + VtctldBackupProcedure, + svc.Backup, + connect.WithSchema(vtctldBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldBackupShardHandler := connect.NewServerStreamHandler( + VtctldBackupShardProcedure, + svc.BackupShard, + connect.WithSchema(vtctldBackupShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldCancelSchemaMigrationHandler := connect.NewUnaryHandler( + VtctldCancelSchemaMigrationProcedure, + svc.CancelSchemaMigration, + connect.WithSchema(vtctldCancelSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldChangeTabletTypeHandler := connect.NewUnaryHandler( + VtctldChangeTabletTypeProcedure, + svc.ChangeTabletType, + connect.WithSchema(vtctldChangeTabletTypeMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldCleanupSchemaMigrationHandler := connect.NewUnaryHandler( + VtctldCleanupSchemaMigrationProcedure, + svc.CleanupSchemaMigration, + connect.WithSchema(vtctldCleanupSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldCompleteSchemaMigrationHandler := connect.NewUnaryHandler( + VtctldCompleteSchemaMigrationProcedure, + svc.CompleteSchemaMigration, + connect.WithSchema(vtctldCompleteSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldCreateKeyspaceHandler := connect.NewUnaryHandler( + VtctldCreateKeyspaceProcedure, + svc.CreateKeyspace, + connect.WithSchema(vtctldCreateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldCreateShardHandler := connect.NewUnaryHandler( + VtctldCreateShardProcedure, + svc.CreateShard, + connect.WithSchema(vtctldCreateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldDeleteCellInfoHandler := connect.NewUnaryHandler( + VtctldDeleteCellInfoProcedure, + svc.DeleteCellInfo, + connect.WithSchema(vtctldDeleteCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldDeleteCellsAliasHandler := connect.NewUnaryHandler( + VtctldDeleteCellsAliasProcedure, + svc.DeleteCellsAlias, + connect.WithSchema(vtctldDeleteCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldDeleteKeyspaceHandler := connect.NewUnaryHandler( + VtctldDeleteKeyspaceProcedure, + svc.DeleteKeyspace, + connect.WithSchema(vtctldDeleteKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldDeleteShardsHandler := connect.NewUnaryHandler( + VtctldDeleteShardsProcedure, + svc.DeleteShards, + connect.WithSchema(vtctldDeleteShardsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldDeleteSrvVSchemaHandler := connect.NewUnaryHandler( + VtctldDeleteSrvVSchemaProcedure, + svc.DeleteSrvVSchema, + connect.WithSchema(vtctldDeleteSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldDeleteTabletsHandler := connect.NewUnaryHandler( + VtctldDeleteTabletsProcedure, + svc.DeleteTablets, + connect.WithSchema(vtctldDeleteTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldEmergencyReparentShardHandler := connect.NewUnaryHandler( + VtctldEmergencyReparentShardProcedure, + svc.EmergencyReparentShard, + connect.WithSchema(vtctldEmergencyReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldExecuteFetchAsAppHandler := connect.NewUnaryHandler( + VtctldExecuteFetchAsAppProcedure, + svc.ExecuteFetchAsApp, + connect.WithSchema(vtctldExecuteFetchAsAppMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldExecuteFetchAsDBAHandler := connect.NewUnaryHandler( + VtctldExecuteFetchAsDBAProcedure, + svc.ExecuteFetchAsDBA, + connect.WithSchema(vtctldExecuteFetchAsDBAMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldExecuteHookHandler := connect.NewUnaryHandler( + VtctldExecuteHookProcedure, + svc.ExecuteHook, + connect.WithSchema(vtctldExecuteHookMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldFindAllShardsInKeyspaceHandler := connect.NewUnaryHandler( + VtctldFindAllShardsInKeyspaceProcedure, + svc.FindAllShardsInKeyspace, + connect.WithSchema(vtctldFindAllShardsInKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldForceCutOverSchemaMigrationHandler := connect.NewUnaryHandler( + VtctldForceCutOverSchemaMigrationProcedure, + svc.ForceCutOverSchemaMigration, + connect.WithSchema(vtctldForceCutOverSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetBackupsHandler := connect.NewUnaryHandler( + VtctldGetBackupsProcedure, + svc.GetBackups, + connect.WithSchema(vtctldGetBackupsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetCellInfoHandler := connect.NewUnaryHandler( + VtctldGetCellInfoProcedure, + svc.GetCellInfo, + connect.WithSchema(vtctldGetCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetCellInfoNamesHandler := connect.NewUnaryHandler( + VtctldGetCellInfoNamesProcedure, + svc.GetCellInfoNames, + connect.WithSchema(vtctldGetCellInfoNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetCellsAliasesHandler := connect.NewUnaryHandler( + VtctldGetCellsAliasesProcedure, + svc.GetCellsAliases, + connect.WithSchema(vtctldGetCellsAliasesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetFullStatusHandler := connect.NewUnaryHandler( + VtctldGetFullStatusProcedure, + svc.GetFullStatus, + connect.WithSchema(vtctldGetFullStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetKeyspaceHandler := connect.NewUnaryHandler( + VtctldGetKeyspaceProcedure, + svc.GetKeyspace, + connect.WithSchema(vtctldGetKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetKeyspacesHandler := connect.NewUnaryHandler( + VtctldGetKeyspacesProcedure, + svc.GetKeyspaces, + connect.WithSchema(vtctldGetKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetPermissionsHandler := connect.NewUnaryHandler( + VtctldGetPermissionsProcedure, + svc.GetPermissions, + connect.WithSchema(vtctldGetPermissionsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetRoutingRulesHandler := connect.NewUnaryHandler( + VtctldGetRoutingRulesProcedure, + svc.GetRoutingRules, + connect.WithSchema(vtctldGetRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetSchemaHandler := connect.NewUnaryHandler( + VtctldGetSchemaProcedure, + svc.GetSchema, + connect.WithSchema(vtctldGetSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetSchemaMigrationsHandler := connect.NewUnaryHandler( + VtctldGetSchemaMigrationsProcedure, + svc.GetSchemaMigrations, + connect.WithSchema(vtctldGetSchemaMigrationsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetShardReplicationHandler := connect.NewUnaryHandler( + VtctldGetShardReplicationProcedure, + svc.GetShardReplication, + connect.WithSchema(vtctldGetShardReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetShardHandler := connect.NewUnaryHandler( + VtctldGetShardProcedure, + svc.GetShard, + connect.WithSchema(vtctldGetShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetShardRoutingRulesHandler := connect.NewUnaryHandler( + VtctldGetShardRoutingRulesProcedure, + svc.GetShardRoutingRules, + connect.WithSchema(vtctldGetShardRoutingRulesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetSrvKeyspaceNamesHandler := connect.NewUnaryHandler( + VtctldGetSrvKeyspaceNamesProcedure, + svc.GetSrvKeyspaceNames, + connect.WithSchema(vtctldGetSrvKeyspaceNamesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetSrvKeyspacesHandler := connect.NewUnaryHandler( + VtctldGetSrvKeyspacesProcedure, + svc.GetSrvKeyspaces, + connect.WithSchema(vtctldGetSrvKeyspacesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldUpdateThrottlerConfigHandler := connect.NewUnaryHandler( + VtctldUpdateThrottlerConfigProcedure, + svc.UpdateThrottlerConfig, + connect.WithSchema(vtctldUpdateThrottlerConfigMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetSrvVSchemaHandler := connect.NewUnaryHandler( + VtctldGetSrvVSchemaProcedure, + svc.GetSrvVSchema, + connect.WithSchema(vtctldGetSrvVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetSrvVSchemasHandler := connect.NewUnaryHandler( + VtctldGetSrvVSchemasProcedure, + svc.GetSrvVSchemas, + connect.WithSchema(vtctldGetSrvVSchemasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetTabletHandler := connect.NewUnaryHandler( + VtctldGetTabletProcedure, + svc.GetTablet, + connect.WithSchema(vtctldGetTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetTabletsHandler := connect.NewUnaryHandler( + VtctldGetTabletsProcedure, + svc.GetTablets, + connect.WithSchema(vtctldGetTabletsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetTopologyPathHandler := connect.NewUnaryHandler( + VtctldGetTopologyPathProcedure, + svc.GetTopologyPath, + connect.WithSchema(vtctldGetTopologyPathMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetVersionHandler := connect.NewUnaryHandler( + VtctldGetVersionProcedure, + svc.GetVersion, + connect.WithSchema(vtctldGetVersionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetVSchemaHandler := connect.NewUnaryHandler( + VtctldGetVSchemaProcedure, + svc.GetVSchema, + connect.WithSchema(vtctldGetVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldGetWorkflowsHandler := connect.NewUnaryHandler( + VtctldGetWorkflowsProcedure, + svc.GetWorkflows, + connect.WithSchema(vtctldGetWorkflowsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldInitShardPrimaryHandler := connect.NewUnaryHandler( + VtctldInitShardPrimaryProcedure, + svc.InitShardPrimary, + connect.WithSchema(vtctldInitShardPrimaryMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldLaunchSchemaMigrationHandler := connect.NewUnaryHandler( + VtctldLaunchSchemaMigrationProcedure, + svc.LaunchSchemaMigration, + connect.WithSchema(vtctldLaunchSchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldLookupVindexCreateHandler := connect.NewUnaryHandler( + VtctldLookupVindexCreateProcedure, + svc.LookupVindexCreate, + connect.WithSchema(vtctldLookupVindexCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldLookupVindexExternalizeHandler := connect.NewUnaryHandler( + VtctldLookupVindexExternalizeProcedure, + svc.LookupVindexExternalize, + connect.WithSchema(vtctldLookupVindexExternalizeMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMaterializeCreateHandler := connect.NewUnaryHandler( + VtctldMaterializeCreateProcedure, + svc.MaterializeCreate, + connect.WithSchema(vtctldMaterializeCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMigrateCreateHandler := connect.NewUnaryHandler( + VtctldMigrateCreateProcedure, + svc.MigrateCreate, + connect.WithSchema(vtctldMigrateCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMountRegisterHandler := connect.NewUnaryHandler( + VtctldMountRegisterProcedure, + svc.MountRegister, + connect.WithSchema(vtctldMountRegisterMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMountUnregisterHandler := connect.NewUnaryHandler( + VtctldMountUnregisterProcedure, + svc.MountUnregister, + connect.WithSchema(vtctldMountUnregisterMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMountShowHandler := connect.NewUnaryHandler( + VtctldMountShowProcedure, + svc.MountShow, + connect.WithSchema(vtctldMountShowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMountListHandler := connect.NewUnaryHandler( + VtctldMountListProcedure, + svc.MountList, + connect.WithSchema(vtctldMountListMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMoveTablesCreateHandler := connect.NewUnaryHandler( + VtctldMoveTablesCreateProcedure, + svc.MoveTablesCreate, + connect.WithSchema(vtctldMoveTablesCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldMoveTablesCompleteHandler := connect.NewUnaryHandler( + VtctldMoveTablesCompleteProcedure, + svc.MoveTablesComplete, + connect.WithSchema(vtctldMoveTablesCompleteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldPingTabletHandler := connect.NewUnaryHandler( + VtctldPingTabletProcedure, + svc.PingTablet, + connect.WithSchema(vtctldPingTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldPlannedReparentShardHandler := connect.NewUnaryHandler( + VtctldPlannedReparentShardProcedure, + svc.PlannedReparentShard, + connect.WithSchema(vtctldPlannedReparentShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRebuildKeyspaceGraphHandler := connect.NewUnaryHandler( + VtctldRebuildKeyspaceGraphProcedure, + svc.RebuildKeyspaceGraph, + connect.WithSchema(vtctldRebuildKeyspaceGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRebuildVSchemaGraphHandler := connect.NewUnaryHandler( + VtctldRebuildVSchemaGraphProcedure, + svc.RebuildVSchemaGraph, + connect.WithSchema(vtctldRebuildVSchemaGraphMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRefreshStateHandler := connect.NewUnaryHandler( + VtctldRefreshStateProcedure, + svc.RefreshState, + connect.WithSchema(vtctldRefreshStateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRefreshStateByShardHandler := connect.NewUnaryHandler( + VtctldRefreshStateByShardProcedure, + svc.RefreshStateByShard, + connect.WithSchema(vtctldRefreshStateByShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldReloadSchemaHandler := connect.NewUnaryHandler( + VtctldReloadSchemaProcedure, + svc.ReloadSchema, + connect.WithSchema(vtctldReloadSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldReloadSchemaKeyspaceHandler := connect.NewUnaryHandler( + VtctldReloadSchemaKeyspaceProcedure, + svc.ReloadSchemaKeyspace, + connect.WithSchema(vtctldReloadSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldReloadSchemaShardHandler := connect.NewUnaryHandler( + VtctldReloadSchemaShardProcedure, + svc.ReloadSchemaShard, + connect.WithSchema(vtctldReloadSchemaShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRemoveBackupHandler := connect.NewUnaryHandler( + VtctldRemoveBackupProcedure, + svc.RemoveBackup, + connect.WithSchema(vtctldRemoveBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRemoveKeyspaceCellHandler := connect.NewUnaryHandler( + VtctldRemoveKeyspaceCellProcedure, + svc.RemoveKeyspaceCell, + connect.WithSchema(vtctldRemoveKeyspaceCellMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRemoveShardCellHandler := connect.NewUnaryHandler( + VtctldRemoveShardCellProcedure, + svc.RemoveShardCell, + connect.WithSchema(vtctldRemoveShardCellMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldReparentTabletHandler := connect.NewUnaryHandler( + VtctldReparentTabletProcedure, + svc.ReparentTablet, + connect.WithSchema(vtctldReparentTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldReshardCreateHandler := connect.NewUnaryHandler( + VtctldReshardCreateProcedure, + svc.ReshardCreate, + connect.WithSchema(vtctldReshardCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRestoreFromBackupHandler := connect.NewServerStreamHandler( + VtctldRestoreFromBackupProcedure, + svc.RestoreFromBackup, + connect.WithSchema(vtctldRestoreFromBackupMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRetrySchemaMigrationHandler := connect.NewUnaryHandler( + VtctldRetrySchemaMigrationProcedure, + svc.RetrySchemaMigration, + connect.WithSchema(vtctldRetrySchemaMigrationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldRunHealthCheckHandler := connect.NewUnaryHandler( + VtctldRunHealthCheckProcedure, + svc.RunHealthCheck, + connect.WithSchema(vtctldRunHealthCheckMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldSetKeyspaceDurabilityPolicyHandler := connect.NewUnaryHandler( + VtctldSetKeyspaceDurabilityPolicyProcedure, + svc.SetKeyspaceDurabilityPolicy, + connect.WithSchema(vtctldSetKeyspaceDurabilityPolicyMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldSetShardIsPrimaryServingHandler := connect.NewUnaryHandler( + VtctldSetShardIsPrimaryServingProcedure, + svc.SetShardIsPrimaryServing, + connect.WithSchema(vtctldSetShardIsPrimaryServingMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldSetShardTabletControlHandler := connect.NewUnaryHandler( + VtctldSetShardTabletControlProcedure, + svc.SetShardTabletControl, + connect.WithSchema(vtctldSetShardTabletControlMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldSetWritableHandler := connect.NewUnaryHandler( + VtctldSetWritableProcedure, + svc.SetWritable, + connect.WithSchema(vtctldSetWritableMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldShardReplicationAddHandler := connect.NewUnaryHandler( + VtctldShardReplicationAddProcedure, + svc.ShardReplicationAdd, + connect.WithSchema(vtctldShardReplicationAddMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldShardReplicationFixHandler := connect.NewUnaryHandler( + VtctldShardReplicationFixProcedure, + svc.ShardReplicationFix, + connect.WithSchema(vtctldShardReplicationFixMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldShardReplicationPositionsHandler := connect.NewUnaryHandler( + VtctldShardReplicationPositionsProcedure, + svc.ShardReplicationPositions, + connect.WithSchema(vtctldShardReplicationPositionsMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldShardReplicationRemoveHandler := connect.NewUnaryHandler( + VtctldShardReplicationRemoveProcedure, + svc.ShardReplicationRemove, + connect.WithSchema(vtctldShardReplicationRemoveMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldSleepTabletHandler := connect.NewUnaryHandler( + VtctldSleepTabletProcedure, + svc.SleepTablet, + connect.WithSchema(vtctldSleepTabletMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldSourceShardAddHandler := connect.NewUnaryHandler( + VtctldSourceShardAddProcedure, + svc.SourceShardAdd, + connect.WithSchema(vtctldSourceShardAddMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldSourceShardDeleteHandler := connect.NewUnaryHandler( + VtctldSourceShardDeleteProcedure, + svc.SourceShardDelete, + connect.WithSchema(vtctldSourceShardDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldStartReplicationHandler := connect.NewUnaryHandler( + VtctldStartReplicationProcedure, + svc.StartReplication, + connect.WithSchema(vtctldStartReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldStopReplicationHandler := connect.NewUnaryHandler( + VtctldStopReplicationProcedure, + svc.StopReplication, + connect.WithSchema(vtctldStopReplicationMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldTabletExternallyReparentedHandler := connect.NewUnaryHandler( + VtctldTabletExternallyReparentedProcedure, + svc.TabletExternallyReparented, + connect.WithSchema(vtctldTabletExternallyReparentedMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldUpdateCellInfoHandler := connect.NewUnaryHandler( + VtctldUpdateCellInfoProcedure, + svc.UpdateCellInfo, + connect.WithSchema(vtctldUpdateCellInfoMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldUpdateCellsAliasHandler := connect.NewUnaryHandler( + VtctldUpdateCellsAliasProcedure, + svc.UpdateCellsAlias, + connect.WithSchema(vtctldUpdateCellsAliasMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldValidateHandler := connect.NewUnaryHandler( + VtctldValidateProcedure, + svc.Validate, + connect.WithSchema(vtctldValidateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldValidateKeyspaceHandler := connect.NewUnaryHandler( + VtctldValidateKeyspaceProcedure, + svc.ValidateKeyspace, + connect.WithSchema(vtctldValidateKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldValidateSchemaKeyspaceHandler := connect.NewUnaryHandler( + VtctldValidateSchemaKeyspaceProcedure, + svc.ValidateSchemaKeyspace, + connect.WithSchema(vtctldValidateSchemaKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldValidateShardHandler := connect.NewUnaryHandler( + VtctldValidateShardProcedure, + svc.ValidateShard, + connect.WithSchema(vtctldValidateShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldValidateVersionKeyspaceHandler := connect.NewUnaryHandler( + VtctldValidateVersionKeyspaceProcedure, + svc.ValidateVersionKeyspace, + connect.WithSchema(vtctldValidateVersionKeyspaceMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldValidateVersionShardHandler := connect.NewUnaryHandler( + VtctldValidateVersionShardProcedure, + svc.ValidateVersionShard, + connect.WithSchema(vtctldValidateVersionShardMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldValidateVSchemaHandler := connect.NewUnaryHandler( + VtctldValidateVSchemaProcedure, + svc.ValidateVSchema, + connect.WithSchema(vtctldValidateVSchemaMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldVDiffCreateHandler := connect.NewUnaryHandler( + VtctldVDiffCreateProcedure, + svc.VDiffCreate, + connect.WithSchema(vtctldVDiffCreateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldVDiffDeleteHandler := connect.NewUnaryHandler( + VtctldVDiffDeleteProcedure, + svc.VDiffDelete, + connect.WithSchema(vtctldVDiffDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldVDiffResumeHandler := connect.NewUnaryHandler( + VtctldVDiffResumeProcedure, + svc.VDiffResume, + connect.WithSchema(vtctldVDiffResumeMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldVDiffShowHandler := connect.NewUnaryHandler( + VtctldVDiffShowProcedure, + svc.VDiffShow, + connect.WithSchema(vtctldVDiffShowMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldVDiffStopHandler := connect.NewUnaryHandler( + VtctldVDiffStopProcedure, + svc.VDiffStop, + connect.WithSchema(vtctldVDiffStopMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldWorkflowDeleteHandler := connect.NewUnaryHandler( + VtctldWorkflowDeleteProcedure, + svc.WorkflowDelete, + connect.WithSchema(vtctldWorkflowDeleteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldWorkflowStatusHandler := connect.NewUnaryHandler( + VtctldWorkflowStatusProcedure, + svc.WorkflowStatus, + connect.WithSchema(vtctldWorkflowStatusMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldWorkflowSwitchTrafficHandler := connect.NewUnaryHandler( + VtctldWorkflowSwitchTrafficProcedure, + svc.WorkflowSwitchTraffic, + connect.WithSchema(vtctldWorkflowSwitchTrafficMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vtctldWorkflowUpdateHandler := connect.NewUnaryHandler( + VtctldWorkflowUpdateProcedure, + svc.WorkflowUpdate, + connect.WithSchema(vtctldWorkflowUpdateMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/vtctlservice.Vtctld/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case VtctldAddCellInfoProcedure: + vtctldAddCellInfoHandler.ServeHTTP(w, r) + case VtctldAddCellsAliasProcedure: + vtctldAddCellsAliasHandler.ServeHTTP(w, r) + case VtctldApplyRoutingRulesProcedure: + vtctldApplyRoutingRulesHandler.ServeHTTP(w, r) + case VtctldApplySchemaProcedure: + vtctldApplySchemaHandler.ServeHTTP(w, r) + case VtctldApplyShardRoutingRulesProcedure: + vtctldApplyShardRoutingRulesHandler.ServeHTTP(w, r) + case VtctldApplyVSchemaProcedure: + vtctldApplyVSchemaHandler.ServeHTTP(w, r) + case VtctldBackupProcedure: + vtctldBackupHandler.ServeHTTP(w, r) + case VtctldBackupShardProcedure: + vtctldBackupShardHandler.ServeHTTP(w, r) + case VtctldCancelSchemaMigrationProcedure: + vtctldCancelSchemaMigrationHandler.ServeHTTP(w, r) + case VtctldChangeTabletTypeProcedure: + vtctldChangeTabletTypeHandler.ServeHTTP(w, r) + case VtctldCleanupSchemaMigrationProcedure: + vtctldCleanupSchemaMigrationHandler.ServeHTTP(w, r) + case VtctldCompleteSchemaMigrationProcedure: + vtctldCompleteSchemaMigrationHandler.ServeHTTP(w, r) + case VtctldCreateKeyspaceProcedure: + vtctldCreateKeyspaceHandler.ServeHTTP(w, r) + case VtctldCreateShardProcedure: + vtctldCreateShardHandler.ServeHTTP(w, r) + case VtctldDeleteCellInfoProcedure: + vtctldDeleteCellInfoHandler.ServeHTTP(w, r) + case VtctldDeleteCellsAliasProcedure: + vtctldDeleteCellsAliasHandler.ServeHTTP(w, r) + case VtctldDeleteKeyspaceProcedure: + vtctldDeleteKeyspaceHandler.ServeHTTP(w, r) + case VtctldDeleteShardsProcedure: + vtctldDeleteShardsHandler.ServeHTTP(w, r) + case VtctldDeleteSrvVSchemaProcedure: + vtctldDeleteSrvVSchemaHandler.ServeHTTP(w, r) + case VtctldDeleteTabletsProcedure: + vtctldDeleteTabletsHandler.ServeHTTP(w, r) + case VtctldEmergencyReparentShardProcedure: + vtctldEmergencyReparentShardHandler.ServeHTTP(w, r) + case VtctldExecuteFetchAsAppProcedure: + vtctldExecuteFetchAsAppHandler.ServeHTTP(w, r) + case VtctldExecuteFetchAsDBAProcedure: + vtctldExecuteFetchAsDBAHandler.ServeHTTP(w, r) + case VtctldExecuteHookProcedure: + vtctldExecuteHookHandler.ServeHTTP(w, r) + case VtctldFindAllShardsInKeyspaceProcedure: + vtctldFindAllShardsInKeyspaceHandler.ServeHTTP(w, r) + case VtctldForceCutOverSchemaMigrationProcedure: + vtctldForceCutOverSchemaMigrationHandler.ServeHTTP(w, r) + case VtctldGetBackupsProcedure: + vtctldGetBackupsHandler.ServeHTTP(w, r) + case VtctldGetCellInfoProcedure: + vtctldGetCellInfoHandler.ServeHTTP(w, r) + case VtctldGetCellInfoNamesProcedure: + vtctldGetCellInfoNamesHandler.ServeHTTP(w, r) + case VtctldGetCellsAliasesProcedure: + vtctldGetCellsAliasesHandler.ServeHTTP(w, r) + case VtctldGetFullStatusProcedure: + vtctldGetFullStatusHandler.ServeHTTP(w, r) + case VtctldGetKeyspaceProcedure: + vtctldGetKeyspaceHandler.ServeHTTP(w, r) + case VtctldGetKeyspacesProcedure: + vtctldGetKeyspacesHandler.ServeHTTP(w, r) + case VtctldGetPermissionsProcedure: + vtctldGetPermissionsHandler.ServeHTTP(w, r) + case VtctldGetRoutingRulesProcedure: + vtctldGetRoutingRulesHandler.ServeHTTP(w, r) + case VtctldGetSchemaProcedure: + vtctldGetSchemaHandler.ServeHTTP(w, r) + case VtctldGetSchemaMigrationsProcedure: + vtctldGetSchemaMigrationsHandler.ServeHTTP(w, r) + case VtctldGetShardReplicationProcedure: + vtctldGetShardReplicationHandler.ServeHTTP(w, r) + case VtctldGetShardProcedure: + vtctldGetShardHandler.ServeHTTP(w, r) + case VtctldGetShardRoutingRulesProcedure: + vtctldGetShardRoutingRulesHandler.ServeHTTP(w, r) + case VtctldGetSrvKeyspaceNamesProcedure: + vtctldGetSrvKeyspaceNamesHandler.ServeHTTP(w, r) + case VtctldGetSrvKeyspacesProcedure: + vtctldGetSrvKeyspacesHandler.ServeHTTP(w, r) + case VtctldUpdateThrottlerConfigProcedure: + vtctldUpdateThrottlerConfigHandler.ServeHTTP(w, r) + case VtctldGetSrvVSchemaProcedure: + vtctldGetSrvVSchemaHandler.ServeHTTP(w, r) + case VtctldGetSrvVSchemasProcedure: + vtctldGetSrvVSchemasHandler.ServeHTTP(w, r) + case VtctldGetTabletProcedure: + vtctldGetTabletHandler.ServeHTTP(w, r) + case VtctldGetTabletsProcedure: + vtctldGetTabletsHandler.ServeHTTP(w, r) + case VtctldGetTopologyPathProcedure: + vtctldGetTopologyPathHandler.ServeHTTP(w, r) + case VtctldGetVersionProcedure: + vtctldGetVersionHandler.ServeHTTP(w, r) + case VtctldGetVSchemaProcedure: + vtctldGetVSchemaHandler.ServeHTTP(w, r) + case VtctldGetWorkflowsProcedure: + vtctldGetWorkflowsHandler.ServeHTTP(w, r) + case VtctldInitShardPrimaryProcedure: + vtctldInitShardPrimaryHandler.ServeHTTP(w, r) + case VtctldLaunchSchemaMigrationProcedure: + vtctldLaunchSchemaMigrationHandler.ServeHTTP(w, r) + case VtctldLookupVindexCreateProcedure: + vtctldLookupVindexCreateHandler.ServeHTTP(w, r) + case VtctldLookupVindexExternalizeProcedure: + vtctldLookupVindexExternalizeHandler.ServeHTTP(w, r) + case VtctldMaterializeCreateProcedure: + vtctldMaterializeCreateHandler.ServeHTTP(w, r) + case VtctldMigrateCreateProcedure: + vtctldMigrateCreateHandler.ServeHTTP(w, r) + case VtctldMountRegisterProcedure: + vtctldMountRegisterHandler.ServeHTTP(w, r) + case VtctldMountUnregisterProcedure: + vtctldMountUnregisterHandler.ServeHTTP(w, r) + case VtctldMountShowProcedure: + vtctldMountShowHandler.ServeHTTP(w, r) + case VtctldMountListProcedure: + vtctldMountListHandler.ServeHTTP(w, r) + case VtctldMoveTablesCreateProcedure: + vtctldMoveTablesCreateHandler.ServeHTTP(w, r) + case VtctldMoveTablesCompleteProcedure: + vtctldMoveTablesCompleteHandler.ServeHTTP(w, r) + case VtctldPingTabletProcedure: + vtctldPingTabletHandler.ServeHTTP(w, r) + case VtctldPlannedReparentShardProcedure: + vtctldPlannedReparentShardHandler.ServeHTTP(w, r) + case VtctldRebuildKeyspaceGraphProcedure: + vtctldRebuildKeyspaceGraphHandler.ServeHTTP(w, r) + case VtctldRebuildVSchemaGraphProcedure: + vtctldRebuildVSchemaGraphHandler.ServeHTTP(w, r) + case VtctldRefreshStateProcedure: + vtctldRefreshStateHandler.ServeHTTP(w, r) + case VtctldRefreshStateByShardProcedure: + vtctldRefreshStateByShardHandler.ServeHTTP(w, r) + case VtctldReloadSchemaProcedure: + vtctldReloadSchemaHandler.ServeHTTP(w, r) + case VtctldReloadSchemaKeyspaceProcedure: + vtctldReloadSchemaKeyspaceHandler.ServeHTTP(w, r) + case VtctldReloadSchemaShardProcedure: + vtctldReloadSchemaShardHandler.ServeHTTP(w, r) + case VtctldRemoveBackupProcedure: + vtctldRemoveBackupHandler.ServeHTTP(w, r) + case VtctldRemoveKeyspaceCellProcedure: + vtctldRemoveKeyspaceCellHandler.ServeHTTP(w, r) + case VtctldRemoveShardCellProcedure: + vtctldRemoveShardCellHandler.ServeHTTP(w, r) + case VtctldReparentTabletProcedure: + vtctldReparentTabletHandler.ServeHTTP(w, r) + case VtctldReshardCreateProcedure: + vtctldReshardCreateHandler.ServeHTTP(w, r) + case VtctldRestoreFromBackupProcedure: + vtctldRestoreFromBackupHandler.ServeHTTP(w, r) + case VtctldRetrySchemaMigrationProcedure: + vtctldRetrySchemaMigrationHandler.ServeHTTP(w, r) + case VtctldRunHealthCheckProcedure: + vtctldRunHealthCheckHandler.ServeHTTP(w, r) + case VtctldSetKeyspaceDurabilityPolicyProcedure: + vtctldSetKeyspaceDurabilityPolicyHandler.ServeHTTP(w, r) + case VtctldSetShardIsPrimaryServingProcedure: + vtctldSetShardIsPrimaryServingHandler.ServeHTTP(w, r) + case VtctldSetShardTabletControlProcedure: + vtctldSetShardTabletControlHandler.ServeHTTP(w, r) + case VtctldSetWritableProcedure: + vtctldSetWritableHandler.ServeHTTP(w, r) + case VtctldShardReplicationAddProcedure: + vtctldShardReplicationAddHandler.ServeHTTP(w, r) + case VtctldShardReplicationFixProcedure: + vtctldShardReplicationFixHandler.ServeHTTP(w, r) + case VtctldShardReplicationPositionsProcedure: + vtctldShardReplicationPositionsHandler.ServeHTTP(w, r) + case VtctldShardReplicationRemoveProcedure: + vtctldShardReplicationRemoveHandler.ServeHTTP(w, r) + case VtctldSleepTabletProcedure: + vtctldSleepTabletHandler.ServeHTTP(w, r) + case VtctldSourceShardAddProcedure: + vtctldSourceShardAddHandler.ServeHTTP(w, r) + case VtctldSourceShardDeleteProcedure: + vtctldSourceShardDeleteHandler.ServeHTTP(w, r) + case VtctldStartReplicationProcedure: + vtctldStartReplicationHandler.ServeHTTP(w, r) + case VtctldStopReplicationProcedure: + vtctldStopReplicationHandler.ServeHTTP(w, r) + case VtctldTabletExternallyReparentedProcedure: + vtctldTabletExternallyReparentedHandler.ServeHTTP(w, r) + case VtctldUpdateCellInfoProcedure: + vtctldUpdateCellInfoHandler.ServeHTTP(w, r) + case VtctldUpdateCellsAliasProcedure: + vtctldUpdateCellsAliasHandler.ServeHTTP(w, r) + case VtctldValidateProcedure: + vtctldValidateHandler.ServeHTTP(w, r) + case VtctldValidateKeyspaceProcedure: + vtctldValidateKeyspaceHandler.ServeHTTP(w, r) + case VtctldValidateSchemaKeyspaceProcedure: + vtctldValidateSchemaKeyspaceHandler.ServeHTTP(w, r) + case VtctldValidateShardProcedure: + vtctldValidateShardHandler.ServeHTTP(w, r) + case VtctldValidateVersionKeyspaceProcedure: + vtctldValidateVersionKeyspaceHandler.ServeHTTP(w, r) + case VtctldValidateVersionShardProcedure: + vtctldValidateVersionShardHandler.ServeHTTP(w, r) + case VtctldValidateVSchemaProcedure: + vtctldValidateVSchemaHandler.ServeHTTP(w, r) + case VtctldVDiffCreateProcedure: + vtctldVDiffCreateHandler.ServeHTTP(w, r) + case VtctldVDiffDeleteProcedure: + vtctldVDiffDeleteHandler.ServeHTTP(w, r) + case VtctldVDiffResumeProcedure: + vtctldVDiffResumeHandler.ServeHTTP(w, r) + case VtctldVDiffShowProcedure: + vtctldVDiffShowHandler.ServeHTTP(w, r) + case VtctldVDiffStopProcedure: + vtctldVDiffStopHandler.ServeHTTP(w, r) + case VtctldWorkflowDeleteProcedure: + vtctldWorkflowDeleteHandler.ServeHTTP(w, r) + case VtctldWorkflowStatusProcedure: + vtctldWorkflowStatusHandler.ServeHTTP(w, r) + case VtctldWorkflowSwitchTrafficProcedure: + vtctldWorkflowSwitchTrafficHandler.ServeHTTP(w, r) + case VtctldWorkflowUpdateProcedure: + vtctldWorkflowUpdateHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedVtctldHandler returns CodeUnimplemented from all methods. +type UnimplementedVtctldHandler struct{} + +func (UnimplementedVtctldHandler) AddCellInfo(context.Context, *connect.Request[v191.AddCellInfoRequest]) (*connect.Response[v191.AddCellInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellInfo is not implemented")) +} + +func (UnimplementedVtctldHandler) AddCellsAlias(context.Context, *connect.Request[v191.AddCellsAliasRequest]) (*connect.Response[v191.AddCellsAliasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.AddCellsAlias is not implemented")) +} + +func (UnimplementedVtctldHandler) ApplyRoutingRules(context.Context, *connect.Request[v191.ApplyRoutingRulesRequest]) (*connect.Response[v191.ApplyRoutingRulesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyRoutingRules is not implemented")) +} + +func (UnimplementedVtctldHandler) ApplySchema(context.Context, *connect.Request[v191.ApplySchemaRequest]) (*connect.Response[v191.ApplySchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplySchema is not implemented")) +} + +func (UnimplementedVtctldHandler) ApplyShardRoutingRules(context.Context, *connect.Request[v191.ApplyShardRoutingRulesRequest]) (*connect.Response[v191.ApplyShardRoutingRulesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyShardRoutingRules is not implemented")) +} + +func (UnimplementedVtctldHandler) ApplyVSchema(context.Context, *connect.Request[v191.ApplyVSchemaRequest]) (*connect.Response[v191.ApplyVSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ApplyVSchema is not implemented")) +} + +func (UnimplementedVtctldHandler) Backup(context.Context, *connect.Request[v191.BackupRequest], *connect.ServerStream[v191.BackupResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Backup is not implemented")) +} + +func (UnimplementedVtctldHandler) BackupShard(context.Context, *connect.Request[v191.BackupShardRequest], *connect.ServerStream[v191.BackupResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.BackupShard is not implemented")) +} + +func (UnimplementedVtctldHandler) CancelSchemaMigration(context.Context, *connect.Request[v191.CancelSchemaMigrationRequest]) (*connect.Response[v191.CancelSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CancelSchemaMigration is not implemented")) +} + +func (UnimplementedVtctldHandler) ChangeTabletType(context.Context, *connect.Request[v191.ChangeTabletTypeRequest]) (*connect.Response[v191.ChangeTabletTypeResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ChangeTabletType is not implemented")) +} + +func (UnimplementedVtctldHandler) CleanupSchemaMigration(context.Context, *connect.Request[v191.CleanupSchemaMigrationRequest]) (*connect.Response[v191.CleanupSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CleanupSchemaMigration is not implemented")) +} + +func (UnimplementedVtctldHandler) CompleteSchemaMigration(context.Context, *connect.Request[v191.CompleteSchemaMigrationRequest]) (*connect.Response[v191.CompleteSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CompleteSchemaMigration is not implemented")) +} + +func (UnimplementedVtctldHandler) CreateKeyspace(context.Context, *connect.Request[v191.CreateKeyspaceRequest]) (*connect.Response[v191.CreateKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) CreateShard(context.Context, *connect.Request[v191.CreateShardRequest]) (*connect.Response[v191.CreateShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.CreateShard is not implemented")) +} + +func (UnimplementedVtctldHandler) DeleteCellInfo(context.Context, *connect.Request[v191.DeleteCellInfoRequest]) (*connect.Response[v191.DeleteCellInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellInfo is not implemented")) +} + +func (UnimplementedVtctldHandler) DeleteCellsAlias(context.Context, *connect.Request[v191.DeleteCellsAliasRequest]) (*connect.Response[v191.DeleteCellsAliasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteCellsAlias is not implemented")) +} + +func (UnimplementedVtctldHandler) DeleteKeyspace(context.Context, *connect.Request[v191.DeleteKeyspaceRequest]) (*connect.Response[v191.DeleteKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) DeleteShards(context.Context, *connect.Request[v191.DeleteShardsRequest]) (*connect.Response[v191.DeleteShardsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteShards is not implemented")) +} + +func (UnimplementedVtctldHandler) DeleteSrvVSchema(context.Context, *connect.Request[v191.DeleteSrvVSchemaRequest]) (*connect.Response[v191.DeleteSrvVSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteSrvVSchema is not implemented")) +} + +func (UnimplementedVtctldHandler) DeleteTablets(context.Context, *connect.Request[v191.DeleteTabletsRequest]) (*connect.Response[v191.DeleteTabletsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.DeleteTablets is not implemented")) +} + +func (UnimplementedVtctldHandler) EmergencyReparentShard(context.Context, *connect.Request[v191.EmergencyReparentShardRequest]) (*connect.Response[v191.EmergencyReparentShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.EmergencyReparentShard is not implemented")) +} + +func (UnimplementedVtctldHandler) ExecuteFetchAsApp(context.Context, *connect.Request[v191.ExecuteFetchAsAppRequest]) (*connect.Response[v191.ExecuteFetchAsAppResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsApp is not implemented")) +} + +func (UnimplementedVtctldHandler) ExecuteFetchAsDBA(context.Context, *connect.Request[v191.ExecuteFetchAsDBARequest]) (*connect.Response[v191.ExecuteFetchAsDBAResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteFetchAsDBA is not implemented")) +} + +func (UnimplementedVtctldHandler) ExecuteHook(context.Context, *connect.Request[v191.ExecuteHookRequest]) (*connect.Response[v191.ExecuteHookResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ExecuteHook is not implemented")) +} + +func (UnimplementedVtctldHandler) FindAllShardsInKeyspace(context.Context, *connect.Request[v191.FindAllShardsInKeyspaceRequest]) (*connect.Response[v191.FindAllShardsInKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.FindAllShardsInKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) ForceCutOverSchemaMigration(context.Context, *connect.Request[v191.ForceCutOverSchemaMigrationRequest]) (*connect.Response[v191.ForceCutOverSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ForceCutOverSchemaMigration is not implemented")) +} + +func (UnimplementedVtctldHandler) GetBackups(context.Context, *connect.Request[v191.GetBackupsRequest]) (*connect.Response[v191.GetBackupsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetBackups is not implemented")) +} + +func (UnimplementedVtctldHandler) GetCellInfo(context.Context, *connect.Request[v191.GetCellInfoRequest]) (*connect.Response[v191.GetCellInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfo is not implemented")) +} + +func (UnimplementedVtctldHandler) GetCellInfoNames(context.Context, *connect.Request[v191.GetCellInfoNamesRequest]) (*connect.Response[v191.GetCellInfoNamesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellInfoNames is not implemented")) +} + +func (UnimplementedVtctldHandler) GetCellsAliases(context.Context, *connect.Request[v191.GetCellsAliasesRequest]) (*connect.Response[v191.GetCellsAliasesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetCellsAliases is not implemented")) +} + +func (UnimplementedVtctldHandler) GetFullStatus(context.Context, *connect.Request[v191.GetFullStatusRequest]) (*connect.Response[v191.GetFullStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetFullStatus is not implemented")) +} + +func (UnimplementedVtctldHandler) GetKeyspace(context.Context, *connect.Request[v191.GetKeyspaceRequest]) (*connect.Response[v191.GetKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) GetKeyspaces(context.Context, *connect.Request[v191.GetKeyspacesRequest]) (*connect.Response[v191.GetKeyspacesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetKeyspaces is not implemented")) +} + +func (UnimplementedVtctldHandler) GetPermissions(context.Context, *connect.Request[v191.GetPermissionsRequest]) (*connect.Response[v191.GetPermissionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetPermissions is not implemented")) +} + +func (UnimplementedVtctldHandler) GetRoutingRules(context.Context, *connect.Request[v191.GetRoutingRulesRequest]) (*connect.Response[v191.GetRoutingRulesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetRoutingRules is not implemented")) +} + +func (UnimplementedVtctldHandler) GetSchema(context.Context, *connect.Request[v191.GetSchemaRequest]) (*connect.Response[v191.GetSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchema is not implemented")) +} + +func (UnimplementedVtctldHandler) GetSchemaMigrations(context.Context, *connect.Request[v191.GetSchemaMigrationsRequest]) (*connect.Response[v191.GetSchemaMigrationsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSchemaMigrations is not implemented")) +} + +func (UnimplementedVtctldHandler) GetShardReplication(context.Context, *connect.Request[v191.GetShardReplicationRequest]) (*connect.Response[v191.GetShardReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShardReplication is not implemented")) +} + +func (UnimplementedVtctldHandler) GetShard(context.Context, *connect.Request[v191.GetShardRequest]) (*connect.Response[v191.GetShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShard is not implemented")) +} + +func (UnimplementedVtctldHandler) GetShardRoutingRules(context.Context, *connect.Request[v191.GetShardRoutingRulesRequest]) (*connect.Response[v191.GetShardRoutingRulesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetShardRoutingRules is not implemented")) +} + +func (UnimplementedVtctldHandler) GetSrvKeyspaceNames(context.Context, *connect.Request[v191.GetSrvKeyspaceNamesRequest]) (*connect.Response[v191.GetSrvKeyspaceNamesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaceNames is not implemented")) +} + +func (UnimplementedVtctldHandler) GetSrvKeyspaces(context.Context, *connect.Request[v191.GetSrvKeyspacesRequest]) (*connect.Response[v191.GetSrvKeyspacesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvKeyspaces is not implemented")) +} + +func (UnimplementedVtctldHandler) UpdateThrottlerConfig(context.Context, *connect.Request[v191.UpdateThrottlerConfigRequest]) (*connect.Response[v191.UpdateThrottlerConfigResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateThrottlerConfig is not implemented")) +} + +func (UnimplementedVtctldHandler) GetSrvVSchema(context.Context, *connect.Request[v191.GetSrvVSchemaRequest]) (*connect.Response[v191.GetSrvVSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchema is not implemented")) +} + +func (UnimplementedVtctldHandler) GetSrvVSchemas(context.Context, *connect.Request[v191.GetSrvVSchemasRequest]) (*connect.Response[v191.GetSrvVSchemasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetSrvVSchemas is not implemented")) +} + +func (UnimplementedVtctldHandler) GetTablet(context.Context, *connect.Request[v191.GetTabletRequest]) (*connect.Response[v191.GetTabletResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablet is not implemented")) +} + +func (UnimplementedVtctldHandler) GetTablets(context.Context, *connect.Request[v191.GetTabletsRequest]) (*connect.Response[v191.GetTabletsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTablets is not implemented")) +} + +func (UnimplementedVtctldHandler) GetTopologyPath(context.Context, *connect.Request[v191.GetTopologyPathRequest]) (*connect.Response[v191.GetTopologyPathResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetTopologyPath is not implemented")) +} + +func (UnimplementedVtctldHandler) GetVersion(context.Context, *connect.Request[v191.GetVersionRequest]) (*connect.Response[v191.GetVersionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVersion is not implemented")) +} + +func (UnimplementedVtctldHandler) GetVSchema(context.Context, *connect.Request[v191.GetVSchemaRequest]) (*connect.Response[v191.GetVSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetVSchema is not implemented")) +} + +func (UnimplementedVtctldHandler) GetWorkflows(context.Context, *connect.Request[v191.GetWorkflowsRequest]) (*connect.Response[v191.GetWorkflowsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.GetWorkflows is not implemented")) +} + +func (UnimplementedVtctldHandler) InitShardPrimary(context.Context, *connect.Request[v191.InitShardPrimaryRequest]) (*connect.Response[v191.InitShardPrimaryResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.InitShardPrimary is not implemented")) +} + +func (UnimplementedVtctldHandler) LaunchSchemaMigration(context.Context, *connect.Request[v191.LaunchSchemaMigrationRequest]) (*connect.Response[v191.LaunchSchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LaunchSchemaMigration is not implemented")) +} + +func (UnimplementedVtctldHandler) LookupVindexCreate(context.Context, *connect.Request[v191.LookupVindexCreateRequest]) (*connect.Response[v191.LookupVindexCreateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LookupVindexCreate is not implemented")) +} + +func (UnimplementedVtctldHandler) LookupVindexExternalize(context.Context, *connect.Request[v191.LookupVindexExternalizeRequest]) (*connect.Response[v191.LookupVindexExternalizeResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.LookupVindexExternalize is not implemented")) +} + +func (UnimplementedVtctldHandler) MaterializeCreate(context.Context, *connect.Request[v191.MaterializeCreateRequest]) (*connect.Response[v191.MaterializeCreateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MaterializeCreate is not implemented")) +} + +func (UnimplementedVtctldHandler) MigrateCreate(context.Context, *connect.Request[v191.MigrateCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MigrateCreate is not implemented")) +} + +func (UnimplementedVtctldHandler) MountRegister(context.Context, *connect.Request[v191.MountRegisterRequest]) (*connect.Response[v191.MountRegisterResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountRegister is not implemented")) +} + +func (UnimplementedVtctldHandler) MountUnregister(context.Context, *connect.Request[v191.MountUnregisterRequest]) (*connect.Response[v191.MountUnregisterResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountUnregister is not implemented")) +} + +func (UnimplementedVtctldHandler) MountShow(context.Context, *connect.Request[v191.MountShowRequest]) (*connect.Response[v191.MountShowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountShow is not implemented")) +} + +func (UnimplementedVtctldHandler) MountList(context.Context, *connect.Request[v191.MountListRequest]) (*connect.Response[v191.MountListResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MountList is not implemented")) +} + +func (UnimplementedVtctldHandler) MoveTablesCreate(context.Context, *connect.Request[v191.MoveTablesCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MoveTablesCreate is not implemented")) +} + +func (UnimplementedVtctldHandler) MoveTablesComplete(context.Context, *connect.Request[v191.MoveTablesCompleteRequest]) (*connect.Response[v191.MoveTablesCompleteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.MoveTablesComplete is not implemented")) +} + +func (UnimplementedVtctldHandler) PingTablet(context.Context, *connect.Request[v191.PingTabletRequest]) (*connect.Response[v191.PingTabletResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PingTablet is not implemented")) +} + +func (UnimplementedVtctldHandler) PlannedReparentShard(context.Context, *connect.Request[v191.PlannedReparentShardRequest]) (*connect.Response[v191.PlannedReparentShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.PlannedReparentShard is not implemented")) +} + +func (UnimplementedVtctldHandler) RebuildKeyspaceGraph(context.Context, *connect.Request[v191.RebuildKeyspaceGraphRequest]) (*connect.Response[v191.RebuildKeyspaceGraphResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildKeyspaceGraph is not implemented")) +} + +func (UnimplementedVtctldHandler) RebuildVSchemaGraph(context.Context, *connect.Request[v191.RebuildVSchemaGraphRequest]) (*connect.Response[v191.RebuildVSchemaGraphResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RebuildVSchemaGraph is not implemented")) +} + +func (UnimplementedVtctldHandler) RefreshState(context.Context, *connect.Request[v191.RefreshStateRequest]) (*connect.Response[v191.RefreshStateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshState is not implemented")) +} + +func (UnimplementedVtctldHandler) RefreshStateByShard(context.Context, *connect.Request[v191.RefreshStateByShardRequest]) (*connect.Response[v191.RefreshStateByShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RefreshStateByShard is not implemented")) +} + +func (UnimplementedVtctldHandler) ReloadSchema(context.Context, *connect.Request[v191.ReloadSchemaRequest]) (*connect.Response[v191.ReloadSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchema is not implemented")) +} + +func (UnimplementedVtctldHandler) ReloadSchemaKeyspace(context.Context, *connect.Request[v191.ReloadSchemaKeyspaceRequest]) (*connect.Response[v191.ReloadSchemaKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) ReloadSchemaShard(context.Context, *connect.Request[v191.ReloadSchemaShardRequest]) (*connect.Response[v191.ReloadSchemaShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReloadSchemaShard is not implemented")) +} + +func (UnimplementedVtctldHandler) RemoveBackup(context.Context, *connect.Request[v191.RemoveBackupRequest]) (*connect.Response[v191.RemoveBackupResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveBackup is not implemented")) +} + +func (UnimplementedVtctldHandler) RemoveKeyspaceCell(context.Context, *connect.Request[v191.RemoveKeyspaceCellRequest]) (*connect.Response[v191.RemoveKeyspaceCellResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveKeyspaceCell is not implemented")) +} + +func (UnimplementedVtctldHandler) RemoveShardCell(context.Context, *connect.Request[v191.RemoveShardCellRequest]) (*connect.Response[v191.RemoveShardCellResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RemoveShardCell is not implemented")) +} + +func (UnimplementedVtctldHandler) ReparentTablet(context.Context, *connect.Request[v191.ReparentTabletRequest]) (*connect.Response[v191.ReparentTabletResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReparentTablet is not implemented")) +} + +func (UnimplementedVtctldHandler) ReshardCreate(context.Context, *connect.Request[v191.ReshardCreateRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ReshardCreate is not implemented")) +} + +func (UnimplementedVtctldHandler) RestoreFromBackup(context.Context, *connect.Request[v191.RestoreFromBackupRequest], *connect.ServerStream[v191.RestoreFromBackupResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RestoreFromBackup is not implemented")) +} + +func (UnimplementedVtctldHandler) RetrySchemaMigration(context.Context, *connect.Request[v191.RetrySchemaMigrationRequest]) (*connect.Response[v191.RetrySchemaMigrationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RetrySchemaMigration is not implemented")) +} + +func (UnimplementedVtctldHandler) RunHealthCheck(context.Context, *connect.Request[v191.RunHealthCheckRequest]) (*connect.Response[v191.RunHealthCheckResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.RunHealthCheck is not implemented")) +} + +func (UnimplementedVtctldHandler) SetKeyspaceDurabilityPolicy(context.Context, *connect.Request[v191.SetKeyspaceDurabilityPolicyRequest]) (*connect.Response[v191.SetKeyspaceDurabilityPolicyResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetKeyspaceDurabilityPolicy is not implemented")) +} + +func (UnimplementedVtctldHandler) SetShardIsPrimaryServing(context.Context, *connect.Request[v191.SetShardIsPrimaryServingRequest]) (*connect.Response[v191.SetShardIsPrimaryServingResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardIsPrimaryServing is not implemented")) +} + +func (UnimplementedVtctldHandler) SetShardTabletControl(context.Context, *connect.Request[v191.SetShardTabletControlRequest]) (*connect.Response[v191.SetShardTabletControlResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetShardTabletControl is not implemented")) +} + +func (UnimplementedVtctldHandler) SetWritable(context.Context, *connect.Request[v191.SetWritableRequest]) (*connect.Response[v191.SetWritableResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SetWritable is not implemented")) +} + +func (UnimplementedVtctldHandler) ShardReplicationAdd(context.Context, *connect.Request[v191.ShardReplicationAddRequest]) (*connect.Response[v191.ShardReplicationAddResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationAdd is not implemented")) +} + +func (UnimplementedVtctldHandler) ShardReplicationFix(context.Context, *connect.Request[v191.ShardReplicationFixRequest]) (*connect.Response[v191.ShardReplicationFixResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationFix is not implemented")) +} + +func (UnimplementedVtctldHandler) ShardReplicationPositions(context.Context, *connect.Request[v191.ShardReplicationPositionsRequest]) (*connect.Response[v191.ShardReplicationPositionsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationPositions is not implemented")) +} + +func (UnimplementedVtctldHandler) ShardReplicationRemove(context.Context, *connect.Request[v191.ShardReplicationRemoveRequest]) (*connect.Response[v191.ShardReplicationRemoveResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ShardReplicationRemove is not implemented")) +} + +func (UnimplementedVtctldHandler) SleepTablet(context.Context, *connect.Request[v191.SleepTabletRequest]) (*connect.Response[v191.SleepTabletResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SleepTablet is not implemented")) +} + +func (UnimplementedVtctldHandler) SourceShardAdd(context.Context, *connect.Request[v191.SourceShardAddRequest]) (*connect.Response[v191.SourceShardAddResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardAdd is not implemented")) +} + +func (UnimplementedVtctldHandler) SourceShardDelete(context.Context, *connect.Request[v191.SourceShardDeleteRequest]) (*connect.Response[v191.SourceShardDeleteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.SourceShardDelete is not implemented")) +} + +func (UnimplementedVtctldHandler) StartReplication(context.Context, *connect.Request[v191.StartReplicationRequest]) (*connect.Response[v191.StartReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StartReplication is not implemented")) +} + +func (UnimplementedVtctldHandler) StopReplication(context.Context, *connect.Request[v191.StopReplicationRequest]) (*connect.Response[v191.StopReplicationResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.StopReplication is not implemented")) +} + +func (UnimplementedVtctldHandler) TabletExternallyReparented(context.Context, *connect.Request[v191.TabletExternallyReparentedRequest]) (*connect.Response[v191.TabletExternallyReparentedResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.TabletExternallyReparented is not implemented")) +} + +func (UnimplementedVtctldHandler) UpdateCellInfo(context.Context, *connect.Request[v191.UpdateCellInfoRequest]) (*connect.Response[v191.UpdateCellInfoResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellInfo is not implemented")) +} + +func (UnimplementedVtctldHandler) UpdateCellsAlias(context.Context, *connect.Request[v191.UpdateCellsAliasRequest]) (*connect.Response[v191.UpdateCellsAliasResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.UpdateCellsAlias is not implemented")) +} + +func (UnimplementedVtctldHandler) Validate(context.Context, *connect.Request[v191.ValidateRequest]) (*connect.Response[v191.ValidateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.Validate is not implemented")) +} + +func (UnimplementedVtctldHandler) ValidateKeyspace(context.Context, *connect.Request[v191.ValidateKeyspaceRequest]) (*connect.Response[v191.ValidateKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) ValidateSchemaKeyspace(context.Context, *connect.Request[v191.ValidateSchemaKeyspaceRequest]) (*connect.Response[v191.ValidateSchemaKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateSchemaKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) ValidateShard(context.Context, *connect.Request[v191.ValidateShardRequest]) (*connect.Response[v191.ValidateShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateShard is not implemented")) +} + +func (UnimplementedVtctldHandler) ValidateVersionKeyspace(context.Context, *connect.Request[v191.ValidateVersionKeyspaceRequest]) (*connect.Response[v191.ValidateVersionKeyspaceResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionKeyspace is not implemented")) +} + +func (UnimplementedVtctldHandler) ValidateVersionShard(context.Context, *connect.Request[v191.ValidateVersionShardRequest]) (*connect.Response[v191.ValidateVersionShardResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVersionShard is not implemented")) +} + +func (UnimplementedVtctldHandler) ValidateVSchema(context.Context, *connect.Request[v191.ValidateVSchemaRequest]) (*connect.Response[v191.ValidateVSchemaResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.ValidateVSchema is not implemented")) +} + +func (UnimplementedVtctldHandler) VDiffCreate(context.Context, *connect.Request[v191.VDiffCreateRequest]) (*connect.Response[v191.VDiffCreateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffCreate is not implemented")) +} + +func (UnimplementedVtctldHandler) VDiffDelete(context.Context, *connect.Request[v191.VDiffDeleteRequest]) (*connect.Response[v191.VDiffDeleteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffDelete is not implemented")) +} + +func (UnimplementedVtctldHandler) VDiffResume(context.Context, *connect.Request[v191.VDiffResumeRequest]) (*connect.Response[v191.VDiffResumeResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffResume is not implemented")) +} + +func (UnimplementedVtctldHandler) VDiffShow(context.Context, *connect.Request[v191.VDiffShowRequest]) (*connect.Response[v191.VDiffShowResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffShow is not implemented")) +} + +func (UnimplementedVtctldHandler) VDiffStop(context.Context, *connect.Request[v191.VDiffStopRequest]) (*connect.Response[v191.VDiffStopResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.VDiffStop is not implemented")) +} + +func (UnimplementedVtctldHandler) WorkflowDelete(context.Context, *connect.Request[v191.WorkflowDeleteRequest]) (*connect.Response[v191.WorkflowDeleteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowDelete is not implemented")) +} + +func (UnimplementedVtctldHandler) WorkflowStatus(context.Context, *connect.Request[v191.WorkflowStatusRequest]) (*connect.Response[v191.WorkflowStatusResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowStatus is not implemented")) +} + +func (UnimplementedVtctldHandler) WorkflowSwitchTraffic(context.Context, *connect.Request[v191.WorkflowSwitchTrafficRequest]) (*connect.Response[v191.WorkflowSwitchTrafficResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowSwitchTraffic is not implemented")) +} + +func (UnimplementedVtctldHandler) WorkflowUpdate(context.Context, *connect.Request[v191.WorkflowUpdateRequest]) (*connect.Response[v191.WorkflowUpdateResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtctlservice.Vtctld.WorkflowUpdate is not implemented")) +} diff --git a/gen/vitess/vtgate/dev/vtgate.pb.go b/gen/vitess/vtgate/dev/vtgate.pb.go index 9412212..632d27b 100644 --- a/gen/vitess/vtgate/dev/vtgate.pb.go +++ b/gen/vitess/vtgate/dev/vtgate.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgate/dev/vtgate.proto @@ -1082,6 +1082,10 @@ type VStreamFlags struct { Cells string `protobuf:"bytes,4,opt,name=cells,proto3" json:"cells,omitempty"` CellPreference string `protobuf:"bytes,5,opt,name=cell_preference,json=cellPreference,proto3" json:"cell_preference,omitempty"` TabletOrder string `protobuf:"bytes,6,opt,name=tablet_order,json=tabletOrder,proto3" json:"tablet_order,omitempty"` + // When set, all new row events from the `heartbeat` table, for all shards, in the sidecardb will be streamed. + StreamKeyspaceHeartbeats bool `protobuf:"varint,7,opt,name=stream_keyspace_heartbeats,json=streamKeyspaceHeartbeats,proto3" json:"stream_keyspace_heartbeats,omitempty"` + // Include reshard journal events in the stream. + IncludeReshardJournalEvents bool `protobuf:"varint,8,opt,name=include_reshard_journal_events,json=includeReshardJournalEvents,proto3" json:"include_reshard_journal_events,omitempty"` } func (x *VStreamFlags) Reset() { @@ -1158,6 +1162,20 @@ func (x *VStreamFlags) GetTabletOrder() string { return "" } +func (x *VStreamFlags) GetStreamKeyspaceHeartbeats() bool { + if x != nil { + return x.StreamKeyspaceHeartbeats + } + return false +} + +func (x *VStreamFlags) GetIncludeReshardJournalEvents() bool { + if x != nil { + return x.IncludeReshardJournalEvents + } + return false +} + // VStreamRequest is the payload for VStream. type VStreamRequest struct { state protoimpl.MessageState @@ -1547,6 +1565,8 @@ type Session_ShardSession struct { // reserved connection if a dedicated connection is needed ReservedId int64 `protobuf:"varint,4,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` VindexOnly bool `protobuf:"varint,5,opt,name=vindex_only,json=vindexOnly,proto3" json:"vindex_only,omitempty"` + // rows_affected tracks if any query has modified the rows. + RowsAffected bool `protobuf:"varint,6,opt,name=rows_affected,json=rowsAffected,proto3" json:"rows_affected,omitempty"` } func (x *Session_ShardSession) Reset() { @@ -1616,6 +1636,13 @@ func (x *Session_ShardSession) GetVindexOnly() bool { return false } +func (x *Session_ShardSession) GetRowsAffected() bool { + if x != nil { + return x.RowsAffected + } + return false +} + var File_vitess_vtgate_dev_vtgate_proto protoreflect.FileDescriptor var file_vitess_vtgate_dev_vtgate_proto_rawDesc = []byte{ @@ -1630,7 +1657,7 @@ var file_vitess_vtgate_dev_vtgate_proto_rawDesc = []byte{ 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x64, 0x65, 0x76, 0x2f, - 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x10, 0x0a, 0x07, + 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x10, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, @@ -1725,7 +1752,7 @@ var file_vitess_vtgate_dev_vtgate_proto_rawDesc = []byte{ 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, - 0xee, 0x01, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x93, 0x02, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, @@ -1740,211 +1767,222 @@ var file_vitess_vtgate_dev_vtgate_proto_rawDesc = []byte{ 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x6e, 0x6c, 0x79, - 0x1a, 0x67, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x56, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 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, - 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, - 0x11, 0x41, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73, 0x41, 0x66, 0x66, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x1a, 0x67, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, + 0x69, 0x6e, 0x65, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x63, - 0x0a, 0x15, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x65, - 0x70, 0x61, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x5d, 0x0a, 0x0b, 0x50, 0x72, 0x65, - 0x70, 0x61, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x70, - 0x61, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x61, - 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x72, - 0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, - 0x67, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x61, 0x64, - 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x47, 0x74, 0x69, 0x64, 0x12, 0x37, - 0x0a, 0x18, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, - 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x15, 0x72, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x67, 0x74, 0x69, 0x64, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, - 0x63, 0x6b, 0x47, 0x74, 0x69, 0x64, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, - 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x4a, 0x04, 0x08, - 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, - 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x73, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xd4, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, - 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, - 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x36, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, - 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, - 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, - 0xbb, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x3b, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x57, 0x69, 0x74, 0x68, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xcb, 0x01, - 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, - 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, - 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x84, 0x01, 0x0a, 0x15, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x34, 0x0a, 0x07, - 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, + 0x0a, 0x14, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, + 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x63, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x76, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x5d, + 0x0a, 0x0b, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, + 0x11, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xac, 0x01, + 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x12, 0x31, 0x0a, 0x15, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, + 0x72, 0x69, 0x74, 0x65, 0x5f, 0x67, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x12, 0x72, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x47, + 0x74, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, + 0x72, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x15, 0x72, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x2e, 0x0a, 0x13, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x67, 0x74, + 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x47, 0x74, 0x69, 0x64, 0x73, 0x22, 0xcb, 0x01, 0x0a, + 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, - 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, - 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xec, 0x01, 0x0a, 0x0c, 0x56, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, - 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x73, 0x6b, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x53, 0x6b, 0x65, 0x77, - 0x12, 0x2d, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x68, 0x65, - 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, - 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4f, 0x6e, - 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x27, 0x0a, - 0x0f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, - 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xad, 0x02, 0x0a, 0x0e, 0x56, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, - 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, - 0x47, 0x74, 0x69, 0x64, 0x52, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x06, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, - 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, - 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x48, 0x0a, 0x0f, 0x56, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, - 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0xaa, 0x01, 0x0a, 0x0f, 0x50, 0x72, - 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, + 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, + 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, + 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xd4, 0x01, + 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, + 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, + 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, + 0x08, 0x07, 0x10, 0x08, 0x22, 0xbb, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, - 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x57, 0x69, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, + 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, + 0x22, 0x84, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, + 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x6f, 0x6c, + 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, + 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0xef, 0x02, 0x0a, 0x0c, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x73, 0x6b, 0x65, + 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, + 0x65, 0x53, 0x6b, 0x65, 0x77, 0x12, 0x2d, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, + 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x11, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x6e, 0x5f, + 0x72, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, + 0x74, 0x6f, 0x70, 0x4f, 0x6e, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, + 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x6c, + 0x6c, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x3c, + 0x0a, 0x1a, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x18, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x1e, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, + 0x6a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52, 0x65, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x22, 0xad, 0x02, 0x0a, 0x0e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x32, 0x0a, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x47, 0x74, 0x69, 0x64, 0x52, 0x05, 0x76, 0x67, + 0x74, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, + 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x66, 0x6c, + 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, + 0x73, 0x22, 0x48, 0x0a, 0x0f, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, + 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x0e, + 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x0a, - 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x22, 0xaa, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2a, 0x44, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, - 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x4c, 0x54, 0x49, - 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x57, 0x4f, 0x50, 0x43, 0x10, 0x03, 0x2a, 0x3c, 0x0a, - 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0a, 0x0a, 0x06, - 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52, 0x45, 0x10, - 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x41, - 0x55, 0x54, 0x4f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x42, 0x45, 0x5a, 0x43, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, - 0x67, 0x61, 0x74, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, + 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x84, + 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x0a, 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2a, + 0x44, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x01, 0x12, + 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x57, + 0x4f, 0x50, 0x43, 0x10, 0x03, 0x2a, 0x3c, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, + 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, + 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x4f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, + 0x54, 0x10, 0x03, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x64, 0x65, 0x76, + 0x3b, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -1961,7 +1999,7 @@ func file_vitess_vtgate_dev_vtgate_proto_rawDescGZIP() []byte { var file_vitess_vtgate_dev_vtgate_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_vitess_vtgate_dev_vtgate_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_vitess_vtgate_dev_vtgate_proto_goTypes = []interface{}{ +var file_vitess_vtgate_dev_vtgate_proto_goTypes = []any{ (TransactionMode)(0), // 0: vitess.vtgate.dev.TransactionMode (CommitOrder)(0), // 1: vitess.vtgate.dev.CommitOrder (*Session)(nil), // 2: vitess.vtgate.dev.Session @@ -2066,7 +2104,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtgate_dev_vtgate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Session); i { case 0: return &v.state @@ -2078,7 +2116,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*PrepareData); i { case 0: return &v.state @@ -2090,7 +2128,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ReadAfterWrite); i { case 0: return &v.state @@ -2102,7 +2140,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -2114,7 +2152,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -2126,7 +2164,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchRequest); i { case 0: return &v.state @@ -2138,7 +2176,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchResponse); i { case 0: return &v.state @@ -2150,7 +2188,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -2162,7 +2200,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -2174,7 +2212,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionRequest); i { case 0: return &v.state @@ -2186,7 +2224,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionResponse); i { case 0: return &v.state @@ -2198,7 +2236,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*VStreamFlags); i { case 0: return &v.state @@ -2210,7 +2248,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -2222,7 +2260,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -2234,7 +2272,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -2246,7 +2284,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -2258,7 +2296,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionRequest); i { case 0: return &v.state @@ -2270,7 +2308,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionResponse); i { case 0: return &v.state @@ -2282,7 +2320,7 @@ func file_vitess_vtgate_dev_vtgate_proto_init() { return nil } } - file_vitess_vtgate_dev_vtgate_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_dev_vtgate_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*Session_ShardSession); i { case 0: return &v.state diff --git a/gen/vitess/vtgate/dev/vtgate_vtproto.pb.go b/gen/vitess/vtgate/dev/vtgate_vtproto.pb.go index d22cb7b..b5c7033 100644 --- a/gen/vitess/vtgate/dev/vtgate_vtproto.pb.go +++ b/gen/vitess/vtgate/dev/vtgate_vtproto.pb.go @@ -55,6 +55,16 @@ func (m *Session_ShardSession) MarshalToSizedBufferVT(dAtA []byte) (int, error) i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.RowsAffected { + i-- + if m.RowsAffected { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } if m.VindexOnly { i-- if m.VindexOnly { @@ -1210,6 +1220,26 @@ func (m *VStreamFlags) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.IncludeReshardJournalEvents { + i-- + if m.IncludeReshardJournalEvents { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.StreamKeyspaceHeartbeats { + i-- + if m.StreamKeyspaceHeartbeats { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } if len(m.TabletOrder) > 0 { i -= len(m.TabletOrder) copy(dAtA[i:], m.TabletOrder) @@ -1772,6 +1802,9 @@ func (m *Session_ShardSession) SizeVT() (n int) { if m.VindexOnly { n += 2 } + if m.RowsAffected { + n += 2 + } n += len(m.unknownFields) return n } @@ -2230,6 +2263,12 @@ func (m *VStreamFlags) SizeVT() (n int) { if l > 0 { n += 1 + l + sov(uint64(l)) } + if m.StreamKeyspaceHeartbeats { + n += 2 + } + if m.IncludeReshardJournalEvents { + n += 2 + } n += len(m.unknownFields) return n } @@ -2598,6 +2637,26 @@ func (m *Session_ShardSession) UnmarshalVT(dAtA []byte) error { } } m.VindexOnly = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowsAffected", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RowsAffected = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) @@ -5371,6 +5430,46 @@ func (m *VStreamFlags) UnmarshalVT(dAtA []byte) error { } m.TabletOrder = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StreamKeyspaceHeartbeats", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StreamKeyspaceHeartbeats = bool(v != 0) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeReshardJournalEvents", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeReshardJournalEvents = bool(v != 0) default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) diff --git a/gen/vitess/vtgate/v16/vtgate.pb.go b/gen/vitess/vtgate/v16/vtgate.pb.go index 0dcc1de..99ef8a3 100644 --- a/gen/vitess/vtgate/v16/vtgate.pb.go +++ b/gen/vitess/vtgate/v16/vtgate.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgate/v16/vtgate.proto @@ -1834,7 +1834,7 @@ func file_vitess_vtgate_v16_vtgate_proto_rawDescGZIP() []byte { var file_vitess_vtgate_v16_vtgate_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_vitess_vtgate_v16_vtgate_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_vitess_vtgate_v16_vtgate_proto_goTypes = []interface{}{ +var file_vitess_vtgate_v16_vtgate_proto_goTypes = []any{ (TransactionMode)(0), // 0: vitess.vtgate.v16.TransactionMode (CommitOrder)(0), // 1: vitess.vtgate.v16.CommitOrder (*Session)(nil), // 2: vitess.vtgate.v16.Session @@ -1934,7 +1934,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtgate_v16_vtgate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Session); i { case 0: return &v.state @@ -1946,7 +1946,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ReadAfterWrite); i { case 0: return &v.state @@ -1958,7 +1958,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -1970,7 +1970,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -1982,7 +1982,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchRequest); i { case 0: return &v.state @@ -1994,7 +1994,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchResponse); i { case 0: return &v.state @@ -2006,7 +2006,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -2018,7 +2018,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -2030,7 +2030,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionRequest); i { case 0: return &v.state @@ -2042,7 +2042,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionResponse); i { case 0: return &v.state @@ -2054,7 +2054,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*VStreamFlags); i { case 0: return &v.state @@ -2066,7 +2066,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -2078,7 +2078,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -2090,7 +2090,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -2102,7 +2102,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -2114,7 +2114,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionRequest); i { case 0: return &v.state @@ -2126,7 +2126,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionResponse); i { case 0: return &v.state @@ -2138,7 +2138,7 @@ func file_vitess_vtgate_v16_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v16_vtgate_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v16_vtgate_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*Session_ShardSession); i { case 0: return &v.state diff --git a/gen/vitess/vtgate/v17/vtgate.pb.go b/gen/vitess/vtgate/v17/vtgate.pb.go index 13e1e21..abb9800 100644 --- a/gen/vitess/vtgate/v17/vtgate.pb.go +++ b/gen/vitess/vtgate/v17/vtgate.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgate/v17/vtgate.proto @@ -1949,7 +1949,7 @@ func file_vitess_vtgate_v17_vtgate_proto_rawDescGZIP() []byte { var file_vitess_vtgate_v17_vtgate_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_vitess_vtgate_v17_vtgate_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_vitess_vtgate_v17_vtgate_proto_goTypes = []interface{}{ +var file_vitess_vtgate_v17_vtgate_proto_goTypes = []any{ (TransactionMode)(0), // 0: vitess.vtgate.v17.TransactionMode (CommitOrder)(0), // 1: vitess.vtgate.v17.CommitOrder (*Session)(nil), // 2: vitess.vtgate.v17.Session @@ -2054,7 +2054,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtgate_v17_vtgate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Session); i { case 0: return &v.state @@ -2066,7 +2066,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*PrepareData); i { case 0: return &v.state @@ -2078,7 +2078,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ReadAfterWrite); i { case 0: return &v.state @@ -2090,7 +2090,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -2102,7 +2102,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -2114,7 +2114,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchRequest); i { case 0: return &v.state @@ -2126,7 +2126,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchResponse); i { case 0: return &v.state @@ -2138,7 +2138,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -2150,7 +2150,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -2162,7 +2162,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionRequest); i { case 0: return &v.state @@ -2174,7 +2174,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionResponse); i { case 0: return &v.state @@ -2186,7 +2186,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*VStreamFlags); i { case 0: return &v.state @@ -2198,7 +2198,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -2210,7 +2210,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -2222,7 +2222,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -2234,7 +2234,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -2246,7 +2246,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionRequest); i { case 0: return &v.state @@ -2258,7 +2258,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionResponse); i { case 0: return &v.state @@ -2270,7 +2270,7 @@ func file_vitess_vtgate_v17_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v17_vtgate_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v17_vtgate_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*Session_ShardSession); i { case 0: return &v.state diff --git a/gen/vitess/vtgate/v18/vtgate.pb.go b/gen/vitess/vtgate/v18/vtgate.pb.go index ee8e203..79eba86 100644 --- a/gen/vitess/vtgate/v18/vtgate.pb.go +++ b/gen/vitess/vtgate/v18/vtgate.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgate/v18/vtgate.proto @@ -1961,7 +1961,7 @@ func file_vitess_vtgate_v18_vtgate_proto_rawDescGZIP() []byte { var file_vitess_vtgate_v18_vtgate_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_vitess_vtgate_v18_vtgate_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_vitess_vtgate_v18_vtgate_proto_goTypes = []interface{}{ +var file_vitess_vtgate_v18_vtgate_proto_goTypes = []any{ (TransactionMode)(0), // 0: vitess.vtgate.v18.TransactionMode (CommitOrder)(0), // 1: vitess.vtgate.v18.CommitOrder (*Session)(nil), // 2: vitess.vtgate.v18.Session @@ -2066,7 +2066,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtgate_v18_vtgate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Session); i { case 0: return &v.state @@ -2078,7 +2078,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*PrepareData); i { case 0: return &v.state @@ -2090,7 +2090,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ReadAfterWrite); i { case 0: return &v.state @@ -2102,7 +2102,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ExecuteRequest); i { case 0: return &v.state @@ -2114,7 +2114,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ExecuteResponse); i { case 0: return &v.state @@ -2126,7 +2126,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchRequest); i { case 0: return &v.state @@ -2138,7 +2138,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ExecuteBatchResponse); i { case 0: return &v.state @@ -2150,7 +2150,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteRequest); i { case 0: return &v.state @@ -2162,7 +2162,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*StreamExecuteResponse); i { case 0: return &v.state @@ -2174,7 +2174,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionRequest); i { case 0: return &v.state @@ -2186,7 +2186,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ResolveTransactionResponse); i { case 0: return &v.state @@ -2198,7 +2198,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*VStreamFlags); i { case 0: return &v.state @@ -2210,7 +2210,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*VStreamRequest); i { case 0: return &v.state @@ -2222,7 +2222,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*VStreamResponse); i { case 0: return &v.state @@ -2234,7 +2234,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*PrepareRequest); i { case 0: return &v.state @@ -2246,7 +2246,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*PrepareResponse); i { case 0: return &v.state @@ -2258,7 +2258,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionRequest); i { case 0: return &v.state @@ -2270,7 +2270,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*CloseSessionResponse); i { case 0: return &v.state @@ -2282,7 +2282,7 @@ func file_vitess_vtgate_v18_vtgate_proto_init() { return nil } } - file_vitess_vtgate_v18_vtgate_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtgate_v18_vtgate_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*Session_ShardSession); i { case 0: return &v.state diff --git a/gen/vitess/vtgate/v19/vtgate.pb.go b/gen/vitess/vtgate/v19/vtgate.pb.go new file mode 100644 index 0000000..c4e7809 --- /dev/null +++ b/gen/vitess/vtgate/v19/vtgate.pb.go @@ -0,0 +1,2317 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// Data definitions for service vtgateservice. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vtgate/v19/vtgate.proto + +package vtgatev19 + +import ( + v193 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// TransactionMode controls the execution of distributed transaction +// across multiple shards. +type TransactionMode int32 + +const ( + // UNSPECIFIED uses the transaction mode set by the VTGate flag 'transaction_mode'. + TransactionMode_UNSPECIFIED TransactionMode = 0 + // SINGLE disallows distributed transactions. + TransactionMode_SINGLE TransactionMode = 1 + // MULTI allows distributed transactions with best effort commit. + TransactionMode_MULTI TransactionMode = 2 + // TWOPC is for distributed transactions with atomic commits. + TransactionMode_TWOPC TransactionMode = 3 +) + +// Enum value maps for TransactionMode. +var ( + TransactionMode_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "SINGLE", + 2: "MULTI", + 3: "TWOPC", + } + TransactionMode_value = map[string]int32{ + "UNSPECIFIED": 0, + "SINGLE": 1, + "MULTI": 2, + "TWOPC": 3, + } +) + +func (x TransactionMode) Enum() *TransactionMode { + p := new(TransactionMode) + *p = x + return p +} + +func (x TransactionMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TransactionMode) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtgate_v19_vtgate_proto_enumTypes[0].Descriptor() +} + +func (TransactionMode) Type() protoreflect.EnumType { + return &file_vitess_vtgate_v19_vtgate_proto_enumTypes[0] +} + +func (x TransactionMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TransactionMode.Descriptor instead. +func (TransactionMode) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{0} +} + +// CommitOrder is used to designate which of the ShardSessions +// get used for transactions. +type CommitOrder int32 + +const ( + // NORMAL is the default commit order. + CommitOrder_NORMAL CommitOrder = 0 + // PRE is used to designate pre_sessions. + CommitOrder_PRE CommitOrder = 1 + // POST is used to designate post_sessions. + CommitOrder_POST CommitOrder = 2 + // AUTOCOMMIT is used to run the statement as autocommitted transaction. + CommitOrder_AUTOCOMMIT CommitOrder = 3 +) + +// Enum value maps for CommitOrder. +var ( + CommitOrder_name = map[int32]string{ + 0: "NORMAL", + 1: "PRE", + 2: "POST", + 3: "AUTOCOMMIT", + } + CommitOrder_value = map[string]int32{ + "NORMAL": 0, + "PRE": 1, + "POST": 2, + "AUTOCOMMIT": 3, + } +) + +func (x CommitOrder) Enum() *CommitOrder { + p := new(CommitOrder) + *p = x + return p +} + +func (x CommitOrder) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CommitOrder) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtgate_v19_vtgate_proto_enumTypes[1].Descriptor() +} + +func (CommitOrder) Type() protoreflect.EnumType { + return &file_vitess_vtgate_v19_vtgate_proto_enumTypes[1] +} + +func (x CommitOrder) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CommitOrder.Descriptor instead. +func (CommitOrder) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{1} +} + +// Session objects are exchanged like cookies through various +// calls to VTGate. The behavior differs between V2 & V3 APIs. +// V3 APIs are Execute, ExecuteBatch and StreamExecute. All +// other APIs are V2. For the V3 APIs, the session +// must be sent with every call to Execute or ExecuteBatch. +// For the V2 APIs, Begin does not accept a session. It instead +// returns a brand new one with in_transaction set to true. +// After a call to Commit or Rollback, the session can be +// discarded. If you're not in a transaction, Session is +// an optional parameter for the V2 APIs. +type Session struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // in_transaction is set to true if the session is in a transaction. + InTransaction bool `protobuf:"varint,1,opt,name=in_transaction,json=inTransaction,proto3" json:"in_transaction,omitempty"` + // shard_sessions keep track of per-shard transaction info. + ShardSessions []*Session_ShardSession `protobuf:"bytes,2,rep,name=shard_sessions,json=shardSessions,proto3" json:"shard_sessions,omitempty"` + // autocommit specifies if the session is in autocommit mode. + // This is used only for V3. + Autocommit bool `protobuf:"varint,4,opt,name=autocommit,proto3" json:"autocommit,omitempty"` + // target_string is the target expressed as a string. Valid + // names are: keyspace:shard@target, keyspace@target or @target. + // This is used only for V3. + TargetString string `protobuf:"bytes,5,opt,name=target_string,json=targetString,proto3" json:"target_string,omitempty"` + // options is used only for V3. + Options *v19.ExecuteOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` + // transaction_mode specifies the current transaction mode. + TransactionMode TransactionMode `protobuf:"varint,7,opt,name=transaction_mode,json=transactionMode,proto3,enum=vitess.vtgate.v19.TransactionMode" json:"transaction_mode,omitempty"` + // warnings contains non-fatal warnings from the previous query + Warnings []*v19.QueryWarning `protobuf:"bytes,8,rep,name=warnings,proto3" json:"warnings,omitempty"` + // pre_sessions contains sessions that have to be committed first. + PreSessions []*Session_ShardSession `protobuf:"bytes,9,rep,name=pre_sessions,json=preSessions,proto3" json:"pre_sessions,omitempty"` + // post_sessions contains sessions that have to be committed last. + PostSessions []*Session_ShardSession `protobuf:"bytes,10,rep,name=post_sessions,json=postSessions,proto3" json:"post_sessions,omitempty"` + // last_insert_id keeps track of the last seen insert_id for this session + LastInsertId uint64 `protobuf:"varint,11,opt,name=last_insert_id,json=lastInsertId,proto3" json:"last_insert_id,omitempty"` + // found_rows keeps track of how many rows the last query returned + FoundRows uint64 `protobuf:"varint,12,opt,name=found_rows,json=foundRows,proto3" json:"found_rows,omitempty"` + // user_defined_variables contains all the @variables defined for this session + UserDefinedVariables map[string]*v19.BindVariable `protobuf:"bytes,13,rep,name=user_defined_variables,json=userDefinedVariables,proto3" json:"user_defined_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // system_variables keeps track of all session variables set for this connection + // TODO: systay should we keep this so we can apply it ordered? + SystemVariables map[string]string `protobuf:"bytes,14,rep,name=system_variables,json=systemVariables,proto3" json:"system_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // row_count keeps track of the last seen rows affected for this session + RowCount int64 `protobuf:"varint,15,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` + // Stores savepoint and release savepoint calls inside a transaction + // and is reset once transaction is committed or rolled back. + Savepoints []string `protobuf:"bytes,16,rep,name=savepoints,proto3" json:"savepoints,omitempty"` + // in_reserved_conn is set to true if the session should be using reserved connections. + InReservedConn bool `protobuf:"varint,17,opt,name=in_reserved_conn,json=inReservedConn,proto3" json:"in_reserved_conn,omitempty"` + // lock_session keep tracks of shard on which the lock query is sent. + LockSession *Session_ShardSession `protobuf:"bytes,18,opt,name=lock_session,json=lockSession,proto3" json:"lock_session,omitempty"` + // last_lock_heartbeat keep tracks of when last lock heartbeat was sent. + LastLockHeartbeat int64 `protobuf:"varint,19,opt,name=last_lock_heartbeat,json=lastLockHeartbeat,proto3" json:"last_lock_heartbeat,omitempty"` + // read_after_write tracks the ReadAfterWrite settings for this session. + ReadAfterWrite *ReadAfterWrite `protobuf:"bytes,20,opt,name=read_after_write,json=readAfterWrite,proto3" json:"read_after_write,omitempty"` + // DDL strategy + DDLStrategy string `protobuf:"bytes,21,opt,name=DDLStrategy,proto3" json:"DDLStrategy,omitempty"` + // Session UUID + SessionUUID string `protobuf:"bytes,22,opt,name=SessionUUID,proto3" json:"SessionUUID,omitempty"` + // enable_system_settings defines if we can use reserved connections. + EnableSystemSettings bool `protobuf:"varint,23,opt,name=enable_system_settings,json=enableSystemSettings,proto3" json:"enable_system_settings,omitempty"` + AdvisoryLock map[string]int64 `protobuf:"bytes,24,rep,name=advisory_lock,json=advisoryLock,proto3" json:"advisory_lock,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // query_timeout is the maximum amount of time a query is permitted to run + QueryTimeout int64 `protobuf:"varint,25,opt,name=query_timeout,json=queryTimeout,proto3" json:"query_timeout,omitempty"` + PrepareStatement map[string]*PrepareData `protobuf:"bytes,26,rep,name=prepare_statement,json=prepareStatement,proto3" json:"prepare_statement,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // MigrationContext + MigrationContext string `protobuf:"bytes,27,opt,name=migration_context,json=migrationContext,proto3" json:"migration_context,omitempty"` +} + +func (x *Session) Reset() { + *x = Session{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Session) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Session) ProtoMessage() {} + +func (x *Session) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Session.ProtoReflect.Descriptor instead. +func (*Session) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{0} +} + +func (x *Session) GetInTransaction() bool { + if x != nil { + return x.InTransaction + } + return false +} + +func (x *Session) GetShardSessions() []*Session_ShardSession { + if x != nil { + return x.ShardSessions + } + return nil +} + +func (x *Session) GetAutocommit() bool { + if x != nil { + return x.Autocommit + } + return false +} + +func (x *Session) GetTargetString() string { + if x != nil { + return x.TargetString + } + return "" +} + +func (x *Session) GetOptions() *v19.ExecuteOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *Session) GetTransactionMode() TransactionMode { + if x != nil { + return x.TransactionMode + } + return TransactionMode_UNSPECIFIED +} + +func (x *Session) GetWarnings() []*v19.QueryWarning { + if x != nil { + return x.Warnings + } + return nil +} + +func (x *Session) GetPreSessions() []*Session_ShardSession { + if x != nil { + return x.PreSessions + } + return nil +} + +func (x *Session) GetPostSessions() []*Session_ShardSession { + if x != nil { + return x.PostSessions + } + return nil +} + +func (x *Session) GetLastInsertId() uint64 { + if x != nil { + return x.LastInsertId + } + return 0 +} + +func (x *Session) GetFoundRows() uint64 { + if x != nil { + return x.FoundRows + } + return 0 +} + +func (x *Session) GetUserDefinedVariables() map[string]*v19.BindVariable { + if x != nil { + return x.UserDefinedVariables + } + return nil +} + +func (x *Session) GetSystemVariables() map[string]string { + if x != nil { + return x.SystemVariables + } + return nil +} + +func (x *Session) GetRowCount() int64 { + if x != nil { + return x.RowCount + } + return 0 +} + +func (x *Session) GetSavepoints() []string { + if x != nil { + return x.Savepoints + } + return nil +} + +func (x *Session) GetInReservedConn() bool { + if x != nil { + return x.InReservedConn + } + return false +} + +func (x *Session) GetLockSession() *Session_ShardSession { + if x != nil { + return x.LockSession + } + return nil +} + +func (x *Session) GetLastLockHeartbeat() int64 { + if x != nil { + return x.LastLockHeartbeat + } + return 0 +} + +func (x *Session) GetReadAfterWrite() *ReadAfterWrite { + if x != nil { + return x.ReadAfterWrite + } + return nil +} + +func (x *Session) GetDDLStrategy() string { + if x != nil { + return x.DDLStrategy + } + return "" +} + +func (x *Session) GetSessionUUID() string { + if x != nil { + return x.SessionUUID + } + return "" +} + +func (x *Session) GetEnableSystemSettings() bool { + if x != nil { + return x.EnableSystemSettings + } + return false +} + +func (x *Session) GetAdvisoryLock() map[string]int64 { + if x != nil { + return x.AdvisoryLock + } + return nil +} + +func (x *Session) GetQueryTimeout() int64 { + if x != nil { + return x.QueryTimeout + } + return 0 +} + +func (x *Session) GetPrepareStatement() map[string]*PrepareData { + if x != nil { + return x.PrepareStatement + } + return nil +} + +func (x *Session) GetMigrationContext() string { + if x != nil { + return x.MigrationContext + } + return "" +} + +// PrepareData keeps the prepared statement and other information related for execution of it. +type PrepareData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PrepareStatement string `protobuf:"bytes,1,opt,name=prepare_statement,json=prepareStatement,proto3" json:"prepare_statement,omitempty"` + ParamsCount int32 `protobuf:"varint,2,opt,name=params_count,json=paramsCount,proto3" json:"params_count,omitempty"` +} + +func (x *PrepareData) Reset() { + *x = PrepareData{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrepareData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrepareData) ProtoMessage() {} + +func (x *PrepareData) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrepareData.ProtoReflect.Descriptor instead. +func (*PrepareData) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{1} +} + +func (x *PrepareData) GetPrepareStatement() string { + if x != nil { + return x.PrepareStatement + } + return "" +} + +func (x *PrepareData) GetParamsCount() int32 { + if x != nil { + return x.ParamsCount + } + return 0 +} + +// ReadAfterWrite contains information regarding gtid set and timeout +// Also if the gtid information needs to be passed to client. +type ReadAfterWrite struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReadAfterWriteGtid string `protobuf:"bytes,1,opt,name=read_after_write_gtid,json=readAfterWriteGtid,proto3" json:"read_after_write_gtid,omitempty"` + ReadAfterWriteTimeout float64 `protobuf:"fixed64,2,opt,name=read_after_write_timeout,json=readAfterWriteTimeout,proto3" json:"read_after_write_timeout,omitempty"` + SessionTrackGtids bool `protobuf:"varint,3,opt,name=session_track_gtids,json=sessionTrackGtids,proto3" json:"session_track_gtids,omitempty"` +} + +func (x *ReadAfterWrite) Reset() { + *x = ReadAfterWrite{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadAfterWrite) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadAfterWrite) ProtoMessage() {} + +func (x *ReadAfterWrite) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadAfterWrite.ProtoReflect.Descriptor instead. +func (*ReadAfterWrite) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{2} +} + +func (x *ReadAfterWrite) GetReadAfterWriteGtid() string { + if x != nil { + return x.ReadAfterWriteGtid + } + return "" +} + +func (x *ReadAfterWrite) GetReadAfterWriteTimeout() float64 { + if x != nil { + return x.ReadAfterWriteTimeout + } + return 0 +} + +func (x *ReadAfterWrite) GetSessionTrackGtids() bool { + if x != nil { + return x.SessionTrackGtids + } + return false +} + +// ExecuteRequest is the payload to Execute. +type ExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v191.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + // session carries the session state. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` + // query is the query and bind variables to execute. + Query *v19.BoundQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` +} + +func (x *ExecuteRequest) Reset() { + *x = ExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteRequest) ProtoMessage() {} + +func (x *ExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead. +func (*ExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{3} +} + +func (x *ExecuteRequest) GetCallerId() *v191.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *ExecuteRequest) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +func (x *ExecuteRequest) GetQuery() *v19.BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +// ExecuteResponse is the returned value from Execute. +type ExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + // session is the updated session information. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` + // result contains the query result, only set if error is unset. + Result *v19.QueryResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *ExecuteResponse) Reset() { + *x = ExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteResponse) ProtoMessage() {} + +func (x *ExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead. +func (*ExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{4} +} + +func (x *ExecuteResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *ExecuteResponse) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +func (x *ExecuteResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +// ExecuteBatchRequest is the payload to ExecuteBatch. +type ExecuteBatchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v191.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + // session carries the session state. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` + // queries is a list of query and bind variables to execute. + Queries []*v19.BoundQuery `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"` +} + +func (x *ExecuteBatchRequest) Reset() { + *x = ExecuteBatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteBatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteBatchRequest) ProtoMessage() {} + +func (x *ExecuteBatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteBatchRequest.ProtoReflect.Descriptor instead. +func (*ExecuteBatchRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{5} +} + +func (x *ExecuteBatchRequest) GetCallerId() *v191.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *ExecuteBatchRequest) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +func (x *ExecuteBatchRequest) GetQueries() []*v19.BoundQuery { + if x != nil { + return x.Queries + } + return nil +} + +// ExecuteBatchResponse is the returned value from ExecuteBatch. +type ExecuteBatchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + // session is the updated session information. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` + // results contains the query results, only set if application level error is unset. + Results []*v19.ResultWithError `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"` +} + +func (x *ExecuteBatchResponse) Reset() { + *x = ExecuteBatchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteBatchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteBatchResponse) ProtoMessage() {} + +func (x *ExecuteBatchResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteBatchResponse.ProtoReflect.Descriptor instead. +func (*ExecuteBatchResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{6} +} + +func (x *ExecuteBatchResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *ExecuteBatchResponse) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +func (x *ExecuteBatchResponse) GetResults() []*v19.ResultWithError { + if x != nil { + return x.Results + } + return nil +} + +// StreamExecuteRequest is the payload to StreamExecute. +type StreamExecuteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v191.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + // query is the query and bind variables to execute. + Query *v19.BoundQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + // session carries the session state. + Session *Session `protobuf:"bytes,6,opt,name=session,proto3" json:"session,omitempty"` +} + +func (x *StreamExecuteRequest) Reset() { + *x = StreamExecuteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamExecuteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamExecuteRequest) ProtoMessage() {} + +func (x *StreamExecuteRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamExecuteRequest.ProtoReflect.Descriptor instead. +func (*StreamExecuteRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{7} +} + +func (x *StreamExecuteRequest) GetCallerId() *v191.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *StreamExecuteRequest) GetQuery() *v19.BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *StreamExecuteRequest) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +// StreamExecuteResponse is the returned value from StreamExecute. +// The session is currently not returned because StreamExecute is +// not expected to modify it. +type StreamExecuteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // result contains the result data. + // The first value contains only Fields information. + // The next values contain the actual rows, a few values per result. + Result *v19.QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + // session is the updated session information. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` +} + +func (x *StreamExecuteResponse) Reset() { + *x = StreamExecuteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StreamExecuteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StreamExecuteResponse) ProtoMessage() {} + +func (x *StreamExecuteResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StreamExecuteResponse.ProtoReflect.Descriptor instead. +func (*StreamExecuteResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{8} +} + +func (x *StreamExecuteResponse) GetResult() *v19.QueryResult { + if x != nil { + return x.Result + } + return nil +} + +func (x *StreamExecuteResponse) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +// ResolveTransactionRequest is the payload to ResolveTransaction. +type ResolveTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v191.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + // dtid is the dtid of the transaction to be resolved. + Dtid string `protobuf:"bytes,2,opt,name=dtid,proto3" json:"dtid,omitempty"` +} + +func (x *ResolveTransactionRequest) Reset() { + *x = ResolveTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResolveTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveTransactionRequest) ProtoMessage() {} + +func (x *ResolveTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveTransactionRequest.ProtoReflect.Descriptor instead. +func (*ResolveTransactionRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{9} +} + +func (x *ResolveTransactionRequest) GetCallerId() *v191.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *ResolveTransactionRequest) GetDtid() string { + if x != nil { + return x.Dtid + } + return "" +} + +// ResolveTransactionResponse is the returned value from Rollback. +type ResolveTransactionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ResolveTransactionResponse) Reset() { + *x = ResolveTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResolveTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveTransactionResponse) ProtoMessage() {} + +func (x *ResolveTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveTransactionResponse.ProtoReflect.Descriptor instead. +func (*ResolveTransactionResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{10} +} + +type VStreamFlags struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // align streams + MinimizeSkew bool `protobuf:"varint,1,opt,name=minimize_skew,json=minimizeSkew,proto3" json:"minimize_skew,omitempty"` + // how often heartbeats must be sent when idle (seconds) + HeartbeatInterval uint32 `protobuf:"varint,2,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` + // stop streams on a reshard (journal event) + StopOnReshard bool `protobuf:"varint,3,opt,name=stop_on_reshard,json=stopOnReshard,proto3" json:"stop_on_reshard,omitempty"` + // if specified, these cells (comma-separated) are used to pick source tablets from. + // defaults to the cell of the vtgate serving the VStream API. + Cells string `protobuf:"bytes,4,opt,name=cells,proto3" json:"cells,omitempty"` + CellPreference string `protobuf:"bytes,5,opt,name=cell_preference,json=cellPreference,proto3" json:"cell_preference,omitempty"` + TabletOrder string `protobuf:"bytes,6,opt,name=tablet_order,json=tabletOrder,proto3" json:"tablet_order,omitempty"` +} + +func (x *VStreamFlags) Reset() { + *x = VStreamFlags{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamFlags) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamFlags) ProtoMessage() {} + +func (x *VStreamFlags) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamFlags.ProtoReflect.Descriptor instead. +func (*VStreamFlags) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{11} +} + +func (x *VStreamFlags) GetMinimizeSkew() bool { + if x != nil { + return x.MinimizeSkew + } + return false +} + +func (x *VStreamFlags) GetHeartbeatInterval() uint32 { + if x != nil { + return x.HeartbeatInterval + } + return 0 +} + +func (x *VStreamFlags) GetStopOnReshard() bool { + if x != nil { + return x.StopOnReshard + } + return false +} + +func (x *VStreamFlags) GetCells() string { + if x != nil { + return x.Cells + } + return "" +} + +func (x *VStreamFlags) GetCellPreference() string { + if x != nil { + return x.CellPreference + } + return "" +} + +func (x *VStreamFlags) GetTabletOrder() string { + if x != nil { + return x.TabletOrder + } + return "" +} + +// VStreamRequest is the payload for VStream. +type VStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallerId *v191.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + TabletType v192.TabletType `protobuf:"varint,2,opt,name=tablet_type,json=tabletType,proto3,enum=vitess.topodata.v19.TabletType" json:"tablet_type,omitempty"` + // position specifies the starting point of the bin log positions + // as well as the keyspace-shards to pull events from. + // position is of the form 'ks1:0@MySQL56/|ks2:-80@MySQL56/'. + Vgtid *v193.VGtid `protobuf:"bytes,3,opt,name=vgtid,proto3" json:"vgtid,omitempty"` + Filter *v193.Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + Flags *VStreamFlags `protobuf:"bytes,5,opt,name=flags,proto3" json:"flags,omitempty"` +} + +func (x *VStreamRequest) Reset() { + *x = VStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamRequest) ProtoMessage() {} + +func (x *VStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamRequest.ProtoReflect.Descriptor instead. +func (*VStreamRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{12} +} + +func (x *VStreamRequest) GetCallerId() *v191.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *VStreamRequest) GetTabletType() v192.TabletType { + if x != nil { + return x.TabletType + } + return v192.TabletType(0) +} + +func (x *VStreamRequest) GetVgtid() *v193.VGtid { + if x != nil { + return x.Vgtid + } + return nil +} + +func (x *VStreamRequest) GetFilter() *v193.Filter { + if x != nil { + return x.Filter + } + return nil +} + +func (x *VStreamRequest) GetFlags() *VStreamFlags { + if x != nil { + return x.Flags + } + return nil +} + +// VStreamResponse is streamed by VStream. +type VStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*v193.VEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *VStreamResponse) Reset() { + *x = VStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VStreamResponse) ProtoMessage() {} + +func (x *VStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VStreamResponse.ProtoReflect.Descriptor instead. +func (*VStreamResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{13} +} + +func (x *VStreamResponse) GetEvents() []*v193.VEvent { + if x != nil { + return x.Events + } + return nil +} + +// PrepareRequest is the payload to Prepare. +type PrepareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v191.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + // session carries the session state. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` + // query is the query and bind variables to execute. + Query *v19.BoundQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` +} + +func (x *PrepareRequest) Reset() { + *x = PrepareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrepareRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrepareRequest) ProtoMessage() {} + +func (x *PrepareRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead. +func (*PrepareRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{14} +} + +func (x *PrepareRequest) GetCallerId() *v191.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *PrepareRequest) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +func (x *PrepareRequest) GetQuery() *v19.BoundQuery { + if x != nil { + return x.Query + } + return nil +} + +// PrepareResponse is the returned value from Prepare. +type PrepareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + // session is the updated session information. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` + // fields contains the fields, only set if error is unset. + Fields []*v19.Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` +} + +func (x *PrepareResponse) Reset() { + *x = PrepareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrepareResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrepareResponse) ProtoMessage() {} + +func (x *PrepareResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead. +func (*PrepareResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{15} +} + +func (x *PrepareResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +func (x *PrepareResponse) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +func (x *PrepareResponse) GetFields() []*v19.Field { + if x != nil { + return x.Fields + } + return nil +} + +// CloseSessionRequest is the payload to CloseSession. +type CloseSessionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + CallerId *v191.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` + // session carries the session state. + Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` +} + +func (x *CloseSessionRequest) Reset() { + *x = CloseSessionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseSessionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseSessionRequest) ProtoMessage() {} + +func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseSessionRequest.ProtoReflect.Descriptor instead. +func (*CloseSessionRequest) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{16} +} + +func (x *CloseSessionRequest) GetCallerId() *v191.CallerID { + if x != nil { + return x.CallerId + } + return nil +} + +func (x *CloseSessionRequest) GetSession() *Session { + if x != nil { + return x.Session + } + return nil +} + +// CloseSessionResponse is the returned value from CloseSession. +type CloseSessionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + Error *v191.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *CloseSessionResponse) Reset() { + *x = CloseSessionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseSessionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseSessionResponse) ProtoMessage() {} + +func (x *CloseSessionResponse) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseSessionResponse.ProtoReflect.Descriptor instead. +func (*CloseSessionResponse) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{17} +} + +func (x *CloseSessionResponse) GetError() *v191.RPCError { + if x != nil { + return x.Error + } + return nil +} + +type Session_ShardSession struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Target *v19.Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + TransactionId int64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TabletAlias *v192.TabletAlias `protobuf:"bytes,3,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` + // reserved connection if a dedicated connection is needed + ReservedId int64 `protobuf:"varint,4,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` + VindexOnly bool `protobuf:"varint,5,opt,name=vindex_only,json=vindexOnly,proto3" json:"vindex_only,omitempty"` +} + +func (x *Session_ShardSession) Reset() { + *x = Session_ShardSession{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Session_ShardSession) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Session_ShardSession) ProtoMessage() {} + +func (x *Session_ShardSession) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtgate_v19_vtgate_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Session_ShardSession.ProtoReflect.Descriptor instead. +func (*Session_ShardSession) Descriptor() ([]byte, []int) { + return file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *Session_ShardSession) GetTarget() *v19.Target { + if x != nil { + return x.Target + } + return nil +} + +func (x *Session_ShardSession) GetTransactionId() int64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *Session_ShardSession) GetTabletAlias() *v192.TabletAlias { + if x != nil { + return x.TabletAlias + } + return nil +} + +func (x *Session_ShardSession) GetReservedId() int64 { + if x != nil { + return x.ReservedId + } + return 0 +} + +func (x *Session_ShardSession) GetVindexOnly() bool { + if x != nil { + return x.VindexOnly + } + return false +} + +var File_vitess_vtgate_v19_vtgate_proto protoreflect.FileDescriptor + +var file_vitess_vtgate_v19_vtgate_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2f, + 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x11, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, + 0x76, 0x31, 0x39, 0x1a, 0x26, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x62, 0x69, 0x6e, 0x6c, + 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, + 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2f, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x74, + 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x39, 0x2f, + 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x10, 0x0a, 0x07, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x5f, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, + 0x0a, 0x0e, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x0d, 0x73, 0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, + 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x12, 0x3a, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x4d, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, + 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0f, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x3a, + 0x0a, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, + 0x52, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4a, 0x0a, 0x0c, 0x70, 0x72, + 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x74, 0x53, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x73, + 0x65, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6c, 0x61, + 0x73, 0x74, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x6f, + 0x75, 0x6e, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, + 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x6a, 0x0a, 0x16, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, + 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x14, 0x75, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x56, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, + 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, + 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, + 0x0a, 0x0a, 0x73, 0x61, 0x76, 0x65, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x73, 0x61, 0x76, 0x65, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x28, + 0x0a, 0x10, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x6f, + 0x6e, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x12, 0x4a, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x72, 0x74, + 0x62, 0x65, 0x61, 0x74, 0x12, 0x4b, 0x0a, 0x10, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x44, 0x4c, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, + 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x44, 0x4c, 0x53, 0x74, 0x72, 0x61, 0x74, + 0x65, 0x67, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x55, + 0x49, 0x44, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x55, 0x55, 0x49, 0x44, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, + 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x51, 0x0a, 0x0d, 0x61, + 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x18, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, + 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x41, + 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0c, 0x61, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x23, + 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, + 0x19, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, + 0x6f, 0x75, 0x74, 0x12, 0x5d, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, + 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, + 0xee, 0x01, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x30, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x76, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x6e, 0x6c, 0x79, + 0x1a, 0x67, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x56, + 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 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, + 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 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, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, + 0x11, 0x41, 0x64, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x63, + 0x0a, 0x15, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x5d, 0x0a, 0x0b, 0x50, 0x72, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x61, + 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x72, + 0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, + 0x67, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x61, 0x64, + 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, 0x47, 0x74, 0x69, 0x64, 0x12, 0x37, + 0x0a, 0x18, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x69, + 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x15, 0x72, 0x65, 0x61, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x67, 0x74, 0x69, 0x64, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, + 0x63, 0x6b, 0x47, 0x74, 0x69, 0x64, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, + 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, + 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, 0x43, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xd4, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, + 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x36, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, + 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, + 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, + 0xbb, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x3b, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x57, 0x69, 0x74, 0x68, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xcb, 0x01, + 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, + 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x84, 0x01, 0x0a, 0x15, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x34, 0x0a, 0x07, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, + 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xec, 0x01, 0x0a, 0x0c, 0x56, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, + 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x73, 0x6b, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x53, 0x6b, 0x65, 0x77, + 0x12, 0x2d, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x68, 0x65, + 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, + 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x68, 0x61, + 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4f, 0x6e, + 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x27, 0x0a, + 0x0f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x6c, 0x6c, 0x50, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, + 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xad, 0x02, 0x0a, 0x0e, 0x56, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, + 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, + 0x47, 0x74, 0x69, 0x64, 0x52, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x06, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, + 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x48, 0x0a, 0x0f, 0x56, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0xaa, 0x01, 0x0a, 0x0f, 0x50, 0x72, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, + 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x0a, + 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2a, 0x44, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, + 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x4c, 0x54, 0x49, + 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x57, 0x4f, 0x50, 0x43, 0x10, 0x03, 0x2a, 0x3c, 0x0a, + 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0a, 0x0a, 0x06, + 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52, 0x45, 0x10, + 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x41, + 0x55, 0x54, 0x4f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x42, 0x45, 0x5a, 0x43, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, + 0x67, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x76, + 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_vtgate_v19_vtgate_proto_rawDescOnce sync.Once + file_vitess_vtgate_v19_vtgate_proto_rawDescData = file_vitess_vtgate_v19_vtgate_proto_rawDesc +) + +func file_vitess_vtgate_v19_vtgate_proto_rawDescGZIP() []byte { + file_vitess_vtgate_v19_vtgate_proto_rawDescOnce.Do(func() { + file_vitess_vtgate_v19_vtgate_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_vtgate_v19_vtgate_proto_rawDescData) + }) + return file_vitess_vtgate_v19_vtgate_proto_rawDescData +} + +var file_vitess_vtgate_v19_vtgate_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_vitess_vtgate_v19_vtgate_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_vitess_vtgate_v19_vtgate_proto_goTypes = []any{ + (TransactionMode)(0), // 0: vitess.vtgate.v19.TransactionMode + (CommitOrder)(0), // 1: vitess.vtgate.v19.CommitOrder + (*Session)(nil), // 2: vitess.vtgate.v19.Session + (*PrepareData)(nil), // 3: vitess.vtgate.v19.PrepareData + (*ReadAfterWrite)(nil), // 4: vitess.vtgate.v19.ReadAfterWrite + (*ExecuteRequest)(nil), // 5: vitess.vtgate.v19.ExecuteRequest + (*ExecuteResponse)(nil), // 6: vitess.vtgate.v19.ExecuteResponse + (*ExecuteBatchRequest)(nil), // 7: vitess.vtgate.v19.ExecuteBatchRequest + (*ExecuteBatchResponse)(nil), // 8: vitess.vtgate.v19.ExecuteBatchResponse + (*StreamExecuteRequest)(nil), // 9: vitess.vtgate.v19.StreamExecuteRequest + (*StreamExecuteResponse)(nil), // 10: vitess.vtgate.v19.StreamExecuteResponse + (*ResolveTransactionRequest)(nil), // 11: vitess.vtgate.v19.ResolveTransactionRequest + (*ResolveTransactionResponse)(nil), // 12: vitess.vtgate.v19.ResolveTransactionResponse + (*VStreamFlags)(nil), // 13: vitess.vtgate.v19.VStreamFlags + (*VStreamRequest)(nil), // 14: vitess.vtgate.v19.VStreamRequest + (*VStreamResponse)(nil), // 15: vitess.vtgate.v19.VStreamResponse + (*PrepareRequest)(nil), // 16: vitess.vtgate.v19.PrepareRequest + (*PrepareResponse)(nil), // 17: vitess.vtgate.v19.PrepareResponse + (*CloseSessionRequest)(nil), // 18: vitess.vtgate.v19.CloseSessionRequest + (*CloseSessionResponse)(nil), // 19: vitess.vtgate.v19.CloseSessionResponse + (*Session_ShardSession)(nil), // 20: vitess.vtgate.v19.Session.ShardSession + nil, // 21: vitess.vtgate.v19.Session.UserDefinedVariablesEntry + nil, // 22: vitess.vtgate.v19.Session.SystemVariablesEntry + nil, // 23: vitess.vtgate.v19.Session.AdvisoryLockEntry + nil, // 24: vitess.vtgate.v19.Session.PrepareStatementEntry + (*v19.ExecuteOptions)(nil), // 25: vitess.query.v19.ExecuteOptions + (*v19.QueryWarning)(nil), // 26: vitess.query.v19.QueryWarning + (*v191.CallerID)(nil), // 27: vitess.vtrpc.v19.CallerID + (*v19.BoundQuery)(nil), // 28: vitess.query.v19.BoundQuery + (*v191.RPCError)(nil), // 29: vitess.vtrpc.v19.RPCError + (*v19.QueryResult)(nil), // 30: vitess.query.v19.QueryResult + (*v19.ResultWithError)(nil), // 31: vitess.query.v19.ResultWithError + (v192.TabletType)(0), // 32: vitess.topodata.v19.TabletType + (*v193.VGtid)(nil), // 33: vitess.binlogdata.v19.VGtid + (*v193.Filter)(nil), // 34: vitess.binlogdata.v19.Filter + (*v193.VEvent)(nil), // 35: vitess.binlogdata.v19.VEvent + (*v19.Field)(nil), // 36: vitess.query.v19.Field + (*v19.Target)(nil), // 37: vitess.query.v19.Target + (*v192.TabletAlias)(nil), // 38: vitess.topodata.v19.TabletAlias + (*v19.BindVariable)(nil), // 39: vitess.query.v19.BindVariable +} +var file_vitess_vtgate_v19_vtgate_proto_depIdxs = []int32{ + 20, // 0: vitess.vtgate.v19.Session.shard_sessions:type_name -> vitess.vtgate.v19.Session.ShardSession + 25, // 1: vitess.vtgate.v19.Session.options:type_name -> vitess.query.v19.ExecuteOptions + 0, // 2: vitess.vtgate.v19.Session.transaction_mode:type_name -> vitess.vtgate.v19.TransactionMode + 26, // 3: vitess.vtgate.v19.Session.warnings:type_name -> vitess.query.v19.QueryWarning + 20, // 4: vitess.vtgate.v19.Session.pre_sessions:type_name -> vitess.vtgate.v19.Session.ShardSession + 20, // 5: vitess.vtgate.v19.Session.post_sessions:type_name -> vitess.vtgate.v19.Session.ShardSession + 21, // 6: vitess.vtgate.v19.Session.user_defined_variables:type_name -> vitess.vtgate.v19.Session.UserDefinedVariablesEntry + 22, // 7: vitess.vtgate.v19.Session.system_variables:type_name -> vitess.vtgate.v19.Session.SystemVariablesEntry + 20, // 8: vitess.vtgate.v19.Session.lock_session:type_name -> vitess.vtgate.v19.Session.ShardSession + 4, // 9: vitess.vtgate.v19.Session.read_after_write:type_name -> vitess.vtgate.v19.ReadAfterWrite + 23, // 10: vitess.vtgate.v19.Session.advisory_lock:type_name -> vitess.vtgate.v19.Session.AdvisoryLockEntry + 24, // 11: vitess.vtgate.v19.Session.prepare_statement:type_name -> vitess.vtgate.v19.Session.PrepareStatementEntry + 27, // 12: vitess.vtgate.v19.ExecuteRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 2, // 13: vitess.vtgate.v19.ExecuteRequest.session:type_name -> vitess.vtgate.v19.Session + 28, // 14: vitess.vtgate.v19.ExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 29, // 15: vitess.vtgate.v19.ExecuteResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 2, // 16: vitess.vtgate.v19.ExecuteResponse.session:type_name -> vitess.vtgate.v19.Session + 30, // 17: vitess.vtgate.v19.ExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 27, // 18: vitess.vtgate.v19.ExecuteBatchRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 2, // 19: vitess.vtgate.v19.ExecuteBatchRequest.session:type_name -> vitess.vtgate.v19.Session + 28, // 20: vitess.vtgate.v19.ExecuteBatchRequest.queries:type_name -> vitess.query.v19.BoundQuery + 29, // 21: vitess.vtgate.v19.ExecuteBatchResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 2, // 22: vitess.vtgate.v19.ExecuteBatchResponse.session:type_name -> vitess.vtgate.v19.Session + 31, // 23: vitess.vtgate.v19.ExecuteBatchResponse.results:type_name -> vitess.query.v19.ResultWithError + 27, // 24: vitess.vtgate.v19.StreamExecuteRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 28, // 25: vitess.vtgate.v19.StreamExecuteRequest.query:type_name -> vitess.query.v19.BoundQuery + 2, // 26: vitess.vtgate.v19.StreamExecuteRequest.session:type_name -> vitess.vtgate.v19.Session + 30, // 27: vitess.vtgate.v19.StreamExecuteResponse.result:type_name -> vitess.query.v19.QueryResult + 2, // 28: vitess.vtgate.v19.StreamExecuteResponse.session:type_name -> vitess.vtgate.v19.Session + 27, // 29: vitess.vtgate.v19.ResolveTransactionRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 27, // 30: vitess.vtgate.v19.VStreamRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 32, // 31: vitess.vtgate.v19.VStreamRequest.tablet_type:type_name -> vitess.topodata.v19.TabletType + 33, // 32: vitess.vtgate.v19.VStreamRequest.vgtid:type_name -> vitess.binlogdata.v19.VGtid + 34, // 33: vitess.vtgate.v19.VStreamRequest.filter:type_name -> vitess.binlogdata.v19.Filter + 13, // 34: vitess.vtgate.v19.VStreamRequest.flags:type_name -> vitess.vtgate.v19.VStreamFlags + 35, // 35: vitess.vtgate.v19.VStreamResponse.events:type_name -> vitess.binlogdata.v19.VEvent + 27, // 36: vitess.vtgate.v19.PrepareRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 2, // 37: vitess.vtgate.v19.PrepareRequest.session:type_name -> vitess.vtgate.v19.Session + 28, // 38: vitess.vtgate.v19.PrepareRequest.query:type_name -> vitess.query.v19.BoundQuery + 29, // 39: vitess.vtgate.v19.PrepareResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 2, // 40: vitess.vtgate.v19.PrepareResponse.session:type_name -> vitess.vtgate.v19.Session + 36, // 41: vitess.vtgate.v19.PrepareResponse.fields:type_name -> vitess.query.v19.Field + 27, // 42: vitess.vtgate.v19.CloseSessionRequest.caller_id:type_name -> vitess.vtrpc.v19.CallerID + 2, // 43: vitess.vtgate.v19.CloseSessionRequest.session:type_name -> vitess.vtgate.v19.Session + 29, // 44: vitess.vtgate.v19.CloseSessionResponse.error:type_name -> vitess.vtrpc.v19.RPCError + 37, // 45: vitess.vtgate.v19.Session.ShardSession.target:type_name -> vitess.query.v19.Target + 38, // 46: vitess.vtgate.v19.Session.ShardSession.tablet_alias:type_name -> vitess.topodata.v19.TabletAlias + 39, // 47: vitess.vtgate.v19.Session.UserDefinedVariablesEntry.value:type_name -> vitess.query.v19.BindVariable + 3, // 48: vitess.vtgate.v19.Session.PrepareStatementEntry.value:type_name -> vitess.vtgate.v19.PrepareData + 49, // [49:49] is the sub-list for method output_type + 49, // [49:49] is the sub-list for method input_type + 49, // [49:49] is the sub-list for extension type_name + 49, // [49:49] is the sub-list for extension extendee + 0, // [0:49] is the sub-list for field type_name +} + +func init() { file_vitess_vtgate_v19_vtgate_proto_init() } +func file_vitess_vtgate_v19_vtgate_proto_init() { + if File_vitess_vtgate_v19_vtgate_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_vtgate_v19_vtgate_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Session); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*PrepareData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*ReadAfterWrite); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteBatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*ExecuteBatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*StreamExecuteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*StreamExecuteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*ResolveTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ResolveTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*VStreamFlags); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*VStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*VStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*PrepareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*PrepareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*CloseSessionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*CloseSessionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtgate_v19_vtgate_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*Session_ShardSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vtgate_v19_vtgate_proto_rawDesc, + NumEnums: 2, + NumMessages: 23, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_vtgate_v19_vtgate_proto_goTypes, + DependencyIndexes: file_vitess_vtgate_v19_vtgate_proto_depIdxs, + EnumInfos: file_vitess_vtgate_v19_vtgate_proto_enumTypes, + MessageInfos: file_vitess_vtgate_v19_vtgate_proto_msgTypes, + }.Build() + File_vitess_vtgate_v19_vtgate_proto = out.File + file_vitess_vtgate_v19_vtgate_proto_rawDesc = nil + file_vitess_vtgate_v19_vtgate_proto_goTypes = nil + file_vitess_vtgate_v19_vtgate_proto_depIdxs = nil +} diff --git a/gen/vitess/vtgate/v19/vtgate_vtproto.pb.go b/gen/vitess/vtgate/v19/vtgate_vtproto.pb.go new file mode 100644 index 0000000..f9a1637 --- /dev/null +++ b/gen/vitess/vtgate/v19/vtgate_vtproto.pb.go @@ -0,0 +1,6385 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/vtgate/v19/vtgate.proto + +package vtgatev19 + +import ( + binary "encoding/binary" + fmt "fmt" + v193 "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/query/v19" + v191 "github.com/planetscale/vitess-types/gen/vitess/topodata/v19" + v192 "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + math "math" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Session_ShardSession) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Session_ShardSession) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Session_ShardSession) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.VindexOnly { + i-- + if m.VindexOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.ReservedId != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReservedId)) + i-- + dAtA[i] = 0x20 + } + if m.TabletAlias != nil { + if vtmsg, ok := interface{}(m.TabletAlias).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.TabletAlias) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.TransactionId != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x10 + } + if m.Target != nil { + if vtmsg, ok := interface{}(m.Target).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Target) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Session) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Session) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Session) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.MigrationContext) > 0 { + i -= len(m.MigrationContext) + copy(dAtA[i:], m.MigrationContext) + i = encodeVarint(dAtA, i, uint64(len(m.MigrationContext))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xda + } + if len(m.PrepareStatement) > 0 { + for k := range m.PrepareStatement { + v := m.PrepareStatement[k] + baseI := i + size, err := v.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd2 + } + } + if m.QueryTimeout != 0 { + i = encodeVarint(dAtA, i, uint64(m.QueryTimeout)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 + } + if len(m.AdvisoryLock) > 0 { + for k := range m.AdvisoryLock { + v := m.AdvisoryLock[k] + baseI := i + i = encodeVarint(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + } + if m.EnableSystemSettings { + i-- + if m.EnableSystemSettings { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb8 + } + if len(m.SessionUUID) > 0 { + i -= len(m.SessionUUID) + copy(dAtA[i:], m.SessionUUID) + i = encodeVarint(dAtA, i, uint64(len(m.SessionUUID))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if len(m.DDLStrategy) > 0 { + i -= len(m.DDLStrategy) + copy(dAtA[i:], m.DDLStrategy) + i = encodeVarint(dAtA, i, uint64(len(m.DDLStrategy))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + if m.ReadAfterWrite != nil { + size, err := m.ReadAfterWrite.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if m.LastLockHeartbeat != 0 { + i = encodeVarint(dAtA, i, uint64(m.LastLockHeartbeat)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if m.LockSession != nil { + size, err := m.LockSession.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if m.InReservedConn { + i-- + if m.InReservedConn { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if len(m.Savepoints) > 0 { + for iNdEx := len(m.Savepoints) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Savepoints[iNdEx]) + copy(dAtA[i:], m.Savepoints[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Savepoints[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + } + if m.RowCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.RowCount)) + i-- + dAtA[i] = 0x78 + } + if len(m.SystemVariables) > 0 { + for k := range m.SystemVariables { + v := m.SystemVariables[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x72 + } + } + if len(m.UserDefinedVariables) > 0 { + for k := range m.UserDefinedVariables { + v := m.UserDefinedVariables[k] + baseI := i + if vtmsg, ok := interface{}(v).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(v) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x6a + } + } + if m.FoundRows != 0 { + i = encodeVarint(dAtA, i, uint64(m.FoundRows)) + i-- + dAtA[i] = 0x60 + } + if m.LastInsertId != 0 { + i = encodeVarint(dAtA, i, uint64(m.LastInsertId)) + i-- + dAtA[i] = 0x58 + } + if len(m.PostSessions) > 0 { + for iNdEx := len(m.PostSessions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.PostSessions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x52 + } + } + if len(m.PreSessions) > 0 { + for iNdEx := len(m.PreSessions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.PreSessions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x4a + } + } + if len(m.Warnings) > 0 { + for iNdEx := len(m.Warnings) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Warnings[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Warnings[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x42 + } + } + if m.TransactionMode != 0 { + i = encodeVarint(dAtA, i, uint64(m.TransactionMode)) + i-- + dAtA[i] = 0x38 + } + if m.Options != nil { + if vtmsg, ok := interface{}(m.Options).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Options) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x32 + } + if len(m.TargetString) > 0 { + i -= len(m.TargetString) + copy(dAtA[i:], m.TargetString) + i = encodeVarint(dAtA, i, uint64(len(m.TargetString))) + i-- + dAtA[i] = 0x2a + } + if m.Autocommit { + i-- + if m.Autocommit { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.ShardSessions) > 0 { + for iNdEx := len(m.ShardSessions) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.ShardSessions[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if m.InTransaction { + i-- + if m.InTransaction { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PrepareData) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrepareData) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrepareData) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.ParamsCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.ParamsCount)) + i-- + dAtA[i] = 0x10 + } + if len(m.PrepareStatement) > 0 { + i -= len(m.PrepareStatement) + copy(dAtA[i:], m.PrepareStatement) + i = encodeVarint(dAtA, i, uint64(len(m.PrepareStatement))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ReadAfterWrite) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReadAfterWrite) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ReadAfterWrite) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.SessionTrackGtids { + i-- + if m.SessionTrackGtids { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.ReadAfterWriteTimeout != 0 { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.ReadAfterWriteTimeout)))) + i-- + dAtA[i] = 0x11 + } + if len(m.ReadAfterWriteGtid) > 0 { + i -= len(m.ReadAfterWriteGtid) + copy(dAtA[i:], m.ReadAfterWriteGtid) + i = encodeVarint(dAtA, i, uint64(len(m.ReadAfterWriteGtid))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Query != nil { + if vtmsg, ok := interface{}(m.Query).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Query) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteBatchRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteBatchRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteBatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Queries) > 0 { + for iNdEx := len(m.Queries) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Queries[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Queries[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecuteBatchResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecuteBatchResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExecuteBatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Results) > 0 { + for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Results[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Results[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StreamExecuteRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + if m.Query != nil { + if vtmsg, ok := interface{}(m.Query).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Query) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x12 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StreamExecuteResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *StreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Result != nil { + if vtmsg, ok := interface{}(m.Result).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Result) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResolveTransactionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResolveTransactionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResolveTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Dtid) > 0 { + i -= len(m.Dtid) + copy(dAtA[i:], m.Dtid) + i = encodeVarint(dAtA, i, uint64(len(m.Dtid))) + i-- + dAtA[i] = 0x12 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResolveTransactionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResolveTransactionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ResolveTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + return len(dAtA) - i, nil +} + +func (m *VStreamFlags) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamFlags) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamFlags) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.TabletOrder) > 0 { + i -= len(m.TabletOrder) + copy(dAtA[i:], m.TabletOrder) + i = encodeVarint(dAtA, i, uint64(len(m.TabletOrder))) + i-- + dAtA[i] = 0x32 + } + if len(m.CellPreference) > 0 { + i -= len(m.CellPreference) + copy(dAtA[i:], m.CellPreference) + i = encodeVarint(dAtA, i, uint64(len(m.CellPreference))) + i-- + dAtA[i] = 0x2a + } + if len(m.Cells) > 0 { + i -= len(m.Cells) + copy(dAtA[i:], m.Cells) + i = encodeVarint(dAtA, i, uint64(len(m.Cells))) + i-- + dAtA[i] = 0x22 + } + if m.StopOnReshard { + i-- + if m.StopOnReshard { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.HeartbeatInterval != 0 { + i = encodeVarint(dAtA, i, uint64(m.HeartbeatInterval)) + i-- + dAtA[i] = 0x10 + } + if m.MinimizeSkew { + i-- + if m.MinimizeSkew { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *VStreamRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Flags != nil { + size, err := m.Flags.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + if m.Filter != nil { + if vtmsg, ok := interface{}(m.Filter).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Filter) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } + if m.Vgtid != nil { + if vtmsg, ok := interface{}(m.Vgtid).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Vgtid) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.TabletType != 0 { + i = encodeVarint(dAtA, i, uint64(m.TabletType)) + i-- + dAtA[i] = 0x10 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VStreamResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VStreamResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Events[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Events[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *PrepareRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrepareRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrepareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Query != nil { + if vtmsg, ok := interface{}(m.Query).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Query) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrepareResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrepareResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PrepareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Fields) > 0 { + for iNdEx := len(m.Fields) - 1; iNdEx >= 0; iNdEx-- { + if vtmsg, ok := interface{}(m.Fields[iNdEx]).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Fields[iNdEx]) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CloseSessionRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CloseSessionRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CloseSessionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Session != nil { + size, err := m.Session.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.CallerId != nil { + if vtmsg, ok := interface{}(m.CallerId).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.CallerId) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CloseSessionResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CloseSessionResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CloseSessionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Error != nil { + if vtmsg, ok := interface{}(m.Error).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.Error) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Session_ShardSession) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Target != nil { + if size, ok := interface{}(m.Target).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Target) + } + n += 1 + l + sov(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sov(uint64(m.TransactionId)) + } + if m.TabletAlias != nil { + if size, ok := interface{}(m.TabletAlias).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.TabletAlias) + } + n += 1 + l + sov(uint64(l)) + } + if m.ReservedId != 0 { + n += 1 + sov(uint64(m.ReservedId)) + } + if m.VindexOnly { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *Session) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.InTransaction { + n += 2 + } + if len(m.ShardSessions) > 0 { + for _, e := range m.ShardSessions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.Autocommit { + n += 2 + } + l = len(m.TargetString) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Options != nil { + if size, ok := interface{}(m.Options).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Options) + } + n += 1 + l + sov(uint64(l)) + } + if m.TransactionMode != 0 { + n += 1 + sov(uint64(m.TransactionMode)) + } + if len(m.Warnings) > 0 { + for _, e := range m.Warnings { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + if len(m.PreSessions) > 0 { + for _, e := range m.PreSessions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.PostSessions) > 0 { + for _, e := range m.PostSessions { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.LastInsertId != 0 { + n += 1 + sov(uint64(m.LastInsertId)) + } + if m.FoundRows != 0 { + n += 1 + sov(uint64(m.FoundRows)) + } + if len(m.UserDefinedVariables) > 0 { + for k, v := range m.UserDefinedVariables { + _ = k + _ = v + l = 0 + if v != nil { + if size, ok := interface{}(v).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(v) + } + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if len(m.SystemVariables) > 0 { + for k, v := range m.SystemVariables { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + len(v) + sov(uint64(len(v))) + n += mapEntrySize + 1 + sov(uint64(mapEntrySize)) + } + } + if m.RowCount != 0 { + n += 1 + sov(uint64(m.RowCount)) + } + if len(m.Savepoints) > 0 { + for _, s := range m.Savepoints { + l = len(s) + n += 2 + l + sov(uint64(l)) + } + } + if m.InReservedConn { + n += 3 + } + if m.LockSession != nil { + l = m.LockSession.SizeVT() + n += 2 + l + sov(uint64(l)) + } + if m.LastLockHeartbeat != 0 { + n += 2 + sov(uint64(m.LastLockHeartbeat)) + } + if m.ReadAfterWrite != nil { + l = m.ReadAfterWrite.SizeVT() + n += 2 + l + sov(uint64(l)) + } + l = len(m.DDLStrategy) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + l = len(m.SessionUUID) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + if m.EnableSystemSettings { + n += 3 + } + if len(m.AdvisoryLock) > 0 { + for k, v := range m.AdvisoryLock { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + 1 + sov(uint64(v)) + n += mapEntrySize + 2 + sov(uint64(mapEntrySize)) + } + } + if m.QueryTimeout != 0 { + n += 2 + sov(uint64(m.QueryTimeout)) + } + if len(m.PrepareStatement) > 0 { + for k, v := range m.PrepareStatement { + _ = k + _ = v + l = 0 + if v != nil { + l = v.SizeVT() + } + l += 1 + sov(uint64(l)) + mapEntrySize := 1 + len(k) + sov(uint64(len(k))) + l + n += mapEntrySize + 2 + sov(uint64(mapEntrySize)) + } + } + l = len(m.MigrationContext) + if l > 0 { + n += 2 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrepareData) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PrepareStatement) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ParamsCount != 0 { + n += 1 + sov(uint64(m.ParamsCount)) + } + n += len(m.unknownFields) + return n +} + +func (m *ReadAfterWrite) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ReadAfterWriteGtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.ReadAfterWriteTimeout != 0 { + n += 9 + } + if m.SessionTrackGtids { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + if size, ok := interface{}(m.Query).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Query) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteBatchRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Queries) > 0 { + for _, e := range m.Queries { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *ExecuteBatchResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Results) > 0 { + for _, e := range m.Results { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *StreamExecuteRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + if size, ok := interface{}(m.Query).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Query) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *StreamExecuteResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + if size, ok := interface{}(m.Result).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Result) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ResolveTransactionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + l = len(m.Dtid) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ResolveTransactionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += len(m.unknownFields) + return n +} + +func (m *VStreamFlags) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.MinimizeSkew { + n += 2 + } + if m.HeartbeatInterval != 0 { + n += 1 + sov(uint64(m.HeartbeatInterval)) + } + if m.StopOnReshard { + n += 2 + } + l = len(m.Cells) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.CellPreference) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.TabletOrder) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.TabletType != 0 { + n += 1 + sov(uint64(m.TabletType)) + } + if m.Vgtid != nil { + if size, ok := interface{}(m.Vgtid).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Vgtid) + } + n += 1 + l + sov(uint64(l)) + } + if m.Filter != nil { + if size, ok := interface{}(m.Filter).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Filter) + } + n += 1 + l + sov(uint64(l)) + } + if m.Flags != nil { + l = m.Flags.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *VStreamResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *PrepareRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if m.Query != nil { + if size, ok := interface{}(m.Query).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Query) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *PrepareResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + if len(m.Fields) > 0 { + for _, e := range m.Fields { + if size, ok := interface{}(e).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(e) + } + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *CloseSessionRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallerId != nil { + if size, ok := interface{}(m.CallerId).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.CallerId) + } + n += 1 + l + sov(uint64(l)) + } + if m.Session != nil { + l = m.Session.SizeVT() + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CloseSessionResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Error != nil { + if size, ok := interface{}(m.Error).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.Error) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Session_ShardSession) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Session_ShardSession: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Session_ShardSession: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", 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.Target == nil { + m.Target = &v19.Target{} + } + if unmarshal, ok := interface{}(m.Target).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Target); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletAlias", 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.TabletAlias == nil { + m.TabletAlias = &v191.TabletAlias{} + } + if unmarshal, ok := interface{}(m.TabletAlias).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.TabletAlias); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservedId", wireType) + } + m.ReservedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReservedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VindexOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.VindexOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Session) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Session: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Session: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InTransaction", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.InTransaction = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShardSessions", 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 + } + m.ShardSessions = append(m.ShardSessions, &Session_ShardSession{}) + if err := m.ShardSessions[len(m.ShardSessions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Autocommit", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Autocommit = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetString", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetString = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Options", 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.Options == nil { + m.Options = &v19.ExecuteOptions{} + } + if unmarshal, ok := interface{}(m.Options).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Options); err != nil { + return err + } + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionMode", wireType) + } + m.TransactionMode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionMode |= TransactionMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Warnings", 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 + } + m.Warnings = append(m.Warnings, &v19.QueryWarning{}) + if unmarshal, ok := interface{}(m.Warnings[len(m.Warnings)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Warnings[len(m.Warnings)-1]); err != nil { + return err + } + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreSessions", 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 + } + m.PreSessions = append(m.PreSessions, &Session_ShardSession{}) + if err := m.PreSessions[len(m.PreSessions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PostSessions", 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 + } + m.PostSessions = append(m.PostSessions, &Session_ShardSession{}) + if err := m.PostSessions[len(m.PostSessions)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LastInsertId", wireType) + } + m.LastInsertId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LastInsertId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FoundRows", wireType) + } + m.FoundRows = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FoundRows |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserDefinedVariables", 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.UserDefinedVariables == nil { + m.UserDefinedVariables = make(map[string]*v19.BindVariable) + } + var mapkey string + var mapvalue *v19.BindVariable + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &v19.BindVariable{} + if unmarshal, ok := interface{}(mapvalue).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postmsgIndex], mapvalue); err != nil { + return err + } + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.UserDefinedVariables[mapkey] = mapvalue + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SystemVariables", 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.SystemVariables == nil { + m.SystemVariables = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLength + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.SystemVariables[mapkey] = mapvalue + iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) + } + m.RowCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RowCount |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Savepoints", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Savepoints = append(m.Savepoints, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InReservedConn", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.InReservedConn = bool(v != 0) + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LockSession", 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.LockSession == nil { + m.LockSession = &Session_ShardSession{} + } + if err := m.LockSession.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LastLockHeartbeat", wireType) + } + m.LastLockHeartbeat = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LastLockHeartbeat |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadAfterWrite", 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.ReadAfterWrite == nil { + m.ReadAfterWrite = &ReadAfterWrite{} + } + if err := m.ReadAfterWrite.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DDLStrategy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DDLStrategy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionUUID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SessionUUID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 23: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableSystemSettings", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableSystemSettings = bool(v != 0) + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AdvisoryLock", 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.AdvisoryLock == nil { + m.AdvisoryLock = make(map[string]int64) + } + var mapkey string + var mapvalue int64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.AdvisoryLock[mapkey] = mapvalue + iNdEx = postIndex + case 25: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryTimeout", wireType) + } + m.QueryTimeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.QueryTimeout |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 26: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrepareStatement", 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.PrepareStatement == nil { + m.PrepareStatement = make(map[string]*PrepareData) + } + var mapkey string + var mapvalue *PrepareData + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLength + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLength + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLength + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &PrepareData{} + if err := mapvalue.UnmarshalVT(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.PrepareStatement[mapkey] = mapvalue + iNdEx = postIndex + case 27: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationContext", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MigrationContext = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrepareData) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrepareData: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrepareData: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrepareStatement", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PrepareStatement = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ParamsCount", wireType) + } + m.ParamsCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ParamsCount |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReadAfterWrite) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReadAfterWrite: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReadAfterWrite: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadAfterWriteGtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReadAfterWriteGtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadAfterWriteTimeout", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.ReadAfterWriteTimeout = float64(math.Float64frombits(v)) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionTrackGtids", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SessionTrackGtids = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &v19.BoundQuery{} + } + if unmarshal, ok := interface{}(m.Query).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Query); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v192.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteBatchRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteBatchRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteBatchRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Queries", 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 + } + m.Queries = append(m.Queries, &v19.BoundQuery{}) + if unmarshal, ok := interface{}(m.Queries[len(m.Queries)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Queries[len(m.Queries)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecuteBatchResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecuteBatchResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecuteBatchResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v192.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Results", 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 + } + m.Results = append(m.Results, &v19.ResultWithError{}) + if unmarshal, ok := interface{}(m.Results[len(m.Results)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Results[len(m.Results)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamExecuteRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamExecuteRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamExecuteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &v19.BoundQuery{} + } + if unmarshal, ok := interface{}(m.Query).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Query); err != nil { + return err + } + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StreamExecuteResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StreamExecuteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StreamExecuteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", 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.Result == nil { + m.Result = &v19.QueryResult{} + } + if unmarshal, ok := interface{}(m.Result).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Result); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResolveTransactionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResolveTransactionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResolveTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Dtid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Dtid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResolveTransactionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResolveTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResolveTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamFlags) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamFlags: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamFlags: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinimizeSkew", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.MinimizeSkew = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatInterval", wireType) + } + m.HeartbeatInterval = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HeartbeatInterval |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StopOnReshard", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.StopOnReshard = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CellPreference", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CellPreference = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletOrder", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TabletOrder = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType) + } + m.TabletType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TabletType |= v191.TabletType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vgtid", 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.Vgtid == nil { + m.Vgtid = &v193.VGtid{} + } + if unmarshal, ok := interface{}(m.Vgtid).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Vgtid); err != nil { + return err + } + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Filter", 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.Filter == nil { + m.Filter = &v193.Filter{} + } + if unmarshal, ok := interface{}(m.Filter).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Filter); err != nil { + return err + } + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Flags", 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.Flags == nil { + m.Flags = &VStreamFlags{} + } + if err := m.Flags.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VStreamResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VStreamResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VStreamResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", 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 + } + m.Events = append(m.Events, &v193.VEvent{}) + if unmarshal, ok := interface{}(m.Events[len(m.Events)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Events[len(m.Events)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrepareRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrepareRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrepareRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", 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.Query == nil { + m.Query = &v19.BoundQuery{} + } + if unmarshal, ok := interface{}(m.Query).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Query); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrepareResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrepareResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrepareResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v192.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", 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 + } + m.Fields = append(m.Fields, &v19.Field{}) + if unmarshal, ok := interface{}(m.Fields[len(m.Fields)-1]).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Fields[len(m.Fields)-1]); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CloseSessionRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CloseSessionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CloseSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallerId", 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.CallerId == nil { + m.CallerId = &v192.CallerID{} + } + if unmarshal, ok := interface{}(m.CallerId).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.CallerId); err != nil { + return err + } + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Session", 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.Session == nil { + m.Session = &Session{} + } + if err := m.Session.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CloseSessionResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CloseSessionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CloseSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", 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.Error == nil { + m.Error = &v192.RPCError{} + } + if unmarshal, ok := interface{}(m.Error).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.Error); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/vtgateservice/dev/vtgateservice.pb.go b/gen/vitess/vtgateservice/dev/vtgateservice.pb.go index 34e2fe0..e4ff412 100644 --- a/gen/vitess/vtgateservice/dev/vtgateservice.pb.go +++ b/gen/vitess/vtgateservice/dev/vtgateservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgateservice/dev/vtgateservice.proto @@ -49,7 +49,7 @@ var file_vitess_vtgateservice_dev_vtgateservice_proto_rawDesc = []byte{ 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x2f, 0x76, 0x74, 0x67, 0x61, - 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xa9, 0x05, 0x0a, 0x06, 0x56, 0x69, 0x74, + 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb4, 0x04, 0x0a, 0x06, 0x56, 0x69, 0x74, 0x65, 0x73, 0x73, 0x12, 0x52, 0x0a, 0x07, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, @@ -68,72 +68,60 @@ var file_vitess_vtgateservice_dev_vtgateservice_proto_rawDesc = []byte{ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x30, 0x01, 0x12, 0x73, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, - 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, - 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, - 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x07, 0x56, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, - 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, - 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x52, 0x0a, - 0x07, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x65, - 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, - 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x61, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, - 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, - 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, - 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x42, 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, - 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x30, 0x01, 0x12, 0x54, 0x0a, 0x07, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x21, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x07, 0x50, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, + 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, + 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0c, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x67, 0x61, 0x74, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, + 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_vitess_vtgateservice_dev_vtgateservice_proto_goTypes = []interface{}{ - (*dev.ExecuteRequest)(nil), // 0: vitess.vtgate.dev.ExecuteRequest - (*dev.ExecuteBatchRequest)(nil), // 1: vitess.vtgate.dev.ExecuteBatchRequest - (*dev.StreamExecuteRequest)(nil), // 2: vitess.vtgate.dev.StreamExecuteRequest - (*dev.ResolveTransactionRequest)(nil), // 3: vitess.vtgate.dev.ResolveTransactionRequest - (*dev.VStreamRequest)(nil), // 4: vitess.vtgate.dev.VStreamRequest - (*dev.PrepareRequest)(nil), // 5: vitess.vtgate.dev.PrepareRequest - (*dev.CloseSessionRequest)(nil), // 6: vitess.vtgate.dev.CloseSessionRequest - (*dev.ExecuteResponse)(nil), // 7: vitess.vtgate.dev.ExecuteResponse - (*dev.ExecuteBatchResponse)(nil), // 8: vitess.vtgate.dev.ExecuteBatchResponse - (*dev.StreamExecuteResponse)(nil), // 9: vitess.vtgate.dev.StreamExecuteResponse - (*dev.ResolveTransactionResponse)(nil), // 10: vitess.vtgate.dev.ResolveTransactionResponse - (*dev.VStreamResponse)(nil), // 11: vitess.vtgate.dev.VStreamResponse - (*dev.PrepareResponse)(nil), // 12: vitess.vtgate.dev.PrepareResponse - (*dev.CloseSessionResponse)(nil), // 13: vitess.vtgate.dev.CloseSessionResponse +var file_vitess_vtgateservice_dev_vtgateservice_proto_goTypes = []any{ + (*dev.ExecuteRequest)(nil), // 0: vitess.vtgate.dev.ExecuteRequest + (*dev.ExecuteBatchRequest)(nil), // 1: vitess.vtgate.dev.ExecuteBatchRequest + (*dev.StreamExecuteRequest)(nil), // 2: vitess.vtgate.dev.StreamExecuteRequest + (*dev.VStreamRequest)(nil), // 3: vitess.vtgate.dev.VStreamRequest + (*dev.PrepareRequest)(nil), // 4: vitess.vtgate.dev.PrepareRequest + (*dev.CloseSessionRequest)(nil), // 5: vitess.vtgate.dev.CloseSessionRequest + (*dev.ExecuteResponse)(nil), // 6: vitess.vtgate.dev.ExecuteResponse + (*dev.ExecuteBatchResponse)(nil), // 7: vitess.vtgate.dev.ExecuteBatchResponse + (*dev.StreamExecuteResponse)(nil), // 8: vitess.vtgate.dev.StreamExecuteResponse + (*dev.VStreamResponse)(nil), // 9: vitess.vtgate.dev.VStreamResponse + (*dev.PrepareResponse)(nil), // 10: vitess.vtgate.dev.PrepareResponse + (*dev.CloseSessionResponse)(nil), // 11: vitess.vtgate.dev.CloseSessionResponse } var file_vitess_vtgateservice_dev_vtgateservice_proto_depIdxs = []int32{ 0, // 0: vitess.vtgateservice.dev.Vitess.Execute:input_type -> vitess.vtgate.dev.ExecuteRequest 1, // 1: vitess.vtgateservice.dev.Vitess.ExecuteBatch:input_type -> vitess.vtgate.dev.ExecuteBatchRequest 2, // 2: vitess.vtgateservice.dev.Vitess.StreamExecute:input_type -> vitess.vtgate.dev.StreamExecuteRequest - 3, // 3: vitess.vtgateservice.dev.Vitess.ResolveTransaction:input_type -> vitess.vtgate.dev.ResolveTransactionRequest - 4, // 4: vitess.vtgateservice.dev.Vitess.VStream:input_type -> vitess.vtgate.dev.VStreamRequest - 5, // 5: vitess.vtgateservice.dev.Vitess.Prepare:input_type -> vitess.vtgate.dev.PrepareRequest - 6, // 6: vitess.vtgateservice.dev.Vitess.CloseSession:input_type -> vitess.vtgate.dev.CloseSessionRequest - 7, // 7: vitess.vtgateservice.dev.Vitess.Execute:output_type -> vitess.vtgate.dev.ExecuteResponse - 8, // 8: vitess.vtgateservice.dev.Vitess.ExecuteBatch:output_type -> vitess.vtgate.dev.ExecuteBatchResponse - 9, // 9: vitess.vtgateservice.dev.Vitess.StreamExecute:output_type -> vitess.vtgate.dev.StreamExecuteResponse - 10, // 10: vitess.vtgateservice.dev.Vitess.ResolveTransaction:output_type -> vitess.vtgate.dev.ResolveTransactionResponse - 11, // 11: vitess.vtgateservice.dev.Vitess.VStream:output_type -> vitess.vtgate.dev.VStreamResponse - 12, // 12: vitess.vtgateservice.dev.Vitess.Prepare:output_type -> vitess.vtgate.dev.PrepareResponse - 13, // 13: vitess.vtgateservice.dev.Vitess.CloseSession:output_type -> vitess.vtgate.dev.CloseSessionResponse - 7, // [7:14] is the sub-list for method output_type - 0, // [0:7] is the sub-list for method input_type + 3, // 3: vitess.vtgateservice.dev.Vitess.VStream:input_type -> vitess.vtgate.dev.VStreamRequest + 4, // 4: vitess.vtgateservice.dev.Vitess.Prepare:input_type -> vitess.vtgate.dev.PrepareRequest + 5, // 5: vitess.vtgateservice.dev.Vitess.CloseSession:input_type -> vitess.vtgate.dev.CloseSessionRequest + 6, // 6: vitess.vtgateservice.dev.Vitess.Execute:output_type -> vitess.vtgate.dev.ExecuteResponse + 7, // 7: vitess.vtgateservice.dev.Vitess.ExecuteBatch:output_type -> vitess.vtgate.dev.ExecuteBatchResponse + 8, // 8: vitess.vtgateservice.dev.Vitess.StreamExecute:output_type -> vitess.vtgate.dev.StreamExecuteResponse + 9, // 9: vitess.vtgateservice.dev.Vitess.VStream:output_type -> vitess.vtgate.dev.VStreamResponse + 10, // 10: vitess.vtgateservice.dev.Vitess.Prepare:output_type -> vitess.vtgate.dev.PrepareResponse + 11, // 11: vitess.vtgateservice.dev.Vitess.CloseSession:output_type -> vitess.vtgate.dev.CloseSessionResponse + 6, // [6:12] is the sub-list for method output_type + 0, // [0:6] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name diff --git a/gen/vitess/vtgateservice/dev/vtgateservicedevconnect/vtgateservice.connect.go b/gen/vitess/vtgateservice/dev/vtgateservicedevconnect/vtgateservice.connect.go index ccf2f08..e46ad05 100644 --- a/gen/vitess/vtgateservice/dev/vtgateservicedevconnect/vtgateservice.connect.go +++ b/gen/vitess/vtgateservice/dev/vtgateservicedevconnect/vtgateservice.connect.go @@ -27,8 +27,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - dev "github.com/planetscale/vitess-types/gen/vitess/vtgate/dev" - _ "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/dev" + dev1 "github.com/planetscale/vitess-types/gen/vitess/vtgate/dev" + dev "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/dev" http "net/http" strings "strings" ) @@ -38,7 +38,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VitessName is the fully-qualified name of the Vitess service. @@ -59,9 +59,6 @@ const ( VitessExecuteBatchProcedure = "/vtgateservice.Vitess/ExecuteBatch" // VitessStreamExecuteProcedure is the fully-qualified name of the Vitess's StreamExecute RPC. VitessStreamExecuteProcedure = "/vtgateservice.Vitess/StreamExecute" - // VitessResolveTransactionProcedure is the fully-qualified name of the Vitess's ResolveTransaction - // RPC. - VitessResolveTransactionProcedure = "/vtgateservice.Vitess/ResolveTransaction" // VitessVStreamProcedure is the fully-qualified name of the Vitess's VStream RPC. VitessVStreamProcedure = "/vtgateservice.Vitess/VStream" // VitessPrepareProcedure is the fully-qualified name of the Vitess's Prepare RPC. @@ -70,35 +67,43 @@ const ( VitessCloseSessionProcedure = "/vtgateservice.Vitess/CloseSession" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vitessServiceDescriptor = dev.File_vitess_vtgateservice_dev_vtgateservice_proto.Services().ByName("Vitess") + vitessExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Execute") + vitessExecuteBatchMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ExecuteBatch") + vitessStreamExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("StreamExecute") + vitessVStreamMethodDescriptor = vitessServiceDescriptor.Methods().ByName("VStream") + vitessPrepareMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Prepare") + vitessCloseSessionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("CloseSession") +) + // VitessClient is a client for the vtgateservice.Vitess service. type VitessClient interface { // Execute tries to route the query to the right shard. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) + Execute(context.Context, *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[dev.ExecuteBatchRequest]) (*connect.Response[dev.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[dev1.ExecuteBatchRequest]) (*connect.Response[dev1.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[dev.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev.StreamExecuteResponse], error) - // ResolveTransaction resolves a transaction. - // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[dev.ResolveTransactionRequest]) (*connect.Response[dev.ResolveTransactionResponse], error) + StreamExecute(context.Context, *connect.Request[dev1.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.StreamExecuteResponse], error) // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[dev.VStreamRequest]) (*connect.ServerStreamForClient[dev.VStreamResponse], error) + VStream(context.Context, *connect.Request[dev1.VStreamRequest]) (*connect.ServerStreamForClient[dev1.VStreamResponse], error) // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) + Prepare(context.Context, *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[dev.CloseSessionRequest]) (*connect.Response[dev.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[dev1.CloseSessionRequest]) (*connect.Response[dev1.CloseSessionResponse], error) } // NewVitessClient constructs a client for the vtgateservice.Vitess service. By default, @@ -111,87 +116,82 @@ type VitessClient interface { func NewVitessClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VitessClient { baseURL = strings.TrimRight(baseURL, "/") return &vitessClient{ - execute: connect.NewClient[dev.ExecuteRequest, dev.ExecuteResponse]( + execute: connect.NewClient[dev1.ExecuteRequest, dev1.ExecuteResponse]( httpClient, baseURL+VitessExecuteProcedure, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeBatch: connect.NewClient[dev.ExecuteBatchRequest, dev.ExecuteBatchResponse]( + executeBatch: connect.NewClient[dev1.ExecuteBatchRequest, dev1.ExecuteBatchResponse]( httpClient, baseURL+VitessExecuteBatchProcedure, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[dev.StreamExecuteRequest, dev.StreamExecuteResponse]( + streamExecute: connect.NewClient[dev1.StreamExecuteRequest, dev1.StreamExecuteResponse]( httpClient, baseURL+VitessStreamExecuteProcedure, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - resolveTransaction: connect.NewClient[dev.ResolveTransactionRequest, dev.ResolveTransactionResponse]( - httpClient, - baseURL+VitessResolveTransactionProcedure, - opts..., - ), - vStream: connect.NewClient[dev.VStreamRequest, dev.VStreamResponse]( + vStream: connect.NewClient[dev1.VStreamRequest, dev1.VStreamResponse]( httpClient, baseURL+VitessVStreamProcedure, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[dev.PrepareRequest, dev.PrepareResponse]( + prepare: connect.NewClient[dev1.PrepareRequest, dev1.PrepareResponse]( httpClient, baseURL+VitessPrepareProcedure, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - closeSession: connect.NewClient[dev.CloseSessionRequest, dev.CloseSessionResponse]( + closeSession: connect.NewClient[dev1.CloseSessionRequest, dev1.CloseSessionResponse]( httpClient, baseURL+VitessCloseSessionProcedure, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vitessClient implements VitessClient. type vitessClient struct { - execute *connect.Client[dev.ExecuteRequest, dev.ExecuteResponse] - executeBatch *connect.Client[dev.ExecuteBatchRequest, dev.ExecuteBatchResponse] - streamExecute *connect.Client[dev.StreamExecuteRequest, dev.StreamExecuteResponse] - resolveTransaction *connect.Client[dev.ResolveTransactionRequest, dev.ResolveTransactionResponse] - vStream *connect.Client[dev.VStreamRequest, dev.VStreamResponse] - prepare *connect.Client[dev.PrepareRequest, dev.PrepareResponse] - closeSession *connect.Client[dev.CloseSessionRequest, dev.CloseSessionResponse] + execute *connect.Client[dev1.ExecuteRequest, dev1.ExecuteResponse] + executeBatch *connect.Client[dev1.ExecuteBatchRequest, dev1.ExecuteBatchResponse] + streamExecute *connect.Client[dev1.StreamExecuteRequest, dev1.StreamExecuteResponse] + vStream *connect.Client[dev1.VStreamRequest, dev1.VStreamResponse] + prepare *connect.Client[dev1.PrepareRequest, dev1.PrepareResponse] + closeSession *connect.Client[dev1.CloseSessionRequest, dev1.CloseSessionResponse] } // Execute calls vtgateservice.Vitess.Execute. -func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) { +func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // ExecuteBatch calls vtgateservice.Vitess.ExecuteBatch. -func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[dev.ExecuteBatchRequest]) (*connect.Response[dev.ExecuteBatchResponse], error) { +func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[dev1.ExecuteBatchRequest]) (*connect.Response[dev1.ExecuteBatchResponse], error) { return c.executeBatch.CallUnary(ctx, req) } // StreamExecute calls vtgateservice.Vitess.StreamExecute. -func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[dev.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev.StreamExecuteResponse], error) { +func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[dev1.StreamExecuteRequest]) (*connect.ServerStreamForClient[dev1.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } -// ResolveTransaction calls vtgateservice.Vitess.ResolveTransaction. -func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[dev.ResolveTransactionRequest]) (*connect.Response[dev.ResolveTransactionResponse], error) { - return c.resolveTransaction.CallUnary(ctx, req) -} - // VStream calls vtgateservice.Vitess.VStream. -func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[dev.VStreamRequest]) (*connect.ServerStreamForClient[dev.VStreamResponse], error) { +func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[dev1.VStreamRequest]) (*connect.ServerStreamForClient[dev1.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // Prepare calls vtgateservice.Vitess.Prepare. -func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) { +func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CloseSession calls vtgateservice.Vitess.CloseSession. -func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[dev.CloseSessionRequest]) (*connect.Response[dev.CloseSessionResponse], error) { +func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[dev1.CloseSessionRequest]) (*connect.Response[dev1.CloseSessionResponse], error) { return c.closeSession.CallUnary(ctx, req) } @@ -201,29 +201,26 @@ type VitessHandler interface { // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) + Execute(context.Context, *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[dev.ExecuteBatchRequest]) (*connect.Response[dev.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[dev1.ExecuteBatchRequest]) (*connect.Response[dev1.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[dev.StreamExecuteRequest], *connect.ServerStream[dev.StreamExecuteResponse]) error - // ResolveTransaction resolves a transaction. - // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[dev.ResolveTransactionRequest]) (*connect.Response[dev.ResolveTransactionResponse], error) + StreamExecute(context.Context, *connect.Request[dev1.StreamExecuteRequest], *connect.ServerStream[dev1.StreamExecuteResponse]) error // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[dev.VStreamRequest], *connect.ServerStream[dev.VStreamResponse]) error + VStream(context.Context, *connect.Request[dev1.VStreamRequest], *connect.ServerStream[dev1.VStreamResponse]) error // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) + Prepare(context.Context, *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[dev.CloseSessionRequest]) (*connect.Response[dev.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[dev1.CloseSessionRequest]) (*connect.Response[dev1.CloseSessionResponse], error) } // NewVitessHandler builds an HTTP handler from the service implementation. It returns the path on @@ -235,37 +232,38 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, vitessExecuteHandler := connect.NewUnaryHandler( VitessExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessExecuteBatchHandler := connect.NewUnaryHandler( VitessExecuteBatchProcedure, svc.ExecuteBatch, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessStreamExecuteHandler := connect.NewServerStreamHandler( VitessStreamExecuteProcedure, svc.StreamExecute, - opts..., - ) - vitessResolveTransactionHandler := connect.NewUnaryHandler( - VitessResolveTransactionProcedure, - svc.ResolveTransaction, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessVStreamHandler := connect.NewServerStreamHandler( VitessVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessPrepareHandler := connect.NewUnaryHandler( VitessPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessCloseSessionHandler := connect.NewUnaryHandler( VitessCloseSessionProcedure, svc.CloseSession, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtgateservice.Vitess/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -275,8 +273,6 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, vitessExecuteBatchHandler.ServeHTTP(w, r) case VitessStreamExecuteProcedure: vitessStreamExecuteHandler.ServeHTTP(w, r) - case VitessResolveTransactionProcedure: - vitessResolveTransactionHandler.ServeHTTP(w, r) case VitessVStreamProcedure: vitessVStreamHandler.ServeHTTP(w, r) case VitessPrepareProcedure: @@ -292,30 +288,26 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, // UnimplementedVitessHandler returns CodeUnimplemented from all methods. type UnimplementedVitessHandler struct{} -func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[dev.ExecuteRequest]) (*connect.Response[dev.ExecuteResponse], error) { +func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[dev1.ExecuteRequest]) (*connect.Response[dev1.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Execute is not implemented")) } -func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[dev.ExecuteBatchRequest]) (*connect.Response[dev.ExecuteBatchResponse], error) { +func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[dev1.ExecuteBatchRequest]) (*connect.Response[dev1.ExecuteBatchResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ExecuteBatch is not implemented")) } -func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[dev.StreamExecuteRequest], *connect.ServerStream[dev.StreamExecuteResponse]) error { +func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[dev1.StreamExecuteRequest], *connect.ServerStream[dev1.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.StreamExecute is not implemented")) } -func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[dev.ResolveTransactionRequest]) (*connect.Response[dev.ResolveTransactionResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ResolveTransaction is not implemented")) -} - -func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[dev.VStreamRequest], *connect.ServerStream[dev.VStreamResponse]) error { +func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[dev1.VStreamRequest], *connect.ServerStream[dev1.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.VStream is not implemented")) } -func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[dev.PrepareRequest]) (*connect.Response[dev.PrepareResponse], error) { +func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[dev1.PrepareRequest]) (*connect.Response[dev1.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Prepare is not implemented")) } -func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[dev.CloseSessionRequest]) (*connect.Response[dev.CloseSessionResponse], error) { +func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[dev1.CloseSessionRequest]) (*connect.Response[dev1.CloseSessionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.CloseSession is not implemented")) } diff --git a/gen/vitess/vtgateservice/v16/vtgateservice.pb.go b/gen/vitess/vtgateservice/v16/vtgateservice.pb.go index 92fe7c1..1fcdf96 100644 --- a/gen/vitess/vtgateservice/v16/vtgateservice.pb.go +++ b/gen/vitess/vtgateservice/v16/vtgateservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgateservice/v16/vtgateservice.proto @@ -101,7 +101,7 @@ var file_vitess_vtgateservice_v16_vtgateservice_proto_rawDesc = []byte{ 0x33, } -var file_vitess_vtgateservice_v16_vtgateservice_proto_goTypes = []interface{}{ +var file_vitess_vtgateservice_v16_vtgateservice_proto_goTypes = []any{ (*v16.ExecuteRequest)(nil), // 0: vitess.vtgate.v16.ExecuteRequest (*v16.ExecuteBatchRequest)(nil), // 1: vitess.vtgate.v16.ExecuteBatchRequest (*v16.StreamExecuteRequest)(nil), // 2: vitess.vtgate.v16.StreamExecuteRequest diff --git a/gen/vitess/vtgateservice/v16/vtgateservicev16connect/vtgateservice.connect.go b/gen/vitess/vtgateservice/v16/vtgateservicev16connect/vtgateservice.connect.go index 114aae8..5a612bf 100644 --- a/gen/vitess/vtgateservice/v16/vtgateservicev16connect/vtgateservice.connect.go +++ b/gen/vitess/vtgateservice/v16/vtgateservicev16connect/vtgateservice.connect.go @@ -27,8 +27,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v16 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v16" - _ "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v16" + v161 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v16" + v16 "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v16" http "net/http" strings "strings" ) @@ -38,7 +38,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VitessName is the fully-qualified name of the Vitess service. @@ -70,35 +70,47 @@ const ( VitessCloseSessionProcedure = "/vtgateservice.Vitess/CloseSession" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vitessServiceDescriptor = v16.File_vitess_vtgateservice_v16_vtgateservice_proto.Services().ByName("Vitess") + vitessExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Execute") + vitessExecuteBatchMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ExecuteBatch") + vitessStreamExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("StreamExecute") + vitessResolveTransactionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ResolveTransaction") + vitessVStreamMethodDescriptor = vitessServiceDescriptor.Methods().ByName("VStream") + vitessPrepareMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Prepare") + vitessCloseSessionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("CloseSession") +) + // VitessClient is a client for the vtgateservice.Vitess service. type VitessClient interface { // Execute tries to route the query to the right shard. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[v16.ExecuteBatchRequest]) (*connect.Response[v16.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[v161.ExecuteBatchRequest]) (*connect.Response[v161.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[v16.StreamExecuteRequest]) (*connect.ServerStreamForClient[v16.StreamExecuteResponse], error) + StreamExecute(context.Context, *connect.Request[v161.StreamExecuteRequest]) (*connect.ServerStreamForClient[v161.StreamExecuteResponse], error) // ResolveTransaction resolves a transaction. // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[v16.ResolveTransactionRequest]) (*connect.Response[v16.ResolveTransactionResponse], error) + ResolveTransaction(context.Context, *connect.Request[v161.ResolveTransactionRequest]) (*connect.Response[v161.ResolveTransactionResponse], error) // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[v16.VStreamRequest]) (*connect.ServerStreamForClient[v16.VStreamResponse], error) + VStream(context.Context, *connect.Request[v161.VStreamRequest]) (*connect.ServerStreamForClient[v161.VStreamResponse], error) // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[v16.CloseSessionRequest]) (*connect.Response[v16.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[v161.CloseSessionRequest]) (*connect.Response[v161.CloseSessionResponse], error) } // NewVitessClient constructs a client for the vtgateservice.Vitess service. By default, @@ -111,87 +123,94 @@ type VitessClient interface { func NewVitessClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VitessClient { baseURL = strings.TrimRight(baseURL, "/") return &vitessClient{ - execute: connect.NewClient[v16.ExecuteRequest, v16.ExecuteResponse]( + execute: connect.NewClient[v161.ExecuteRequest, v161.ExecuteResponse]( httpClient, baseURL+VitessExecuteProcedure, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeBatch: connect.NewClient[v16.ExecuteBatchRequest, v16.ExecuteBatchResponse]( + executeBatch: connect.NewClient[v161.ExecuteBatchRequest, v161.ExecuteBatchResponse]( httpClient, baseURL+VitessExecuteBatchProcedure, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[v16.StreamExecuteRequest, v16.StreamExecuteResponse]( + streamExecute: connect.NewClient[v161.StreamExecuteRequest, v161.StreamExecuteResponse]( httpClient, baseURL+VitessStreamExecuteProcedure, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - resolveTransaction: connect.NewClient[v16.ResolveTransactionRequest, v16.ResolveTransactionResponse]( + resolveTransaction: connect.NewClient[v161.ResolveTransactionRequest, v161.ResolveTransactionResponse]( httpClient, baseURL+VitessResolveTransactionProcedure, - opts..., + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStream: connect.NewClient[v16.VStreamRequest, v16.VStreamResponse]( + vStream: connect.NewClient[v161.VStreamRequest, v161.VStreamResponse]( httpClient, baseURL+VitessVStreamProcedure, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[v16.PrepareRequest, v16.PrepareResponse]( + prepare: connect.NewClient[v161.PrepareRequest, v161.PrepareResponse]( httpClient, baseURL+VitessPrepareProcedure, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - closeSession: connect.NewClient[v16.CloseSessionRequest, v16.CloseSessionResponse]( + closeSession: connect.NewClient[v161.CloseSessionRequest, v161.CloseSessionResponse]( httpClient, baseURL+VitessCloseSessionProcedure, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vitessClient implements VitessClient. type vitessClient struct { - execute *connect.Client[v16.ExecuteRequest, v16.ExecuteResponse] - executeBatch *connect.Client[v16.ExecuteBatchRequest, v16.ExecuteBatchResponse] - streamExecute *connect.Client[v16.StreamExecuteRequest, v16.StreamExecuteResponse] - resolveTransaction *connect.Client[v16.ResolveTransactionRequest, v16.ResolveTransactionResponse] - vStream *connect.Client[v16.VStreamRequest, v16.VStreamResponse] - prepare *connect.Client[v16.PrepareRequest, v16.PrepareResponse] - closeSession *connect.Client[v16.CloseSessionRequest, v16.CloseSessionResponse] + execute *connect.Client[v161.ExecuteRequest, v161.ExecuteResponse] + executeBatch *connect.Client[v161.ExecuteBatchRequest, v161.ExecuteBatchResponse] + streamExecute *connect.Client[v161.StreamExecuteRequest, v161.StreamExecuteResponse] + resolveTransaction *connect.Client[v161.ResolveTransactionRequest, v161.ResolveTransactionResponse] + vStream *connect.Client[v161.VStreamRequest, v161.VStreamResponse] + prepare *connect.Client[v161.PrepareRequest, v161.PrepareResponse] + closeSession *connect.Client[v161.CloseSessionRequest, v161.CloseSessionResponse] } // Execute calls vtgateservice.Vitess.Execute. -func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) { +func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // ExecuteBatch calls vtgateservice.Vitess.ExecuteBatch. -func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[v16.ExecuteBatchRequest]) (*connect.Response[v16.ExecuteBatchResponse], error) { +func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[v161.ExecuteBatchRequest]) (*connect.Response[v161.ExecuteBatchResponse], error) { return c.executeBatch.CallUnary(ctx, req) } // StreamExecute calls vtgateservice.Vitess.StreamExecute. -func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[v16.StreamExecuteRequest]) (*connect.ServerStreamForClient[v16.StreamExecuteResponse], error) { +func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[v161.StreamExecuteRequest]) (*connect.ServerStreamForClient[v161.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } // ResolveTransaction calls vtgateservice.Vitess.ResolveTransaction. -func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[v16.ResolveTransactionRequest]) (*connect.Response[v16.ResolveTransactionResponse], error) { +func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[v161.ResolveTransactionRequest]) (*connect.Response[v161.ResolveTransactionResponse], error) { return c.resolveTransaction.CallUnary(ctx, req) } // VStream calls vtgateservice.Vitess.VStream. -func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[v16.VStreamRequest]) (*connect.ServerStreamForClient[v16.VStreamResponse], error) { +func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[v161.VStreamRequest]) (*connect.ServerStreamForClient[v161.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // Prepare calls vtgateservice.Vitess.Prepare. -func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) { +func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CloseSession calls vtgateservice.Vitess.CloseSession. -func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[v16.CloseSessionRequest]) (*connect.Response[v16.CloseSessionResponse], error) { +func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[v161.CloseSessionRequest]) (*connect.Response[v161.CloseSessionResponse], error) { return c.closeSession.CallUnary(ctx, req) } @@ -201,29 +220,29 @@ type VitessHandler interface { // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[v16.ExecuteBatchRequest]) (*connect.Response[v16.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[v161.ExecuteBatchRequest]) (*connect.Response[v161.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[v16.StreamExecuteRequest], *connect.ServerStream[v16.StreamExecuteResponse]) error + StreamExecute(context.Context, *connect.Request[v161.StreamExecuteRequest], *connect.ServerStream[v161.StreamExecuteResponse]) error // ResolveTransaction resolves a transaction. // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[v16.ResolveTransactionRequest]) (*connect.Response[v16.ResolveTransactionResponse], error) + ResolveTransaction(context.Context, *connect.Request[v161.ResolveTransactionRequest]) (*connect.Response[v161.ResolveTransactionResponse], error) // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[v16.VStreamRequest], *connect.ServerStream[v16.VStreamResponse]) error + VStream(context.Context, *connect.Request[v161.VStreamRequest], *connect.ServerStream[v161.VStreamResponse]) error // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[v16.CloseSessionRequest]) (*connect.Response[v16.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[v161.CloseSessionRequest]) (*connect.Response[v161.CloseSessionResponse], error) } // NewVitessHandler builds an HTTP handler from the service implementation. It returns the path on @@ -235,37 +254,44 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, vitessExecuteHandler := connect.NewUnaryHandler( VitessExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessExecuteBatchHandler := connect.NewUnaryHandler( VitessExecuteBatchProcedure, svc.ExecuteBatch, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessStreamExecuteHandler := connect.NewServerStreamHandler( VitessStreamExecuteProcedure, svc.StreamExecute, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessResolveTransactionHandler := connect.NewUnaryHandler( VitessResolveTransactionProcedure, svc.ResolveTransaction, - opts..., + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessVStreamHandler := connect.NewServerStreamHandler( VitessVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessPrepareHandler := connect.NewUnaryHandler( VitessPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessCloseSessionHandler := connect.NewUnaryHandler( VitessCloseSessionProcedure, svc.CloseSession, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtgateservice.Vitess/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -292,30 +318,30 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, // UnimplementedVitessHandler returns CodeUnimplemented from all methods. type UnimplementedVitessHandler struct{} -func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[v16.ExecuteRequest]) (*connect.Response[v16.ExecuteResponse], error) { +func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[v161.ExecuteRequest]) (*connect.Response[v161.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Execute is not implemented")) } -func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[v16.ExecuteBatchRequest]) (*connect.Response[v16.ExecuteBatchResponse], error) { +func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[v161.ExecuteBatchRequest]) (*connect.Response[v161.ExecuteBatchResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ExecuteBatch is not implemented")) } -func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[v16.StreamExecuteRequest], *connect.ServerStream[v16.StreamExecuteResponse]) error { +func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[v161.StreamExecuteRequest], *connect.ServerStream[v161.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.StreamExecute is not implemented")) } -func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[v16.ResolveTransactionRequest]) (*connect.Response[v16.ResolveTransactionResponse], error) { +func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[v161.ResolveTransactionRequest]) (*connect.Response[v161.ResolveTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ResolveTransaction is not implemented")) } -func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[v16.VStreamRequest], *connect.ServerStream[v16.VStreamResponse]) error { +func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[v161.VStreamRequest], *connect.ServerStream[v161.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.VStream is not implemented")) } -func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[v16.PrepareRequest]) (*connect.Response[v16.PrepareResponse], error) { +func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[v161.PrepareRequest]) (*connect.Response[v161.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Prepare is not implemented")) } -func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[v16.CloseSessionRequest]) (*connect.Response[v16.CloseSessionResponse], error) { +func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[v161.CloseSessionRequest]) (*connect.Response[v161.CloseSessionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.CloseSession is not implemented")) } diff --git a/gen/vitess/vtgateservice/v17/vtgateservice.pb.go b/gen/vitess/vtgateservice/v17/vtgateservice.pb.go index 73ec9eb..835e339 100644 --- a/gen/vitess/vtgateservice/v17/vtgateservice.pb.go +++ b/gen/vitess/vtgateservice/v17/vtgateservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgateservice/v17/vtgateservice.proto @@ -101,7 +101,7 @@ var file_vitess_vtgateservice_v17_vtgateservice_proto_rawDesc = []byte{ 0x33, } -var file_vitess_vtgateservice_v17_vtgateservice_proto_goTypes = []interface{}{ +var file_vitess_vtgateservice_v17_vtgateservice_proto_goTypes = []any{ (*v17.ExecuteRequest)(nil), // 0: vitess.vtgate.v17.ExecuteRequest (*v17.ExecuteBatchRequest)(nil), // 1: vitess.vtgate.v17.ExecuteBatchRequest (*v17.StreamExecuteRequest)(nil), // 2: vitess.vtgate.v17.StreamExecuteRequest diff --git a/gen/vitess/vtgateservice/v17/vtgateservicev17connect/vtgateservice.connect.go b/gen/vitess/vtgateservice/v17/vtgateservicev17connect/vtgateservice.connect.go index fac2284..fead012 100644 --- a/gen/vitess/vtgateservice/v17/vtgateservicev17connect/vtgateservice.connect.go +++ b/gen/vitess/vtgateservice/v17/vtgateservicev17connect/vtgateservice.connect.go @@ -27,8 +27,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v17 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v17" - _ "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v17" + v171 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v17" + v17 "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v17" http "net/http" strings "strings" ) @@ -38,7 +38,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VitessName is the fully-qualified name of the Vitess service. @@ -70,35 +70,47 @@ const ( VitessCloseSessionProcedure = "/vtgateservice.Vitess/CloseSession" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vitessServiceDescriptor = v17.File_vitess_vtgateservice_v17_vtgateservice_proto.Services().ByName("Vitess") + vitessExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Execute") + vitessExecuteBatchMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ExecuteBatch") + vitessStreamExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("StreamExecute") + vitessResolveTransactionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ResolveTransaction") + vitessVStreamMethodDescriptor = vitessServiceDescriptor.Methods().ByName("VStream") + vitessPrepareMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Prepare") + vitessCloseSessionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("CloseSession") +) + // VitessClient is a client for the vtgateservice.Vitess service. type VitessClient interface { // Execute tries to route the query to the right shard. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[v17.ExecuteBatchRequest]) (*connect.Response[v17.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[v171.ExecuteBatchRequest]) (*connect.Response[v171.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[v17.StreamExecuteRequest]) (*connect.ServerStreamForClient[v17.StreamExecuteResponse], error) + StreamExecute(context.Context, *connect.Request[v171.StreamExecuteRequest]) (*connect.ServerStreamForClient[v171.StreamExecuteResponse], error) // ResolveTransaction resolves a transaction. // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[v17.ResolveTransactionRequest]) (*connect.Response[v17.ResolveTransactionResponse], error) + ResolveTransaction(context.Context, *connect.Request[v171.ResolveTransactionRequest]) (*connect.Response[v171.ResolveTransactionResponse], error) // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[v17.VStreamRequest]) (*connect.ServerStreamForClient[v17.VStreamResponse], error) + VStream(context.Context, *connect.Request[v171.VStreamRequest]) (*connect.ServerStreamForClient[v171.VStreamResponse], error) // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[v17.CloseSessionRequest]) (*connect.Response[v17.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[v171.CloseSessionRequest]) (*connect.Response[v171.CloseSessionResponse], error) } // NewVitessClient constructs a client for the vtgateservice.Vitess service. By default, @@ -111,87 +123,94 @@ type VitessClient interface { func NewVitessClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VitessClient { baseURL = strings.TrimRight(baseURL, "/") return &vitessClient{ - execute: connect.NewClient[v17.ExecuteRequest, v17.ExecuteResponse]( + execute: connect.NewClient[v171.ExecuteRequest, v171.ExecuteResponse]( httpClient, baseURL+VitessExecuteProcedure, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeBatch: connect.NewClient[v17.ExecuteBatchRequest, v17.ExecuteBatchResponse]( + executeBatch: connect.NewClient[v171.ExecuteBatchRequest, v171.ExecuteBatchResponse]( httpClient, baseURL+VitessExecuteBatchProcedure, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[v17.StreamExecuteRequest, v17.StreamExecuteResponse]( + streamExecute: connect.NewClient[v171.StreamExecuteRequest, v171.StreamExecuteResponse]( httpClient, baseURL+VitessStreamExecuteProcedure, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - resolveTransaction: connect.NewClient[v17.ResolveTransactionRequest, v17.ResolveTransactionResponse]( + resolveTransaction: connect.NewClient[v171.ResolveTransactionRequest, v171.ResolveTransactionResponse]( httpClient, baseURL+VitessResolveTransactionProcedure, - opts..., + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStream: connect.NewClient[v17.VStreamRequest, v17.VStreamResponse]( + vStream: connect.NewClient[v171.VStreamRequest, v171.VStreamResponse]( httpClient, baseURL+VitessVStreamProcedure, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[v17.PrepareRequest, v17.PrepareResponse]( + prepare: connect.NewClient[v171.PrepareRequest, v171.PrepareResponse]( httpClient, baseURL+VitessPrepareProcedure, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - closeSession: connect.NewClient[v17.CloseSessionRequest, v17.CloseSessionResponse]( + closeSession: connect.NewClient[v171.CloseSessionRequest, v171.CloseSessionResponse]( httpClient, baseURL+VitessCloseSessionProcedure, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vitessClient implements VitessClient. type vitessClient struct { - execute *connect.Client[v17.ExecuteRequest, v17.ExecuteResponse] - executeBatch *connect.Client[v17.ExecuteBatchRequest, v17.ExecuteBatchResponse] - streamExecute *connect.Client[v17.StreamExecuteRequest, v17.StreamExecuteResponse] - resolveTransaction *connect.Client[v17.ResolveTransactionRequest, v17.ResolveTransactionResponse] - vStream *connect.Client[v17.VStreamRequest, v17.VStreamResponse] - prepare *connect.Client[v17.PrepareRequest, v17.PrepareResponse] - closeSession *connect.Client[v17.CloseSessionRequest, v17.CloseSessionResponse] + execute *connect.Client[v171.ExecuteRequest, v171.ExecuteResponse] + executeBatch *connect.Client[v171.ExecuteBatchRequest, v171.ExecuteBatchResponse] + streamExecute *connect.Client[v171.StreamExecuteRequest, v171.StreamExecuteResponse] + resolveTransaction *connect.Client[v171.ResolveTransactionRequest, v171.ResolveTransactionResponse] + vStream *connect.Client[v171.VStreamRequest, v171.VStreamResponse] + prepare *connect.Client[v171.PrepareRequest, v171.PrepareResponse] + closeSession *connect.Client[v171.CloseSessionRequest, v171.CloseSessionResponse] } // Execute calls vtgateservice.Vitess.Execute. -func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) { +func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // ExecuteBatch calls vtgateservice.Vitess.ExecuteBatch. -func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[v17.ExecuteBatchRequest]) (*connect.Response[v17.ExecuteBatchResponse], error) { +func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[v171.ExecuteBatchRequest]) (*connect.Response[v171.ExecuteBatchResponse], error) { return c.executeBatch.CallUnary(ctx, req) } // StreamExecute calls vtgateservice.Vitess.StreamExecute. -func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[v17.StreamExecuteRequest]) (*connect.ServerStreamForClient[v17.StreamExecuteResponse], error) { +func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[v171.StreamExecuteRequest]) (*connect.ServerStreamForClient[v171.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } // ResolveTransaction calls vtgateservice.Vitess.ResolveTransaction. -func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[v17.ResolveTransactionRequest]) (*connect.Response[v17.ResolveTransactionResponse], error) { +func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[v171.ResolveTransactionRequest]) (*connect.Response[v171.ResolveTransactionResponse], error) { return c.resolveTransaction.CallUnary(ctx, req) } // VStream calls vtgateservice.Vitess.VStream. -func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[v17.VStreamRequest]) (*connect.ServerStreamForClient[v17.VStreamResponse], error) { +func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[v171.VStreamRequest]) (*connect.ServerStreamForClient[v171.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // Prepare calls vtgateservice.Vitess.Prepare. -func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) { +func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CloseSession calls vtgateservice.Vitess.CloseSession. -func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[v17.CloseSessionRequest]) (*connect.Response[v17.CloseSessionResponse], error) { +func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[v171.CloseSessionRequest]) (*connect.Response[v171.CloseSessionResponse], error) { return c.closeSession.CallUnary(ctx, req) } @@ -201,29 +220,29 @@ type VitessHandler interface { // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[v17.ExecuteBatchRequest]) (*connect.Response[v17.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[v171.ExecuteBatchRequest]) (*connect.Response[v171.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[v17.StreamExecuteRequest], *connect.ServerStream[v17.StreamExecuteResponse]) error + StreamExecute(context.Context, *connect.Request[v171.StreamExecuteRequest], *connect.ServerStream[v171.StreamExecuteResponse]) error // ResolveTransaction resolves a transaction. // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[v17.ResolveTransactionRequest]) (*connect.Response[v17.ResolveTransactionResponse], error) + ResolveTransaction(context.Context, *connect.Request[v171.ResolveTransactionRequest]) (*connect.Response[v171.ResolveTransactionResponse], error) // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[v17.VStreamRequest], *connect.ServerStream[v17.VStreamResponse]) error + VStream(context.Context, *connect.Request[v171.VStreamRequest], *connect.ServerStream[v171.VStreamResponse]) error // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[v17.CloseSessionRequest]) (*connect.Response[v17.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[v171.CloseSessionRequest]) (*connect.Response[v171.CloseSessionResponse], error) } // NewVitessHandler builds an HTTP handler from the service implementation. It returns the path on @@ -235,37 +254,44 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, vitessExecuteHandler := connect.NewUnaryHandler( VitessExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessExecuteBatchHandler := connect.NewUnaryHandler( VitessExecuteBatchProcedure, svc.ExecuteBatch, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessStreamExecuteHandler := connect.NewServerStreamHandler( VitessStreamExecuteProcedure, svc.StreamExecute, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessResolveTransactionHandler := connect.NewUnaryHandler( VitessResolveTransactionProcedure, svc.ResolveTransaction, - opts..., + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessVStreamHandler := connect.NewServerStreamHandler( VitessVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessPrepareHandler := connect.NewUnaryHandler( VitessPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessCloseSessionHandler := connect.NewUnaryHandler( VitessCloseSessionProcedure, svc.CloseSession, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtgateservice.Vitess/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -292,30 +318,30 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, // UnimplementedVitessHandler returns CodeUnimplemented from all methods. type UnimplementedVitessHandler struct{} -func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[v17.ExecuteRequest]) (*connect.Response[v17.ExecuteResponse], error) { +func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[v171.ExecuteRequest]) (*connect.Response[v171.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Execute is not implemented")) } -func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[v17.ExecuteBatchRequest]) (*connect.Response[v17.ExecuteBatchResponse], error) { +func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[v171.ExecuteBatchRequest]) (*connect.Response[v171.ExecuteBatchResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ExecuteBatch is not implemented")) } -func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[v17.StreamExecuteRequest], *connect.ServerStream[v17.StreamExecuteResponse]) error { +func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[v171.StreamExecuteRequest], *connect.ServerStream[v171.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.StreamExecute is not implemented")) } -func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[v17.ResolveTransactionRequest]) (*connect.Response[v17.ResolveTransactionResponse], error) { +func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[v171.ResolveTransactionRequest]) (*connect.Response[v171.ResolveTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ResolveTransaction is not implemented")) } -func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[v17.VStreamRequest], *connect.ServerStream[v17.VStreamResponse]) error { +func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[v171.VStreamRequest], *connect.ServerStream[v171.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.VStream is not implemented")) } -func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[v17.PrepareRequest]) (*connect.Response[v17.PrepareResponse], error) { +func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[v171.PrepareRequest]) (*connect.Response[v171.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Prepare is not implemented")) } -func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[v17.CloseSessionRequest]) (*connect.Response[v17.CloseSessionResponse], error) { +func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[v171.CloseSessionRequest]) (*connect.Response[v171.CloseSessionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.CloseSession is not implemented")) } diff --git a/gen/vitess/vtgateservice/v18/vtgateservice.pb.go b/gen/vitess/vtgateservice/v18/vtgateservice.pb.go index 4a6b737..ff96303 100644 --- a/gen/vitess/vtgateservice/v18/vtgateservice.pb.go +++ b/gen/vitess/vtgateservice/v18/vtgateservice.pb.go @@ -18,7 +18,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtgateservice/v18/vtgateservice.proto @@ -101,7 +101,7 @@ var file_vitess_vtgateservice_v18_vtgateservice_proto_rawDesc = []byte{ 0x33, } -var file_vitess_vtgateservice_v18_vtgateservice_proto_goTypes = []interface{}{ +var file_vitess_vtgateservice_v18_vtgateservice_proto_goTypes = []any{ (*v18.ExecuteRequest)(nil), // 0: vitess.vtgate.v18.ExecuteRequest (*v18.ExecuteBatchRequest)(nil), // 1: vitess.vtgate.v18.ExecuteBatchRequest (*v18.StreamExecuteRequest)(nil), // 2: vitess.vtgate.v18.StreamExecuteRequest diff --git a/gen/vitess/vtgateservice/v18/vtgateservicev18connect/vtgateservice.connect.go b/gen/vitess/vtgateservice/v18/vtgateservicev18connect/vtgateservice.connect.go index 1317384..5f9d1eb 100644 --- a/gen/vitess/vtgateservice/v18/vtgateservicev18connect/vtgateservice.connect.go +++ b/gen/vitess/vtgateservice/v18/vtgateservicev18connect/vtgateservice.connect.go @@ -27,8 +27,8 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v18 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v18" - _ "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v18" + v181 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v18" + v18 "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v18" http "net/http" strings "strings" ) @@ -38,7 +38,7 @@ import ( // generated with a version of connect newer than the one compiled into your binary. You can fix the // problem by either regenerating this code with an older version of connect or updating the connect // version compiled into your binary. -const _ = connect.IsAtLeastVersion0_1_0 +const _ = connect.IsAtLeastVersion1_13_0 const ( // VitessName is the fully-qualified name of the Vitess service. @@ -70,35 +70,47 @@ const ( VitessCloseSessionProcedure = "/vtgateservice.Vitess/CloseSession" ) +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vitessServiceDescriptor = v18.File_vitess_vtgateservice_v18_vtgateservice_proto.Services().ByName("Vitess") + vitessExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Execute") + vitessExecuteBatchMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ExecuteBatch") + vitessStreamExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("StreamExecute") + vitessResolveTransactionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ResolveTransaction") + vitessVStreamMethodDescriptor = vitessServiceDescriptor.Methods().ByName("VStream") + vitessPrepareMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Prepare") + vitessCloseSessionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("CloseSession") +) + // VitessClient is a client for the vtgateservice.Vitess service. type VitessClient interface { // Execute tries to route the query to the right shard. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[v18.ExecuteBatchRequest]) (*connect.Response[v18.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[v181.ExecuteBatchRequest]) (*connect.Response[v181.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[v18.StreamExecuteRequest]) (*connect.ServerStreamForClient[v18.StreamExecuteResponse], error) + StreamExecute(context.Context, *connect.Request[v181.StreamExecuteRequest]) (*connect.ServerStreamForClient[v181.StreamExecuteResponse], error) // ResolveTransaction resolves a transaction. // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[v18.ResolveTransactionRequest]) (*connect.Response[v18.ResolveTransactionResponse], error) + ResolveTransaction(context.Context, *connect.Request[v181.ResolveTransactionRequest]) (*connect.Response[v181.ResolveTransactionResponse], error) // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[v18.VStreamRequest]) (*connect.ServerStreamForClient[v18.VStreamResponse], error) + VStream(context.Context, *connect.Request[v181.VStreamRequest]) (*connect.ServerStreamForClient[v181.VStreamResponse], error) // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[v18.CloseSessionRequest]) (*connect.Response[v18.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[v181.CloseSessionRequest]) (*connect.Response[v181.CloseSessionResponse], error) } // NewVitessClient constructs a client for the vtgateservice.Vitess service. By default, @@ -111,87 +123,94 @@ type VitessClient interface { func NewVitessClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VitessClient { baseURL = strings.TrimRight(baseURL, "/") return &vitessClient{ - execute: connect.NewClient[v18.ExecuteRequest, v18.ExecuteResponse]( + execute: connect.NewClient[v181.ExecuteRequest, v181.ExecuteResponse]( httpClient, baseURL+VitessExecuteProcedure, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - executeBatch: connect.NewClient[v18.ExecuteBatchRequest, v18.ExecuteBatchResponse]( + executeBatch: connect.NewClient[v181.ExecuteBatchRequest, v181.ExecuteBatchResponse]( httpClient, baseURL+VitessExecuteBatchProcedure, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithClientOptions(opts...), ), - streamExecute: connect.NewClient[v18.StreamExecuteRequest, v18.StreamExecuteResponse]( + streamExecute: connect.NewClient[v181.StreamExecuteRequest, v181.StreamExecuteResponse]( httpClient, baseURL+VitessStreamExecuteProcedure, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), ), - resolveTransaction: connect.NewClient[v18.ResolveTransactionRequest, v18.ResolveTransactionResponse]( + resolveTransaction: connect.NewClient[v181.ResolveTransactionRequest, v181.ResolveTransactionResponse]( httpClient, baseURL+VitessResolveTransactionProcedure, - opts..., + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithClientOptions(opts...), ), - vStream: connect.NewClient[v18.VStreamRequest, v18.VStreamResponse]( + vStream: connect.NewClient[v181.VStreamRequest, v181.VStreamResponse]( httpClient, baseURL+VitessVStreamProcedure, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithClientOptions(opts...), ), - prepare: connect.NewClient[v18.PrepareRequest, v18.PrepareResponse]( + prepare: connect.NewClient[v181.PrepareRequest, v181.PrepareResponse]( httpClient, baseURL+VitessPrepareProcedure, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithClientOptions(opts...), ), - closeSession: connect.NewClient[v18.CloseSessionRequest, v18.CloseSessionResponse]( + closeSession: connect.NewClient[v181.CloseSessionRequest, v181.CloseSessionResponse]( httpClient, baseURL+VitessCloseSessionProcedure, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithClientOptions(opts...), ), } } // vitessClient implements VitessClient. type vitessClient struct { - execute *connect.Client[v18.ExecuteRequest, v18.ExecuteResponse] - executeBatch *connect.Client[v18.ExecuteBatchRequest, v18.ExecuteBatchResponse] - streamExecute *connect.Client[v18.StreamExecuteRequest, v18.StreamExecuteResponse] - resolveTransaction *connect.Client[v18.ResolveTransactionRequest, v18.ResolveTransactionResponse] - vStream *connect.Client[v18.VStreamRequest, v18.VStreamResponse] - prepare *connect.Client[v18.PrepareRequest, v18.PrepareResponse] - closeSession *connect.Client[v18.CloseSessionRequest, v18.CloseSessionResponse] + execute *connect.Client[v181.ExecuteRequest, v181.ExecuteResponse] + executeBatch *connect.Client[v181.ExecuteBatchRequest, v181.ExecuteBatchResponse] + streamExecute *connect.Client[v181.StreamExecuteRequest, v181.StreamExecuteResponse] + resolveTransaction *connect.Client[v181.ResolveTransactionRequest, v181.ResolveTransactionResponse] + vStream *connect.Client[v181.VStreamRequest, v181.VStreamResponse] + prepare *connect.Client[v181.PrepareRequest, v181.PrepareResponse] + closeSession *connect.Client[v181.CloseSessionRequest, v181.CloseSessionResponse] } // Execute calls vtgateservice.Vitess.Execute. -func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) { +func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) { return c.execute.CallUnary(ctx, req) } // ExecuteBatch calls vtgateservice.Vitess.ExecuteBatch. -func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[v18.ExecuteBatchRequest]) (*connect.Response[v18.ExecuteBatchResponse], error) { +func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[v181.ExecuteBatchRequest]) (*connect.Response[v181.ExecuteBatchResponse], error) { return c.executeBatch.CallUnary(ctx, req) } // StreamExecute calls vtgateservice.Vitess.StreamExecute. -func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[v18.StreamExecuteRequest]) (*connect.ServerStreamForClient[v18.StreamExecuteResponse], error) { +func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[v181.StreamExecuteRequest]) (*connect.ServerStreamForClient[v181.StreamExecuteResponse], error) { return c.streamExecute.CallServerStream(ctx, req) } // ResolveTransaction calls vtgateservice.Vitess.ResolveTransaction. -func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[v18.ResolveTransactionRequest]) (*connect.Response[v18.ResolveTransactionResponse], error) { +func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[v181.ResolveTransactionRequest]) (*connect.Response[v181.ResolveTransactionResponse], error) { return c.resolveTransaction.CallUnary(ctx, req) } // VStream calls vtgateservice.Vitess.VStream. -func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[v18.VStreamRequest]) (*connect.ServerStreamForClient[v18.VStreamResponse], error) { +func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[v181.VStreamRequest]) (*connect.ServerStreamForClient[v181.VStreamResponse], error) { return c.vStream.CallServerStream(ctx, req) } // Prepare calls vtgateservice.Vitess.Prepare. -func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) { +func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) { return c.prepare.CallUnary(ctx, req) } // CloseSession calls vtgateservice.Vitess.CloseSession. -func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[v18.CloseSessionRequest]) (*connect.Response[v18.CloseSessionResponse], error) { +func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[v181.CloseSessionRequest]) (*connect.Response[v181.CloseSessionResponse], error) { return c.closeSession.CallUnary(ctx, req) } @@ -201,29 +220,29 @@ type VitessHandler interface { // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - Execute(context.Context, *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) + Execute(context.Context, *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // API group: v3 - ExecuteBatch(context.Context, *connect.Request[v18.ExecuteBatchRequest]) (*connect.Response[v18.ExecuteBatchResponse], error) + ExecuteBatch(context.Context, *connect.Request[v181.ExecuteBatchRequest]) (*connect.Response[v181.ExecuteBatchResponse], error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 - StreamExecute(context.Context, *connect.Request[v18.StreamExecuteRequest], *connect.ServerStream[v18.StreamExecuteResponse]) error + StreamExecute(context.Context, *connect.Request[v181.StreamExecuteRequest], *connect.ServerStream[v181.StreamExecuteResponse]) error // ResolveTransaction resolves a transaction. // API group: Transactions - ResolveTransaction(context.Context, *connect.Request[v18.ResolveTransactionRequest]) (*connect.Response[v18.ResolveTransactionResponse], error) + ResolveTransaction(context.Context, *connect.Request[v181.ResolveTransactionRequest]) (*connect.Response[v181.ResolveTransactionResponse], error) // VStream streams binlog events from the requested sources. - VStream(context.Context, *connect.Request[v18.VStreamRequest], *connect.ServerStream[v18.VStreamResponse]) error + VStream(context.Context, *connect.Request[v181.VStreamRequest], *connect.ServerStream[v181.VStreamResponse]) error // Prepare is used by the MySQL server plugin as part of supporting prepared statements. - Prepare(context.Context, *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) + Prepare(context.Context, *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) // CloseSession closes the session, rolling back any implicit transactions. // This has the same effect as if a "rollback" statement was executed, // but does not affect the query statistics. - CloseSession(context.Context, *connect.Request[v18.CloseSessionRequest]) (*connect.Response[v18.CloseSessionResponse], error) + CloseSession(context.Context, *connect.Request[v181.CloseSessionRequest]) (*connect.Response[v181.CloseSessionResponse], error) } // NewVitessHandler builds an HTTP handler from the service implementation. It returns the path on @@ -235,37 +254,44 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, vitessExecuteHandler := connect.NewUnaryHandler( VitessExecuteProcedure, svc.Execute, - opts..., + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessExecuteBatchHandler := connect.NewUnaryHandler( VitessExecuteBatchProcedure, svc.ExecuteBatch, - opts..., + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessStreamExecuteHandler := connect.NewServerStreamHandler( VitessStreamExecuteProcedure, svc.StreamExecute, - opts..., + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessResolveTransactionHandler := connect.NewUnaryHandler( VitessResolveTransactionProcedure, svc.ResolveTransaction, - opts..., + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessVStreamHandler := connect.NewServerStreamHandler( VitessVStreamProcedure, svc.VStream, - opts..., + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessPrepareHandler := connect.NewUnaryHandler( VitessPrepareProcedure, svc.Prepare, - opts..., + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), ) vitessCloseSessionHandler := connect.NewUnaryHandler( VitessCloseSessionProcedure, svc.CloseSession, - opts..., + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithHandlerOptions(opts...), ) return "/vtgateservice.Vitess/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { @@ -292,30 +318,30 @@ func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, // UnimplementedVitessHandler returns CodeUnimplemented from all methods. type UnimplementedVitessHandler struct{} -func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[v18.ExecuteRequest]) (*connect.Response[v18.ExecuteResponse], error) { +func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[v181.ExecuteRequest]) (*connect.Response[v181.ExecuteResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Execute is not implemented")) } -func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[v18.ExecuteBatchRequest]) (*connect.Response[v18.ExecuteBatchResponse], error) { +func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[v181.ExecuteBatchRequest]) (*connect.Response[v181.ExecuteBatchResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ExecuteBatch is not implemented")) } -func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[v18.StreamExecuteRequest], *connect.ServerStream[v18.StreamExecuteResponse]) error { +func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[v181.StreamExecuteRequest], *connect.ServerStream[v181.StreamExecuteResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.StreamExecute is not implemented")) } -func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[v18.ResolveTransactionRequest]) (*connect.Response[v18.ResolveTransactionResponse], error) { +func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[v181.ResolveTransactionRequest]) (*connect.Response[v181.ResolveTransactionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ResolveTransaction is not implemented")) } -func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[v18.VStreamRequest], *connect.ServerStream[v18.VStreamResponse]) error { +func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[v181.VStreamRequest], *connect.ServerStream[v181.VStreamResponse]) error { return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.VStream is not implemented")) } -func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[v18.PrepareRequest]) (*connect.Response[v18.PrepareResponse], error) { +func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[v181.PrepareRequest]) (*connect.Response[v181.PrepareResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Prepare is not implemented")) } -func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[v18.CloseSessionRequest]) (*connect.Response[v18.CloseSessionResponse], error) { +func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[v181.CloseSessionRequest]) (*connect.Response[v181.CloseSessionResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.CloseSession is not implemented")) } diff --git a/gen/vitess/vtgateservice/v19/vtgateservice.pb.go b/gen/vitess/vtgateservice/v19/vtgateservice.pb.go new file mode 100644 index 0000000..cc27183 --- /dev/null +++ b/gen/vitess/vtgateservice/v19/vtgateservice.pb.go @@ -0,0 +1,164 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// Service definition for vtgateservice. +// This is the main entry point to Vitess. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vtgateservice/v19/vtgateservice.proto + +// option java_package="io.vitess.proto.grpc"; + +package vtgateservicev19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_vitess_vtgateservice_v19_vtgateservice_proto protoreflect.FileDescriptor + +var file_vitess_vtgateservice_v19_vtgateservice_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x1a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x67, 0x61, + 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xa9, 0x05, 0x0a, 0x06, 0x56, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x12, 0x52, 0x0a, 0x07, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x21, + 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, + 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, + 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, + 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x30, 0x01, 0x12, 0x73, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, + 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, + 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x07, 0x56, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, + 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, + 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x52, 0x0a, + 0x07, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x50, 0x72, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, + 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x61, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, + 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6c, + 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x39, 0x3b, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var file_vitess_vtgateservice_v19_vtgateservice_proto_goTypes = []any{ + (*v19.ExecuteRequest)(nil), // 0: vitess.vtgate.v19.ExecuteRequest + (*v19.ExecuteBatchRequest)(nil), // 1: vitess.vtgate.v19.ExecuteBatchRequest + (*v19.StreamExecuteRequest)(nil), // 2: vitess.vtgate.v19.StreamExecuteRequest + (*v19.ResolveTransactionRequest)(nil), // 3: vitess.vtgate.v19.ResolveTransactionRequest + (*v19.VStreamRequest)(nil), // 4: vitess.vtgate.v19.VStreamRequest + (*v19.PrepareRequest)(nil), // 5: vitess.vtgate.v19.PrepareRequest + (*v19.CloseSessionRequest)(nil), // 6: vitess.vtgate.v19.CloseSessionRequest + (*v19.ExecuteResponse)(nil), // 7: vitess.vtgate.v19.ExecuteResponse + (*v19.ExecuteBatchResponse)(nil), // 8: vitess.vtgate.v19.ExecuteBatchResponse + (*v19.StreamExecuteResponse)(nil), // 9: vitess.vtgate.v19.StreamExecuteResponse + (*v19.ResolveTransactionResponse)(nil), // 10: vitess.vtgate.v19.ResolveTransactionResponse + (*v19.VStreamResponse)(nil), // 11: vitess.vtgate.v19.VStreamResponse + (*v19.PrepareResponse)(nil), // 12: vitess.vtgate.v19.PrepareResponse + (*v19.CloseSessionResponse)(nil), // 13: vitess.vtgate.v19.CloseSessionResponse +} +var file_vitess_vtgateservice_v19_vtgateservice_proto_depIdxs = []int32{ + 0, // 0: vitess.vtgateservice.v19.Vitess.Execute:input_type -> vitess.vtgate.v19.ExecuteRequest + 1, // 1: vitess.vtgateservice.v19.Vitess.ExecuteBatch:input_type -> vitess.vtgate.v19.ExecuteBatchRequest + 2, // 2: vitess.vtgateservice.v19.Vitess.StreamExecute:input_type -> vitess.vtgate.v19.StreamExecuteRequest + 3, // 3: vitess.vtgateservice.v19.Vitess.ResolveTransaction:input_type -> vitess.vtgate.v19.ResolveTransactionRequest + 4, // 4: vitess.vtgateservice.v19.Vitess.VStream:input_type -> vitess.vtgate.v19.VStreamRequest + 5, // 5: vitess.vtgateservice.v19.Vitess.Prepare:input_type -> vitess.vtgate.v19.PrepareRequest + 6, // 6: vitess.vtgateservice.v19.Vitess.CloseSession:input_type -> vitess.vtgate.v19.CloseSessionRequest + 7, // 7: vitess.vtgateservice.v19.Vitess.Execute:output_type -> vitess.vtgate.v19.ExecuteResponse + 8, // 8: vitess.vtgateservice.v19.Vitess.ExecuteBatch:output_type -> vitess.vtgate.v19.ExecuteBatchResponse + 9, // 9: vitess.vtgateservice.v19.Vitess.StreamExecute:output_type -> vitess.vtgate.v19.StreamExecuteResponse + 10, // 10: vitess.vtgateservice.v19.Vitess.ResolveTransaction:output_type -> vitess.vtgate.v19.ResolveTransactionResponse + 11, // 11: vitess.vtgateservice.v19.Vitess.VStream:output_type -> vitess.vtgate.v19.VStreamResponse + 12, // 12: vitess.vtgateservice.v19.Vitess.Prepare:output_type -> vitess.vtgate.v19.PrepareResponse + 13, // 13: vitess.vtgateservice.v19.Vitess.CloseSession:output_type -> vitess.vtgate.v19.CloseSessionResponse + 7, // [7:14] is the sub-list for method output_type + 0, // [0:7] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_vitess_vtgateservice_v19_vtgateservice_proto_init() } +func file_vitess_vtgateservice_v19_vtgateservice_proto_init() { + if File_vitess_vtgateservice_v19_vtgateservice_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vtgateservice_v19_vtgateservice_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_vitess_vtgateservice_v19_vtgateservice_proto_goTypes, + DependencyIndexes: file_vitess_vtgateservice_v19_vtgateservice_proto_depIdxs, + }.Build() + File_vitess_vtgateservice_v19_vtgateservice_proto = out.File + file_vitess_vtgateservice_v19_vtgateservice_proto_rawDesc = nil + file_vitess_vtgateservice_v19_vtgateservice_proto_goTypes = nil + file_vitess_vtgateservice_v19_vtgateservice_proto_depIdxs = nil +} diff --git a/gen/vitess/vtgateservice/v19/vtgateservicev19connect/vtgateservice.connect.go b/gen/vitess/vtgateservice/v19/vtgateservicev19connect/vtgateservice.connect.go new file mode 100644 index 0000000..e91c808 --- /dev/null +++ b/gen/vitess/vtgateservice/v19/vtgateservicev19connect/vtgateservice.connect.go @@ -0,0 +1,347 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// Service definition for vtgateservice. +// This is the main entry point to Vitess. + +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: vitess/vtgateservice/v19/vtgateservice.proto + +// option java_package="io.vitess.proto.grpc"; + +package vtgateservicev19connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v191 "github.com/planetscale/vitess-types/gen/vitess/vtgate/v19" + v19 "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v19" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // VitessName is the fully-qualified name of the Vitess service. + VitessName = "vtgateservice.Vitess" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // VitessExecuteProcedure is the fully-qualified name of the Vitess's Execute RPC. + VitessExecuteProcedure = "/vtgateservice.Vitess/Execute" + // VitessExecuteBatchProcedure is the fully-qualified name of the Vitess's ExecuteBatch RPC. + VitessExecuteBatchProcedure = "/vtgateservice.Vitess/ExecuteBatch" + // VitessStreamExecuteProcedure is the fully-qualified name of the Vitess's StreamExecute RPC. + VitessStreamExecuteProcedure = "/vtgateservice.Vitess/StreamExecute" + // VitessResolveTransactionProcedure is the fully-qualified name of the Vitess's ResolveTransaction + // RPC. + VitessResolveTransactionProcedure = "/vtgateservice.Vitess/ResolveTransaction" + // VitessVStreamProcedure is the fully-qualified name of the Vitess's VStream RPC. + VitessVStreamProcedure = "/vtgateservice.Vitess/VStream" + // VitessPrepareProcedure is the fully-qualified name of the Vitess's Prepare RPC. + VitessPrepareProcedure = "/vtgateservice.Vitess/Prepare" + // VitessCloseSessionProcedure is the fully-qualified name of the Vitess's CloseSession RPC. + VitessCloseSessionProcedure = "/vtgateservice.Vitess/CloseSession" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + vitessServiceDescriptor = v19.File_vitess_vtgateservice_v19_vtgateservice_proto.Services().ByName("Vitess") + vitessExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Execute") + vitessExecuteBatchMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ExecuteBatch") + vitessStreamExecuteMethodDescriptor = vitessServiceDescriptor.Methods().ByName("StreamExecute") + vitessResolveTransactionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("ResolveTransaction") + vitessVStreamMethodDescriptor = vitessServiceDescriptor.Methods().ByName("VStream") + vitessPrepareMethodDescriptor = vitessServiceDescriptor.Methods().ByName("Prepare") + vitessCloseSessionMethodDescriptor = vitessServiceDescriptor.Methods().ByName("CloseSession") +) + +// VitessClient is a client for the vtgateservice.Vitess service. +type VitessClient interface { + // Execute tries to route the query to the right shard. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // API group: v3 + Execute(context.Context, *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) + // ExecuteBatch tries to route the list of queries on the right shards. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // API group: v3 + ExecuteBatch(context.Context, *connect.Request[v191.ExecuteBatchRequest]) (*connect.Response[v191.ExecuteBatchResponse], error) + // StreamExecute executes a streaming query based on shards. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // Use this method if the query returns a large number of rows. + // API group: v3 + StreamExecute(context.Context, *connect.Request[v191.StreamExecuteRequest]) (*connect.ServerStreamForClient[v191.StreamExecuteResponse], error) + // ResolveTransaction resolves a transaction. + // API group: Transactions + ResolveTransaction(context.Context, *connect.Request[v191.ResolveTransactionRequest]) (*connect.Response[v191.ResolveTransactionResponse], error) + // VStream streams binlog events from the requested sources. + VStream(context.Context, *connect.Request[v191.VStreamRequest]) (*connect.ServerStreamForClient[v191.VStreamResponse], error) + // Prepare is used by the MySQL server plugin as part of supporting prepared statements. + Prepare(context.Context, *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) + // CloseSession closes the session, rolling back any implicit transactions. + // This has the same effect as if a "rollback" statement was executed, + // but does not affect the query statistics. + CloseSession(context.Context, *connect.Request[v191.CloseSessionRequest]) (*connect.Response[v191.CloseSessionResponse], error) +} + +// NewVitessClient constructs a client for the vtgateservice.Vitess service. By default, +// it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and +// sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() +// or connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewVitessClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VitessClient { + baseURL = strings.TrimRight(baseURL, "/") + return &vitessClient{ + execute: connect.NewClient[v191.ExecuteRequest, v191.ExecuteResponse]( + httpClient, + baseURL+VitessExecuteProcedure, + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + executeBatch: connect.NewClient[v191.ExecuteBatchRequest, v191.ExecuteBatchResponse]( + httpClient, + baseURL+VitessExecuteBatchProcedure, + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithClientOptions(opts...), + ), + streamExecute: connect.NewClient[v191.StreamExecuteRequest, v191.StreamExecuteResponse]( + httpClient, + baseURL+VitessStreamExecuteProcedure, + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithClientOptions(opts...), + ), + resolveTransaction: connect.NewClient[v191.ResolveTransactionRequest, v191.ResolveTransactionResponse]( + httpClient, + baseURL+VitessResolveTransactionProcedure, + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + vStream: connect.NewClient[v191.VStreamRequest, v191.VStreamResponse]( + httpClient, + baseURL+VitessVStreamProcedure, + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithClientOptions(opts...), + ), + prepare: connect.NewClient[v191.PrepareRequest, v191.PrepareResponse]( + httpClient, + baseURL+VitessPrepareProcedure, + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithClientOptions(opts...), + ), + closeSession: connect.NewClient[v191.CloseSessionRequest, v191.CloseSessionResponse]( + httpClient, + baseURL+VitessCloseSessionProcedure, + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// vitessClient implements VitessClient. +type vitessClient struct { + execute *connect.Client[v191.ExecuteRequest, v191.ExecuteResponse] + executeBatch *connect.Client[v191.ExecuteBatchRequest, v191.ExecuteBatchResponse] + streamExecute *connect.Client[v191.StreamExecuteRequest, v191.StreamExecuteResponse] + resolveTransaction *connect.Client[v191.ResolveTransactionRequest, v191.ResolveTransactionResponse] + vStream *connect.Client[v191.VStreamRequest, v191.VStreamResponse] + prepare *connect.Client[v191.PrepareRequest, v191.PrepareResponse] + closeSession *connect.Client[v191.CloseSessionRequest, v191.CloseSessionResponse] +} + +// Execute calls vtgateservice.Vitess.Execute. +func (c *vitessClient) Execute(ctx context.Context, req *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) { + return c.execute.CallUnary(ctx, req) +} + +// ExecuteBatch calls vtgateservice.Vitess.ExecuteBatch. +func (c *vitessClient) ExecuteBatch(ctx context.Context, req *connect.Request[v191.ExecuteBatchRequest]) (*connect.Response[v191.ExecuteBatchResponse], error) { + return c.executeBatch.CallUnary(ctx, req) +} + +// StreamExecute calls vtgateservice.Vitess.StreamExecute. +func (c *vitessClient) StreamExecute(ctx context.Context, req *connect.Request[v191.StreamExecuteRequest]) (*connect.ServerStreamForClient[v191.StreamExecuteResponse], error) { + return c.streamExecute.CallServerStream(ctx, req) +} + +// ResolveTransaction calls vtgateservice.Vitess.ResolveTransaction. +func (c *vitessClient) ResolveTransaction(ctx context.Context, req *connect.Request[v191.ResolveTransactionRequest]) (*connect.Response[v191.ResolveTransactionResponse], error) { + return c.resolveTransaction.CallUnary(ctx, req) +} + +// VStream calls vtgateservice.Vitess.VStream. +func (c *vitessClient) VStream(ctx context.Context, req *connect.Request[v191.VStreamRequest]) (*connect.ServerStreamForClient[v191.VStreamResponse], error) { + return c.vStream.CallServerStream(ctx, req) +} + +// Prepare calls vtgateservice.Vitess.Prepare. +func (c *vitessClient) Prepare(ctx context.Context, req *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) { + return c.prepare.CallUnary(ctx, req) +} + +// CloseSession calls vtgateservice.Vitess.CloseSession. +func (c *vitessClient) CloseSession(ctx context.Context, req *connect.Request[v191.CloseSessionRequest]) (*connect.Response[v191.CloseSessionResponse], error) { + return c.closeSession.CallUnary(ctx, req) +} + +// VitessHandler is an implementation of the vtgateservice.Vitess service. +type VitessHandler interface { + // Execute tries to route the query to the right shard. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // API group: v3 + Execute(context.Context, *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) + // ExecuteBatch tries to route the list of queries on the right shards. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // API group: v3 + ExecuteBatch(context.Context, *connect.Request[v191.ExecuteBatchRequest]) (*connect.Response[v191.ExecuteBatchResponse], error) + // StreamExecute executes a streaming query based on shards. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // Use this method if the query returns a large number of rows. + // API group: v3 + StreamExecute(context.Context, *connect.Request[v191.StreamExecuteRequest], *connect.ServerStream[v191.StreamExecuteResponse]) error + // ResolveTransaction resolves a transaction. + // API group: Transactions + ResolveTransaction(context.Context, *connect.Request[v191.ResolveTransactionRequest]) (*connect.Response[v191.ResolveTransactionResponse], error) + // VStream streams binlog events from the requested sources. + VStream(context.Context, *connect.Request[v191.VStreamRequest], *connect.ServerStream[v191.VStreamResponse]) error + // Prepare is used by the MySQL server plugin as part of supporting prepared statements. + Prepare(context.Context, *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) + // CloseSession closes the session, rolling back any implicit transactions. + // This has the same effect as if a "rollback" statement was executed, + // but does not affect the query statistics. + CloseSession(context.Context, *connect.Request[v191.CloseSessionRequest]) (*connect.Response[v191.CloseSessionResponse], error) +} + +// NewVitessHandler builds an HTTP handler from the service implementation. It returns the path on +// which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewVitessHandler(svc VitessHandler, opts ...connect.HandlerOption) (string, http.Handler) { + vitessExecuteHandler := connect.NewUnaryHandler( + VitessExecuteProcedure, + svc.Execute, + connect.WithSchema(vitessExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vitessExecuteBatchHandler := connect.NewUnaryHandler( + VitessExecuteBatchProcedure, + svc.ExecuteBatch, + connect.WithSchema(vitessExecuteBatchMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vitessStreamExecuteHandler := connect.NewServerStreamHandler( + VitessStreamExecuteProcedure, + svc.StreamExecute, + connect.WithSchema(vitessStreamExecuteMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vitessResolveTransactionHandler := connect.NewUnaryHandler( + VitessResolveTransactionProcedure, + svc.ResolveTransaction, + connect.WithSchema(vitessResolveTransactionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vitessVStreamHandler := connect.NewServerStreamHandler( + VitessVStreamProcedure, + svc.VStream, + connect.WithSchema(vitessVStreamMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vitessPrepareHandler := connect.NewUnaryHandler( + VitessPrepareProcedure, + svc.Prepare, + connect.WithSchema(vitessPrepareMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + vitessCloseSessionHandler := connect.NewUnaryHandler( + VitessCloseSessionProcedure, + svc.CloseSession, + connect.WithSchema(vitessCloseSessionMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/vtgateservice.Vitess/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case VitessExecuteProcedure: + vitessExecuteHandler.ServeHTTP(w, r) + case VitessExecuteBatchProcedure: + vitessExecuteBatchHandler.ServeHTTP(w, r) + case VitessStreamExecuteProcedure: + vitessStreamExecuteHandler.ServeHTTP(w, r) + case VitessResolveTransactionProcedure: + vitessResolveTransactionHandler.ServeHTTP(w, r) + case VitessVStreamProcedure: + vitessVStreamHandler.ServeHTTP(w, r) + case VitessPrepareProcedure: + vitessPrepareHandler.ServeHTTP(w, r) + case VitessCloseSessionProcedure: + vitessCloseSessionHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedVitessHandler returns CodeUnimplemented from all methods. +type UnimplementedVitessHandler struct{} + +func (UnimplementedVitessHandler) Execute(context.Context, *connect.Request[v191.ExecuteRequest]) (*connect.Response[v191.ExecuteResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Execute is not implemented")) +} + +func (UnimplementedVitessHandler) ExecuteBatch(context.Context, *connect.Request[v191.ExecuteBatchRequest]) (*connect.Response[v191.ExecuteBatchResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ExecuteBatch is not implemented")) +} + +func (UnimplementedVitessHandler) StreamExecute(context.Context, *connect.Request[v191.StreamExecuteRequest], *connect.ServerStream[v191.StreamExecuteResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.StreamExecute is not implemented")) +} + +func (UnimplementedVitessHandler) ResolveTransaction(context.Context, *connect.Request[v191.ResolveTransactionRequest]) (*connect.Response[v191.ResolveTransactionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.ResolveTransaction is not implemented")) +} + +func (UnimplementedVitessHandler) VStream(context.Context, *connect.Request[v191.VStreamRequest], *connect.ServerStream[v191.VStreamResponse]) error { + return connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.VStream is not implemented")) +} + +func (UnimplementedVitessHandler) Prepare(context.Context, *connect.Request[v191.PrepareRequest]) (*connect.Response[v191.PrepareResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.Prepare is not implemented")) +} + +func (UnimplementedVitessHandler) CloseSession(context.Context, *connect.Request[v191.CloseSessionRequest]) (*connect.Response[v191.CloseSessionResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("vtgateservice.Vitess.CloseSession is not implemented")) +} diff --git a/gen/vitess/vtrpc/dev/vtrpc.pb.go b/gen/vitess/vtrpc/dev/vtrpc.pb.go index d86a981..137399f 100644 --- a/gen/vitess/vtrpc/dev/vtrpc.pb.go +++ b/gen/vitess/vtrpc/dev/vtrpc.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtrpc/dev/vtrpc.proto @@ -441,7 +441,7 @@ func file_vitess_vtrpc_dev_vtrpc_proto_rawDescGZIP() []byte { var file_vitess_vtrpc_dev_vtrpc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtrpc_dev_vtrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vtrpc_dev_vtrpc_proto_goTypes = []interface{}{ +var file_vitess_vtrpc_dev_vtrpc_proto_goTypes = []any{ (Code)(0), // 0: vitess.vtrpc.dev.Code (*CallerID)(nil), // 1: vitess.vtrpc.dev.CallerID (*RPCError)(nil), // 2: vitess.vtrpc.dev.RPCError @@ -461,7 +461,7 @@ func file_vitess_vtrpc_dev_vtrpc_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtrpc_dev_vtrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_dev_vtrpc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CallerID); i { case 0: return &v.state @@ -473,7 +473,7 @@ func file_vitess_vtrpc_dev_vtrpc_proto_init() { return nil } } - file_vitess_vtrpc_dev_vtrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_dev_vtrpc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RPCError); i { case 0: return &v.state diff --git a/gen/vitess/vtrpc/v16/vtrpc.pb.go b/gen/vitess/vtrpc/v16/vtrpc.pb.go index 8f44afe..2e9d9c3 100644 --- a/gen/vitess/vtrpc/v16/vtrpc.pb.go +++ b/gen/vitess/vtrpc/v16/vtrpc.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtrpc/v16/vtrpc.proto @@ -441,7 +441,7 @@ func file_vitess_vtrpc_v16_vtrpc_proto_rawDescGZIP() []byte { var file_vitess_vtrpc_v16_vtrpc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtrpc_v16_vtrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vtrpc_v16_vtrpc_proto_goTypes = []interface{}{ +var file_vitess_vtrpc_v16_vtrpc_proto_goTypes = []any{ (Code)(0), // 0: vitess.vtrpc.v16.Code (*CallerID)(nil), // 1: vitess.vtrpc.v16.CallerID (*RPCError)(nil), // 2: vitess.vtrpc.v16.RPCError @@ -461,7 +461,7 @@ func file_vitess_vtrpc_v16_vtrpc_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtrpc_v16_vtrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_v16_vtrpc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CallerID); i { case 0: return &v.state @@ -473,7 +473,7 @@ func file_vitess_vtrpc_v16_vtrpc_proto_init() { return nil } } - file_vitess_vtrpc_v16_vtrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_v16_vtrpc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RPCError); i { case 0: return &v.state diff --git a/gen/vitess/vtrpc/v17/vtrpc.pb.go b/gen/vitess/vtrpc/v17/vtrpc.pb.go index 100a429..f4f637c 100644 --- a/gen/vitess/vtrpc/v17/vtrpc.pb.go +++ b/gen/vitess/vtrpc/v17/vtrpc.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtrpc/v17/vtrpc.proto @@ -441,7 +441,7 @@ func file_vitess_vtrpc_v17_vtrpc_proto_rawDescGZIP() []byte { var file_vitess_vtrpc_v17_vtrpc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtrpc_v17_vtrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vtrpc_v17_vtrpc_proto_goTypes = []interface{}{ +var file_vitess_vtrpc_v17_vtrpc_proto_goTypes = []any{ (Code)(0), // 0: vitess.vtrpc.v17.Code (*CallerID)(nil), // 1: vitess.vtrpc.v17.CallerID (*RPCError)(nil), // 2: vitess.vtrpc.v17.RPCError @@ -461,7 +461,7 @@ func file_vitess_vtrpc_v17_vtrpc_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtrpc_v17_vtrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_v17_vtrpc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CallerID); i { case 0: return &v.state @@ -473,7 +473,7 @@ func file_vitess_vtrpc_v17_vtrpc_proto_init() { return nil } } - file_vitess_vtrpc_v17_vtrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_v17_vtrpc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RPCError); i { case 0: return &v.state diff --git a/gen/vitess/vtrpc/v18/vtrpc.pb.go b/gen/vitess/vtrpc/v18/vtrpc.pb.go index 0791d60..a8de3f9 100644 --- a/gen/vitess/vtrpc/v18/vtrpc.pb.go +++ b/gen/vitess/vtrpc/v18/vtrpc.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vtrpc/v18/vtrpc.proto @@ -441,7 +441,7 @@ func file_vitess_vtrpc_v18_vtrpc_proto_rawDescGZIP() []byte { var file_vitess_vtrpc_v18_vtrpc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_vitess_vtrpc_v18_vtrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vtrpc_v18_vtrpc_proto_goTypes = []interface{}{ +var file_vitess_vtrpc_v18_vtrpc_proto_goTypes = []any{ (Code)(0), // 0: vitess.vtrpc.v18.Code (*CallerID)(nil), // 1: vitess.vtrpc.v18.CallerID (*RPCError)(nil), // 2: vitess.vtrpc.v18.RPCError @@ -461,7 +461,7 @@ func file_vitess_vtrpc_v18_vtrpc_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vtrpc_v18_vtrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_v18_vtrpc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CallerID); i { case 0: return &v.state @@ -473,7 +473,7 @@ func file_vitess_vtrpc_v18_vtrpc_proto_init() { return nil } } - file_vitess_vtrpc_v18_vtrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vtrpc_v18_vtrpc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RPCError); i { case 0: return &v.state diff --git a/gen/vitess/vtrpc/v19/vtrpc.pb.go b/gen/vitess/vtrpc/v19/vtrpc.pb.go new file mode 100644 index 0000000..8801f43 --- /dev/null +++ b/gen/vitess/vtrpc/v19/vtrpc.pb.go @@ -0,0 +1,508 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains useful data structures for RPCs in Vitess. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vtrpc/v19/vtrpc.proto + +// option java_package="io.vitess.proto"; + +package vtrpcv19 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Code represents canonical error codes. The names, numbers and comments +// must match the ones defined by grpc (0-16): +// +// https://godoc.org/google.golang.org/grpc/codes. +// +// 17+ are custom codes +type Code int32 + +const ( + // OK is returned on success. + Code_OK Code = 0 + // CANCELED indicates the operation was cancelled (typically by the caller). + Code_CANCELED Code = 1 + // UNKNOWN error. An example of where this error may be returned is + // if a Status value received from another address space belongs to + // an error-space that is not known in this address space. Also + // errors raised by APIs that do not return enough error information + // may be converted to this error. + Code_UNKNOWN Code = 2 + // INVALID_ARGUMENT indicates client specified an invalid argument. + // Note that this differs from FAILED_PRECONDITION. It indicates arguments + // that are problematic regardless of the state of the system + // (e.g., a malformed file name). + Code_INVALID_ARGUMENT Code = 3 + // DEADLINE_EXCEEDED means operation expired before completion. + // For operations that change the state of the system, this error may be + // returned even if the operation has completed successfully. For + // example, a successful response from a server could have been delayed + // long enough for the deadline to expire. + Code_DEADLINE_EXCEEDED Code = 4 + // NOT_FOUND means some requested entity (e.g., file or directory) was + // not found. + Code_NOT_FOUND Code = 5 + // ALREADY_EXISTS means an attempt to create an entity failed because one + // already exists. + Code_ALREADY_EXISTS Code = 6 + // PERMISSION_DENIED indicates the caller does not have permission to + // execute the specified operation. It must not be used for rejections + // caused by exhausting some resource (use RESOURCE_EXHAUSTED + // instead for those errors). It must not be + // used if the caller cannot be identified (use Unauthenticated + // instead for those errors). + Code_PERMISSION_DENIED Code = 7 + // RESOURCE_EXHAUSTED indicates some resource has been exhausted, perhaps + // a per-user quota, or perhaps the entire file system is out of space. + Code_RESOURCE_EXHAUSTED Code = 8 + // FAILED_PRECONDITION indicates operation was rejected because the + // system is not in a state required for the operation's execution. + // For example, directory to be deleted may be non-empty, an rmdir + // operation is applied to a non-directory, etc. + // + // A litmus test that may help a service implementor in deciding + // between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE: + // + // (a) Use UNAVAILABLE if the client can retry just the failing call. + // (b) Use ABORTED if the client should retry at a higher-level + // (e.g., restarting a read-modify-write sequence). + // (c) Use FAILED_PRECONDITION if the client should not retry until + // the system state has been explicitly fixed. E.g., if an "rmdir" + // fails because the directory is non-empty, FAILED_PRECONDITION + // should be returned since the client should not retry unless + // they have first fixed up the directory by deleting files from it. + // (d) Use FAILED_PRECONDITION if the client performs conditional + // REST Get/Update/Delete on a resource and the resource on the + // server does not match the condition. E.g., conflicting + // read-modify-write on the same resource. + Code_FAILED_PRECONDITION Code = 9 + // ABORTED indicates the operation was aborted, typically due to a + // concurrency issue like sequencer check failures, transaction aborts, + // etc. + // + // See litmus test above for deciding between FAILED_PRECONDITION, + // ABORTED, and UNAVAILABLE. + Code_ABORTED Code = 10 + // OUT_OF_RANGE means operation was attempted past the valid range. + // E.g., seeking or reading past end of file. + // + // Unlike INVALID_ARGUMENT, this error indicates a problem that may + // be fixed if the system state changes. For example, a 32-bit file + // system will generate INVALID_ARGUMENT if asked to read at an + // offset that is not in the range [0,2^32-1], but it will generate + // OUT_OF_RANGE if asked to read from an offset past the current + // file size. + // + // There is a fair bit of overlap between FAILED_PRECONDITION and + // OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific + // error) when it applies so that callers who are iterating through + // a space can easily look for an OUT_OF_RANGE error to detect when + // they are done. + Code_OUT_OF_RANGE Code = 11 + // UNIMPLEMENTED indicates operation is not implemented or not + // supported/enabled in this service. + Code_UNIMPLEMENTED Code = 12 + // INTERNAL errors. Means some invariants expected by underlying + // system has been broken. If you see one of these errors, + // something is very broken. + Code_INTERNAL Code = 13 + // UNAVAILABLE indicates the service is currently unavailable. + // This is a most likely a transient condition and may be corrected + // by retrying with a backoff. + // + // See litmus test above for deciding between FAILED_PRECONDITION, + // ABORTED, and UNAVAILABLE. + Code_UNAVAILABLE Code = 14 + // DATA_LOSS indicates unrecoverable data loss or corruption. + Code_DATA_LOSS Code = 15 + // UNAUTHENTICATED indicates the request does not have valid + // authentication credentials for the operation. + Code_UNAUTHENTICATED Code = 16 + // CLUSTER_EVENT indicates that a cluster operation might be in effect + Code_CLUSTER_EVENT Code = 17 + // Topo server connection is read-only + Code_READ_ONLY Code = 18 +) + +// Enum value maps for Code. +var ( + Code_name = map[int32]string{ + 0: "OK", + 1: "CANCELED", + 2: "UNKNOWN", + 3: "INVALID_ARGUMENT", + 4: "DEADLINE_EXCEEDED", + 5: "NOT_FOUND", + 6: "ALREADY_EXISTS", + 7: "PERMISSION_DENIED", + 8: "RESOURCE_EXHAUSTED", + 9: "FAILED_PRECONDITION", + 10: "ABORTED", + 11: "OUT_OF_RANGE", + 12: "UNIMPLEMENTED", + 13: "INTERNAL", + 14: "UNAVAILABLE", + 15: "DATA_LOSS", + 16: "UNAUTHENTICATED", + 17: "CLUSTER_EVENT", + 18: "READ_ONLY", + } + Code_value = map[string]int32{ + "OK": 0, + "CANCELED": 1, + "UNKNOWN": 2, + "INVALID_ARGUMENT": 3, + "DEADLINE_EXCEEDED": 4, + "NOT_FOUND": 5, + "ALREADY_EXISTS": 6, + "PERMISSION_DENIED": 7, + "RESOURCE_EXHAUSTED": 8, + "FAILED_PRECONDITION": 9, + "ABORTED": 10, + "OUT_OF_RANGE": 11, + "UNIMPLEMENTED": 12, + "INTERNAL": 13, + "UNAVAILABLE": 14, + "DATA_LOSS": 15, + "UNAUTHENTICATED": 16, + "CLUSTER_EVENT": 17, + "READ_ONLY": 18, + } +) + +func (x Code) Enum() *Code { + p := new(Code) + *p = x + return p +} + +func (x Code) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Code) Descriptor() protoreflect.EnumDescriptor { + return file_vitess_vtrpc_v19_vtrpc_proto_enumTypes[0].Descriptor() +} + +func (Code) Type() protoreflect.EnumType { + return &file_vitess_vtrpc_v19_vtrpc_proto_enumTypes[0] +} + +func (x Code) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Code.Descriptor instead. +func (Code) EnumDescriptor() ([]byte, []int) { + return file_vitess_vtrpc_v19_vtrpc_proto_rawDescGZIP(), []int{0} +} + +// CallerID is passed along RPCs to identify the originating client +// for a request. It is not meant to be secure, but only +// informational. The client can put whatever info they want in these +// fields, and they will be trusted by the servers. The fields will +// just be used for logging purposes, and to easily find a client. +// VtGate propagates it to VtTablet, and VtTablet may use this +// information for monitoring purposes, to display on dashboards, or +// for denying access to tables during a migration. +type CallerID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // principal is the effective user identifier. It is usually filled in + // with whoever made the request to the appserver, if the request + // came from an automated job or another system component. + // If the request comes directly from the Internet, or if the Vitess client + // takes action on its own accord, it is okay for this field to be absent. + Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` + // component describes the running process of the effective caller. + // It can for instance be the hostname:port of the servlet initiating the + // database call, or the container engine ID used by the servlet. + Component string `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"` + // subcomponent describes a component inisde the immediate caller which + // is responsible for generating is request. Suggested values are a + // servlet name or an API endpoint name. + Subcomponent string `protobuf:"bytes,3,opt,name=subcomponent,proto3" json:"subcomponent,omitempty"` + // set of security groups that should be assigned to this caller. + Groups []string `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"` +} + +func (x *CallerID) Reset() { + *x = CallerID{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtrpc_v19_vtrpc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallerID) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallerID) ProtoMessage() {} + +func (x *CallerID) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtrpc_v19_vtrpc_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallerID.ProtoReflect.Descriptor instead. +func (*CallerID) Descriptor() ([]byte, []int) { + return file_vitess_vtrpc_v19_vtrpc_proto_rawDescGZIP(), []int{0} +} + +func (x *CallerID) GetPrincipal() string { + if x != nil { + return x.Principal + } + return "" +} + +func (x *CallerID) GetComponent() string { + if x != nil { + return x.Component + } + return "" +} + +func (x *CallerID) GetSubcomponent() string { + if x != nil { + return x.Subcomponent + } + return "" +} + +func (x *CallerID) GetGroups() []string { + if x != nil { + return x.Groups + } + return nil +} + +// RPCError is an application-level error structure returned by +// VtTablet (and passed along by VtGate if appropriate). +// We use this so the clients don't have to parse the error messages, +// but instead can depend on the value of the code. +type RPCError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Code Code `protobuf:"varint,3,opt,name=code,proto3,enum=vitess.vtrpc.v19.Code" json:"code,omitempty"` +} + +func (x *RPCError) Reset() { + *x = RPCError{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vtrpc_v19_vtrpc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RPCError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RPCError) ProtoMessage() {} + +func (x *RPCError) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vtrpc_v19_vtrpc_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RPCError.ProtoReflect.Descriptor instead. +func (*RPCError) Descriptor() ([]byte, []int) { + return file_vitess_vtrpc_v19_vtrpc_proto_rawDescGZIP(), []int{1} +} + +func (x *RPCError) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *RPCError) GetCode() Code { + if x != nil { + return x.Code + } + return Code_OK +} + +var File_vitess_vtrpc_v19_vtrpc_proto protoreflect.FileDescriptor + +var file_vitess_vtrpc_v19_vtrpc_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x76, + 0x31, 0x39, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, + 0x22, 0x82, 0x01, 0x0a, 0x08, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1c, 0x0a, + 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x73, 0x75, 0x62, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x63, 0x0a, 0x08, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x74, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x39, 0x2e, 0x43, 0x6f, 0x64, + 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x0b, 0x6c, + 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x2a, 0xd8, 0x02, 0x0a, 0x04, 0x43, + 0x6f, 0x64, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, + 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, + 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x5f, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, + 0x44, 0x45, 0x41, 0x44, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, + 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, + 0x49, 0x53, 0x54, 0x53, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, + 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x07, 0x12, 0x16, 0x0a, + 0x12, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x45, 0x58, 0x48, 0x41, 0x55, 0x53, + 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, + 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x0b, + 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x4f, + 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x0b, 0x12, 0x11, 0x0a, + 0x0d, 0x55, 0x4e, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x0c, + 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x0d, 0x12, 0x0f, + 0x0a, 0x0b, 0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x12, + 0x0d, 0x0a, 0x09, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x0f, 0x12, 0x13, + 0x0a, 0x0f, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x45, + 0x44, 0x10, 0x10, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x45, + 0x56, 0x45, 0x4e, 0x54, 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, + 0x4e, 0x4c, 0x59, 0x10, 0x12, 0x42, 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, + 0x39, 0x3b, 0x76, 0x74, 0x72, 0x70, 0x63, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_vitess_vtrpc_v19_vtrpc_proto_rawDescOnce sync.Once + file_vitess_vtrpc_v19_vtrpc_proto_rawDescData = file_vitess_vtrpc_v19_vtrpc_proto_rawDesc +) + +func file_vitess_vtrpc_v19_vtrpc_proto_rawDescGZIP() []byte { + file_vitess_vtrpc_v19_vtrpc_proto_rawDescOnce.Do(func() { + file_vitess_vtrpc_v19_vtrpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_vtrpc_v19_vtrpc_proto_rawDescData) + }) + return file_vitess_vtrpc_v19_vtrpc_proto_rawDescData +} + +var file_vitess_vtrpc_v19_vtrpc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_vitess_vtrpc_v19_vtrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_vitess_vtrpc_v19_vtrpc_proto_goTypes = []any{ + (Code)(0), // 0: vitess.vtrpc.v19.Code + (*CallerID)(nil), // 1: vitess.vtrpc.v19.CallerID + (*RPCError)(nil), // 2: vitess.vtrpc.v19.RPCError +} +var file_vitess_vtrpc_v19_vtrpc_proto_depIdxs = []int32{ + 0, // 0: vitess.vtrpc.v19.RPCError.code:type_name -> vitess.vtrpc.v19.Code + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_vitess_vtrpc_v19_vtrpc_proto_init() } +func file_vitess_vtrpc_v19_vtrpc_proto_init() { + if File_vitess_vtrpc_v19_vtrpc_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_vtrpc_v19_vtrpc_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*CallerID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vtrpc_v19_vtrpc_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*RPCError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vtrpc_v19_vtrpc_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_vtrpc_v19_vtrpc_proto_goTypes, + DependencyIndexes: file_vitess_vtrpc_v19_vtrpc_proto_depIdxs, + EnumInfos: file_vitess_vtrpc_v19_vtrpc_proto_enumTypes, + MessageInfos: file_vitess_vtrpc_v19_vtrpc_proto_msgTypes, + }.Build() + File_vitess_vtrpc_v19_vtrpc_proto = out.File + file_vitess_vtrpc_v19_vtrpc_proto_rawDesc = nil + file_vitess_vtrpc_v19_vtrpc_proto_goTypes = nil + file_vitess_vtrpc_v19_vtrpc_proto_depIdxs = nil +} diff --git a/gen/vitess/vtrpc/v19/vtrpc_vtproto.pb.go b/gen/vitess/vtrpc/v19/vtrpc_vtproto.pb.go new file mode 100644 index 0000000..9adff94 --- /dev/null +++ b/gen/vitess/vtrpc/v19/vtrpc_vtproto.pb.go @@ -0,0 +1,556 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/vtrpc/v19/vtrpc.proto + +package vtrpcv19 + +import ( + fmt "fmt" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *CallerID) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CallerID) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CallerID) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Groups) > 0 { + for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Groups[iNdEx]) + copy(dAtA[i:], m.Groups[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Groups[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Subcomponent) > 0 { + i -= len(m.Subcomponent) + copy(dAtA[i:], m.Subcomponent) + i = encodeVarint(dAtA, i, uint64(len(m.Subcomponent))) + i-- + dAtA[i] = 0x1a + } + if len(m.Component) > 0 { + i -= len(m.Component) + copy(dAtA[i:], m.Component) + i = encodeVarint(dAtA, i, uint64(len(m.Component))) + i-- + dAtA[i] = 0x12 + } + if len(m.Principal) > 0 { + i -= len(m.Principal) + copy(dAtA[i:], m.Principal) + i = encodeVarint(dAtA, i, uint64(len(m.Principal))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RPCError) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RPCError) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *RPCError) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Code != 0 { + i = encodeVarint(dAtA, i, uint64(m.Code)) + i-- + dAtA[i] = 0x18 + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarint(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *CallerID) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Principal) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Component) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.Subcomponent) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Groups) > 0 { + for _, s := range m.Groups { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *RPCError) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Message) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if m.Code != 0 { + n += 1 + sov(uint64(m.Code)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *CallerID) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CallerID: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CallerID: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Principal", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Principal = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Component = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Subcomponent", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Subcomponent = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Groups = append(m.Groups, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RPCError) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RPCError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RPCError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) + } + m.Code = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Code |= Code(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/vttest/dev/vttest.pb.go b/gen/vitess/vttest/dev/vttest.pb.go index 650f370..cd8078c 100644 --- a/gen/vitess/vttest/dev/vttest.pb.go +++ b/gen/vitess/vttest/dev/vttest.pb.go @@ -41,7 +41,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttest/dev/vttest.proto @@ -134,8 +134,6 @@ type Keyspace struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // shards inside this keyspace. Ignored if redirect is set. Shards []*Shard `protobuf:"bytes,2,rep,name=shards,proto3" json:"shards,omitempty"` - // redirects all traffic to another keyspace. If set, shards is ignored. - ServedFrom string `protobuf:"bytes,5,opt,name=served_from,json=servedFrom,proto3" json:"served_from,omitempty"` // number of replica tablets to instantiate. This includes the primary tablet. ReplicaCount int32 `protobuf:"varint,6,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"` // number of rdonly tablets to instantiate. @@ -188,13 +186,6 @@ func (x *Keyspace) GetShards() []*Shard { return nil } -func (x *Keyspace) GetServedFrom() string { - if x != nil { - return x.ServedFrom - } - return "" -} - func (x *Keyspace) GetReplicaCount() int32 { if x != nil { return x.ReplicaCount @@ -221,6 +212,8 @@ type VTTestTopology struct { Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` // routing rules for the topology. RoutingRules *dev.RoutingRules `protobuf:"bytes,3,opt,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` + // mirror rules for the topology. + MirrorRules *dev.MirrorRules `protobuf:"bytes,4,opt,name=mirror_rules,json=mirrorRules,proto3" json:"mirror_rules,omitempty"` } func (x *VTTestTopology) Reset() { @@ -276,6 +269,13 @@ func (x *VTTestTopology) GetRoutingRules() *dev.RoutingRules { return nil } +func (x *VTTestTopology) GetMirrorRules() *dev.MirrorRules { + if x != nil { + return x.MirrorRules + } + return nil +} + var File_vitess_vttest_dev_vttest_proto protoreflect.FileDescriptor var file_vitess_vttest_dev_vttest_proto_rawDesc = []byte{ @@ -288,35 +288,38 @@ var file_vitess_vttest_dev_vttest_proto_rawDesc = []byte{ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x62, - 0x4e, 0x61, 0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x22, 0xc5, 0x01, 0x0a, + 0x4e, 0x61, 0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x64, 0x6f, - 0x6e, 0x6c, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, - 0x08, 0x04, 0x10, 0x05, 0x22, 0xa8, 0x01, 0x0a, 0x0e, 0x56, 0x54, 0x54, 0x65, 0x73, 0x74, 0x54, - 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x74, - 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x4b, - 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, - 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x2e, 0x64, 0x65, 0x76, 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, 0x42, - 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, - 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, - 0x73, 0x2f, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x74, - 0x65, 0x73, 0x74, 0x64, 0x65, 0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x64, 0x6f, 0x6e, + 0x6c, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xec, 0x01, 0x0a, 0x0e, 0x56, 0x54, + 0x54, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x09, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x45, 0x0a, + 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 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, 0x12, 0x42, 0x0a, 0x0c, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, + 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x74, + 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x0b, 0x6d, 0x69, 0x72, + 0x72, 0x6f, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, + 0x6c, 0x65, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x67, 0x65, 0x6e, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x2f, 0x64, 0x65, 0x76, 0x3b, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x64, 0x65, 0x76, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -332,21 +335,23 @@ func file_vitess_vttest_dev_vttest_proto_rawDescGZIP() []byte { } var file_vitess_vttest_dev_vttest_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_vitess_vttest_dev_vttest_proto_goTypes = []interface{}{ +var file_vitess_vttest_dev_vttest_proto_goTypes = []any{ (*Shard)(nil), // 0: vitess.vttest.dev.Shard (*Keyspace)(nil), // 1: vitess.vttest.dev.Keyspace (*VTTestTopology)(nil), // 2: vitess.vttest.dev.VTTestTopology (*dev.RoutingRules)(nil), // 3: vitess.vschema.dev.RoutingRules + (*dev.MirrorRules)(nil), // 4: vitess.vschema.dev.MirrorRules } var file_vitess_vttest_dev_vttest_proto_depIdxs = []int32{ 0, // 0: vitess.vttest.dev.Keyspace.shards:type_name -> vitess.vttest.dev.Shard 1, // 1: vitess.vttest.dev.VTTestTopology.keyspaces:type_name -> vitess.vttest.dev.Keyspace 3, // 2: vitess.vttest.dev.VTTestTopology.routing_rules:type_name -> vitess.vschema.dev.RoutingRules - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 4, // 3: vitess.vttest.dev.VTTestTopology.mirror_rules:type_name -> vitess.vschema.dev.MirrorRules + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_vitess_vttest_dev_vttest_proto_init() } @@ -355,7 +360,7 @@ func file_vitess_vttest_dev_vttest_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttest_dev_vttest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_dev_vttest_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -367,7 +372,7 @@ func file_vitess_vttest_dev_vttest_proto_init() { return nil } } - file_vitess_vttest_dev_vttest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_dev_vttest_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -379,7 +384,7 @@ func file_vitess_vttest_dev_vttest_proto_init() { return nil } } - file_vitess_vttest_dev_vttest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_dev_vttest_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*VTTestTopology); i { case 0: return &v.state diff --git a/gen/vitess/vttest/dev/vttest_vtproto.pb.go b/gen/vitess/vttest/dev/vttest_vtproto.pb.go index 962de07..be51120 100644 --- a/gen/vitess/vttest/dev/vttest_vtproto.pb.go +++ b/gen/vitess/vttest/dev/vttest_vtproto.pb.go @@ -107,13 +107,6 @@ func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i-- dAtA[i] = 0x30 } - if len(m.ServedFrom) > 0 { - i -= len(m.ServedFrom) - copy(dAtA[i:], m.ServedFrom) - i = encodeVarint(dAtA, i, uint64(len(m.ServedFrom))) - i-- - dAtA[i] = 0x2a - } if len(m.Shards) > 0 { for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { size, err := m.Shards[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) @@ -166,6 +159,28 @@ func (m *VTTestTopology) MarshalToSizedBufferVT(dAtA []byte) (int, error) { i -= len(m.unknownFields) copy(dAtA[i:], m.unknownFields) } + if m.MirrorRules != nil { + if vtmsg, ok := interface{}(m.MirrorRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.MirrorRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x22 + } if m.RoutingRules != nil { if vtmsg, ok := interface{}(m.RoutingRules).(interface { MarshalToSizedBufferVT([]byte) (int, error) @@ -257,10 +272,6 @@ func (m *Keyspace) SizeVT() (n int) { n += 1 + l + sov(uint64(l)) } } - l = len(m.ServedFrom) - if l > 0 { - n += 1 + l + sov(uint64(l)) - } if m.ReplicaCount != 0 { n += 1 + sov(uint64(m.ReplicaCount)) } @@ -299,6 +310,16 @@ func (m *VTTestTopology) SizeVT() (n int) { } n += 1 + l + sov(uint64(l)) } + if m.MirrorRules != nil { + if size, ok := interface{}(m.MirrorRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.MirrorRules) + } + n += 1 + l + sov(uint64(l)) + } n += len(m.unknownFields) return n } @@ -519,38 +540,6 @@ func (m *Keyspace) UnmarshalVT(dAtA []byte) error { return err } iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServedFrom", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflow - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLength - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServedFrom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 6: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field ReplicaCount", wireType) @@ -750,6 +739,50 @@ func (m *VTTestTopology) UnmarshalVT(dAtA []byte) error { } } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MirrorRules", 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.MirrorRules == nil { + m.MirrorRules = &dev.MirrorRules{} + } + if unmarshal, ok := interface{}(m.MirrorRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.MirrorRules); err != nil { + return err + } + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skip(dAtA[iNdEx:]) diff --git a/gen/vitess/vttest/v16/vttest.pb.go b/gen/vitess/vttest/v16/vttest.pb.go index 6eabc79..f59c965 100644 --- a/gen/vitess/vttest/v16/vttest.pb.go +++ b/gen/vitess/vttest/v16/vttest.pb.go @@ -41,7 +41,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttest/v16/vttest.proto @@ -332,7 +332,7 @@ func file_vitess_vttest_v16_vttest_proto_rawDescGZIP() []byte { } var file_vitess_vttest_v16_vttest_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_vitess_vttest_v16_vttest_proto_goTypes = []interface{}{ +var file_vitess_vttest_v16_vttest_proto_goTypes = []any{ (*Shard)(nil), // 0: vitess.vttest.v16.Shard (*Keyspace)(nil), // 1: vitess.vttest.v16.Keyspace (*VTTestTopology)(nil), // 2: vitess.vttest.v16.VTTestTopology @@ -355,7 +355,7 @@ func file_vitess_vttest_v16_vttest_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttest_v16_vttest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v16_vttest_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -367,7 +367,7 @@ func file_vitess_vttest_v16_vttest_proto_init() { return nil } } - file_vitess_vttest_v16_vttest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v16_vttest_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -379,7 +379,7 @@ func file_vitess_vttest_v16_vttest_proto_init() { return nil } } - file_vitess_vttest_v16_vttest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v16_vttest_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*VTTestTopology); i { case 0: return &v.state diff --git a/gen/vitess/vttest/v17/vttest.pb.go b/gen/vitess/vttest/v17/vttest.pb.go index 2fafafc..787ee74 100644 --- a/gen/vitess/vttest/v17/vttest.pb.go +++ b/gen/vitess/vttest/v17/vttest.pb.go @@ -41,7 +41,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttest/v17/vttest.proto @@ -332,7 +332,7 @@ func file_vitess_vttest_v17_vttest_proto_rawDescGZIP() []byte { } var file_vitess_vttest_v17_vttest_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_vitess_vttest_v17_vttest_proto_goTypes = []interface{}{ +var file_vitess_vttest_v17_vttest_proto_goTypes = []any{ (*Shard)(nil), // 0: vitess.vttest.v17.Shard (*Keyspace)(nil), // 1: vitess.vttest.v17.Keyspace (*VTTestTopology)(nil), // 2: vitess.vttest.v17.VTTestTopology @@ -355,7 +355,7 @@ func file_vitess_vttest_v17_vttest_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttest_v17_vttest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v17_vttest_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -367,7 +367,7 @@ func file_vitess_vttest_v17_vttest_proto_init() { return nil } } - file_vitess_vttest_v17_vttest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v17_vttest_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -379,7 +379,7 @@ func file_vitess_vttest_v17_vttest_proto_init() { return nil } } - file_vitess_vttest_v17_vttest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v17_vttest_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*VTTestTopology); i { case 0: return &v.state diff --git a/gen/vitess/vttest/v18/vttest.pb.go b/gen/vitess/vttest/v18/vttest.pb.go index 9d2c895..57dc22f 100644 --- a/gen/vitess/vttest/v18/vttest.pb.go +++ b/gen/vitess/vttest/v18/vttest.pb.go @@ -41,7 +41,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttest/v18/vttest.proto @@ -332,7 +332,7 @@ func file_vitess_vttest_v18_vttest_proto_rawDescGZIP() []byte { } var file_vitess_vttest_v18_vttest_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_vitess_vttest_v18_vttest_proto_goTypes = []interface{}{ +var file_vitess_vttest_v18_vttest_proto_goTypes = []any{ (*Shard)(nil), // 0: vitess.vttest.v18.Shard (*Keyspace)(nil), // 1: vitess.vttest.v18.Keyspace (*VTTestTopology)(nil), // 2: vitess.vttest.v18.VTTestTopology @@ -355,7 +355,7 @@ func file_vitess_vttest_v18_vttest_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttest_v18_vttest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v18_vttest_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shard); i { case 0: return &v.state @@ -367,7 +367,7 @@ func file_vitess_vttest_v18_vttest_proto_init() { return nil } } - file_vitess_vttest_v18_vttest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v18_vttest_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Keyspace); i { case 0: return &v.state @@ -379,7 +379,7 @@ func file_vitess_vttest_v18_vttest_proto_init() { return nil } } - file_vitess_vttest_v18_vttest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttest_v18_vttest_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*VTTestTopology); i { case 0: return &v.state diff --git a/gen/vitess/vttest/v19/vttest.pb.go b/gen/vitess/vttest/v19/vttest.pb.go new file mode 100644 index 0000000..0635b19 --- /dev/null +++ b/gen/vitess/vttest/v19/vttest.pb.go @@ -0,0 +1,403 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This file contains the vttest topology configuration structures. +// +// The protobuf message "VTTestTopology" specifies the Vitess and +// database configuration of the "vttest" test component which can be +// used in end-to-end tests to test an application against an actual +// Vitess and MySQL server. +// +// To start a "vttest" instance, pass the "VTTestTopology" message, +// encoded in the protobuf compact text format, to +// py/vttest/run_local_database.py which in turn will send it to the +// Vitess test binary called "vtcombo". +// +// To encode a "VTTestTopology" message in the protobuf compact text +// format, create the protobuf in your test's native language first +// and then use the protobuf library to encode it as text. +// For an example in Python, see: test/vttest_sample_test.py +// In go, see: go/vt/vttest/local_cluster_test.go +// +// Sample encoded proto configurations would be as follow. Note there are +// multiple encoding options, see the proto documentation for more info +// (first and last quote not included in the encoding): +// - single keyspace named test_keyspace with one shard '0': +// 'keyspaces: > ' +// - two keyspaces, one with two shards, the other one with a redirect: +// 'keyspaces { name: "test_keyspace" shards { name: "-80" } shards { name: "80-" } } keyspaces { name: "redirect" served_from: "test_keyspace" }' + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vttest/v19/vttest.proto + +package vttestv19 + +import ( + v19 "github.com/planetscale/vitess-types/gen/vitess/vschema/v19" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Shard describes a single shard in a keyspace. +type Shard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name has to be unique in a keyspace. For unsharded keyspaces, it + // should be '0'. For sharded keyspace, it should be derived from + // the keyrange, like '-80' or '40-80'. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // db_name_override is the mysql db name for this shard. Has to be + // globally unique. If not specified, we will by default use + // 'vt__'. + DbNameOverride string `protobuf:"bytes,2,opt,name=db_name_override,json=dbNameOverride,proto3" json:"db_name_override,omitempty"` +} + +func (x *Shard) Reset() { + *x = Shard{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vttest_v19_vttest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shard) ProtoMessage() {} + +func (x *Shard) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vttest_v19_vttest_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Shard.ProtoReflect.Descriptor instead. +func (*Shard) Descriptor() ([]byte, []int) { + return file_vitess_vttest_v19_vttest_proto_rawDescGZIP(), []int{0} +} + +func (x *Shard) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Shard) GetDbNameOverride() string { + if x != nil { + return x.DbNameOverride + } + return "" +} + +// Keyspace describes a single keyspace. +type Keyspace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name has to be unique in a VTTestTopology. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // shards inside this keyspace. Ignored if redirect is set. + Shards []*Shard `protobuf:"bytes,2,rep,name=shards,proto3" json:"shards,omitempty"` + // number of replica tablets to instantiate. This includes the primary tablet. + ReplicaCount int32 `protobuf:"varint,6,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"` + // number of rdonly tablets to instantiate. + RdonlyCount int32 `protobuf:"varint,7,opt,name=rdonly_count,json=rdonlyCount,proto3" json:"rdonly_count,omitempty"` +} + +func (x *Keyspace) Reset() { + *x = Keyspace{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vttest_v19_vttest_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Keyspace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Keyspace) ProtoMessage() {} + +func (x *Keyspace) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vttest_v19_vttest_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Keyspace.ProtoReflect.Descriptor instead. +func (*Keyspace) Descriptor() ([]byte, []int) { + return file_vitess_vttest_v19_vttest_proto_rawDescGZIP(), []int{1} +} + +func (x *Keyspace) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Keyspace) GetShards() []*Shard { + if x != nil { + return x.Shards + } + return nil +} + +func (x *Keyspace) GetReplicaCount() int32 { + if x != nil { + return x.ReplicaCount + } + return 0 +} + +func (x *Keyspace) GetRdonlyCount() int32 { + if x != nil { + return x.RdonlyCount + } + return 0 +} + +// VTTestTopology describes the keyspaces in the topology. +type VTTestTopology struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // all keyspaces in the topology. + Keyspaces []*Keyspace `protobuf:"bytes,1,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` + // list of cells the keyspaces reside in. Vtgate is started in only the first cell. + Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` + // routing rules for the topology. + RoutingRules *v19.RoutingRules `protobuf:"bytes,3,opt,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` +} + +func (x *VTTestTopology) Reset() { + *x = VTTestTopology{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vttest_v19_vttest_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VTTestTopology) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VTTestTopology) ProtoMessage() {} + +func (x *VTTestTopology) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vttest_v19_vttest_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VTTestTopology.ProtoReflect.Descriptor instead. +func (*VTTestTopology) Descriptor() ([]byte, []int) { + return file_vitess_vttest_v19_vttest_proto_rawDescGZIP(), []int{2} +} + +func (x *VTTestTopology) GetKeyspaces() []*Keyspace { + if x != nil { + return x.Keyspaces + } + return nil +} + +func (x *VTTestTopology) GetCells() []string { + if x != nil { + return x.Cells + } + return nil +} + +func (x *VTTestTopology) GetRoutingRules() *v19.RoutingRules { + if x != nil { + return x.RoutingRules + } + return nil +} + +var File_vitess_vttest_v19_vttest_proto protoreflect.FileDescriptor + +var file_vitess_vttest_v19_vttest_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2f, + 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x11, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x76, 0x31, 0x39, 0x1a, 0x20, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x76, 0x31, 0x39, 0x2f, 0x76, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6f, 0x76, + 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x62, + 0x4e, 0x61, 0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x22, 0xaa, 0x01, 0x0a, + 0x08, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, + 0x39, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x64, 0x6f, 0x6e, + 0x6c, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xa8, 0x01, 0x0a, 0x0e, 0x56, 0x54, + 0x54, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x09, + 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x76, 0x31, 0x39, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6b, 0x65, + 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x45, 0x0a, + 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x76, 0x31, 0x39, 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, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, + 0x39, 0x3b, 0x76, 0x74, 0x74, 0x65, 0x73, 0x74, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_vitess_vttest_v19_vttest_proto_rawDescOnce sync.Once + file_vitess_vttest_v19_vttest_proto_rawDescData = file_vitess_vttest_v19_vttest_proto_rawDesc +) + +func file_vitess_vttest_v19_vttest_proto_rawDescGZIP() []byte { + file_vitess_vttest_v19_vttest_proto_rawDescOnce.Do(func() { + file_vitess_vttest_v19_vttest_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_vttest_v19_vttest_proto_rawDescData) + }) + return file_vitess_vttest_v19_vttest_proto_rawDescData +} + +var file_vitess_vttest_v19_vttest_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_vitess_vttest_v19_vttest_proto_goTypes = []any{ + (*Shard)(nil), // 0: vitess.vttest.v19.Shard + (*Keyspace)(nil), // 1: vitess.vttest.v19.Keyspace + (*VTTestTopology)(nil), // 2: vitess.vttest.v19.VTTestTopology + (*v19.RoutingRules)(nil), // 3: vitess.vschema.v19.RoutingRules +} +var file_vitess_vttest_v19_vttest_proto_depIdxs = []int32{ + 0, // 0: vitess.vttest.v19.Keyspace.shards:type_name -> vitess.vttest.v19.Shard + 1, // 1: vitess.vttest.v19.VTTestTopology.keyspaces:type_name -> vitess.vttest.v19.Keyspace + 3, // 2: vitess.vttest.v19.VTTestTopology.routing_rules:type_name -> vitess.vschema.v19.RoutingRules + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_vitess_vttest_v19_vttest_proto_init() } +func file_vitess_vttest_v19_vttest_proto_init() { + if File_vitess_vttest_v19_vttest_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_vttest_v19_vttest_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Shard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vttest_v19_vttest_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*Keyspace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vttest_v19_vttest_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*VTTestTopology); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vttest_v19_vttest_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_vttest_v19_vttest_proto_goTypes, + DependencyIndexes: file_vitess_vttest_v19_vttest_proto_depIdxs, + MessageInfos: file_vitess_vttest_v19_vttest_proto_msgTypes, + }.Build() + File_vitess_vttest_v19_vttest_proto = out.File + file_vitess_vttest_v19_vttest_proto_rawDesc = nil + file_vitess_vttest_v19_vttest_proto_goTypes = nil + file_vitess_vttest_v19_vttest_proto_depIdxs = nil +} diff --git a/gen/vitess/vttest/v19/vttest_vtproto.pb.go b/gen/vitess/vttest/v19/vttest_vtproto.pb.go new file mode 100644 index 0000000..d007e3e --- /dev/null +++ b/gen/vitess/vttest/v19/vttest_vtproto.pb.go @@ -0,0 +1,816 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/vttest/v19/vttest.proto + +package vttestv19 + +import ( + fmt "fmt" + v19 "github.com/planetscale/vitess-types/gen/vitess/vschema/v19" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Shard) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Shard) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Shard) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.DbNameOverride) > 0 { + i -= len(m.DbNameOverride) + copy(dAtA[i:], m.DbNameOverride) + i = encodeVarint(dAtA, i, uint64(len(m.DbNameOverride))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Keyspace) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Keyspace) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RdonlyCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.RdonlyCount)) + i-- + dAtA[i] = 0x38 + } + if m.ReplicaCount != 0 { + i = encodeVarint(dAtA, i, uint64(m.ReplicaCount)) + i-- + dAtA[i] = 0x30 + } + if len(m.Shards) > 0 { + for iNdEx := len(m.Shards) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Shards[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VTTestTopology) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *VTTestTopology) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *VTTestTopology) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.RoutingRules != nil { + if vtmsg, ok := interface{}(m.RoutingRules).(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + } else { + encoded, err := proto.Marshal(m.RoutingRules) + if err != nil { + return 0, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = encodeVarint(dAtA, i, uint64(len(encoded))) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Cells) > 0 { + for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Cells[iNdEx]) + copy(dAtA[i:], m.Cells[iNdEx]) + i = encodeVarint(dAtA, i, uint64(len(m.Cells[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Keyspaces) > 0 { + for iNdEx := len(m.Keyspaces) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Keyspaces[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Shard) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + l = len(m.DbNameOverride) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Keyspace) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sov(uint64(l)) + } + if len(m.Shards) > 0 { + for _, e := range m.Shards { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if m.ReplicaCount != 0 { + n += 1 + sov(uint64(m.ReplicaCount)) + } + if m.RdonlyCount != 0 { + n += 1 + sov(uint64(m.RdonlyCount)) + } + n += len(m.unknownFields) + return n +} + +func (m *VTTestTopology) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Keyspaces) > 0 { + for _, e := range m.Keyspaces { + l = e.SizeVT() + n += 1 + l + sov(uint64(l)) + } + } + if len(m.Cells) > 0 { + for _, s := range m.Cells { + l = len(s) + n += 1 + l + sov(uint64(l)) + } + } + if m.RoutingRules != nil { + if size, ok := interface{}(m.RoutingRules).(interface { + SizeVT() int + }); ok { + l = size.SizeVT() + } else { + l = proto.Size(m.RoutingRules) + } + n += 1 + l + sov(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Shard) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Shard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Shard: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DbNameOverride", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DbNameOverride = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Keyspace) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Keyspace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Keyspace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shards", 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 + } + m.Shards = append(m.Shards, &Shard{}) + if err := m.Shards[len(m.Shards)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicaCount", wireType) + } + m.ReplicaCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReplicaCount |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RdonlyCount", wireType) + } + m.RdonlyCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RdonlyCount |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VTTestTopology) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: VTTestTopology: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VTTestTopology: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keyspaces", 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 + } + m.Keyspaces = append(m.Keyspaces, &Keyspace{}) + if err := m.Keyspaces[len(m.Keyspaces)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cells = append(m.Cells, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RoutingRules", 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.RoutingRules == nil { + m.RoutingRules = &v19.RoutingRules{} + } + if unmarshal, ok := interface{}(m.RoutingRules).(interface { + UnmarshalVT([]byte) error + }); ok { + if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + if err := proto.Unmarshal(dAtA[iNdEx:postIndex], m.RoutingRules); err != nil { + return err + } + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/gen/vitess/vttime/dev/vttime.pb.go b/gen/vitess/vttime/dev/vttime.pb.go index f3f6c36..a6b0d41 100644 --- a/gen/vitess/vttime/dev/vttime.pb.go +++ b/gen/vitess/vttime/dev/vttime.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttime/dev/vttime.proto @@ -184,7 +184,7 @@ func file_vitess_vttime_dev_vttime_proto_rawDescGZIP() []byte { } var file_vitess_vttime_dev_vttime_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vttime_dev_vttime_proto_goTypes = []interface{}{ +var file_vitess_vttime_dev_vttime_proto_goTypes = []any{ (*Time)(nil), // 0: vitess.vttime.dev.Time (*Duration)(nil), // 1: vitess.vttime.dev.Duration } @@ -202,7 +202,7 @@ func file_vitess_vttime_dev_vttime_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttime_dev_vttime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_dev_vttime_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Time); i { case 0: return &v.state @@ -214,7 +214,7 @@ func file_vitess_vttime_dev_vttime_proto_init() { return nil } } - file_vitess_vttime_dev_vttime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_dev_vttime_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Duration); i { case 0: return &v.state diff --git a/gen/vitess/vttime/v16/vttime.pb.go b/gen/vitess/vttime/v16/vttime.pb.go index c5eb903..fe9c7b3 100644 --- a/gen/vitess/vttime/v16/vttime.pb.go +++ b/gen/vitess/vttime/v16/vttime.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttime/v16/vttime.proto @@ -184,7 +184,7 @@ func file_vitess_vttime_v16_vttime_proto_rawDescGZIP() []byte { } var file_vitess_vttime_v16_vttime_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vttime_v16_vttime_proto_goTypes = []interface{}{ +var file_vitess_vttime_v16_vttime_proto_goTypes = []any{ (*Time)(nil), // 0: vitess.vttime.v16.Time (*Duration)(nil), // 1: vitess.vttime.v16.Duration } @@ -202,7 +202,7 @@ func file_vitess_vttime_v16_vttime_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttime_v16_vttime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_v16_vttime_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Time); i { case 0: return &v.state @@ -214,7 +214,7 @@ func file_vitess_vttime_v16_vttime_proto_init() { return nil } } - file_vitess_vttime_v16_vttime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_v16_vttime_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Duration); i { case 0: return &v.state diff --git a/gen/vitess/vttime/v17/vttime.pb.go b/gen/vitess/vttime/v17/vttime.pb.go index 2bc8f12..a1c65fe 100644 --- a/gen/vitess/vttime/v17/vttime.pb.go +++ b/gen/vitess/vttime/v17/vttime.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttime/v17/vttime.proto @@ -184,7 +184,7 @@ func file_vitess_vttime_v17_vttime_proto_rawDescGZIP() []byte { } var file_vitess_vttime_v17_vttime_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vttime_v17_vttime_proto_goTypes = []interface{}{ +var file_vitess_vttime_v17_vttime_proto_goTypes = []any{ (*Time)(nil), // 0: vitess.vttime.v17.Time (*Duration)(nil), // 1: vitess.vttime.v17.Duration } @@ -202,7 +202,7 @@ func file_vitess_vttime_v17_vttime_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttime_v17_vttime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_v17_vttime_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Time); i { case 0: return &v.state @@ -214,7 +214,7 @@ func file_vitess_vttime_v17_vttime_proto_init() { return nil } } - file_vitess_vttime_v17_vttime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_v17_vttime_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Duration); i { case 0: return &v.state diff --git a/gen/vitess/vttime/v18/vttime.pb.go b/gen/vitess/vttime/v18/vttime.pb.go index 8d3073d..114149c 100644 --- a/gen/vitess/vttime/v18/vttime.pb.go +++ b/gen/vitess/vttime/v18/vttime.pb.go @@ -17,7 +17,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: vitess/vttime/v18/vttime.proto @@ -184,7 +184,7 @@ func file_vitess_vttime_v18_vttime_proto_rawDescGZIP() []byte { } var file_vitess_vttime_v18_vttime_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_vitess_vttime_v18_vttime_proto_goTypes = []interface{}{ +var file_vitess_vttime_v18_vttime_proto_goTypes = []any{ (*Time)(nil), // 0: vitess.vttime.v18.Time (*Duration)(nil), // 1: vitess.vttime.v18.Duration } @@ -202,7 +202,7 @@ func file_vitess_vttime_v18_vttime_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_vitess_vttime_v18_vttime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_v18_vttime_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Time); i { case 0: return &v.state @@ -214,7 +214,7 @@ func file_vitess_vttime_v18_vttime_proto_init() { return nil } } - file_vitess_vttime_v18_vttime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_vitess_vttime_v18_vttime_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Duration); i { case 0: return &v.state diff --git a/gen/vitess/vttime/v19/vttime.pb.go b/gen/vitess/vttime/v19/vttime.pb.go new file mode 100644 index 0000000..e850d8d --- /dev/null +++ b/gen/vitess/vttime/v19/vttime.pb.go @@ -0,0 +1,248 @@ +// +//Copyright 2019 The Vitess Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This package contains a shared time data structure + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: vitess/vttime/v19/vttime.proto + +package vttimev19 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Time represents a time stamp in nanoseconds. In go, use logutil library +// to convert times. +type Time struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` + Nanoseconds int32 `protobuf:"varint,2,opt,name=nanoseconds,proto3" json:"nanoseconds,omitempty"` +} + +func (x *Time) Reset() { + *x = Time{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vttime_v19_vttime_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Time) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Time) ProtoMessage() {} + +func (x *Time) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vttime_v19_vttime_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Time.ProtoReflect.Descriptor instead. +func (*Time) Descriptor() ([]byte, []int) { + return file_vitess_vttime_v19_vttime_proto_rawDescGZIP(), []int{0} +} + +func (x *Time) GetSeconds() int64 { + if x != nil { + return x.Seconds + } + return 0 +} + +func (x *Time) GetNanoseconds() int32 { + if x != nil { + return x.Nanoseconds + } + return 0 +} + +type Duration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` + Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` +} + +func (x *Duration) Reset() { + *x = Duration{} + if protoimpl.UnsafeEnabled { + mi := &file_vitess_vttime_v19_vttime_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Duration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Duration) ProtoMessage() {} + +func (x *Duration) ProtoReflect() protoreflect.Message { + mi := &file_vitess_vttime_v19_vttime_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Duration.ProtoReflect.Descriptor instead. +func (*Duration) Descriptor() ([]byte, []int) { + return file_vitess_vttime_v19_vttime_proto_rawDescGZIP(), []int{1} +} + +func (x *Duration) GetSeconds() int64 { + if x != nil { + return x.Seconds + } + return 0 +} + +func (x *Duration) GetNanos() int32 { + if x != nil { + return x.Nanos + } + return 0 +} + +var File_vitess_vttime_v19_vttime_proto protoreflect.FileDescriptor + +var file_vitess_vttime_v19_vttime_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2f, + 0x76, 0x31, 0x39, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x11, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x39, 0x22, 0x42, 0x0a, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x3a, 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x61, + 0x6e, 0x6f, 0x73, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x69, + 0x74, 0x65, 0x73, 0x73, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x76, + 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x39, + 0x3b, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x76, 0x31, 0x39, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_vitess_vttime_v19_vttime_proto_rawDescOnce sync.Once + file_vitess_vttime_v19_vttime_proto_rawDescData = file_vitess_vttime_v19_vttime_proto_rawDesc +) + +func file_vitess_vttime_v19_vttime_proto_rawDescGZIP() []byte { + file_vitess_vttime_v19_vttime_proto_rawDescOnce.Do(func() { + file_vitess_vttime_v19_vttime_proto_rawDescData = protoimpl.X.CompressGZIP(file_vitess_vttime_v19_vttime_proto_rawDescData) + }) + return file_vitess_vttime_v19_vttime_proto_rawDescData +} + +var file_vitess_vttime_v19_vttime_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_vitess_vttime_v19_vttime_proto_goTypes = []any{ + (*Time)(nil), // 0: vitess.vttime.v19.Time + (*Duration)(nil), // 1: vitess.vttime.v19.Duration +} +var file_vitess_vttime_v19_vttime_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_vitess_vttime_v19_vttime_proto_init() } +func file_vitess_vttime_v19_vttime_proto_init() { + if File_vitess_vttime_v19_vttime_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_vitess_vttime_v19_vttime_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Time); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vitess_vttime_v19_vttime_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*Duration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_vitess_vttime_v19_vttime_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_vitess_vttime_v19_vttime_proto_goTypes, + DependencyIndexes: file_vitess_vttime_v19_vttime_proto_depIdxs, + MessageInfos: file_vitess_vttime_v19_vttime_proto_msgTypes, + }.Build() + File_vitess_vttime_v19_vttime_proto = out.File + file_vitess_vttime_v19_vttime_proto_rawDesc = nil + file_vitess_vttime_v19_vttime_proto_goTypes = nil + file_vitess_vttime_v19_vttime_proto_depIdxs = nil +} diff --git a/gen/vitess/vttime/v19/vttime_vtproto.pb.go b/gen/vitess/vttime/v19/vttime_vtproto.pb.go new file mode 100644 index 0000000..edb50d8 --- /dev/null +++ b/gen/vitess/vttime/v19/vttime_vtproto.pb.go @@ -0,0 +1,418 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.5.0 +// source: vitess/vttime/v19/vttime.proto + +package vttimev19 + +import ( + fmt "fmt" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + bits "math/bits" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Time) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Time) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Time) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Nanoseconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.Nanoseconds)) + i-- + dAtA[i] = 0x10 + } + if m.Seconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.Seconds)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Duration) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Duration) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Duration) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Nanos != 0 { + i = encodeVarint(dAtA, i, uint64(m.Nanos)) + i-- + dAtA[i] = 0x10 + } + if m.Seconds != 0 { + i = encodeVarint(dAtA, i, uint64(m.Seconds)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarint(dAtA []byte, offset int, v uint64) int { + offset -= sov(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Time) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Seconds != 0 { + n += 1 + sov(uint64(m.Seconds)) + } + if m.Nanoseconds != 0 { + n += 1 + sov(uint64(m.Nanoseconds)) + } + n += len(m.unknownFields) + return n +} + +func (m *Duration) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Seconds != 0 { + n += 1 + sov(uint64(m.Seconds)) + } + if m.Nanos != 0 { + n += 1 + sov(uint64(m.Nanos)) + } + n += len(m.unknownFields) + return n +} + +func sov(x uint64) (n int) { + return (bits.Len64(x|1) + 6) / 7 +} +func soz(x uint64) (n int) { + return sov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Time) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Time: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Time: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType) + } + m.Seconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nanoseconds", wireType) + } + m.Nanoseconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Nanoseconds |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Duration) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Duration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType) + } + m.Seconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType) + } + m.Nanos = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Nanos |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} + +func skip(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLength + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroup + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLength + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go.mod b/go.mod index e296609..52676df 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/planetscale/vitess-types -go 1.21 +go 1.22 require ( - connectrpc.com/connect v1.11.0 - google.golang.org/protobuf v1.31.0 + connectrpc.com/connect v1.14.0 + google.golang.org/protobuf v1.34.2 ) diff --git a/go.sum b/go.sum index 1240e02..68e12fd 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,10 @@ -connectrpc.com/connect v1.11.0 h1:Av2KQXxSaX4vjqhf5Cl01SX4dqYADQ38eBtr84JSUBk= -connectrpc.com/connect v1.11.0/go.mod h1:3AGaO6RRGMx5IKFfqbe3hvK1NqLosFNP2BxDYTPmNPo= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +connectrpc.com/connect v1.14.0 h1:PDS+J7uoz5Oui2VEOMcfz6Qft7opQM9hPiKvtGC01pA= +connectrpc.com/connect v1.14.0/go.mod h1:uoAq5bmhhn43TwhaKdGKN/bZcGtzPW1v+ngDTn5u+8s= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/manifest.json b/manifest.json index d66d20f..944ee92 100644 --- a/manifest.json +++ b/manifest.json @@ -3,6 +3,7 @@ "dev": "refs/heads/main", "v16": "refs/tags/v16.0.6", "v17": "refs/tags/v17.0.4", - "v18": "refs/tags/v18.0.1" + "v18": "refs/tags/v18.0.1", + "v19": "refs/tags/v19.0.8" } } diff --git a/src/vitess/binlogdata/dev/binlogdata.proto b/src/vitess/binlogdata/dev/binlogdata.proto index ce1aac9..dc5e208 100644 --- a/src/vitess/binlogdata/dev/binlogdata.proto +++ b/src/vitess/binlogdata/dev/binlogdata.proto @@ -176,6 +176,9 @@ message Rule { // such columns need to have special transofrmation of the data, from an integral format into a // string format. e.g. the value 0 needs to be converted to '0'. map convert_int_to_enum = 8; + + // ForceUniqueKey gives vtreamer a hint for `FORCE INDEX (...)` usage. + string force_unique_key = 9; } // Filter represents a list of ordered rules. The first @@ -330,8 +333,17 @@ message RowChange { } vitess.query.dev.Row before = 1; vitess.query.dev.Row after = 2; - // DataColumns is a bitmap of all columns: bit is set if column is present in the after image + // DataColumns is a bitmap of all columns: bit is set if column is + // present in the after image. Bitmap data_columns = 3; + // JsonPartialValues is a bitmap of any JSON columns, where the bit + // is set if the value in the AFTER image is a partial JSON value + // that is represented as an expression of + // JSON_[INSERT|REPLACE|REMOVE](%s, '$.path', value) which then is + // used to add/update/remove a path in the JSON document. When the + // value is used the fmt directive must be replaced by the actual + // column name of the JSON field. + Bitmap json_partial_values = 4; } // RowEvent represent row events for one table. @@ -341,6 +353,7 @@ message RowEvent { string keyspace = 3; string shard = 4; uint32 flags = 5; // https://dev.mysql.com/doc/dev/mysql-server/latest/classbinary__log_1_1Rows__event.html + bool is_internal_table = 6; // set for sidecardb tables } // FieldEvent represents the field info for a table. @@ -349,6 +362,22 @@ message FieldEvent { repeated vitess.query.dev.Field fields = 2; string keyspace = 3; string shard = 4; + + // Field numbers in the gap between shard (4) and enum_set_string_values + // (25) are NOT reserved and can be used. + + // Are ENUM and SET field values already mapped to strings in the ROW + // events? This allows us to transition VTGate VStream consumers from + // the pre v20 behavior of having to do this mapping themselves to the + // v20+ behavior of not having to do this anymore and to expect string + // values directly. + // NOTE: because this is the use case, this is ONLY ever set today in + // vstreams managed by the vstreamManager. + bool enum_set_string_values = 25; + bool is_internal_table = 26; // set for sidecardb tables + + // Add new members in the field number gap between shard (4) and + // enum_set_string_values (25). } // ShardGtid contains the GTID position for one shard. @@ -447,6 +476,8 @@ message VEvent { string shard = 23; // indicate that we are being throttled right now bool throttled = 24; + // ThrottledReason is a human readable string that explains why the stream is throttled + string throttled_reason = 25; } message MinimalTable { @@ -463,6 +494,11 @@ message MinimalSchema { repeated MinimalTable tables = 1; } +message VStreamOptions { + repeated string internal_tables = 1; + map config_overrides = 2; +} + // VStreamRequest is the payload for VStreamer message VStreamRequest { vitess.vtrpc.dev.CallerID effective_caller_id = 1; @@ -472,6 +508,8 @@ message VStreamRequest { string position = 4; Filter filter = 5; repeated TableLastPK table_last_p_ks = 6; + + VStreamOptions options = 7; } // VStreamResponse is the response from VStreamer @@ -487,6 +525,7 @@ message VStreamRowsRequest { string query = 4; vitess.query.dev.QueryResult lastpk = 5; + VStreamOptions options = 6; } // VStreamRowsResponse is the response from VStreamRows @@ -500,6 +539,8 @@ message VStreamRowsResponse { bool throttled = 6; // Heartbeat indicates that this is a heartbeat message bool heartbeat = 7; + // ThrottledReason is a human readable string that explains why the stream is throttled + string throttled_reason = 8; } @@ -508,6 +549,7 @@ message VStreamTablesRequest { vitess.vtrpc.dev.CallerID effective_caller_id = 1; vitess.query.dev.VTGateCallerID immediate_caller_id = 2; vitess.query.dev.Target target = 3; + VStreamOptions options = 4; } // VStreamTablesResponse is the response from VStreamTables diff --git a/src/vitess/binlogdata/v19/binlogdata.proto b/src/vitess/binlogdata/v19/binlogdata.proto new file mode 100644 index 0000000..c992a5d --- /dev/null +++ b/src/vitess/binlogdata/v19/binlogdata.proto @@ -0,0 +1,553 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains all the types and servers necessary to make +// RPC calls to VtTablet for the binlog protocol, used by filtered +// replication only. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/binlogdata/v19;binlogdatav19"; + +package vitess.binlogdata.v19; + +import "vitess/vtrpc/v19/vtrpc.proto"; +import "vitess/query/v19/query.proto"; +import "vitess/topodata/v19/topodata.proto"; + +// Charset is the per-statement charset info from a QUERY_EVENT binlog entry. +message Charset { + // @@session.character_set_client + int32 client = 1; + // @@session.collation_connection + int32 conn = 2; + // @@session.collation_server + int32 server = 3; +} + +// BinlogTransaction describes a transaction inside the binlogs. +// It is streamed by vttablet for filtered replication, used during resharding. +message BinlogTransaction { + message Statement { + enum Category { + BL_UNRECOGNIZED = 0; + BL_BEGIN = 1; + BL_COMMIT = 2; + BL_ROLLBACK = 3; + // BL_DML is deprecated. + BL_DML_DEPRECATED = 4; + BL_DDL = 5; + BL_SET = 6; + BL_INSERT = 7; + BL_UPDATE = 8; + BL_DELETE = 9; + } + + // what type of statement is this? + Category category = 1; + + // charset of this statement, if different from pre-negotiated default. + Charset charset = 2; + + // the sql + bytes sql = 3; + } + + // the statements in this transaction + repeated Statement statements = 1; + + // DEPRECATED (replaced by event_token): the timestamp of the statements. + // int64 timestamp = 2; + reserved 2; + + // DEPRECATED (replaced by event_token): the Transaction ID after + // this statement was applied. + // string transaction_id = 3; + reserved 3; + + // The Event Token for this event. + vitess.query.v19.EventToken event_token = 4; +} + +// StreamKeyRangeRequest is the payload to StreamKeyRange +message StreamKeyRangeRequest { + // where to start + string position = 1; + + // what to get + vitess.topodata.v19.KeyRange key_range = 2; + + // default charset on the player side + Charset charset = 3; +} + +// StreamKeyRangeResponse is the response from StreamKeyRange +message StreamKeyRangeResponse{ + BinlogTransaction binlog_transaction = 1; +} + +// StreamTablesRequest is the payload to StreamTables +message StreamTablesRequest { + // where to start + string position = 1; + + // what to get + repeated string tables = 2; + + // default charset on the player side + Charset charset = 3; +} + +// StreamTablesResponse is the response from StreamTables +message StreamTablesResponse { + BinlogTransaction binlog_transaction = 1; +} + +// CharsetConversion represent a conversion of text from one charset to another +message CharsetConversion { + // FromCharset is the charset name from which we convert the text (e.g. latin1) + string from_charset = 1; + // ToCharset is the charset name to which we convert the text (e.g. utf8mb4) + string to_charset = 2; +} + +// Rule represents one rule in a Filter. +message Rule { + // Match can be a table name or a regular expression. + // If it starts with a '/', it's a regular expression. + // For example, "t" matches a table named "t", whereas + // "/t.*" matches all tables that begin with 't'. + string match = 1; + // Filter: If empty, all columns and rows of the matching tables + // are sent. If it's a keyrange like "-80", only rows that + // match the keyrange are sent. + // If Match is a table name instead of a regular expression, + // the Filter can also be a select expression like this: + // "select * from t", same as an empty Filter, or + // "select * from t where in_keyrange('-80')", same as "-80", or + // "select col1, col2 from t where in_keyrange(col1, 'hash', '-80'), or + // What is allowed in a select expression depends on whether + // it's a vstreamer or vreplication request. For more details, + // please refer to the specific package documentation. + // On the vreplication side, Filter can also accept a special + // "exclude" value, which will cause the matched tables + // to be excluded. + // TODO(sougou): support this on vstreamer side also. + string filter = 2; + // ConvertEnumToText: optional, list per enum column name, the list of textual values. + // When reading the binary log, all enum values are numeric. But sometimes it + // is useful/needed to know what the textual mapping are. + // Online DDL provides such use case. + + // Example: key="color", value="'red','green','blue'" + map convert_enum_to_text = 3; + + // ConvertCharset: optional mapping, between column name and a CharsetConversion. + // This hints to vreplication that columns are encoded from/to non-trivial charsets + // The map is only populated when either "from" or "to" charset of a column are non-trivial + // trivial charsets are utf8 and ascii variants. + map convert_charset = 4; + + // SourceUniqueKeyColumns represents the ordered columns in the index used by rowstreamer to iterate the table + // It is comma delimited, as in col1,col2,col3 (tokens are escaped via net/url) + string source_unique_key_columns = 5; + + // TargetUniqueKeyColumns represents the ordered columns in that index used by vcopier and vplayer to apply rows + // It is comma delimited, as in col1,col2,col3 (tokens are escaped via net/url) + string target_unique_key_columns = 6; + + // SourceUniqueKeyTargetColumns represents the names of columns in target table, mapped from the chosen unique + // key on source tables (some columns may be renamed from source to target) + string source_unique_key_target_columns = 7; + + // ConvertIntToEnum lists any columns that are converted from an integral value into an enum. + // such columns need to have special transofrmation of the data, from an integral format into a + // string format. e.g. the value 0 needs to be converted to '0'. + map convert_int_to_enum = 8; + + // ForceUniqueKey gives vtreamer a hint for `FORCE INDEX (...)` usage. + string force_unique_key = 9; +} + +// Filter represents a list of ordered rules. The first +// match wins. +message Filter { + repeated Rule rules = 1; + enum FieldEventMode { + ERR_ON_MISMATCH = 0; + BEST_EFFORT = 1; + } + // FieldEventMode specifies the behavior if there is a mismatch + // between the current schema and the fields in the binlog. This + // can happen if the binlog position is before a DDL that would + // cause the fields to change. If vstreamer detects such + // an inconsistency, the behavior depends on the FieldEventMode. + // If the value is ERR_ON_MISMATCH (default), then it errors out. + // If it's BEST_EFFORT, it sends a field event with fake column + // names as "@1", "@2", etc. + FieldEventMode field_event_mode = 2; + + int64 workflow_type = 3; + string workflow_name = 4; +} + +// OnDDLAction lists the possible actions for DDLs. +enum OnDDLAction { + IGNORE = 0; + STOP = 1; + EXEC = 2; + EXEC_IGNORE = 3; +} + +// VReplicationWorkflowType define types of vreplication workflows. +enum VReplicationWorkflowType { + Materialize = 0; + MoveTables = 1; + CreateLookupIndex = 2; + Migrate = 3; + Reshard = 4; + OnlineDDL = 5; +} + +// VReplicationWorkflowSubType define types of vreplication workflows. +enum VReplicationWorkflowSubType { + None = 0; + Partial = 1; + AtomicCopy = 2; +} + +// VReplicationWorklfowState defines the valid states that a workflow can be in. +enum VReplicationWorkflowState { + Unknown = 0; + Init = 1; + Stopped = 2; + Copying = 3; + Running = 4; + Error = 5; + Lagging = 6; +} + +// BinlogSource specifies the source and filter parameters for +// Filtered Replication. KeyRange and Tables are legacy. Filter +// is the new way to specify the filtering rules. +message BinlogSource { + // the source keyspace + string keyspace = 1; + + // the source shard + string shard = 2; + + // the source tablet type + vitess.topodata.v19.TabletType tablet_type = 3; + + // KeyRange is set if the request is for a keyrange + vitess.topodata.v19.KeyRange key_range = 4; + + // Tables is set if the request is for a list of tables + repeated string tables = 5; + + // Filter is set if we're using the generalized representation + // for the filter. + Filter filter = 6; + + // OnDdl specifies the action to be taken when a DDL is encountered. + OnDDLAction on_ddl = 7; + + // Source is an external mysql. This attribute should be set to the username + // to use in the connection + string external_mysql = 8; + + // StopAfterCopy specifies if vreplication should be stopped + // after copying is done. + bool stop_after_copy = 9; + + // ExternalCluster is the name of the mounted cluster which has the source keyspace/db for this workflow + // it is of the type + string external_cluster = 10; + + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + string source_time_zone = 11; + // TargetTimeZone is not currently specifiable by the user, defaults to UTC for the forward workflows + // and to the SourceTimeZone in reverse workflows + string target_time_zone = 12; +} + +// VEventType enumerates the event types. Many of these types +// will not be encountered in RBR mode. +enum VEventType { + UNKNOWN = 0; + GTID = 1; + BEGIN = 2; + COMMIT = 3; + ROLLBACK = 4; + DDL = 5; + // INSERT, REPLACE, UPDATE, DELETE and SET will not be seen in RBR mode. + INSERT = 6; + REPLACE = 7; + UPDATE = 8; + DELETE = 9; + SET = 10; + // OTHER is a dummy event. If encountered, the current GTID must be + // recorded by the client to be able to resume. + OTHER = 11; + ROW = 12; + FIELD = 13; + // HEARTBEAT is sent if there is inactivity. If a client does not + // receive events beyond the hearbeat interval, it can assume that it's + // lost connection to the vstreamer. + HEARTBEAT = 14; + // VGTID is generated by VTGate's VStream that combines multiple + // GTIDs. + VGTID = 15; + JOURNAL = 16; + VERSION = 17; + LASTPK = 18; + SAVEPOINT = 19; + // COPY_COMPLETED is sent when VTGate's VStream copy operation is done. + // If a client experiences some disruptions before receiving the event, + // the client should restart the copy operation. + COPY_COMPLETED = 20; +} + + +// RowChange represents one row change. +// If Before is set and not After, it's a delete. +// If After is set and not Before, it's an insert. +// If both are set, it's an update. +message RowChange { + message Bitmap { + int64 count = 1; + bytes cols = 2; + } + vitess.query.v19.Row before = 1; + vitess.query.v19.Row after = 2; + // DataColumns is a bitmap of all columns: bit is set if column is present in the after image + Bitmap data_columns = 3; +} + +// RowEvent represent row events for one table. +message RowEvent { + string table_name = 1; + repeated RowChange row_changes = 2; + string keyspace = 3; + string shard = 4; + uint32 flags = 5; // https://dev.mysql.com/doc/dev/mysql-server/latest/classbinary__log_1_1Rows__event.html +} + +// FieldEvent represents the field info for a table. +message FieldEvent { + string table_name = 1; + repeated vitess.query.v19.Field fields = 2; + string keyspace = 3; + string shard = 4; +} + +// ShardGtid contains the GTID position for one shard. +// It's used in a request for requesting a starting position. +// It's used in a response to transmit the current position +// of a shard. It's also used in a Journal to indicate the +// list of targets and shard positions to migrate to. +message ShardGtid { + string keyspace = 1; + string shard = 2; + string gtid = 3; + repeated TableLastPK table_p_ks = 4; +} + +// A VGtid is a list of ShardGtids. +message VGtid { + repeated ShardGtid shard_gtids = 1; +} + +// KeyspaceShard represents a keyspace and shard. +message KeyspaceShard { + string keyspace = 1; + string shard = 2; +} + +// MigrationType specifies the type of migration for the Journal. +enum MigrationType { + TABLES = 0; + SHARDS = 1; +} + +// Journal contains the metadata for a journal event. +// The commit of a journal event indicates the point of no return +// for a migration. +message Journal { + // Id represents a unique journal id. + int64 id = 1; + MigrationType migration_type = 2; + // Tables is set if the journal represents a TABLES migration. + repeated string tables = 3; + // LocalPosition is the source position at which the migration happened. + string local_position = 4; + // ShardGtids is the list of targets to which the migration took place. + repeated ShardGtid shard_gtids = 5; + // Participants is the list of source participants for a migration. + // Every participant is expected to have an identical journal entry. + // While streaming, the client must wait for the journal entry to + // be received from all pariticipants, and then replace them with new + // streams specified by ShardGtid. + // If a stream does not have all participants, a consistent migration + // is not possible. + repeated KeyspaceShard participants = 6; + // SourceWorkflows is the list of workflows in the source shard that + // were migrated to the target. If a migration fails after a Journal + // is committed, this information is used to start the target streams + // that were created prior to the creation of the journal. + repeated string source_workflows = 7; +} + +// VEvent represents a vstream event. +// A FieldEvent is sent once for every table, just before +// the first event for that table. The client is expected +// to cache this information and match it against the RowEvent +// which contains the table name. +// A GTID event always precedes a commitable event, which can be +// COMMIT, DDL or OTHER. +// OTHER events are non-material events that have no additional metadata. +message VEvent { + VEventType type = 1; + // Timestamp is the binlog timestamp in seconds. + // The value should be ignored if 0. + int64 timestamp = 2; + // Gtid is set if the event type is GTID. + string gtid = 3; + // Statement is set if the event type is DDL, DML or SAVEPOINT. + string statement = 4; + // RowEvent is set if the event type is ROW. + RowEvent row_event = 5; + // FieldEvent is set if the event type is FIELD. + FieldEvent field_event = 6; + // Vgtid is set if the event type is VGTID. + // This event is only generated by VTGate's VStream function. + VGtid vgtid = 7; + // Journal is set if the event type is JOURNAL. + Journal journal = 8; + // Dml is set if the event type is INSERT, REPLACE, UPDATE or DELETE. + string dml = 9; + // CurrentTime specifies the current time when the message was sent. + // This can be used to compenssate for clock skew. + int64 current_time = 20; + // LastPK is the last PK for a table + LastPKEvent last_p_k_event = 21; + // the source keyspace + string keyspace = 22; + // the source shard + string shard = 23; + // indicate that we are being throttled right now + bool throttled = 24; +} + +message MinimalTable { + string name = 1; + repeated vitess.query.v19.Field fields = 2; + repeated int64 p_k_columns = 3; + // This will be PRIMARY when the actual primary key is used and it + // will be the name of the Primary Key equivalent if one is used + // instead. Otherwise it will be empty. + string p_k_index_name = 4; +} + +message MinimalSchema { + repeated MinimalTable tables = 1; +} + +// VStreamRequest is the payload for VStreamer +message VStreamRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + vitess.query.v19.VTGateCallerID immediate_caller_id = 2; + vitess.query.v19.Target target = 3; + + string position = 4; + Filter filter = 5; + repeated TableLastPK table_last_p_ks = 6; +} + +// VStreamResponse is the response from VStreamer +message VStreamResponse { + repeated VEvent events = 1; +} + +// VStreamRowsRequest is the payload for VStreamRows +message VStreamRowsRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + vitess.query.v19.VTGateCallerID immediate_caller_id = 2; + vitess.query.v19.Target target = 3; + + string query = 4; + vitess.query.v19.QueryResult lastpk = 5; +} + +// VStreamRowsResponse is the response from VStreamRows +message VStreamRowsResponse { + repeated vitess.query.v19.Field fields = 1; + repeated vitess.query.v19.Field pkfields = 2; + string gtid = 3; + repeated vitess.query.v19.Row rows = 4; + vitess.query.v19.Row lastpk = 5; + // Throttled indicates that rowstreamer is being throttled right now + bool throttled = 6; + // Heartbeat indicates that this is a heartbeat message + bool heartbeat = 7; +} + + +// VStreamTablesRequest is the payload for VStreamTables +message VStreamTablesRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + vitess.query.v19.VTGateCallerID immediate_caller_id = 2; + vitess.query.v19.Target target = 3; +} + +// VStreamTablesResponse is the response from VStreamTables +message VStreamTablesResponse { + string table_name = 1; + repeated vitess.query.v19.Field fields = 2; + repeated vitess.query.v19.Field pkfields = 3; + string gtid = 4; + repeated vitess.query.v19.Row rows = 5; + vitess.query.v19.Row lastpk = 6; +} + +message LastPKEvent { + TableLastPK table_last_p_k = 1; + bool completed = 2; +} + +message TableLastPK { + string table_name = 1; + vitess.query.v19.QueryResult lastpk = 3; +} + +// VStreamResultsRequest is the payload for VStreamResults +// The ids match VStreamRows, in case we decide to merge the two. +// The ids match VStreamRows, in case we decide to merge the two. +message VStreamResultsRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + vitess.query.v19.VTGateCallerID immediate_caller_id = 2; + vitess.query.v19.Target target = 3; + + string query = 4; +} + +// VStreamResultsResponse is the response from VStreamResults +// The ids match VStreamRows, in case we decide to merge the two. +message VStreamResultsResponse { + repeated vitess.query.v19.Field fields = 1; + string gtid = 3; + repeated vitess.query.v19.Row rows = 4; +} diff --git a/src/vitess/binlogservice/v19/binlogservice.proto b/src/vitess/binlogservice/v19/binlogservice.proto new file mode 100644 index 0000000..f5ea366 --- /dev/null +++ b/src/vitess/binlogservice/v19/binlogservice.proto @@ -0,0 +1,37 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains the UpdateStream service definition, necessary +// to make RPC calls to VtTablet for the binlog protocol, used by +// filtered replication only. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/binlogservice/v19;binlogservicev19"; + +package vitess.binlogservice.v19; + +import "vitess/binlogdata/v19/binlogdata.proto"; + +// UpdateStream is the RPC version of binlog.UpdateStream. +service UpdateStream { + // StreamKeyRange returns the binlog transactions related to + // the specified Keyrange. + rpc StreamKeyRange(vitess.binlogdata.v19.StreamKeyRangeRequest) returns (stream vitess.binlogdata.v19.StreamKeyRangeResponse) {}; + + // StreamTables returns the binlog transactions related to + // the specified Tables. + rpc StreamTables(vitess.binlogdata.v19.StreamTablesRequest) returns (stream vitess.binlogdata.v19.StreamTablesResponse) {}; +} diff --git a/src/vitess/logutil/v19/logutil.proto b/src/vitess/logutil/v19/logutil.proto new file mode 100644 index 0000000..3a97b1e --- /dev/null +++ b/src/vitess/logutil/v19/logutil.proto @@ -0,0 +1,46 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package contains the data structures for the logging service. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/logutil/v19;logutilv19"; + +package vitess.logutil.v19; + +import "vitess/vttime/v19/vttime.proto"; + +// Level is the level of the log messages. +enum Level { + // The usual logging levels. + // Should be logged using logging facility. + INFO = 0; + WARNING = 1; + ERROR = 2; + + // For messages that may contains non-logging events. + // Should be logged to console directly. + CONSOLE = 3; +} + +// Event is a single logging event +message Event { + vitess.vttime.v19.Time time = 1; + Level level = 2; + string file = 3; + int64 line = 4; + string value = 5; +} diff --git a/src/vitess/mysqlctl/dev/mysqlctl.proto b/src/vitess/mysqlctl/dev/mysqlctl.proto index 6c19a96..e33be12 100644 --- a/src/vitess/mysqlctl/dev/mysqlctl.proto +++ b/src/vitess/mysqlctl/dev/mysqlctl.proto @@ -24,6 +24,7 @@ package vitess.mysqlctl.dev; import "vitess/topodata/dev/topodata.proto"; import "vitess/vttime/dev/vttime.proto"; +import "vitess/vtrpc/dev/vtrpc.proto"; message StartRequest{ repeated string mysqld_args = 1; @@ -79,6 +80,22 @@ message VersionStringResponse{ string version = 1; } +message HostMetricsRequest{} + +message HostMetricsResponse{ + message Metric { + // Name of the metric + string name = 1; + // Value is the metric value + double value = 2; + // Error indicates an error retrieving the value + vitess.vtrpc.dev.RPCError error = 3; + } + // Metrics is a map (metric name -> metric value/error) so that the client has as much + // information as possible about all the checked metrics. + map metrics = 1; +} + // MysqlCtl is the service definition service MysqlCtl { rpc Start(StartRequest) returns (StartResponse) {}; @@ -89,6 +106,7 @@ service MysqlCtl { rpc ReinitConfig(ReinitConfigRequest) returns (ReinitConfigResponse) {}; rpc RefreshConfig(RefreshConfigRequest) returns (RefreshConfigResponse) {}; rpc VersionString(VersionStringRequest) returns (VersionStringResponse) {}; + rpc HostMetrics(HostMetricsRequest) returns (HostMetricsResponse) {}; } // BackupInfo is the read-only attributes of a mysqlctl/backupstorage.BackupHandle. diff --git a/src/vitess/mysqlctl/v19/mysqlctl.proto b/src/vitess/mysqlctl/v19/mysqlctl.proto new file mode 100644 index 0000000..a61cc80 --- /dev/null +++ b/src/vitess/mysqlctl/v19/mysqlctl.proto @@ -0,0 +1,130 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains the service definition for making management API +// calls to mysqlctld. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/mysqlctl/v19;mysqlctlv19"; + +package vitess.mysqlctl.v19; + +import "vitess/topodata/v19/topodata.proto"; +import "vitess/vttime/v19/vttime.proto"; + +message StartRequest{ + repeated string mysqld_args = 1; +} + +message StartResponse{} + +message ShutdownRequest{ + bool wait_for_mysqld = 1; + vitess.vttime.v19.Duration mysql_shutdown_timeout = 2; +} + +message ShutdownResponse{} + +message RunMysqlUpgradeRequest{} + +message RunMysqlUpgradeResponse{} + +message ApplyBinlogFileRequest{ + string binlog_file_name = 1; + string binlog_restore_position = 2; + vitess.vttime.v19.Time binlog_restore_datetime = 3; +} + +message ApplyBinlogFileResponse{} + +message ReadBinlogFilesTimestampsRequest{ + repeated string binlog_file_names = 1; +} + +message ReadBinlogFilesTimestampsResponse{ + // FirstTimestamp is the timestamp of the first found transaction searching in order of given binlog files + vitess.vttime.v19.Time first_timestamp = 1; + // FirstTimestampBinlog is the name of the binary log in which the first timestamp is found + string first_timestamp_binlog = 2; + // LastTimestamp is the timestamp of the last found transaction in given binlog files + vitess.vttime.v19.Time last_timestamp = 3; + // LastTimestampBinlog is the name of the binary log in which the last timestamp is found + string last_timestamp_binlog = 4; +} + +message ReinitConfigRequest{} + +message ReinitConfigResponse{} + +message RefreshConfigRequest{} + +message RefreshConfigResponse{} + +message VersionStringRequest{} + +message VersionStringResponse{ + string version = 1; +} + +// MysqlCtl is the service definition +service MysqlCtl { + rpc Start(StartRequest) returns (StartResponse) {}; + rpc Shutdown(ShutdownRequest) returns (ShutdownResponse) {}; + rpc RunMysqlUpgrade(RunMysqlUpgradeRequest) returns (RunMysqlUpgradeResponse) {}; + rpc ApplyBinlogFile(ApplyBinlogFileRequest) returns (ApplyBinlogFileResponse) {}; + rpc ReadBinlogFilesTimestamps(ReadBinlogFilesTimestampsRequest) returns (ReadBinlogFilesTimestampsResponse) {}; + rpc ReinitConfig(ReinitConfigRequest) returns (ReinitConfigResponse) {}; + rpc RefreshConfig(RefreshConfigRequest) returns (RefreshConfigResponse) {}; + rpc VersionString(VersionStringRequest) returns (VersionStringResponse) {}; +} + +// BackupInfo is the read-only attributes of a mysqlctl/backupstorage.BackupHandle. +message BackupInfo { + string name = 1; + string directory = 2; + + string keyspace = 3; + string shard = 4; + + // The following fields will be extracted from the .Name field. If an error + // occurs during extraction/parsing, these fields may not be set, but + // VtctldServer.GetBackups will not fail. + + vitess.topodata.v19.TabletAlias tablet_alias = 5; + vitess.vttime.v19.Time time = 6; + + // The following fields are may or may not be currently set. Work is inflight + // to fully-support these fields in all backupengine/storage implementations. + // See https://github.com/vitessio/vitess/issues/8332. + + // Engine is the name of the backupengine implementation used to create + // this backup. + string engine = 7; + Status status = 8; + + // Status is an enum representing the possible status of a backup. + enum Status { + UNKNOWN = 0; + INCOMPLETE = 1; + COMPLETE = 2; + // A backup status of INVALID should be set if the backup is complete + // but unusable in some way (partial upload, corrupt file, etc). + INVALID = 3; + // A backup status of VALID should be set if the backup is both + // complete and usuable. + VALID = 4; + } +} diff --git a/src/vitess/query/dev/query.proto b/src/vitess/query/dev/query.proto index 70aa07a..f0c5948 100644 --- a/src/vitess/query/dev/query.proto +++ b/src/vitess/query/dev/query.proto @@ -71,7 +71,7 @@ message EventToken { // Flags sent from the MySQL C API enum MySqlFlag { option allow_alias = true; - + EMPTY = 0; NOT_NULL_FLAG = 1; PRI_KEY_FLAG = 2; @@ -215,6 +215,11 @@ enum Type { // BITNUM specifies a base 2 binary type (unquoted varbinary). // Properties: 34, IsText. BITNUM = 4130; + // VECTOR specifies a VECTOR type + // Properties: 35, IsQuoted. + VECTOR = 2083; + // RAW specifies a type which won't be quoted but the value used as-is while encoding. + RAW = 2084; } // Value represents a typed value. @@ -277,7 +282,7 @@ message ExecuteOptions { // query timeouts are shorter. // OLAP: DMLS not allowed, no limit on row count, timeouts // can be as high as desired. - // DBA: no limit on rowcount or timeout, all queries allowed + // DBA: no limit on rowcount or timeout, all queries allowed // but intended for long DMLs and DDLs. Workload workload = 6; @@ -317,8 +322,8 @@ message ExecuteOptions { Gen4CompareV3 = 6; V3Insert = 7; } - - // PlannerVersion specifies which planner to use. + + // PlannerVersion specifies which planner to use. // If DEFAULT is chosen, whatever vtgate was started with will be used PlannerVersion planner_version = 11; @@ -353,6 +358,17 @@ message ExecuteOptions { // priority specifies the priority of the query, between 0 and 100. This is leveraged by the transaction // throttler to determine whether, under resource contention, a query should or should not be throttled. string priority = 16; + + // timeout specifies the query timeout in milliseconds. If not set, the default timeout is used. + oneof timeout { + int64 authoritative_timeout = 17; + } + + // fetch_last_insert_id indicates that after executing a DML involving last_insert_id(x), + // a subsequent "SELECT last_insert_id()" should be performed to retrieve the updated value. + // This is to circumvent a bug where setting last_insert_id(x) to zero is not signaled by mysql + // https://bugs.mysql.com/bug.php?id=116939 + bool fetch_last_insert_id = 18; } // Field describes a single column returned by a query @@ -417,6 +433,7 @@ message QueryResult { repeated Row rows = 4; string info = 6; string session_state_changes = 7; + bool insert_id_changed=8; } // QueryWarning is used to convey out of band query execution warnings @@ -599,8 +616,16 @@ message StartCommitRequest { string dtid = 5; } +enum StartCommitState { + Unknown = 0; + Fail = 1; + Success = 2; +} + // StartCommitResponse is the returned value from StartCommit -message StartCommitResponse {} +message StartCommitResponse { + StartCommitState state = 1; +} // SetRollbackRequest is the payload to SetRollback message SetRollbackRequest { @@ -638,6 +663,19 @@ message ReadTransactionResponse { TransactionMetadata metadata = 1; } +// UnresolvedTransactionsRequest is the payload to UnresolvedTransactions +message UnresolvedTransactionsRequest { + vitess.vtrpc.dev.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 abandon_age = 4; // Unresolved Transactions older than this (in seconds). +} + +// UnresolvedTransactionsResponse is the returned value from UnresolvedTransactions +message UnresolvedTransactionsResponse { + repeated TransactionMetadata transactions = 1; +} + // BeginExecuteRequest is the payload to BeginExecute message BeginExecuteRequest { vitess.vtrpc.dev.CallerID effective_caller_id = 1; @@ -883,6 +921,11 @@ message RealtimeStats { // view_schema_changed is to provide list of views that have schema changes detected by the tablet. repeated string view_schema_changed = 8; + + // udfs_changed is used to signal that the UDFs have changed on the tablet. + bool udfs_changed = 9; + + bool tx_unresolved = 10; } // AggregateStats contains information about the health of a group of @@ -971,8 +1014,8 @@ message StreamHealthResponse { enum TransactionState { UNKNOWN = 0; PREPARE = 1; - COMMIT = 2; - ROLLBACK = 3; + ROLLBACK = 2; + COMMIT = 3; } // TransactionMetadata contains the metadata for a distributed transaction. @@ -989,6 +1032,7 @@ enum SchemaTableType { VIEWS = 0; TABLES = 1; ALL = 2; + UDFS = 3; } // GetSchemaRequest is the payload to GetSchema @@ -998,8 +1042,16 @@ message GetSchemaRequest { repeated string table_names = 3; } +// UDFInfo represents the information about a UDF. +message UDFInfo { + string name = 1; + bool aggregating = 2; + Type return_type = 3; +} + // GetSchemaResponse is the returned value from GetSchema message GetSchemaResponse { - // this is for the schema definition for the requested tables. + repeated UDFInfo udfs = 1; + // this is for the schema definition for the requested tables and views. map table_definition = 2; } diff --git a/src/vitess/query/v19/query.proto b/src/vitess/query/v19/query.proto new file mode 100644 index 0000000..4710bb1 --- /dev/null +++ b/src/vitess/query/v19/query.proto @@ -0,0 +1,1007 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains all the types necessary to make +// RPC calls to Vttablet. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/query/v19;queryv19"; + +package vitess.query.v19; + +// option java_package = "io.vitess.proto"; + +import "vitess/topodata/v19/topodata.proto"; +import "vitess/vtrpc/v19/vtrpc.proto"; + +// Target describes what the client expects the tablet is. +// If the tablet does not match, an error is returned. +message Target { + string keyspace = 1; + string shard = 2; + vitess.topodata.v19.TabletType tablet_type = 3; + // cell is used for routing queries between vtgate and vttablets. It + // is not used when Target is part of the Session sent by the client. + string cell = 4; +} + +// VTGateCallerID is sent by VTGate to VTTablet to describe the +// caller. If possible, this information is secure. For instance, +// if using unique certificates that guarantee that VTGate->VTTablet +// traffic cannot be spoofed, then VTTablet can trust this information, +// and VTTablet will use it for tablet ACLs, for instance. +// Because of this security guarantee, this is different than the CallerID +// structure, which is not secure at all, because it is provided +// by the Vitess client. +message VTGateCallerID { + string username = 1; + repeated string groups = 2; +} + +// EventToken is a structure that describes a point in time in a +// replication stream on one shard. The most recent known replication +// position can be retrieved from vttablet when executing a query. It +// is also sent with the replication streams from the binlog service. +message EventToken { + // timestamp is the MySQL timestamp of the statements. Seconds since Epoch. + int64 timestamp = 1; + + // The shard name that applied the statements. Note this is not set when + // streaming from a vttablet. It is only used on the client -> vtgate link. + string shard = 2; + + // The position on the replication stream after this statement was applied. + // It is not the transaction ID / GTID, but the position / GTIDSet. + string position = 3; +} + +// Flags sent from the MySQL C API +enum MySqlFlag { + option allow_alias = true; + + 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 allows us to qualify types by their common properties. +enum Flag { + NONE = 0; + ISINTEGRAL = 256; + ISUNSIGNED = 512; + ISFLOAT = 1024; + ISQUOTED = 2048; + ISTEXT = 4096; + ISBINARY = 8192; +} + +// Type defines the various supported data types in bind vars +// and query results. +enum Type { + // NULL_TYPE specifies a NULL type. + NULL_TYPE = 0; + // INT8 specifies a TINYINT type. + // Properties: 1, IsNumber. + INT8 = 257; + // UINT8 specifies a TINYINT UNSIGNED type. + // Properties: 2, IsNumber, IsUnsigned. + UINT8 = 770; + // INT16 specifies a SMALLINT type. + // Properties: 3, IsNumber. + INT16 = 259; + // UINT16 specifies a SMALLINT UNSIGNED type. + // Properties: 4, IsNumber, IsUnsigned. + UINT16 = 772; + // INT24 specifies a MEDIUMINT type. + // Properties: 5, IsNumber. + INT24 = 261; + // UINT24 specifies a MEDIUMINT UNSIGNED type. + // Properties: 6, IsNumber, IsUnsigned. + UINT24 = 774; + // INT32 specifies a INTEGER type. + // Properties: 7, IsNumber. + INT32 = 263; + // UINT32 specifies a INTEGER UNSIGNED type. + // Properties: 8, IsNumber, IsUnsigned. + UINT32 = 776; + // INT64 specifies a BIGINT type. + // Properties: 9, IsNumber. + INT64 = 265; + // UINT64 specifies a BIGINT UNSIGNED type. + // Properties: 10, IsNumber, IsUnsigned. + UINT64 = 778; + // FLOAT32 specifies a FLOAT type. + // Properties: 11, IsFloat. + FLOAT32 = 1035; + // FLOAT64 specifies a DOUBLE or REAL type. + // Properties: 12, IsFloat. + FLOAT64 = 1036; + // TIMESTAMP specifies a TIMESTAMP type. + // Properties: 13, IsQuoted. + TIMESTAMP = 2061; + // DATE specifies a DATE type. + // Properties: 14, IsQuoted. + DATE = 2062; + // TIME specifies a TIME type. + // Properties: 15, IsQuoted. + TIME = 2063; + // DATETIME specifies a DATETIME type. + // Properties: 16, IsQuoted. + DATETIME = 2064; + // YEAR specifies a YEAR type. + // Properties: 17, IsNumber, IsUnsigned. + YEAR = 785; + // DECIMAL specifies a DECIMAL or NUMERIC type. + // Properties: 18, None. + DECIMAL = 18; + // TEXT specifies a TEXT type. + // Properties: 19, IsQuoted, IsText. + TEXT = 6163; + // BLOB specifies a BLOB type. + // Properties: 20, IsQuoted, IsBinary. + BLOB = 10260; + // VARCHAR specifies a VARCHAR type. + // Properties: 21, IsQuoted, IsText. + VARCHAR = 6165; + // VARBINARY specifies a VARBINARY type. + // Properties: 22, IsQuoted, IsBinary. + VARBINARY = 10262; + // CHAR specifies a CHAR type. + // Properties: 23, IsQuoted, IsText. + CHAR = 6167; + // BINARY specifies a BINARY type. + // Properties: 24, IsQuoted, IsBinary. + BINARY = 10264; + // BIT specifies a BIT type. + // Properties: 25, IsQuoted. + BIT = 2073; + // ENUM specifies an ENUM type. + // Properties: 26, IsQuoted. + ENUM = 2074; + // SET specifies a SET type. + // Properties: 27, IsQuoted. + SET = 2075; + // TUPLE specifies a tuple. This cannot + // be returned in a QueryResult, but it can + // be sent as a bind var. + // Properties: 28, None. + TUPLE = 28; + // GEOMETRY specifies a GEOMETRY type. + // Properties: 29, IsQuoted. + GEOMETRY = 2077; + // JSON specifies a JSON type. + // Properties: 30, IsQuoted. + JSON = 2078; + // EXPRESSION specifies a SQL expression. + // This type is for internal use only. + // Properties: 31, None. + EXPRESSION = 31; + // HEXNUM specifies a HEXNUM type (unquoted varbinary). + // Properties: 32, IsText. + HEXNUM = 4128; + // HEXVAL specifies a HEXVAL type (unquoted varbinary). + // Properties: 33, IsText. + HEXVAL = 4129; + // BITNUM specifies a base 2 binary type (unquoted varbinary). + // Properties: 34, IsText. + BITNUM = 4130; + // RAW specifies a type which won't be quoted but the value used as-is while encoding. + RAW = 2084; +} + +// Value represents a typed value. +message Value { + Type type = 1; + bytes value = 2; +} + +// BindVariable represents a single bind variable in a Query. +message BindVariable { + Type type = 1; + bytes value = 2; + // values are set if type is TUPLE. + repeated Value values = 3; +} + +// BoundQuery is a query with its bind variables +message BoundQuery { + // sql is the SQL query to execute + string sql = 1; + + // bind_variables is a map of all bind variables to expand in the query. + // nil values are not allowed. Use NULL_TYPE to express a NULL value. + map bind_variables = 2; +} + +// ExecuteOptions is passed around for all Execute calls. +message ExecuteOptions { + // 1 used to be exclude_field_names, which was replaced by + // IncludedFields enum below + // 2 used to be include_event_token + // 3 used to be compare_event_token + reserved 1, 2, 3; + + enum IncludedFields { + TYPE_AND_NAME = 0; + TYPE_ONLY = 1; + ALL = 2; + } + + // Controls what fields are returned in Field message responses from mysql, i.e. + // field name, table name, etc. This is an optimization for high-QPS queries where + // the client knows what it's getting + IncludedFields included_fields = 4; + + // client_rows_found specifies if rows_affected should return + // rows found instead of rows affected. Behavior is defined + // by MySQL's CLIENT_FOUND_ROWS flag. + bool client_found_rows = 5; + + enum Workload { + UNSPECIFIED = 0; + OLTP = 1; + OLAP = 2; + DBA = 3; + } + + // workload specifies the type of workload: + // OLTP: DMLs allowed, results have row count limit, and + // query timeouts are shorter. + // OLAP: DMLS not allowed, no limit on row count, timeouts + // can be as high as desired. + // DBA: no limit on rowcount or timeout, all queries allowed + // but intended for long DMLs and DDLs. + Workload workload = 6; + + // sql_select_limit sets an implicit limit on all select statements. Since + // vitess also sets a rowcount limit on queries, the smallest value wins. + int64 sql_select_limit = 8; + + enum TransactionIsolation { + DEFAULT = 0; + REPEATABLE_READ = 1; + READ_COMMITTED = 2; + READ_UNCOMMITTED = 3; + SERIALIZABLE = 4; + + // This is not an "official" transaction level but it will do a + // START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY + CONSISTENT_SNAPSHOT_READ_ONLY = 5; + + // This not an "official" transaction level, it will send queries to mysql + // without wrapping them in a transaction + AUTOCOMMIT = 6; + } + + TransactionIsolation transaction_isolation = 9; + + // skip_query_plan_cache specifies if the query plan should be cached by vitess. + // By default all query plans are cached. + bool skip_query_plan_cache = 10; + + enum PlannerVersion { + DEFAULT_PLANNER = 0; + V3 = 1; + Gen4 = 2; + Gen4Greedy = 3; + Gen4Left2Right = 4; + Gen4WithFallback = 5; + Gen4CompareV3 = 6; + V3Insert = 7; + } + + // PlannerVersion specifies which planner to use. + // If DEFAULT is chosen, whatever vtgate was started with will be used + PlannerVersion planner_version = 11; + + // has_created_temp_tables signals whether plans created in this session should be cached or not + // if the user has created temp tables, Vitess will not reuse plans created for this session in other sessions. + // The current session can still use other sessions cached plans. + bool has_created_temp_tables = 12; + + enum Consolidator { + CONSOLIDATOR_UNSPECIFIED = 0; + CONSOLIDATOR_DISABLED = 1; + CONSOLIDATOR_ENABLED = 2; + CONSOLIDATOR_ENABLED_REPLICAS = 3; + } + + Consolidator consolidator = 13; + + enum TransactionAccessMode { + CONSISTENT_SNAPSHOT = 0; + READ_WRITE = 1; + READ_ONLY = 2; + } + + // TransactionAccessMode specifies the access modes to be used while starting the transaction i.e. READ WRITE/READ ONLY/WITH CONSISTENT SNAPSHOT + // If not specified, the transaction will be started with the default access mode on the connection. + repeated TransactionAccessMode transaction_access_mode = 14; + + // WorkloadName specifies the name of the workload as indicated in query directives. This is used for instrumentation + // in metrics and tracing spans. + string WorkloadName = 15; + + // priority specifies the priority of the query, between 0 and 100. This is leveraged by the transaction + // throttler to determine whether, under resource contention, a query should or should not be throttled. + string priority = 16; +} + +// Field describes a single column returned by a query +message Field { + // name of the field as returned by mysql C API + string name = 1; + + // vitess-defined type. Conversion function is in sqltypes package. + Type type = 2; + + // Remaining fields from mysql C API. + // These fields are only populated when ExecuteOptions.included_fields + // is set to IncludedFields.ALL. + string table = 3; + string org_table = 4; + string database = 5; + string org_name = 6; + + // column_length is really a uint32. All 32 bits can be used. + uint32 column_length = 7; + + // charset is actually a uint16. Only the lower 16 bits are used. + uint32 charset = 8; + + // decimals is actually a uint8. Only the lower 8 bits are used. + uint32 decimals = 9; + + // flags is actually a uint16. Only the lower 16 bits are used. + uint32 flags = 10; + + // column_type is optionally populated from information_schema.columns + string column_type = 11; +} + +// Row is a database row. +message Row { + // lengths contains the length of each value in values. + // A length of -1 means that the field is NULL. While + // reading values, you have to accummulate the length + // to know the offset where the next value begins in values. + repeated sint64 lengths = 1; + // values contains a concatenation of all values in the row. + bytes values = 2; +} + +// QueryResult is returned by Execute and ExecuteStream. +// +// As returned by Execute, len(fields) is always equal to len(row) +// (for each row in rows). +// +// As returned by StreamExecute, the first QueryResult has the fields +// set, and subsequent QueryResult have rows set. And as Execute, +// len(QueryResult[0].fields) is always equal to len(row) (for each +// row in rows for each QueryResult in QueryResult[1:]). +message QueryResult { + // This used to be ResultExtras. + reserved 5; + + repeated Field fields = 1; + uint64 rows_affected = 2; + uint64 insert_id = 3; + repeated Row rows = 4; + string info = 6; + string session_state_changes = 7; +} + +// QueryWarning is used to convey out of band query execution warnings +// by storing in the vtgate.Session +message QueryWarning { + uint32 code = 1; + string message = 2; +} + +// StreamEvent describes a set of transformations that happened as a +// single transactional unit on a server. It is streamed back by the +// Update Stream calls. +message StreamEvent { + // One individual Statement in a transaction. + message Statement { + // The category of one statement. + enum Category { + Error = 0; + DML = 1; + DDL = 2; + } + Category category = 1; + + // table_name, primary_key_fields and primary_key_values are set for DML. + string table_name = 2; + repeated Field primary_key_fields = 3; + repeated Row primary_key_values = 4; + + // sql is set for all queries. + // FIXME(alainjobart) we may not need it for DMLs. + bytes sql = 5; + } + + // The statements in this transaction. + repeated Statement statements = 1; + + // The Event Token for this event. + EventToken event_token = 2; +} + +// ExecuteRequest is the payload to Execute +message ExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + int64 transaction_id = 5; + ExecuteOptions options = 6; + int64 reserved_id = 7; +} + +// ExecuteResponse is the returned value from Execute +message ExecuteResponse { + QueryResult result = 1; +} + +// ResultWithError represents a query response +// in the form of result or error but not both. +// TODO: To be used in ExecuteBatchResponse and BeginExecuteBatchResponse. +message ResultWithError { + // error contains an query level error, only set if result is unset. + vitess.vtrpc.v19.RPCError error = 1; + + // result contains the query result, only set if error is unset. + vitess.query.v19.QueryResult result = 2; +} + +// StreamExecuteRequest is the payload to StreamExecute +message StreamExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + ExecuteOptions options = 5; + int64 transaction_id = 6; + int64 reserved_id = 7; +} + +// StreamExecuteResponse is the returned value from StreamExecute +message StreamExecuteResponse { + QueryResult result = 1; +} + +// BeginRequest is the payload to Begin +message BeginRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + ExecuteOptions options = 4; +} + +// BeginResponse is the returned value from Begin +message BeginResponse { + int64 transaction_id = 1; + vitess.topodata.v19.TabletAlias tablet_alias = 2; + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + string session_state_changes = 3; +} + +// CommitRequest is the payload to Commit +message CommitRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 transaction_id = 4; +} + +// CommitResponse is the returned value from Commit +message CommitResponse { + int64 reserved_id = 1; +} + +// RollbackRequest is the payload to Rollback +message RollbackRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 transaction_id = 4; +} + +// RollbackResponse is the returned value from Rollback +message RollbackResponse { + int64 reserved_id = 1; +} + +// PrepareRequest is the payload to Prepare +message PrepareRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 transaction_id = 4; + string dtid = 5; +} + +// PrepareResponse is the returned value from Prepare +message PrepareResponse {} + +// CommitPreparedRequest is the payload to CommitPrepared +message CommitPreparedRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + string dtid = 4; +} + +// CommitPreparedResponse is the returned value from CommitPrepared +message CommitPreparedResponse {} + +// RollbackPreparedRequest is the payload to RollbackPrepared +message RollbackPreparedRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 transaction_id = 4; + string dtid = 5; +} + +// RollbackPreparedResponse is the returned value from RollbackPrepared +message RollbackPreparedResponse {} + +// CreateTransactionRequest is the payload to CreateTransaction +message CreateTransactionRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + string dtid = 4; + repeated Target participants = 5; +} + +// CreateTransactionResponse is the returned value from CreateTransaction +message CreateTransactionResponse {} + +// StartCommitRequest is the payload to StartCommit +message StartCommitRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 transaction_id = 4; + string dtid = 5; +} + +// StartCommitResponse is the returned value from StartCommit +message StartCommitResponse {} + +// SetRollbackRequest is the payload to SetRollback +message SetRollbackRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 transaction_id = 4; + string dtid = 5; +} + +// SetRollbackResponse is the returned value from SetRollback +message SetRollbackResponse {} + +// ConcludeTransactionRequest is the payload to ConcludeTransaction +message ConcludeTransactionRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + string dtid = 4; +} + +// ConcludeTransactionResponse is the returned value from ConcludeTransaction +message ConcludeTransactionResponse {} + +// ReadTransactionRequest is the payload to ReadTransaction +message ReadTransactionRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + string dtid = 4; +} + +// ReadTransactionResponse is the returned value from ReadTransaction +message ReadTransactionResponse { + TransactionMetadata metadata = 1; +} + +// BeginExecuteRequest is the payload to BeginExecute +message BeginExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + ExecuteOptions options = 5; + int64 reserved_id = 6; + repeated string pre_queries = 7; +} + +// BeginExecuteResponse is the returned value from BeginExecute +message BeginExecuteResponse { + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the execute failed. + vitess.vtrpc.v19.RPCError error = 1; + + QueryResult result = 2; + + // transaction_id might be non-zero even if an error is present. + int64 transaction_id = 3; + vitess.topodata.v19.TabletAlias tablet_alias = 4; + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + string session_state_changes = 5; +} + +// BeginStreamExecuteRequest is the payload to BeginStreamExecute +message BeginStreamExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + ExecuteOptions options = 5; + repeated string pre_queries = 6; + int64 reserved_id = 7; +} + +// BeginStreamExecuteResponse is the returned value from BeginStreamExecute +message BeginStreamExecuteResponse { + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the stream execute failed. + vitess.vtrpc.v19.RPCError error = 1; + + QueryResult result = 2; + + // transaction_id might be non-zero even if an error is present. + int64 transaction_id = 3; + vitess.topodata.v19.TabletAlias tablet_alias = 4; + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + string session_state_changes = 5; +} + +// MessageStreamRequest is the request payload for MessageStream. +message MessageStreamRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + // name is the message table name. + string name = 4; +} + +// MessageStreamResponse is a response for MessageStream. +message MessageStreamResponse { + QueryResult result = 1; +} + +// MessageAckRequest is the request payload for MessageAck. +message MessageAckRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + // name is the message table name. + string name = 4; + repeated Value ids = 5; +} + +// MessageAckResponse is the response for MessageAck. +message MessageAckResponse { + // result contains the result of the ack operation. + // Since this acts like a DML, only + // RowsAffected is returned in the result. + QueryResult result = 1; +} + +// ReserveExecuteRequest is the payload to ReserveExecute +message ReserveExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + int64 transaction_id = 5; + ExecuteOptions options = 6; + repeated string pre_queries = 7; +} + +// ReserveExecuteResponse is the returned value from ReserveExecute +message ReserveExecuteResponse { + vitess.vtrpc.v19.RPCError error = 1; + QueryResult result = 2; + + // The following fields might be non-zero even if an error is present. + int64 reserved_id = 3; + vitess.topodata.v19.TabletAlias tablet_alias = 4; +} + +// ReserveStreamExecuteRequest is the payload to ReserveStreamExecute +message ReserveStreamExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + ExecuteOptions options = 5; + int64 transaction_id = 6; + repeated string pre_queries = 7; +} + +// ReserveStreamExecuteResponse is the returned value from ReserveStreamExecute +message ReserveStreamExecuteResponse { + vitess.vtrpc.v19.RPCError error = 1; + QueryResult result = 2; + + // The following fields might be non-zero even if an error is present. + int64 reserved_id = 3; + vitess.topodata.v19.TabletAlias tablet_alias = 4; +} + + +// ReserveBeginExecuteRequest is the payload to ReserveBeginExecute +message ReserveBeginExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + ExecuteOptions options = 5; + repeated string pre_queries = 6; + repeated string post_begin_queries = 7; +} + +// ReserveBeginExecuteResponse is the returned value from ReserveBeginExecute +message ReserveBeginExecuteResponse { + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the execute failed. + vitess.vtrpc.v19.RPCError error = 1; + QueryResult result = 2; + // The following fields might be non-zero even if an error is present. + int64 transaction_id = 3; + int64 reserved_id = 4; + vitess.topodata.v19.TabletAlias tablet_alias = 5; + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + string session_state_changes = 6; +} + +// ReserveBeginStreamExecuteRequest is the payload to ReserveBeginStreamExecute +message ReserveBeginStreamExecuteRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + BoundQuery query = 4; + ExecuteOptions options = 5; + repeated string pre_queries = 6; + repeated string post_begin_queries = 7; +} + +// ReserveBeginStreamExecuteResponse is the returned value from ReserveBeginStreamExecute +message ReserveBeginStreamExecuteResponse { + // error contains an application level error if necessary. Note the + // transaction_id may be set, even when an error is returned, if the begin + // worked but the stream execute failed. + vitess.vtrpc.v19.RPCError error = 1; + + QueryResult result = 2; + + // The following fields might be non-zero even if an error is present. + int64 transaction_id = 3; + int64 reserved_id = 4; + vitess.topodata.v19.TabletAlias tablet_alias = 5; + // The session_state_changes might be set if the transaction is a snapshot transaction + // and the MySQL implementation supports getting a start gtid on snapshot + string session_state_changes = 6; +} + +// ReleaseRequest is the payload to Release +message ReleaseRequest { + vitess.vtrpc.v19.CallerID effective_caller_id = 1; + VTGateCallerID immediate_caller_id = 2; + Target target = 3; + int64 transaction_id = 4; + int64 reserved_id = 5; +} + +// ReleaseResponse is the returned value from Release +message ReleaseResponse { +} + +// StreamHealthRequest is the payload for StreamHealth +message StreamHealthRequest { +} + +// RealtimeStats contains information about the tablet status. +// It is only valid for a single tablet. +message RealtimeStats { + // health_error is the last error we got from health check, + // or empty is the server is healthy. This is used for subset selection, + // we do not send queries to servers that are not healthy. + string health_error = 1; + + // replication_lag_seconds is populated for replicas only. It indicates + // how far behind on (MySQL) replication a replica currently is. It is used + // by clients for subset selection (so we don't try to send traffic + // to tablets that are too far behind). + // NOTE: This field must not be evaluated if "health_error" is not empty. + // TODO(mberlin): Let's switch it to int64 instead? + uint32 replication_lag_seconds = 2; + + // bin_log_players_count is the number of currently running binlog players. + // if the value is 0, it means that filtered replication is currently not + // running on the tablet. If >0, filtered replication is running. + // NOTE: This field must not be evaluated if "health_error" is not empty. + int32 binlog_players_count = 3; + + // filtered_replication_lag_seconds is populated for the receiving + // primary of an ongoing filtered replication only. + // It specifies how far the receiving primary lags behind the sending primary. + // NOTE: This field must not be evaluated if "health_error" is not empty. + // NOTE: This field must not be evaluated if "bin_log_players_count" is 0. + int64 filtered_replication_lag_seconds = 4; + + // cpu_usage is used for load-based balancing + double cpu_usage = 5; + + // qps is the average QPS (queries per second) rate in the last XX seconds + // where XX is usually 60 (See query_service_stats.go). + double qps = 6; + + // table_schema_changed is to provide list of tables that have schema changes detected by the tablet. + repeated string table_schema_changed = 7; + + // view_schema_changed is to provide list of views that have schema changes detected by the tablet. + repeated string view_schema_changed = 8; +} + +// AggregateStats contains information about the health of a group of +// tablets for a Target. It is used to propagate stats from a vtgate +// to another, or from the Gateway layer of a vtgate to the routing +// layer. +message AggregateStats { + // healthy_tablet_count is the number of healthy tablets in the group. + int32 healthy_tablet_count = 1; + + // unhealthy_tablet_count is the number of unhealthy tablets in the group. + int32 unhealthy_tablet_count = 2; + + // replication_lag_seconds_min is the minimum of the + // replication_lag_seconds values of the healthy tablets. It is unset + // if the tablet type is primary. + uint32 replication_lag_seconds_min = 3; + + // replication_lag_seconds_max is the maximum of the + // replication_lag_seconds values of the healthy tablets. It is unset + // if the tablet type is primary. + uint32 replication_lag_seconds_max = 4; +} + +// StreamHealthResponse is streamed by StreamHealth on a regular basis. +// It is expected to be used between a vtgate and vttablet: +// - target describes the tablet. +// - realtime_stats is set. +// - aggregate_stats is not set (deprecated) +message StreamHealthResponse { + // target is the current server type. Only queries with that exact Target + // record will be accepted (the cell may not match, however). + Target target = 1; + + // serving is true iff the tablet is serving. A tablet may not be serving + // if filtered replication is enabled on a primary for instance, + // or if a replica should not be used because the keyspace is being resharded. + bool serving = 2; + + // primary_term_start_timestamp can be interpreted as the + // last time we knew that this tablet was promoted to a PRIMARY of this shard + // (if StreamHealthResponse describes a group of tablets, between + // two vtgates, only one primary will be present in the group, and + // this is this primary's value). + // + // It is used by vtgate when determining the current PRIMARY of a shard. + // If vtgate sees more than one PRIMARY tablet, this timestamp is used + // as tiebreaker where the PRIMARY with the highest timestamp wins. + // Another usage of this timestamp is in go/vt/vtgate/buffer to detect the end + // of a reparent (failover) and stop buffering. + // + // In practice, this field is set to: + // a) the last time the RPC tabletmanager.TabletExternallyReparented was + // called on this tablet (usually done by an external failover tool e.g. + // Orchestrator). The failover tool can call this as long as we are the + // primary i.e. even ages after the last reparent occurred. + // OR + // b) the last time an active reparent was executed through a vtctl command + // (InitShardPrimary, PlannedReparentShard, EmergencyReparentShard) + // OR + // c) the last time vttablet was started and it initialized its tablet type + // as PRIMARY because it was recorded as the shard's current primary in the + // topology (see go/vt/vttablet/tabletmanager/init_tablet.go) + // OR + // d) 0 if the vttablet is not a PRIMARY. + int64 primary_term_start_timestamp = 3; + + // realtime_stats contains information about the tablet status. + // It is only filled in if the information is about a tablet. + RealtimeStats realtime_stats = 4; + + reserved 6; + // Deprecated + // AggregateStats constrains information about the group of tablet status. + // It is only filled in if the information is about a group of tablets. + // AggregateStats aggregate_stats = 6; + + // tablet_alias is the alias of the sending tablet. The discovery/healthcheck.go + // code uses it to verify that it's talking to the correct tablet and that it + // hasn't changed in the meantime e.g. due to tablet restarts where ports or + // ips have been reused but assigned differently. + vitess.topodata.v19.TabletAlias tablet_alias = 5; +} + +// TransactionState represents the state of a distributed transaction. +enum TransactionState { + UNKNOWN = 0; + PREPARE = 1; + COMMIT = 2; + ROLLBACK = 3; +} + +// TransactionMetadata contains the metadata for a distributed transaction. +message TransactionMetadata { + string dtid = 1; + TransactionState state = 2; + int64 time_created = 3; + repeated Target participants = 4; +} + + +// SchemaTableType represents the type of table requested. +enum SchemaTableType { + VIEWS = 0; + TABLES = 1; + ALL = 2; +} + +// GetSchemaRequest is the payload to GetSchema +message GetSchemaRequest { + Target target = 1; + SchemaTableType table_type = 2; + repeated string table_names = 3; +} + +// GetSchemaResponse is the returned value from GetSchema +message GetSchemaResponse { + // this is for the schema definition for the requested tables. + map table_definition = 2; +} diff --git a/src/vitess/queryservice/dev/queryservice.proto b/src/vitess/queryservice/dev/queryservice.proto index 36e8efa..d6d01bb 100644 --- a/src/vitess/queryservice/dev/queryservice.proto +++ b/src/vitess/queryservice/dev/queryservice.proto @@ -69,6 +69,9 @@ service Query { // ReadTransaction returns the 2pc transaction info. rpc ReadTransaction(vitess.query.dev.ReadTransactionRequest) returns (vitess.query.dev.ReadTransactionResponse) {}; + // UnresolvedTransactions returns the 2pc transaction info. + rpc UnresolvedTransactions(vitess.query.dev.UnresolvedTransactionsRequest) returns (vitess.query.dev.UnresolvedTransactionsResponse) {}; + // BeginExecute executes a begin and the specified SQL query. rpc BeginExecute(vitess.query.dev.BeginExecuteRequest) returns (vitess.query.dev.BeginExecuteResponse) {}; diff --git a/src/vitess/queryservice/v19/queryservice.proto b/src/vitess/queryservice/v19/queryservice.proto new file mode 100644 index 0000000..72f0f71 --- /dev/null +++ b/src/vitess/queryservice/v19/queryservice.proto @@ -0,0 +1,117 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains the service VtTablet exposes for queries. + +syntax = "proto3"; + +package vitess.queryservice.v19; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/queryservice/v19;queryservicev19"; + +import "vitess/query/v19/query.proto"; +import "vitess/binlogdata/v19/binlogdata.proto"; + +// Query defines the tablet query service, implemented by vttablet. +service Query { + // Execute executes the specified SQL query (might be in a + // transaction context, if Query.transaction_id is set). + rpc Execute(vitess.query.v19.ExecuteRequest) returns (vitess.query.v19.ExecuteResponse) {}; + + // StreamExecute executes a streaming query. Use this method if the + // query returns a large number of rows. The first QueryResult will + // contain the Fields, subsequent QueryResult messages will contain + // the rows. + rpc StreamExecute(vitess.query.v19.StreamExecuteRequest) returns (stream vitess.query.v19.StreamExecuteResponse) {}; + + // Begin a transaction. + rpc Begin(vitess.query.v19.BeginRequest) returns (vitess.query.v19.BeginResponse) {}; + + // Commit a transaction. + rpc Commit(vitess.query.v19.CommitRequest) returns (vitess.query.v19.CommitResponse) {}; + + // Rollback a transaction. + rpc Rollback(vitess.query.v19.RollbackRequest) returns (vitess.query.v19.RollbackResponse) {}; + + // Prepare preares a transaction. + rpc Prepare(vitess.query.v19.PrepareRequest) returns (vitess.query.v19.PrepareResponse) {}; + + // CommitPrepared commits a prepared transaction. + rpc CommitPrepared(vitess.query.v19.CommitPreparedRequest) returns (vitess.query.v19.CommitPreparedResponse) {}; + + // RollbackPrepared rolls back a prepared transaction. + rpc RollbackPrepared(vitess.query.v19.RollbackPreparedRequest) returns (vitess.query.v19.RollbackPreparedResponse) {}; + + // CreateTransaction creates the metadata for a 2pc transaction. + rpc CreateTransaction(vitess.query.v19.CreateTransactionRequest) returns (vitess.query.v19.CreateTransactionResponse) {}; + + // StartCommit initiates a commit for a 2pc transaction. + rpc StartCommit(vitess.query.v19.StartCommitRequest) returns (vitess.query.v19.StartCommitResponse) {}; + + // SetRollback marks the 2pc transaction for rollback. + rpc SetRollback(vitess.query.v19.SetRollbackRequest) returns (vitess.query.v19.SetRollbackResponse) {}; + + // ConcludeTransaction marks the 2pc transaction as resolved. + rpc ConcludeTransaction(vitess.query.v19.ConcludeTransactionRequest) returns (vitess.query.v19.ConcludeTransactionResponse) {}; + + // ReadTransaction returns the 2pc transaction info. + rpc ReadTransaction(vitess.query.v19.ReadTransactionRequest) returns (vitess.query.v19.ReadTransactionResponse) {}; + + // BeginExecute executes a begin and the specified SQL query. + rpc BeginExecute(vitess.query.v19.BeginExecuteRequest) returns (vitess.query.v19.BeginExecuteResponse) {}; + + // BeginStreamExecute executes a begin and the specified SQL query. + rpc BeginStreamExecute(vitess.query.v19.BeginStreamExecuteRequest) returns (stream vitess.query.v19.BeginStreamExecuteResponse) {}; + + // MessageStream streams messages from a message table. + rpc MessageStream(vitess.query.v19.MessageStreamRequest) returns (stream vitess.query.v19.MessageStreamResponse) {}; + + // MessageAck acks messages for a table. + rpc MessageAck(vitess.query.v19.MessageAckRequest) returns (vitess.query.v19.MessageAckResponse) {}; + + // ReserveExecute executes a query on a reserved connection + rpc ReserveExecute(vitess.query.v19.ReserveExecuteRequest) returns (vitess.query.v19.ReserveExecuteResponse) {}; + + // ReserveBeginExecute starts a transaction and executes a query in the transaction on a reserved connection + rpc ReserveBeginExecute(vitess.query.v19.ReserveBeginExecuteRequest) returns (vitess.query.v19.ReserveBeginExecuteResponse) {}; + + // ReserveStreamExecute executes a streaming query on a reserved connection + rpc ReserveStreamExecute(vitess.query.v19.ReserveStreamExecuteRequest) returns (stream vitess.query.v19.ReserveStreamExecuteResponse) {}; + + // ReserveBeginStreamExecute starts a transaction and executes a streaming query in the transaction on a reserved connection + rpc ReserveBeginStreamExecute(vitess.query.v19.ReserveBeginStreamExecuteRequest) returns (stream vitess.query.v19.ReserveBeginStreamExecuteResponse) {}; + + // Release releases the connection + rpc Release(vitess.query.v19.ReleaseRequest) returns (vitess.query.v19.ReleaseResponse) {}; + + // StreamHealth runs a streaming RPC to the tablet, that returns the + // current health of the tablet on a regular basis. + rpc StreamHealth(vitess.query.v19.StreamHealthRequest) returns (stream vitess.query.v19.StreamHealthResponse) {}; + + // VStream streams vreplication events. + rpc VStream(vitess.binlogdata.v19.VStreamRequest) returns (stream vitess.binlogdata.v19.VStreamResponse) {}; + + // VStreamRows streams rows from the specified starting point. + rpc VStreamRows(vitess.binlogdata.v19.VStreamRowsRequest) returns (stream vitess.binlogdata.v19.VStreamRowsResponse) {}; + + // VStreamTables streams rows from the specified starting point. + rpc VStreamTables(vitess.binlogdata.v19.VStreamTablesRequest) returns (stream vitess.binlogdata.v19.VStreamTablesResponse) {}; + + // VStreamResults streams results along with the gtid of the snapshot. + rpc VStreamResults(vitess.binlogdata.v19.VStreamResultsRequest) returns (stream vitess.binlogdata.v19.VStreamResultsResponse) {}; + + // GetSchema returns the schema information. + rpc GetSchema(vitess.query.v19.GetSchemaRequest) returns (stream vitess.query.v19.GetSchemaResponse) {}; +} diff --git a/src/vitess/replicationdata/dev/replicationdata.proto b/src/vitess/replicationdata/dev/replicationdata.proto index e3adf33..f02f75f 100644 --- a/src/vitess/replicationdata/dev/replicationdata.proto +++ b/src/vitess/replicationdata/dev/replicationdata.proto @@ -50,6 +50,15 @@ message Status { bool has_replication_filters = 22; bool ssl_allowed = 23; bool replication_lag_unknown = 24; + bool backup_running = 25; +} + +// Configuration holds replication configuration information gathered from performance_schema and global variables. +message Configuration { + // HeartbeatInterval controls the heartbeat interval that the primary sends to the replica + double heartbeat_interval = 1; + // ReplicaNetTimeout specifies the number of seconds to wait for more data or a heartbeat signal from the source before the replica considers the connection broken + int32 replica_net_timeout = 2; } // StopReplicationStatus represents the replication status before calling StopReplication, and the replication status collected immediately after @@ -65,10 +74,11 @@ enum StopReplicationMode { IOTHREADONLY = 1; } -// PrimaryStatus is the replication status for a MySQL primary (returned by 'show master status'). +// PrimaryStatus is the replication status for a MySQL primary (returned by 'show binary log status'). message PrimaryStatus { string position = 1; string file_position = 2; + string server_uuid = 3; } // FullStatus contains the full status of MySQL including the replication information, semi-sync information, GTID information among others @@ -94,4 +104,5 @@ message FullStatus { uint64 semi_sync_primary_timeout = 19; uint32 semi_sync_wait_for_replica_count = 20; bool super_read_only = 21; + vitess.replicationdata.dev.Configuration replication_configuration = 22; } diff --git a/src/vitess/replicationdata/v19/replicationdata.proto b/src/vitess/replicationdata/v19/replicationdata.proto new file mode 100644 index 0000000..c67090f --- /dev/null +++ b/src/vitess/replicationdata/v19/replicationdata.proto @@ -0,0 +1,97 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file defines the replication related structures we use. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/replicationdata/v19;replicationdatav19"; + +package vitess.replicationdata.v19; + +// Status is the replication status for MySQL/MariaDB/File-based. Returned by a +// flavor-specific command and parsed into a Position and fields. +message Status { + string position = 1; + // 2 used to be io_thread_running. Instead io_state is used. + // 3 used to be sql_thread_running. Instead sql_state is used. + reserved 2, 3; + uint32 replication_lag_seconds = 4; + string source_host = 5; + int32 source_port = 6; + int32 connect_retry = 7; + // RelayLogPosition will be empty for flavors that do not support returning the full GTIDSet from the relay log, such as MariaDB. + string relay_log_position = 8; + string file_position = 9; + string relay_log_source_binlog_equivalent_position = 10; + uint32 source_server_id = 11; + string source_uuid = 12; + int32 io_state = 13; + string last_io_error = 14; + int32 sql_state = 15; + string last_sql_error = 16; + string relay_log_file_position = 17; + string source_user = 18; + uint32 sql_delay = 19; + bool auto_position = 20; + bool using_gtid = 21; + bool has_replication_filters = 22; + bool ssl_allowed = 23; + bool replication_lag_unknown = 24; +} + +// StopReplicationStatus represents the replication status before calling StopReplication, and the replication status collected immediately after +// calling StopReplication. +message StopReplicationStatus { + vitess.replicationdata.v19.Status before = 1; + vitess.replicationdata.v19.Status after = 2; +} + +// StopReplicationMode is used to provide controls over how replication is stopped. +enum StopReplicationMode { + IOANDSQLTHREAD = 0; + IOTHREADONLY = 1; +} + +// PrimaryStatus is the replication status for a MySQL primary (returned by 'show master status'). +message PrimaryStatus { + string position = 1; + string file_position = 2; +} + +// FullStatus contains the full status of MySQL including the replication information, semi-sync information, GTID information among others +message FullStatus { + uint32 server_id = 1; + string server_uuid = 2; + vitess.replicationdata.v19.Status replication_status = 3; + vitess.replicationdata.v19.PrimaryStatus primary_status = 4; + string gtid_purged = 5; + string version = 6; + string version_comment = 7; + bool read_only = 8; + string gtid_mode = 9; + string binlog_format = 10; + string binlog_row_image = 11; + bool log_bin_enabled = 12; + bool log_replica_updates = 13; + bool semi_sync_primary_enabled = 14; + bool semi_sync_replica_enabled = 15; + bool semi_sync_primary_status = 16; + bool semi_sync_replica_status = 17; + uint32 semi_sync_primary_clients = 18; + uint64 semi_sync_primary_timeout = 19; + uint32 semi_sync_wait_for_replica_count = 20; + bool super_read_only = 21; +} diff --git a/src/vitess/tableacl/v19/tableacl.proto b/src/vitess/tableacl/v19/tableacl.proto new file mode 100644 index 0000000..897610b --- /dev/null +++ b/src/vitess/tableacl/v19/tableacl.proto @@ -0,0 +1,36 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Table ACL proto definitions. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/tableacl/v19;tableaclv19"; + +package vitess.tableacl.v19; + +// TableGroupSpec defines ACLs for a group of tables. +message TableGroupSpec { + string name = 1; + // either tables or a table name prefixes (if it ends in a %) + repeated string table_names_or_prefixes = 2; + repeated string readers = 3; + repeated string writers = 4; + repeated string admins = 5; +} + +message Config { + repeated TableGroupSpec table_groups = 1; +} diff --git a/src/vitess/tabletmanagerdata/dev/tabletmanagerdata.proto b/src/vitess/tabletmanagerdata/dev/tabletmanagerdata.proto index 8d35390..b6c3449 100644 --- a/src/vitess/tabletmanagerdata/dev/tabletmanagerdata.proto +++ b/src/vitess/tabletmanagerdata/dev/tabletmanagerdata.proto @@ -29,6 +29,7 @@ import "vitess/replicationdata/dev/replicationdata.proto"; import "vitess/logutil/dev/logutil.proto"; import "vitess/vttime/dev/vttime.proto"; import "vitess/vtrpc/dev/vtrpc.proto"; +import "vitess/mysqlctl/dev/mysqlctl.proto"; // // Data structures @@ -160,6 +161,14 @@ message GetPermissionsResponse { Permissions permissions = 1; } +message GetGlobalStatusVarsRequest { + repeated string variables = 1; +} + +message GetGlobalStatusVarsResponse { + map status_values = 1; +} + message SetReadOnlyRequest { } @@ -219,8 +228,10 @@ message ApplySchemaRequest { SchemaDefinition before_schema = 4; SchemaDefinition after_schema = 5; string sql_mode = 6; - // BatchSize indicates how many queries to apply together + // BatchSize indicates how many queries to apply together. int64 batch_size = 7; + // DisableForeignKeyChecks will result in setting foreign_key_checks to off before applying the schema. + bool disable_foreign_key_checks = 8; } message ApplySchemaResponse { @@ -259,12 +270,26 @@ message ExecuteFetchAsDbaRequest { uint64 max_rows = 3; bool disable_binlogs = 4; bool reload_schema = 5; + bool disable_foreign_key_checks = 6; } message ExecuteFetchAsDbaResponse { vitess.query.dev.QueryResult result = 1; } +message ExecuteMultiFetchAsDbaRequest { + bytes sql = 1; + string db_name = 2; + uint64 max_rows = 3; + bool disable_binlogs = 4; + bool reload_schema = 5; + bool disable_foreign_key_checks = 6; +} + +message ExecuteMultiFetchAsDbaResponse { + repeated vitess.query.dev.QueryResult results = 1; +} + message ExecuteFetchAsAllPrivsRequest { bytes query = 1; string db_name = 2; @@ -285,6 +310,51 @@ message ExecuteFetchAsAppResponse { vitess.query.dev.QueryResult result = 1; } +message GetUnresolvedTransactionsRequest { + int64 abandon_age = 1; +} + +message GetUnresolvedTransactionsResponse { + repeated vitess.query.dev.TransactionMetadata transactions = 1; +} + +message ReadTransactionRequest { + string dtid = 1; +} + +message ReadTransactionResponse { + vitess.query.dev.TransactionMetadata transaction = 1; +} + +message GetTransactionInfoRequest { + string dtid = 1; +} + +message GetTransactionInfoResponse { + string state = 1; + string message = 2; + int64 time_created = 3; + repeated string statements = 4; +} + + +message ConcludeTransactionRequest { + string dtid = 1; + bool mm = 2; +} + +message ConcludeTransactionResponse { +} + + +message MysqlHostMetricsRequest { +} + +message MysqlHostMetricsResponse { + vitess.mysqlctl.dev.HostMetricsResponse HostMetrics = 1; +} + + message ReplicationStatusRequest { } @@ -390,6 +460,13 @@ message PopulateReparentJournalRequest { message PopulateReparentJournalResponse { } +message ReadReparentJournalInfoRequest { +} + +message ReadReparentJournalInfoResponse { + int32 length = 1; +} + message InitReplicaRequest { vitess.topodata.dev.TabletAlias parent = 1; string replication_position = 2; @@ -408,7 +485,7 @@ message DemotePrimaryResponse { //string deprecated_position = 1 [deprecated = true]; reserved 1; - // PrimaryStatus represents the response from calling `SHOW MASTER STATUS` on a primary that has been demoted. + // PrimaryStatus represents the response from calling `SHOW BINARY LOG STATUS` on a primary that has been demoted. vitess.replicationdata.dev.PrimaryStatus primary_status = 2; } @@ -444,6 +521,7 @@ message SetReplicationSourceRequest { bool force_start_replication = 3; string wait_position = 4; bool semiSync = 5; + double heartbeat_interval = 6; } message SetReplicationSourceResponse { @@ -483,7 +561,7 @@ message PromoteReplicaResponse { // Backup / Restore related messages message BackupRequest { - int64 concurrency = 1; + int32 concurrency = 1; bool allow_primary = 2; // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty // then the backup becomes incremental and applies as of given position. @@ -491,6 +569,8 @@ message BackupRequest { // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 // so that it's a backup that can be used for an upgrade. bool upgrade_safe = 4; + // BackupEngine specifies if we want to use a particular backup engine for this backup request + optional string backup_engine = 5; } message BackupResponse { @@ -508,6 +588,8 @@ message RestoreFromBackupRequest { // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. // RestoreToTimestamp and RestoreToPos are mutually exclusive. vitess.vttime.dev.Time restore_to_timestamp = 4; + // AllowedBackupEngines, if present will filter out any backups taken with engines not included in the list + repeated string allowed_backup_engines = 5; } message RestoreFromBackupResponse { @@ -535,12 +617,25 @@ message CreateVReplicationWorkflowRequest { bool auto_start = 9; // Should the workflow stop after the copy phase. bool stop_after_copy = 10; + string options = 11; } message CreateVReplicationWorkflowResponse { vitess.query.dev.QueryResult result = 1; } +message DeleteTableDataRequest { + // The key is the table that we want to delete data from. + // The value is the filter or WHERE clause to use when deleting + // data in the table. + map table_filters = 1; + // BatchSize is the number of rows to delete in a single batch. + int64 batch_size = 2; +} + +message DeleteTableDataResponse { +} + message DeleteVReplicationWorkflowRequest { string workflow = 1; } @@ -549,6 +644,26 @@ message DeleteVReplicationWorkflowResponse { vitess.query.dev.QueryResult result = 1; } +message HasVReplicationWorkflowsRequest { +} + +message HasVReplicationWorkflowsResponse { + bool has = 1; +} + +message ReadVReplicationWorkflowsRequest { + repeated int32 include_ids = 1; + repeated string include_workflows = 2; + repeated vitess.binlogdata.dev.VReplicationWorkflowState include_states = 3; + repeated string exclude_workflows = 4; + repeated vitess.binlogdata.dev.VReplicationWorkflowState exclude_states = 5; + bool exclude_frozen = 6; +} + +message ReadVReplicationWorkflowsResponse { + repeated ReadVReplicationWorkflowResponse workflows = 1; +} + message ReadVReplicationWorkflowRequest { string workflow = 1; } @@ -580,6 +695,19 @@ message ReadVReplicationWorkflowResponse { string component_throttled = 14; } repeated Stream streams = 11; + string options = 12; + map config_overrides = 13; +} + +message ValidateVReplicationPermissionsRequest { +} + +message ValidateVReplicationPermissionsResponse { + // The --db_filtered_user on the tablet. + string user = 1; + // Does the user have the minimum privileges needed to manage + // vreplication metadata. + bool ok = 2; } message VDiffRequest { @@ -610,17 +738,20 @@ message VDiffReportOptions { bool debug_query = 2; string format = 3; int64 max_sample_rows = 4; + int64 row_diff_column_truncate_at = 5; } message VDiffCoreOptions { string tables = 1; bool auto_retry = 2; - int64 max_rows = 3; + int64 max_rows = 3; bool checksum = 4; int64 sample_pct = 5; int64 timeout_seconds = 6; int64 max_extra_rows_to_compare = 7; bool update_table_stats = 8; + int64 max_diff_seconds = 9; + optional bool auto_start = 10; } message VDiffOptions { @@ -629,19 +760,47 @@ message VDiffOptions { VDiffReportOptions report_options = 3; } + +// UpdateVReplicationWorkflowRequest is used to update an existing VReplication +// workflow. Note that the following fields MUST have an explicit value provided +// if you do NOT wish to update the existing value to the given type's ZeroValue: +// cells, tablet_types, on_ddl, and state. +// TODO: leverage the optional modifier for these fields rather than using SimulatedNull +// values: https://github.com/vitessio/vitess/issues/15627 message UpdateVReplicationWorkflowRequest { string workflow = 1; repeated string cells = 2; repeated vitess.topodata.dev.TabletType tablet_types = 3; - TabletSelectionPreference tablet_selection_preference = 4; - vitess.binlogdata.dev.OnDDLAction on_ddl = 5; - vitess.binlogdata.dev.VReplicationWorkflowState state = 6; + optional TabletSelectionPreference tablet_selection_preference = 4; + optional vitess.binlogdata.dev.OnDDLAction on_ddl = 5; + optional vitess.binlogdata.dev.VReplicationWorkflowState state = 6; + reserved 7; // unused, was: repeated string shards + map config_overrides = 8; } message UpdateVReplicationWorkflowResponse { vitess.query.dev.QueryResult result = 1; } +// UpdateVReplicationWorkflowsRequest is used to update multiple existing VReplication +// workflows. Note that the following fields MUST have an explicit value provided +// if you do NOT wish to update the existing values to the given type's ZeroValue: +// state, message, and stop_position. +// TODO: leverage the optional modifier for these fields rather than using SimulatedNull +// values: https://github.com/vitessio/vitess/issues/15627 +message UpdateVReplicationWorkflowsRequest { + bool all_workflows = 1; + repeated string include_workflows = 2; + repeated string exclude_workflows = 3; + optional vitess.binlogdata.dev.VReplicationWorkflowState state = 4; + optional string message = 5; + optional string stop_position = 6; +} + +message UpdateVReplicationWorkflowsResponse { + vitess.query.dev.QueryResult result = 1; +} + message ResetSequencesRequest { repeated string tables = 1; } @@ -651,6 +810,24 @@ message ResetSequencesResponse { message CheckThrottlerRequest { string app_name = 1; + + string scope = 2; + // SkipRequestHeartbeats ensures this check does not renew heartbeat lease + bool skip_request_heartbeats = 3; + // OKIfNotExists asks the throttler to return OK even if the metric does not exist + bool ok_if_not_exists = 4; + // MultiMetricsEnabled is always set to "true" and is how a multi-metrics enabled replica + // throttler knows its being probed by a multi-metrics enabled primary vttablet. + bool multi_metrics_enabled = 5; +} + +enum CheckThrottlerResponseCode { + UNDEFINED = 0; + OK = 1; + THRESHOLD_EXCEEDED = 2; + APP_DENIED = 3; + UNKNOWN_METRIC = 4; + INTERNAL_ERROR = 5; } message CheckThrottlerResponse { @@ -662,9 +839,112 @@ message CheckThrottlerResponse { double threshold = 3; // Error indicates an error retrieving the value string error = 4; - // Message + // Message string message = 5; // RecentlyChecked indicates that the tablet has been hit with a user-facing check, which can then imply // that heartbeats lease should be renwed. bool recently_checked = 6; + + message Metric { + // Name of the metric + string name = 1; + // StatusCode is HTTP compliant response code (e.g. 200 for OK) + int32 status_code = 2; + // Value is the metric value collected by the tablet + double value = 3; + // Threshold is the throttling threshold the table was comparing the value with + double threshold = 4; + // Error indicates an error retrieving the value + string error = 5; + // Message + string message = 6; + // Scope used in this check + string scope = 7; + // ResponseCode is the enum representation of the response + CheckThrottlerResponseCode response_code = 8; + } + // Metrics is a map (metric name -> metric value/error) so that the client has as much + // information as possible about all the checked metrics. + map metrics = 7; + + // AppName is the name of app that was matched by the throttler + string app_name = 8; + + // Summary is a human readable analysis of the result + string summary = 9; + + // ResponseCode is the enum representation of the response + CheckThrottlerResponseCode response_code = 10; +} + +message GetThrottlerStatusRequest { +} + +message GetThrottlerStatusResponse { + // TabletAlias of probed tablet + string tablet_alias = 1; + string keyspace = 2; + string shard = 3; + + // IsLeader indicates if the tablet is the leader of the shard, ie. the primary + bool is_leader = 4; + // IsOpen per stateManager + bool is_open = 5; + // IsEnabled per throttler configuration + bool is_enabled = 6; + // IsDormant: whether the throttler is dormant, ie has not received any checks in a while + // and goes into low-frequency probing mode. + bool is_dormant = 7; + + // LagMetricQuery is the query used to check the lag metric, a constant used by the throttler. + string lag_metric_query = 8; + // CustomMetricQuery is the query used to check the custom metric, supplied by the user. + string custom_metric_query = 9; + // DefaultThreshold is the threshold used by the throttler for the default metric (lag or custom in single-metric throttlers) + double default_threshold = 10; + // MetricNameUsedAsDefault is the name of the metric used as the default metric: "lag" or "custom", for backwards compatibility + // with single-metric throttlers + string metric_name_used_as_default = 11; + + message MetricResult { + double value = 1; + string error = 2; + } + + // AggregatedMetrics is a map of metric names to their values/errors + // Names are, for example, "self", "self/lag", "shard/lag", "shard/loadavg", etc. + map aggregated_metrics = 12; + // MetricThresholds is a map of metric names to their thresholds. + map metric_thresholds = 13; + + message MetricHealth { + vitess.vttime.dev.Time last_healthy_at = 1; + int64 seconds_since_last_healthy = 2; + } + // MetricsHealth is a map of metric names to their health status. + map metrics_health = 14; + // ThrottledApps is a map of app names to their throttling rules + map throttled_apps = 15; + // AppCheckedMetrics is a map of app names to their assigned metrics + map app_checked_metrics = 16; + + bool recently_checked = 17; + + message RecentApp { + vitess.vttime.dev.Time checked_at = 1; + int32 status_code = 2; + // ResponseCode is the enum representation of the response + CheckThrottlerResponseCode response_code = 3; + } + // RecentApps is a map of app names to their recent check status + map recent_apps = 18; +} + +message ChangeTagsRequest { + map tags = 1; + bool replace = 2; +} + +message ChangeTagsResponse { + map tags = 1; } diff --git a/src/vitess/tabletmanagerdata/v19/tabletmanagerdata.proto b/src/vitess/tabletmanagerdata/v19/tabletmanagerdata.proto new file mode 100644 index 0000000..510c446 --- /dev/null +++ b/src/vitess/tabletmanagerdata/v19/tabletmanagerdata.proto @@ -0,0 +1,679 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains all the types and servers necessary to make +// RPC calls to VtTablet for the management API. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerdata/v19;tabletmanagerdatav19"; + +package vitess.tabletmanagerdata.v19; + +import "vitess/binlogdata/v19/binlogdata.proto"; +import "vitess/query/v19/query.proto"; +import "vitess/topodata/v19/topodata.proto"; +import "vitess/replicationdata/v19/replicationdata.proto"; +import "vitess/logutil/v19/logutil.proto"; +import "vitess/vttime/v19/vttime.proto"; +import "vitess/vtrpc/v19/vtrpc.proto"; + +// +// Data structures +// + +// This structure allows us to manage tablet selection preferences +// which are eventually passed to a TabletPicker. +enum TabletSelectionPreference { + ANY = 0; + INORDER = 1; + UNKNOWN = 3; // Don't change any existing value +} + +message TableDefinition { + // the table name + string name = 1; + + // the SQL to run to create the table + string schema = 2; + + // the columns in the order that will be used to dump and load the data + repeated string columns = 3; + + // the primary key columns in the primary key order + repeated string primary_key_columns = 4; + + // type is either mysqlctl.TableBaseTable or mysqlctl.TableView + string type = 5; + + // how much space the data file takes. + uint64 data_length = 6; + + // approximate number of rows + uint64 row_count = 7; + + // column names along with their types. + // NOTE: this is a superset of columns. + repeated vitess.query.v19.Field fields = 8; +} + +message SchemaDefinition { + string database_schema = 1; + repeated TableDefinition table_definitions = 2; + reserved 3; +} + +message SchemaChangeResult { + // before_schema holds the schema before each change. + SchemaDefinition before_schema = 1; + // after_schema holds the schema after each change. + SchemaDefinition after_schema = 2; +} + +// UserPermission describes a single row in the mysql.user table +// Primary key is Host+User +// PasswordChecksum is the crc64 of the password, for security reasons +message UserPermission { + string host = 1; + string user = 2; + uint64 password_checksum = 3; + map privileges = 4; +} + +// DbPermission describes a single row in the mysql.db table +// Primary key is Host+Db+User +message DbPermission { + string host = 1; + string db = 2; + string user = 3; + map privileges = 4; +} + +// Permissions have all the rows in mysql.{user,db} tables, +// (all rows are sorted by primary key) +message Permissions { + repeated UserPermission user_permissions = 1; + repeated DbPermission db_permissions = 2; +} + +// +// RPC payloads +// + +message PingRequest { + string payload = 1; +} + +message PingResponse { + string payload = 1; +} + +message SleepRequest { + // duration is in nanoseconds + int64 duration = 1; +} + +message SleepResponse { +} + +message ExecuteHookRequest { + string name = 1; + repeated string parameters = 2; + map extra_env = 3; +} + +message ExecuteHookResponse { + int64 exit_status = 1; + string stdout = 2; + string stderr = 3; +} + +message GetSchemaRequest { + repeated string tables = 1; + bool include_views = 2; + repeated string exclude_tables = 3; + // TableSchemaOnly specifies whether to limit the results to just table/view + // schema definition (CREATE TABLE/VIEW statements) and skip column/field information + bool table_schema_only = 4; +} + +message GetSchemaResponse { + SchemaDefinition schema_definition = 1; +} + +message GetPermissionsRequest { +} + +message GetPermissionsResponse { + Permissions permissions = 1; +} + +message SetReadOnlyRequest { +} + +message SetReadOnlyResponse { +} + +message SetReadWriteRequest { +} + +message SetReadWriteResponse { +} + +message ChangeTypeRequest { + vitess.topodata.v19.TabletType tablet_type = 1; + bool semiSync = 2; +} + +message ChangeTypeResponse { +} + +message RefreshStateRequest { +} + +message RefreshStateResponse { +} + +message RunHealthCheckRequest { +} + +message RunHealthCheckResponse { +} + +message ReloadSchemaRequest { + // wait_position allows scheduling a schema reload to occur after a + // given DDL has replicated to this server, by specifying a replication + // position to wait for. Leave empty to trigger the reload immediately. + string wait_position = 1; +} + +message ReloadSchemaResponse { +} + +message PreflightSchemaRequest { + repeated string changes = 1; +} + +message PreflightSchemaResponse { + // change_results has for each change the schema before and after it. + // The number of elements is identical to the length of "changes" in the request. + repeated SchemaChangeResult change_results = 1; +} + +message ApplySchemaRequest { + string sql = 1; + bool force = 2; + bool allow_replication = 3; + SchemaDefinition before_schema = 4; + SchemaDefinition after_schema = 5; + string sql_mode = 6; + // BatchSize indicates how many queries to apply together + int64 batch_size = 7; +} + +message ApplySchemaResponse { + SchemaDefinition before_schema = 1; + SchemaDefinition after_schema = 2; +} + +message LockTablesRequest { +} + +message LockTablesResponse { +} + +message UnlockTablesRequest { +} + +message UnlockTablesResponse { +} + +message ExecuteQueryRequest { + bytes query = 1; + string db_name = 2; + uint64 max_rows = 3; + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 4; +} + +message ExecuteQueryResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ExecuteFetchAsDbaRequest { + bytes query = 1; + string db_name = 2; + uint64 max_rows = 3; + bool disable_binlogs = 4; + bool reload_schema = 5; + bool disable_foreign_key_checks = 6; +} + +message ExecuteFetchAsDbaResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ExecuteFetchAsAllPrivsRequest { + bytes query = 1; + string db_name = 2; + uint64 max_rows = 3; + bool reload_schema = 4; +} + +message ExecuteFetchAsAllPrivsResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ExecuteFetchAsAppRequest { + bytes query = 1; + uint64 max_rows = 2; +} + +message ExecuteFetchAsAppResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ReplicationStatusRequest { +} + +message ReplicationStatusResponse { + vitess.replicationdata.v19.Status status = 1; +} + +message PrimaryStatusRequest { +} + +message PrimaryStatusResponse { + vitess.replicationdata.v19.PrimaryStatus status = 1; +} + +message PrimaryPositionRequest { +} + +message PrimaryPositionResponse { + string position = 1; +} + +message WaitForPositionRequest { + string position = 1; +} + +message WaitForPositionResponse { +} + +message StopReplicationRequest { +} + +message StopReplicationResponse { +} + +message StopReplicationMinimumRequest { + string position = 1; + int64 wait_timeout = 2; +} + +message StopReplicationMinimumResponse { + string position = 1; +} + +message StartReplicationRequest { + bool semiSync = 1; +} + +message StartReplicationResponse { +} + +message StartReplicationUntilAfterRequest { + string position = 1; + int64 wait_timeout = 2; +} + +message StartReplicationUntilAfterResponse { +} + +message GetReplicasRequest { +} + +message GetReplicasResponse { + repeated string addrs = 1; +} + +message ResetReplicationRequest { +} + +message ResetReplicationResponse { +} + +message VReplicationExecRequest { + string query = 1; +} + +message VReplicationExecResponse { + vitess.query.v19.QueryResult result = 1; +} + +message VReplicationWaitForPosRequest { + int32 id = 1; + string position = 2; +} + +message VReplicationWaitForPosResponse { +} + +message InitPrimaryRequest { + bool semiSync = 1; +} + +message InitPrimaryResponse { + string position = 1; +} + +message PopulateReparentJournalRequest { + int64 time_created_ns = 1; + string action_name = 2; + vitess.topodata.v19.TabletAlias primary_alias = 3; + string replication_position = 4; +} + +message PopulateReparentJournalResponse { +} + +message InitReplicaRequest { + vitess.topodata.v19.TabletAlias parent = 1; + string replication_position = 2; + int64 time_created_ns = 3; + bool semiSync = 4; +} + +message InitReplicaResponse { +} + +message DemotePrimaryRequest { +} + +message DemotePrimaryResponse { + // Position is deprecated, and is a string representation of a demoted primaries executed position. + //string deprecated_position = 1 [deprecated = true]; + reserved 1; + + // PrimaryStatus represents the response from calling `SHOW MASTER STATUS` on a primary that has been demoted. + vitess.replicationdata.v19.PrimaryStatus primary_status = 2; +} + +message UndoDemotePrimaryRequest { + bool semiSync = 1; +} + +message UndoDemotePrimaryResponse { +} + +message ReplicaWasPromotedRequest { +} + +message ReplicaWasPromotedResponse { +} + +message ResetReplicationParametersRequest { +} + +message ResetReplicationParametersResponse { +} + +message FullStatusRequest { +} + +message FullStatusResponse { + vitess.replicationdata.v19.FullStatus status = 1; +} + +message SetReplicationSourceRequest { + vitess.topodata.v19.TabletAlias parent = 1; + int64 time_created_ns = 2; + bool force_start_replication = 3; + string wait_position = 4; + bool semiSync = 5; +} + +message SetReplicationSourceResponse { +} + +message ReplicaWasRestartedRequest { + // the parent alias the tablet should have + vitess.topodata.v19.TabletAlias parent = 1; +} + +message ReplicaWasRestartedResponse { +} + +message StopReplicationAndGetStatusRequest { + vitess.replicationdata.v19.StopReplicationMode stop_replication_mode = 1; +} + +message StopReplicationAndGetStatusResponse { + // HybridStatus is deprecated. It currently represents a hybrid struct where all data represents the before state, + // except for all position related data which comes from the after state. Please use status instead, which holds + // discrete replication status calls before and after stopping the replica, or stopping the replica's io_thread. + //replicationdata.Status hybrid_status = 1 [deprecated = true]; + reserved 1; + + // Status represents the replication status call right before, and right after telling the replica to stop. + vitess.replicationdata.v19.StopReplicationStatus status = 2; +} + +message PromoteReplicaRequest { + bool semiSync = 1; +} + +message PromoteReplicaResponse { + string position = 1; +} + +// Backup / Restore related messages + +message BackupRequest { + int32 concurrency = 1; + bool allow_primary = 2; + // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty + // then the backup becomes incremental and applies as of given position. + string incremental_from_pos = 3; + // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 + // so that it's a backup that can be used for an upgrade. + bool upgrade_safe = 4; +} + +message BackupResponse { + vitess.logutil.v19.Event event = 1; +} + +message RestoreFromBackupRequest { + vitess.vttime.v19.Time backup_time = 1; + // RestoreToPos indicates a position for a point-in-time recovery. The recovery + // is expected to utilize one full backup, followed by zero or more incremental backups, + // that reach the precise desired position + string restore_to_pos = 2; + // Dry run does not actually performs the restore, but validates the steps and availability of backups + bool dry_run = 3; + // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. + // RestoreToTimestamp and RestoreToPos are mutually exclusive. + vitess.vttime.v19.Time restore_to_timestamp = 4; +} + +message RestoreFromBackupResponse { + vitess.logutil.v19.Event event = 1; +} + +// +// VReplication related messages +// + +message CreateVReplicationWorkflowRequest { + string workflow = 1; + repeated vitess.binlogdata.v19.BinlogSource binlog_source = 2; + // Optional parameters. + repeated string cells = 3; + // TabletTypes is the list of tablet types to use when selecting source tablets. + repeated vitess.topodata.v19.TabletType tablet_types = 4; + TabletSelectionPreference tablet_selection_preference = 5; + vitess.binlogdata.v19.VReplicationWorkflowType workflow_type = 6; + vitess.binlogdata.v19.VReplicationWorkflowSubType workflow_sub_type = 7; + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table + // copy finishes. + bool defer_secondary_keys = 8; + // AutoStart specifies if the workflow should be started when created. + bool auto_start = 9; + // Should the workflow stop after the copy phase. + bool stop_after_copy = 10; +} + +message CreateVReplicationWorkflowResponse { + vitess.query.v19.QueryResult result = 1; +} + +message DeleteVReplicationWorkflowRequest { + string workflow = 1; +} + +message DeleteVReplicationWorkflowResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ReadVReplicationWorkflowRequest { + string workflow = 1; +} + +message ReadVReplicationWorkflowResponse { + string workflow = 2; + string cells = 3; + repeated vitess.topodata.v19.TabletType tablet_types = 4; + TabletSelectionPreference tablet_selection_preference = 5; + string db_name = 6; + string tags = 7; + vitess.binlogdata.v19.VReplicationWorkflowType workflow_type = 8; + vitess.binlogdata.v19.VReplicationWorkflowSubType workflow_sub_type = 9; + bool defer_secondary_keys = 10; + message Stream { + int32 id = 1; + vitess.binlogdata.v19.BinlogSource bls = 2; + string pos = 3; + string stop_pos = 4; + int64 max_tps = 5; + int64 max_replication_lag = 6; + vitess.vttime.v19.Time time_updated = 7; + vitess.vttime.v19.Time transaction_timestamp = 8; + vitess.binlogdata.v19.VReplicationWorkflowState state = 9; + string message = 10; + int64 rows_copied = 11; + vitess.vttime.v19.Time time_heartbeat = 12; + vitess.vttime.v19.Time time_throttled = 13; + string component_throttled = 14; + } + repeated Stream streams = 11; +} + +message VDiffRequest { + string keyspace = 1; + string workflow = 2; + string action = 3; + string action_arg = 4; + string vdiff_uuid = 5; + VDiffOptions options = 6; +} + +message VDiffResponse { + int64 id = 1; + vitess.query.v19.QueryResult output = 2; + string vdiff_uuid = 3; +} + +// options that influence the tablet selected by the picker for streaming data from +message VDiffPickerOptions { + string tablet_types = 1; + string source_cell = 2; + string target_cell = 3; +} + +// options that only influence how vdiff differences are reported +message VDiffReportOptions { + bool only_pks = 1; + bool debug_query = 2; + string format = 3; + int64 max_sample_rows = 4; +} + +message VDiffCoreOptions { + string tables = 1; + bool auto_retry = 2; + int64 max_rows = 3; + bool checksum = 4; + int64 sample_pct = 5; + int64 timeout_seconds = 6; + int64 max_extra_rows_to_compare = 7; + bool update_table_stats = 8; + int64 max_diff_seconds = 9; +} + +message VDiffOptions { + VDiffPickerOptions picker_options = 1; + VDiffCoreOptions core_options = 2; + VDiffReportOptions report_options = 3; +} + +// UpdateVReplicationWorkflowRequest is used to update an existing VReplication +// workflow. Note that the following fields MUST have an explicit value provided +// if you do NOT wish to update the existing value to the given type's ZeroValue: +// cells, tablet_types, on_ddl, and state. +// TODO: leverage the optional modifier for these fields rather than using SimulatedNull +// values: https://github.com/vitessio/vitess/issues/15627 +message UpdateVReplicationWorkflowRequest { + string workflow = 1; + repeated string cells = 2; + repeated vitess.topodata.v19.TabletType tablet_types = 3; + TabletSelectionPreference tablet_selection_preference = 4; + vitess.binlogdata.v19.OnDDLAction on_ddl = 5; + vitess.binlogdata.v19.VReplicationWorkflowState state = 6; + reserved 7; // unused, was: repeated string shards +} + +message UpdateVReplicationWorkflowResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ResetSequencesRequest { + repeated string tables = 1; +} + +message ResetSequencesResponse { +} + +message CheckThrottlerRequest { + string app_name = 1; +} + +message CheckThrottlerResponse { + // StatusCode is HTTP compliant response code (e.g. 200 for OK) + int32 status_code = 1; + // Value is the metric value collected by the tablet + double value = 2; + // Threshold is the throttling threshold the table was comparing the value with + double threshold = 3; + // Error indicates an error retrieving the value + string error = 4; + // Message + string message = 5; + // RecentlyChecked indicates that the tablet has been hit with a user-facing check, which can then imply + // that heartbeats lease should be renwed. + bool recently_checked = 6; +} diff --git a/src/vitess/tabletmanagerservice/dev/tabletmanagerservice.proto b/src/vitess/tabletmanagerservice/dev/tabletmanagerservice.proto index 6aa5649..ee92ed8 100644 --- a/src/vitess/tabletmanagerservice/dev/tabletmanagerservice.proto +++ b/src/vitess/tabletmanagerservice/dev/tabletmanagerservice.proto @@ -45,6 +45,10 @@ service TabletManager { // GetPermissions asks the tablet for its permissions rpc GetPermissions(vitess.tabletmanagerdata.dev.GetPermissionsRequest) returns (vitess.tabletmanagerdata.dev.GetPermissionsResponse) {}; + // GetGlobalStatusVars returns the server's global status variables asked for. + // An empty/nil variable name parameter slice means you want all of them. + rpc GetGlobalStatusVars(vitess.tabletmanagerdata.dev.GetGlobalStatusVarsRequest) returns (vitess.tabletmanagerdata.dev.GetGlobalStatusVarsResponse) {}; + // // Various read-write methods // @@ -53,6 +57,9 @@ service TabletManager { rpc SetReadWrite(vitess.tabletmanagerdata.dev.SetReadWriteRequest) returns (vitess.tabletmanagerdata.dev.SetReadWriteResponse) {}; + // ChangeTags asks the remote tablet to change its tags + rpc ChangeTags(vitess.tabletmanagerdata.dev.ChangeTagsRequest) returns (vitess.tabletmanagerdata.dev.ChangeTagsResponse) {}; + // ChangeType asks the remote tablet to change its type rpc ChangeType(vitess.tabletmanagerdata.dev.ChangeTypeRequest) returns (vitess.tabletmanagerdata.dev.ChangeTypeResponse) {}; @@ -76,10 +83,26 @@ service TabletManager { rpc ExecuteFetchAsDba(vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaRequest) returns (vitess.tabletmanagerdata.dev.ExecuteFetchAsDbaResponse) {}; + rpc ExecuteMultiFetchAsDba(vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaRequest) returns (vitess.tabletmanagerdata.dev.ExecuteMultiFetchAsDbaResponse) {}; + rpc ExecuteFetchAsAllPrivs(vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsRequest) returns (vitess.tabletmanagerdata.dev.ExecuteFetchAsAllPrivsResponse) {}; rpc ExecuteFetchAsApp(vitess.tabletmanagerdata.dev.ExecuteFetchAsAppRequest) returns (vitess.tabletmanagerdata.dev.ExecuteFetchAsAppResponse) {}; + // + // Distributed Transaction related methods + // + + rpc GetUnresolvedTransactions(vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsRequest) returns (vitess.tabletmanagerdata.dev.GetUnresolvedTransactionsResponse) {}; + + rpc ReadTransaction(vitess.tabletmanagerdata.dev.ReadTransactionRequest) returns (vitess.tabletmanagerdata.dev.ReadTransactionResponse) {}; + + rpc GetTransactionInfo(vitess.tabletmanagerdata.dev.GetTransactionInfoRequest) returns (vitess.tabletmanagerdata.dev.GetTransactionInfoResponse) {}; + + rpc ConcludeTransaction(vitess.tabletmanagerdata.dev.ConcludeTransactionRequest) returns (vitess.tabletmanagerdata.dev.ConcludeTransactionResponse) {}; + + rpc MysqlHostMetrics(vitess.tabletmanagerdata.dev.MysqlHostMetricsRequest) returns (vitess.tabletmanagerdata.dev.MysqlHostMetricsResponse) {}; + // // Replication related methods // @@ -115,11 +138,16 @@ service TabletManager { // VReplication API rpc CreateVReplicationWorkflow(vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowRequest) returns (vitess.tabletmanagerdata.dev.CreateVReplicationWorkflowResponse) {}; + rpc DeleteTableData(vitess.tabletmanagerdata.dev.DeleteTableDataRequest) returns(vitess.tabletmanagerdata.dev.DeleteTableDataResponse) {} rpc DeleteVReplicationWorkflow(vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowRequest) returns(vitess.tabletmanagerdata.dev.DeleteVReplicationWorkflowResponse) {}; + rpc HasVReplicationWorkflows(vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsRequest) returns(vitess.tabletmanagerdata.dev.HasVReplicationWorkflowsResponse) {}; rpc ReadVReplicationWorkflow(vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowRequest) returns(vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowResponse) {}; + rpc ReadVReplicationWorkflows(vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsRequest) returns(vitess.tabletmanagerdata.dev.ReadVReplicationWorkflowsResponse) {}; + rpc UpdateVReplicationWorkflow(vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest) returns(vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse) {}; + rpc UpdateVReplicationWorkflows(vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsRequest) returns(vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowsResponse) {}; + rpc ValidateVReplicationPermissions(vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsRequest) returns(vitess.tabletmanagerdata.dev.ValidateVReplicationPermissionsResponse) {}; rpc VReplicationExec(vitess.tabletmanagerdata.dev.VReplicationExecRequest) returns(vitess.tabletmanagerdata.dev.VReplicationExecResponse) {}; rpc VReplicationWaitForPos(vitess.tabletmanagerdata.dev.VReplicationWaitForPosRequest) returns(vitess.tabletmanagerdata.dev.VReplicationWaitForPosResponse) {}; - rpc UpdateVReplicationWorkflow(vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowRequest) returns(vitess.tabletmanagerdata.dev.UpdateVReplicationWorkflowResponse) {}; // VDiff API rpc VDiff(vitess.tabletmanagerdata.dev.VDiffRequest) returns(vitess.tabletmanagerdata.dev.VDiffResponse) {}; @@ -138,6 +166,9 @@ service TabletManager { // reparent journal rpc PopulateReparentJournal(vitess.tabletmanagerdata.dev.PopulateReparentJournalRequest) returns (vitess.tabletmanagerdata.dev.PopulateReparentJournalResponse) {}; + // ReadReparentJournalInfo reads the information from reparent journal + rpc ReadReparentJournalInfo(vitess.tabletmanagerdata.dev.ReadReparentJournalInfoRequest) returns (vitess.tabletmanagerdata.dev.ReadReparentJournalInfoResponse) {}; + // InitReplica tells the tablet to reparent to the primary unconditionally rpc InitReplica(vitess.tabletmanagerdata.dev.InitReplicaRequest) returns (vitess.tabletmanagerdata.dev.InitReplicaResponse) {}; @@ -178,6 +209,13 @@ service TabletManager { // RestoreFromBackup deletes all local data and restores it from the latest backup. rpc RestoreFromBackup(vitess.tabletmanagerdata.dev.RestoreFromBackupRequest) returns (stream vitess.tabletmanagerdata.dev.RestoreFromBackupResponse) {}; + // + // Tablet throttler related methods + // + // CheckThrottler issues a 'check' on a tablet's throttler rpc CheckThrottler(vitess.tabletmanagerdata.dev.CheckThrottlerRequest) returns (vitess.tabletmanagerdata.dev.CheckThrottlerResponse) {}; + + // GetThrottlerStatus gets the status of a tablet throttler + rpc GetThrottlerStatus(vitess.tabletmanagerdata.dev.GetThrottlerStatusRequest) returns (vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse) {}; } diff --git a/src/vitess/tabletmanagerservice/v19/tabletmanagerservice.proto b/src/vitess/tabletmanagerservice/v19/tabletmanagerservice.proto new file mode 100644 index 0000000..862f2f7 --- /dev/null +++ b/src/vitess/tabletmanagerservice/v19/tabletmanagerservice.proto @@ -0,0 +1,183 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains the service definition for making management API +// calls to VtTablet. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/tabletmanagerservice/v19;tabletmanagerservicev19"; + +package vitess.tabletmanagerservice.v19; + +import "vitess/tabletmanagerdata/v19/tabletmanagerdata.proto"; + +// TabletManager is a service definition for tabletmanagerdata.TabletManager. +service TabletManager { + // + // Various read-only methods + // + + // Ping returns the input payload + rpc Ping(vitess.tabletmanagerdata.v19.PingRequest) returns (vitess.tabletmanagerdata.v19.PingResponse) {}; + + // Sleep sleeps for the provided duration + rpc Sleep(vitess.tabletmanagerdata.v19.SleepRequest) returns (vitess.tabletmanagerdata.v19.SleepResponse) {}; + + // ExecuteHook executes the hook remotely + rpc ExecuteHook(vitess.tabletmanagerdata.v19.ExecuteHookRequest) returns (vitess.tabletmanagerdata.v19.ExecuteHookResponse) {}; + + // GetSchema asks the tablet for its schema + rpc GetSchema(vitess.tabletmanagerdata.v19.GetSchemaRequest) returns (vitess.tabletmanagerdata.v19.GetSchemaResponse) {}; + + // GetPermissions asks the tablet for its permissions + rpc GetPermissions(vitess.tabletmanagerdata.v19.GetPermissionsRequest) returns (vitess.tabletmanagerdata.v19.GetPermissionsResponse) {}; + + // + // Various read-write methods + // + + rpc SetReadOnly(vitess.tabletmanagerdata.v19.SetReadOnlyRequest) returns (vitess.tabletmanagerdata.v19.SetReadOnlyResponse) {}; + + rpc SetReadWrite(vitess.tabletmanagerdata.v19.SetReadWriteRequest) returns (vitess.tabletmanagerdata.v19.SetReadWriteResponse) {}; + + // ChangeType asks the remote tablet to change its type + rpc ChangeType(vitess.tabletmanagerdata.v19.ChangeTypeRequest) returns (vitess.tabletmanagerdata.v19.ChangeTypeResponse) {}; + + rpc RefreshState(vitess.tabletmanagerdata.v19.RefreshStateRequest) returns (vitess.tabletmanagerdata.v19.RefreshStateResponse) {}; + + rpc RunHealthCheck(vitess.tabletmanagerdata.v19.RunHealthCheckRequest) returns (vitess.tabletmanagerdata.v19.RunHealthCheckResponse) {}; + + rpc ReloadSchema(vitess.tabletmanagerdata.v19.ReloadSchemaRequest) returns (vitess.tabletmanagerdata.v19.ReloadSchemaResponse) {}; + + rpc PreflightSchema(vitess.tabletmanagerdata.v19.PreflightSchemaRequest) returns (vitess.tabletmanagerdata.v19.PreflightSchemaResponse) {}; + + rpc ApplySchema(vitess.tabletmanagerdata.v19.ApplySchemaRequest) returns (vitess.tabletmanagerdata.v19.ApplySchemaResponse) {}; + + rpc ResetSequences(vitess.tabletmanagerdata.v19.ResetSequencesRequest) returns (vitess.tabletmanagerdata.v19.ResetSequencesResponse) {}; + + rpc LockTables(vitess.tabletmanagerdata.v19.LockTablesRequest) returns (vitess.tabletmanagerdata.v19.LockTablesResponse) {}; + + rpc UnlockTables(vitess.tabletmanagerdata.v19.UnlockTablesRequest) returns (vitess.tabletmanagerdata.v19.UnlockTablesResponse) {}; + + rpc ExecuteQuery(vitess.tabletmanagerdata.v19.ExecuteQueryRequest) returns (vitess.tabletmanagerdata.v19.ExecuteQueryResponse) {}; + + rpc ExecuteFetchAsDba(vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaRequest) returns (vitess.tabletmanagerdata.v19.ExecuteFetchAsDbaResponse) {}; + + rpc ExecuteFetchAsAllPrivs(vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsRequest) returns (vitess.tabletmanagerdata.v19.ExecuteFetchAsAllPrivsResponse) {}; + + rpc ExecuteFetchAsApp(vitess.tabletmanagerdata.v19.ExecuteFetchAsAppRequest) returns (vitess.tabletmanagerdata.v19.ExecuteFetchAsAppResponse) {}; + + // + // Replication related methods + // + + // ReplicationStatus returns the current replication status. + rpc ReplicationStatus(vitess.tabletmanagerdata.v19.ReplicationStatusRequest) returns (vitess.tabletmanagerdata.v19.ReplicationStatusResponse) {}; + + // PrimaryStatus returns the current primary status. + rpc PrimaryStatus(vitess.tabletmanagerdata.v19.PrimaryStatusRequest) returns (vitess.tabletmanagerdata.v19.PrimaryStatusResponse) {}; + + // PrimaryPosition returns the current primary position + rpc PrimaryPosition(vitess.tabletmanagerdata.v19.PrimaryPositionRequest) returns (vitess.tabletmanagerdata.v19.PrimaryPositionResponse) {}; + + // WaitForPosition waits for the position to be reached + rpc WaitForPosition(vitess.tabletmanagerdata.v19.WaitForPositionRequest) returns (vitess.tabletmanagerdata.v19.WaitForPositionResponse) {}; + + // StopReplication makes mysql stop its replication + rpc StopReplication(vitess.tabletmanagerdata.v19.StopReplicationRequest) returns (vitess.tabletmanagerdata.v19.StopReplicationResponse) {}; + + // StopReplicationMinimum stops the mysql replication after it reaches + // the provided minimum point + rpc StopReplicationMinimum(vitess.tabletmanagerdata.v19.StopReplicationMinimumRequest) returns (vitess.tabletmanagerdata.v19.StopReplicationMinimumResponse) {}; + + // StartReplication starts the mysql replication + rpc StartReplication(vitess.tabletmanagerdata.v19.StartReplicationRequest) returns (vitess.tabletmanagerdata.v19.StartReplicationResponse) {}; + + // StartReplicationUnitAfter starts the mysql replication until and including + // the provided position + rpc StartReplicationUntilAfter(vitess.tabletmanagerdata.v19.StartReplicationUntilAfterRequest) returns (vitess.tabletmanagerdata.v19.StartReplicationUntilAfterResponse) {}; + + // GetReplicas asks for the list of mysql replicas + rpc GetReplicas(vitess.tabletmanagerdata.v19.GetReplicasRequest) returns (vitess.tabletmanagerdata.v19.GetReplicasResponse) {}; + + // VReplication API + rpc CreateVReplicationWorkflow(vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowRequest) returns (vitess.tabletmanagerdata.v19.CreateVReplicationWorkflowResponse) {}; + rpc DeleteVReplicationWorkflow(vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowRequest) returns(vitess.tabletmanagerdata.v19.DeleteVReplicationWorkflowResponse) {}; + rpc ReadVReplicationWorkflow(vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowRequest) returns(vitess.tabletmanagerdata.v19.ReadVReplicationWorkflowResponse) {}; + rpc VReplicationExec(vitess.tabletmanagerdata.v19.VReplicationExecRequest) returns(vitess.tabletmanagerdata.v19.VReplicationExecResponse) {}; + rpc VReplicationWaitForPos(vitess.tabletmanagerdata.v19.VReplicationWaitForPosRequest) returns(vitess.tabletmanagerdata.v19.VReplicationWaitForPosResponse) {}; + rpc UpdateVReplicationWorkflow(vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest) returns(vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowResponse) {}; + + // VDiff API + rpc VDiff(vitess.tabletmanagerdata.v19.VDiffRequest) returns(vitess.tabletmanagerdata.v19.VDiffResponse) {}; + + // + // Reparenting related functions + // + + // ResetReplication makes the target not replicating + rpc ResetReplication(vitess.tabletmanagerdata.v19.ResetReplicationRequest) returns (vitess.tabletmanagerdata.v19.ResetReplicationResponse) {}; + + // InitPrimary initializes the tablet as a primary + rpc InitPrimary(vitess.tabletmanagerdata.v19.InitPrimaryRequest) returns (vitess.tabletmanagerdata.v19.InitPrimaryResponse) {}; + + // PopulateReparentJournal tells the tablet to add an entry to its + // reparent journal + rpc PopulateReparentJournal(vitess.tabletmanagerdata.v19.PopulateReparentJournalRequest) returns (vitess.tabletmanagerdata.v19.PopulateReparentJournalResponse) {}; + + // InitReplica tells the tablet to reparent to the primary unconditionally + rpc InitReplica(vitess.tabletmanagerdata.v19.InitReplicaRequest) returns (vitess.tabletmanagerdata.v19.InitReplicaResponse) {}; + + // DemotePrimary tells the soon-to-be-former primary it's gonna change + rpc DemotePrimary(vitess.tabletmanagerdata.v19.DemotePrimaryRequest) returns (vitess.tabletmanagerdata.v19.DemotePrimaryResponse) {}; + + // UndoDemotePrimary reverts all changes made by DemotePrimary + rpc UndoDemotePrimary(vitess.tabletmanagerdata.v19.UndoDemotePrimaryRequest) returns (vitess.tabletmanagerdata.v19.UndoDemotePrimaryResponse) {}; + + // ReplicaWasPromoted tells the remote tablet it is now the primary + rpc ReplicaWasPromoted(vitess.tabletmanagerdata.v19.ReplicaWasPromotedRequest) returns (vitess.tabletmanagerdata.v19.ReplicaWasPromotedResponse) {}; + + // ResetReplicationParameters resets the replica replication parameters + rpc ResetReplicationParameters(vitess.tabletmanagerdata.v19.ResetReplicationParametersRequest) returns (vitess.tabletmanagerdata.v19.ResetReplicationParametersResponse) {}; + + // FullStatus collects and returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + rpc FullStatus(vitess.tabletmanagerdata.v19.FullStatusRequest) returns (vitess.tabletmanagerdata.v19.FullStatusResponse) {}; + + // SetReplicationSource tells the replica to reparent + rpc SetReplicationSource(vitess.tabletmanagerdata.v19.SetReplicationSourceRequest) returns (vitess.tabletmanagerdata.v19.SetReplicationSourceResponse) {}; + + // ReplicaWasRestarted tells the remote tablet its primary has changed + rpc ReplicaWasRestarted(vitess.tabletmanagerdata.v19.ReplicaWasRestartedRequest) returns (vitess.tabletmanagerdata.v19.ReplicaWasRestartedResponse) {}; + + // StopReplicationAndGetStatus stops MySQL replication, and returns the + // replication status + rpc StopReplicationAndGetStatus(vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusRequest) returns (vitess.tabletmanagerdata.v19.StopReplicationAndGetStatusResponse) {}; + + // PromoteReplica makes the replica the new primary + rpc PromoteReplica(vitess.tabletmanagerdata.v19.PromoteReplicaRequest) returns (vitess.tabletmanagerdata.v19.PromoteReplicaResponse) {}; + + // + // Backup related methods + // + + rpc Backup(vitess.tabletmanagerdata.v19.BackupRequest) returns (stream vitess.tabletmanagerdata.v19.BackupResponse) {}; + + // RestoreFromBackup deletes all local data and restores it from the latest backup. + rpc RestoreFromBackup(vitess.tabletmanagerdata.v19.RestoreFromBackupRequest) returns (stream vitess.tabletmanagerdata.v19.RestoreFromBackupResponse) {}; + + // CheckThrottler issues a 'check' on a tablet's throttler + rpc CheckThrottler(vitess.tabletmanagerdata.v19.CheckThrottlerRequest) returns (vitess.tabletmanagerdata.v19.CheckThrottlerResponse) {}; +} diff --git a/src/vitess/throttlerdata/v19/throttlerdata.proto b/src/vitess/throttlerdata/v19/throttlerdata.proto new file mode 100644 index 0000000..6ac900a --- /dev/null +++ b/src/vitess/throttlerdata/v19/throttlerdata.proto @@ -0,0 +1,185 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Data structures for the throttler RPC interface. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/throttlerdata/v19;throttlerdatav19"; + +package vitess.throttlerdata.v19; + +// MaxRatesRequest is the payload for the MaxRates RPC. +message MaxRatesRequest { +} + +// MaxRatesResponse is returned by the MaxRates RPC. +message MaxRatesResponse { + // max_rates returns the max rate for each throttler. It's keyed by the + // throttler name. + map rates = 1; +} + +// SetMaxRateRequest is the payload for the SetMaxRate RPC. +message SetMaxRateRequest { + int64 rate = 1; +} + +// SetMaxRateResponse is returned by the SetMaxRate RPC. +message SetMaxRateResponse { + // names is the list of throttler names which were updated. + repeated string names = 1; +} + +// Configuration holds the configuration parameters for the +// MaxReplicationLagModule which adaptively adjusts the throttling rate based on +// the observed replication lag across all replicas. +message Configuration { + // target_replication_lag_sec is the replication lag (in seconds) the + // MaxReplicationLagModule tries to aim for. + // If it is within the target, it tries to increase the throttler + // rate, otherwise it will lower it based on an educated guess of the + // replica's throughput. + int64 target_replication_lag_sec = 1; + + // max_replication_lag_sec is meant as a last resort. + // By default, the module tries to find out the system maximum capacity while + // trying to keep the replication lag around "target_replication_lag_sec". + // Usually, we'll wait min_duration_between_(increases|decreases)_sec to see + // the effect of a throttler rate change on the replication lag. + // But if the lag goes above this field's value we will go into an "emergency" + // state and throttle more aggressively (see "emergency_decrease" below). + // This is the only way to ensure that the system will recover. + int64 max_replication_lag_sec = 2; + + // initial_rate is the rate at which the module will start. + int64 initial_rate = 3; + + // max_increase defines by how much we will increase the rate + // e.g. 0.05 increases the rate by 5% while 1.0 by 100%. + // Note that any increase will let the system wait for at least + // (1 / MaxIncrease) seconds. If we wait for shorter periods of time, we + // won't notice if the rate increase also increases the replication lag. + // (If the system was already at its maximum capacity (e.g. 1k QPS) and we + // increase the rate by e.g. 5% to 1050 QPS, it will take 20 seconds until + // 1000 extra queries are buffered and the lag increases by 1 second.) + double max_increase = 4; + + // emergency_decrease defines by how much we will decrease the current rate + // if the observed replication lag is above "max_replication_lag_sec". + // E.g. 0.50 decreases the current rate by 50%. + double emergency_decrease = 5; + + // min_duration_between_increases_sec specifies how long we'll wait at least + // for the last rate increase to have an effect on the system. + int64 min_duration_between_increases_sec = 6; + + // max_duration_between_increases_sec specifies how long we'll wait at most + // for the last rate increase to have an effect on the system. + int64 max_duration_between_increases_sec = 7; + + // min_duration_between_decreases_sec specifies how long we'll wait at least + // for the last rate decrease to have an effect on the system. + int64 min_duration_between_decreases_sec = 8; + + // spread_backlog_across_sec is used when we set the throttler rate after + // we guessed the rate of a replica and determined its backlog. + // For example, at a guessed rate of 100 QPS and a lag of 10s, the replica has + // a backlog of 1000 queries. + // When we set the new, decreased throttler rate, we factor in how long it + // will take the replica to go through the backlog (in addition to new + // requests). This field specifies over which timespan we plan to spread this. + // For example, for a backlog of 1000 queries spread over 5s means that we + // have to further reduce the rate by 200 QPS or the backlog will not be + // processed within the 5 seconds. + int64 spread_backlog_across_sec = 9; + + // ignore_n_slowest_replicas will ignore replication lag updates from the + // N slowest REPLICA tablets. Under certain circumstances, replicas are still + // considered e.g. a) if the lag is at most max_replication_lag_sec, b) there + // are less than N+1 replicas or c) the lag increased on each replica such + // that all replicas were ignored in a row. + int32 ignore_n_slowest_replicas = 10; + + // ignore_n_slowest_rdonlys does the same thing as ignore_n_slowest_replicas + // but for RDONLY tablets. Note that these two settings are independent. + int32 ignore_n_slowest_rdonlys = 11; + + // age_bad_rate_after_sec is the duration after which an unchanged bad rate + // will "age out" and increase by "bad_rate_increase". + // Bad rates are tracked by the code in memory.go and serve as an upper bound + // for future rate changes. This ensures that the adaptive throttler does not + // try known too high (bad) rates over and over again. + // To avoid that temporary degradations permanently reduce the maximum rate, + // a stable bad rate "ages out" after "age_bad_rate_after_sec". + int64 age_bad_rate_after_sec = 12; + + // bad_rate_increase defines the percentage by which a bad rate will be + // increased when it's aging out. + double bad_rate_increase = 13; + + // max_rate_approach_threshold is the fraction of the current rate limit that the actual + // rate must exceed for the throttler to increase the limit when the replication lag + // is below target_replication_lag_sec. For example, assuming the actual replication lag + // is below target_replication_lag_sec, if the current rate limit is 100, then the actual + // rate must exceed 100*max_rate_approach_threshold for the throttler to increase the current + // limit. + double max_rate_approach_threshold = 14; +} + +// GetConfigurationRequest is the payload for the GetConfiguration RPC. +message GetConfigurationRequest { + // throttler_name specifies which throttler to select. If empty, all active + // throttlers will be selected. + string throttler_name = 1; +} + +// GetConfigurationResponse is returned by the GetConfiguration RPC. +message GetConfigurationResponse { + // max_rates returns the configurations for each throttler. + // It's keyed by the throttler name. + map configurations = 1; +} + +// UpdateConfigurationRequest is the payload for the UpdateConfiguration RPC. +message UpdateConfigurationRequest { + // throttler_name specifies which throttler to update. If empty, all active + // throttlers will be updated. + string throttler_name = 1; + // configuration is the new (partial) configuration. + Configuration configuration = 2; + // copy_zero_values specifies whether fields with zero values should be copied + // as well. + bool copy_zero_values = 3; +} + +// UpdateConfigurationResponse is returned by the UpdateConfiguration RPC. +message UpdateConfigurationResponse { + // names is the list of throttler names which were updated. + repeated string names = 1; +} + +// ResetConfigurationRequest is the payload for the ResetConfiguration RPC. +message ResetConfigurationRequest { + // throttler_name specifies which throttler to reset. If empty, all active + // throttlers will be reset. + string throttler_name = 1; +} + +// ResetConfigurationResponse is returned by the ResetConfiguration RPC. +message ResetConfigurationResponse { + // names is the list of throttler names which were updated. + repeated string names = 1; +} diff --git a/src/vitess/throttlerservice/v19/throttlerservice.proto b/src/vitess/throttlerservice/v19/throttlerservice.proto new file mode 100644 index 0000000..801624f --- /dev/null +++ b/src/vitess/throttlerservice/v19/throttlerservice.proto @@ -0,0 +1,51 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// gRPC RPC interface for the internal resharding throttler (go/vt/throttler) +// which is used by vreplication. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/throttlerservice/v19;throttlerservicev19"; + +package vitess.throttlerservice.v19; + +import "vitess/throttlerdata/v19/throttlerdata.proto"; + +// Throttler defines the throttler RPC calls. +service Throttler { + // MaxRates returns the current max rate for each throttler of the process. + rpc MaxRates (vitess.throttlerdata.v19.MaxRatesRequest) returns (vitess.throttlerdata.v19.MaxRatesResponse) {}; + + // SetMaxRate allows to change the current max rate for all throttlers + // of the process. + rpc SetMaxRate (vitess.throttlerdata.v19.SetMaxRateRequest) returns (vitess.throttlerdata.v19.SetMaxRateResponse) {}; + + // GetConfiguration returns the configuration of the MaxReplicationlag module + // for the given throttler or all throttlers if "throttler_name" is empty. + rpc GetConfiguration (vitess.throttlerdata.v19.GetConfigurationRequest) returns (vitess.throttlerdata.v19.GetConfigurationResponse) {}; + + // UpdateConfiguration (partially) updates the configuration of the + // MaxReplicationlag module for the given throttler or all throttlers if + // "throttler_name" is empty. + // If "copy_zero_values" is true, fields with zero values will be copied + // as well. + rpc UpdateConfiguration (vitess.throttlerdata.v19.UpdateConfigurationRequest) returns (vitess.throttlerdata.v19.UpdateConfigurationResponse) {}; + + // ResetConfiguration resets the configuration of the MaxReplicationlag module + // to the initial configuration for the given throttler or all throttlers if + // "throttler_name" is empty. + rpc ResetConfiguration (vitess.throttlerdata.v19.ResetConfigurationRequest) returns (vitess.throttlerdata.v19.ResetConfigurationResponse) {}; +} diff --git a/src/vitess/topodata/dev/topodata.proto b/src/vitess/topodata/dev/topodata.proto index 99e3974..536752c 100644 --- a/src/vitess/topodata/dev/topodata.proto +++ b/src/vitess/topodata/dev/topodata.proto @@ -267,22 +267,8 @@ message Keyspace { // OBSOLETE int32 split_shard_count = 3; reserved 3; - // ServedFrom indicates a relationship between a TabletType and the - // keyspace name that's serving it. - message ServedFrom { - // the tablet type (key for the map) - TabletType tablet_type = 1; - - // the cells to limit this to - repeated string cells = 2; - - // the keyspace name that's serving it - string keyspace = 3; - } - - // ServedFrom will redirect the appropriate traffic to - // another keyspace. - repeated ServedFrom served_froms = 4; + // OBSOLETE ServedFrom served_froms = 4; + reserved 4; // keyspace_type will determine how this keyspace is treated by // vtgate / vschema. Normal keyspaces are routable by @@ -399,6 +385,15 @@ message ThrottlerConfig { // ThrottledApps is a map of rules for app-specific throttling map throttled_apps = 5; + + message MetricNames { + repeated string names = 1; + } + // AppCheckedMetrics maps app names to the list of metrics that should be checked for that app + map app_checked_metrics = 6; + + // MetricThresholds maps metric names to the threshold values that should be used for that metric + map metric_thresholds = 7; } // SrvKeyspace is a rollup node for the keyspace itself. @@ -417,16 +412,6 @@ message SrvKeyspace { // The partitions this keyspace is serving, per tablet type. repeated KeyspacePartition partitions = 1; - // ServedFrom indicates a relationship between a TabletType and the - // keyspace name that's serving it. - message ServedFrom { - // the tablet type - TabletType tablet_type = 1; - - // the keyspace name that's serving it - string keyspace = 2; - } - // copied from Keyspace // OBSOLETE string sharding_column_name = 2; reserved 2; @@ -434,7 +419,8 @@ message SrvKeyspace { // OBSOLETE KeyspaceIdType sharding_column_type = 3; reserved 3; - repeated ServedFrom served_from = 4; + // OBSOLETE repeated ServedFrom served_from = 4; + reserved 4; // OBSOLETE int32 split_shard_count = 5; reserved 5; diff --git a/src/vitess/topodata/v19/topodata.proto b/src/vitess/topodata/v19/topodata.proto new file mode 100644 index 0000000..aa947a8 --- /dev/null +++ b/src/vitess/topodata/v19/topodata.proto @@ -0,0 +1,463 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains the Vitess topology related data structures. +// Very few of these structures are exchanged over the wire (only +// TabletType and KeyRange), but they are all used by the topology +// service. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/topodata/v19;topodatav19"; + +// option java_package="io.vitess.proto"; + +package vitess.topodata.v19; + +import "vitess/vttime/v19/vttime.proto"; + +// KeyRange describes a range of sharding keys, when range-based +// sharding is used. +message KeyRange { + bytes start = 1; + bytes end = 2; +} + +// KeyspaceType describes the type of the keyspace +enum KeyspaceType { + // NORMAL is the default value + NORMAL = 0; + + // SNAPSHOT is when we are creating a snapshot keyspace + SNAPSHOT = 1; +} + +// TabletAlias is a globally unique tablet identifier. +message TabletAlias { + // cell is the cell (or datacenter) the tablet is in + string cell = 1; + + // uid is a unique id for this tablet within the shard + // (this is the MySQL server id as well). + uint32 uid = 2; +} + +// TabletType represents the type of a given tablet. +enum TabletType { + option allow_alias = true; // so we can have RDONLY and BATCH co-exist + + // UNKNOWN is not a valid value. + UNKNOWN = 0; + + // PRIMARY is the primary server for the shard. Only PRIMARY allows DMLs. + PRIMARY = 1; + + // DEPRECATED + MASTER = 1; + + // REPLICA replicates from primary. It is used to serve live traffic. + // A REPLICA can be promoted to PRIMARY. A demoted PRIMARY will go to REPLICA. + REPLICA = 2; + + // RDONLY (old name) / BATCH (new name) is used to serve traffic for + // long-running jobs. It is a separate type from REPLICA so + // long-running queries don't affect web-like traffic. + RDONLY = 3; + BATCH = 3; + + // SPARE is a type of servers that cannot serve queries, but is available + // in case an extra server is needed. + SPARE = 4; + + // EXPERIMENTAL is like SPARE, except it can serve queries. This + // type can be used for usages not planned by Vitess, like online + // export to another storage engine. + EXPERIMENTAL = 5; + + // BACKUP is the type a server goes to when taking a backup. No queries + // can be served in BACKUP mode. + BACKUP = 6; + + // RESTORE is the type a server uses when restoring a backup, at + // startup time. No queries can be served in RESTORE mode. + RESTORE = 7; + + // DRAINED is the type a server goes into when used by Vitess tools + // to perform an offline action. It is a serving type (as + // the tools processes may need to run queries), but it's not used + // to route queries from Vitess users. In this state, + // this tablet is dedicated to the process that uses it. + DRAINED = 8; +} + +// Tablet represents information about a running instance of vttablet. +message Tablet { + // alias is the unique name of the tablet. + TabletAlias alias = 1; + + // Fully qualified domain name of the host. + string hostname = 2; + + // Map of named ports. Normally this should include vt and grpc. + // Going forward, the mysql port will be stored in mysql_port + // instead of here. + // For accessing mysql port, use topoproto.MysqlPort to fetch, and + // topoproto.SetMysqlPort to set. These wrappers will ensure + // legacy behavior is supported. + map port_map = 4; + + // Keyspace name. + string keyspace = 5; + + // Shard name. If range based sharding is used, it should match + // key_range. + string shard = 6; + + // If range based sharding is used, range for the tablet's shard. + KeyRange key_range = 7; + + // type is the current type of the tablet. + TabletType type = 8; + + // It this is set, it is used as the database name instead of the + // normal "vt_" + keyspace. + string db_name_override = 9; + + // tablet tags + map tags = 10; + + // MySQL hostname. + string mysql_hostname = 12; + + // MySQL port. Use topoproto.MysqlPort and topoproto.SetMysqlPort + // to access this variable. The functions provide support + // for legacy behavior. + int32 mysql_port = 13; + + // primary_term_start_time is the time (in UTC) at which the current term of + // the current tablet began as primary. If this tablet is not currently the + // primary, this value is ignored. + // + // A new primary term begins any time an authoritative decision is communicated + // about which tablet should be the primary, such as via Vitess + // replication-management commands like PlannedReparentShard, + // EmergencyReparentShard, and TabletExternallyReparented. + // + vitess.vttime.v19.Time primary_term_start_time = 14; + + // default_conn_collation is the default connection collation used by this tablet. + uint32 default_conn_collation = 16; + + // OBSOLETE: ip and tablet health information + // string ip = 3; + // map health_map = 11; + // string db_server_version = 15; + reserved 3, 11, 15; +} + +// A Shard contains data about a subset of the data whithin a keyspace. +message Shard { + // primary_alias is the tablet alias of the primary for the shard. + // If it is unset, then there is no primary in this shard yet. + // No lock is necessary to update this field, when for instance + // TabletExternallyReparented updates this. However, we lock the + // shard for reparenting operations (InitShardPrimary, + // PlannedReparentShard,EmergencyReparentShard), to guarantee + // exclusive operation. + TabletAlias primary_alias = 1; + + // primary_term_start_time is the time (in UTC) at which the current term of + // the primary specified in primary_alias began. + // + // A new primary term begins any time an authoritative decision is communicated + // about which tablet should be the primary, such as via Vitess + // replication-management commands like PlannedReparentShard, + // EmergencyReparentShard, and TabletExternallyReparented. + // + // The primary_alias should only ever be changed if the new primary's term began + // at a later time than this. Note that a new term can start for the tablet + // that is already the primary. In that case, the primary_term_start_time would + // be increased without changing the primary_alias. + vitess.vttime.v19.Time primary_term_start_time = 8; + + // key_range is the KeyRange for this shard. It can be unset if: + // - we are not using range-based sharding in this shard. + // - the shard covers the entire keyrange. + // This must match the shard name based on our other conventions, but + // helpful to have it decomposed here. + // Once set at creation time, it is never changed. + KeyRange key_range = 2; + + // Deprecated: served_types = 3 + reserved 3; + + // SourceShard represents a data source for filtered replication + // across shards. When this is used in a destination shard, the primary + // of that shard will run filtered replication. + message SourceShard { + // Uid is the unique ID for this SourceShard object. + int32 uid = 1; + + // the source keyspace + string keyspace = 2; + + // the source shard + string shard = 3; + + // the source shard keyrange + KeyRange key_range = 4; + + // the source table list to replicate + repeated string tables = 5; + } + + // SourceShards is the list of shards we're replicating from, + // using filtered replication. + // The keyspace lock is always taken when changing this. + repeated SourceShard source_shards = 4; + + // TabletControl controls tablet's behavior + message TabletControl { + // which tablet type is affected + TabletType tablet_type = 1; + repeated string cells = 2; + + // OBSOLETE: disable_query_service 3 + reserved 3; + + repeated string denied_tables = 4; + + // frozen is set if we've started failing over traffic for + // the primary. If set, this record should not be removed. + bool frozen = 5; + } + + // tablet_controls has at most one entry per TabletType. + // The keyspace lock is always taken when changing this. + repeated TabletControl tablet_controls = 6; + + // is_primary_serving sets whether this shard primary is serving traffic or not. + // The keyspace lock is always taken when changing this. + bool is_primary_serving = 7; + + // OBSOLETE cells (5) + reserved 5; +} + +// A Keyspace contains data about a keyspace. +message Keyspace { + // OBSOLETE string sharding_column_name = 1; + reserved 1; + + // OBSOLETE KeyspaceIdType sharding_column_type = 2; + reserved 2; + + // OBSOLETE int32 split_shard_count = 3; + reserved 3; + + // OBSOLETE ServedFrom served_froms = 4; + reserved 4; + + // keyspace_type will determine how this keyspace is treated by + // vtgate / vschema. Normal keyspaces are routable by + // any query. Snapshot keyspaces are only accessible + // by explicit addresssing or by calling "use keyspace" first + KeyspaceType keyspace_type = 5; + + // base_keyspace is the base keyspace from which a snapshot + // keyspace is created. empty for normal keyspaces + string base_keyspace = 6; + + // snapshot_time (in UTC) is a property of snapshot + // keyspaces which tells us what point in time + // the snapshot is of + vitess.vttime.v19.Time snapshot_time = 7; + + // DurabilityPolicy is the durability policy to be + // used for the keyspace. + string durability_policy = 8; + + // ThrottlerConfig has the configuration for the tablet + // server's lag throttler, and applies to the entire + // keyspace, across all shards and tablets. + ThrottlerConfig throttler_config = 9; + + // SidecarDBName is the name of the Vitess sidecar database + // used for various system metadata that is stored in each + // tablet's mysqld instance. + string sidecar_db_name = 10; +} + +// ShardReplication describes the MySQL replication relationships +// whithin a cell. +message ShardReplication { + + // Node describes a tablet instance within the cell + message Node { + TabletAlias tablet_alias = 1; + } + + // Note there can be only one Node in this array + // for a given tablet. + repeated Node nodes = 1; +} + +// ShardReplicationError describes the error being fixed by +// ShardReplicationFix. +message ShardReplicationError { + enum Type { + // UNKNOWN is not a valid value. + UNKNOWN = 0; + // NOT_FOUND occurs when a tablet is in the ShardReplication record + // but does not exist in the topology. + NOT_FOUND = 1; + // TOPOLOGY_MISMATCH occurs when a tablet is in the replication graph and + // exists in the topology, but at least one of the Keyspace, Shard, or Cell + // fields for that tablet does not match the ShardReplication record. + TOPOLOGY_MISMATCH = 2; + } + + // Type is the category of problem being fixed. + Type type = 1; + // TabletAlias is the tablet record that has the problem. + vitess.topodata.v19.TabletAlias tablet_alias = 2; +} + +// ShardReference is used as a pointer from a SrvKeyspace to a Shard +message ShardReference { + // Copied from Shard. + string name = 1; + KeyRange key_range = 2; + // Disable query serving in this shard +} + +// ShardTabletControl is used as a pointer from a SrvKeyspace to a Shard +message ShardTabletControl { + // Copied from Shard. + string name = 1; + KeyRange key_range = 2; + // Disable query serving in this shard + bool query_service_disabled = 3; +} + +// ThrottledAppRule defines an app-specific throttling rule, with expiration. +message ThrottledAppRule { + // Name of the app to be throttled, e.g. "vreplication" or "online-ddl" + string name = 1; + // Ratio defines how much the app should be throttled, range [0.0...1.0]. 1.0 means fully throttled. 0.0 means not throttled at all. + // Negative values are reserved for a future implementation. + double ratio = 2; + // ExpiresAt is the time at which the rule expires. + vitess.vttime.v19.Time expires_at = 3; + // Exempt indicates the app should never be throttled, even if the throttler is, in general, throttling other apps. + bool exempt = 4; +} + +message ThrottlerConfig { + // Enabled indicates that the throttler is actually checking state for + // requests. When disabled, it automatically returns 200 OK for all + // checks. + bool enabled = 1; + + // Threshold is the threshold for either the default check (heartbeat + // lag) or custom check. + double threshold = 2; + + // CustomQuery is an optional query that overrides the default check + // query. + string custom_query = 3; + + // CheckAsCheckSelf indicates whether a throttler /check request + // should behave like a /check-self. + bool check_as_check_self = 4; + + // ThrottledApps is a map of rules for app-specific throttling + map throttled_apps = 5; +} + +// SrvKeyspace is a rollup node for the keyspace itself. +message SrvKeyspace { + message KeyspacePartition { + // The type this partition applies to. + TabletType served_type = 1; + + // List of non-overlapping continuous shards sorted by range. + repeated ShardReference shard_references = 2; + + // List of shard tablet controls + repeated ShardTabletControl shard_tablet_controls = 3; + } + + // The partitions this keyspace is serving, per tablet type. + repeated KeyspacePartition partitions = 1; + + // copied from Keyspace + // OBSOLETE string sharding_column_name = 2; + reserved 2; + + // OBSOLETE KeyspaceIdType sharding_column_type = 3; + reserved 3; + + // OBSOLETE repeated ServedFrom served_from = 4; + reserved 4; + + // OBSOLETE int32 split_shard_count = 5; + reserved 5; + + // ThrottlerConfig has the configuration for the tablet server's + // lag throttler, and applies to the entire keyspace, across all + // shards and tablets. This is copied from the global keyspace + // object. + ThrottlerConfig throttler_config = 6; +} + +// CellInfo contains information about a cell. CellInfo objects are +// stored in the global topology server, and describe how to reach +// local topology servers. +message CellInfo { + // ServerAddress contains the address of the server for the cell. + // The syntax of this field is topology implementation specific. + // For instance, for Zookeeper, it is a comma-separated list of + // server addresses. + string server_address = 1; + + // Root is the path to store data in. It is only used when talking + // to server_address. + string root = 2; + + // OBSOLETE: region 3 + reserved 3; +} + +// CellsAlias +message CellsAlias { + // Cells that map to this alias + repeated string cells = 2; +} + +message TopoConfig { + string topo_type = 1; + string server = 2; + string root = 3; +} + +message ExternalVitessCluster { + TopoConfig topo_config = 1; +} + +// ExternalClusters +message ExternalClusters { + repeated ExternalVitessCluster vitess_cluster = 1; +} diff --git a/src/vitess/vschema/dev/vschema.proto b/src/vitess/vschema/dev/vschema.proto index aab08cb..0af78bb 100644 --- a/src/vitess/vschema/dev/vschema.proto +++ b/src/vitess/vschema/dev/vschema.proto @@ -54,6 +54,16 @@ message Keyspace { unmanaged = 2; managed = 3; } + + // multi_tenant_mode specifies that the keyspace is multi-tenant. Currently used during migrations with MoveTables. + MultiTenantSpec multi_tenant_spec = 6; +} + +message MultiTenantSpec { + // tenant_column is the name of the column that specifies the tenant id. + string tenant_id_column_name = 1; + // tenant_column_type is the type of the column that specifies the tenant id. + vitess.query.dev.Type tenant_id_column_type = 2; } // Vindex is the vindex info for a Keyspace. @@ -142,6 +152,8 @@ message SrvVSchema { map keyspaces = 1; RoutingRules routing_rules = 2; // table routing rules ShardRoutingRules shard_routing_rules = 3; + KeyspaceRoutingRules keyspace_routing_rules = 4; + MirrorRules mirror_rules = 5; // mirror rules } // ShardRoutingRules specify the shard routing rules for the VSchema. @@ -149,9 +161,33 @@ message ShardRoutingRules { repeated ShardRoutingRule rules = 1; } -// RoutingRule specifies a routing rule. +// ShardRoutingRule specifies a routing rule. message ShardRoutingRule { string from_keyspace = 1; string to_keyspace = 2; string shard = 3; } + +message KeyspaceRoutingRules { + repeated KeyspaceRoutingRule rules = 1; +} + +message KeyspaceRoutingRule { + string from_keyspace = 1; + string to_keyspace = 2; +} + +// MirrorRules specify the high level mirror rules for the VSchema. +message MirrorRules { + // rules should ideally be a map. However protos dont't allow + // repeated fields as elements of a map. So, we use a list + // instead. + repeated MirrorRule rules = 1; +} + +// MirrorRule specifies a mirror rule. +message MirrorRule { + string from_table = 1; + string to_table = 2; + float percent = 3; +} diff --git a/src/vitess/vschema/v19/vschema.proto b/src/vitess/vschema/v19/vschema.proto new file mode 100644 index 0000000..483d9bd --- /dev/null +++ b/src/vitess/vschema/v19/vschema.proto @@ -0,0 +1,157 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains the types needed to define a vschema. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vschema/v19;vschemav19"; + +package vitess.vschema.v19; + +import "vitess/query/v19/query.proto"; + +// RoutingRules specify the high level routing rules for the VSchema. +message RoutingRules { + // rules should ideally be a map. However protos dont't allow + // repeated fields as elements of a map. So, we use a list + // instead. + repeated RoutingRule rules = 1; +} + +// RoutingRule specifies a routing rule. +message RoutingRule { + string from_table = 1; + repeated string to_tables = 2; +} + +// Keyspace is the vschema for a keyspace. +message Keyspace { + // If sharded is false, vindexes and tables are ignored. + bool sharded = 1; + map vindexes = 2; + map tables = 3; + // If require_explicit_routing is true, vindexes and tables are not added to global routing + bool require_explicit_routing = 4; + // foreign_key_mode dictates how Vitess should handle foreign keys for this keyspace. + ForeignKeyMode foreign_key_mode = 5; + + enum ForeignKeyMode { + unspecified = 0; + disallow = 1; + unmanaged = 2; + managed = 3; + } +} + +// Vindex is the vindex info for a Keyspace. +message Vindex { + // The type must match one of the predefined + // (or plugged in) vindex names. + string type = 1; + // params is a map of attribute value pairs + // that must be defined as required by the + // vindex constructors. The values can only + // be strings. + map params = 2; + // A lookup vindex can have an owner table defined. + // If so, rows in the lookup table are created or + // deleted in sync with corresponding rows in the + // owner table. + string owner = 3; +} + +// Table is the table info for a Keyspace. +message Table { + // If the table is a sequence, type must be + // "sequence". + // + // If the table is a reference, type must be + // "reference". + // See https://vitess.io/docs/reference/features/vschema/#reference-tables. + // + // Otherwise, it should be empty. + string type = 1; + // column_vindexes associates columns to vindexes. + repeated ColumnVindex column_vindexes = 2; + // auto_increment is specified if a column needs + // to be associated with a sequence. + AutoIncrement auto_increment = 3; + // columns lists the columns for the table. + repeated Column columns = 4; + // pinned pins an unsharded table to a specific + // shard, as dictated by the keyspace id. + // The keyspace id is represented in hex form + // like in keyranges. + string pinned = 5; + // column_list_authoritative is set to true if columns is + // an authoritative list for the table. This allows + // us to expand 'select *' expressions. + bool column_list_authoritative = 6; + + // reference tables may optionally indicate their source table. + string source = 7; +} + +// ColumnVindex is used to associate a column to a vindex. +message ColumnVindex { + // Legacy implementation, moving forward all vindexes should define a list of columns. + string column = 1; + // The name must match a vindex defined in Keyspace. + string name = 2; + // List of columns that define this Vindex + repeated string columns = 3; +} + +// Autoincrement is used to designate a column as auto-inc. +message AutoIncrement { + string column = 1; + // The sequence must match a table of type SEQUENCE. + string sequence = 2; +} + +// Column describes a column. +message Column { + string name = 1; + vitess.query.v19.Type type = 2; + bool invisible = 3; + string default = 4; + string collation_name = 5; + int32 size = 6; + int32 scale = 7; + optional bool nullable = 8; + // values contains the list of values for an enum or set column. + repeated string values = 9; +} + +// SrvVSchema is the roll-up of all the Keyspace schema for a cell. +message SrvVSchema { + // keyspaces is a map of keyspace name -> Keyspace object. + map keyspaces = 1; + RoutingRules routing_rules = 2; // table routing rules + ShardRoutingRules shard_routing_rules = 3; +} + +// ShardRoutingRules specify the shard routing rules for the VSchema. +message ShardRoutingRules { + repeated ShardRoutingRule rules = 1; +} + +// RoutingRule specifies a routing rule. +message ShardRoutingRule { + string from_keyspace = 1; + string to_keyspace = 2; + string shard = 3; +} diff --git a/src/vitess/vtadmin/dev/vtadmin.proto b/src/vitess/vtadmin/dev/vtadmin.proto index 2d350d4..38c004e 100644 --- a/src/vitess/vtadmin/dev/vtadmin.proto +++ b/src/vitess/vtadmin/dev/vtadmin.proto @@ -33,6 +33,19 @@ import "vitess/vtctldata/dev/vtctldata.proto"; // VTAdmin is the Vitess Admin API service. It provides RPCs that operate on // across a range of Vitess clusters. service VTAdmin { + // ApplySchema applies a schema to a keyspace in the given cluster. + rpc ApplySchema(ApplySchemaRequest) returns (vitess.vtctldata.dev.ApplySchemaResponse) {}; + // CancelSchemaMigration cancels one or all schema migrations in the given + // cluster, terminating any running ones as needed. + rpc CancelSchemaMigration(CancelSchemaMigrationRequest) returns (vitess.vtctldata.dev.CancelSchemaMigrationResponse) {}; + // CleanupSchemaMigration marks a schema migration in the given cluster as + // ready for artifact cleanup. + rpc CleanupSchemaMigration(CleanupSchemaMigrationRequest) returns (vitess.vtctldata.dev.CleanupSchemaMigrationResponse) {}; + // CompleteSchemaMigration completes one or all migrations in the given + // cluster executed with --postpone-completion. + rpc CompleteSchemaMigration(CompleteSchemaMigrationRequest) returns (vitess.vtctldata.dev.CompleteSchemaMigrationResponse) {}; + // ConcludeTransaction concludes a distributed transaction identified by the provided dtid. + rpc ConcludeTransaction(ConcludeTransactionRequest) returns (vitess.vtctldata.dev.ConcludeTransactionResponse) {}; // CreateKeyspace creates a new keyspace in the given cluster. rpc CreateKeyspace(CreateKeyspaceRequest) returns (CreateKeyspaceResponse) {}; // CreateShard creates a new shard in the given cluster and keyspace. @@ -77,6 +90,13 @@ service VTAdmin { rpc GetSchema(GetSchemaRequest) returns (Schema) {}; // GetSchemas returns all schemas across the specified clusters. rpc GetSchemas(GetSchemasRequest) returns (GetSchemasResponse) {}; + // GetSchemaMigrations returns one or more online schema migrations for the + // set of keyspaces (or all keyspaces) in the given clusters, analagous to + // repeated executions of `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different behaviors. + // See the documentation on vtctldata.GetSchemaMigrationsRequest for details. + rpc GetSchemaMigrations(GetSchemaMigrationsRequest) returns (GetSchemaMigrationsResponse) {}; // GetShardReplicationPositions returns shard replication positions grouped // by cluster. rpc GetShardReplicationPositions(GetShardReplicationPositionsRequest) returns (GetShardReplicationPositionsResponse) {}; @@ -96,6 +116,10 @@ service VTAdmin { rpc GetTablets(GetTabletsRequest) returns (GetTabletsResponse) {}; // GetTopologyPath returns the cell located at the specified path in the topology server. rpc GetTopologyPath(GetTopologyPathRequest) returns (vitess.vtctldata.dev.GetTopologyPathResponse){}; + // GetTransactionInfo returns the information about a single transaction. + rpc GetTransactionInfo(GetTransactionInfoRequest) returns (vitess.vtctldata.dev.GetTransactionInfoResponse){}; + // GetUnresolvedTransactions returns the unresolved transactions for the request. + rpc GetUnresolvedTransactions(GetUnresolvedTransactionsRequest) returns (vitess.vtctldata.dev.GetUnresolvedTransactionsResponse){}; // GetVSchema returns a VSchema for the specified keyspace in the specified // cluster. rpc GetVSchema(GetVSchemaRequest) returns (VSchema) {}; @@ -108,6 +132,24 @@ service VTAdmin { rpc GetWorkflow(GetWorkflowRequest) returns (Workflow) {}; // GetWorkflows returns the Workflows for all specified clusters. rpc GetWorkflows(GetWorkflowsRequest) returns (GetWorkflowsResponse) {}; + // GetWorkflowStatus returns the status for a specific workflow. + rpc GetWorkflowStatus(GetWorkflowStatusRequest) returns (vitess.vtctldata.dev.WorkflowStatusResponse) {}; + // StartWorkflow starts a vreplication workflow. + rpc StartWorkflow(StartWorkflowRequest) returns (vitess.vtctldata.dev.WorkflowUpdateResponse) {}; + // StopWorkflow stops a vreplication workflow. + rpc StopWorkflow(StopWorkflowRequest) returns (vitess.vtctldata.dev.WorkflowUpdateResponse) {}; + // LaunchSchemaMigration launches one or all migrations in the given + // cluster executed with --postpone-launch. + rpc LaunchSchemaMigration(LaunchSchemaMigrationRequest) returns (vitess.vtctldata.dev.LaunchSchemaMigrationResponse) {}; + // MoveTablesComplete completes the move and cleans up the workflow and + // its related artifacts. + rpc MoveTablesComplete(MoveTablesCompleteRequest) returns (vitess.vtctldata.dev.MoveTablesCompleteResponse) {}; + // MoveTablesCreate creates a workflow which moves one or more tables from a + // source keyspace to a target keyspace. + rpc MoveTablesCreate(MoveTablesCreateRequest) returns (vitess.vtctldata.dev.WorkflowStatusResponse) {}; + // MaterializeCreate creates a workflow to materialize one or more tables + // from a source keyspace to a target keyspace using a provided expressions. + rpc MaterializeCreate(MaterializeCreateRequest) returns (vitess.vtctldata.dev.MaterializeCreateResponse) {}; // PingTablet checks that the specified tablet is awake and responding to // RPCs. This command can be blocked by other in-flight operations. rpc PingTablet(PingTabletRequest) returns (PingTabletResponse) {}; @@ -134,8 +176,13 @@ service VTAdmin { rpc ReloadSchemaShard(ReloadSchemaShardRequest) returns (ReloadSchemaShardResponse) {}; // RemoveKeyspaceCell removes the cell from the Cells list for all shards in the keyspace, and the SrvKeyspace for that keyspace in that cell. rpc RemoveKeyspaceCell(RemoveKeyspaceCellRequest) returns (RemoveKeyspaceCellResponse) {}; + // RetrySchemaMigration marks a given schema migration in the given cluster + // for retry. + rpc RetrySchemaMigration(RetrySchemaMigrationRequest) returns (vitess.vtctldata.dev.RetrySchemaMigrationResponse) {}; // RunHealthCheck runs a healthcheck on the tablet. rpc RunHealthCheck(RunHealthCheckRequest) returns (RunHealthCheckResponse) {}; + // ReshardCreate creates a workflow to reshard a keyspace. + rpc ReshardCreate(ReshardCreateRequest) returns (vitess.vtctldata.dev.WorkflowStatusResponse) {}; // SetReadOnly sets the tablet to read-only mode. rpc SetReadOnly(SetReadOnlyRequest) returns (SetReadOnlyResponse) {}; // SetReadWrite sets the tablet to read-write mode. @@ -173,9 +220,15 @@ service VTAdmin { rpc ValidateVersionKeyspace(ValidateVersionKeyspaceRequest) returns (vitess.vtctldata.dev.ValidateVersionKeyspaceResponse) {}; // ValidateVersionShard validates that the version on the primary matches all of the replicas. rpc ValidateVersionShard(ValidateVersionShardRequest) returns (vitess.vtctldata.dev.ValidateVersionShardResponse) {}; + rpc VDiffCreate(VDiffCreateRequest) returns (vitess.vtctldata.dev.VDiffCreateResponse) {}; + rpc VDiffShow(VDiffShowRequest) returns (VDiffShowResponse) {}; // VTExplain provides information on how Vitess plans to execute a // particular query. rpc VTExplain(VTExplainRequest) returns (VTExplainResponse) {}; + // WorkflowDelete deletes a vreplication workflow. + rpc WorkflowDelete(WorkflowDeleteRequest) returns (vitess.vtctldata.dev.WorkflowDeleteResponse) {}; + // WorkflowSwitchTraffic switches traffic for a VReplication workflow. + rpc WorkflowSwitchTraffic(WorkflowSwitchTrafficRequest) returns (vitess.vtctldata.dev.WorkflowSwitchTrafficResponse) {}; } /* Data types */ @@ -249,6 +302,11 @@ message Schema { } } +message SchemaMigration { + Cluster cluster = 1; + vitess.vtctldata.dev.SchemaMigration schema_migration = 2; +} + // Shard groups the vtctldata information about a shard record together with // the Vitess cluster it belongs to. message Shard { @@ -316,8 +374,47 @@ message Workflow { vitess.vtctldata.dev.Workflow workflow = 3; } +message WorkflowDeleteRequest { + string cluster_id = 1; + vitess.vtctldata.dev.WorkflowDeleteRequest request = 2; +} + +message WorkflowSwitchTrafficRequest { + string cluster_id = 1; + vitess.vtctldata.dev.WorkflowSwitchTrafficRequest request = 2; +} + /* Request/Response types */ +message ApplySchemaRequest { + string cluster_id = 1; + // Request.Sql will be overriden by this Sql field. + string sql = 2; + // Request.CallerId will be overriden by this CallerId field. + string caller_id = 3; + vitess.vtctldata.dev.ApplySchemaRequest request = 4; +} + +message CancelSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.dev.CancelSchemaMigrationRequest request = 2; +} + +message CleanupSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.dev.CleanupSchemaMigrationRequest request = 2; +} + +message CompleteSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.dev.CompleteSchemaMigrationRequest request = 2; +} + +message ConcludeTransactionRequest { + string cluster_id = 1; + string dtid = 2; +} + message CreateKeyspaceRequest { string cluster_id = 1; vitess.vtctldata.dev.CreateKeyspaceRequest options = 2; @@ -472,6 +569,19 @@ message GetSchemasResponse { repeated Schema schemas = 1; } +message GetSchemaMigrationsRequest { + repeated ClusterRequest cluster_requests = 1; + + message ClusterRequest { + string cluster_id = 1; + vitess.vtctldata.dev.GetSchemaMigrationsRequest request = 2; + } +} + +message GetSchemaMigrationsResponse { + repeated SchemaMigration schema_migrations = 1; +} + message GetShardReplicationPositionsRequest { repeated string cluster_ids = 1; // Keyspaces, if set, limits replication positions to just the specified @@ -551,6 +661,17 @@ message GetTopologyPathRequest { string path = 2; } +message GetTransactionInfoRequest { + string cluster_id = 1; + vitess.vtctldata.dev.GetTransactionInfoRequest request = 2; +} + +message GetUnresolvedTransactionsRequest { + string cluster_id = 1; + string keyspace = 2; + int64 abandon_age = 3; +} + message GetVSchemaRequest { string cluster_id = 1; string keyspace = 2; @@ -579,6 +700,24 @@ message GetWorkflowRequest { bool active_only = 4; } +message GetWorkflowStatusRequest { + string cluster_id = 1; + string keyspace = 2; + string name = 3; +} + +message StartWorkflowRequest { + string cluster_id = 1; + string keyspace = 2; + string workflow = 3; +} + +message StopWorkflowRequest { + string cluster_id = 1; + string keyspace = 2; + string workflow = 3; +} + message GetWorkflowsRequest { repeated string cluster_ids = 1; // ActiveOnly specifies whether to return workflows that are currently @@ -605,6 +744,29 @@ message GetWorkflowsResponse { map workflows_by_cluster = 1; } +message LaunchSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.dev.LaunchSchemaMigrationRequest request = 2; +} + +message MaterializeCreateRequest { + string cluster_id = 1; + // TableSettings is a JSON string defining what tables to materialize using + // what select statements. + string table_settings = 2; + vitess.vtctldata.dev.MaterializeCreateRequest request = 3; +} + +message MoveTablesCompleteRequest { + string cluster_id = 1; + vitess.vtctldata.dev.MoveTablesCompleteRequest request = 2; +} + +message MoveTablesCreateRequest { + string cluster_id = 1; + vitess.vtctldata.dev.MoveTablesCreateRequest request = 2; +} + message PingTabletRequest { // Unique (per cluster) tablet alias of the standard form: "$cell-$uid" vitess.topodata.dev.TabletAlias alias = 1; @@ -689,7 +851,7 @@ message ReloadSchemasRequest { // // In Tablets mode, Concurrency is the number of tablets to reload at once // *per cluster*. - uint32 concurrency = 5; + int32 concurrency = 5; // WaitPosition is the replication position that replicating tablets should // reach prior to reloading their schemas. // @@ -757,7 +919,7 @@ message ReloadSchemaShardRequest { string wait_position = 4; bool include_primary = 5; - uint32 concurrency = 6; + int32 concurrency = 6; } message ReloadSchemaShardResponse { @@ -788,6 +950,11 @@ message RemoveKeyspaceCellResponse { string status = 1; } +message RetrySchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.dev.RetrySchemaMigrationRequest request = 2; +} + message RunHealthCheckRequest { vitess.topodata.dev.TabletAlias alias = 1; repeated string cluster_ids = 2; @@ -798,6 +965,11 @@ message RunHealthCheckResponse { Cluster cluster = 2; } +message ReshardCreateRequest { + string cluster_id = 1; + vitess.vtctldata.dev.ReshardCreateRequest request = 2; +} + message SetReadOnlyRequest { vitess.topodata.dev.TabletAlias alias = 1; repeated string cluster_ids = 2; @@ -888,6 +1060,34 @@ message ValidateVersionShardRequest { string shard = 3; } +message VDiffCreateRequest { + string cluster_id = 1; + vitess.vtctldata.dev.VDiffCreateRequest request = 2; +} + +message VDiffShowRequest { + string cluster_id = 1; + vitess.vtctldata.dev.VDiffShowRequest request = 2; +} + +message VDiffProgress { + double percentage = 1; + string eta = 2; +} + +message VDiffShardReport { + string state = 1; + int64 rows_compared = 2; + bool has_mismatch = 3; + string started_at = 4; + string completed_at = 5; + VDiffProgress progress = 6; +} + +message VDiffShowResponse { + map shard_report = 1; +} + message VTExplainRequest { string cluster = 1; string keyspace = 2; diff --git a/src/vitess/vtadmin/v19/vtadmin.proto b/src/vitess/vtadmin/v19/vtadmin.proto new file mode 100644 index 0000000..2f6dc90 --- /dev/null +++ b/src/vitess/vtadmin/v19/vtadmin.proto @@ -0,0 +1,971 @@ +/* +Copyright 2020 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package contains the types used by VTAdmin (and later an RPC service). + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vtadmin/v19;vtadminv19"; + +package vitess.vtadmin.v19; + +import "vitess/logutil/v19/logutil.proto"; +import "vitess/mysqlctl/v19/mysqlctl.proto"; +import "vitess/tabletmanagerdata/v19/tabletmanagerdata.proto"; +import "vitess/topodata/v19/topodata.proto"; +import "vitess/vschema/v19/vschema.proto"; +import "vitess/vtctldata/v19/vtctldata.proto"; + +/* Services */ + +// VTAdmin is the Vitess Admin API service. It provides RPCs that operate on +// across a range of Vitess clusters. +service VTAdmin { + // ApplySchema applies a schema to a keyspace in the given cluster. + rpc ApplySchema(ApplySchemaRequest) returns (vitess.vtctldata.v19.ApplySchemaResponse) {}; + // CancelSchemaMigration cancels one or all schema migrations in the given + // cluster, terminating any running ones as needed. + rpc CancelSchemaMigration(CancelSchemaMigrationRequest) returns (vitess.vtctldata.v19.CancelSchemaMigrationResponse) {}; + // CleanupSchemaMigration marks a schema migration in the given cluster as + // ready for artifact cleanup. + rpc CleanupSchemaMigration(CleanupSchemaMigrationRequest) returns (vitess.vtctldata.v19.CleanupSchemaMigrationResponse) {}; + // CompleteSchemaMigration completes one or all migrations in the given + // cluster executed with --postpone-completion. + rpc CompleteSchemaMigration(CompleteSchemaMigrationRequest) returns (vitess.vtctldata.v19.CompleteSchemaMigrationResponse) {}; + // CreateKeyspace creates a new keyspace in the given cluster. + rpc CreateKeyspace(CreateKeyspaceRequest) returns (CreateKeyspaceResponse) {}; + // CreateShard creates a new shard in the given cluster and keyspace. + rpc CreateShard(CreateShardRequest) returns (vitess.vtctldata.v19.CreateShardResponse) {}; + // DeleteKeyspace deletes a keyspace in the given cluster. + rpc DeleteKeyspace(DeleteKeyspaceRequest) returns (vitess.vtctldata.v19.DeleteKeyspaceResponse) {}; + // DeleteShard deletes one or more shards in the given cluster and keyspace. + rpc DeleteShards(DeleteShardsRequest) returns (vitess.vtctldata.v19.DeleteShardsResponse) {}; + // DeleteTablet deletes a tablet from the topology + rpc DeleteTablet(DeleteTabletRequest) returns (DeleteTabletResponse) {}; + // EmergencyFailoverShard fails over a shard to a new primary. It assumes + // the old primary is dead or otherwise not responding. + rpc EmergencyFailoverShard(EmergencyFailoverShardRequest) returns (EmergencyFailoverShardResponse) {}; + // FindSchema returns a single Schema that matches the provided table name + // across all specified clusters IDs. Not specifying a set of cluster IDs + // causes the search to span all configured clusters. + // + // An error occurs if either no table exists across any of the clusters with + // the specified table name, or if multiple tables exist with that name. + rpc FindSchema(FindSchemaRequest) returns (Schema) {}; + // GetBackups returns backups grouped by cluster. + rpc GetBackups(GetBackupsRequest) returns (GetBackupsResponse) {}; + // GetCellInfos returns the CellInfo objects for the specified clusters. + // + // Callers may optionally restrict the set of CellInfos, or restrict the + // response to include only cell names. + rpc GetCellInfos(GetCellInfosRequest) returns (GetCellInfosResponse) {}; + // GetCellsAliases returns the CellsAliases data for the specified clusters. + rpc GetCellsAliases(GetCellsAliasesRequest) returns (GetCellsAliasesResponse) {}; + // GetClusters returns all configured clusters. + rpc GetClusters(GetClustersRequest) returns (GetClustersResponse) {}; + // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + rpc GetFullStatus(GetFullStatusRequest) returns (vitess.vtctldata.v19.GetFullStatusResponse) {}; + // GetGates returns all gates across all the specified clusters. + rpc GetGates(GetGatesRequest) returns (GetGatesResponse) {}; + // GetKeyspace returns a keyspace by name in the specified cluster. + rpc GetKeyspace(GetKeyspaceRequest) returns (Keyspace) {}; + // GetKeyspaces returns all keyspaces across the specified clusters. + rpc GetKeyspaces(GetKeyspacesRequest) returns (GetKeyspacesResponse) {}; + // GetSchema returns the schema for the specified (cluster, keyspace, table) + // tuple. + rpc GetSchema(GetSchemaRequest) returns (Schema) {}; + // GetSchemas returns all schemas across the specified clusters. + rpc GetSchemas(GetSchemasRequest) returns (GetSchemasResponse) {}; + // GetSchemaMigrations returns one or more online schema migrations for the + // set of keyspaces (or all keyspaces) in the given clusters, analagous to + // repeated executions of `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different behaviors. + // See the documentation on vtctldata.GetSchemaMigrationsRequest for details. + rpc GetSchemaMigrations(GetSchemaMigrationsRequest) returns (GetSchemaMigrationsResponse) {}; + // GetShardReplicationPositions returns shard replication positions grouped + // by cluster. + rpc GetShardReplicationPositions(GetShardReplicationPositionsRequest) returns (GetShardReplicationPositionsResponse) {}; + // GetSrvKeyspace returns the SrvKeyspace for a keyspace in one or more cells. + rpc GetSrvKeyspace (GetSrvKeyspaceRequest) returns (vitess.vtctldata.v19.GetSrvKeyspacesResponse) {}; + // GetSrvKeyspaces returns the SrvKeyspaces for all keyspaces across all the specified clusters. + rpc GetSrvKeyspaces (GetSrvKeyspacesRequest) returns (GetSrvKeyspacesResponse) {}; + // GetSrvVSchema returns the SrvVSchema for the given cluster and cell. + rpc GetSrvVSchema (GetSrvVSchemaRequest) returns (SrvVSchema) {}; + // GetSrvVSchemas returns all SrvVSchemas across all (or specified) clusters + // and cells. + rpc GetSrvVSchemas(GetSrvVSchemasRequest) returns (GetSrvVSchemasResponse) {}; + // GetTablet looks up a tablet by hostname across all clusters and returns + // the result. + rpc GetTablet(GetTabletRequest) returns (Tablet) {}; + // GetTablets returns all tablets across all the specified clusters. + rpc GetTablets(GetTabletsRequest) returns (GetTabletsResponse) {}; + // GetTopologyPath returns the cell located at the specified path in the topology server. + rpc GetTopologyPath(GetTopologyPathRequest) returns (vitess.vtctldata.v19.GetTopologyPathResponse){}; + // GetVSchema returns a VSchema for the specified keyspace in the specified + // cluster. + rpc GetVSchema(GetVSchemaRequest) returns (VSchema) {}; + // GetVSchemas returns the VSchemas for all specified clusters. + rpc GetVSchemas(GetVSchemasRequest) returns (GetVSchemasResponse) {}; + // GetVtctlds returns the Vtctlds for all specified clusters. + rpc GetVtctlds(GetVtctldsRequest) returns (GetVtctldsResponse) {}; + // GetWorkflow returns a single Workflow for a given cluster, keyspace, and + // workflow name. + rpc GetWorkflow(GetWorkflowRequest) returns (Workflow) {}; + // GetWorkflows returns the Workflows for all specified clusters. + rpc GetWorkflows(GetWorkflowsRequest) returns (GetWorkflowsResponse) {}; + // LaunchSchemaMigration launches one or all migrations in the given + // cluster executed with --postpone-launch. + rpc LaunchSchemaMigration(LaunchSchemaMigrationRequest) returns (vitess.vtctldata.v19.LaunchSchemaMigrationResponse) {}; + // PingTablet checks that the specified tablet is awake and responding to + // RPCs. This command can be blocked by other in-flight operations. + rpc PingTablet(PingTabletRequest) returns (PingTabletResponse) {}; + // PlannedFailoverShard fails over the shard to a new primary, or away from + // an old primary. Both the old and new primaries must be reachable and + // running. + // + // NOTE: A planned failover will not consider replicas outside the current + // shard primary's cell as promotion candidates unless NewPrimary is + // explicitly provided in the request. + rpc PlannedFailoverShard(PlannedFailoverShardRequest) returns (PlannedFailoverShardResponse) {}; + // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. + rpc RebuildKeyspaceGraph(RebuildKeyspaceGraphRequest) returns (RebuildKeyspaceGraphResponse) {}; + // RefreshState reloads the tablet record on the specified tablet. + rpc RefreshState(RefreshStateRequest) returns (RefreshStateResponse) {}; + // RefreshTabletReplicationSource performs a `CHANGE REPLICATION SOURCE TO` + // on a tablet to replicate from the current primary in the shard. + rpc RefreshTabletReplicationSource(RefreshTabletReplicationSourceRequest) returns (RefreshTabletReplicationSourceResponse) {}; + // ReloadSchemas reloads the schema definition across keyspaces, shards, or + // tablets in one or more clusters, depending on the request fields (see + // ReloadSchemasRequest for details). + rpc ReloadSchemas(ReloadSchemasRequest) returns (ReloadSchemasResponse) {}; + // ReloadSchemaShard reloads the schema on all tablets in a shard. This is done on a best-effort basis. + rpc ReloadSchemaShard(ReloadSchemaShardRequest) returns (ReloadSchemaShardResponse) {}; + // RemoveKeyspaceCell removes the cell from the Cells list for all shards in the keyspace, and the SrvKeyspace for that keyspace in that cell. + rpc RemoveKeyspaceCell(RemoveKeyspaceCellRequest) returns (RemoveKeyspaceCellResponse) {}; + // RetrySchemaMigration marks a given schema migration in the given cluster + // for retry. + rpc RetrySchemaMigration(RetrySchemaMigrationRequest) returns (vitess.vtctldata.v19.RetrySchemaMigrationResponse) {}; + // RunHealthCheck runs a healthcheck on the tablet. + rpc RunHealthCheck(RunHealthCheckRequest) returns (RunHealthCheckResponse) {}; + // SetReadOnly sets the tablet to read-only mode. + rpc SetReadOnly(SetReadOnlyRequest) returns (SetReadOnlyResponse) {}; + // SetReadWrite sets the tablet to read-write mode. + rpc SetReadWrite(SetReadWriteRequest) returns (SetReadWriteResponse) {}; + // StartReplication runs the underlying database command to start + // replication on a tablet. + rpc StartReplication(StartReplicationRequest) returns (StartReplicationResponse) {}; + // StopReplication runs the underlying database command to stop replication + // on a tablet + rpc StopReplication(StopReplicationRequest) returns (StopReplicationResponse) {}; + // TabletExternallyPromoted updates the metadata in a cluster's topology + // to acknowledge a shard primary change performed by an external tool + // (e.g. orchestrator*). + // + // See the Reparenting guide for more information: + // https://vitess.io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting. + // + // * "orchestrator" here refers to external orchestrator, not the newer, + // Vitess-aware orchestrator, VTOrc. + rpc TabletExternallyPromoted(TabletExternallyPromotedRequest) returns (TabletExternallyPromotedResponse) {}; + // Validate validates all nodes in a cluster that are reachable from the global replication graph, + // as well as all tablets in discoverable cells, are consistent + rpc Validate(ValidateRequest) returns (vitess.vtctldata.v19.ValidateResponse) {}; + // ValidateKeyspace validates that all nodes reachable from the specified + // keyspace are consistent. + rpc ValidateKeyspace(ValidateKeyspaceRequest) returns (vitess.vtctldata.v19.ValidateKeyspaceResponse) {}; + // ValidateSchemaKeyspace validates that the schema on the primary tablet + // for shard 0 matches the schema on all of the other tablets in the + // keyspace. + rpc ValidateSchemaKeyspace(ValidateSchemaKeyspaceRequest) returns (vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse) {}; + // ValidateShard validates that that all nodes reachable from the specified shard are consistent. + rpc ValidateShard(ValidateShardRequest) returns (vitess.vtctldata.v19.ValidateShardResponse) {}; + // ValidateVersionKeyspace validates that the version on the primary of + // shard 0 matches all of the other tablets in the keyspace. + rpc ValidateVersionKeyspace(ValidateVersionKeyspaceRequest) returns (vitess.vtctldata.v19.ValidateVersionKeyspaceResponse) {}; + // ValidateVersionShard validates that the version on the primary matches all of the replicas. + rpc ValidateVersionShard(ValidateVersionShardRequest) returns (vitess.vtctldata.v19.ValidateVersionShardResponse) {}; + // VTExplain provides information on how Vitess plans to execute a + // particular query. + rpc VTExplain(VTExplainRequest) returns (VTExplainResponse) {}; +} + +/* Data types */ + +// Cluster represents information about a Vitess cluster. +message Cluster { + string id = 1; + string name = 2; +} + +message ClusterBackup { + Cluster cluster = 1; + vitess.mysqlctl.v19.BackupInfo backup = 2; +} + +message ClusterCellsAliases { + Cluster cluster = 1; + map aliases = 2; +} + +message ClusterCellInfo { + Cluster cluster = 1; + string name = 2; + // CellInfo contains the data for the cell. + // + // It may be nil if the GetCellsInfosRequest specified NamesOnly. + vitess.topodata.v19.CellInfo cell_info = 3; +} + +message ClusterShardReplicationPosition { + Cluster cluster = 1; + string keyspace = 2; + string shard = 3; + vitess.vtctldata.v19.ShardReplicationPositionsResponse position_info = 4; +} + +message ClusterWorkflows { + repeated Workflow workflows = 1; + // Warnings is a list of non-fatal errors encountered when fetching + // workflows for a particular cluster. + repeated string warnings = 2; +} + +// Keyspace represents information about a keyspace in a particular Vitess +// cluster. +message Keyspace { + Cluster cluster = 1; + vitess.vtctldata.v19.Keyspace keyspace = 2; + map shards = 3; +} + +message Schema { + Cluster cluster = 1; + string keyspace = 2; + + repeated vitess.tabletmanagerdata.v19.TableDefinition table_definitions = 3; + // TableSizes is a mapping of table name to TableSize information. + map table_sizes = 4; + + message ShardTableSize { + uint64 row_count = 1; + uint64 data_length = 2; + } + + // TableSize aggregates table size information across all shards containing + // in the given keyspace and cluster, as well as per-shard size information. + message TableSize { + uint64 row_count = 1; + uint64 data_length = 2; + map by_shard = 3; + } +} + +message SchemaMigration { + Cluster cluster = 1; + vitess.vtctldata.v19.SchemaMigration schema_migration = 2; +} + +// Shard groups the vtctldata information about a shard record together with +// the Vitess cluster it belongs to. +message Shard { + Cluster cluster = 1; + vitess.vtctldata.v19.Shard shard = 2; +} + +message SrvVSchema { + string cell = 1; + Cluster cluster = 2; + vitess.vschema.v19.SrvVSchema srv_v_schema = 3; +} + +// Tablet groups the topo information of a tablet together with the Vitess +// cluster it belongs to. +message Tablet { + Cluster cluster = 1; + vitess.topodata.v19.Tablet tablet = 2; + + enum ServingState { + UNKNOWN = 0; + SERVING = 1; + NOT_SERVING = 2; + } + + ServingState state = 3; + string FQDN = 4; +} + +// VSchema represents the vschema for a keyspace in the cluster it belongs to. +message VSchema { + Cluster cluster = 1; + // Name is the name of the keyspace this VSchema is for. + string name = 2; + vitess.vschema.v19.Keyspace v_schema = 3; +} + +// Vtctld represents information about a single Vtctld host. +message Vtctld { + string hostname = 1; + Cluster cluster = 2; + string FQDN = 3; +} + +// VTGate represents information about a single VTGate host. +message VTGate { + // Hostname is the shortname of the VTGate. + string hostname = 1; + // Pool is group the VTGate serves queries for. Some deployments segment + // VTGates into groups or pools, based on the workloads they serve queries + // for. Use of this field is optional. + string pool = 2; + // Cell is the topology cell the VTGate is in. + string cell = 3; + // Cluster is the cluster the VTGate serves. + Cluster cluster = 4; + // Keyspaces is the list of keyspaces-to-watch for the VTGate. + repeated string keyspaces = 5; + string FQDN = 6; +} + +message Workflow { + Cluster cluster = 1; + string keyspace = 2; + vitess.vtctldata.v19.Workflow workflow = 3; +} + +/* Request/Response types */ + +message ApplySchemaRequest { + string cluster_id = 1; + vitess.vtctldata.v19.ApplySchemaRequest request = 2; +} + +message CancelSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.v19.CancelSchemaMigrationRequest request = 2; +} + +message CleanupSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.v19.CleanupSchemaMigrationRequest request = 2; +} + +message CompleteSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.v19.CompleteSchemaMigrationRequest request = 2; +} + +message CreateKeyspaceRequest { + string cluster_id = 1; + vitess.vtctldata.v19.CreateKeyspaceRequest options = 2; +} + +message CreateKeyspaceResponse { + Keyspace keyspace = 1; +} + +message CreateShardRequest { + string cluster_id = 1; + vitess.vtctldata.v19.CreateShardRequest options = 2; +} + +message DeleteKeyspaceRequest { + string cluster_id = 1; + vitess.vtctldata.v19.DeleteKeyspaceRequest options = 2; +} + +message DeleteShardsRequest { + string cluster_id = 1; + vitess.vtctldata.v19.DeleteShardsRequest options = 2; +} + +message DeleteTabletRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; + bool allow_primary = 3; +} + +message DeleteTabletResponse { + string status = 1; + Cluster cluster = 2; +} + +message EmergencyFailoverShardRequest { + string cluster_id = 1; + vitess.vtctldata.v19.EmergencyReparentShardRequest options = 2; +} + +message EmergencyFailoverShardResponse { + Cluster cluster = 1; + string keyspace = 2; + string shard = 3; + // PromotedPrimary is the tablet alias that was promoted to shard primary. + // If NewPrimary was set in the request options, then this will be the + // same tablet alias. Otherwise, it will be the alias of the tablet found + // to be most up-to-date in the shard. + vitess.topodata.v19.TabletAlias promoted_primary = 4; + repeated vitess.logutil.v19.Event events = 5; +} + +message FindSchemaRequest { + string table = 1; + repeated string cluster_ids = 2; + GetSchemaTableSizeOptions table_size_options = 3; +} + +message GetBackupsRequest { + repeated string cluster_ids = 1; + // Keyspaces, if set, limits backups to just the specified keyspaces. + // Applies to all clusters in the request. + repeated string keyspaces = 2; + // KeyspaceShards, if set, limits backups to just the specified + // keyspace/shards. Applies to all clusters in the request. + // + // This field takes precedence over Keyspaces. If KeyspaceShards is set, + // Keyspaces is ignored. + repeated string keyspace_shards = 3; + // RequestOptions controls the per-shard request options when making + // GetBackups requests to vtctlds. Note that the Keyspace and Shard fields + // of this field are ignored; it is used only to specify Limit and Detailed + // fields. + vitess.vtctldata.v19.GetBackupsRequest request_options = 4; +} + +message GetBackupsResponse { + repeated ClusterBackup backups = 1; +} + +message GetCellInfosRequest { + repeated string cluster_ids = 1; + // Cells, if specified, limits the response to include only CellInfo objects + // with those names. If omitted, all CellInfo objects in each cluster are + // returned. + // + // Mutually-exclusive with NamesOnly. If both are set, this field takes + // precedence. + repeated string cells = 2; + // Return only the cell names in each cluster; the actual CellInfo objects + // will be empty. + bool names_only = 3; +} + +message GetCellInfosResponse { + repeated ClusterCellInfo cell_infos = 1; +} + +message GetCellsAliasesRequest { + repeated string cluster_ids = 1; +} + +message GetCellsAliasesResponse { + repeated ClusterCellsAliases aliases = 1; +} + +message GetClustersRequest {} + +message GetClustersResponse { + repeated Cluster clusters = 1; +} + +message GetFullStatusRequest { + string cluster_id = 1; + vitess.topodata.v19.TabletAlias alias = 2; +} + +message GetGatesRequest { + repeated string cluster_ids = 1; +} + +message GetGatesResponse { + repeated VTGate gates = 1; +} + +message GetKeyspaceRequest { + string cluster_id = 1; + string keyspace = 2; +} + +message GetKeyspacesRequest { + repeated string cluster_ids = 1; +} + +message GetKeyspacesResponse { + repeated Keyspace keyspaces = 1; +} + +message GetSchemaRequest { + string cluster_id = 1; + string keyspace = 2; + string table = 3; + GetSchemaTableSizeOptions table_size_options = 4; +} + +message GetSchemasRequest { + repeated string cluster_ids = 1; + GetSchemaTableSizeOptions table_size_options = 2; +} + +message GetSchemasResponse { + repeated Schema schemas = 1; +} + +message GetSchemaMigrationsRequest { + repeated ClusterRequest cluster_requests = 1; + + message ClusterRequest { + string cluster_id = 1; + vitess.vtctldata.v19.GetSchemaMigrationsRequest request = 2; + } +} + +message GetSchemaMigrationsResponse { + repeated SchemaMigration schema_migrations = 1; +} + +message GetShardReplicationPositionsRequest { + repeated string cluster_ids = 1; + // Keyspaces, if set, limits replication positions to just the specified + // keyspaces. Applies to all clusters in the request. + repeated string keyspaces = 2; + // KeyspaceShards, if set, limits replicatin positions to just the specified + // keyspace/shards. Applies to all clusters in the request. + // + // This field takes precedence over Keyspaces. If KeyspaceShards is set, + // Keyspaces is ignored. + repeated string keyspace_shards = 3; +} + +message GetShardReplicationPositionsResponse { + repeated ClusterShardReplicationPosition replication_positions = 1; +} + +message GetSrvKeyspaceRequest { + string cluster_id = 1; + string keyspace = 2; + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + repeated string cells = 3; +} + +message GetSrvKeyspacesRequest { + // An optional list of cluster IDs to filter specific clusters + repeated string cluster_ids = 1; + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + repeated string cells = 2; +} + +message GetSrvKeyspacesResponse { + // GetSrvKeyspaces responses for each keyspace + map srv_keyspaces = 1; +} + +message GetSrvVSchemaRequest { + string cluster_id = 1; + string cell = 2; +} + +message GetSrvVSchemasRequest { + repeated string cluster_ids = 1; + repeated string cells = 2; +} + +message GetSrvVSchemasResponse { + repeated SrvVSchema srv_v_schemas = 1; +} + +message GetSchemaTableSizeOptions { + bool aggregate_sizes = 1; + bool include_non_serving_shards = 2; +} + +message GetTabletRequest { + // Unique (per cluster) tablet alias. + vitess.topodata.v19.TabletAlias alias = 1; + // ClusterIDs is an optional parameter to narrow the scope of the search, if + // the caller knows which cluster the tablet may be in, or, to disambiguate + // if multiple clusters have a tablet with the same hostname. + repeated string cluster_ids = 2; +} + +message GetTabletsRequest { + repeated string cluster_ids = 1; +} + +message GetTabletsResponse { + repeated Tablet tablets = 1; +} + +message GetTopologyPathRequest { + string cluster_id = 1; + string path = 2; +} + +message GetVSchemaRequest { + string cluster_id = 1; + string keyspace = 2; +} + +message GetVSchemasRequest { + repeated string cluster_ids = 1; +} + +message GetVSchemasResponse { + repeated VSchema v_schemas = 1; +} + +message GetVtctldsRequest { + repeated string cluster_ids = 1; +} + +message GetVtctldsResponse { + repeated Vtctld vtctlds = 1; +} + +message GetWorkflowRequest { + string cluster_id = 1; + string keyspace = 2; + string name = 3; + bool active_only = 4; +} + +message GetWorkflowsRequest { + repeated string cluster_ids = 1; + // ActiveOnly specifies whether to return workflows that are currently + // active (running or paused) instead of all workflows. + bool active_only = 2; + // Keyspaces is a list of keyspaces to restrict the workflow search to. Note + // that the keyspaces list applies across all cluster IDs in the request. + // + // If, for example, you have two clusters, each with a keyspace called "foo" + // and want the workflows from "foo" in cluster1 but not from cluster2, you + // must make two requests. + // + // Keyspaces and IgnoreKeyspaces are mutually-exclusive, and Keyspaces takes + // precedence; if Keyspaces is a non-empty list, then IgnoreKeyspaces is + // ignored completely. + repeated string keyspaces = 3; + // IgnoreKeyspaces is a list of keyspaces to skip during the workflow + // search. It has the same semantics as the Keyspaces parameter, so refer to + // that documentation for more details. + repeated string ignore_keyspaces = 4; +} + +message GetWorkflowsResponse { + map workflows_by_cluster = 1; +} + +message LaunchSchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.v19.LaunchSchemaMigrationRequest request = 2; +} + +message PingTabletRequest { + // Unique (per cluster) tablet alias of the standard form: "$cell-$uid" + vitess.topodata.v19.TabletAlias alias = 1; + // ClusterIDs is an optional parameter to narrow the scope of the search, if + // the caller knows which cluster the tablet may be in, or, to disambiguate + // if multiple clusters have a tablet with the same hostname. + repeated string cluster_ids = 2; +} + +message PingTabletResponse { + string status = 1; + Cluster cluster = 2; +} + +message PlannedFailoverShardRequest { + string cluster_id = 1; + vitess.vtctldata.v19.PlannedReparentShardRequest options = 2; +} + +message PlannedFailoverShardResponse { + Cluster cluster = 1; + string keyspace = 2; + string shard = 3; + // PromotedPrimary is the tablet alias that was promoted to shard primary. + // If NewPrimary was set in the request options, then this will be the + // same tablet alias. Otherwise, it will be the alias of the tablet found + // to be most up-to-date in the shard. + vitess.topodata.v19.TabletAlias promoted_primary = 4; + repeated vitess.logutil.v19.Event events = 5; +} + +message RebuildKeyspaceGraphRequest { + string cluster_id = 1; + string keyspace = 2; + repeated string cells = 3; + bool allow_partial = 4; +} + +message RebuildKeyspaceGraphResponse { + string status = 1; +} + +message RefreshStateRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message RefreshStateResponse { + string status = 1; + Cluster cluster = 2; +} + +message ReloadSchemasRequest { + // Keyspaces, if set, will reload schemas across one or more keyspaces. A + // keyspace not existing in a cluster will not fail the overall request. + // + // Superceded by KeyspaceShards and Tablets, in that order. + repeated string keyspaces = 1; + // KeyspaceShards, if set, will reload schemas across one or more shards. + // Each element must be a valid keyspace/shard according to + // topoproto.ParseKeyspaceShard. A shard not existing in a cluster will not + // fail the overall request. + // + // Supercedes Keyspaces, and is superceded by Tablets. + repeated string keyspace_shards = 2; + // Tablets, if set will reload schemas across one or more tablets. + // Supercedes both Keyspaces and KeyspaceShards. + repeated vitess.topodata.v19.TabletAlias tablets = 3; + // ClusterIds optionally restricts the reload operation to clusters with + // the specified IDs. An empty list of ClusterIds will operate on all + // clusters. + repeated string cluster_ids = 4; + // Concurrency controls the number of tablets to reload at any given time. + // Its semantics depend on whether the request is for keyspace, shard, or + // tablet mode. + // + // In Keyspaces mode, Concurrency is the number of tablets to reload at once + // *per keyspace*. + // + // In KeyspaceShards mode, Concurrency is the number of tablets to reload at + // once *per shard*. + // + // In Tablets mode, Concurrency is the number of tablets to reload at once + // *per cluster*. + int32 concurrency = 5; + // WaitPosition is the replication position that replicating tablets should + // reach prior to reloading their schemas. + // + // Does not apply in Tablets mode. + string wait_position = 6; + // IncludePrimary, if set, will reload the schemas on PRIMARY tablets as + // well as REPLICA and RDONLY. + // + // Does not apply in Tablets mode. + bool include_primary = 7; +} + +message ReloadSchemasResponse { + // KeyspaceResult is a grouping of a Keyspace and any log events that + // occurred in that keyspace during a schema reload (usually associated with + // partial errors - ReloadSchemas requests are best-effort). + // + // It is only set when a ReloadSchemas request mandates Keyspaces mode + // (see ReloadSchemasRequest). + message KeyspaceResult { + Keyspace keyspace = 1; + repeated vitess.logutil.v19.Event events = 2; + } + // KeyspaceResults is the list of KeyspaceResult objects for a ReloadSchemas + // operation. It is only set when the request mandates Keyspaces mode (see + // ReloadSchemasRequest). + repeated KeyspaceResult keyspace_results = 1; + + // ShardResult is a grouping of a Shard and any log events that occurred in + // that shard during a schema reload (usually associated with partial + // errors - ReloadSchemas requests are best-effort). + // + // It is only set when a ReloadSchemas request mandates KeyspaceShards mode + // (see ReloadSchemasRequest). + message ShardResult { + Shard shard = 1; + repeated vitess.logutil.v19.Event events = 2; + } + // ShardResults is the list of ShardResult objects for a ReloadSchemas + // operation. It is only set when the request mandates KeyspaceShards mode + // (see ReloadSchemasRequest). + repeated ShardResult shard_results = 2; + + // TabletResult is a grouping of a Tablet and the result of reloading that + // Tablet's schema. Result will either be the string "ok", or the error + // message from that tablet. Note ReloadSchemas is best-effort, so tablet's + // failing to reload is not treated as an overall failure. + // + // It is only set when a ReloadSchemas request mandates Tablets mode (see + // ReloadSchemasRequest). + message TabletResult { + Tablet tablet = 1; + string result = 2; + } + // TabletResults is the list of TabletResult objects for a ReloadSchemas + // operation. It is only set when the request mandates Tablets mode (see + // ReloadSchemasRequest). + repeated TabletResult tablet_results = 3; +} + +message ReloadSchemaShardRequest { + string cluster_id = 1; + string keyspace = 2; + string shard = 3; + string wait_position = 4; + bool include_primary = 5; + + int32 concurrency = 6; +} + +message ReloadSchemaShardResponse { + repeated vitess.logutil.v19.Event events = 1; +} + +message RefreshTabletReplicationSourceRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message RefreshTabletReplicationSourceResponse { + string keyspace = 1; + string shard = 2; + vitess.topodata.v19.TabletAlias primary = 3; + Cluster cluster = 4; +} + +message RemoveKeyspaceCellRequest { + string cluster_id = 1; + string keyspace = 2; + string cell = 3; + bool force = 4; + bool recursive = 5; +} + +message RemoveKeyspaceCellResponse { + string status = 1; +} + +message RetrySchemaMigrationRequest { + string cluster_id = 1; + vitess.vtctldata.v19.RetrySchemaMigrationRequest request = 2; +} + +message RunHealthCheckRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message RunHealthCheckResponse { + string status = 1; + Cluster cluster = 2; +} + +message SetReadOnlyRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message SetReadOnlyResponse { +} + +message SetReadWriteRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message SetReadWriteResponse { +} + +message StartReplicationRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message StartReplicationResponse { + string status = 1; + Cluster cluster = 2; +} + +message StopReplicationRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message StopReplicationResponse { + string status = 1; + Cluster cluster = 2; +} + +message TabletExternallyPromotedRequest { + // Tablet is the alias of the tablet that was promoted externally and should + // be updated to the shard primary in the topo. + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message TabletExternallyPromotedResponse { + Cluster cluster = 1; + string keyspace = 2; + string shard = 3; + vitess.topodata.v19.TabletAlias new_primary = 4; + vitess.topodata.v19.TabletAlias old_primary = 5; +} + +message TabletExternallyReparentedRequest { + vitess.topodata.v19.TabletAlias alias = 1; + repeated string cluster_ids = 2; +} + +message ValidateRequest { + string cluster_id = 1; + bool ping_tablets = 2; +} + +message ValidateKeyspaceRequest { + string cluster_id = 1; + string keyspace = 2; + bool ping_tablets = 3; +} + +message ValidateSchemaKeyspaceRequest { + string cluster_id = 1; + string keyspace = 2; +} + +message ValidateShardRequest { + string cluster_id = 1; + string keyspace = 2; + string shard = 3; + bool ping_tablets = 4; +} + +message ValidateVersionKeyspaceRequest { + string cluster_id = 1; + string keyspace = 2; +} + +message ValidateVersionShardRequest { + string cluster_id = 1; + string keyspace = 2; + string shard = 3; +} + +message VTExplainRequest { + string cluster = 1; + string keyspace = 2; + string sql = 3; +} + +message VTExplainResponse { + string response = 1; +} diff --git a/src/vitess/vtctldata/dev/vtctldata.proto b/src/vitess/vtctldata/dev/vtctldata.proto index d9bdc1c..2f38c47 100644 --- a/src/vitess/vtctldata/dev/vtctldata.proto +++ b/src/vitess/vtctldata/dev/vtctldata.proto @@ -97,6 +97,10 @@ message MaterializeSettings { bool defer_secondary_keys = 14; vitess.tabletmanagerdata.dev.TabletSelectionPreference tablet_selection_preference = 15; bool atomic_copy = 16; + WorkflowOptions workflow_options = 17; + + // ReferenceTables is set to a csv list of tables, if the materialization is for reference tables. + repeated string reference_tables = 18; } /* Data types for VtctldServer */ @@ -205,6 +209,27 @@ message Shard { vitess.topodata.dev.Shard shard = 3; } +enum ShardedAutoIncrementHandling { + LEAVE = 0; + REMOVE = 1; + REPLACE = 2; +} + +message WorkflowOptions { + string tenant_id = 1; + // Remove auto_increment clauses on tables when moving them to a sharded + // keyspace and optionally replace them with vschema AutoIncrement + // definitions. + ShardedAutoIncrementHandling sharded_auto_increment_handling = 2; + // Shards on which vreplication streams in the target keyspace are created for this workflow and to which the data + // from the source will be vreplicated. + repeated string shards = 3; + map config = 4; + // Where to create any related schema and vschema objects such as + // sequence tables. + string global_keyspace = 5; +} + // TODO: comment the hell out of this. message Workflow { string name = 1; @@ -222,6 +247,9 @@ message Workflow { int64 max_v_replication_transaction_lag = 8; // This specifies whether to defer the creation of secondary keys. bool defer_secondary_keys = 9; + // These are additional (optional) settings for vreplication workflows. Previously we used to add it to the + // binlogdata.BinlogSource proto object. More details in go/vt/sidecardb/schema/vreplication.sql. + WorkflowOptions options = 10; message ReplicationLocation { string keyspace = 1; @@ -260,10 +288,14 @@ message Workflow { repeated string tags = 15; int64 rows_copied = 16; ThrottlerStatus throttler_status = 17; + repeated vitess.topodata.dev.TabletType tablet_types = 18; + vitess.tabletmanagerdata.dev.TabletSelectionPreference tablet_selection_preference = 19; + repeated string cells = 20; message CopyState { string table = 1; string last_pk = 2; + int64 stream_id = 3; } message Log { @@ -303,6 +335,24 @@ message AddCellsAliasRequest { message AddCellsAliasResponse { } + +message ApplyKeyspaceRoutingRulesRequest { + vitess.vschema.dev.KeyspaceRoutingRules keyspace_routing_rules = 1; + // SkipRebuild, if set, will cause ApplyKeyspaceRoutingRules to skip rebuilding the + // SrvVSchema objects in each cell in RebuildCells. + bool skip_rebuild = 2; + // RebuildCells limits the SrvVSchema rebuild to the specified cells. If not + // provided the SrvVSchema will be rebuilt in every cell in the topology. + // + // Ignored if SkipRebuild is set. + repeated string rebuild_cells = 3; +} + +message ApplyKeyspaceRoutingRulesResponse { + // KeyspaceRoutingRules returns the current set of rules. + vitess.vschema.dev.KeyspaceRoutingRules keyspace_routing_rules = 1; +} + message ApplyRoutingRulesRequest { vitess.vschema.dev.RoutingRules routing_rules = 1; // SkipRebuild, if set, will cause ApplyRoutingRules to skip rebuilding the @@ -333,6 +383,8 @@ message ApplyShardRoutingRulesRequest { message ApplyShardRoutingRulesResponse { } + + message ApplySchemaRequest { string keyspace = 1; reserved 2; @@ -370,10 +422,25 @@ message ApplyVSchemaRequest { repeated string cells = 4; vitess.vschema.dev.Keyspace v_schema = 5; string sql = 6; + // Strict returns an error if there are unknown vindex params. + bool strict = 7; } message ApplyVSchemaResponse { vitess.vschema.dev.Keyspace v_schema = 1; + // UnknownVindexParams is a map of vindex name to params that were not recognized by the vindex + // type. E.g.: + // + // { + // "lookup_vdx": { + // "params": ["raed_lock", "not_verify"] + // } + // } + map unknown_vindex_params = 2; + + message ParamList { + repeated string params = 1; + } } message BackupRequest { @@ -385,13 +452,15 @@ message BackupRequest { bool allow_primary = 2; // Concurrency specifies the number of compression/checksum jobs to run // simultaneously. - uint64 concurrency = 3; + int32 concurrency = 3; // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty // then the backup becomes incremental and applies as of given position. string incremental_from_pos = 4; // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 // so that it's a backup that can be used for an upgrade. bool upgrade_safe = 5; + // BackupEngine specifies if we want to use a particular backup engine for this backup request + optional string backup_engine = 6; } message BackupResponse { @@ -410,7 +479,7 @@ message BackupShardRequest { bool allow_primary = 3; // Concurrency specifies the number of compression/checksum jobs to run // simultaneously. - uint64 concurrency = 4; + int32 concurrency = 4; // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 // so that it's a backup that can be used for an upgrade. bool upgrade_safe = 5; @@ -428,6 +497,17 @@ message CancelSchemaMigrationResponse { map rows_affected_by_shard = 1; } +message ChangeTabletTagsRequest { + vitess.topodata.dev.TabletAlias tablet_alias = 1; + map tags = 2; + bool replace = 3; +} + +message ChangeTabletTagsResponse { + map before_tags = 1; + map after_tags = 2; +} + message ChangeTabletTypeRequest { vitess.topodata.dev.TabletAlias tablet_alias = 1; vitess.topodata.dev.TabletType db_type = 2; @@ -440,6 +520,24 @@ message ChangeTabletTypeResponse { bool was_dry_run = 3; } +message CheckThrottlerRequest { + vitess.topodata.dev.TabletAlias tablet_alias = 1; + + string app_name = 2; + + string scope = 3; + // SkipRequestHeartbeats ensures this check does not renew heartbeat lease + bool skip_request_heartbeats = 4; + // OKIfNotExists asks the throttler to return OK even if the metric does not exist + bool ok_if_not_exists = 5; +} + +message CheckThrottlerResponse { + vitess.topodata.dev.TabletAlias tablet_alias = 1; + + vitess.tabletmanagerdata.dev.CheckThrottlerResponse Check = 2; +} + message CleanupSchemaMigrationRequest { string keyspace = 1; string uuid = 2; @@ -449,7 +547,6 @@ message CleanupSchemaMigrationResponse { map rows_affected_by_shard = 1; } - message CompleteSchemaMigrationRequest { string keyspace = 1; string uuid = 2; @@ -473,9 +570,8 @@ message CreateKeyspaceRequest { // OBSOLETE topodata.KeyspaceIdType sharding_column_type = 5; reserved 5; - // ServedFroms specifies a set of db_type:keyspace pairs used to serve - // traffic for the keyspace. - repeated vitess.topodata.dev.Keyspace.ServedFrom served_froms = 6; + // OBSOLETE: repeated topodata.Keyspace.ServedFrom served_froms = 6; + reserved 6; // Type is the type of the keyspace to create. vitess.topodata.dev.KeyspaceType type = 7; @@ -611,6 +707,9 @@ message EmergencyReparentShardRequest { // WaitForAllTablets makes ERS wait for a response from all the tablets before proceeding. // Useful when all the tablets are up and reachable. bool wait_for_all_tablets = 7; + // ExpectedPrimary is the optional alias we expect to be the current primary in order for + // the reparent operation to succeed. + vitess.topodata.dev.TabletAlias expected_primary = 8; } message EmergencyReparentShardResponse { @@ -675,6 +774,29 @@ message ExecuteHookResponse { vitess.tabletmanagerdata.dev.ExecuteHookResponse hook_result = 1; } +message ExecuteMultiFetchAsDBARequest { + vitess.topodata.dev.TabletAlias tablet_alias = 1; + // SQL could have potentially multiple queries separated by semicolons. + string sql = 2; + // MaxRows is an optional parameter to limit the number of rows read into the + // QueryResult. Note that this does not apply a LIMIT to a query, just how + // many rows are read from the MySQL server on the tablet side. + // + // This field is optional. Specifying a non-positive value will use whatever + // default is configured in the VtctldService. + int64 max_rows = 3; + // DisableBinlogs instructs the tablet not to use binary logging when + // executing the query. + bool disable_binlogs = 4; + // ReloadSchema instructs the tablet to reload its schema after executing the + // query. + bool reload_schema = 5; +} + +message ExecuteMultiFetchAsDBAResponse { + repeated vitess.query.dev.QueryResult results = 1; +} + message FindAllShardsInKeyspaceRequest { string keyspace = 1; } @@ -683,6 +805,15 @@ message FindAllShardsInKeyspaceResponse { map shards = 1; } +message ForceCutOverSchemaMigrationRequest { + string keyspace = 1; + string uuid = 2; +} + +message ForceCutOverSchemaMigrationResponse { + map rows_affected_by_shard = 1; +} + message GetBackupsRequest { string keyspace = 1; string shard = 2; @@ -759,6 +890,13 @@ message GetPermissionsResponse { vitess.tabletmanagerdata.dev.Permissions permissions = 1; } +message GetKeyspaceRoutingRulesRequest { +} + +message GetKeyspaceRoutingRulesResponse { + vitess.vschema.dev.KeyspaceRoutingRules keyspace_routing_rules = 1; +} + message GetRoutingRulesRequest { } @@ -827,6 +965,18 @@ message GetSchemaMigrationsResponse { repeated SchemaMigration migrations = 1; } +message GetShardReplicationRequest { + string keyspace = 1; + string shard = 2; + // Cells is the list of cells to fetch data for. Omit to fetch data from all + // cells. + repeated string cells = 3; +} + +message GetShardReplicationResponse { + map shard_replication_by_cell = 1; +} + message GetShardRequest { string keyspace = 1; string shard_name = 2; @@ -886,6 +1036,13 @@ message UpdateThrottlerConfigRequest { bool check_as_check_shard = 8; // ThrottledApp indicates a single throttled app rule (ignored if name is empty) vitess.topodata.dev.ThrottledAppRule throttled_app = 9; + // MetricName is the name of the metric for which we apply a new threshold + string metric_name = 10; + // AppName is the name of the app for which we assign metrics + string app_name = 11; + // AppCheckedMetrics are the metrics to be checked got the given AppName. These can be scoped. For example: + // ["lag", "self/loadvg", "shard/threads_running"] + repeated string app_checked_metrics = 12; } message UpdateThrottlerConfigResponse { @@ -945,8 +1102,19 @@ message GetTabletsResponse { repeated vitess.topodata.dev.Tablet tablets = 1; } +message GetThrottlerStatusRequest { + // TabletAlias is the alias of the tablet to probe + vitess.topodata.dev.TabletAlias tablet_alias = 1; +} + +message GetThrottlerStatusResponse { + vitess.tabletmanagerdata.dev.GetThrottlerStatusResponse status = 1; +} + message GetTopologyPathRequest { string path = 1; + int64 version = 2; + bool as_json = 3; } message GetTopologyPathResponse { @@ -960,6 +1128,42 @@ message TopologyCell { // It is only populated if the cell is a terminal node. string data = 3; repeated string children = 4; + int64 version = 5; +} + +message GetUnresolvedTransactionsRequest { + string keyspace = 1; + int64 abandon_age = 2; // in seconds +} + +message GetUnresolvedTransactionsResponse { + repeated vitess.query.dev.TransactionMetadata transactions = 1; +} + +message GetTransactionInfoRequest { + string dtid = 1; +} + +message ShardTransactionState { + string shard = 1; + string state = 2; + string message = 3; + int64 time_created = 4; + repeated string statements = 5; +} + +message GetTransactionInfoResponse { + vitess.query.dev.TransactionMetadata metadata = 1; + repeated ShardTransactionState shard_states = 2; +} + + +message ConcludeTransactionRequest { + string dtid = 1; + repeated vitess.query.dev.Target participants = 2; +} + +message ConcludeTransactionResponse { } message GetVSchemaRequest { @@ -985,6 +1189,7 @@ message GetWorkflowsRequest { // If you only want a specific workflow then set this field. string workflow = 4; bool include_logs = 5; + repeated string shards = 6; } message GetWorkflowsResponse { @@ -1155,6 +1360,7 @@ message MoveTablesCreateRequest { bool no_routing_rules = 18; // Run a single copy phase for the entire database. bool atomic_copy = 19; + WorkflowOptions workflow_options = 20; } message MoveTablesCreateResponse { @@ -1174,6 +1380,7 @@ message MoveTablesCompleteRequest { bool keep_routing_rules = 5; bool rename_tables = 6; bool dry_run = 7; + repeated string shards = 8; } message MoveTablesCompleteResponse { @@ -1215,6 +1422,11 @@ message PlannedReparentShardRequest { // acceptable for a tablet to be eligible for promotion when Vitess makes the choice of a new primary. // A value of 0 indicates that Vitess shouldn't consider the replication lag at all. vitess.vttime.dev.Duration tolerable_replication_lag = 6; + // AllowCrossCellPromotion allows cross cell promotion, + bool allow_cross_cell_promotion = 7; + // ExpectedPrimary is the optional alias we expect to be the current primary in order for + // the reparent operation to succeed. + vitess.topodata.dev.TabletAlias expected_primary = 8; } message PlannedReparentShardResponse { @@ -1283,7 +1495,7 @@ message ReloadSchemaKeyspaceRequest { // Concurrency is the global concurrency across all shards in the keyspace // (so, at most this many tablets will be reloaded across the keyspace at any // given point). - uint32 concurrency = 4; + int32 concurrency = 4; } message ReloadSchemaKeyspaceResponse { @@ -1296,7 +1508,7 @@ message ReloadSchemaShardRequest { string wait_position = 3; bool include_primary = 4; // Concurrency is the maximum number of tablets to reload at one time. - uint32 concurrency = 5; + int32 concurrency = 5; } message ReloadSchemaShardResponse { @@ -1381,6 +1593,8 @@ message ReshardCreateRequest { bool defer_secondary_keys = 11; // Start the workflow after creating it. bool auto_start = 12; + WorkflowOptions workflow_options = 13; + } message RestoreFromBackupRequest { @@ -1397,6 +1611,8 @@ message RestoreFromBackupRequest { // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. // RestoreToTimestamp and RestoreToPos are mutually exclusive. vitess.vttime.dev.Time restore_to_timestamp = 5; + // AllowedBackupEngines, if present will filter out any backups taken with engines not included in the list + repeated string allowed_backup_engines = 6; } message RestoreFromBackupResponse { @@ -1433,19 +1649,6 @@ message SetKeyspaceDurabilityPolicyResponse { vitess.topodata.dev.Keyspace keyspace = 1; } -message SetKeyspaceServedFromRequest { - string keyspace = 1; - vitess.topodata.dev.TabletType tablet_type = 2; - repeated string cells = 3; - bool remove = 4; - string source_keyspace = 5; -} - -message SetKeyspaceServedFromResponse { - // Keyspace is the updated keyspace record. - vitess.topodata.dev.Keyspace keyspace = 1; -} - message SetKeyspaceShardingInfoRequest { string keyspace = 1; // OBSOLETE string column_name = 2; @@ -1711,25 +1914,86 @@ message ValidateVSchemaResponse { } message VDiffCreateRequest { + // The name of the workflow that we're diffing tables for. string workflow = 1; + // The keyspace where the vreplication workflow is running. string target_keyspace = 2; + // A unique identifier for the vdiff. + // If empty, a new UUID will be generated. string uuid = 3; + // The cells to look for source tablets in. + // If empty, all cells are used. repeated string source_cells = 4; + // The cells to look for target tablets in. + // If empty, all cells are used. repeated string target_cells = 5; + // The tablet types to use when searching for tablets to use when streaming + // results. + // A default value of "replica,rdonly,primary" is used by the tablet picker. repeated vitess.topodata.dev.TabletType tablet_types = 6; + // When performing source tablet selection, look for candidates in the type + // order as they are listed in the tablet_types value (or the default of + // "replica,rdonly,primary" that the tablet picker uses). + // The default is ANY (0) and you can use INORDER (1) to e.g. ensure that a + // primary tablet is only used if there are no available replica or rdonly + // tablets. vitess.tabletmanagerdata.dev.TabletSelectionPreference tablet_selection_preference = 7; + // The tables to compare. If empty, all tables in the workflow are compared. repeated string tables = 8; + // The maximum number of rows to compare for each table on each shard. + // The default is a max int64 value: 2^63 - 1 or 9,223,372,036,854,775,807. int64 limit = 9; + // How long to wait for the relevant vreplication stream(s) to catch up when + // attempting to setup the table snapshots on the source and target to use for + // the diff on each shard. + // The default is 30s. vitess.vttime.dev.Duration filtered_replication_wait_time = 10; + // Include the MySQL query used for the diff in the report that is stored on + // each shard primary tablet in the _vt.vdiff_table records. bool debug_query = 11; + // Only show the Primary Key columns in any row diff output. You would + // typically want to use this if you set the max_sample_rows very high. bool only_p_ks = 12; + // Update the table statistics, using ANALYZE TABLE, on each table involved + // in the vdiff during initialization on each target shard. This will ensure + // that progress estimates are as accurate as possible -- but it does involve + // locks and can potentially impact query processing on the target keyspace. bool update_table_stats = 13; + // If there are collation differences between the source and target, you can + // have rows that are identical but simply returned in a different order from + // MySQL. We will do a second pass to compare the rows for any actual + // differences in this case and this flag allows you to control the resources + // used for this operation. + // The default is 0, comparing no extra rows. int64 max_extra_rows_to_compare = 14; + // Wait for the vdiff to complete before returning (making the call synchronous + // vs asynchronous by default). bool wait = 15; + // When wait is true, this is how frequently the vdiff progress will be shown. vitess.vttime.dev.Duration wait_update_interval = 16; + // Automatically retry the vdiff if we encounter an error. This should almost + // always be set to true (default is false). bool auto_retry = 17; + // Include additional information in the vdiff report that is produced and + // stored on each target shard primary's _vt sidecar database. bool verbose = 18; + // The maximum number of rows to include in the row diff report (when + // differences are found) for each table on each shard. + // The default is 0, which will include no sample rows that differed. int64 max_report_sample_rows = 19; + // The maximum time that a diff of a single table can run on each target shard + // before it is stopped and then later resumed from where we left off. This + // can be helpful in limiting the impact of holding open that large transaction + // where we scan up to every row in the table. + // The default is 0 or no limit. + vitess.vttime.dev.Duration max_diff_duration = 20; + // At what length should we truncate the column values in the row diff report + // generated for each table on each shard when differences are detected. + // The default is 0, meaning do not truncate. + int64 row_diff_column_truncate_at = 21; + // Auto start the vdiff after creating it. + // The default is true if no value is specified. + optional bool auto_start = 22; } message VDiffCreateResponse { @@ -1752,6 +2016,7 @@ message VDiffResumeRequest { string workflow = 1; string target_keyspace = 2; string uuid = 3; + repeated string target_shards = 4; } message VDiffResumeResponse { @@ -1773,6 +2038,7 @@ message VDiffStopRequest { string workflow = 1; string target_keyspace = 2; string uuid = 3; + repeated string target_shards = 4; } message VDiffStopResponse { @@ -1783,6 +2049,11 @@ message WorkflowDeleteRequest { string workflow = 2; bool keep_data = 3; bool keep_routing_rules = 4; + repeated string shards = 5; + // The max records to delete from the moved tables when cleaning + // up the migrated data. This is only used with multi-tenant + // MoveTables migrations. + int64 delete_batch_size = 6; } message WorkflowDeleteResponse { @@ -1798,6 +2069,7 @@ message WorkflowDeleteResponse { message WorkflowStatusRequest { string keyspace = 1; string workflow = 2; + repeated string shards = 3; } message WorkflowStatusResponse { @@ -1837,6 +2109,8 @@ message WorkflowSwitchTrafficRequest { vitess.vttime.dev.Duration timeout = 8; bool dry_run = 9; bool initialize_target_sequences = 10; + repeated string shards = 11; + bool force = 12; } message WorkflowSwitchTrafficResponse { @@ -1863,3 +2137,23 @@ message WorkflowUpdateResponse { string summary = 1; repeated TabletInfo details = 2; } + +message GetMirrorRulesRequest { +} + +message GetMirrorRulesResponse { + vitess.vschema.dev.MirrorRules mirror_rules = 1; +} + +message WorkflowMirrorTrafficRequest { + string keyspace = 1; + string workflow = 2; + repeated vitess.topodata.dev.TabletType tablet_types = 3; + float percent = 4; +} + +message WorkflowMirrorTrafficResponse { + string summary = 1; + string start_state = 2; + string current_state = 3; +} diff --git a/src/vitess/vtctldata/v19/vtctldata.proto b/src/vitess/vtctldata/v19/vtctldata.proto new file mode 100644 index 0000000..2e08aa8 --- /dev/null +++ b/src/vitess/vtctldata/v19/vtctldata.proto @@ -0,0 +1,1896 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package contains the data structures for a service allowing +// you to use vtctld as a server for vt commands. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vtctldata/v19;vtctldatav19"; + +package vitess.vtctldata.v19; + +import "vitess/binlogdata/v19/binlogdata.proto"; +import "vitess/logutil/v19/logutil.proto"; +import "vitess/mysqlctl/v19/mysqlctl.proto"; +import "vitess/query/v19/query.proto"; +import "vitess/replicationdata/v19/replicationdata.proto"; +import "vitess/tabletmanagerdata/v19/tabletmanagerdata.proto"; +import "vitess/topodata/v19/topodata.proto"; +import "vitess/vschema/v19/vschema.proto"; +import "vitess/vtrpc/v19/vtrpc.proto"; +import "vitess/vttime/v19/vttime.proto"; + +// ExecuteVtctlCommandRequest is the payload for ExecuteVtctlCommand. +// timeouts are in nanoseconds. +message ExecuteVtctlCommandRequest { + repeated string args = 1; + int64 action_timeout = 2; +} + +// ExecuteVtctlCommandResponse is streamed back by ExecuteVtctlCommand. +message ExecuteVtctlCommandResponse { + vitess.logutil.v19.Event event = 1; +} + +// MaterializationIntent describes the reason for creating the Materialize flow +enum MaterializationIntent { + // CUSTOM is the default value + CUSTOM = 0; + + // MOVETABLES is when we are creating a MoveTables flow + MOVETABLES = 1; + + // CREATELOOKUPINDEX is when we are creating a CreateLookupIndex flow + CREATELOOKUPINDEX = 2; +} + +// TableMaterializeSttings contains the settings for one table. +message TableMaterializeSettings { + string target_table = 1; + // source_expression is a select statement. + string source_expression = 2; + // create_ddl contains the DDL to create the target table. + // If empty, the target table must already exist. + // if "copy", the target table DDL is the same as the source table. + string create_ddl = 3; +} + +// MaterializeSettings contains the settings for the Materialize command. +message MaterializeSettings { + // workflow is the name of the workflow. + string workflow = 1; + string source_keyspace = 2; + string target_keyspace = 3; + // stop_after_copy specifies if vreplication should be stopped after copying. + bool stop_after_copy = 4; + repeated TableMaterializeSettings table_settings = 5; + // optional parameters. + string cell = 6; + string tablet_types = 7; + // ExternalCluster is the name of the mounted cluster which has the source keyspace/db for this workflow + // it is of the type + string external_cluster = 8; + // MaterializationIntent is used to identify the reason behind the materialization workflow: eg. MoveTables, CreateLookupVindex + MaterializationIntent materialization_intent = 9; + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTable + string source_time_zone = 10; + // TargetTimeZone is not currently specifiable by the user, defaults to UTC for the forward workflows + // and to the SourceTimeZone in reverse workflows + string target_time_zone = 11; + repeated string source_shards = 12; + // OnDdl specifies the action to be taken when a DDL is encountered. + string on_ddl = 13; + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + bool defer_secondary_keys = 14; + vitess.tabletmanagerdata.v19.TabletSelectionPreference tablet_selection_preference = 15; + bool atomic_copy = 16; +} + +/* Data types for VtctldServer */ + +message Keyspace { + string name = 1; + vitess.topodata.v19.Keyspace keyspace = 2; +} + +enum QueryOrdering { + NONE = 0; + ASCENDING = 1; + DESCENDING = 2; +} + +// SchemaMigration represents a row in the schema_migrations sidecar table. +message SchemaMigration { + string uuid = 1; + string keyspace = 2; + string shard = 3; + string schema = 4; + string table = 5; + string migration_statement = 6; + Strategy strategy = 7; + string options = 8; + vitess.vttime.v19.Time added_at = 9; + vitess.vttime.v19.Time requested_at = 10; + vitess.vttime.v19.Time ready_at = 11; + vitess.vttime.v19.Time started_at = 12; + vitess.vttime.v19.Time liveness_timestamp = 13; + vitess.vttime.v19.Time completed_at = 14; + vitess.vttime.v19.Time cleaned_up_at = 15; + Status status = 16; + string log_path = 17; + string artifacts = 18; + uint64 retries = 19; + vitess.topodata.v19.TabletAlias tablet = 20; + bool tablet_failure = 21; + float progress = 22; + string migration_context = 23; + string ddl_action = 24; + string message = 25; + int64 eta_seconds = 26; + uint64 rows_copied = 27; + int64 table_rows = 28; + uint32 added_unique_keys = 29; + uint32 removed_unique_keys = 30; + string log_file = 31; + vitess.vttime.v19.Duration artifact_retention = 32; + bool postpone_completion = 33; + string removed_unique_key_names = 34; + string dropped_no_default_column_names = 35; + string expanded_column_names = 36; + string revertible_notes = 37; + bool allow_concurrent = 38; + string reverted_uuid = 39; + bool is_view = 40; + bool ready_to_complete = 41; + int64 vitess_liveness_indicator = 42; + float user_throttle_ratio = 43; + string special_plan = 44; + vitess.vttime.v19.Time last_throttled_at = 45; + string component_throttled = 46; + vitess.vttime.v19.Time cancelled_at = 47; + bool postpone_launch = 48; + string stage = 49; // enum? + uint32 cutover_attempts = 50; + bool is_immediate_operation = 51; + vitess.vttime.v19.Time reviewed_at = 52; + vitess.vttime.v19.Time ready_to_complete_at = 53; + string removed_foreign_key_names = 54; + + enum Strategy { + option allow_alias = true; + // SchemaMigration_VITESS uses vreplication to run the schema migration. It is + // the default strategy for OnlineDDL requests. + // + // SchemaMigration_VITESS was also formerly called "ONLINE". + VITESS = 0; + ONLINE = 0; + GHOST = 1; + PTOSC = 2; + // SchemaMigration_DIRECT runs the migration directly against MySQL (e.g. `ALTER TABLE ...`), + // meaning it is not actually an "online" DDL migration. + DIRECT = 3; + // SchemaMigration_MYSQL is a managed migration (queued and executed by the + // scheduler) but runs through a MySQL `ALTER TABLE`. + MYSQL = 4; + } + + enum Status { + UNKNOWN = 0; + REQUESTED = 1; + CANCELLED = 2; + QUEUED = 3; + READY = 4; + RUNNING = 5; + COMPLETE = 6; + FAILED = 7; + } +} + +message Shard { + string keyspace = 1; + string name = 2; + vitess.topodata.v19.Shard shard = 3; +} + +// TODO: comment the hell out of this. +message Workflow { + string name = 1; + ReplicationLocation source = 2; + ReplicationLocation target = 3; + // This represents how long it's been since we processed any event in the + // stream. + int64 max_v_replication_lag = 4; + map shard_streams = 5; + string workflow_type = 6; + string workflow_sub_type = 7; + // This represents the lag across all shards, between the current time and + // the timestamp of the last transaction OR heartbeat timestamp (if there + // have been no writes to replicate from the source). + int64 max_v_replication_transaction_lag = 8; + // This specifies whether to defer the creation of secondary keys. + bool defer_secondary_keys = 9; + + message ReplicationLocation { + string keyspace = 1; + repeated string shards = 2; + } + + message ShardStream { + repeated Stream streams = 1; + repeated vitess.topodata.v19.Shard.TabletControl tablet_controls = 2; + bool is_primary_serving = 3; + } + + message Stream { + int64 id = 1; + string shard = 2; + vitess.topodata.v19.TabletAlias tablet = 3; + vitess.binlogdata.v19.BinlogSource binlog_source = 4; + string position = 5; + string stop_position = 6; + string state = 7; + string db_name = 8; + vitess.vttime.v19.Time transaction_timestamp = 9; + vitess.vttime.v19.Time time_updated = 10; + string message = 11; + repeated CopyState copy_states = 12; + repeated Log logs = 13; + // LogFetchError is set if we fail to fetch some logs for this stream. We + // will never fail to fetch workflows because we cannot fetch the logs, but + // we will still forward log-fetch errors to the caller, should that be + // relevant to the context in which they are fetching workflows. + // + // Note that this field being set does not necessarily mean that Logs is nil; + // if there are N logs that exist for the stream, and we fail to fetch the + // ith log, we will still return logs in [0, i) + (i, N]. + string log_fetch_error = 14; + repeated string tags = 15; + int64 rows_copied = 16; + ThrottlerStatus throttler_status = 17; + repeated vitess.topodata.v19.TabletType tablet_types = 18; + vitess.tabletmanagerdata.v19.TabletSelectionPreference tablet_selection_preference = 19; + repeated string cells = 20; + + message CopyState { + string table = 1; + string last_pk = 2; + int64 stream_id = 3; + } + + message Log { + int64 id = 1; + int64 stream_id = 2; + string type = 3; + string state = 4; + vitess.vttime.v19.Time created_at = 5; + vitess.vttime.v19.Time updated_at = 6; + string message = 7; + int64 count = 8; + } + + message ThrottlerStatus { + string component_throttled = 1; + vitess.vttime.v19.Time time_throttled = 2; + } + } +} + +/* Request/response types for VtctldServer */ + + +message AddCellInfoRequest { + string name = 1; + vitess.topodata.v19.CellInfo cell_info = 2; +} + +message AddCellInfoResponse { +} + +message AddCellsAliasRequest { + string name = 1; + repeated string cells = 2; +} + +message AddCellsAliasResponse { +} + +message ApplyRoutingRulesRequest { + vitess.vschema.v19.RoutingRules routing_rules = 1; + // SkipRebuild, if set, will cause ApplyRoutingRules to skip rebuilding the + // SrvVSchema objects in each cell in RebuildCells. + bool skip_rebuild = 2; + // RebuildCells limits the SrvVSchema rebuild to the specified cells. If not + // provided the SrvVSchema will be rebuilt in every cell in the topology. + // + // Ignored if SkipRebuild is set. + repeated string rebuild_cells = 3; +} + +message ApplyRoutingRulesResponse { +} + +message ApplyShardRoutingRulesRequest { + vitess.vschema.v19.ShardRoutingRules shard_routing_rules = 1; + // SkipRebuild, if set, will cause ApplyShardRoutingRules to skip rebuilding the + // SrvVSchema objects in each cell in RebuildCells. + bool skip_rebuild = 2; + // RebuildCells limits the SrvVSchema rebuild to the specified cells. If not + // provided the SrvVSchema will be rebuilt in every cell in the topology. + // + // Ignored if SkipRebuild is set. + repeated string rebuild_cells = 3; +} + +message ApplyShardRoutingRulesResponse { +} + +message ApplySchemaRequest { + string keyspace = 1; + reserved 2; + // SQL commands to run. + repeated string sql = 3; + // Online DDL strategy, compatible with @@ddl_strategy session variable (examples: 'gh-ost', 'pt-osc', 'gh-ost --max-load=Threads_running=100'") + string ddl_strategy = 4; + // Optional: explicit UUIDs for migration. + // If given, must match number of DDL changes + repeated string uuid_list = 5; + // For Online DDL, optionally supply a custom unique string used as context for the migration(s) in this command. + // By default a unique context is auto-generated by Vitess + string migration_context = 6; + // WaitReplicasTimeout is the duration of time to wait for replicas to catch + // up in reparenting. + vitess.vttime.v19.Duration wait_replicas_timeout = 7; + + reserved 8; + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 9; + // BatchSize indicates how many queries to apply together + int64 batch_size = 10; +} + +message ApplySchemaResponse { + repeated string uuid_list = 1; + map rows_affected_by_shard = 2; +} + +message ApplyVSchemaRequest { + string keyspace = 1; + bool skip_rebuild = 2; + bool dry_run = 3; + repeated string cells = 4; + vitess.vschema.v19.Keyspace v_schema = 5; + string sql = 6; + // Strict returns an error if there are unknown vindex params. + bool strict = 7; +} + +message ApplyVSchemaResponse { + vitess.vschema.v19.Keyspace v_schema = 1; + // UnknownVindexParams is a map of vindex name to params that were not recognized by the vindex + // type. E.g.: + // + // { + // "lookup_vdx": { + // "params": ["raed_lock", "not_verify"] + // } + // } + map unknown_vindex_params = 2; + + message ParamList { + repeated string params = 1; + } +} + +message BackupRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + // AllowPrimary allows the backup to proceed if TabletAlias is a PRIMARY. + // + // WARNING: If using the builtin backup engine, this will shutdown mysqld on + // the primary for the duration of the backup, and no writes will be possible. + bool allow_primary = 2; + // Concurrency specifies the number of compression/checksum jobs to run + // simultaneously. + int32 concurrency = 3; + // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty + // then the backup becomes incremental and applies as of given position. + string incremental_from_pos = 4; + // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 + // so that it's a backup that can be used for an upgrade. + bool upgrade_safe = 5; +} + +message BackupResponse { + // TabletAlias is the alias being used for the backup. + vitess.topodata.v19.TabletAlias tablet_alias = 1; + string keyspace = 2; + string shard = 3; + vitess.logutil.v19.Event event = 4; +} + +message BackupShardRequest { + string keyspace = 1; + string shard = 2; + // AllowPrimary allows the backup to occur on a PRIMARY tablet. See + // BackupRequest.AllowPrimary for warnings and caveats. + bool allow_primary = 3; + // Concurrency specifies the number of compression/checksum jobs to run + // simultaneously. + int32 concurrency = 4; + // UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 + // so that it's a backup that can be used for an upgrade. + bool upgrade_safe = 5; + // IncrementalFromPos indicates a position of a previous backup. When this value is non-empty + // then the backup becomes incremental and applies as of given position. + string incremental_from_pos = 6; +} + +message CancelSchemaMigrationRequest { + string keyspace = 1; + string uuid = 2; +} + +message CancelSchemaMigrationResponse { + map rows_affected_by_shard = 1; +} + +message ChangeTabletTypeRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + vitess.topodata.v19.TabletType db_type = 2; + bool dry_run = 3; +} + +message ChangeTabletTypeResponse { + vitess.topodata.v19.Tablet before_tablet = 1; + vitess.topodata.v19.Tablet after_tablet = 2; + bool was_dry_run = 3; +} + +message CleanupSchemaMigrationRequest { + string keyspace = 1; + string uuid = 2; +} + +message CleanupSchemaMigrationResponse { + map rows_affected_by_shard = 1; +} + +message CompleteSchemaMigrationRequest { + string keyspace = 1; + string uuid = 2; +} + +message CompleteSchemaMigrationResponse { + map rows_affected_by_shard = 1; +} + +message CreateKeyspaceRequest { + // Name is the name of the keyspace. + string name = 1; + // Force proceeds with the request even if the keyspace already exists. + bool force = 2; + // AllowEmptyVSchema allows a keyspace to be created with no vschema. + bool allow_empty_v_schema = 3; + + // OBSOLETE string sharding_column_name = 4; + reserved 4; + + // OBSOLETE topodata.KeyspaceIdType sharding_column_type = 5; + reserved 5; + + // OBSOLETE: repeated topodata.Keyspace.ServedFrom served_froms = 6; + reserved 6; + + // Type is the type of the keyspace to create. + vitess.topodata.v19.KeyspaceType type = 7; + // BaseKeyspace specifies the base keyspace for SNAPSHOT keyspaces. It is + // required to create a SNAPSHOT keyspace. + string base_keyspace = 8; + // SnapshotTime specifies the snapshot time for this keyspace. It is required + // to create a SNAPSHOT keyspace. + vitess.vttime.v19.Time snapshot_time = 9; + // DurabilityPolicy is the durability policy to be + // used for this keyspace. + string durability_policy = 10; + // SidecarDBName is the name of the sidecar database that + // each vttablet in the keyspace will use. + string sidecar_db_name = 11; +} + +message CreateKeyspaceResponse { + // Keyspace is the newly-created keyspace. + Keyspace keyspace = 1; +} + +message CreateShardRequest { + // Keyspace is the name of the keyspace to create the shard in. + string keyspace = 1; + // ShardName is the name of the shard to create. E.g. "-" or "-80". + string shard_name = 2; + // Force treats an attempt to create a shard that already exists as a + // non-error. + bool force = 3; + // IncludeParent creates the parent keyspace as an empty BASE keyspace, if it + // doesn't already exist. + bool include_parent = 4; +} + +message CreateShardResponse { + // Keyspace is the created keyspace. It is set only if IncludeParent was + // specified in the request and the parent keyspace needed to be created. + Keyspace keyspace = 1; + // Shard is the newly-created shard object. + Shard shard = 2; + // ShardAlreadyExists is set if Force was specified in the request and the + // shard already existed. + bool shard_already_exists = 3; +} + +message DeleteCellInfoRequest { + string name = 1; + bool force = 2; +} + +message DeleteCellInfoResponse { +} + +message DeleteCellsAliasRequest { + string name = 1; +} + +message DeleteCellsAliasResponse { +} + +message DeleteKeyspaceRequest { + // Keyspace is the name of the keyspace to delete. + string keyspace = 1; + // Recursive causes all shards in the keyspace to be recursively deleted + // before deleting the keyspace. It is an error to call DeleteKeyspace on a + // non-empty keyspace without also specifying Recursive. + bool recursive = 2; + // Force allows a keyspace to be deleted even if the keyspace lock cannot be + // obtained. This should only be used to force-clean a keyspace. + bool force = 3; +} + +message DeleteKeyspaceResponse { +} + +message DeleteShardsRequest { + // Shards is the list of shards to delete. The nested topodatapb.Shard field + // is not required for DeleteShard, but the Keyspace and Shard fields are. + repeated Shard shards = 1; + // Recursive also deletes all tablets belonging to the shard(s). It is an + // error to call DeleteShard on a non-empty shard without also specificying + // Recursive. + bool recursive = 2; + // EvenIfServing allows a shard to be deleted even if it is serving, which is + // normally an error. Use with caution. + bool even_if_serving = 4; + // Force allows a shard to be deleted even if the shard lock cannot be + // obtained. This should only be used to force-clean a shard. + bool force = 5; +} + +message DeleteShardsResponse { +} + +message DeleteSrvVSchemaRequest { + string cell = 1; +} + +message DeleteSrvVSchemaResponse { +} + +message DeleteTabletsRequest { + // TabletAliases is the list of tablets to delete. + repeated vitess.topodata.v19.TabletAlias tablet_aliases = 1; + // AllowPrimary allows for the primary tablet of a shard to be deleted. + // Use with caution. + bool allow_primary = 2; +} + +message DeleteTabletsResponse { +} + +message EmergencyReparentShardRequest { + // Keyspace is the name of the keyspace to perform the Emergency Reparent in. + string keyspace = 1; + // Shard is the name of the shard to perform the Emergency Reparent in. + string shard = 2; + // Optional alias of a tablet that should become the new shard primary. If not + // not specified, the vtctld will select the most up-to-date canditate to + // promote. + vitess.topodata.v19.TabletAlias new_primary = 3; + // List of replica aliases to ignore during the Emergency Reparent. The vtctld + // will not attempt to stop replication on these tablets, nor attempt to + // demote any that may think they are the shard primary. + repeated vitess.topodata.v19.TabletAlias ignore_replicas = 4; + // WaitReplicasTimeout is the duration of time to wait for replicas to catch + // up in reparenting. + vitess.vttime.v19.Duration wait_replicas_timeout = 5; + // PreventCrossCellPromotion is used to only promote the new primary from the same cell + // as the failed primary. + bool prevent_cross_cell_promotion = 6; + // WaitForAllTablets makes ERS wait for a response from all the tablets before proceeding. + // Useful when all the tablets are up and reachable. + bool wait_for_all_tablets = 7; +} + +message EmergencyReparentShardResponse { + // Keyspace is the name of the keyspace the Emergency Reparent took place in. + string keyspace = 1; + // Shard is the name of the shard the Emergency Reparent took place in. + string shard = 2; + // PromotedPrimary is the alias of the tablet that was promoted to shard + // primary. If NewPrimary was set in the request, then this will be the same + // alias. Otherwise, it will be the alias of the tablet found to be most + // up-to-date. + vitess.topodata.v19.TabletAlias promoted_primary = 3; + repeated vitess.logutil.v19.Event events = 4; +} + +message ExecuteFetchAsAppRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + string query = 2; + // MaxRows is an optional parameter to limit the number of rows read into the + // QueryResult. Note that this does not apply a LIMIT to the query, just how + // many rows are read from the MySQL server on the tablet side. + // + // This field is optional. Specifying a non-positive value will use whatever + // default is configured in the VtctldService. + int64 max_rows = 3; + // UsePool causes the query to be run with a pooled connection to the tablet. + bool use_pool = 4; +} + +message ExecuteFetchAsAppResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ExecuteFetchAsDBARequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + string query = 2; + // MaxRows is an optional parameter to limit the number of rows read into the + // QueryResult. Note that this does not apply a LIMIT to the query, just how + // many rows are read from the MySQL server on the tablet side. + // + // This field is optional. Specifying a non-positive value will use whatever + // default is configured in the VtctldService. + int64 max_rows = 3; + // DisableBinlogs instructs the tablet not to use binary logging when + // executing the query. + bool disable_binlogs = 4; + // ReloadSchema instructs the tablet to reload its schema after executing the + // query. + bool reload_schema = 5; +} + +message ExecuteFetchAsDBAResponse { + vitess.query.v19.QueryResult result = 1; +} + +message ExecuteHookRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + vitess.tabletmanagerdata.v19.ExecuteHookRequest tablet_hook_request = 2; +} + +message ExecuteHookResponse { + vitess.tabletmanagerdata.v19.ExecuteHookResponse hook_result = 1; +} + +message FindAllShardsInKeyspaceRequest { + string keyspace = 1; +} + +message FindAllShardsInKeyspaceResponse { + map shards = 1; +} + +message ForceCutOverSchemaMigrationRequest { + string keyspace = 1; + string uuid = 2; +} + +message ForceCutOverSchemaMigrationResponse { + map rows_affected_by_shard = 1; +} + +message GetBackupsRequest { + string keyspace = 1; + string shard = 2; + // Limit, if nonzero, will return only the most N recent backups. + uint32 limit = 3; + // Detailed indicates whether to use the backupengine, if supported, to + // populate additional fields, such as Engine and Status, on BackupInfo + // objects in the response. If not set, or if the backupengine does not + // support populating these fields, Engine will always be empty, and Status + // will always be UNKNOWN. + bool detailed = 4; + // DetailedLimit, if nonzero, will only populate additional fields (see Detailed) + // on the N most recent backups. The Limit field still dictates the total + // number of backup info objects returned, so, in reality, min(Limit, DetailedLimit) + // backup infos will have additional fields set, and any remaining backups + // will not. + uint32 detailed_limit = 5; +} + +message GetBackupsResponse { + repeated vitess.mysqlctl.v19.BackupInfo backups = 1; +} + +message GetCellInfoRequest { + string cell = 1; +} + +message GetCellInfoResponse { + vitess.topodata.v19.CellInfo cell_info = 1; +} + +message GetCellInfoNamesRequest { +} + +message GetCellInfoNamesResponse { + repeated string names = 1; +} + +message GetCellsAliasesRequest { +} + +message GetCellsAliasesResponse { + map aliases = 1; +} + +message GetFullStatusRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message GetFullStatusResponse { + vitess.replicationdata.v19.FullStatus status = 1; +} + +message GetKeyspacesRequest { +} + +message GetKeyspacesResponse { + repeated Keyspace keyspaces = 1; +} + +message GetKeyspaceRequest { + string keyspace = 1; +} + +message GetKeyspaceResponse { + Keyspace keyspace = 1; +} + +message GetPermissionsRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message GetPermissionsResponse { + vitess.tabletmanagerdata.v19.Permissions permissions = 1; +} + +message GetRoutingRulesRequest { +} + +message GetRoutingRulesResponse { + vitess.vschema.v19.RoutingRules routing_rules = 1; +} + +message GetSchemaRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + // Tables is a list of tables for which we should gather information. Each is + // either an exact match, or a regular expression of the form /regexp/. + repeated string tables = 2; + // ExcludeTables is a list of tables to exclude from the result. Each is + // either an exact match, or a regular expression of the form /regexp/. + repeated string exclude_tables = 3; + // IncludeViews specifies whether to include views in the result. + bool include_views = 4; + // TableNamesOnly specifies whether to limit the results to just table names, + // rather than full schema information for each table. + bool table_names_only = 5; + // TableSizesOnly specifies whether to limit the results to just table sizes, + // rather than full schema information for each table. It is ignored if + // TableNamesOnly is set to true. + bool table_sizes_only = 6; + // TableSchemaOnly specifies whether to limit the results to just table/view + // schema definition (CREATE TABLE/VIEW statements) and skip column/field information + bool table_schema_only = 7; +} + +message GetSchemaResponse { + vitess.tabletmanagerdata.v19.SchemaDefinition schema = 1; +} + +// GetSchemaMigrationsRequest controls the behavior of the GetSchemaMigrations +// rpc. +// +// Keyspace is a required field, while all other fields are optional. +// +// If UUID is set, other optional fields will be ignored, since there will be at +// most one migration with that UUID. Furthermore, if no migration with that +// UUID exists, an empty response, not an error, is returned. +// +// MigrationContext, Status, and Recent are mutually exclusive. +message GetSchemaMigrationsRequest { + string keyspace = 1; + // Uuid, if set, will cause GetSchemaMigrations to return exactly 1 migration, + // namely the one with that UUID. If no migration exists, the response will + // be an empty slice, not an error. + // + // If this field is set, other fields (status filters, limit, skip, order) are + // ignored. + string uuid = 2; + + string migration_context = 3; + SchemaMigration.Status status = 4; + // Recent, if set, returns migrations requested between now and the provided + // value. + vitess.vttime.v19.Duration recent = 5; + + QueryOrdering order = 6; + uint64 limit = 7; + uint64 skip = 8; +} + +message GetSchemaMigrationsResponse { + repeated SchemaMigration migrations = 1; +} + +message GetShardReplicationRequest { + string keyspace = 1; + string shard = 2; + // Cells is the list of cells to fetch data for. Omit to fetch data from all + // cells. + repeated string cells = 3; +} + +message GetShardReplicationResponse { + map shard_replication_by_cell = 1; +} + +message GetShardRequest { + string keyspace = 1; + string shard_name = 2; +} + +message GetShardResponse { + Shard shard = 1; +} + +message GetShardRoutingRulesRequest { +} + +message GetShardRoutingRulesResponse { + vitess.vschema.v19.ShardRoutingRules shard_routing_rules = 1; +} + +message GetSrvKeyspaceNamesRequest { + repeated string cells = 1; +} + +message GetSrvKeyspaceNamesResponse { + // Names is a mapping of cell name to a list of SrvKeyspace names. + map names = 1; + + message NameList { + repeated string names = 1; + } +} + +message GetSrvKeyspacesRequest { + string keyspace = 1; + // Cells is a list of cells to lookup a SrvKeyspace for. Leaving this empty is + // equivalent to specifying all cells in the topo. + repeated string cells = 2; +} + +message GetSrvKeyspacesResponse { + // SrvKeyspaces is a mapping of cell name to SrvKeyspace. + map srv_keyspaces = 1; +} + +message UpdateThrottlerConfigRequest { + string keyspace = 1; + // Enable instructs to enable the throttler + bool enable = 2; + // Disable instructs to disable the throttler + bool disable = 3; + // Threshold for throttler (with no custom query, ie using default query, only positive values are considered) + double threshold = 4; + // CustomQuery replaces the default replication lag query + string custom_query = 5; + // CustomQuerySet indicates that the value of CustomQuery has changed + bool custom_query_set = 6; + // CheckAsCheckSelf instructs the throttler to respond to /check requests by checking the tablet's own health + bool check_as_check_self = 7; + // CheckAsCheckShard instructs the throttler to respond to /check requests by checking the shard's health (this is the default behavior) + bool check_as_check_shard = 8; + // ThrottledApp indicates a single throttled app rule (ignored if name is empty) + vitess.topodata.v19.ThrottledAppRule throttled_app = 9; +} + +message UpdateThrottlerConfigResponse { +} + +message GetSrvVSchemaRequest { + string cell = 1; +} + +message GetSrvVSchemaResponse { + vitess.vschema.v19.SrvVSchema srv_v_schema = 1; +} + +message GetSrvVSchemasRequest { + repeated string cells = 2; +} + +message GetSrvVSchemasResponse { + // SrvVSchemas is a mapping of cell name to SrvVSchema + map srv_v_schemas = 1; +} + +message GetTabletRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message GetTabletResponse { + vitess.topodata.v19.Tablet tablet = 1; +} + +message GetTabletsRequest { + // Keyspace is the name of the keyspace to return tablets for. Omit to return + // tablets from all keyspaces. + string keyspace = 1; + // Shard is the name of the shard to return tablets for. This field is ignored + // if Keyspace is not set. + string shard = 2; + // Cells is an optional set of cells to return tablets for. + repeated string cells = 3; + // Strict specifies how the server should treat failures from individual + // cells. + // + // When false (the default), GetTablets will return data from any cells that + // return successfully, but will fail the request if all cells fail. When + // true, any individual cell can fail the full request. + bool strict = 4; + // TabletAliases is an optional list of tablet aliases to fetch Tablet objects + // for. If specified, Keyspace, Shard, and Cells are ignored, and tablets are + // looked up by their respective aliases' Cells directly. + repeated vitess.topodata.v19.TabletAlias tablet_aliases = 5; + // tablet_type specifies the type of tablets to return. Omit to return all + // tablet types. + vitess.topodata.v19.TabletType tablet_type = 6; +} + +message GetTabletsResponse { + repeated vitess.topodata.v19.Tablet tablets = 1; +} + +message GetTopologyPathRequest { + string path = 1; +} + +message GetTopologyPathResponse { + TopologyCell cell = 1; +} + +message TopologyCell { + string name = 1; + string path = 2; + // Data is the file contents of the cell located at path. + // It is only populated if the cell is a terminal node. + string data = 3; + repeated string children = 4; +} + +message GetVSchemaRequest { + string keyspace = 1; +} + +message GetVersionRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message GetVersionResponse { + string version = 1; +} + +message GetVSchemaResponse { + vitess.vschema.v19.Keyspace v_schema = 1; +} + +message GetWorkflowsRequest { + string keyspace = 1; + bool active_only = 2; + bool name_only = 3; + // If you only want a specific workflow then set this field. + string workflow = 4; + bool include_logs = 5; + repeated string shards = 6; +} + +message GetWorkflowsResponse { + repeated Workflow workflows = 1; +} + +message InitShardPrimaryRequest { + string keyspace = 1; + string shard = 2; + vitess.topodata.v19.TabletAlias primary_elect_tablet_alias = 3; + bool force = 4; + vitess.vttime.v19.Duration wait_replicas_timeout = 5; +} + +message InitShardPrimaryResponse { + repeated vitess.logutil.v19.Event events = 1; +} + +message LaunchSchemaMigrationRequest { + string keyspace = 1; + string uuid = 2; +} + +message LaunchSchemaMigrationResponse { + map rows_affected_by_shard = 1; +} + +message LookupVindexCreateRequest { + string keyspace = 1; + string workflow = 2; + repeated string cells = 3; + vitess.vschema.v19.Keyspace vindex = 4; + bool continue_after_copy_with_owner = 5; + repeated vitess.topodata.v19.TabletType tablet_types = 6; + vitess.tabletmanagerdata.v19.TabletSelectionPreference tablet_selection_preference = 7; +} + +message LookupVindexCreateResponse { +} + +message LookupVindexExternalizeRequest { + // Where the lookup vindex lives. + string keyspace = 1; + // This is the name of the lookup vindex and the vreplication workflow. + string name = 2; + // Where the vreplication workflow lives. + string table_keyspace = 3; +} + +message LookupVindexExternalizeResponse { + // Was the workflow also deleted. + bool workflow_deleted = 1; +} + +message MaterializeCreateRequest { + MaterializeSettings settings = 1; +} + +message MaterializeCreateResponse { +} + +message MigrateCreateRequest { + // The necessary info gets passed on to each primary tablet involved + // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. + string workflow = 1; + string source_keyspace = 2; + string target_keyspace = 3; + string mount_name = 4; + repeated string cells = 5; + repeated vitess.topodata.v19.TabletType tablet_types = 6; + vitess.tabletmanagerdata.v19.TabletSelectionPreference tablet_selection_preference = 7; + bool all_tables = 8; + repeated string include_tables = 9; + repeated string exclude_tables = 10; + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + string source_time_zone = 11; + // OnDdl specifies the action to be taken when a DDL is encountered. + string on_ddl = 12; + // StopAfterCopy specifies if vreplication should be stopped after copying. + bool stop_after_copy = 13; + // DropForeignKeys specifies if foreign key constraints should be elided on the target. + bool drop_foreign_keys = 14; + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + bool defer_secondary_keys = 15; + // Start the workflow after creating it. + bool auto_start = 16; + // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. + bool no_routing_rules = 17; +} + +message MigrateCompleteRequest { + string workflow = 1; + string target_keyspace = 3; + bool keep_data = 4; + bool keep_routing_rules = 5; + bool rename_tables = 6; + bool dry_run = 7; +} + +message MigrateCompleteResponse { + string summary = 1; + repeated string dry_run_results = 2; +} + +message MountRegisterRequest { + string topo_type = 1; + string topo_server = 2; + string topo_root = 3; + string name = 4; +} + +message MountRegisterResponse { +} + +message MountUnregisterRequest { + string name = 4; +} + +message MountUnregisterResponse { +} + +message MountShowRequest { + string name = 4; +} + +message MountShowResponse { + string topo_type = 1; + string topo_server = 2; + string topo_root = 3; + string name = 4; +} + +message MountListRequest { +} + +message MountListResponse { + repeated string names = 1; +} + +message MoveTablesCreateRequest { + // The necessary info gets passed on to each primary tablet involved + // in the workflow via the CreateVReplicationWorkflow tabletmanager RPC. + string workflow = 1; + string source_keyspace = 2; + string target_keyspace = 3; + repeated string cells = 4; + repeated vitess.topodata.v19.TabletType tablet_types = 5; + vitess.tabletmanagerdata.v19.TabletSelectionPreference tablet_selection_preference = 6; + repeated string source_shards = 7; + bool all_tables = 8; + repeated string include_tables = 9; + repeated string exclude_tables = 10; + // The name of the external cluster mounted in topo server. + string external_cluster_name = 11; + // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables + string source_time_zone = 12; + // OnDdl specifies the action to be taken when a DDL is encountered. + string on_ddl = 13; + // StopAfterCopy specifies if vreplication should be stopped after copying. + bool stop_after_copy = 14; + // DropForeignKeys specifies if foreign key constraints should be elided on the target. + bool drop_foreign_keys = 15; + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + bool defer_secondary_keys = 16; + // Start the workflow after creating it. + bool auto_start = 17; + // NoRoutingRules is set to true if routing rules should not be created on the target when the workflow is created. + bool no_routing_rules = 18; + // Run a single copy phase for the entire database. + bool atomic_copy = 19; +} + +message MoveTablesCreateResponse { + message TabletInfo { + vitess.topodata.v19.TabletAlias tablet = 1; + // Created is set if the workflow was created on this tablet or not. + bool created = 2; + } + string summary = 1; + repeated TabletInfo details = 2; +} + +message MoveTablesCompleteRequest { + string workflow = 1; + string target_keyspace = 3; + bool keep_data = 4; + bool keep_routing_rules = 5; + bool rename_tables = 6; + bool dry_run = 7; + repeated string shards = 8; +} + +message MoveTablesCompleteResponse { + string summary = 1; + repeated string dry_run_results = 2; +} + +message PingTabletRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message PingTabletResponse { +} + +message PlannedReparentShardRequest { + // Keyspace is the name of the keyspace to perform the Planned Reparent in. + string keyspace = 1; + // Shard is the name of the shard to perform teh Planned Reparent in. + string shard = 2; + // NewPrimary is the alias of the tablet to promote to shard primary. If not + // specified, the vtctld will select the most up-to-date candidate to promote. + // + // It is an error to set NewPrimary and AvoidPrimary to the same alias. + vitess.topodata.v19.TabletAlias new_primary = 3; + // AvoidPrimary is the alias of the tablet to demote. In other words, + // specifying an AvoidPrimary alias tells the vtctld to promote any replica + // other than this one. A shard whose current primary is not this one is then + // a no-op. + // + // It is an error to set NewPrimary and AvoidPrimary to the same alias. + vitess.topodata.v19.TabletAlias avoid_primary = 4; + // WaitReplicasTimeout is the duration of time to wait for replicas to catch + // up in replication both before and after the reparent. The timeout is not + // cumulative across both wait periods, meaning that the replicas have + // WaitReplicasTimeout time to catch up before the reparent, and an additional + // WaitReplicasTimeout time to catch up after the reparent. + vitess.vttime.v19.Duration wait_replicas_timeout = 5; + // TolerableReplicationLag is the amount of replication lag that is considered + // acceptable for a tablet to be eligible for promotion when Vitess makes the choice of a new primary. + // A value of 0 indicates that Vitess shouldn't consider the replication lag at all. + vitess.vttime.v19.Duration tolerable_replication_lag = 6; +} + +message PlannedReparentShardResponse { + // Keyspace is the name of the keyspace the Planned Reparent took place in. + string keyspace = 1; + // Shard is the name of the shard the Planned Reparent took place in. + string shard = 2; + // PromotedPrimary is the alias of the tablet that was promoted to shard + // primary. If NewPrimary was set in the request, then this will be the same + // alias. Otherwise, it will be the alias of the tablet found to be most + // up-to-date. + vitess.topodata.v19.TabletAlias promoted_primary = 3; + repeated vitess.logutil.v19.Event events = 4; +} + +message RebuildKeyspaceGraphRequest { + string keyspace = 1; + repeated string cells = 2; + // AllowPartial, when set, allows a SNAPSHOT keyspace to serve with an + // incomplete set of shards. It is ignored for all other keyspace types. + bool allow_partial = 3; +} + +message RebuildKeyspaceGraphResponse { +} + +message RebuildVSchemaGraphRequest { + // Cells specifies the cells to rebuild the SrvVSchema objects for. If empty, + // RebuildVSchemaGraph rebuilds the SrvVSchema for every cell in the topo. + repeated string cells = 1; +} + +message RebuildVSchemaGraphResponse { +} + +message RefreshStateRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message RefreshStateResponse { +} + +message RefreshStateByShardRequest { + string keyspace = 1; + string shard = 2; + repeated string cells = 3; +} + +message RefreshStateByShardResponse { + bool is_partial_refresh = 1; + // This explains why we had a partial refresh (if we did) + string partial_refresh_details = 2; +} + +message ReloadSchemaRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message ReloadSchemaResponse { +} + +message ReloadSchemaKeyspaceRequest { + string keyspace = 1; + string wait_position = 2; + bool include_primary = 3; + // Concurrency is the global concurrency across all shards in the keyspace + // (so, at most this many tablets will be reloaded across the keyspace at any + // given point). + int32 concurrency = 4; +} + +message ReloadSchemaKeyspaceResponse { + repeated vitess.logutil.v19.Event events = 1; +} + +message ReloadSchemaShardRequest { + string keyspace = 1; + string shard = 2; + string wait_position = 3; + bool include_primary = 4; + // Concurrency is the maximum number of tablets to reload at one time. + int32 concurrency = 5; +} + +message ReloadSchemaShardResponse { + repeated vitess.logutil.v19.Event events = 2; +} + +message RemoveBackupRequest { + string keyspace = 1; + string shard = 2; + string name = 3; +} + +message RemoveBackupResponse { +} + +message RemoveKeyspaceCellRequest { + string keyspace = 1; + string cell = 2; + // Force proceeds even if the cell's topology server cannot be reached. This + // should only be set if a cell has been shut down entirely, and the global + // topology data just needs to be updated. + bool force = 3; + // Recursive also deletes all tablets in that cell belonging to the specified + // keyspace. + bool recursive = 4; +} + +message RemoveKeyspaceCellResponse { + // (TODO:@amason) Consider including the deleted SrvKeyspace object and any + // deleted Tablet objects here. +} + +message RemoveShardCellRequest { + string keyspace = 1; + string shard_name = 2; + string cell = 3; + // Force proceeds even if the cell's topology server cannot be reached. This + // should only be set if a cell has been shut down entirely, and the global + // topology data just needs to be updated. + bool force = 4; + // Recursive also deletes all tablets in that cell belonging to the specified + // keyspace and shard. + bool recursive = 5; +} + +message RemoveShardCellResponse { + // (TODO:@amason) Consider including the deleted SrvKeyspacePartitions objects + // and any deleted Tablet objects here. +} + +message ReparentTabletRequest { + // Tablet is the alias of the tablet that should be reparented under the + // current shard primary. + vitess.topodata.v19.TabletAlias tablet = 1; +} + +message ReparentTabletResponse { + // Keyspace is the name of the keyspace the tablet was reparented in. + string keyspace = 1; + // Shard is the name of the shard the tablet was reparented in. + string shard = 2; + // Primary is the alias of the tablet that the tablet was reparented under. + vitess.topodata.v19.TabletAlias primary = 3; +} + +message ReshardCreateRequest { + string workflow = 1; + string keyspace = 2; + repeated string source_shards = 3; + repeated string target_shards = 4; + repeated string cells = 5; + repeated vitess.topodata.v19.TabletType tablet_types = 6; + vitess.tabletmanagerdata.v19.TabletSelectionPreference tablet_selection_preference = 7; + // SkipSchemaCopy specifies if the schema should be copied from the source shard, set false if + // schema is already created on the target shard before Reshard is invoked. + bool skip_schema_copy = 8; + // OnDdl specifies the action to be taken when a DDL is encountered. + string on_ddl = 9; + // StopAfterCopy specifies if vreplication should be stopped after copying. + bool stop_after_copy = 10; + // DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes. + bool defer_secondary_keys = 11; + // Start the workflow after creating it. + bool auto_start = 12; +} + +message RestoreFromBackupRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + // BackupTime, if set, will use the backup taken most closely at or before + // this time. If nil, the latest backup will be restored on the tablet. + vitess.vttime.v19.Time backup_time = 2; + // RestoreToPos indicates a position for a point-in-time recovery. The recovery + // is expected to utilize one full backup, followed by zero or more incremental backups, + // that reach the precise desired position + string restore_to_pos = 3; + // Dry run does not actually performs the restore, but validates the steps and availability of backups + bool dry_run = 4; + // RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. + // RestoreToTimestamp and RestoreToPos are mutually exclusive. + vitess.vttime.v19.Time restore_to_timestamp = 5; +} + +message RestoreFromBackupResponse { + // TabletAlias is the alias of the tablet doing the restore. + vitess.topodata.v19.TabletAlias tablet_alias = 1; + string keyspace = 2; + string shard = 3; + vitess.logutil.v19.Event event = 4; +} + +message RetrySchemaMigrationRequest { + string keyspace = 1; + string uuid = 2; +} + +message RetrySchemaMigrationResponse { + map rows_affected_by_shard = 1; +} + +message RunHealthCheckRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message RunHealthCheckResponse { +} + +message SetKeyspaceDurabilityPolicyRequest { + string keyspace = 1; + string durability_policy = 2; +} + +message SetKeyspaceDurabilityPolicyResponse { + // Keyspace is the updated keyspace record. + vitess.topodata.v19.Keyspace keyspace = 1; +} + +message SetKeyspaceShardingInfoRequest { + string keyspace = 1; + // OBSOLETE string column_name = 2; + reserved 2; + // OBSOLETE topodata.KeyspaceIdType column_type = 3; + reserved 3; + bool force = 4; +} + +message SetKeyspaceShardingInfoResponse { + // Keyspace is the updated keyspace record. + vitess.topodata.v19.Keyspace keyspace = 1; +} + +message SetShardIsPrimaryServingRequest { + string keyspace = 1; + string shard = 2; + bool is_serving = 3; +} + +message SetShardIsPrimaryServingResponse { + // Shard is the updated shard record. + vitess.topodata.v19.Shard shard = 1; +} + +message SetShardTabletControlRequest { + string keyspace = 1; + string shard = 2; + vitess.topodata.v19.TabletType tablet_type = 3; + repeated string cells = 4; + // DeniedTables updates the list of denied tables the shard will serve for + // the given tablet type. This is useful to fix tables that are being blocked + // after a MoveTables operation. + // + // NOTE: Setting this field will cause DisableQueryService to be ignored. + repeated string denied_tables = 5; + // DisableQueryService instructs whether to enable the query service on + // tablets of the given type in the shard. This is useful to fix Reshard + // operations gone awry. + // + // NOTE: this is ignored if DeniedTables is not empty. + bool disable_query_service = 6; + // Remove removes the ShardTabletControl record entirely. If set, this takes + // precedence over DeniedTables and DisableQueryService fields, and is useful + // to manually remove serving restrictions after a completed MoveTables + // operation. + bool remove = 7; +} + +message SetShardTabletControlResponse { + // Shard is the updated shard record. + vitess.topodata.v19.Shard shard = 1; +} + +message SetWritableRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + bool writable = 2; +} + +message SetWritableResponse { +} + +message ShardReplicationAddRequest { + string keyspace = 1; + string shard = 2; + vitess.topodata.v19.TabletAlias tablet_alias = 3; +} + +message ShardReplicationAddResponse { +} + +message ShardReplicationFixRequest { + string keyspace = 1; + string shard = 2; + string cell = 3; +} + +message ShardReplicationFixResponse { + // Error contains information about the error fixed by a + // ShardReplicationFix RPC. If there were no errors to fix (i.e. all nodes + // in the replication graph are valid), this field is nil. + vitess.topodata.v19.ShardReplicationError error = 1; +} + +message ShardReplicationPositionsRequest { + string keyspace = 1; + string shard = 2; +} + +message ShardReplicationPositionsResponse { + // ReplicationStatuses is a mapping of tablet alias string to replication + // status for that tablet. + map replication_statuses = 1; + // TabletMap is the set of tablets whose replication statuses were queried, + // keyed by tablet alias. + map tablet_map = 2; +} + +message ShardReplicationRemoveRequest { + string keyspace = 1; + string shard = 2; + vitess.topodata.v19.TabletAlias tablet_alias = 3; +} + +message ShardReplicationRemoveResponse { +} + +message SleepTabletRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; + vitess.vttime.v19.Duration duration = 2; +} + +message SleepTabletResponse { +} + +message SourceShardAddRequest { + string keyspace = 1; + string shard = 2; + int32 uid = 3; + string source_keyspace = 4; + string source_shard = 5; + // KeyRange identifies the key range to use for the SourceShard. This field is + // optional. + vitess.topodata.v19.KeyRange key_range = 6; + // Tables is a list of tables replicate (for MoveTables). Each "table" can be + // either an exact match or a regular expression of the form "/regexp/". + repeated string tables = 7; +} + +message SourceShardAddResponse { + // Shard is the updated shard record. + vitess.topodata.v19.Shard shard = 1; +} + +message SourceShardDeleteRequest { + string keyspace = 1; + string shard = 2; + int32 uid = 3; +} + +message SourceShardDeleteResponse { + // Shard is the updated shard record. + vitess.topodata.v19.Shard shard = 1; +} + +message StartReplicationRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message StartReplicationResponse { +} + +message StopReplicationRequest { + vitess.topodata.v19.TabletAlias tablet_alias = 1; +} + +message StopReplicationResponse { +} + +message TabletExternallyReparentedRequest { + // Tablet is the alias of the tablet that was promoted externally and should + // be updated to the shard primary in the topo. + vitess.topodata.v19.TabletAlias tablet = 1; +} + +message TabletExternallyReparentedResponse { + string keyspace = 1; + string shard = 2; + vitess.topodata.v19.TabletAlias new_primary = 3; + vitess.topodata.v19.TabletAlias old_primary = 4; +} + +message UpdateCellInfoRequest { + string name = 1; + vitess.topodata.v19.CellInfo cell_info = 2; +} + +message UpdateCellInfoResponse { + string name = 1; + vitess.topodata.v19.CellInfo cell_info = 2; +} + +message UpdateCellsAliasRequest { + string name = 1; + vitess.topodata.v19.CellsAlias cells_alias = 2; +} + +message UpdateCellsAliasResponse { + string name = 1; + vitess.topodata.v19.CellsAlias cells_alias = 2; +} + +message ValidateRequest { + bool ping_tablets = 1; +} + +message ValidateResponse { + repeated string results = 1; + map results_by_keyspace = 2; +} + +message ValidateKeyspaceRequest { + string keyspace = 1; + bool ping_tablets = 2; +} + +message ValidateKeyspaceResponse { + repeated string results = 1; + map results_by_shard = 2; +} + +message ValidateSchemaKeyspaceRequest { + string keyspace = 1; + repeated string exclude_tables = 2; + bool include_views = 3; + bool skip_no_primary = 4; + bool include_vschema = 5; +} + +message ValidateSchemaKeyspaceResponse { + repeated string results = 1; + map results_by_shard = 2; +} + +message ValidateShardRequest { + string keyspace = 1; + string shard = 2; + bool ping_tablets = 3; +} + +message ValidateShardResponse { + repeated string results = 1; +} + +message ValidateVersionKeyspaceRequest { + string keyspace = 1; +} + +message ValidateVersionKeyspaceResponse { + repeated string results = 1; + map results_by_shard = 2; +} + +message ValidateVersionShardRequest { + string keyspace = 1; + string shard = 2; +} + +message ValidateVersionShardResponse { + repeated string results = 1; +} + +message ValidateVSchemaRequest { + string keyspace = 1; + repeated string shards = 2; + repeated string exclude_tables = 3; + bool include_views = 4; +} + +message ValidateVSchemaResponse { + repeated string results = 1; + map results_by_shard = 2; +} + +message VDiffCreateRequest { + string workflow = 1; + string target_keyspace = 2; + string uuid = 3; + repeated string source_cells = 4; + repeated string target_cells = 5; + repeated vitess.topodata.v19.TabletType tablet_types = 6; + vitess.tabletmanagerdata.v19.TabletSelectionPreference tablet_selection_preference = 7; + repeated string tables = 8; + int64 limit = 9; + vitess.vttime.v19.Duration filtered_replication_wait_time = 10; + bool debug_query = 11; + bool only_p_ks = 12; + bool update_table_stats = 13; + int64 max_extra_rows_to_compare = 14; + bool wait = 15; + vitess.vttime.v19.Duration wait_update_interval = 16; + bool auto_retry = 17; + bool verbose = 18; + int64 max_report_sample_rows = 19; + vitess.vttime.v19.Duration max_diff_duration = 20; +} + +message VDiffCreateResponse { + // Intentionally upper case to maintain compatibility with + // vtctlclient and other VDiff client command output. + string UUID = 1; +} + +message VDiffDeleteRequest { + string workflow = 1; + string target_keyspace = 2; + // This will be 'all' or a UUID. + string arg = 3; +} + +message VDiffDeleteResponse { +} + +message VDiffResumeRequest { + string workflow = 1; + string target_keyspace = 2; + string uuid = 3; +} + +message VDiffResumeResponse { +} + +message VDiffShowRequest { + string workflow = 1; + string target_keyspace = 2; + // This will be 'all', 'last', or a UUID. + string arg = 3; +} + +message VDiffShowResponse { + // The key is keyspace/shard. + map tablet_responses = 1; +} + +message VDiffStopRequest { + string workflow = 1; + string target_keyspace = 2; + string uuid = 3; +} + +message VDiffStopResponse { +} + +message WorkflowDeleteRequest { + string keyspace = 1; + string workflow = 2; + bool keep_data = 3; + bool keep_routing_rules = 4; + repeated string shards = 5; +} + +message WorkflowDeleteResponse { + message TabletInfo { + vitess.topodata.v19.TabletAlias tablet = 1; + // Delete is set if the workflow was deleted on this tablet. + bool deleted = 2; + } + string summary = 1; + repeated TabletInfo details = 2; +} + +message WorkflowStatusRequest { + string keyspace = 1; + string workflow = 2; + repeated string shards = 3; +} + +message WorkflowStatusResponse { + message TableCopyState { + int64 rows_copied = 1; + int64 rows_total = 2; + float rows_percentage = 3; + int64 bytes_copied = 4; + int64 bytes_total = 5; + float bytes_percentage = 6; + } + message ShardStreamState { + int32 id = 1; + vitess.topodata.v19.TabletAlias tablet = 2; + string source_shard = 3; + string position = 4; + string status = 5; + string info = 6; + } + message ShardStreams { + repeated ShardStreamState streams = 2; + } + // The key is keyspace/shard. + map table_copy_state = 1; + map shard_streams = 2; + string traffic_state = 3; +} + +message WorkflowSwitchTrafficRequest { + string keyspace = 1; + string workflow = 2; + repeated string cells = 3; + repeated vitess.topodata.v19.TabletType tablet_types = 4; + vitess.vttime.v19.Duration max_replication_lag_allowed = 5; + bool enable_reverse_replication = 6; + int32 direction = 7; + vitess.vttime.v19.Duration timeout = 8; + bool dry_run = 9; + bool initialize_target_sequences = 10; + repeated string shards = 11; +} + +message WorkflowSwitchTrafficResponse { + string summary = 1; + string start_state = 2; + string current_state = 3; + repeated string dry_run_results = 4; +} + +message WorkflowUpdateRequest { + string keyspace = 1; + // TabletRequest gets passed on to each primary tablet involved + // in the workflow via the UpdateVReplicationWorkflow tabletmanager RPC. + vitess.tabletmanagerdata.v19.UpdateVReplicationWorkflowRequest tablet_request = 2; +} + +message WorkflowUpdateResponse { + message TabletInfo { + vitess.topodata.v19.TabletAlias tablet = 1; + // Changed is true if any of the provided values were different + // than what was already stored on this tablet. + bool changed = 2; + } + string summary = 1; + repeated TabletInfo details = 2; +} diff --git a/src/vitess/vtctlservice/dev/vtctlservice.proto b/src/vitess/vtctlservice/dev/vtctlservice.proto index 1086c8c..a98be10 100644 --- a/src/vitess/vtctlservice/dev/vtctlservice.proto +++ b/src/vitess/vtctlservice/dev/vtctlservice.proto @@ -45,6 +45,8 @@ service Vtctld { rpc ApplyRoutingRules(vitess.vtctldata.dev.ApplyRoutingRulesRequest) returns (vitess.vtctldata.dev.ApplyRoutingRulesResponse) {}; // ApplySchema applies a schema to a keyspace. rpc ApplySchema(vitess.vtctldata.dev.ApplySchemaRequest) returns (vitess.vtctldata.dev.ApplySchemaResponse) {}; + // ApplyKeyspaceRoutingRules applies the VSchema keyspace routing rules. + rpc ApplyKeyspaceRoutingRules(vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesRequest) returns (vitess.vtctldata.dev.ApplyKeyspaceRoutingRulesResponse) {}; // ApplyShardRoutingRules applies the VSchema shard routing rules. rpc ApplyShardRoutingRules(vitess.vtctldata.dev.ApplyShardRoutingRulesRequest) returns (vitess.vtctldata.dev.ApplyShardRoutingRulesResponse) {}; // ApplyVSchema applies a vschema to a keyspace. @@ -54,18 +56,24 @@ service Vtctld { rpc Backup(vitess.vtctldata.dev.BackupRequest) returns (stream vitess.vtctldata.dev.BackupResponse) {}; // BackupShard chooses a tablet in the shard and uses it to create a backup. rpc BackupShard(vitess.vtctldata.dev.BackupShardRequest) returns (stream vitess.vtctldata.dev.BackupResponse) {}; - // CancelSchemaMigration cancels one or all migrations, terminating any runnign ones as needed. + // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. rpc CancelSchemaMigration(vitess.vtctldata.dev.CancelSchemaMigrationRequest) returns (vitess.vtctldata.dev.CancelSchemaMigrationResponse) {}; + // ChangeTabletTags changes the tags of the specified tablet, if possible. + rpc ChangeTabletTags(vitess.vtctldata.dev.ChangeTabletTagsRequest) returns (vitess.vtctldata.dev.ChangeTabletTagsResponse) {}; // ChangeTabletType changes the db type for the specified tablet, if possible. // This is used primarily to arrange replicas, and it will not convert a // primary. For that, use InitShardPrimary. // // NOTE: This command automatically updates the serving graph. rpc ChangeTabletType(vitess.vtctldata.dev.ChangeTabletTypeRequest) returns (vitess.vtctldata.dev.ChangeTabletTypeResponse) {}; + // CheckThrottler issues a 'check' on a tablet's throttler + rpc CheckThrottler(vitess.vtctldata.dev.CheckThrottlerRequest) returns (vitess.vtctldata.dev.CheckThrottlerResponse) {}; // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. rpc CleanupSchemaMigration(vitess.vtctldata.dev.CleanupSchemaMigrationRequest) returns (vitess.vtctldata.dev.CleanupSchemaMigrationResponse) {}; // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. rpc CompleteSchemaMigration(vitess.vtctldata.dev.CompleteSchemaMigrationRequest) returns (vitess.vtctldata.dev.CompleteSchemaMigrationResponse) {}; + // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. + rpc ConcludeTransaction(vitess.vtctldata.dev.ConcludeTransactionRequest) returns (vitess.vtctldata.dev.ConcludeTransactionResponse) {}; // CreateKeyspace creates the specified keyspace in the topology. For a // SNAPSHOT keyspace, the request must specify the name of a base keyspace, // as well as a snapshot time. @@ -100,9 +108,13 @@ service Vtctld { rpc ExecuteFetchAsDBA(vitess.vtctldata.dev.ExecuteFetchAsDBARequest) returns (vitess.vtctldata.dev.ExecuteFetchAsDBAResponse) {}; // ExecuteHook runs the hook on the tablet. rpc ExecuteHook(vitess.vtctldata.dev.ExecuteHookRequest) returns (vitess.vtctldata.dev.ExecuteHookResponse); + // ExecuteMultiFetchAsDBA executes one or more SQL queries on the remote tablet as the DBA user. + rpc ExecuteMultiFetchAsDBA(vitess.vtctldata.dev.ExecuteMultiFetchAsDBARequest) returns (vitess.vtctldata.dev.ExecuteMultiFetchAsDBAResponse) {}; // FindAllShardsInKeyspace returns a map of shard names to shard references // for a given keyspace. rpc FindAllShardsInKeyspace(vitess.vtctldata.dev.FindAllShardsInKeyspaceRequest) returns (vitess.vtctldata.dev.FindAllShardsInKeyspaceResponse) {}; + // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. + rpc ForceCutOverSchemaMigration(vitess.vtctldata.dev.ForceCutOverSchemaMigrationRequest) returns (vitess.vtctldata.dev.ForceCutOverSchemaMigrationResponse) {}; // GetBackups returns all the backups for a shard. rpc GetBackups(vitess.vtctldata.dev.GetBackupsRequest) returns (vitess.vtctldata.dev.GetBackupsResponse) {}; // GetCellInfo returns the information for a cell. @@ -119,6 +131,8 @@ service Vtctld { rpc GetKeyspace(vitess.vtctldata.dev.GetKeyspaceRequest) returns (vitess.vtctldata.dev.GetKeyspaceResponse) {}; // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. rpc GetKeyspaces(vitess.vtctldata.dev.GetKeyspacesRequest) returns (vitess.vtctldata.dev.GetKeyspacesResponse) {}; + // GetKeyspaceRoutingRules returns the VSchema keyspace routing rules. + rpc GetKeyspaceRoutingRules(vitess.vtctldata.dev.GetKeyspaceRoutingRulesRequest) returns (vitess.vtctldata.dev.GetKeyspaceRoutingRulesResponse) {}; // GetPermissions returns the permissions set on the remote tablet. rpc GetPermissions(vitess.vtctldata.dev.GetPermissionsRequest) returns (vitess.vtctldata.dev.GetPermissionsResponse) {}; // GetRoutingRules returns the VSchema routing rules. @@ -132,6 +146,8 @@ service Vtctld { // Different fields in the request message result in different filtering // behaviors. See the documentation on GetSchemaMigrationsRequest for details. rpc GetSchemaMigrations(vitess.vtctldata.dev.GetSchemaMigrationsRequest) returns (vitess.vtctldata.dev.GetSchemaMigrationsResponse) {}; + // GetShardReplication returns the replication graph for a shard in a cell. + rpc GetShardReplication(vitess.vtctldata.dev.GetShardReplicationRequest) returns (vitess.vtctldata.dev.GetShardReplicationResponse) {}; // GetShard returns information about a shard in the topology. rpc GetShard(vitess.vtctldata.dev.GetShardRequest) returns (vitess.vtctldata.dev.GetShardResponse) {}; // GetShardRoutingRules returns the VSchema shard routing rules. @@ -153,8 +169,14 @@ service Vtctld { rpc GetTablet(vitess.vtctldata.dev.GetTabletRequest) returns (vitess.vtctldata.dev.GetTabletResponse) {}; // GetTablets returns tablets, optionally filtered by keyspace and shard. rpc GetTablets(vitess.vtctldata.dev.GetTabletsRequest) returns (vitess.vtctldata.dev.GetTabletsResponse) {}; + // GetThrottlerStatus gets the status of a tablet throttler + rpc GetThrottlerStatus(vitess.vtctldata.dev.GetThrottlerStatusRequest) returns (vitess.vtctldata.dev.GetThrottlerStatusResponse) {}; // GetTopologyPath returns the topology cell at a given path. rpc GetTopologyPath(vitess.vtctldata.dev.GetTopologyPathRequest) returns (vitess.vtctldata.dev.GetTopologyPathResponse) {}; + // GetTransactionInfo reads a given transactions information. + rpc GetTransactionInfo(vitess.vtctldata.dev.GetTransactionInfoRequest) returns (vitess.vtctldata.dev.GetTransactionInfoResponse) {}; + // GetTransactions returns the unresolved transactions for the request. + rpc GetUnresolvedTransactions(vitess.vtctldata.dev.GetUnresolvedTransactionsRequest) returns (vitess.vtctldata.dev.GetUnresolvedTransactionsResponse) {}; // GetVersion returns the version of a tablet from its debug vars. rpc GetVersion(vitess.vtctldata.dev.GetVersionRequest) returns (vitess.vtctldata.dev.GetVersionResponse) {}; // GetVSchema returns the vschema for a keyspace. @@ -350,4 +372,7 @@ service Vtctld { // WorkflowUpdate updates the configuration of a vreplication workflow // using the provided updated parameters. rpc WorkflowUpdate(vitess.vtctldata.dev.WorkflowUpdateRequest) returns (vitess.vtctldata.dev.WorkflowUpdateResponse) {}; + // GetMirrorRules returns the VSchema routing rules. + rpc GetMirrorRules(vitess.vtctldata.dev.GetMirrorRulesRequest) returns (vitess.vtctldata.dev.GetMirrorRulesResponse) {}; + rpc WorkflowMirrorTraffic(vitess.vtctldata.dev.WorkflowMirrorTrafficRequest) returns (vitess.vtctldata.dev.WorkflowMirrorTrafficResponse) {}; } diff --git a/src/vitess/vtctlservice/v19/vtctlservice.proto b/src/vitess/vtctlservice/v19/vtctlservice.proto new file mode 100644 index 0000000..2a7c549 --- /dev/null +++ b/src/vitess/vtctlservice/v19/vtctlservice.proto @@ -0,0 +1,357 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package contains a service allowing you to use vtctld as a +// proxy for vt commands. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vtctlservice/v19;vtctlservicev19"; + +package vitess.vtctlservice.v19; + +import "vitess/vtctldata/v19/vtctldata.proto"; + +// Service Vtctl allows you to call vt commands through gRPC. +service Vtctl { + rpc ExecuteVtctlCommand (vitess.vtctldata.v19.ExecuteVtctlCommandRequest) returns (stream vitess.vtctldata.v19.ExecuteVtctlCommandResponse) {}; +} + +// Service Vtctld exposes gRPC endpoints for each vt command. +service Vtctld { + // AddCellInfo registers a local topology service in a new cell by creating + // the CellInfo with the provided parameters. + rpc AddCellInfo(vitess.vtctldata.v19.AddCellInfoRequest) returns (vitess.vtctldata.v19.AddCellInfoResponse) {}; + // AddCellsAlias defines a group of cells that can be referenced by a single + // name (the alias). + // + // When routing query traffic, replica/rdonly traffic can be routed across + // cells within the group (alias). Only primary traffic can be routed across + // cells not in the same group (alias). + rpc AddCellsAlias(vitess.vtctldata.v19.AddCellsAliasRequest) returns (vitess.vtctldata.v19.AddCellsAliasResponse) {}; + // ApplyRoutingRules applies the VSchema routing rules. + rpc ApplyRoutingRules(vitess.vtctldata.v19.ApplyRoutingRulesRequest) returns (vitess.vtctldata.v19.ApplyRoutingRulesResponse) {}; + // ApplySchema applies a schema to a keyspace. + rpc ApplySchema(vitess.vtctldata.v19.ApplySchemaRequest) returns (vitess.vtctldata.v19.ApplySchemaResponse) {}; + // ApplyShardRoutingRules applies the VSchema shard routing rules. + rpc ApplyShardRoutingRules(vitess.vtctldata.v19.ApplyShardRoutingRulesRequest) returns (vitess.vtctldata.v19.ApplyShardRoutingRulesResponse) {}; + // ApplyVSchema applies a vschema to a keyspace. + rpc ApplyVSchema(vitess.vtctldata.v19.ApplyVSchemaRequest) returns (vitess.vtctldata.v19.ApplyVSchemaResponse) {}; + // Backup uses the BackupEngine and BackupStorage services on the specified + // tablet to create and store a new backup. + rpc Backup(vitess.vtctldata.v19.BackupRequest) returns (stream vitess.vtctldata.v19.BackupResponse) {}; + // BackupShard chooses a tablet in the shard and uses it to create a backup. + rpc BackupShard(vitess.vtctldata.v19.BackupShardRequest) returns (stream vitess.vtctldata.v19.BackupResponse) {}; + // CancelSchemaMigration cancels one or all migrations, terminating any running ones as needed. + rpc CancelSchemaMigration(vitess.vtctldata.v19.CancelSchemaMigrationRequest) returns (vitess.vtctldata.v19.CancelSchemaMigrationResponse) {}; + // ChangeTabletType changes the db type for the specified tablet, if possible. + // This is used primarily to arrange replicas, and it will not convert a + // primary. For that, use InitShardPrimary. + // + // NOTE: This command automatically updates the serving graph. + rpc ChangeTabletType(vitess.vtctldata.v19.ChangeTabletTypeRequest) returns (vitess.vtctldata.v19.ChangeTabletTypeResponse) {}; + // CleanupSchemaMigration marks a schema migration as ready for artifact cleanup. + rpc CleanupSchemaMigration(vitess.vtctldata.v19.CleanupSchemaMigrationRequest) returns (vitess.vtctldata.v19.CleanupSchemaMigrationResponse) {}; + // CompleteSchemaMigration completes one or all migrations executed with --postpone-completion. + rpc CompleteSchemaMigration(vitess.vtctldata.v19.CompleteSchemaMigrationRequest) returns (vitess.vtctldata.v19.CompleteSchemaMigrationResponse) {}; + // CreateKeyspace creates the specified keyspace in the topology. For a + // SNAPSHOT keyspace, the request must specify the name of a base keyspace, + // as well as a snapshot time. + rpc CreateKeyspace(vitess.vtctldata.v19.CreateKeyspaceRequest) returns (vitess.vtctldata.v19.CreateKeyspaceResponse) {}; + // CreateShard creates the specified shard in the topology. + rpc CreateShard(vitess.vtctldata.v19.CreateShardRequest) returns (vitess.vtctldata.v19.CreateShardResponse) {}; + // DeleteCellInfo deletes the CellInfo for the provided cell. The cell cannot + // be referenced by any Shard record in the topology. + rpc DeleteCellInfo(vitess.vtctldata.v19.DeleteCellInfoRequest) returns (vitess.vtctldata.v19.DeleteCellInfoResponse) {}; + // DeleteCellsAlias deletes the CellsAlias for the provided alias. + rpc DeleteCellsAlias(vitess.vtctldata.v19.DeleteCellsAliasRequest) returns (vitess.vtctldata.v19.DeleteCellsAliasResponse) {}; + // DeleteKeyspace deletes the specified keyspace from the topology. In + // recursive mode, it also recursively deletes all shards in the keyspace. + // Otherwise, the keyspace must be empty (have no shards), or DeleteKeyspace + // returns an error. + rpc DeleteKeyspace(vitess.vtctldata.v19.DeleteKeyspaceRequest) returns (vitess.vtctldata.v19.DeleteKeyspaceResponse) {}; + // DeleteShards deletes the specified shards from the topology. In recursive + // mode, it also deletes all tablets belonging to the shard. Otherwise, the + // shard must be empty (have no tablets) or DeleteShards returns an error for + // that shard. + rpc DeleteShards(vitess.vtctldata.v19.DeleteShardsRequest) returns (vitess.vtctldata.v19.DeleteShardsResponse) {}; + // DeleteSrvVSchema deletes the SrvVSchema object in the specified cell. + rpc DeleteSrvVSchema(vitess.vtctldata.v19.DeleteSrvVSchemaRequest) returns (vitess.vtctldata.v19.DeleteSrvVSchemaResponse) {}; + // DeleteTablets deletes one or more tablets from the topology. + rpc DeleteTablets(vitess.vtctldata.v19.DeleteTabletsRequest) returns (vitess.vtctldata.v19.DeleteTabletsResponse) {}; + // EmergencyReparentShard reparents the shard to the new primary. It assumes + // the old primary is dead or otherwise not responding. + rpc EmergencyReparentShard(vitess.vtctldata.v19.EmergencyReparentShardRequest) returns (vitess.vtctldata.v19.EmergencyReparentShardResponse) {}; + // ExecuteFetchAsApp executes a SQL query on the remote tablet as the App user. + rpc ExecuteFetchAsApp(vitess.vtctldata.v19.ExecuteFetchAsAppRequest) returns (vitess.vtctldata.v19.ExecuteFetchAsAppResponse) {}; + // ExecuteFetchAsDBA executes a SQL query on the remote tablet as the DBA user. + rpc ExecuteFetchAsDBA(vitess.vtctldata.v19.ExecuteFetchAsDBARequest) returns (vitess.vtctldata.v19.ExecuteFetchAsDBAResponse) {}; + // ExecuteHook runs the hook on the tablet. + rpc ExecuteHook(vitess.vtctldata.v19.ExecuteHookRequest) returns (vitess.vtctldata.v19.ExecuteHookResponse); + // FindAllShardsInKeyspace returns a map of shard names to shard references + // for a given keyspace. + rpc FindAllShardsInKeyspace(vitess.vtctldata.v19.FindAllShardsInKeyspaceRequest) returns (vitess.vtctldata.v19.FindAllShardsInKeyspaceResponse) {}; + // ForceCutOverSchemaMigration marks a schema migration for forced cut-over. + rpc ForceCutOverSchemaMigration(vitess.vtctldata.v19.ForceCutOverSchemaMigrationRequest) returns (vitess.vtctldata.v19.ForceCutOverSchemaMigrationResponse) {}; + // GetBackups returns all the backups for a shard. + rpc GetBackups(vitess.vtctldata.v19.GetBackupsRequest) returns (vitess.vtctldata.v19.GetBackupsResponse) {}; + // GetCellInfo returns the information for a cell. + rpc GetCellInfo(vitess.vtctldata.v19.GetCellInfoRequest) returns (vitess.vtctldata.v19.GetCellInfoResponse) {}; + // GetCellInfoNames returns all the cells for which we have a CellInfo object, + // meaning we have a topology service registered. + rpc GetCellInfoNames(vitess.vtctldata.v19.GetCellInfoNamesRequest) returns (vitess.vtctldata.v19.GetCellInfoNamesResponse) {}; + // GetCellsAliases returns a mapping of cell alias to cells identified by that + // alias. + rpc GetCellsAliases(vitess.vtctldata.v19.GetCellsAliasesRequest) returns (vitess.vtctldata.v19.GetCellsAliasesResponse) {}; + // GetFullStatus returns the full status of MySQL including the replication information, semi-sync information, GTID information among others + rpc GetFullStatus(vitess.vtctldata.v19.GetFullStatusRequest) returns (vitess.vtctldata.v19.GetFullStatusResponse) {}; + // GetKeyspace reads the given keyspace from the topo and returns it. + rpc GetKeyspace(vitess.vtctldata.v19.GetKeyspaceRequest) returns (vitess.vtctldata.v19.GetKeyspaceResponse) {}; + // GetKeyspaces returns the keyspace struct of all keyspaces in the topo. + rpc GetKeyspaces(vitess.vtctldata.v19.GetKeyspacesRequest) returns (vitess.vtctldata.v19.GetKeyspacesResponse) {}; + // GetPermissions returns the permissions set on the remote tablet. + rpc GetPermissions(vitess.vtctldata.v19.GetPermissionsRequest) returns (vitess.vtctldata.v19.GetPermissionsResponse) {}; + // GetRoutingRules returns the VSchema routing rules. + rpc GetRoutingRules(vitess.vtctldata.v19.GetRoutingRulesRequest) returns (vitess.vtctldata.v19.GetRoutingRulesResponse) {}; + // GetSchema returns the schema for a tablet, or just the schema for the + // specified tables in that tablet. + rpc GetSchema(vitess.vtctldata.v19.GetSchemaRequest) returns (vitess.vtctldata.v19.GetSchemaResponse) {}; + // GetSchemaMigrations returns one or more online schema migrations for the + // specified keyspace, analagous to `SHOW VITESS_MIGRATIONS`. + // + // Different fields in the request message result in different filtering + // behaviors. See the documentation on GetSchemaMigrationsRequest for details. + rpc GetSchemaMigrations(vitess.vtctldata.v19.GetSchemaMigrationsRequest) returns (vitess.vtctldata.v19.GetSchemaMigrationsResponse) {}; + // GetShardReplication returns the replication graph for a shard in a cell. + rpc GetShardReplication(vitess.vtctldata.v19.GetShardReplicationRequest) returns (vitess.vtctldata.v19.GetShardReplicationResponse) {}; + // GetShard returns information about a shard in the topology. + rpc GetShard(vitess.vtctldata.v19.GetShardRequest) returns (vitess.vtctldata.v19.GetShardResponse) {}; + // GetShardRoutingRules returns the VSchema shard routing rules. + rpc GetShardRoutingRules(vitess.vtctldata.v19.GetShardRoutingRulesRequest) returns (vitess.vtctldata.v19.GetShardRoutingRulesResponse) {}; + // GetSrvKeyspaceNames returns a mapping of cell name to the keyspaces served + // in that cell. + rpc GetSrvKeyspaceNames(vitess.vtctldata.v19.GetSrvKeyspaceNamesRequest) returns (vitess.vtctldata.v19.GetSrvKeyspaceNamesResponse) {}; + // GetSrvKeyspaces returns the SrvKeyspaces for a keyspace in one or more + // cells. + rpc GetSrvKeyspaces (vitess.vtctldata.v19.GetSrvKeyspacesRequest) returns (vitess.vtctldata.v19.GetSrvKeyspacesResponse) {}; + // UpdateThrottlerConfig updates the tablet throttler configuration + rpc UpdateThrottlerConfig(vitess.vtctldata.v19.UpdateThrottlerConfigRequest) returns (vitess.vtctldata.v19.UpdateThrottlerConfigResponse) {}; + // GetSrvVSchema returns the SrvVSchema for a cell. + rpc GetSrvVSchema(vitess.vtctldata.v19.GetSrvVSchemaRequest) returns (vitess.vtctldata.v19.GetSrvVSchemaResponse) {}; + // GetSrvVSchemas returns a mapping from cell name to SrvVSchema for all cells, + // optionally filtered by cell name. + rpc GetSrvVSchemas(vitess.vtctldata.v19.GetSrvVSchemasRequest) returns (vitess.vtctldata.v19.GetSrvVSchemasResponse) {}; + // GetTablet returns information about a tablet. + rpc GetTablet(vitess.vtctldata.v19.GetTabletRequest) returns (vitess.vtctldata.v19.GetTabletResponse) {}; + // GetTablets returns tablets, optionally filtered by keyspace and shard. + rpc GetTablets(vitess.vtctldata.v19.GetTabletsRequest) returns (vitess.vtctldata.v19.GetTabletsResponse) {}; + // GetTopologyPath returns the topology cell at a given path. + rpc GetTopologyPath(vitess.vtctldata.v19.GetTopologyPathRequest) returns (vitess.vtctldata.v19.GetTopologyPathResponse) {}; + // GetVersion returns the version of a tablet from its debug vars. + rpc GetVersion(vitess.vtctldata.v19.GetVersionRequest) returns (vitess.vtctldata.v19.GetVersionResponse) {}; + // GetVSchema returns the vschema for a keyspace. + rpc GetVSchema(vitess.vtctldata.v19.GetVSchemaRequest) returns (vitess.vtctldata.v19.GetVSchemaResponse) {}; + // GetWorkflows returns a list of workflows for the given keyspace. + rpc GetWorkflows(vitess.vtctldata.v19.GetWorkflowsRequest) returns (vitess.vtctldata.v19.GetWorkflowsResponse) {}; + // InitShardPrimary sets the initial primary for a shard. Will make all other + // tablets in the shard replicas of the provided primary. + // + // WARNING: This could cause data loss on an already replicating shard. + // PlannedReparentShard or EmergencyReparentShard should be used in those + // cases instead. + rpc InitShardPrimary(vitess.vtctldata.v19.InitShardPrimaryRequest) returns (vitess.vtctldata.v19.InitShardPrimaryResponse) {}; + // LaunchSchemaMigration launches one or all migrations executed with --postpone-launch. + rpc LaunchSchemaMigration(vitess.vtctldata.v19.LaunchSchemaMigrationRequest) returns (vitess.vtctldata.v19.LaunchSchemaMigrationResponse) {}; + + rpc LookupVindexCreate(vitess.vtctldata.v19.LookupVindexCreateRequest) returns (vitess.vtctldata.v19.LookupVindexCreateResponse) {}; + rpc LookupVindexExternalize(vitess.vtctldata.v19.LookupVindexExternalizeRequest) returns (vitess.vtctldata.v19.LookupVindexExternalizeResponse) {}; + + // MaterializeCreate creates a workflow to materialize one or more tables + // from a source keyspace to a target keyspace using a provided expressions. + rpc MaterializeCreate(vitess.vtctldata.v19.MaterializeCreateRequest) returns (vitess.vtctldata.v19.MaterializeCreateResponse) {}; + + // MigrateCreate creates a workflow which migrates one or more tables from an + // external cluster into Vitess. + rpc MigrateCreate(vitess.vtctldata.v19.MigrateCreateRequest) returns (vitess.vtctldata.v19.WorkflowStatusResponse) {}; + + // MountRegister registers a new external Vitess cluster. + rpc MountRegister(vitess.vtctldata.v19.MountRegisterRequest) returns (vitess.vtctldata.v19.MountRegisterResponse) {}; + // MountUnregister unregisters an external Vitess cluster. + rpc MountUnregister(vitess.vtctldata.v19.MountUnregisterRequest) returns (vitess.vtctldata.v19.MountUnregisterResponse) {}; + // MountShow returns information about an external Vitess cluster. + rpc MountShow(vitess.vtctldata.v19.MountShowRequest) returns (vitess.vtctldata.v19.MountShowResponse) {}; + // MountList lists all registered external Vitess clusters. + rpc MountList(vitess.vtctldata.v19.MountListRequest) returns (vitess.vtctldata.v19.MountListResponse) {}; + + // MoveTablesCreate creates a workflow which moves one or more tables from a + // source keyspace to a target keyspace. + rpc MoveTablesCreate(vitess.vtctldata.v19.MoveTablesCreateRequest) returns (vitess.vtctldata.v19.WorkflowStatusResponse) {}; + // MoveTablesComplete completes the move and cleans up the workflow and + // its related artifacts. + rpc MoveTablesComplete(vitess.vtctldata.v19.MoveTablesCompleteRequest) returns (vitess.vtctldata.v19.MoveTablesCompleteResponse) {}; + // PingTablet checks that the specified tablet is awake and responding to RPCs. + // This command can be blocked by other in-flight operations. + rpc PingTablet(vitess.vtctldata.v19.PingTabletRequest) returns (vitess.vtctldata.v19.PingTabletResponse) {}; + // PlannedReparentShard reparents the shard to the new primary, or away from + // an old primary. Both the old and new primaries need to be reachable and + // running. + // + // **NOTE**: The vtctld will not consider any replicas outside the cell the + // current shard primary is in for promotion unless NewPrimary is explicitly + // provided in the request. + rpc PlannedReparentShard(vitess.vtctldata.v19.PlannedReparentShardRequest) returns (vitess.vtctldata.v19.PlannedReparentShardResponse) {}; + // RebuildKeyspaceGraph rebuilds the serving data for a keyspace. + // + // This may trigger an update to all connected clients. + rpc RebuildKeyspaceGraph(vitess.vtctldata.v19.RebuildKeyspaceGraphRequest) returns (vitess.vtctldata.v19.RebuildKeyspaceGraphResponse) {}; + // RebuildVSchemaGraph rebuilds the per-cell SrvVSchema from the global + // VSchema objects in the provided cells (or all cells in the topo none + // provided). + rpc RebuildVSchemaGraph(vitess.vtctldata.v19.RebuildVSchemaGraphRequest) returns (vitess.vtctldata.v19.RebuildVSchemaGraphResponse) {}; + // RefreshState reloads the tablet record on the specified tablet. + rpc RefreshState(vitess.vtctldata.v19.RefreshStateRequest) returns (vitess.vtctldata.v19.RefreshStateResponse) {}; + // RefreshStateByShard calls RefreshState on all the tablets in the given shard. + rpc RefreshStateByShard(vitess.vtctldata.v19.RefreshStateByShardRequest) returns (vitess.vtctldata.v19.RefreshStateByShardResponse) {}; + // ReloadSchema instructs the remote tablet to reload its schema. + rpc ReloadSchema(vitess.vtctldata.v19.ReloadSchemaRequest) returns (vitess.vtctldata.v19.ReloadSchemaResponse) {}; + // ReloadSchemaKeyspace reloads the schema on all tablets in a keyspace. + rpc ReloadSchemaKeyspace(vitess.vtctldata.v19.ReloadSchemaKeyspaceRequest) returns (vitess.vtctldata.v19.ReloadSchemaKeyspaceResponse) {}; + // ReloadSchemaShard reloads the schema on all tablets in a shard. + // + // In general, we don't always expect all replicas to be ready to reload, and + // the periodic schema reload makes them self-healing anyway. So, we do this + // on a best-effort basis, and log warnings for any tablets that fail to + // reload within the context deadline. + rpc ReloadSchemaShard(vitess.vtctldata.v19.ReloadSchemaShardRequest) returns (vitess.vtctldata.v19.ReloadSchemaShardResponse) {}; + // RemoveBackup removes a backup from the BackupStorage used by vtctld. + rpc RemoveBackup(vitess.vtctldata.v19.RemoveBackupRequest) returns (vitess.vtctldata.v19.RemoveBackupResponse) {}; + // RemoveKeyspaceCell removes the specified cell from the Cells list for all + // shards in the specified keyspace (by calling RemoveShardCell on every + // shard). It also removes the SrvKeyspace for that keyspace in that cell. + rpc RemoveKeyspaceCell(vitess.vtctldata.v19.RemoveKeyspaceCellRequest) returns (vitess.vtctldata.v19.RemoveKeyspaceCellResponse) {}; + // RemoveShardCell removes the specified cell from the specified shard's Cells + // list. + rpc RemoveShardCell(vitess.vtctldata.v19.RemoveShardCellRequest) returns (vitess.vtctldata.v19.RemoveShardCellResponse) {}; + // ReparentTablet reparents a tablet to the current primary in the shard. This + // only works if the current replica position matches the last known reparent + // action. + rpc ReparentTablet(vitess.vtctldata.v19.ReparentTabletRequest) returns (vitess.vtctldata.v19.ReparentTabletResponse) {}; + // ReshardCreate creates a workflow to reshard a keyspace. + rpc ReshardCreate(vitess.vtctldata.v19.ReshardCreateRequest) returns (vitess.vtctldata.v19.WorkflowStatusResponse) {}; + // RestoreFromBackup stops mysqld for the given tablet and restores a backup. + rpc RestoreFromBackup(vitess.vtctldata.v19.RestoreFromBackupRequest) returns (stream vitess.vtctldata.v19.RestoreFromBackupResponse) {}; + // RetrySchemaMigration marks a given schema migration for retry. + rpc RetrySchemaMigration(vitess.vtctldata.v19.RetrySchemaMigrationRequest) returns (vitess.vtctldata.v19.RetrySchemaMigrationResponse) {}; + // RunHealthCheck runs a healthcheck on the remote tablet. + rpc RunHealthCheck(vitess.vtctldata.v19.RunHealthCheckRequest) returns (vitess.vtctldata.v19.RunHealthCheckResponse) {}; + // SetKeyspaceDurabilityPolicy updates the DurabilityPolicy for a keyspace. + rpc SetKeyspaceDurabilityPolicy(vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyRequest) returns (vitess.vtctldata.v19.SetKeyspaceDurabilityPolicyResponse) {}; + // SetShardIsPrimaryServing adds or removes a shard from serving. + // + // This is meant as an emergency function. It does not rebuild any serving + // graph (i.e. it does not run RebuildKeyspaceGraph). + rpc SetShardIsPrimaryServing(vitess.vtctldata.v19.SetShardIsPrimaryServingRequest) returns (vitess.vtctldata.v19.SetShardIsPrimaryServingResponse) {}; + // SetShardTabletControl updates the TabletControl topo record for a shard and + // tablet type. + // + // This should only be used for an emergency fix, or after a finished + // Reshard. See the documentation on SetShardTabletControlRequest for more + // information about the different update modes. + rpc SetShardTabletControl(vitess.vtctldata.v19.SetShardTabletControlRequest) returns (vitess.vtctldata.v19.SetShardTabletControlResponse) {}; + // SetWritable sets a tablet as read-write (writable=true) or read-only (writable=false). + rpc SetWritable(vitess.vtctldata.v19.SetWritableRequest) returns (vitess.vtctldata.v19.SetWritableResponse) {}; + // ShardReplicationAdd adds an entry to a topodata.ShardReplication object. + // + // It is a low-level function and should generally not be called. + rpc ShardReplicationAdd(vitess.vtctldata.v19.ShardReplicationAddRequest) returns (vitess.vtctldata.v19.ShardReplicationAddResponse) {}; + // ShardReplicationFix walks the replication graph for a shard in a cell and + // attempts to fix the first problem encountered, returning information about + // the problem fixed, if any. + rpc ShardReplicationFix(vitess.vtctldata.v19.ShardReplicationFixRequest) returns (vitess.vtctldata.v19.ShardReplicationFixResponse) {}; + // ShardReplicationPositions returns the replication position of each tablet + // in a shard. This RPC makes a best-effort to return partial results. For + // example, if one tablet in the shard graph is unreachable, then + // ShardReplicationPositions will return non-error, and include valid results + // for the reachable tablets. + rpc ShardReplicationPositions(vitess.vtctldata.v19.ShardReplicationPositionsRequest) returns (vitess.vtctldata.v19.ShardReplicationPositionsResponse) {}; + // ShardReplicationRemove removes an entry from a topodata.ShardReplication + // object. + // + // It is a low-level function and should generally not be called. + rpc ShardReplicationRemove(vitess.vtctldata.v19.ShardReplicationRemoveRequest) returns (vitess.vtctldata.v19.ShardReplicationRemoveResponse) {}; + // SleepTablet blocks the aciton queue on the specified tablet for the + // specified duration. + // + // This is typically used for testing. + rpc SleepTablet(vitess.vtctldata.v19.SleepTabletRequest) returns (vitess.vtctldata.v19.SleepTabletResponse) {}; + // SourceShardAdd adds the SourceShard record with the provided index. This + // should be used only as an emergency function. + // + // It does not call RefreshState for the shard primary. + rpc SourceShardAdd(vitess.vtctldata.v19.SourceShardAddRequest) returns (vitess.vtctldata.v19.SourceShardAddResponse) {}; + // SourceShardDelete deletes the SourceShard record with the provided index. + // This should be used only as an emergency cleanup function. + // + // It does not call RefreshState for the shard primary. + rpc SourceShardDelete(vitess.vtctldata.v19.SourceShardDeleteRequest) returns (vitess.vtctldata.v19.SourceShardDeleteResponse) {}; + // StartReplication starts replication on the specified tablet. + rpc StartReplication(vitess.vtctldata.v19.StartReplicationRequest) returns (vitess.vtctldata.v19.StartReplicationResponse) {}; + // StopReplication stops replication on the specified tablet. + rpc StopReplication(vitess.vtctldata.v19.StopReplicationRequest) returns (vitess.vtctldata.v19.StopReplicationResponse) {}; + // TabletExternallyReparented changes metadata in the topology server to + // acknowledge a shard primary change performed by an external tool (e.g. + // orchestrator). + // + // See the Reparenting guide for more information: + // https://vitess.io/docs/user-guides/configuration-advanced/reparenting/#external-reparenting. + rpc TabletExternallyReparented(vitess.vtctldata.v19.TabletExternallyReparentedRequest) returns (vitess.vtctldata.v19.TabletExternallyReparentedResponse) {}; + // UpdateCellInfo updates the content of a CellInfo with the provided + // parameters. Empty values are ignored. If the cell does not exist, the + // CellInfo will be created. + rpc UpdateCellInfo(vitess.vtctldata.v19.UpdateCellInfoRequest) returns (vitess.vtctldata.v19.UpdateCellInfoResponse) {}; + // UpdateCellsAlias updates the content of a CellsAlias with the provided + // parameters. Empty values are ignored. If the alias does not exist, the + // CellsAlias will be created. + rpc UpdateCellsAlias(vitess.vtctldata.v19.UpdateCellsAliasRequest) returns (vitess.vtctldata.v19.UpdateCellsAliasResponse) {}; + // Validate validates that all nodes from the global replication graph are + // reachable, and that all tablets in discoverable cells are consistent. + rpc Validate(vitess.vtctldata.v19.ValidateRequest) returns (vitess.vtctldata.v19.ValidateResponse) {}; + // ValidateKeyspace validates that all nodes reachable from the specified + // keyspace are consistent. + rpc ValidateKeyspace(vitess.vtctldata.v19.ValidateKeyspaceRequest) returns (vitess.vtctldata.v19.ValidateKeyspaceResponse) {}; + // ValidateSchemaKeyspace validates that the schema on the primary tablet for shard 0 matches the schema on all of the other tablets in the keyspace. + rpc ValidateSchemaKeyspace(vitess.vtctldata.v19.ValidateSchemaKeyspaceRequest) returns (vitess.vtctldata.v19.ValidateSchemaKeyspaceResponse) {}; + // ValidateShard validates that all nodes reachable from the specified shard + // are consistent. + rpc ValidateShard(vitess.vtctldata.v19.ValidateShardRequest) returns (vitess.vtctldata.v19.ValidateShardResponse) {}; + // ValidateVersionKeyspace validates that the version on the primary of shard 0 matches all of the other tablets in the keyspace. + rpc ValidateVersionKeyspace(vitess.vtctldata.v19.ValidateVersionKeyspaceRequest) returns (vitess.vtctldata.v19.ValidateVersionKeyspaceResponse) {}; + // ValidateVersionShard validates that the version on the primary matches all of the replicas. + rpc ValidateVersionShard(vitess.vtctldata.v19.ValidateVersionShardRequest) returns (vitess.vtctldata.v19.ValidateVersionShardResponse) {}; + // ValidateVSchema compares the schema of each primary tablet in "keyspace/shards..." to the vschema and errs if there are differences. + rpc ValidateVSchema(vitess.vtctldata.v19.ValidateVSchemaRequest) returns (vitess.vtctldata.v19.ValidateVSchemaResponse) {}; + rpc VDiffCreate(vitess.vtctldata.v19.VDiffCreateRequest) returns (vitess.vtctldata.v19.VDiffCreateResponse) {}; + rpc VDiffDelete(vitess.vtctldata.v19.VDiffDeleteRequest) returns (vitess.vtctldata.v19.VDiffDeleteResponse) {}; + rpc VDiffResume(vitess.vtctldata.v19.VDiffResumeRequest) returns (vitess.vtctldata.v19.VDiffResumeResponse) {}; + rpc VDiffShow(vitess.vtctldata.v19.VDiffShowRequest) returns (vitess.vtctldata.v19.VDiffShowResponse) {}; + rpc VDiffStop(vitess.vtctldata.v19.VDiffStopRequest) returns (vitess.vtctldata.v19.VDiffStopResponse) {}; + // WorkflowDelete deletes a vreplication workflow. + rpc WorkflowDelete(vitess.vtctldata.v19.WorkflowDeleteRequest) returns (vitess.vtctldata.v19.WorkflowDeleteResponse) {}; + rpc WorkflowStatus(vitess.vtctldata.v19.WorkflowStatusRequest) returns (vitess.vtctldata.v19.WorkflowStatusResponse) {}; + rpc WorkflowSwitchTraffic(vitess.vtctldata.v19.WorkflowSwitchTrafficRequest) returns (vitess.vtctldata.v19.WorkflowSwitchTrafficResponse) {}; + // WorkflowUpdate updates the configuration of a vreplication workflow + // using the provided updated parameters. + rpc WorkflowUpdate(vitess.vtctldata.v19.WorkflowUpdateRequest) returns (vitess.vtctldata.v19.WorkflowUpdateResponse) {}; +} diff --git a/src/vitess/vtgate/dev/vtgate.proto b/src/vitess/vtgate/dev/vtgate.proto index 8d629e2..e8d177d 100644 --- a/src/vitess/vtgate/dev/vtgate.proto +++ b/src/vitess/vtgate/dev/vtgate.proto @@ -76,6 +76,8 @@ message Session { // reserved connection if a dedicated connection is needed int64 reserved_id = 4; bool vindex_only = 5; + // rows_affected tracks if any query has modified the rows. + bool rows_affected = 6; } // shard_sessions keep track of per-shard transaction info. repeated ShardSession shard_sessions = 2; @@ -302,6 +304,10 @@ message VStreamFlags { string cells = 4; string cell_preference = 5; string tablet_order = 6; + // When set, all new row events from the `heartbeat` table, for all shards, in the sidecardb will be streamed. + bool stream_keyspace_heartbeats = 7; + // Include reshard journal events in the stream. + bool include_reshard_journal_events = 8; } // VStreamRequest is the payload for VStream. diff --git a/src/vitess/vtgate/v19/vtgate.proto b/src/vitess/vtgate/v19/vtgate.proto new file mode 100644 index 0000000..2b21a4f --- /dev/null +++ b/src/vitess/vtgate/v19/vtgate.proto @@ -0,0 +1,369 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Data definitions for service vtgateservice. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vtgate/v19;vtgatev19"; + +package vitess.vtgate.v19; + +// option java_package = "io.vitess.proto"; + +import "vitess/binlogdata/v19/binlogdata.proto"; +import "vitess/query/v19/query.proto"; +import "vitess/topodata/v19/topodata.proto"; +import "vitess/vtrpc/v19/vtrpc.proto"; + +// TransactionMode controls the execution of distributed transaction +// across multiple shards. +enum TransactionMode { + // UNSPECIFIED uses the transaction mode set by the VTGate flag 'transaction_mode'. + UNSPECIFIED = 0; + // SINGLE disallows distributed transactions. + SINGLE = 1; + // MULTI allows distributed transactions with best effort commit. + MULTI = 2; + // TWOPC is for distributed transactions with atomic commits. + TWOPC = 3; +} + + +// CommitOrder is used to designate which of the ShardSessions +// get used for transactions. +enum CommitOrder { + // NORMAL is the default commit order. + NORMAL = 0; + // PRE is used to designate pre_sessions. + PRE = 1; + // POST is used to designate post_sessions. + POST = 2; + // AUTOCOMMIT is used to run the statement as autocommitted transaction. + AUTOCOMMIT = 3; +} + +// Session objects are exchanged like cookies through various +// calls to VTGate. The behavior differs between V2 & V3 APIs. +// V3 APIs are Execute, ExecuteBatch and StreamExecute. All +// other APIs are V2. For the V3 APIs, the session +// must be sent with every call to Execute or ExecuteBatch. +// For the V2 APIs, Begin does not accept a session. It instead +// returns a brand new one with in_transaction set to true. +// After a call to Commit or Rollback, the session can be +// discarded. If you're not in a transaction, Session is +// an optional parameter for the V2 APIs. +message Session { + // in_transaction is set to true if the session is in a transaction. + bool in_transaction = 1; + + message ShardSession { + vitess.query.v19.Target target = 1; + int64 transaction_id = 2; + vitess.topodata.v19.TabletAlias tablet_alias = 3; + // reserved connection if a dedicated connection is needed + int64 reserved_id = 4; + bool vindex_only = 5; + } + // shard_sessions keep track of per-shard transaction info. + repeated ShardSession shard_sessions = 2; + + // single_db is deprecated. Use transaction_mode instead. + reserved 3; + + // autocommit specifies if the session is in autocommit mode. + // This is used only for V3. + bool autocommit = 4; + + // target_string is the target expressed as a string. Valid + // names are: keyspace:shard@target, keyspace@target or @target. + // This is used only for V3. + string target_string = 5; + + // options is used only for V3. + vitess.query.v19.ExecuteOptions options = 6; + + // transaction_mode specifies the current transaction mode. + TransactionMode transaction_mode = 7; + + // warnings contains non-fatal warnings from the previous query + repeated vitess.query.v19.QueryWarning warnings = 8; + + // pre_sessions contains sessions that have to be committed first. + repeated ShardSession pre_sessions = 9; + + // post_sessions contains sessions that have to be committed last. + repeated ShardSession post_sessions = 10; + + // last_insert_id keeps track of the last seen insert_id for this session + uint64 last_insert_id = 11; + + // found_rows keeps track of how many rows the last query returned + uint64 found_rows = 12; + + // user_defined_variables contains all the @variables defined for this session + map user_defined_variables = 13; + + // system_variables keeps track of all session variables set for this connection + // TODO: systay should we keep this so we can apply it ordered? + map system_variables = 14; + + // row_count keeps track of the last seen rows affected for this session + int64 row_count = 15; + + // Stores savepoint and release savepoint calls inside a transaction + // and is reset once transaction is committed or rolled back. + repeated string savepoints = 16; + + // in_reserved_conn is set to true if the session should be using reserved connections. + bool in_reserved_conn = 17; + + // lock_session keep tracks of shard on which the lock query is sent. + ShardSession lock_session = 18; + + // last_lock_heartbeat keep tracks of when last lock heartbeat was sent. + int64 last_lock_heartbeat = 19; + + // read_after_write tracks the ReadAfterWrite settings for this session. + ReadAfterWrite read_after_write = 20; + + // DDL strategy + string DDLStrategy = 21; + + // Session UUID + string SessionUUID = 22; + + // enable_system_settings defines if we can use reserved connections. + bool enable_system_settings = 23; + + map advisory_lock = 24; + + // query_timeout is the maximum amount of time a query is permitted to run + int64 query_timeout = 25; + + map prepare_statement = 26; + + // MigrationContext + string migration_context = 27; +} + +// PrepareData keeps the prepared statement and other information related for execution of it. +message PrepareData { + string prepare_statement = 1; + int32 params_count = 2; +} + +// ReadAfterWrite contains information regarding gtid set and timeout +// Also if the gtid information needs to be passed to client. +message ReadAfterWrite { + string read_after_write_gtid = 1; + double read_after_write_timeout = 2; + bool session_track_gtids = 3; +} + +// ExecuteRequest is the payload to Execute. +message ExecuteRequest { + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 1; + + // session carries the session state. + Session session = 2; + + // query is the query and bind variables to execute. + vitess.query.v19.BoundQuery query = 3; + + // These values are deprecated. Use session instead. + // topodata.TabletType tablet_type = 4; + // string keyspace_shard = 6; + // query.ExecuteOptions options = 7; + // Deprecated: use session.in_transaction instead + // bool not_in_transaction = 5; + reserved 4, 5, 6, 7; +} + +// ExecuteResponse is the returned value from Execute. +message ExecuteResponse { + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + vitess.vtrpc.v19.RPCError error = 1; + + // session is the updated session information. + Session session = 2; + + // result contains the query result, only set if error is unset. + vitess.query.v19.QueryResult result = 3; +} + +// ExecuteBatchRequest is the payload to ExecuteBatch. +message ExecuteBatchRequest { + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 1; + + // session carries the session state. + Session session = 2; + + // queries is a list of query and bind variables to execute. + repeated vitess.query.v19.BoundQuery queries = 3; + + // These values are deprecated. Use session instead. + // topodata.TabletType tablet_type = 4; + // bool as_transaction = 5; + // string keyspace_shard = 6; + // query.ExecuteOptions options = 7; + reserved 4, 5, 6, 7; + +} + + +// ExecuteBatchResponse is the returned value from ExecuteBatch. +message ExecuteBatchResponse { + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + vitess.vtrpc.v19.RPCError error = 1; + + // session is the updated session information. + Session session = 2; + + // results contains the query results, only set if application level error is unset. + repeated vitess.query.v19.ResultWithError results = 3; +} + +// StreamExecuteRequest is the payload to StreamExecute. +message StreamExecuteRequest { + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 1; + + // query is the query and bind variables to execute. + vitess.query.v19.BoundQuery query = 2; + + // These values are deprecated. Use session instead. + // topodata.TabletType tablet_type = 3; + // string keyspace_shard = 4; + // query.ExecuteOptions options = 5; + reserved 3,4,5; + + // session carries the session state. + Session session = 6; +} + +// StreamExecuteResponse is the returned value from StreamExecute. +// The session is currently not returned because StreamExecute is +// not expected to modify it. +message StreamExecuteResponse { + // result contains the result data. + // The first value contains only Fields information. + // The next values contain the actual rows, a few values per result. + vitess.query.v19.QueryResult result = 1; + + // session is the updated session information. + Session session = 2; +} + +// ResolveTransactionRequest is the payload to ResolveTransaction. +message ResolveTransactionRequest { + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 1; + + // dtid is the dtid of the transaction to be resolved. + string dtid = 2; +} + +// ResolveTransactionResponse is the returned value from Rollback. +message ResolveTransactionResponse { +} + +message VStreamFlags { + // align streams + bool minimize_skew = 1; + // how often heartbeats must be sent when idle (seconds) + uint32 heartbeat_interval = 2; + // stop streams on a reshard (journal event) + bool stop_on_reshard = 3; + // if specified, these cells (comma-separated) are used to pick source tablets from. + // defaults to the cell of the vtgate serving the VStream API. + string cells = 4; + string cell_preference = 5; + string tablet_order = 6; +} + +// VStreamRequest is the payload for VStream. +message VStreamRequest { + vitess.vtrpc.v19.CallerID caller_id = 1; + + vitess.topodata.v19.TabletType tablet_type = 2; + + // position specifies the starting point of the bin log positions + // as well as the keyspace-shards to pull events from. + // position is of the form 'ks1:0@MySQL56/|ks2:-80@MySQL56/'. + vitess.binlogdata.v19.VGtid vgtid = 3; + vitess.binlogdata.v19.Filter filter = 4; + VStreamFlags flags = 5; +} + +// VStreamResponse is streamed by VStream. +message VStreamResponse { + repeated vitess.binlogdata.v19.VEvent events = 1; +} + +// PrepareRequest is the payload to Prepare. +message PrepareRequest { + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 1; + + // session carries the session state. + Session session = 2; + + // query is the query and bind variables to execute. + vitess.query.v19.BoundQuery query = 3; +} + +// PrepareResponse is the returned value from Prepare. +message PrepareResponse { + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + vitess.vtrpc.v19.RPCError error = 1; + + // session is the updated session information. + Session session = 2; + + // fields contains the fields, only set if error is unset. + repeated vitess.query.v19.Field fields = 3; +} + +// CloseSessionRequest is the payload to CloseSession. +message CloseSessionRequest { + // caller_id identifies the caller. This is the effective caller ID, + // set by the application to further identify the caller. + vitess.vtrpc.v19.CallerID caller_id = 1; + + // session carries the session state. + Session session = 2; +} + +// CloseSessionResponse is the returned value from CloseSession. +message CloseSessionResponse { + // error contains an application level error if necessary. Note the + // session may have changed, even when an error is returned (for + // instance if a database integrity error happened). + vitess.vtrpc.v19.RPCError error = 1; +} diff --git a/src/vitess/vtgateservice/dev/vtgateservice.proto b/src/vitess/vtgateservice/dev/vtgateservice.proto index 77966aa..3885d99 100644 --- a/src/vitess/vtgateservice/dev/vtgateservice.proto +++ b/src/vitess/vtgateservice/dev/vtgateservice.proto @@ -48,10 +48,6 @@ service Vitess { // API group: v3 rpc StreamExecute(vitess.vtgate.dev.StreamExecuteRequest) returns (stream vitess.vtgate.dev.StreamExecuteResponse) {}; - // ResolveTransaction resolves a transaction. - // API group: Transactions - rpc ResolveTransaction(vitess.vtgate.dev.ResolveTransactionRequest) returns (vitess.vtgate.dev.ResolveTransactionResponse) {}; - // VStream streams binlog events from the requested sources. rpc VStream(vitess.vtgate.dev.VStreamRequest) returns (stream vitess.vtgate.dev.VStreamResponse) {}; diff --git a/src/vitess/vtgateservice/v19/vtgateservice.proto b/src/vitess/vtgateservice/v19/vtgateservice.proto new file mode 100644 index 0000000..3e4f794 --- /dev/null +++ b/src/vitess/vtgateservice/v19/vtgateservice.proto @@ -0,0 +1,65 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Service definition for vtgateservice. +// This is the main entry point to Vitess. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vtgateservice/v19;vtgateservicev19"; + +// option java_package="io.vitess.proto.grpc"; + +package vitess.vtgateservice.v19; + +import "vitess/vtgate/v19/vtgate.proto"; + +// Vitess is the main service to access a Vitess cluster. It is the API that vtgate +// exposes to serve all queries. +service Vitess { + // Execute tries to route the query to the right shard. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // API group: v3 + rpc Execute(vitess.vtgate.v19.ExecuteRequest) returns (vitess.vtgate.v19.ExecuteResponse) {}; + + // ExecuteBatch tries to route the list of queries on the right shards. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // API group: v3 + rpc ExecuteBatch(vitess.vtgate.v19.ExecuteBatchRequest) returns (vitess.vtgate.v19.ExecuteBatchResponse) {}; + + // StreamExecute executes a streaming query based on shards. + // It depends on the query and bind variables to provide enough + // information in conjunction with the vindexes to route the query. + // Use this method if the query returns a large number of rows. + // API group: v3 + rpc StreamExecute(vitess.vtgate.v19.StreamExecuteRequest) returns (stream vitess.vtgate.v19.StreamExecuteResponse) {}; + + // ResolveTransaction resolves a transaction. + // API group: Transactions + rpc ResolveTransaction(vitess.vtgate.v19.ResolveTransactionRequest) returns (vitess.vtgate.v19.ResolveTransactionResponse) {}; + + // VStream streams binlog events from the requested sources. + rpc VStream(vitess.vtgate.v19.VStreamRequest) returns (stream vitess.vtgate.v19.VStreamResponse) {}; + + // Prepare is used by the MySQL server plugin as part of supporting prepared statements. + rpc Prepare(vitess.vtgate.v19.PrepareRequest) returns (vitess.vtgate.v19.PrepareResponse) {}; + + // CloseSession closes the session, rolling back any implicit transactions. + // This has the same effect as if a "rollback" statement was executed, + // but does not affect the query statistics. + rpc CloseSession(vitess.vtgate.v19.CloseSessionRequest) returns (vitess.vtgate.v19.CloseSessionResponse) {}; +} diff --git a/src/vitess/vtrpc/v19/vtrpc.proto b/src/vitess/vtrpc/v19/vtrpc.proto new file mode 100644 index 0000000..5682ae0 --- /dev/null +++ b/src/vitess/vtrpc/v19/vtrpc.proto @@ -0,0 +1,193 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains useful data structures for RPCs in Vitess. + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vtrpc/v19;vtrpcv19"; + +// option java_package="io.vitess.proto"; + +package vitess.vtrpc.v19; + +// CallerID is passed along RPCs to identify the originating client +// for a request. It is not meant to be secure, but only +// informational. The client can put whatever info they want in these +// fields, and they will be trusted by the servers. The fields will +// just be used for logging purposes, and to easily find a client. +// VtGate propagates it to VtTablet, and VtTablet may use this +// information for monitoring purposes, to display on dashboards, or +// for denying access to tables during a migration. +message CallerID { + // principal is the effective user identifier. It is usually filled in + // with whoever made the request to the appserver, if the request + // came from an automated job or another system component. + // If the request comes directly from the Internet, or if the Vitess client + // takes action on its own accord, it is okay for this field to be absent. + string principal = 1; + + // component describes the running process of the effective caller. + // It can for instance be the hostname:port of the servlet initiating the + // database call, or the container engine ID used by the servlet. + string component = 2; + + // subcomponent describes a component inisde the immediate caller which + // is responsible for generating is request. Suggested values are a + // servlet name or an API endpoint name. + string subcomponent = 3; + + // set of security groups that should be assigned to this caller. + repeated string groups = 4; +} + +// Code represents canonical error codes. The names, numbers and comments +// must match the ones defined by grpc (0-16): +// https://godoc.org/google.golang.org/grpc/codes. +// 17+ are custom codes +enum Code { + // OK is returned on success. + OK = 0; + + // CANCELED indicates the operation was cancelled (typically by the caller). + CANCELED = 1; + + // UNKNOWN error. An example of where this error may be returned is + // if a Status value received from another address space belongs to + // an error-space that is not known in this address space. Also + // errors raised by APIs that do not return enough error information + // may be converted to this error. + UNKNOWN = 2; + + // INVALID_ARGUMENT indicates client specified an invalid argument. + // Note that this differs from FAILED_PRECONDITION. It indicates arguments + // that are problematic regardless of the state of the system + // (e.g., a malformed file name). + INVALID_ARGUMENT = 3; + + // DEADLINE_EXCEEDED means operation expired before completion. + // For operations that change the state of the system, this error may be + // returned even if the operation has completed successfully. For + // example, a successful response from a server could have been delayed + // long enough for the deadline to expire. + DEADLINE_EXCEEDED = 4; + + // NOT_FOUND means some requested entity (e.g., file or directory) was + // not found. + NOT_FOUND = 5; + + // ALREADY_EXISTS means an attempt to create an entity failed because one + // already exists. + ALREADY_EXISTS = 6; + + // PERMISSION_DENIED indicates the caller does not have permission to + // execute the specified operation. It must not be used for rejections + // caused by exhausting some resource (use RESOURCE_EXHAUSTED + // instead for those errors). It must not be + // used if the caller cannot be identified (use Unauthenticated + // instead for those errors). + PERMISSION_DENIED = 7; + + + // RESOURCE_EXHAUSTED indicates some resource has been exhausted, perhaps + // a per-user quota, or perhaps the entire file system is out of space. + RESOURCE_EXHAUSTED = 8; + + // FAILED_PRECONDITION indicates operation was rejected because the + // system is not in a state required for the operation's execution. + // For example, directory to be deleted may be non-empty, an rmdir + // operation is applied to a non-directory, etc. + // + // A litmus test that may help a service implementor in deciding + // between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE: + // (a) Use UNAVAILABLE if the client can retry just the failing call. + // (b) Use ABORTED if the client should retry at a higher-level + // (e.g., restarting a read-modify-write sequence). + // (c) Use FAILED_PRECONDITION if the client should not retry until + // the system state has been explicitly fixed. E.g., if an "rmdir" + // fails because the directory is non-empty, FAILED_PRECONDITION + // should be returned since the client should not retry unless + // they have first fixed up the directory by deleting files from it. + // (d) Use FAILED_PRECONDITION if the client performs conditional + // REST Get/Update/Delete on a resource and the resource on the + // server does not match the condition. E.g., conflicting + // read-modify-write on the same resource. + FAILED_PRECONDITION = 9; + + // ABORTED indicates the operation was aborted, typically due to a + // concurrency issue like sequencer check failures, transaction aborts, + // etc. + // + // See litmus test above for deciding between FAILED_PRECONDITION, + // ABORTED, and UNAVAILABLE. + ABORTED = 10; + + // OUT_OF_RANGE means operation was attempted past the valid range. + // E.g., seeking or reading past end of file. + // + // Unlike INVALID_ARGUMENT, this error indicates a problem that may + // be fixed if the system state changes. For example, a 32-bit file + // system will generate INVALID_ARGUMENT if asked to read at an + // offset that is not in the range [0,2^32-1], but it will generate + // OUT_OF_RANGE if asked to read from an offset past the current + // file size. + // + // There is a fair bit of overlap between FAILED_PRECONDITION and + // OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific + // error) when it applies so that callers who are iterating through + // a space can easily look for an OUT_OF_RANGE error to detect when + // they are done. + OUT_OF_RANGE = 11; + + // UNIMPLEMENTED indicates operation is not implemented or not + // supported/enabled in this service. + UNIMPLEMENTED = 12; + + // INTERNAL errors. Means some invariants expected by underlying + // system has been broken. If you see one of these errors, + // something is very broken. + INTERNAL = 13; + + // UNAVAILABLE indicates the service is currently unavailable. + // This is a most likely a transient condition and may be corrected + // by retrying with a backoff. + // + // See litmus test above for deciding between FAILED_PRECONDITION, + // ABORTED, and UNAVAILABLE. + UNAVAILABLE = 14; + + // DATA_LOSS indicates unrecoverable data loss or corruption. + DATA_LOSS = 15; + + // UNAUTHENTICATED indicates the request does not have valid + // authentication credentials for the operation. + UNAUTHENTICATED = 16; + + // CLUSTER_EVENT indicates that a cluster operation might be in effect + CLUSTER_EVENT = 17; + + // Topo server connection is read-only + READ_ONLY = 18; +} + +// RPCError is an application-level error structure returned by +// VtTablet (and passed along by VtGate if appropriate). +// We use this so the clients don't have to parse the error messages, +// but instead can depend on the value of the code. +message RPCError { + reserved 1; reserved "legacy_code"; + string message = 2; + Code code = 3; +} diff --git a/src/vitess/vttest/dev/vttest.proto b/src/vitess/vttest/dev/vttest.proto index 0d1d2ba..76adcb4 100644 --- a/src/vitess/vttest/dev/vttest.proto +++ b/src/vitess/vttest/dev/vttest.proto @@ -74,9 +74,9 @@ message Keyspace { // OBSOLETE string sharding_column_type = 4; reserved 4; - // redirects all traffic to another keyspace. If set, shards is ignored. - string served_from = 5; - + // OBSOLETE string served_from = 5; + reserved 5; + // number of replica tablets to instantiate. This includes the primary tablet. int32 replica_count = 6; @@ -94,4 +94,7 @@ message VTTestTopology { // routing rules for the topology. vitess.vschema.dev.RoutingRules routing_rules = 3; + + // mirror rules for the topology. + vitess.vschema.dev.MirrorRules mirror_rules = 4; } diff --git a/src/vitess/vttest/v19/vttest.proto b/src/vitess/vttest/v19/vttest.proto new file mode 100644 index 0000000..e670470 --- /dev/null +++ b/src/vitess/vttest/v19/vttest.proto @@ -0,0 +1,97 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file contains the vttest topology configuration structures. +// +// The protobuf message "VTTestTopology" specifies the Vitess and +// database configuration of the "vttest" test component which can be +// used in end-to-end tests to test an application against an actual +// Vitess and MySQL server. +// +// To start a "vttest" instance, pass the "VTTestTopology" message, +// encoded in the protobuf compact text format, to +// py/vttest/run_local_database.py which in turn will send it to the +// Vitess test binary called "vtcombo". +// +// To encode a "VTTestTopology" message in the protobuf compact text +// format, create the protobuf in your test's native language first +// and then use the protobuf library to encode it as text. +// For an example in Python, see: test/vttest_sample_test.py +// In go, see: go/vt/vttest/local_cluster_test.go +// +// Sample encoded proto configurations would be as follow. Note there are +// multiple encoding options, see the proto documentation for more info +// (first and last quote not included in the encoding): +// - single keyspace named test_keyspace with one shard '0': +// 'keyspaces: > ' +// - two keyspaces, one with two shards, the other one with a redirect: +// 'keyspaces { name: "test_keyspace" shards { name: "-80" } shards { name: "80-" } } keyspaces { name: "redirect" served_from: "test_keyspace" }' + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vttest/v19;vttestv19"; + +import "vitess/vschema/v19/vschema.proto"; + +package vitess.vttest.v19; + +// Shard describes a single shard in a keyspace. +message Shard { + // name has to be unique in a keyspace. For unsharded keyspaces, it + // should be '0'. For sharded keyspace, it should be derived from + // the keyrange, like '-80' or '40-80'. + string name = 1; + + // db_name_override is the mysql db name for this shard. Has to be + // globally unique. If not specified, we will by default use + // 'vt__'. + string db_name_override = 2; +} + +// Keyspace describes a single keyspace. +message Keyspace { + // name has to be unique in a VTTestTopology. + string name = 1; + + // shards inside this keyspace. Ignored if redirect is set. + repeated Shard shards = 2; + + // OBSOLETE string sharding_column_name = 3; + reserved 3; + + // OBSOLETE string sharding_column_type = 4; + reserved 4; + + // OBSOLETE string served_from = 5; + reserved 5; + + // number of replica tablets to instantiate. This includes the primary tablet. + int32 replica_count = 6; + + // number of rdonly tablets to instantiate. + int32 rdonly_count = 7; +} + +// VTTestTopology describes the keyspaces in the topology. +message VTTestTopology { + // all keyspaces in the topology. + repeated Keyspace keyspaces = 1; + + // list of cells the keyspaces reside in. Vtgate is started in only the first cell. + repeated string cells = 2; + + // routing rules for the topology. + vitess.vschema.v19.RoutingRules routing_rules = 3; +} diff --git a/src/vitess/vttime/v19/vttime.proto b/src/vitess/vttime/v19/vttime.proto new file mode 100644 index 0000000..d0a37dc --- /dev/null +++ b/src/vitess/vttime/v19/vttime.proto @@ -0,0 +1,34 @@ +/* +Copyright 2019 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package contains a shared time data structure + +syntax = "proto3"; +option go_package = "github.com/planetscale/vitess-types/gen/vitess/vttime/v19;vttimev19"; + +package vitess.vttime.v19; + +// Time represents a time stamp in nanoseconds. In go, use logutil library +// to convert times. +message Time { + int64 seconds = 1; + int32 nanoseconds = 2; +} + +message Duration { + int64 seconds = 1; + int32 nanos = 2; +}